]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Use list.h in posix-timer code.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12014-06-12 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/pthread/posix-timer.h: Include <list.h>.
4 (struct list_links): Type removed.
5 (struct thread_node, struct timer_node): Replace struct list_links
6 with struct list_head.
7 (list_unlink_ip): Likewise.
8 * sysdeps/pthread/timer_routines.c
9 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10 (list_append, list_insbefore): Likewise.
11 (list_init): Function removed.
12 (thread_init, init_module): Use INIT_LIST_HEAD instead.
13 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14 * sysdeps/pthread/Makefile: ... here, new file.
15
16 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17 * sysdeps/nptl/Implies: ... here.
18 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19 * nptl/sysdeps/pthread/list.h: Moved ...
20 * include/list.h: ... here.
21 * nptl/sysdeps/pthread/createthread.c: Moved ...
22 * nptl/createthread.c: ... here.
23 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
24 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25 * nptl/pt-longjmp.c: ... here.
26 * nptl/sysdeps/pthread/Makefile: Moved ...
27 * sysdeps/nptl/Makefile: ... here.
28 * nptl/sysdeps/pthread/Subdirs: Moved ...
29 * sysdeps/nptl/Subdirs: ... here.
30 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31 * sysdeps/nptl/aio_misc.h: ... here.
32 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33 * sysdeps/nptl/bits/libc-lock.h: ... here.
34 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35 * sysdeps/nptl/bits/libc-lockP.h: ... here.
36 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37 * sysdeps/nptl/bits/stdio-lock.h: ... here.
38 * nptl/sysdeps/pthread/configure: Moved ...
39 * sysdeps/nptl/configure: ... here.
40 * nptl/sysdeps/pthread/configure.ac: Moved ...
41 * sysdeps/nptl/configure.ac: ... here.
42 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43 * sysdeps/nptl/gai_misc.h: ... here.
44 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
45 * sysdeps/nptl/librt-cancellation.c: ... here.
46 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
47 * sysdeps/nptl/malloc-machine.h: ... here.
48 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
49 * sysdeps/nptl/pthread-functions.h: ... here.
50 * nptl/sysdeps/pthread/pthread.h: Moved ...
51 * sysdeps/nptl/pthread.h: ... here.
52 * nptl/sysdeps/pthread/setxid.h: Moved ...
53 * sysdeps/nptl/setxid.h: ... here.
54 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
55 * sysdeps/nptl/sigfillset.c: ... here.
56 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
57 * sysdeps/nptl/tcb-offsets.h: ... here.
58 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
59 * sysdeps/nptl/tst-mqueue8x.c: ... here.
60 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
61 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
62 * nptl/sysdeps/pthread/allocalim.h: Moved ...
63 * sysdeps/pthread/allocalim.h: ... here.
64 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
65 * sysdeps/pthread/bits/sigthread.h: ... here.
66 * nptl/sysdeps/pthread/flockfile.c: Moved ...
67 * sysdeps/pthread/flockfile.c: ... here.
68 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
69 * sysdeps/pthread/ftrylockfile.c: ... here.
70 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
71 * sysdeps/pthread/funlockfile.c: ... here.
72 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
73 * sysdeps/pthread/posix-timer.h: ... here.
74 * nptl/sysdeps/pthread/timer_create.c: Moved ...
75 * sysdeps/pthread/timer_create.c: ... here.
76 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
77 * sysdeps/pthread/timer_delete.c: ... here.
78 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
79 * sysdeps/pthread/timer_getoverr.c: ... here.
80 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
81 * sysdeps/pthread/timer_gettime.c: ... here.
82 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
83 * sysdeps/pthread/timer_routines.c: ... here.
84 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
85 * sysdeps/pthread/timer_settime.c: ... here.
86 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
87 * sysdeps/pthread/tst-timer.c: ... here.
88 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
89 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
90
91 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
92 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
93
94 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
95 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
96 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
97 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
98 Update #include target.
99 * nptl/sysdeps/i386/i686/Makefile: Moved ...
100 * sysdeps/i386/i686/nptl/Makefile: ... here.
101 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
102 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
103 Update #include target.
104 * nptl/sysdeps/i386/i686/tls.h: Moved ...
105 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
106 * nptl/sysdeps/i386/Makefile: Moved ...
107 * sysdeps/i386/nptl/Makefile: ... here.
108 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
109 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
110 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
111 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
112 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
113 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
114 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
115 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
116 * sysdeps/i386/nptl/pthreaddef.h: ... here.
117 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
118 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
119 * nptl/sysdeps/i386/tls.h: Moved ...
120 * sysdeps/i386/nptl/tls.h: ... here.
121
122 * sysdeps/sh/Makefile [$(subdir) = csu]
123 (gen-as-const-headers): Add tcb-offsets.sym.
124 * nptl/sysdeps/sh/Makefile: File removed.
125 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
126 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
127 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
128 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
129 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
130 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
131 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
132 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
133 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
134 * sysdeps/sh/nptl/pthreaddef.h: ... here.
135 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
136 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
137 * nptl/sysdeps/sh/tls.h: Moved ...
138 * sysdeps/sh/nptl/tls.h: ... here.
139 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
140 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
141 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
142 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
143 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
144 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
145 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
146 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
147 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
148 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
149 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
150 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
151 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
152 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
153 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
154 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
155 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
156 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
157 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
158 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
159 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
160 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
161 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
162 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
163 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
164 Moved ...
165 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
166 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
167 Moved ...
168 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
169 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
170 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
171 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
172 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
173 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
174 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
175 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
176 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
177 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
178 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
179 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
180 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
181 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
182 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
183 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
184 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
185 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
186 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
187
1882014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
189
190 * posix/spawn_faction_addopen.c: Include string.h.
191
1922014-06-11 Roland McGrath <roland@hack.frob.com>
193
194 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
195 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
196 * nptl/sysdeps/x86_64/Makefile: Moved ...
197 * sysdeps/x86_64/nptl/Makefile: ... here.
198 * nptl/sysdeps/x86_64/configure: Moved ...
199 * sysdeps/x86_64/nptl/configure: ... here.
200 * nptl/sysdeps/x86_64/configure.ac: Moved ...
201 * sysdeps/x86_64/nptl/configure.ac: ... here.
202 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
203 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
204 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
205 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
206 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
207 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
208 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
209 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
210 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
211 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
212 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
213 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
214 * nptl/sysdeps/x86_64/tls.h: Moved ...
215 * sysdeps/x86_64/nptl/tls.h: ... here.
216 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
217 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
218 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
219 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
220
221 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
222
2232014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
224
225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
226
2272014-06-11 Joseph Myers <joseph@codesourcery.com>
228
229 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
230 type.
231 [POSIX] (off_t): Likewise.
232 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
233 [POSIX] (S_ISBLK): Require macro.
234 [POSIX] (S_ISCHR): Likewise.
235 [POSIX] (S_ISDIR): Likewise.
236 [POSIX] (S_ISFIFO): Likewise.
237 [POSIX] (S_ISREG): Likewise.
238 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
239 optional-macro.
240 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
241 type.
242 [POSIX] (time_t): Likewise.
243 [POSIX] (timer_t): Likewise.
244
2452014-06-11 Florian Weimer <fweimer@redhat.com>
246
247 [BZ #17048]
248 * posix/spawn_int.h (struct __spawn_action): Make the path string
249 non-const to support deallocation.
250 * posix/spawn_faction_addopen.c
251 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
252 * posix/spawn_faction_destroy.c
253 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
254 path in all spawn_do_open actions.
255 * posix/tst-spawn.c (do_test): Exercise the copy operation in
256 posix_spawn_file_actions_addopen.
257
2582014-06-11 Chris Metcalf <cmetcalf@tilera.com>
259
260 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
261 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
262 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
263 conditional code always true.
264 (__libc_vfork): New alias.
265
2662014-06-11 Roland McGrath <roland@hack.frob.com>
267
268 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
269 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
270
271 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
272
273 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
274 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
275
276 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
277 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
278
279 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
280 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
281
2822014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
283
284 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
285 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
286 multiarch strcmp for PPC64.
287 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
288 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
290 multiarch optimizations.
291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
292 (__libc_ifunc_impl_list): Likewise.
293
2942014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
295
296 * benchtests/scripts/validate_benchout.py: New script.
297 * benchtests/Makefile (bench-func): Call it.
298 * benchtests/scripts/benchout.schema.json: New file.
299
3002014-06-10 Chris Metcalf <cmetcalf@tilera.com>
301
302 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
303 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
304 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
305 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
306 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
307 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
308 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
309 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
310 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
311 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
312 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
313 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
314 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
315 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
316 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
317 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
319 Moved ...
320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
321 ... here.
322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
323 Moved ...
324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
326 Moved ...
327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
328 ... here.
329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
330 Moved ...
331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
332 ... here.
333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
334 Moved ...
335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
337 Moved ...
338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
339 ... here.
340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
341 Moved ...
342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
343 ... here.
344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
345 Moved ...
346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
348 Moved ...
349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
350 ... here.
351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
352 Moved ...
353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
354 ... here.
355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
356 Moved ...
357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
358 ... here.
359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
360 Moved ...
361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
363 Moved ...
364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
365 ... here.
366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
367 Moved ...
368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
369 ... here.
370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
371 Moved ...
372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
373 ... here.
374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
375 Moved ...
376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
378 Moved ...
379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
380 ... here.
381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
382 Moved ...
383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
384 ... here.
385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
386 Moved ...
387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
389 Moved ...
390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
391 ... here.
392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
393 Moved ...
394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
396 Moved ...
397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
399 Moved ...
400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
401 ... here.
402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
403 Moved ...
404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
405 ... here.
406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
407 Moved ...
408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
409 ... here.
410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
411 Moved ...
412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
414 Moved ...
415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
416 ... here.
417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
418 Moved ...
419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
420 ... here.
421 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
422 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
423 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
424 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
425 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
426 Moved ...
427 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
428 ... here.
429 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
430 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
431 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
432 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
433 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
434 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
435 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
436 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
437 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
438 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
439 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
440 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
441 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
442 Moved ...
443 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
444 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
445 Moved ...
446 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
447 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
448 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
449 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
450 Moved ...
451 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
452 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
453 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
454 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
455 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
456 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
457 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
458
4592014-06-10 Wilco <wdijkstr@arm.com>
460
461 * math/test-fenv-return.c: New file.
462 * math/Makefile: Add new test test-fenv-return.
463
4642014-06-10 Joseph Myers <joseph@codesourcery.com>
465
466 [BZ #17042]
467 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
468 when x - 1 is zero.
469 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
470 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
471 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
472 0.0L for an argument of 1.0L.
473 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
474 Likewise.
475 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
476 value when x - 1 is zero.
477 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
478 * sysdeps/i386/fpu/libm-test-ulps: Update.
479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
480
4812014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
482
483 [BZ #15119]
484 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
485
4862014-06-09 Roland McGrath <roland@hack.frob.com>
487
488 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
489 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
490
4912014-06-09 Roland McGrath <roland@hack.frob.com>
492
493 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
494 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
495
496 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
497 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
498
499 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
500 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
501
502 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
503 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
504
505 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
506 if not already defined.
507 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
508 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
509 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
510 (TLS_INIT_TP): Use it.
511 (TLS_DEFINE_INIT_TP): New macro.
512 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
513
5142014-06-09 Joseph Myers <joseph@codesourcery.com>
515
516 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
517 constant.
518 [POSIX] (IXANY): Likewise.
519 [POSIX] (OLCUC): Likewise.
520 [POSIX || POSIX2008] (CBAUD): Do not allow.
521 [POSIX || POSIX2008] (DEFECHO): Likewise.
522 [POSIX || POSIX2008] (ECHOCTL): Likewise.
523 [POSIX || POSIX2008] (ECHOKE): Likewise.
524 [POSIX || POSIX2008] (ECHOPRT): Likewise.
525 [POSIX || POSIX2008] (EXTA): Likewise.
526 [POSIX || POSIX2008] (EXTB): Likewise.
527 [POSIX || POSIX2008] (FLUSHO): Likewise.
528 [POSIX || POSIX2008] (LOBLK): Likewise.
529 [POSIX || POSIX2008] (PENDIN): Likewise.
530 [POSIX || POSIX2008] (SWTCH): Likewise.
531 [POSIX || POSIX2008] (VDISCARD): Likewise.
532 [POSIX || POSIX2008] (VDSUSP): Likewise.
533 [POSIX || POSIX2008] (VLNEXT): Likewise.
534 [POSIX || POSIX2008] (VREPRINT): Likewise.
535 [POSIX || POSIX2008] (VSTATUS): Likewise.
536 [POSIX || POSIX2008] (VWERASE): Likewise.
537 (B*): Change to B[0123456789]*.
538 * conform/data/time.h-data [POSIX || UNIX98]
539 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
540 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
541 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
542 [POSIX] (tm_*): Do not allow.
543
5442014-06-07 Joseph Myers <joseph@codesourcery.com>
545
546 * Makefile (install): Don't set LANGUAGE.
547 * Makefile.in (install): Likewise.
548 * assert/Makefile (test-assert-ENV): Remove variable.
549 (test-assert-perr-ENV): Likewise.
550 * elf/Makefile (neededtest4-ENV): Likewise.
551 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
552 [$(cross-compiling) = no]: Don't set LANGUAGE.
553 * io/ftwtest-sh (LANG): Remove variable.
554 * libio/Makefile (tst-widetext-ENV): Likewise.
555 * manual/install.texi (Running make install): Don't refer to
556 environment settings for make install.
557 * INSTALL: Regenerated.
558 * nptl/tst-tls6.sh: Don't set LANG.
559 * posix/globtest.sh (LANG): Remove variable.
560 * string/Makefile (tester-ENV): Likewise.
561 (inl-tester-ENV): Likewise.
562 (noinl-tester-ENV): Likewise.
563 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
564 [$(cross-compiling) = no]: Don't set LANGUAGE.
565 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
566 without explicit environment settings.
567
5682014-06-06 Roland McGrath <roland@hack.frob.com>
569
570 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
571 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
572 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
573 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
574
5752014-06-06 Chris Metcalf <cmetcalf@tilera.com>
576
577 * crypt/crypt-private.h [DOS]: Add some includes taken from the
578 other files in the crypt directory.
579 * crypt/crypt.c: Remove duplicate includes.
580 * crypt/crypt-entry.c: Likewise.
581 * crypt/crypt_util.c: Likewise.
582
5832014-06-06 Joseph Myers <joseph@codesourcery.com>
584
585 * Makeconfig (run-program-env): New variable.
586 (run-program-prefix-before-env): Likewise.
587 (run-program-prefix-after-env): Likewise.
588 (run-program-prefix): Define in terms of new variables.
589 (built-program-cmd-before-env): New variable.
590 (built-program-cmd-after-env): Likewise.
591 (built-program-cmd): Define in terms of new variables.
592 (test-program-prefix-before-env): New variable.
593 (test-program-prefix-after-env): Likewise.
594 (test-program-prefix): Define in terms of new variables.
595 (test-program-cmd-before-env): New variable.
596 (test-program-cmd-after-env): Likewise.
597 (test-program-cmd): Define in terms of new variables.
598 * Rules (make-test-out): Use $(run-program-env).
599 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
600 (help): Do not mention environment variables. Mention
601 --timeoutfactor option.
602 (timeoutfactor): New variable.
603 (blacklist_exports): Remove function.
604 (exports): Remove variable.
605 (command): Do not include ${exports}.
606 * manual/install.texi (Configuring and compiling): Do not mention
607 test wrappers preserving environment variables. Mention that last
608 assignment to a variable must take precedence.
609 * INSTALL: Regenerated.
610 * benchtests/Makefile (run-bench): Use $(run-program-env).
611 * catgets/Makefile ($(objpfx)test1.cat): Use
612 $(built-program-cmd-before-env), $(run-program-env) and
613 $(built-program-cmd-after-env).
614 ($(objpfx)test2.cat): Do not specify environment variables
615 explicitly.
616 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
617 $(run-program-env) and $(built-program-cmd-after-env).
618 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
619 $(run-program-env) and $(test-program-cmd-after-env).
620 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
621 explicitly.
622 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
623 run_program_env and test_program_cmd_after_env arguments.
624 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
625 * elf/tst-pathopt.sh: Use run_program_env argument.
626 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
627 $(test-wrapper-env) and $(run-program-env).
628 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
629 run_program_env arguments.
630 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
631 * intl/Makefile ($(objpfx)tst-gettext.out): Use
632 $(test-program-prefix-before-env), $(run-program-env) and
633 $(test-program-prefix-after-env).
634 ($(objpfx)tst-gettext2.out): Likewise.
635 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
636 run_program_env and test_program_prefix_after_env arguments.
637 * intl/tst-gettext2.sh: Likewise.
638 * intl/tst-gettext4.sh: Do not set environment variables
639 explicitly.
640 * intl/tst-gettext6.sh: Likewise.
641 * intl/tst-translit.sh: Likewise.
642 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
643 $(test-program-prefix-before-env), $(run-program-env) and
644 $(test-program-prefix-after-env).
645 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
646 run_program_env and test_program_prefix_after_env arguments.
647 * math/Makefile (run-regen-ulps): Use $(run-program-env).
648 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
649 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
650 explicitly with each use of ${test_wrapper_env}.
651 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
652 $(test-program-prefix-before-env), $(run-program-env) and
653 $(test-program-prefix-after-env).
654 * posix/tst-getconf.sh: Do not set environment variables
655 explicitly.
656 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
657 run_program_env and test_program_prefix_after_env arguments.
658 * stdio-common/tst-printf.sh: Do not set environment variables
659 explicitly.
660 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
661 $(test-program-prefix-before-env), $(run-program-env) and
662 $(test-program-prefix-after-env).
663 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
664 run_program_env and test_program_prefix_after_env arguments.
665 Split $test calls into $test_pre and $test.
666 * timezone/Makefile (build-testdata): Use
667 $(built-program-cmd-before-env), $(run-program-env) and
668 $(built-program-cmd-after-env).
669
6702014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
671
672 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
673 strlen for non SHARED builds.
674
6752014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
676
677 * nptl/allocatestack.c (check_list): Inlined function...
678 (__reclaim_stacks): ... here.
679
6802014-06-05 Ondřej Bílka <neleai@seznam.cz>
681
682 [BZ #15698]
683 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
684 memory overrun.
685
6862014-06-05 Joseph Myers <joseph@codesourcery.com>
687
688 * Rules (make-test-out): Include
689 LOCPATH=$(common-objpfx)localedata in default environment.
690 * debug/Makefile (tst-chk1-ENV): Remove variable.
691 (tst-chk2-ENV): Likewise.
692 (tst-chk3-ENV): Likewise.
693 (tst-chk4-ENV): Likewise.
694 (tst-chk5-ENV): Likewise.
695 (tst-chk6-ENV): Likewise.
696 (tst-lfschk1-ENV): Likewise.
697 (tst-lfschk2-ENV): Likewise.
698 (tst-lfschk3-ENV): Likewise.
699 (tst-lfschk4-ENV): Likewise.
700 (tst-lfschk5-ENV): Likewise.
701 (tst-lfschk6-ENV): Likewise.
702 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
703 (tst-iconv7-ENV): Likewise.
704 * intl/Makefile (LOCPATH-ENV): Likewise.
705 (tst-codeset-ENV): Likewise.
706 (tst-gettext3-ENV): Likewise.
707 (tst-gettext5-ENV): Likewise.
708 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
709 (tst-fopenloc-ENV): Likewise.
710 (tst-fgetws-ENV): Remove variable.
711 (tst-ungetwc1-ENV): Likewise.
712 (tst-ungetwc2-ENV): Likewise.
713 (bug-ungetwc2-ENV): Likewise.
714 (tst-swscanf-ENV): Likewise.
715 (bug-ftell-ENV): Likewise.
716 (tst-fgetwc-ENV): Likewise.
717 (tst-fseek-ENV): Likewise.
718 (tst-ftell-partial-wide-ENV): Likewise.
719 (tst-ftell-active-handler-ENV): Likewise.
720 (tst-ftell-append-ENV): Likewise.
721 * posix/Makefile (tst-fnmatch-ENV): Likewise.
722 (tst-regexloc-ENV): Likewise.
723 (bug-regex1-ENV): Likewise.
724 (tst-regex-ENV): Likewise.
725 (tst-regex2-ENV): Likewise.
726 (bug-regex5-ENV): Likewise.
727 (bug-regex6-ENV): Likewise.
728 (bug-regex17-ENV): Likewise.
729 (bug-regex18-ENV): Likewise.
730 (bug-regex19-ENV): Likewise.
731 (bug-regex20-ENV): Likewise.
732 (bug-regex22-ENV): Likewise.
733 (bug-regex23-ENV): Likewise.
734 (bug-regex25-ENV): Likewise.
735 (bug-regex26-ENV): Likewise.
736 (bug-regex30-ENV): Likewise.
737 (bug-regex32-ENV): Likewise.
738 (bug-regex33-ENV): Likewise.
739 (bug-regex34-ENV): Likewise.
740 (bug-regex35-ENV): Likewise.
741 (tst-rxspencer-ENV): Likewise.
742 (tst-rxspencer-no-utf8-ENV): Likewise.
743 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
744 (tst-sscanf-ENV): Likewise.
745 (tst-swprintf-ENV): Likewise.
746 (tst-swscanf-ENV): Likewise.
747 (test-vfprintf-ENV): Likewise.
748 (scanf13-ENV): Likewise.
749 (bug14-ENV): Likewise.
750 (tst-grouping-ENV): Likewise.
751 * stdlib/Makefile (tst-strtod-ENV): Likewise.
752 (tst-strtod3-ENV): Likewise.
753 (tst-strtod4-ENV): Likewise.
754 (tst-strtod5-ENV): Likewise.
755 (testmb2-ENV): Likewise./
756 * string/Makefile (tst-strxfrm-ENV): Likewise.
757 (tst-strxfrm2-ENV): Likewise.
758 (bug-strcoll1-ENV): Likewise.
759 (test-strcasecmp-ENV): Likewise.
760 (test-strncasecmp-ENV): Likewise.
761 * time/Makefile (tst-strptime-ENV): Likewise.
762 (tst-ftime_l-ENV): Likewise.
763 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
764 (tst-mbrtowc-ENV): Likewise.
765 (tst-wcrtomb-ENV): Likewise.
766 (tst-mbrtowc2-ENV): Likewise.
767 (tst-c16c32-1-ENV): Likewise.
768 (tst-mbsnrtowcs-ENV): Likewise.
769
7702014-06-05 Ondřej Bílka <neleai@seznam.cz>
771
772 * manual/resource.texi (How to get information about the memory
773 subsystem?): Fix typo.
774 Reported by Peon de la Parra Ivan <peon@keba.com>
775
7762014-06-03 Guo Yixuan <culu.gyx@gmail.com>
777
778 [BZ #16882]
779 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
780 (pthread_spin_lock): Branch out of spin loop to proper location.
781 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
782 (pthread_spin_lock): Likewise.
783
784 * nptl/tst-spin4.c: New test.
785 * nptl/Makefile (tests): Add tst-spin4.
786
7872014-06-03 Andreas Schwab <schwab@suse.de>
788
789 [BZ #15946]
790 * resolv/res_send.c (send_dg): Reload file descriptor after
791 calling reopen.
792
7932014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
794
795 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
796
7972014-06-03 Richard Henderson <rth@redhat.com>
798
799 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
800 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
801 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
802 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
803 in the SAVE_PID block.
804 (__libc_vfork): New alias.
805 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
806
807 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
808 child in registers, not on the stack. Remove RESET_PID conditionals.
809 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
810
8112014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
812
813 * sysdeps/aarch64/libm-test-ulps: Regenerate.
814
8152014-06-03 Wilco <wdijkstr@arm.com>
816
817 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
818 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
819 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
820 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
821 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
822 Likewise.
823
8242014-06-03 Wilco <wdijkstr@arm.com>
825
826 * sysdeps/aarch64/fpu/math_private.h
827 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
828 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
829 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
830 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
831 Fix declarations.
832
8332014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
834
835 * crypt/crypt-private.h: Include ufc-crypt.h.
836 (__b64_from_24bit): Declare extern.
837 * crypt/crypt_util.c(__b64_from_24bit): New function.
838 (b64t): New static const variable.
839 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
840 (b64t): Remove variable.
841 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
842 * crypt/sha256-crypt.c: Include crypt-private.h.
843 (b64t): Remove variable.
844 (__sha256_crypt_r): Remove b64_from_24bit and replace
845 with __b64_from_24bit.
846 * crypt/sha512-crypt.c: Likewise.
847
8482014-06-02 Roland McGrath <roland@hack.frob.com>
849
850 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
851 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
852 Label the code __libc_vfork rather than __vfork.
853 [!NOT_IN_libc] (vfork): Define as weak alias.
854 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
855 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
856 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
857
8582014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
859
860 * malloc/malloc.c (malloc_info): Fix format specifier for
861 n_mmaps.
862
8632014-06-02 Wilco <wdijkstr@arm.com>
864
865 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
866 FPCR write.
867
8682014-06-02 Wilco <wdijkstr@arm.com>
869
870 [BZ #17009]
871 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
872 Rewrite to reduce FPCR/FPSR accesses.
873
8742014-06-01 David S. Miller <davem@davemloft.net>
875
876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
877
8782014-05-31 David S. Miller <davem@davemloft.net>
879
880 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
881 to occur in round to nearest mode when |x| >= 2.0
882
8832014-05-30 Richard Henderson <rth@twiddle.net>
884
885 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
886 (PSEUDO_RET_NOERRNO): Remove.
887 (ret): Don't redefine.
888 (ret_NOERRNO): Define in terms of ret.
889 (ret_ERRVAL): Likewise.
890
891 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
892 use of PSEUDO_RET; perform the error check directly.
893
8942014-05-30 Marko Myllynen <myllynen@redhat.com>
895
896 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
897 with __int128_t.
898
8992014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
900
901 * malloc/malloc (malloc_info): Fix formatting.
902
9032014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
904 Roland McGrath <roland@hack.frob.com>
905
906 * malloc/malloc (malloc_info): Also print mmapped statistics.
907
9082014-05-30 Roland McGrath <roland@hack.frob.com>
909
910 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
911 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
912
9132014-05-30 Ondřej Bílka <neleai@seznam.cz>
914
915 * malloc/malloc.c (malloc_info): Inline mi_arena.
916
9172014-05-29 Richard Henderson <rth@twiddle.net>
918
919 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
920 Remove comma before expanding ASM_ARGS_##nr.
921 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
922 Make _x0 a strict output; make _x8 a strict input; adjust expansion
923 of ASM_ARGS_##nr.
924 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
925 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
926 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
927 (ASM_ARGS_1): Add leading comma.
928
929 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
930 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
931 to __errno_location.
932 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
933 Remove the expected plt for __errno_location.
934
935 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
936 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
937 call to __read_tp.
938
939 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
940 Always allocate 64 bytes of stack frame. Use ldp/stp to create
941 it and break it down.
942 (DOCARGS_0, DOCARGS_1): Do nothing.
943 (DOCARGS_2): Update to store into the new stack frame.
944 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
945 (UNDOCARGS_1): Update to restore from the new stack frame.
946 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
947 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
948
949 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
950 (SINGLE_THREAD_P): New parameter for result regno.
951 (PSEUDO): Update to match; use cbz instead of beq.
952
953 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
954 Use ENTRY to define the _nocancel entry point. Share the syscall
955 and syscall error check paths with the cancel path.
956 (PSEUDO_END): New.
957
958 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
959 whitespace; tabs before and after asm mnemonics.
960
9612014-05-29 Eric Wong <normalperson@yhbt.net>
962
963 [BZ #15132]
964 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
965 Call fstat64 or stat64 internally, depending on arguments passed.
966 Replace stat buffer argument with file descriptor argument.
967 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
968 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
969 Pass fd to __internal_statvfs instead of calling fstat64.
970 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
971 Pass fd to __internal_statvfs64 instead of calling fstat64.
972 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
973 Pass -1 to __internal_statvfs instead of calling stat64.
974 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
975 Pass -1 to __internal_statvfs64 instead of calling stat64.
976
9772014-05-28 Roland McGrath <roland@hack.frob.com>
978
979 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
980 that was previously under [RESET_PID].
981 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
982
983 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
984 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
985
9862014-05-27 Roland McGrath <roland@hack.frob.com>
987
988 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
989
990 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
991 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
992
9932014-05-27 Ondřej Bílka <neleai@seznam.cz>
994
995 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
996
9972014-05-27 Andreas Schwab <schwab@suse.de>
998
999 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1000 TLS_INIT_TP macro.
1001 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1002 * elf/rtld.c (init_tls, dl_main): Likewise.
1003 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1004 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1005 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1006 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1007 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1008 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1009 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1010 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1011 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1012 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1013 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1014 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1015 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1016 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1017 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1018 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1019 * sysdeps/generic/tls.h: Update description.
1020
10212014-05-27 Will Newton <will.newton@linaro.org>
1022
1023 [BZ #16990]
1024 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1025 and restore r2 rather than just restoring.
1026
10272014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1028
1029 [BZ #16724]
1030 * libio/tst-ftell-append.c: New test case.
1031 * libio/Makefile (tests): Add test case.
1032 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1033 append mode.
1034 * libio/wfileops.c (do_ftell_wide): Likewise.
1035
10362014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1037
1038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1039
1040 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1041 ...
1042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1044 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1045 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1046 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1047 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1048 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1049 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1050 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1051 Moved ...
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1053 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1054 Moved ...
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1056 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1057 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1058 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1059 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1060 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1061 ...
1062 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1063 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1064 Moved ...
1065 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1066 here.
1067 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1068 ...
1069 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1070 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1071 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1072
1073 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1074 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1075 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1076 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1077
1078 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1079 merge into ...
1080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1082 ...
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1085 ...
1086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1087 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1088 Moved ...
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1090 here.
1091 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1092 Moved ...
1093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1094 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1095 Moved ...
1096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1097
1098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1099 conditional [RESET_PID].
1100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1101 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1102 removed.
1103 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1104 removed.
1105
1106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1107 <tcb-offsets.h>.
1108 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1109 (__libc_vfork): New strong alias.
1110 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1111 removed.
1112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1113 Removed.
1114
1115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1116 <tcb-offsets.h>.
1117 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1118 (__libc_vfork): New strong alias.
1119 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1120 removed.
1121 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1122 removed.
1123
11242014-05-26 Carlos O'Donell <carlos@redhat.com>
1125
1126 * malloc/malloc.c (mi_arena): New function.
1127 (malloc_info): Remove nested function mi_arena. Call non-nosted
1128 function mi_arena.
1129
11302014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1131
1132 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1133 by insrwi.
1134 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1135 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1136 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1137 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1138 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1139 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1140 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1141
11422014-05-26 Andreas Schwab <schwab@suse.de>
1143
1144 [BZ #16984]
1145 * locale/programs/repertoire.c (repertoire_read): Add slash
1146 between I18NPATH element and file name.
1147 * locale/programs/locfile.c (locfile_read): Likewise.
1148
11492014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1150
1151 * nptl/pthread_mutexattr_settype.c
1152 (__pthread_mutexattr_settype):
1153 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1154
11552014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1156
1157 * nptl/tst-mutex5 (do_test):
1158 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1159
11602014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1161
1162 * benchtests/README: Document 'init' directive.
1163 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1164 BENCH_INIT.
1165 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1166 (parse_file): Recognize 'init' directive.
1167
11682014-05-26 Kyle McMartin <kyle@redhat.com>
1169
1170 [BZ #16796]
1171 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1172 alignment of struct pthread.
1173
11742014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1175
1176 [BZ #16878]
1177 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1178 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1179 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1180 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1181
11822014-05-25 Richard Henderson <rth@twiddle.net>
1183
1184 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1185 (SINGLE_THREAD_P_PIC): Remove.
1186 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1187 (SINGLE_THREAD_P_PIC): Remove.
1188
1189 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1190 branch to syscall error ...
1191 (PSEUDO): ... here.
1192 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1193 from __local_syscall_error to .Lsyscall_error.
1194 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1195 (SYSCALL_ERROR): Update label name.
1196
1197 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1198 Do not use DOARGS/UNDOARGS.
1199 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1200 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1201 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1202 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1203 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1204
1205 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1206 block comment.
1207
1208 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1209 define if !NOT_IN_libc.
1210 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1211 define with non-default symbol versions.
1212
12132014-05-23 Richard Henderson <rth@twiddle.net>
1214
1215 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1216 (vfork, __vfork): Define via compat_symbol.
1217
1218 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1219 [!HAVE_IFUNC] (vfork_compat): Remove.
1220 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1221
12222014-05-23 Joseph Myers <joseph@codesourcery.com>
1223
1224 [BZ #16978]
1225 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1226 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1227 variable.
1228
12292014-05-23 Richard Henderson <rth@twiddle.net>
1230
1231 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1232 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1233 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1234 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1235
1236 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1237 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1238 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1239 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1240 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1241 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1242 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1243 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1244 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1245 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1246 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1247 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1248 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1249 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1250 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1251 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1252 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1253 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1254 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1255 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1256 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1257 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1258 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1259 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1260 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1261 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1262 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1263 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1264 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1265 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1266 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1267 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1268 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1269 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1270 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1271 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1272 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1273 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1274 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1275 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1276 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1277 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1278 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1279 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1280 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1281 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1282 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1283 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1284 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1285 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1286 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1287 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1288 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1289 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1290 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1291 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1292
1293 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1294 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1295 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1296 before exiting on error.
1297 (__libc_vfork): New strong alias.
1298 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1299 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1300
1301 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1302 that was previously under [RESET_PID].
1303 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1304
1305 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1306
13072014-05-23 Joseph Myers <joseph@codesourcery.com>
1308
1309 [BZ #16977]
1310 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1311 value when x - 1 is zero.
1312 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1313 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1314 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1315 0.0L for an argument of 1.0L.
1316 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1317 Likewise.
1318 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1319 value when x - 1 is zero.
1320 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1321 * sysdeps/i386/fpu/libm-test-ulps: Update.
1322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1323
13242014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1325
1326 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1327 alphasort and versionsort.
1328
13292014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1330
1331 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1332 macro.
1333 [copysignf]: Likewise.
1334
13352014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1336
1337 * crypt/md5-crypt.c: Fix formatting.
1338
13392014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1340
1341 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1342 (b64_from_24bit): New function.
1343
13442014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1345
1346 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1347 libc_hidden_builtin_def to ifunc.
1348 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1349 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1350
13512014-05-21 Roland McGrath <roland@hack.frob.com>
1352
1353 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1354 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1355
13562014-05-21 Joseph Myers <joseph@codesourcery.com>
1357
1358 * nscd/Depend (linuxthreads): Remove.
1359 (nptl): Add.
1360 * resolv/Depend (linuxthreads): Remove.
1361 * rt/Depend (linuxthreads): Remove.
1362
1363 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1364 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1365 $(common-objpfx)elf/.
1366 (link-libc-before-gnulib): Likewise.
1367 (elfobjdir): Remove variable.
1368 * Makefile (install): Use $(elf-objpfx) instead of
1369 $(common-objpfx)elf/.
1370 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1371 $(elfobjdir)/.
1372 (link-libc-deps): Likewise.
1373 ($(common-objpfx)libc.so): Likewise.
1374 ($(common-objpfx)linkobj/libc.so): Likewise.
1375 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1376 instead of $(common-objpfx)elf/.
1377 (symbolic-link-list): Likewise.
1378 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1379 [$(cross-compiling) = no]: Likewise.
1380 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1381 $(elfobjdir)/.
1382 (static-gnulib-arch): Likewise.
1383 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1384 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1385 $(common-objpfx)elf/.
1386
13872014-05-21 Richard Henderson <rth@redhat.com>
1388
1389 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1390 (SINGLE_THREAD_P): Use the correct width load. Fold
1391 into the ldr offset.
1392
1393 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1394 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1395
13962014-05-20 Joseph Myers <joseph@codesourcery.com>
1397
1398 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1399 (libgcc_s_resume): Use __attribute_used__.
1400 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1401 Likewise.
1402
14032014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1404
1405 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1406 optimization when used with float constants.
1407
1408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1409
14102014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1411
1412 [BZ #16915]
1413 * locale/nl_langinfo_l.c: Make direct reference to every
1414 _nl_current_CATEGORY symbol.
1415 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1416 (tests-static): Add tst-langinfo-static.
1417 (tests-special): Add tst-langinfo-static.out.
1418 ($(objpfx)tst-langinfo.out): Redirect output.
1419 ($(objpfx)tst-langinfo-static.out): New.
1420 * localedata/tst-langinfo.sh: Send output to stdout.
1421 * localedata/tst-langinfo-static.c: New file.
1422
1423 [BZ #16965]
1424 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1425 when the shift amount is modulo the limb size.
1426
14272014-05-20 Richard Henderson <rth@redhat.com>
1428
1429 [BZ #16967]
1430 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1431 Change type of sa_flags from unsigned int to int.
1432
1433 [BZ #16966]
1434 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1435
1436 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1437
14382014-05-20 Will Newton <will.newton@linaro.org>
1439
1440 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1441 Test the return value of the system call in the nocancel case.
1442
14432014-05-20 Will Newton <will.newton@linaro.org>
1444 Yvan Roux <yvan.roux@linaro.org>
1445
1446 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1447 #include of asm/ptrace.h.
1448 (PTRACE_GET_THREAD_AREA): Remove #undef.
1449 (PTRACE_GETHBPREGS): Likewise.
1450 (PTRACE_SETHBPREGS): Likewise.
1451 (struct user_regs_struct): New structure.
1452 (struct user_fpsimd_struct): New structure.
1453 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1454 #include of asm/ptrace.h and second #include of sys/user.h.
1455 (PTRACE_GET_THREAD_AREA): Remove #undef.
1456 (PTRACE_GETHBPREGS): Likewise.
1457 (PTRACE_SETHBPREGS): Likewise.
1458 (ELF_NGREG): Use new struct user_regs_struct.
1459 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1460
14612014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1462
1463 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1464 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1465
14662014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1467
1468 [BZ #16958]
1469 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1470 membar to avoid block loads/stores to overlap previous stores.
1471
14722014-05-17 Richard Henderson <rth@redhat.com>
1473
1474 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1475 Create the __##syscall_name##_nocancel entry point.
1476 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1477 Remove; let the sysdep-cancel.h code create it.
1478
14792014-05-17 David S. Miller <davem@davemloft.net>
1480
1481 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1482 Protect with __USE_GNU.
1483 (TIOCSET_TEMPT): Likewise.
1484 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1485 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1486 these are already provided in bits/ioctl-types.h
1487
14882014-05-16 Roland McGrath <roland@hack.frob.com>
1489
1490 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1491 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1492
1493 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1494 Use wait4 regardless of [__NR_waitpid].
1495
14962014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1497
1498 PR libgcc/60166
1499 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1500 (_FP_NANSIGN_Q): Set the quiet bit.
1501
15022014-05-16 Joseph Myers <joseph@codesourcery.com>
1503
1504 * benchtests/Makefile
1505 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1506 not $(common-objpfx)math/libm.so.
1507 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1508 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1509 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1510 $(common-objpfx)dlfcn/libdl.so.
1511 ($(objpfx)tst-audit8): Depend on $(libm), not
1512 $(common-objpfx)math/libm.so.
1513 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1514 not $(common-objpfx)dlfcn/libdl.so.
1515 * math/Makefile
1516 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1517 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1518 [$(build-shared) = yes].
1519 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1520 $(common-objpfx)nptl/libpthread.so.
1521 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1522 $(common-objpfx)math/libm.so$(libm.so-version) or
1523 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1524 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1525 $(common-objpfx)dlfcn/libdl.so.
1526 * setjmp/Makefile (link-libm): Remove variable.
1527 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1528 * stdio-common/Makefile (link-libm): Remove variable.
1529 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1530 * stdlib/Makefile (link-libm): Remove variable.
1531 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1532 ($(objpfx)tst-strtod-round): Likewise.
1533 ($(objpfx)tst-tininess): Likewise.
1534 ($(objpfx)tst-strtod-underflow): Likewise.
1535 ($(objpfx)tst-strtod6): Likewise.
1536 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1537 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1538 $(common-objpfx)dlfcn/libdl.so.
1539
15402014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541
1542 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1543 BSD terminal modes definitions.
1544
15452014-05-16 Roland McGrath <roland@hack.frob.com>
1546
1547 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1548 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1549
1550 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1551 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1552 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1553 Don't do #include_next.
1554 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1555 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1556 Don't do #include_next.
1557 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1558 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1559 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1560 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1561
15622014-05-16 Allan McRae <allan@archlinux.org>
1563
1564 * po/sv.po: Update Swedish translation from translation project.
1565
1566 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1567 in sed expression.
1568
15692014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1570
1571 [BZ #16917]
1572 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1573 errno if the TIOCGPTN ioctl fails with an error different than
1574 EINVAL.
1575 * login/tst-ptsname.c: New file.
1576 * login/Makefile (tests): Add tst-ptsname.
1577
1578 [BZ #16943]
1579 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1580 and prlimit64.
1581
15822014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1583
1584 [BZ #16849]
1585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1586 herrno to return EAI_AGAIN.
1587
15882014-05-14 Roland McGrath <roland@hack.frob.com>
1589
1590 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1591 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1592 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1593 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1594 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1595 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1596 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1597 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1598 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1599 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1600 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1601 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1602 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1603 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1605 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1606 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1607 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1608 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1609 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1610 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1611 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1612 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1613 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1615 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1616 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1617 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1618 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1619 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1621 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1623 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1625 Moved ...
1626 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1628 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1630 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1634 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1636 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1638 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1640 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1642 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1644 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1646 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1648 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1650 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1652 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1654 Moved ...
1655 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1657 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1659 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1661 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1665 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1669 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1671 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1673 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1675 Moved ...
1676 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1678 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1679
1680 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1681 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1682 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1683 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1684 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1685 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1686 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1687 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1688 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1689 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1690 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1692 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1693 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1694 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1695 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1696 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1697 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1698 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1699 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1700 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1701 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1702 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1703 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1704 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1705 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1706 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1707 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1708 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1709 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1710 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1711
1712 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1713 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1714
1715 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1716 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1717 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1718 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1719 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1720 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1721 Moved ...
1722 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1723 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1724 Moved ...
1725 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1726 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1727 Moved ...
1728 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1729 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1730 Moved ...
1731 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1732 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1733 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1734 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1735 Moved ...
1736 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1737 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1738 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1739 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1740 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1742 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1743 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1744 Moved ...
1745 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1746 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1747 Moved ...
1748 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1749 ... here.
1750 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1751 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1752 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1753 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1754 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1755 Moved ...
1756 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1757 ... here.
1758 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1759 Moved ...
1760 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1761 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1762 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1763 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1764 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1765 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1766 Moved ...
1767 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1768 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1769 Moved ...
1770 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1771 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1772 Moved ...
1773 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1775 Moved ...
1776 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1777 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1778 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1779 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1780 Moved ...
1781 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1782 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1783 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1784 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1785 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1787 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1789 Moved ...
1790 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1791 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1792 Moved ...
1793 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1794 ... here.
1795 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1796 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1797 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1798 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1799 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1800 Moved ...
1801 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1802 ... here.
1803 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1804 Moved ...
1805 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1806 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1807 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1808 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1809 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1810 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1811 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1812 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1813 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1814 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1815 Moved ...
1816 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1817 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1818 Moved ...
1819 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1820 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1821 Moved ...
1822 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1823 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1824 Moved ...
1825 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1827 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1828 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1829 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1830 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1831 Moved ...
1832 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1833 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1834 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1835 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1836 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1837 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1838 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1839 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1840 Moved ...
1841 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1842 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1843 Moved ...
1844 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1845 ... here.
1846 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1847 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1848 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1849 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1850 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1851 Moved ...
1852 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1853 ... here.
1854 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1855 Moved ...
1856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1857 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1858 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1859 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1860 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1861 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1862 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1863 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1864 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1865 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1866 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1867
1868 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1869 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1870
1871 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1872 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1873
1874 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1875 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1876 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1877 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1878 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1879 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1880 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1881 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1882 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1883 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1884 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1885 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1886 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1887 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1888 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1889 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1890 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1891 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1892 Moved ...
1893 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1894 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1895 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1896 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1897 Moved ...
1898 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1900 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1902 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1904 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1906 Moved ...
1907 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1908 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1909 Moved ...
1910 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1912 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1914 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1916 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1918 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1919 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1920 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1921 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1922 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1923 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1924 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1925 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1926 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1927
1928 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1929 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1930 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1931 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1932 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1933
1934 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1935 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1936 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1937 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1938 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1939 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1940 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1941 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1942 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1943 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1944
1945 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1946 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1947
1948 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1949 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1950 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1951 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1952 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1953 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1954 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1955 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1956 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1957 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1958 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1959 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1960 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1961 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1962 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1963 Update #include.
1964 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1965 Likewise.
1966 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1967 Likewise.
1968 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1969 Likewise.
1970 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1971 Likewise.
1972 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1973 Likewise.
1974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1975 Likewise.
1976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1977 Likewise.
1978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1979 Likewise.
1980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1981 Likewise.
1982 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1983 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1984 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1985 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1986 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
1987 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1988 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1989 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1990 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1991 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1992 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1993 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1994 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1995 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1996 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
1997
1998 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1999 that was previously under [RESET_PID].
2000 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2001 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2002 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2003
2004 * sysdeps/i386/nptl/Implies: New file.
2005 * sysdeps/x86_64/nptl/Implies: New file.
2006 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2007 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2009 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2010
2011 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2012 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2013 (__libc_vfork): New strong alias.
2014 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2015 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2016
2017 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2018 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2019 (__libc_vfork): New strong alias.
2020 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2021 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2022
2023 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2024 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2025 (__libc_vfork): New strong alias.
2026 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2027 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2028 * nptl/pt-vfork.c: New file.
2029 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2030 (libpthread: GLIBC_2.20): New version set (empty).
2031
20322014-05-14 Will Newton <will.newton@linaro.org>
2033
2034 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2035 rather than #if.
2036
20372014-05-14 Joseph Myers <joseph@codesourcery.com>
2038
2039 [BZ #16564]
2040 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2041 arguments with exponent 65 or above.
2042 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2043 arguments 0x1p113L or above.
2044 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2045 to arguments 0x1p107L or above.
2046 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2047 positive arguments with exponent 65 or above.
2048 * math/auto-libm-test-in: Add more tests of log1p.
2049 * math/auto-libm-test-out: Regenerated.
2050
2051 [BZ #16928]
2052 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2053 non-finite arguments is +0.
2054 * math/s_cacosf.c (__cacosf): Likewise.
2055 * math/s_cacosl.c (__cacosl): Likewise.
2056 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2057 * sysdeps/i386/fpu/libm-test-ulps: Update.
2058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2059
2060 [BZ #16927]
2061 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2062 value.
2063 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2064 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2065 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2066 for explicit high bit of mantissa when testing for argument equal
2067 to 1.
2068 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2069 * sysdeps/i386/fpu/libm-test-ulps: Update.
2070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2071
2072 [BZ #16516]
2073 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2074 (__erf): Scale by 16 instead of 8 in potentially underflowing
2075 case. Ensure exception if result actually underflows.
2076 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2077 (__erff): Scale by 16 instead of 8 in potentially underflowing
2078 case. Ensure exception if result actually underflows.
2079 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2080 (efx8): Remove variable.
2081 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2082 case. Ensure exception if result actually underflows.
2083 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2084 (efx8): Remove variable.
2085 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2086 case. Ensure exception if result actually underflows.
2087 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2088 (efx8): Remove variable.
2089 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2090 case. Ensure exception if result actually underflows.
2091 * math/auto-libm-test-in: Add more tests of erf.
2092 * math/auto-libm-test-out: Regenerated.
2093
20942014-05-14 Andreas Schwab <schwab@suse.de>
2095
2096 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2097 Remove code conditionalized on USE___THREAD.
2098
2099 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2100 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2101 not definedness.
2102
21032014-05-14 Joseph Myers <joseph@codesourcery.com>
2104
2105 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2106 Define unconditionally.
2107 (__ASSUME_O_CLOEXEC): Likewise.
2108 (__ASSUME_SOCK_CLOEXEC): Likewise.
2109 (__ASSUME_IN_NONBLOCK): Likewise.
2110 (__ASSUME_PIPE2): Likewise.
2111 (__ASSUME_EVENTFD2): Likewise.
2112 (__ASSUME_SIGNALFD4): Likewise.
2113 (__ASSUME_DUP3): Likewise.
2114 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2115 (__ASSUME_DUP3): Do not define.
2116 (__ASSUME_EVENTFD2): Likewise.
2117 (__ASSUME_IN_NONBLOCK): Likewise.
2118 (__ASSUME_O_CLOEXEC): Likewise.
2119 (__ASSUME_PIPE2): Likewise.
2120 (__ASSUME_SIGNALFD4): Likewise.
2121 (__ASSUME_SOCK_CLOEXEC): Likewise.
2122 (__ASSUME_UTIMES): Undefine.
2123 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2124 (__ASSUME_UTIMES): Do not define.
2125 (__ASSUME_O_CLOEXEC): Likewise.
2126 (__ASSUME_SOCK_CLOEXEC): Likewise.
2127 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2128 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2129 0x020621].
2130 (__ASSUME_PIPE2): Likewise.
2131 (__ASSUME_EVENTFD2): Likewise.
2132 (__ASSUME_SIGNALFD4): Likewise.
2133 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2134 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2135 Do not define.
2136 (__ASSUME_EVENTFD2): Likewise.
2137 (__ASSUME_SIGNALFD4): Likewise.
2138 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2139 (__ASSUME_32BITUIDS): Likewise.
2140 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2141 (__ASSUME_IPC64): Likewise.
2142 (__ASSUME_ST_INO_64_BIT): Likewise.
2143 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2144 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2145 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2146 (__ASSUME_UTIMES): Do not define.
2147 (__ASSUME_PSELECT): Likewise.
2148 (__ASSUME_PPOLL): Likewise.
2149 (__ASSUME_O_CLOEXEC): Likewise.
2150 (__ASSUME_SOCK_CLOEXEC): Likewise.
2151 (__ASSUME_IN_NONBLOCK): Likewise.
2152 (__ASSUME_PIPE2): Likewise.
2153 (__ASSUME_EVENTFD2): Likewise.
2154 (__ASSUME_SIGNALFD4): Likewise.
2155 (__ASSUME_DUP3): Likewise.
2156 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2157 (__ASSUME_UTIMES): Likewise.
2158 (__ASSUME_O_CLOEXEC): Likewise.
2159 (__ASSUME_SOCK_CLOEXEC): Likewise.
2160 (__ASSUME_IN_NONBLOCK): Likewise.
2161 (__ASSUME_PIPE2): Likewise.
2162 (__ASSUME_EVENTFD2): Likewise.
2163 (__ASSUME_SIGNALFD4): Likewise.
2164 (__ASSUME_DUP3): Likewise.
2165 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2166 (__ASSUME_UTIMES): Likewise.
2167 (__ASSUME_O_CLOEXEC): Likewise.
2168 (__ASSUME_SOCK_CLOEXEC): Likewise.
2169 (__ASSUME_IN_NONBLOCK): Likewise.
2170 (__ASSUME_PIPE2): Likewise.
2171 (__ASSUME_EVENTFD2): Likewise.
2172 (__ASSUME_SIGNALFD4): Likewise.
2173 (__ASSUME_DUP3): Likewise.
2174 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2175 Likewise.
2176 (__ASSUME_UTIMES): Likewise.
2177 (__ASSUME_EVENTFD2): Likewise.
2178 (__ASSUME_SIGNALFD4): Likewise.
2179 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2180 (__ASSUME_O_CLOEXEC): Likewise.
2181 (__ASSUME_SOCK_CLOEXEC): Likewise.
2182 (__ASSUME_IN_NONBLOCK): Likewise.
2183 (__ASSUME_PIPE2): Likewise.
2184 (__ASSUME_EVENTFD2): Likewise.
2185 (__ASSUME_SIGNALFD4): Likewise.
2186 (__ASSUME_DUP3): Likewise.
2187 (__ASSUME_UTIMES): Undefine.
2188
2189 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2190 feclearexcept. Remove symbol versioning code.
2191 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2192 symbol versioning code.
2193 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2194 symbol versioning code.
2195 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2196 feupdateenv. Remove symbol versioning code.
2197 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2198 fegetexceptflag. Remove symbol versioning code.
2199 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2200 fesetexceptflag. Remove symbol versioning code.
2201 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2202 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2203 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2204 (__posix_fadvise64_l32): Remove prototype.
2205 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2206 code.
2207
22082014-05-13 Roland McGrath <roland@hack.frob.com>
2209
2210 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2211 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2212 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2213 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2214
22152014-05-13 Sami Kerola <kerolasa@iki.fi>
2216
2217 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2218 current working directory
2219
22202014-05-13 Roland McGrath <roland@hack.frob.com>
2221
2222 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2223 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2224 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2225 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2226 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2227 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2228 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2229 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2230 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2231 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2232 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2233 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2234 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2235 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2236 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2237 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2238 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2239 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2240 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2241 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2242 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2243 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2244 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2245 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2246 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2247 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2248 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2249 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2250 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2251 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2252 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2253 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2254 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2255 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2256 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2257 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2258 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2259 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2260 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2261 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2262 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2263 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2264
2265 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2266 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2267
2268 * sysdeps/unix/sysv/linux/arm/Makefile
2269 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2270 Add rt-aeabi_unwind_cpp_pr1.
2271 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2272 Add nptl-aeabi_unwind_cpp_pr1.
2273 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2274 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2275 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2276 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2277 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2278 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2279
2280 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2281 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2282 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2283 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2284
2285 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2286 Deconditionalize the code that was previously under [RESET_PID].
2287 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2288
2289 * sysdeps/generic/exit-thread.h: New file.
2290 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2291 * include/unistd.h (__exit_thread): Remove declaration.
2292 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2293 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2294 * csu/libc-start.c: Include <exit-thread.h>.
2295 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2296 * nptl/pthread_create.c: Include <exit-thread.h>.
2297 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2298 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2299 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2300 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2301 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2302 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2303 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2304 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2305 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2306 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2307 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2308 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2309 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2310 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2311 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2312 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2313 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2314
23152014-05-13 Andreas Schwab <schwab@suse.de>
2316
2317 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2318
23192014-05-12 Joseph Myers <joseph@codesourcery.com>
2320
2321 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2322 (__ASSUME_UTIMES): Do not condition on kernel version.
2323 (__ASSUME_PSELECT): Define unconditionally.
2324 (__ASSUME_PPOLL): Likewise.
2325 (__ASSUME_ATFCTS): Likewise.
2326 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2327 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2328 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2329 (__ASSUME_UTIMENSAT): Define unconditionally.
2330 (__ASSUME_PRIVATE_FUTEX): Likewise.
2331 (__ASSUME_FALLOCATE): Likewise.
2332 (__ASSUME_O_CLOEXEC): Likewise.
2333 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2334 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2335 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2336 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2337 (__ASSUME_IN_NONBLOCK): Likewise.
2338 (__ASSUME_PIPE2): Likewise.
2339 (__ASSUME_EVENTFD2): Likewise.
2340 (__ASSUME_SIGNALFD4): Likewise.
2341 (__ASSUME_DUP3): Likewise.
2342 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2343 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2344 (__ASSUME_AT_RANDOM): Likewise.
2345 (__ASSUME_PREADV): Likewise.
2346 (__ASSUME_PWRITEV): Likewise.
2347 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2348 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2349 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2350 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2351 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2352 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2353 (__ASSUME_O_CLOEXEC): Define unconditionally.
2354 (__ASSUME_PSELECT): Do not undefine conditionally.
2355 (__ASSUME_PPOLL): Likewise.
2356 (__ASSUME_ATFCTS): Likewise.
2357 (__ASSUME_SET_ROBUST_LIST): Likewise.
2358 (__ASSUME_UTIMENSAT): Likewise.
2359 (__ASSUME_FDATASYNC): Define unconditionally.
2360 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2361 (__ASSUME_SIGFRAME_V2): Likewise.
2362 )__ASSUME_EVENTFD2): Likewise.
2363 (__ASSUME_SIGNALFD4): Likewise.
2364 (__ASSUME_PSELECT): Do not undefine conditionally.
2365 (__ASSUME_PPOLL): Likewise.
2366 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2367 (__ASSUME_PSELECT): Define unconditionally.
2368 (__ASSUME_PPOLL): Likewise.
2369 (__ASSUME_O_CLOEXEC): Likewise.
2370 (__ASSUME_SOCK_CLOEXEC): Likewise.
2371 (__ASSUME_IN_NONBLOCK): Likewise.
2372 (__ASSUME_PIPE2): Likewise.
2373 (__ASSUME_EVENTFD2): Likewise.
2374 (__ASSUME_SIGNALFD4): Likewise.
2375 (__ASSUME_DUP3): Likewise.
2376 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2377 (__ASSUME_O_CLOEXEC): Likewise.
2378 (__ASSUME_SOCK_CLOEXEC): Likewise.
2379 (__ASSUME_IN_NONBLOCK): Likewise.
2380 (__ASSUME_PIPE2): Likewise.
2381 (__ASSUME_EVENTFD2): Likewise.
2382 (__ASSUME_SIGNALFD4): Likewise.
2383 (__ASSUME_DUP3): Likewise.
2384 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2385 (__ASSUME_EVENTFD2): Likewise.
2386 (__ASSUME_SIGNALFD4): Likewise.
2387 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2388
23892014-05-12 Andreas Schwab <schwab@suse.de>
2390
2391 [BZ #16932]
2392 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2393 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2394 than maximum RPC packet size.
2395 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2396 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2397 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2398 (_nss_nis_getservbyport_r): Likewise.
2399
24002014-05-12 Will Newton <will.newton@linaro.org>
2401
2402 * malloc/Makefile (tests): Add tst-mallopt.
2403 * malloc/tst-mallopt.c: New file.
2404
24052014-05-09 Roland McGrath <roland@hack.frob.com>
2406
2407 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2408 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2409
24102014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2411
2412 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2413 (tst-tlsmod6.so): Likewise.
2414
24152014-05-09 Roland McGrath <roland@hack.frob.com>
2416
2417 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2418
24192014-05-09 Joseph Myers <joseph@codesourcery.com>
2420
2421 [BZ #16064]
2422 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2423 and <dl-procinfo.h>.
2424 (__fegetenv): Save SSE state in envp->__eip if supported.
2425 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2426 envp->__eip if supported.
2427 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2428 and <dl-procinfo.h>.
2429 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2430 __data_offset and __data_selector in environment to 0. Set SSE
2431 state if supported.
2432 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2433 test-fenv-sse.
2434 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2435 -mfpmath=sse.
2436 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2437
24382014-05-09 Will Newton <will.newton@linaro.org>
2439
2440 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2441 and libc_relro_required for ARM.
2442 * sysdeps/arm/preconfigure: Regenerate.
2443
24442014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2445 Stefan Liebler <stli@linux.vnet.ibm.com>
2446
2447 * config.make.in (enable-lock-elision): New Makefile variable.
2448 * configure.ac: Likewise.
2449 * configure: Regenerate.
2450 * sysdeps/s390/configure.ac:
2451 Add check for gcc transactions support.
2452 * sysdeps/s390/configure: Regenerate.
2453 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2454 Build elision files if enabled.
2455 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2456 Add lock elision support for s390.
2457 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2458 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2459 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2460 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2461 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2462 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2463 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2464 Likewise.
2465 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2466 Likewise.
2467 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2468 Likewise.
2469 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2470 Likewise.
2471 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2472 (__lll_timedlock_elision, __lll_lock_elision)
2473 (__lll_unlock_elision, __lll_trylock_elision)
2474 (lll_timedlock_elision, lll_lock_elision)
2475 (lll_unlock_elision, lll_trylock_elision): Add.
2476 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2477 (pthread_mutex_t): Add lock elision support for s390.
2478
24792014-05-14 Wilco <wdijkstr@arm.com>
2480
2481 * sysdeps/arm/fclrexcpt.c: Cleanup.
2482 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2483 * sysdeps/arm/feenablxcpt.c: Cleanup.
2484 * sysdeps/arm/fegetenv.c: Cleanup.
2485 * sysdeps/arm/fegetexcept.c: Cleanup.
2486 * sysdeps/arm/fegetround.c: Cleanup.
2487 * sysdeps/arm/feholdexcpt.c: Cleanup.
2488 * sysdeps/arm/fesetenv.c: Cleanup.
2489 * sysdeps/arm/fesetround.c: Cleanup.
2490 * sysdeps/arm/feupdateenv.c: Cleanup.
2491 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2492 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2493 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2494 * sysdeps/arm/ftestexcept.c: Cleanup.
2495 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2496 * sysdeps/arm/setfpucw.c: Cleanup.
2497
24982014-05-09 Will Newton <will.newton@linaro.org>
2499
2500 * sysdeps/arm/armv7/strcmp.S: New file.
2501 * NEWS: Mention addition of ARMv7 optimized strcmp.
2502
25032014-05-08 Roland McGrath <roland@hack.frob.com>
2504
2505 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2506 look for %.ac rather than %.in.
2507
2508 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2509 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2510 * sysdeps/mach/hurd/configure: Regenerated.
2511 * sysdeps/unix/sysv/linux/configure: Regenerated.
2512
2513 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2514
25152014-05-07 Steve Ellcey <sellcey@mips.com>
2516
2517 [BZ# 16922]
2518 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2519 (LONG_SUB): Ditto.
2520 (PTR_SUB): Ditto.
2521
25222014-05-07 Andreas Schwab <schwab@suse.de>
2523
2524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2525 when skipping over non-matching result from nscd.
2526
25272014-05-07 Ondřej Bílka <neleai@seznam.cz>
2528
2529 [BZ #16876]
2530 * nptl/sockperf.c (client): Check socket return value.
2531
2532 [BZ #16877]
2533 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2534 nscd security class.
2535
25362014-05-06 Roland McGrath <roland@hack.frob.com>
2537
2538 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2539 * sysdeps/arm/unwind.h: ... here.
2540
25412014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2542
2543 [BZ# 16916]
2544 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2545 Define.
2546
25472014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2548
2549 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2550 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2551 multiarch strncpy for PPC64.
2552 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2553 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2555 multiarch optimizations.
2556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2557 (__libc_ifunc_impl_list): Likewise.
2558 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2559 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2560 multiarch stpncpy for PPC64.
2561 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2562 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2563
25642014-05-06 Andreas Schwab <schwab@suse.de>
2565
2566 [BZ #16912]
2567 * gmon/mcount.c (_MCOUNT_DECL): Use
2568 atomic_compare_and_exchange_bool_acq instead of
2569 catomic_compare_and_exchange_bool_acq.
2570
25712014-05-05 Roland McGrath <roland@hack.frob.com>
2572
2573 * elf/Makefile (others, install-bin): Remove pldd.
2574 (pldd-modules): Variable removed.
2575 ($(objpfx)pldd): Target removed.
2576 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2577 (others, install-bin): Append pldd here.
2578 ($(objpfx)pldd): New target.
2579
2580 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2581 to 0, so the first #if test emitted later doesn't see it undefined.
2582 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2583 * sysdeps/gnu/errlist.c: Regenerated.
2584
25852014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2586
2587 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2588 [libc_hidden_builtin_def]: Define to empty value.
2589 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2590 [libc_hidden_builtin_def]: Likewise.
2591 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2592 [libc_hidden_builtin_def]: Likewise.
2593 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2594 [libc_hidden_builtin_def]: Likewise.
2595 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2596 __redirect_memcpy and define ifunc as default hidden symbol.
2597 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2598 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2599
26002014-05-04 Adam Conrad <adconrad@0c3.net>
2601
2602 * locale/iso-4217.def: Reintroduce XDR currency.
2603
26042014-05-04 Allan McRae <allan@archlinux.org>
2605
2606 * po/eo.po: Update Esperanto translation from translation project.
2607
26082014-05-02 Carlos O'Donell <carlos@redhat.com>
2609
2610 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2611 and FEATURE_INDEX_MAX to 1.
2612 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2613
26142014-05-01 Steve Ellcey <sellcey@mips.com>
2615
2616 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2617 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2618 * iconvdata/big5.c (ONE_DIRECTION): Define.
2619 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2620 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2621 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2622 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2623 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2624 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2625 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2626 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2627 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2628 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2629 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2630 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2631 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2632 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2633 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2634 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2635 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2636 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2637 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2638 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2639 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2640 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2641 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2642 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2643 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2644 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2645 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2646 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2647 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2648 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2649 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2650 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2651 * iconvdata/johab.c (ONE_DIRECTION): Define.
2652 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2653 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2654 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2655 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2656 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2657 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2658 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2659 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2660 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2661 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2662
26632014-05-01 Roland McGrath <roland@hack.frob.com>
2664
2665 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2666 (_IO_JUMPS_OFFSET): Define to 0.
2667
2668 * nptl/sysdeps/pthread/bits/libc-lock.h
2669 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2670 (__libc_lock_define_initialized_recursive): Always define using
2671 initializer. Modern compilers treat uninitialized (implicit zero) and
2672 explicit zero initializers the same (i.e. put the datum in bss).
2673
26742014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2675
2676 * nscd/nscd-client.h: Include <string.h>.
2677
26782014-05-01 David S. Miller <davem@davemloft.net>
2679
2680 [BZ #16885]
2681 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2682 multiple zero bytes exist at the end of a string.
2683 Reported by Aurelien Jarno <aurelien@aurel32.net>
2684
2685 * string/test-strcmp.c (check): Add explicit test for situations where
2686 there are multiple zero bytes after the first.
2687
26882014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2689
2690 [BZ #16890]
2691 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2692 when compiling wprintf.
2693 * stdio-common/tstdiomisc.c (t3): New function.
2694 (main): Call it.
2695
26962014-05-01 Steve Ellcey <sellcey@mips.com>
2697
2698 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2699 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2700 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2701 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2702
27032014-05-01 Steve Ellcey <sellcey@mips.com>
2704
2705 * stdlib/longlong.h: Updated from GCC.
2706
27072014-05-01 Will Newton <will.newton@linaro.org>
2708 Bernard Ogden <bernie.ogden@linaro.org>
2709
2710 * NEWS: Update fixed bug list.
2711
2712 [BZ #15119]
2713 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2714
27152014-04-30 David S. Miller <davem@davemloft.net>
2716
2717 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2718 (libc_feholdexcept_setround_sparc_ctx): New function.
2719 (libc_fesetenv_sparc_ctx): Likewise.
2720 (libc_feupdateenv_sparc_ctx): Likewise.
2721 (libc_feholdsetround_sparc_ctx): Likewise.
2722 (libc_feholdexcept_setround_ctx): Define.
2723 (libc_feholdexcept_setroundf_ctx): Likewise.
2724 (libc_feholdexcept_setroundl_ctx): Likewise.
2725 (libc_fesetenv_ctx): Likewise.
2726 (libc_fesetenvf_ctx): Likewise.
2727 (libc_fesetenvl_ctx): Likewise.
2728 (libc_feupdateenv_ctx): Likewise.
2729 (libc_feupdateenvf_ctx): Likewise.
2730 (libc_feupdateenvl_ctx): Likewise.
2731 (libc_feresetround_ctx): Likewise.
2732 (libc_feresetroundf_ctx): Likewise.
2733 (libc_feresetroundl_ctx): Likewise.
2734 (libc_feholdsetround_ctx): Likewise.
2735 (libc_feholdsetroundf_ctx): Likewise.
2736 (libc_feholdsetroundl_ctx): Likewise.
2737
2738 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2739 with __USE_GNU instead of XOPEN cpp guards.
2740
2741 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2742 0.
2743
2744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2745 with XOPEN cpp guards.
2746
27472014-04-30 Julian Brown <julian@codesourcery.com>
2748
2749 [BZ #16888]
2750 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2751 handling.
2752
27532014-04-30 Joseph Myers <joseph@codesourcery.com>
2754
2755 [BZ #9894]
2756 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2757 Change to 2.6.32.
2758 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2759 * sysdeps/unix/sysv/linux/configure: Regenerated.
2760 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2761 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2762 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2763 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2764 * README: Update reference to required Linux kernel version.
2765 * manual/install.texi (Linux): Update reference to required Linux
2766 kernel headers version.
2767 * INSTALL: Regenerated.
2768
2769 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2770 header inclusion.
2771 [POSIX] (limits.h): Likewise.
2772 [POSIX] (math.h): Likewise.
2773 [POSIX] (sys/wait.h): Likewise.
2774 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2775 function.
2776 [POSIX] (stddef.h): Do not allow header inclusion.
2777
27782014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2779
2780 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2781
27822014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2783
2784 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2785 Return immediately after lll_futex_wake.
2786
27872014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2788
2789 [BZ #16791]
2790 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2791 structure.
2792 (datahead_init_pos): Call datahead_init_common early.
2793 (datahead_init_neg): Likewise.
2794
2795 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2796 datahead_init_neg): New functions.
2797 * nscd/aicache.c (addhstaiX): Use them.
2798 * nscd/grpcache.c (cache_addgr): Likewise.
2799 * nscd/hstcache.c (cache_addhst): Likewise.
2800 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2801 * nscd/netgroupcache.c (do_notfound): Likewise.
2802 (addgetnetgrentX): Likewise.
2803 (addinnetgrX): Likewise.
2804 * nscd/pwdcache.c (cache_addpw): Likewise.
2805 * nscd/servicescache.c (cache_addserv): Likewise.
2806
28072014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2808 Atsushi Onoe <atsushi@onoe.org>
2809
2810 [BZ #14308]
2811 [BZ #12994]
2812 [BZ #13651]
2813 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2814 one response is valid.
2815 * resolv/res_send.c (send_dg): Check for validity of other
2816 response if the current response is a referral.
2817
28182014-04-29 Steve Ellcey <sellcey@mips.com>
2819
2820 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2821
28222014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2823
2824 [BZ #16823]
2825 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2826 Always divide by positive zero when computing -Inf result.
2827 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2828 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2829
28302014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2831
2832 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2833 FPSCR if value do not change.
2834 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2835 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2836 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2837 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2838 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2839 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2840 function.
2841
28422014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2843
2844 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2845 * sysdeps/unix/sysv/linux/hppa: Move directory from
2846 ports/systeps/unix/sysv/linux/hppa.
2847 * README: Update listing for hppa-*-linux-gnu.
2848
28492014-04-28 Ondřej Bílka <neleai@seznam.cz>
2850
2851 [BZ #16754]
2852 * manual/stdio.texi (Hook functions): Fix types of stream hook
2853 functions.
2854 [BZ #16854]
2855 * socket/sys/socket.h: Fix typo in comment.
2856
28572014-04-28 Wilco <wdijkstr@arm.com>
2858
2859 * sysdeps/arm/fenv_private.h: New file.
2860 * sysdeps/arm/math_private.h: New file.
2861 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2862
28632014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2864
2865 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2866 with __int128_t.
2867 (La_x86_64_retval): Likewise.
2868
28692014-04-24 Ian Bolton <ian.bolton@arm.com>
2870
2871 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2872 fpsr if value didn't change.
2873 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2874 to fpcr if value didn't change.
2875 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2876 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2877 fpsr or fpcr if value didn't change.
2878 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2879 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2880 fpcr if value didn't change.
2881 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2882 to fpsr if value didn't change.
2883
28842014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2885
2886 * nptl/tst-sem3.c: Use test-skeleton.c
2887 (main): Rename to do_test. Use return instead of
2888 exit.
2889 * nptl/tst-sem4.c: Use test-skeleton.c
2890 (main): Rename to do_test.
2891
28922014-04-22 David S. Miller <davem@davemloft.net>
2893
2894 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2895 (struct sigaction): New struct member __glibc_reserved0, change
2896 type of sa_flags to int.
2897
28982014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2899
2900 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2901 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2902
29032014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2904
2905 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2906 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2907
29082014-04-22 Will Newton <will.newton@linaro.org>
2909 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2910
2911 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2912 (__longjmp): Add longjmp and longjmp_target SystemTap
2913 probes.
2914 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2915 (__sigsetjmp): Add setjmp SystemTap probe.
2916
29172014-04-17 Carlos O'Donell <carlos@redhat.com>
2918
2919 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2920 match manual order.
2921
29222014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2923
2924 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2925
2926 * sysdeps/powerpc/fpu/fenv_private.h
2927 (libc_feholdexcept_setroundl_ctx): Define to
2928 libc_feholdexcept_setround_ppc_ctx.
2929 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2930 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2931 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2932 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2933
29342014-04-17 Ian Bolton <ian.bolton@arm.com>
2935
2936 * sysdeps/aarch64/math-tests.h: New file.
2937
29382014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2939
2940 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2941 New.
2942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2943 Check and set bit_AVX2_Usable.
2944 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2945 macro.
2946 (bit_AVX2): Likewise.
2947 (index_AVX2_Usable): Likewise.
2948 (CPUID_AVX2): Likewise.
2949 (HAS_AVX2): Likewise.
2950
29512014-04-17 Will Newton <will.newton@linaro.org>
2952
2953 * manual/setjmp.texi (System V contexts): Add note that
2954 calling setcontext on a context created by a call to a
2955 signal handler is undefined. Update text to note that
2956 setcontext from a signal handler is possible but not
2957 recommended.
2958
2959 [BZ #16629]
2960 * stdlib/tst-setcontext.c: Include signal.h.
2961 (main): Check that the signal stack before and
2962 after swapcontext is the same.
2963
2964 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2965 Re-implement to restore registers in user code and avoid
2966 rt_sigreturn system call.
2967
29682014-04-17 Wilco <wdijkstr@arm.com>
2969
2970 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2971 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2972 * math/test-fenv.c: Skip exception trap tests on targets which only
2973 support non-stop mode.
2974
29752014-04-17 Ian Bolton <ian.bolton@arm.com>
2976 Wilco Dijkstra <wilco.dijkstra@arm.com>
2977
2978 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2979 (libc_feholdsetround_aarch64_ctx)
2980 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2981 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2982 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2983 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2984 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2985 (libc_feresetround_noexl_ctx): Define.
2986
29872014-04-16 Richard Henderson <rth@redhat.com>
2988
2989 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2990
2991 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2992 unwind tables.
2993
2994 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2995 const from the non-libc, non-ldso copy.
2996
2997 * sysdeps/alpha/libm-test-ulps: Regenerate.
2998
29992014-04-16 Ian Bolton <ian.bolton@arm.com>
3000 Wilco Dijkstra <wilco.dijkstra@arm.com>
3001
3002 * sysdeps/aarch64/fpu/math_private.h: New file.
3003
30042014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3005
3006 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3007
30082014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3009
3010 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3011 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3012 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3013 Intel MPX bound registers before _dl_profile_fixup.
3014 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3015 registers after _dl_profile_fixup. Save and restore bound
3016 registers bnd0/bnd1 when calling _dl_call_pltexit.
3017 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3018 (LR_BND_OFFSET): Likewise.
3019 (LRV_BND0_OFFSET): Likewise.
3020 (LRV_BND1_OFFSET): Likewise.
3021
30222014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3023
3024 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3025 to...
3026 * sysdeps/mach/hurd/i386/tls.h: ... here.
3027 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3028 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3029 fields.
3030
30312014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3032
3033 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3034
30352014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3036
3037 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3038
30392014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3040
3041 [BZ #14770]
3042 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3043 * sysdeps/s390/configure: Regenerate.
3044
3045 [BZ #16824]
3046 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3047 Set round-to-nearest internally to reduce error accumulation.
3048
30492014-04-16 Alan Modra <amodra@gmail.com>
3050
3051 [BZ #16740]
3052 [BZ #16619]
3053 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3054 * math/libm-test.inc (frexp_test_data): Add tests.
3055 * NEWS: Update fixed bug list.
3056
30572014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3058
3059 * benchtests/Makefile: Depend on libraries in build directory.
3060 (bench-math): Separate out math tests.
3061 (bench-pthread): Separate out pthread tests.
3062 (bench): Include math and pthread tests.
3063
30642014-04-14 Carlos O'Donell <carlos@redhat.com>
3065
3066 [BZ #16831]
3067 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3068 _dl_debug_initialize.
3069
3070 * configure.ac: Remove SELinux header check.
3071 * configure: Regenerate.
3072 * nscd/selinux.c (perms): Array of const char* to permission names.
3073 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3074 default policy. Call string_to_security_class and string_to_av_perm to
3075 translate strings. Enforce default policy and call avs_has_perm with
3076 results of translated strings.
3077
30782014-04-13 David S. Miller <davem@davemloft.net>
3079
3080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3081
30822014-04-12 Allan McRae <allan@archlinux.org>
3083
3084 [BZ #16838]
3085 * manual/string.texi (Collation Functions): Fix qsort argument
3086 order in example.
3087 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3088
30892014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3090
3091 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3092 Make the test a no-op if there are no exceptions defined.
3093
30942014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3095
3096 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3097 enable-hardcoded-path-in-tests
3098
30992014-04-11 Will Newton <will.newton@linaro.org>
3100
3101 * benchtests/Makefile (extra-objs): Add json-lib.o.
3102 (bench-func): Tidy up JSON output.
3103 * benchtests/bench-skeleton.c: Include json-lib.h.
3104 (main): Use JSON library functions to do output of
3105 benchmark results.
3106 * benchtests/bench-timing-type.c (main): Output the
3107 timing type simply, leaving formatting to the user.
3108 * benchtests/json-lib.c: New file.
3109 * benchtests/json-lib.h: Likewise.
3110
31112014-04-11 Torvald Riegel <triegel@redhat.com>
3112
3113 [BZ #15215]
3114 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3115 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3116 memory barriers. Add comments.
3117 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3118 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3119 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3120 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3121 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3122 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3123
31242014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3125
3126 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3127 * sysdeps/s390/s390-64/configure.ac: ... this ...
3128 * sysdeps/s390/configure.ac: ... to here.
3129 * sysdeps/s390/s390-32/configure: Delete file.
3130 * sysdeps/s390/s390-64/configure: Delete file.
3131 * sysdeps/s390/configure: Regenerate.
3132
31332014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3134
3135 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3136
31372014-04-11 Will Newton <will.newton@linaro.org>
3138
3139 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3140 to zero if it is not defined elsewhere. (mtrim): Test
3141 the value of MALLOC_DEBUG with #if rather than #ifdef.
3142
31432014-04-10 Torvald Riegel <triegel@redhat.com>
3144
3145 * benchtests/pthread_once-inputs: New file.
3146 * benchtests/pthread_once-source.c: New file.
3147 * benchtests/README: Update documentation.
3148
31492014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3150 H.J. Lu <hongjiu.lu@intel.com>
3151
3152 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3153 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3154 * sysdeps/x86_64/configure: Regenerated.
3155 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3156 macro.
3157 (REGISTER_SAVE_RAX): Likewise.
3158 (REGISTER_SAVE_RCX): Likewise.
3159 (REGISTER_SAVE_RDX): Likewise.
3160 (REGISTER_SAVE_RSI): Likewise.
3161 (REGISTER_SAVE_RDI): Likewise.
3162 (REGISTER_SAVE_R8): Likewise.
3163 (REGISTER_SAVE_R9): Likewise.
3164 (REGISTER_SAVE_BND0): Likewise.
3165 (REGISTER_SAVE_BND1): Likewise.
3166 (REGISTER_SAVE_BND2): Likewise.
3167 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3168 bound registers when calling _dl_fixup.
3169
31702014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3171
3172 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3173 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3174 of its definition.
3175 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3176 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3177 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3178 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3179 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3180 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3181 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3182
31832014-04-09 Peter Brett <peter@peter-b.co.uk>
3184
3185 [BZ #15514]
3186 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3187 pathconf(_PC_NAME_MAX).
3188
31892014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3190
3191 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3192 Remove macro usage.
3193 (__PTHREAD_SPINS): Move definition to ...
3194 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3195 (__PTHREAD_SPINS): ... here.
3196 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3197 (__PTHREAD_SPIN): Likewise.
3198 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3199 (__PTHREAD_SPIN): Likewise.
3200 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3201 (__PTHREAD_SPIN): Likewise.
3202 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3203 (__PTHREAD_SPIN): Likewise.
3204 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3205 (__PTHREAD_SPIN): Likewise.
3206 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3207 (__PTHREAD_SPIN): Likewise.
3208 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3209 (__PTHREAD_SPIN): Likewise.
3210 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3211 (__PTHREAD_SPIN): Likewise.
3212 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3213 (__PTHREAD_SPIN): Likewise.
3214 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3215 (__PTHREAD_SPIN): Likewise.
3216 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3217 (__PTHREAD_SPIN): Likewise.
3218 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3219 (__PTHREAD_SPIN): Likewise.
3220
3221 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3222 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3223 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3224 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3225 imply folder.
3226 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3227 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3228 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3229 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3230 correct imply path.
3231 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3232 strlen symbol for non multi-arch builds.
3233 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3234 missing hidden_def and weak_alias.
3235
32362014-04-08 Carlos O'Donell <carlos@redhat.com>
3237
3238 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3239
32402014-04-07 Will Newton <will.newton@linaro.org>
3241
3242 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3243 and contents. [!_LIBC] Remove #ifndef and contents.
3244 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3245 * string/memccpy.c (__memccpy): Use ANSI prototype.
3246 * string/memfrob.c (memfrob): Likewise.
3247 * string/strcoll.c (STRCOLL): Likewise.
3248 * string/strlen.c (strlen): Likewise.
3249 * string/strtok.c (STRTOK): Likewise.
3250 * string/strcat.c: Remove unused #include of memcopy.h.
3251 (strcat): Use ANSI prototype.
3252 * string/strchr.c: Remove unused #include of memcopy.h.
3253 (strchr): Use ANSI prototype.
3254 * string/strcmp.c: Remove unused #include of memcopy.h.
3255 (strcmp): Use ANSI prototype.
3256 * string/strcpy.c: Remove unused #include of memcopy.h.
3257 (strcpy): Use ANSI prototype.
3258
32592014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3260
3261 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3262 * config.make.in (config-extra-cppflags): Set it from
3263 libc_extra_cppflags.
3264 * configure.ac (libc_extra_cflags): Make it accumulate over
3265 configure fragments.
3266 (libc_extra_cppflags): New flag.
3267 * configure. Regenerate.
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3269 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3270 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3272
3273 [BZ #16815]
3274 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3275 result for FE_DOWNWARD rounding mode.
3276 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3277 Likewise.
3278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3279
32802014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3281
3282 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3283 in function argument name.
3284
32852014-04-03 David Svoboda <svoboda@cert.org>
3286
3287 [BZ #5666]
3288 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3289 explicitly.
3290
32912014-04-03 Roland McGrath <roland@hack.frob.com>
3292
3293 * elf/dl-unmap-segments.h: New file.
3294 * sysdeps/generic/ldsodefs.h
3295 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3296 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3297 * elf/dl-fptr.c: Likewise.
3298 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3299 * sysdeps/aarch64/tlsdesc.c: Likewise.
3300 * sysdeps/arm/tlsdesc.c: Likewise.
3301 * sysdeps/i386/tlsdesc.c: Likewise.
3302 * sysdeps/tile/dl-runtime.c: Likewise.
3303 * sysdeps/x86_64/tlsdesc.c: Likewise.
3304 * elf/dl-load.h: New file.
3305 * elf/dl-load.c: Include it.
3306 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3307 Macros moved to dl-load.h.
3308 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3309 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3310 Use _dl_unmap_segments in place of __munmap.
3311 Break out segment-mapping loop into ...
3312 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3313
33142014-04-03 Will Newton <will.newton@linaro.org>
3315
3316 * elf/dl-lookup.c (do_lookup_x): Remove comment
3317 referring to nested function and move variable
3318 declarations down to before first use.
3319
33202014-04-02 Joseph Myers <joseph@codesourcery.com>
3321
3322 [BZ #16799]
3323 [BZ #16800]
3324 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3325 with 0 numerator.
3326 * math/s_catanf.c (__catanf): Likewise.
3327 * math/s_catanh.c (__catanh): Likewise.
3328 * math/s_catanhf.c (__catanhf): Likewise.
3329 * math/s_catanhl.c (__catanhl): Likewise.
3330 * math/s_catanl.c (__catanl): Likewise.
3331 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3332 by positive zero when computing -Inf result.
3333 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3334 (catanh_test): Likewise.
3335 * sysdeps/i386/fpu/libm-test-ulps: Update.
3336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3337
3338 [BZ #16789]
3339 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3340 instead of using underflowing value in computing result.
3341 * math/s_clog10.c (__clog10): Likewise.
3342 * math/s_clog10f.c (__clog10f): Likewise.
3343 * math/s_clog10l.c (__clog10l): Likewise.
3344 * math/s_clogf.c (__clogf): Likewise.
3345 * math/s_clogl.c (__clogl): Likewise.
3346 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3347 (clog10_test): Likewise.
3348 * sysdeps/i386/fpu/libm-test-ulps: Update.
3349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3350
33512014-04-02 Alan Modra <amodra@gmail.com>
3352
3353 [BZ #16739]
3354 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3355 output when value is near a power of two. Use int64_t for lx and
3356 remove casts. Use decimal rather than hex exponent constants.
3357 Don't use long double multiplication when double will suffice.
3358 * math/libm-test.inc (nextafter_test_data): Add tests.
3359 * NEWS: Add 16739 and 16786 to bug list.
3360
3361 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3362
3363 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3364
33652014-04-01 Will Newton <will.newton@linaro.org>
3366
3367 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3368 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3369
33702014-04-01 Florian Weimer <fweimer@redhat.com>
3371
3372 [BZ #13347]
3373 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3374 * nptl/tst-setuid2.c: New file.
3375 * nptl/Makefile (xtests): Add tst-setuid2.
3376
33772014-04-01 Alan Modra <amodra@gmail.com>
3378
3379 [BZ #16786]
3380 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3381
33822014-03-31 Joseph Myers <joseph@codesourcery.com>
3383
3384 [BZ #6803]
3385 [BZ #6804]
3386 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3387 set errno as appropriate.
3388 * math/w_scalbf.c (__scalbf): Likewise.
3389 * math/w_scalbl.c (__scalbl): Likewise.
3390 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3391 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3392 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3393 Add more NaN tests.
3394
3395 [BZ #16349]
3396 * math/w_atan2.c: Include <errno.h>.
3397 (__atan2): Set errno for result underflowing to zero.
3398 * math/w_atan2f.c: Include <errno.h>.
3399 (__atan2f): Set errno for result underflowing to zero.
3400 * math/w_atan2l.c: Include <errno.h>.
3401 (__atan2l): Set errno for result underflowing to zero.
3402 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3403 tests.
3404 * math/auto-libm-test-out: Regenerated.
3405
34062014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3407
3408 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3409 Encode instruction correctly in little endian.
3410 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3411 Likewise.
3412 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3413 Likewise.
3414 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3415 Likewise.
3416 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3417 Likewise.
3418
34192014-03-31 Joseph Myers <joseph@codesourcery.com>
3420
3421 [BZ #9894]
3422 * sysdeps/unix/sysv/linux/kernel-features.h
3423 [__sparc__ && !__arch64__ && !__sparc_v9__]
3424 (__ASSUME_SET_ROBUST_LIST): Do not define.
3425 [__sparc__ && !__arch64__ && !__sparc_v9__]
3426 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3427 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3428 Likewise.
3429 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3430 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3431 (__ASSUME_REQUEUE_PI): Likewise.
3432 (__ASSUME_SET_ROBUST_LIST): Likewise.
3433 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3434 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3435 Undefine.
3436 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3437 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3438 Likewise.
3439 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3440 Likewise.
3441 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3442 Likewise.
3443 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3444 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3445 Undefine.
3446 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3447 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3448 Likewise.
3449
3450 [BZ #16648]
3451 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3452 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3453 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3454
34552014-03-31 Will Newton <will.newton@linaro.org>
3456
3457 * benchtests/Makefile (bench): Add ffs and ffsll to list
3458 of tests.
3459 * benchtests/ffs-inputs: New file.
3460 * benchtests/ffsll-inputs: Likewise.
3461
34622014-03-29 Joseph Myers <joseph@codesourcery.com>
3463
3464 [BZ #16770]
3465 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3466 too large before casting to int.
3467 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3468 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3469 * math/libm-test.inc (scalb_test_data): Add more tests.
3470
34712014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3472
3473 * benchtests/Makefile (DETAILED_OPT): New make option.
3474 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3475 set.
3476 * benchtests/bench-skeleton.c: Include stdbool.h.
3477 (main): Store and print timings per input.
3478 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3479 member to each argument value.
3480 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3481 (_print_arg_data): Initialize per-input timing to 0.
3482
3483 * benchtests/Makefile (timing-type): New binary.
3484 (bench-clean): Also remove bench-timing-type.
3485 (bench): New target for timing-type.
3486 (bench-func): Print output in JSON format.
3487 * benchtests/bench-skeleton.c (main): Print output in JSON
3488 format.
3489 * benchtests/bench-timing-type.c: New file.
3490 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3491 (TIMING_PRINT_STATS): Remove.
3492 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3493 name separately.
3494
3495 * benchtests/bench-modf.c: Remove.
3496 * benchtests/modf-inputs: New inputs file.
3497
34982014-03-28 Joseph Myers <joseph@codesourcery.com>
3499
3500 [BZ #16362]
3501 * math/s_clog10.c (M_PI_LOG10E): New macro.
3502 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3503 imaginary parts are 0.
3504 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3505 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3506 imaginary parts are 0.
3507 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3508 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3509 imaginary parts are 0.
3510 * math/libm-test.inc (clog10_test_data): Update expected results
3511 for when real and imaginary parts are 0.
3512
35132014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3514
3515 * elf/dl-load.c: Finish conversion of __builtin_expect into
3516 __glibc_{un}likely.
3517
35182014-03-27 Joseph Myers <joseph@codesourcery.com>
3519
3520 [BZ #16348]
3521 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3522 1+x for argument with exponent below -67.
3523 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3524 Likewise.
3525 * math/auto-libm-test-in: Add more tests of exp.
3526 * math/auto-libm-test-out: Regenerated.
3527
35282014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3529
3530 [BZ #16759]
3531 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3532 (nscd_getnetgrent): Use it.
3533
3534 [BZ #16760]
3535 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3536 of stpcpy.
3537
35382014-03-27 Andi Kleen <ak@linux.intel.com>
3539
3540 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3541 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3542 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3543 (lll_robust_unlock): Remove out of line section. Use cfi
3544 intrinsics.
3545 (LLL_STUB_UNWIND_INFO*): Remove.
3546 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3547 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3548 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3549 (lll_robust_unlock): Remove out of line section. Use cfi
3550 intrinsics.
3551 (LLL_STUB_UNWIND_INFO*): Remove.
3552
35532014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3554
3555 [BZ #16758]
3556 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3557 blank values.
3558
35592014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3560
3561 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3562
35632014-03-26 Joseph Myers <joseph@codesourcery.com>
3564
3565 [BZ #16198]
3566 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3567 fnstenv.
3568 * math/test-fenv-preserve.c: New file.
3569 * math/Makefile (tests): Add test-fenv-preserve.
3570
35712014-03-26 Will Newton <will.newton@linaro.org>
3572
3573 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3574
35752014-03-25 Roland McGrath <roland@hack.frob.com>
3576
3577 * scripts/versionlist.awk: Partition the version sets and emit all
3578 GLIBC_* (sorted) before all others (sorted).
3579
35802014-03-25 Joseph Myers <joseph@codesourcery.com>
3581
3582 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3583 GLIBC_2.2.5 version.
3584
35852014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3586
3587 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3588 calls.
3589
3590 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3591 previous change.
3592
3593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3594
35952014-03-25 Andreas Schwab <schwab@suse.de>
3596
3597 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3598 label to be used after in6ailist is initialized.
3599
36002014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3601
3602 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3603 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3604
36052014-03-25 Joseph Myers <joseph@codesourcery.com>
3606
3607 [BZ #16357]
3608 [BZ #16599]
3609 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3610 min_plus_half.
3611 (fp_formats): Update initializers.
3612 (init_fp_formats): Initialize new field.
3613 (output_for_one_input_case): Allow underflow for results up to
3614 min_plus_half.
3615 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3616 * math/auto-libm-test-in: Don't mark some underflows from asin and
3617 atanh as spurious.
3618 * math/auto-libm-test-out: Regenerated.
3619 * sysdeps/i386/fpu/libm-test-ulps: Update.
3620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3621
36222014-03-25 Andreas Schwab <schwab@suse.de>
3623
3624 * libio/Makefile (tst-ftell-partial-wide-ENV)
3625 (tst-ftell-active-handler-ENV): Define.
3626
36272014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3628
3629 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3630
36312014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3632
3633 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3634
36352014-03-24 Joseph Myers <joseph@codesourcery.com>
3636
3637 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3638 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3639 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3640
36412014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3642
3643 [BZ #16634]
3644 * elf/dl-load.c (open_verify): Add mode parameter.
3645 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3646 (open_path): Change from boolean 'secure' to complete flag 'mode'
3647 (_dl_map_object): Adjust.
3648 * elf/Makefile (tests): Add tst-dlopen-aout.
3649 * elf/tst-dlopen-aout.c: New test.
3650
36512014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3652
3653 [BZ #16714]
3654 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3655 (struct stat): Rename member pad0 to __glibc_reserved0.
3656
3657 [BZ #16712]
3658 * sysdeps/s390/s390-32/bits/wordsize.h
3659 (__WORDSIZE32_SIZE_ULONG): New define.
3660 * sysdeps/s390/s390-64/bits/wordsize.h
3661 (__WORDSIZE32_SIZE_ULONG): Likewise.
3662 * sysdeps/generic/stdint.h (SIZE_MAX):
3663 Define as UL if __WORDSIZE32_SIZE_ULONG.
3664
3665 [BZ #16713]
3666 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3667 (__glibc_reserved0): New variable.
3668 (sa_flags): Change type to int.
3669
3670 * posix/Makefile (before-compile): Use += before-compile instead
3671 of a :=.
3672
3673 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3674 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3675
36762014-03-20 Andreas Schwab <schwab@suse.de>
3677
3678 [BZ #16743]
3679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3680 non-matching result from nscd.
3681
36822014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3683
3684 * scripts/bench.py: Moved to ...
3685 * benchtests/scripts/bench.py: ... here.
3686 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3687
36882014-03-24 Andreas Schwab <schwab@suse.de>
3689
3690 [BZ #16002]
3691 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3692 alloca_account and account alloca use for struct in6ailist.
3693
36942014-03-24 Joseph Myers <joseph@codesourcery.com>
3695
3696 [BZ #16284]
3697 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3698 rounding mode to recompute results that overflow to infinity or
3699 underflow to zero.
3700 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3701 bug 16284.
3702 * math/auto-libm-test-out: Regenerated.
3703 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3704 (ccosh_test): Likewise.
3705 (csin_test_data): Use plus_oflow.
3706 (csin_test): Use ALL_RM_TEST.
3707 (csinh_test_data): Use plus_oflow.
3708 (csinh_test): Use ALL_RM_TEST.
3709 * sysdeps/i386/fpu/libm-test-ulps: Update.
3710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3711
37122014-03-21 Joseph Myers <joseph@codesourcery.com>
3713
3714 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3715 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3716 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3717
3718 [BZ #16731]
3719 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3720 when x - 1 is zero.
3721 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3722 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3723 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3724 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3725 argument is 1.
3726 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3727 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3728 zero.
3729 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3730 * sysdeps/i386/fpu/libm-test-ulps: Update.
3731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3732
37332014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3734
3735 * scripts/bench.pl: Remove file.
3736 * scripts/bench.py: New benchmark script.
3737 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3738 * benchtests/README: Mention python dependency.
3739 * scripts/pylintrc: New file.
3740 * scripts/pylint: New file.
3741
3742 * bits/mathdef.h: Use #ifdef instead of #if.
3743 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3744 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3745 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3746 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3747 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3748 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3749
37502014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3751 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3752
3753 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3755 and strpbrk-ppc64 objects.
3756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3757 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3758 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3759 multiarch strpbrk for POWER7.
3760 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3761 multiarch strpbrk for PPC64.
3762 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3763 ifunc selector.
3764 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3765 strpbrk for POWER7.
3766
37672014-03-20 Joseph Myers <joseph@codesourcery.com>
3768
3769 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3770 (atan_test): Likewise.
3771 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3772 (atanh_test): Use ALL_RM_TEST.
3773 (atan2_test_data): Likewise.
3774 (cabs_test): Likewise.
3775 (cacosh_test): Likewise.
3776 (carg_test): Likewise.
3777 (casin_test): Likewise.
3778 (casinh_test): Likewise.
3779 (cbrt_test): Likewise.
3780 (csqrt_test): Likewise.
3781 (erf_test): Likewise.
3782 (erfc_test): Likewise.
3783 (pow10_test): Likewise.
3784 (exp2_test): Likewise.
3785 (hypot_test): Likewise.
3786 (j0_test): Likewise.
3787 (j1_test): Likewise.
3788 (lgamma_test): Likewise.
3789 (gamma_test): Likewise.
3790 (sincos_test): Likewise.
3791 (tanh_test): Likewise.
3792 (y0_test): Likewise.
3793 (y1_test): Likewise.
3794 * sysdeps/i386/fpu/libm-test-ulps: Update.
3795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3796
37972014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3798
3799 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3801 and strcspn-ppc64 objects.
3802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3803 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3804 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3805 multiarch strcspn for POWER7.
3806 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3807 multiarch strcspn for PPC64.
3808 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3809 ifunc selector.
3810 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3811 strcspn for POWER7.
3812
38132014-03-20 Joseph Myers <joseph@codesourcery.com>
3814
3815 * math/gen-libm-test.pl (generate_testfile): Expect only function
3816 name as argument to AUTO_TESTS_* and pass results for all rounding
3817 modes to parse_args.
3818 (parse_auto_input): Separate inputs of automatic tests from
3819 outputs before storing in %auto_tests.
3820 * math/libm-test.inc (acos_test_data): Update call to
3821 AUTO_TESTS_f_f.
3822 (acos_test): Use ALL_RM_TEST.
3823 (acos_tonearest_test_data): Remove.
3824 (acos_test_tonearest): Likewise.
3825 (acos_towardzero_test_data): Likewise.
3826 (acos_test_towardzero): Likewise.
3827 (acos_downward_test_data): Likewise.
3828 (acos_test_downward): Likewise.
3829 (acos_upward_test_data): Likewise.
3830 (acos_test_upward): Likewise.
3831 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3832 (asin_test_data): Likewise.
3833 (asin_test): Use ALL_RM_TEST.
3834 (asin_tonearest_test_data): Remove.
3835 (asin_test_tonearest): Likewise.
3836 (asin_towardzero_test_data): Likewise.
3837 (asin_test_towardzero): Likewise.
3838 (asin_downward_test_data): Likewise.
3839 (asin_test_downward): Likewise.
3840 (asin_upward_test_data): Likewise.
3841 (asin_test_upward): Likewise.
3842 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3843 (atan_test_data): Likewise.
3844 (atanh_test_data): Likewise.
3845 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3846 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3847 (carg_test_data): Likewise.
3848 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3849 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3850 (ccosh_test_data): Likewise.
3851 (cexp_test_data): Likewise.
3852 (clog_test_data): Likewise.
3853 (clog10_test_data): Likewise.
3854 (cos_test_data): Update call to AUTO_TESTS_f_f.
3855 (cos_test): Use ALL_RM_TEST.
3856 (cos_tonearest_test_data): Remove.
3857 (cos_test_tonearest): Likewise.
3858 (cos_towardzero_test_data): Likewise.
3859 (cos_test_towardzero): Likewise.
3860 (cos_downward_test_data): Likewise.
3861 (cos_test_downward): Likewise.
3862 (cos_upward_test_data): Likewise.
3863 (cos_test_upward): Likewise.
3864 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3865 (cosh_test): Use ALL_RM_TEST.
3866 (cosh_tonearest_test_data): Remove.
3867 (cosh_test_tonearest): Likewise.
3868 (cosh_towardzero_test_data): Likewise.
3869 (cosh_test_towardzero): Likewise.
3870 (cosh_downward_test_data): Likewise.
3871 (cosh_test_downward): Likewise.
3872 (cosh_upward_test_data): Likewise.
3873 (cosh_test_upward): Likewise.
3874 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3875 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3876 (ctan_test_data): Likewise.
3877 (ctan_test): Use ALL_RM_TEST.
3878 (ctan_tonearest_test_data): Remove.
3879 (ctan_test_tonearest): Likewise.
3880 (ctan_towardzero_test_data): Likewise.
3881 (ctan_test_towardzero): Likewise.
3882 (ctan_downward_test_data): Likewise.
3883 (ctan_test_downward): Likewise.
3884 (ctan_upward_test_data): Likewise.
3885 (ctan_test_upward): Likewise.
3886 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3887 (ctanh_test): Use ALL_RM_TEST.
3888 (ctanh_tonearest_test_data): Remove.
3889 (ctanh_test_tonearest): Likewise.
3890 (ctanh_towardzero_test_data): Likewise.
3891 (ctanh_test_towardzero): Likewise.
3892 (ctanh_downward_test_data): Likewise.
3893 (ctanh_test_downward): Likewise.
3894 (ctanh_upward_test_data): Likewise.
3895 (ctanh_test_upward): Likewise.
3896 (erf_test_data): Update call to AUTO_TESTS_f_f.
3897 (erfc_test_data): Likewise.
3898 (exp_test_data): Likewise.
3899 (exp_test): Use ALL_RM_TEST.
3900 (exp_tonearest_test_data): Remove.
3901 (exp_test_tonearest): Likewise.
3902 (exp_towardzero_test_data): Likewise.
3903 (exp_test_towardzero): Likewise.
3904 (exp_downward_test_data): Likewise.
3905 (exp_test_downward): Likewise.
3906 (exp_upward_test_data): Likewise.
3907 (exp_test_upward): Likewise.
3908 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3909 (exp10_test): Use ALL_RM_TEST.
3910 (exp10_tonearest_test_data): Remove.
3911 (exp10_test_tonearest): Likewise.
3912 (exp10_towardzero_test_data): Likewise.
3913 (exp10_test_towardzero): Likewise.
3914 (exp10_downward_test_data): Likewise.
3915 (exp10_test_downward): Likewise.
3916 (exp10_upward_test_data): Likewise.
3917 (exp10_test_upward): Likewise.
3918 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3919 (expm1_test_data): Likewise.
3920 (expm1_test): Use ALL_RM_TEST.
3921 (expm1_tonearest_test_data): Remove.
3922 (expm1_test_tonearest): Likewise.
3923 (expm1_towardzero_test_data): Likewise.
3924 (expm1_test_towardzero): Likewise.
3925 (expm1_downward_test_data): Likewise.
3926 (expm1_test_downward): Likewise.
3927 (expm1_upward_test_data): Likewise.
3928 (expm1_test_upward): Likewise.
3929 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3930 (fma_test): Use ALL_RM_TEST.
3931 (fma_towardzero_test_data): Remove.
3932 (fma_test_towardzero): Likewise.
3933 (fma_downward_test_data): Likewise.
3934 (fma_test_downward): Likewise.
3935 (fma_upward_test_data): Likewise.
3936 (fma_test_upward): Likewise.
3937 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3938 (j0_test_data): Update call to AUTO_TESTS_f_f.
3939 (j1_test_data): Likewise.
3940 (jn_test_data): Update call to AUTO_TESTS_if_f.
3941 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3942 (log_test_data): Update call to AUTO_TESTS_f_f.
3943 (log10_test_data): Likewise.
3944 (log1p_test_data): Likewise.
3945 (log2_test_data): Likewise.
3946 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3947 (pow_tonearest_test_data): Likewise.
3948 (sin_test_data): Update call to AUTO_TESTS_f_f.
3949 (sin_test): Use ALL_RM_TEST.
3950 (sin_tonearest_test_data): Remove.
3951 (sin_test_tonearest): Likewise.
3952 (sin_towardzero_test_data): Likewise.
3953 (sin_test_towardzero): Likewise.
3954 (sin_downward_test_data): Likewise.
3955 (sin_test_downward): Likewise.
3956 (sin_upward_test_data): Likewise.
3957 (sin_test_upward): Likewise.
3958 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3959 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3960 (sinh_test): Use ALL_RM_TEST.
3961 (sinh_tonearest_test_data): Remove.
3962 (sinh_test_tonearest): Likewise.
3963 (sinh_towardzero_test_data): Likewise.
3964 (sinh_test_towardzero): Likewise.
3965 (sinh_downward_test_data): Likewise.
3966 (sinh_test_downward): Likewise.
3967 (sinh_upward_test_data): Likewise.
3968 (sinh_test_upward): Likewise.
3969 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3970 (sqrt_test): Use ALL_RM_TEST.
3971 (sqrt_tonearest_test_data): Remove.
3972 (sqrt_test_tonearest): Likewise.
3973 (sqrt_towardzero_test_data): Likewise.
3974 (sqrt_test_towardzero): Likewise.
3975 (sqrt_downward_test_data): Likewise.
3976 (sqrt_test_downward): Likewise.
3977 (sqrt_upward_test_data): Likewise.
3978 (sqrt_test_upward): Likewise.
3979 (tan_test_data): Update call to AUTO_TESTS_f_f.
3980 (tan_test): Use ALL_RM_TEST.
3981 (tan_tonearest_test_data): Remove.
3982 (tan_test_tonearest): Likewise.
3983 (tan_towardzero_test_data): Likewise.
3984 (tan_test_towardzero): Likewise.
3985 (tan_downward_test_data): Likewise.
3986 (tan_test_downward): Likewise.
3987 (tan_upward_test_data): Likewise.
3988 (tan_test_upward): Likewise.
3989 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3990 (tgamma_test_data): Likewise.
3991 (y0_test_data): Likewise.
3992 (y1_test_data): Likewise.
3993 (yn_test_data): Update call to AUTO_TESTS_if_f.
3994 (main): Do not call removed functions.
3995
39962014-03-19 Joseph Myers <joseph@codesourcery.com>
3997
3998 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3999 (ldexp_test_data): Remove.
4000 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4001 scalbn_test_data.
4002 (scalb_test): Use ALL_RM_TEST.
4003
40042014-03-19 Andreas Schwab <schwab@suse.de>
4005
4006 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4007
40082014-03-19 Joseph Myers <joseph@codesourcery.com>
4009
4010 [BZ #16649]
4011 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4012 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4013 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4014 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4015 (__ASSUME_PREADV): Undefine.
4016 (__ASSUME_PWRITEV): Likewise.
4017
40182014-03-18 Roland McGrath <roland@hack.frob.com>
4019
4020 * bits/mman-linux.h: Add comment about non-Linux use.
4021 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4022 bits/mman-linux.h resting place.
4023
4024 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4025 * bits/mman-linux.h: ... here.
4026
40272014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4028
4029 * conform/conformtest.pl: Add standard definition when calling C
4030 preprocessor on data files.
4031 (checknamespace): Remove unused variable.
4032
40332014-03-18 Joseph Myers <joseph@codesourcery.com>
4034
4035 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4036 minus_oflow, plus_uflow and minus_uflow in expected results.
4037 * math/libm-test.inc (scalbn_test_data): Add more tests of
4038 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4039 minus_uflow.
4040 (scalbn_test): Use ALL_RM_TEST.
4041 (scalbln_test_data): Add more tests of negative arguments. Use
4042 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4043 (scalbln_test): Use ALL_RM_TEST.
4044
40452014-03-18 Roland McGrath <roland@hack.frob.com>
4046
4047 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4048
40492014-03-18 Will Newton <will.newton@linaro.org>
4050
4051 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4052 inaccurate comment.
4053
40542014-03-18 Joseph Myers <joseph@codesourcery.com>
4055
4056 * Makerules [!subdir] (check-abi): Exit with error status if a
4057 test failed.
4058
40592014-03-17 Joseph Myers <joseph@codesourcery.com>
4060
4061 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4062 for rint. Include results for all rounding modes.
4063 (nearbyint_test): Use ALL_RM_TEST.
4064 (rint_test_data): Include all tests used for nearbyint.
4065
40662014-03-17 Will Newton <will.newton@linaro.org>
4067
4068 * nptl/sysdeps/pthread/pthread.h: Revert previous
4069 change.
4070
4071 * sysdeps/generic/ldsodefs.h: Revert previous
4072 change.
4073
4074 * libio/genops.c: Revert previous change.
4075 * libio/libioP.h: Likewise.
4076 * stdio-common/vfprintf.c: Likewise.
4077
4078 * sysdeps/generic/math_private.h: Revert previous
4079 change.
4080
4081 * sysdeps/generic/math_private.h: Check whether
4082 HAVE_RM_CTX is defined with #ifdef rather
4083 than #if.
4084
4085 * argp/argp-fmtstream.h: Check whether
4086 __STRICT_ANSI__ is defined with #ifdef rather
4087 than #if.
4088 * argp/argp.h: Likewise.
4089
4090 * libio/genops.c: Check whether
4091 _IO_JUMPS_OFFSET is defined with #ifdef rather
4092 than #if.
4093 * libio/libioP.h: Likewise.
4094 * stdio-common/vfprintf.c: Likewise.
4095
4096 * sysdeps/generic/ldsodefs.h: Check whether
4097 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4098 than #if.
4099
4100 * nptl/sysdeps/pthread/pthread.h: Check
4101 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4102 its value.
4103
41042014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4105
4106 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4107 setting O_APPEND.
4108 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4109 test case.
4110
4111 [BZ #16680]
4112 * libio/fileops.c (_IO_file_open): Seek to end of file but
4113 don't cache the offset.
4114 (get_file_offset): Remove function.
4115 (do_ftell): Use cached offset when available.
4116 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4117 don't cache the offset.
4118 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4119 case.
4120 (do_one_test): Call it.
4121 (do_ftell_test): Fix up expected old offset for a+ mode.
4122 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4123 available.
4124
4125 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4126 up test status with function return status.
4127 (do_write_test): Likewise.
4128 (do_append_test): Likewise.
4129
4130 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4131 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4132 Remove.
4133
41342014-03-17 Joseph Myers <joseph@codesourcery.com>
4135
4136 * math/gen-libm-test.pl (parse_args): Handle results specified for
4137 each rounding mode separately.
4138 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4139 tests and results from lrint_tonearest_test_data,
4140 lrint_towardzero_test_data, lrint_downward_test_data and
4141 lrint_upward_test_data.
4142 (lrint_test): Use ALL_RM_TEST.
4143 (lrint_tonearest_test_data): Remove.
4144 (lrint_test_tonearest): Likewise.
4145 (lrint_towardzero_test_data): Likewise.
4146 (lrint_test_towardzero): Likewise.
4147 (lrint_downward_test_data): Likewise.
4148 (lrint_test_downward): Likewise.
4149 (lrint_upward_test_data): Likewise.
4150 (lrint_test_upward): Likewise.
4151 (llrint_test_data): Merge in per-rounding-mode tests and results
4152 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4153 llrint_downward_test_data and llrint_upward_test_data.
4154 (llrint_test): Use ALL_RM_TEST.
4155 (llrint_tonearest_test_data): Remove.
4156 (llrint_test_tonearest): Likewise.
4157 (llrint_towardzero_test_data): Likewise.
4158 (llrint_test_towardzero): Likewise.
4159 (llrint_downward_test_data): Likewise.
4160 (llrint_test_downward): Likewise.
4161 (llrint_upward_test_data): Likewise.
4162 (llrint_test_upward): Likewise.
4163 (rint_test_data): Merge in per-rounding-mode tests and results
4164 from rint_tonearest_test_data, rint_towardzero_test_data,
4165 rint_downward_test_data and rint_upward_test_data. Add
4166 per-rounding-mode results for tests not in those arrays.
4167 (rint_test): Use ALL_RM_TEST.
4168 (rint_tonearest_test_data): Remove.
4169 (rint_test_tonearest): Likewise.
4170 (rint_towardzero_test_data): Likewise.
4171 (rint_test_towardzero): Likewise.
4172 (rint_downward_test_data): Likewise.
4173 (rint_test_downward): Likewise.
4174 (rint_upward_test_data): Likewise.
4175 (rint_test_upward): Likewise.
4176 (main): Don't call removed functions.
4177
41782014-03-14 Roland McGrath <roland@hack.frob.com>
4179
4180 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4181 "Compiled on ..." crapola. It is anti-useful.
4182
41832014-03-14 Joseph Myers <joseph@codesourcery.com>
4184
4185 * scripts/evaluate-test.sh: Handle fourth argument to determine
4186 whether test run should stop on failure.
4187 * Makeconfig (stop-on-test-failure): New variable.
4188 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4189 $(stop-on-test-failure).
4190 * Makefile (tests): Give a summary of results from testing and
4191 exit with failure status if they include an ERROR or FAIL.
4192 (xtests): Likewise.
4193 * manual/install.texi (Configuring and compiling): Mention
4194 stop-on-test-failure=y.
4195 * INSTALL: Regenerated.
4196
41972014-03-14 Roland McGrath <roland@hack.frob.com>
4198
4199 * scripts/versionlist.awk: New file.
4200 * Makerules [$(build-shared) = yes]
4201 (postclean-generated): Add Versions.def, not Versions.def.v and
4202 Versions.def.v.i.
4203 ($(common-objpfx)Versions.def.v.i): Target removed.
4204 ($(common-objpfx)Versions.def): New target.
4205 ($(common-objpfx)Versions.all): Depend on that rather that
4206 $(common-objpfx)Versions.def.v.
4207 * Versions.def: File removed.
4208
4209 * Makeconfig (+gccwarn): Add -Wundef.
4210 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4211 a dl-sysdep.h breaking its contract.
4212 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4213 * include/stackinfo.h: New file.
4214 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4215 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4216 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4217 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4218 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4219 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4220 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4221 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4222 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4223 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4224 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4225 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4226 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4227 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4228 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4229
42302014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4231
4232 [BZ #16707]
4233 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4234 implementation.
4235 * math/libm-test.inc (round_test_data): Add more tests.
4236
4237 [BZ #16706]
4238 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4239 implementation.
4240 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4241
4242 [BZ #16701]
4243 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4244 implementation.
4245 * math/libm-test.inc (ceil_test_data): Add more tests.
4246
4247 * math/libm-test.inc (trunc_test_data): Add more tests related to
4248 BZ#16414.
4249
42502014-03-14 Roland McGrath <roland@hack.frob.com>
4251
4252 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4253 with #if rather than #ifdef.
4254 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4255
42562014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4257
4258 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4259 first. Disable AVX-512 GCC support if assembler doesn't support
4260 it.
4261 * sysdeps/x86_64/configure: Regenerated.
4262
42632014-03-13 Carlos O'Donell <carlos@redhat.com>
4264
4265 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4266 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4267 (__old_pthread_attr_setstack): Likewise.
4268 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4269 [!_STACK_GROWS_DOWN]: Likewise.
4270
42712014-03-13 Mike Frysinger <vapier@gentoo.org>
4272
4273 * config.make.in (have-bash2): Delete.
4274 * configure.ac (libc_cv_have_bash2): Delete.
4275 * configure: Regenerate.
4276 * elf/Makefile (common-ldd-rewrite): Rename to ...
4277 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4278 (sh-ldd-rewrite): Delete.
4279 (bash-ldd-rewrite): Delete.
4280 (have-bash2): Delete checks.
4281 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4282 ldd-rewrite.
4283
4284 * config.make.in (have-ksh): Delete.
4285 (KSH): Delete.
4286 * configure.ac (libc_cv_have_ksh): Delete.
4287 * configure: Regenerate.
4288
4289 * elf/Makefile: Delete $(have-ksh) check.
4290 ($(objpfx)sotruss): Change KSH to BASH.
4291 * elf/sotruss.ksh: Rename to ...
4292 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4293 function style to match POSIX. Drop ksh vim mode setting.
4294
4295 * manual/time.texi (Specifying the Time Zone with TZ): Change
4296 Tuesday to Thursday.
4297
4298 * debug/tst-longjmp_chk2.c: Update header comment.
4299 (stackoverflow_handler): Add comment. Call assert on pass value.
4300
43012014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4302
4303 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4304 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4305 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4306 (La_x86_64_vector): Add zmm.
4307 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4308 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4309 ($(objpfx)tst-audit10): New target.
4310 ($(objpfx)tst-audit10.out): Likewise.
4311 (tst-audit10-ENV): New.
4312 (AVX512-CFLAGS): Likewise.
4313 (CFLAGS-tst-audit10.c): Likewise.
4314 (CFLAGS-tst-auditmod10a.c): Likewise.
4315 (CFLAGS-tst-auditmod10b.c): Likewise.
4316 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4317 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4318 * sysdeps/x86_64/configure: Regenerated.
4319 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4320 AVX-512 zmm register support.
4321 (_dl_x86_64_save_sse): Likewise.
4322 (_dl_x86_64_restore_sse): Likewise.
4323 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4324 size vector registers.
4325 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4326 (ZMM_SIZE): Likewise.
4327 * sysdeps/x86_64/tst-audit10.c: New file.
4328 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4329 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4330
43312014-03-13 Roland McGrath <roland@hack.frob.com>
4332
4333 * configure.ac (HAVE_EHDR_START): New check.
4334 * configure: Regenerated.
4335 * config.h.in (HAVE_EHDR_START): New #undef.
4336 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4337 assuming the lowest-addressed segment maps the start of the file.
4338
43392014-03-13 Joseph Myers <joseph@codesourcery.com>
4340
4341 * INSTALL: Regenerated.
4342
43432014-03-13 Will Newton <will.newton@linaro.org>
4344
4345 * manual/setjmp.texi (System V contexts): Improve
4346 clarity and grammar of documentation.
4347
43482014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4349
4350 [BZ #16381]
4351 * elf/Makefile (tests): Add tst-pie2.
4352 (tests-pie): Add tst-pie2.
4353 * elf/tst-pie2.c: New file.
4354 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4355 for ET_EXEC.
4356 * elf/rtld.c (map_doit): Load executable as lt_executable.
4357 (dl_main): Likewise.
4358
43592014-03-12 Joseph Myers <joseph@codesourcery.com>
4360
4361 [BZ #16642]
4362 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4363 (__ASSUME_PSELECT): Undefine.
4364
43652014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4366
4367 [BZ #16689]
4368 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4369 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4370 static build.
4371 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4372 selector for static builds.
4373
43742014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4375
4376 [BZ #16695]
4377 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4378 key in the buffer.
4379
43802014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4381
4382 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4383 IFUNC selector for static builds.
4384
43852014-03-11 Joseph Myers <joseph@codesourcery.com>
4386
4387 * sysdeps/mips/math_private.h [__mips_hard_float]
4388 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4389 libc_feresetround_mips_ctx.
4390 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4391 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4392 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4393
4394 [BZ #16677]
4395 * math/s_nextafter.c (__nextafter): Do not return value from
4396 overflowing computation.
4397 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4398 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4399 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4400 Likewise.
4401 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4402 Likewise.
4403 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4404 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4405
44062014-03-11 Roland McGrath <roland@hack.frob.com>
4407
4408 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4409 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4410 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4411 the new mov targetting sp.
4412
44132014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4414
4415 [BZ #16683]
4416 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4417 Define it for static builds as well.
4418 (NO_BZERO_IMPL): Likewise.
4419
44202014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4421
4422 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4423 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4424 multiarch strspn for PPC64.
4425 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4426 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4428 (__libc_ifunc_impl_list): Likewise.
4429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4430 multiarch optimizations
4431 * string/strspn.c (strspn): Using macro to redefine symbol name.
4432
44332014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4434 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4435
4436 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4437 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4438 multiarch strncat for PPC64.
4439 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4440 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4441 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4442 (__libc_ifunc_impl_list): Likewise.
4443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4444 multiarch optimizations
4445
44462014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4447
4448 [BZ #16639]
4449 * nscd/nscd.service: Make service type forking.
4450
44512014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4452
4453 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4454 sign in non default rounding modes.
4455 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4456
44572014-03-08 Joseph Myers <joseph@codesourcery.com>
4458
4459 * math/libm-test.inc (ALL_RM_TEST): New macro.
4460 (ceil_test): Use ALL_RM_TEST.
4461 (cimag_test): Likewise.
4462 (conj_test): Likewise.
4463 (copysign_test): Likewise.
4464 (cproj_test): Likewise.
4465 (creal_test): Likewise.
4466 (fabs_test): Likewise.
4467 (floor_test): Likewise.
4468 (fmax_test): Likewise.
4469 (fmin_test): Likewise.
4470 (fmod_test): Likewise.
4471 (fpclassify_test): Likewise.
4472 (frexp_test): Likewise.
4473 (ilogb_test): Likewise.
4474 (isfinite_test): Likewise.
4475 (finite_test): Likewise.
4476 (isgreater_test): Likewise.
4477 (isgreaterequal_test): Likewise.
4478 (isinf_test): Likewise.
4479 (isless_test): Likewise.
4480 (islessequal_test): Likewise.
4481 (islessgreater_test): Likewise.
4482 (isnan_test): Likewise.
4483 (isnormal_test): Likewise.
4484 (issignaling_test): Likewise.
4485 (isunordered_test): Likewise.
4486 (logb_test): Likewise.
4487 (logb_downward_test_data): Remove.
4488 (logb_test_downward): Likewise.
4489 (lround_test): Use ALL_RM_TEST.
4490 (llround_test): Likewise.
4491 (modf_test): Likewise.
4492 (nexttoward_test): Likewise.
4493 (remainder_test): Likewise.
4494 (drem_test): Likewise.
4495 (remainder_tonearest_test_data): Likewise.
4496 (remainder_test_tonearest): Likewise.
4497 (drem_test_tonearest): Likewise.
4498 (remainder_towardzero_test_data): Likewise.
4499 (remainder_test_towardzero): Likewise.
4500 (drem_test_towardzero): Likewise.
4501 (remainder_downward_test_data): Likewise.
4502 (remainder_test_downward): Likewise.
4503 (drem_test_downward): Likewise.
4504 (remainder_upward_test_data): Likewise.
4505 (remainder_test_upward): Likewise.
4506 (drem_test_upward): Likewise.
4507 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4508 (round_test): Use ALL_RM_TEST.
4509 (signbit_test): Likewise.
4510 (trunc_test): Likewise.
4511 (significand_test): Likewise.
4512 (main): Don't call removed functions.
4513
45142014-03-07 Joseph Myers <joseph@codesourcery.com>
4515
4516 [BZ #16674]
4517 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4518 || __USE_XOPEN2K8].
4519 (ILL_ILLOPN): Likewise.
4520 (ILL_ILLADR): Likewise.
4521 (ILL_ILLTRP): Likewise.
4522 (ILL_PRVOPC): Likewise.
4523 (ILL_PRVREG): Likewise.
4524 (ILL_COPROC): Likewise.
4525 (ILL_BADSTK): Likewise.
4526 (FPE_INTDIV): Likewise.
4527 (FPE_INTOVF): Likewise.
4528 (FPE_FLTDIV): Likewise.
4529 (FPE_FLTOVF): Likewise.
4530 (FPE_FLTUND): Likewise.
4531 (FPE_FLTRES): Likewise.
4532 (FPE_FLTINV): Likewise.
4533 (FPE_FLTSUB): Likewise.
4534 (SEGV_MAPERR): Likewise.
4535 (SEGV_ACCERR): Likewise.
4536 (BUS_ADRALN): Likewise.
4537 (BUS_ADRERR): Likewise.
4538 (BUS_OBJERR): Likewise.
4539 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4540 (TRAP_TRACE): Likewise.
4541 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4542 __USE_XOPEN2K8].
4543 (CLD_KILLED): Likewise.
4544 (CLD_DUMPED): Likewise.
4545 (CLD_TRAPPED): Likewise.
4546 (CLD_STOPPED): Likewise.
4547 (CLD_CONTINUED): Likewise.
4548 (POLL_IN): Likewise.
4549 (POLL_OUT): Likewise.
4550 (POLL_MSG): Likewise.
4551 (POLL_ERR): Likewise.
4552 (POLL_PRI): Likewise.
4553 (POLL_HUP): Likewise.
4554 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4555 Likewise.
4556 (ILL_ILLOPN): Likewise.
4557 (ILL_ILLADR): Likewise.
4558 (ILL_ILLTRP): Likewise.
4559 (ILL_PRVOPC): Likewise.
4560 (ILL_PRVREG): Likewise.
4561 (ILL_COPROC): Likewise.
4562 (ILL_BADSTK): Likewise.
4563 (FPE_INTDIV): Likewise.
4564 (FPE_INTOVF): Likewise.
4565 (FPE_FLTDIV): Likewise.
4566 (FPE_FLTOVF): Likewise.
4567 (FPE_FLTUND): Likewise.
4568 (FPE_FLTRES): Likewise.
4569 (FPE_FLTINV): Likewise.
4570 (FPE_FLTSUB): Likewise.
4571 (SEGV_MAPERR): Likewise.
4572 (SEGV_ACCERR): Likewise.
4573 (BUS_ADRALN): Likewise.
4574 (BUS_ADRERR): Likewise.
4575 (BUS_OBJERR): Likewise.
4576 (BUS_MCEERR_AR): Likewise.
4577 (BUS_MCEERR_AO): Likewise.
4578 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4579 (TRAP_TRACE): Likewise.
4580 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4581 __USE_XOPEN2K8].
4582 (CLD_KILLED): Likewise.
4583 (CLD_DUMPED): Likewise.
4584 (CLD_TRAPPED): Likewise.
4585 (CLD_STOPPED): Likewise.
4586 (CLD_CONTINUED): Likewise.
4587 (POLL_IN): Likewise.
4588 (POLL_OUT): Likewise.
4589 (POLL_MSG): Likewise.
4590 (POLL_ERR): Likewise.
4591 (POLL_PRI): Likewise.
4592 (POLL_HUP): Likewise.
4593 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4594 (ILL_ILLOPN): Likewise.
4595 (ILL_ILLADR): Likewise.
4596 (ILL_ILLTRP): Likewise.
4597 (ILL_PRVOPC): Likewise.
4598 (ILL_PRVREG): Likewise.
4599 (ILL_COPROC): Likewise.
4600 (ILL_BADSTK): Likewise.
4601 (FPE_INTDIV): Likewise.
4602 (FPE_INTOVF): Likewise.
4603 (FPE_FLTDIV): Likewise.
4604 (FPE_FLTOVF): Likewise.
4605 (FPE_FLTUND): Likewise.
4606 (FPE_FLTRES): Likewise.
4607 (FPE_FLTINV): Likewise.
4608 (FPE_FLTSUB): Likewise.
4609 (SEGV_MAPERR): Likewise.
4610 (SEGV_ACCERR): Likewise.
4611 (BUS_ADRALN): Likewise.
4612 (BUS_ADRERR): Likewise.
4613 (BUS_OBJERR): Likewise.
4614 (BUS_MCEERR_AR): Likewise.
4615 (BUS_MCEERR_AO): Likewise.
4616 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4617 (TRAP_TRACE): Likewise.
4618 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4619 __USE_XOPEN2K8].
4620 (CLD_KILLED): Likewise.
4621 (CLD_DUMPED): Likewise.
4622 (CLD_TRAPPED): Likewise.
4623 (CLD_STOPPED): Likewise.
4624 (CLD_CONTINUED): Likewise.
4625 (POLL_IN): Likewise.
4626 (POLL_OUT): Likewise.
4627 (POLL_MSG): Likewise.
4628 (POLL_ERR): Likewise.
4629 (POLL_PRI): Likewise.
4630 (POLL_HUP): Likewise.
4631 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4632 Likewise.
4633 (ILL_ILLOPN): Likewise.
4634 (ILL_ILLADR): Likewise.
4635 (ILL_ILLTRP): Likewise.
4636 (ILL_PRVOPC): Likewise.
4637 (ILL_PRVREG): Likewise.
4638 (ILL_COPROC): Likewise.
4639 (ILL_BADSTK): Likewise.
4640 (ILL_BADIADDR): Likewise.
4641 (ILL_BREAK): Likewise.
4642 (FPE_INTDIV): Likewise.
4643 (FPE_INTOVF): Likewise.
4644 (FPE_FLTDIV): Likewise.
4645 (FPE_FLTOVF): Likewise.
4646 (FPE_FLTUND): Likewise.
4647 (FPE_FLTRES): Likewise.
4648 (FPE_FLTINV): Likewise.
4649 (FPE_FLTSUB): Likewise.
4650 (FPE_DECOVF): Likewise.
4651 (FPE_DECDIV): Likewise.
4652 (FPE_DECERR): Likewise.
4653 (FPE_INVASC): Likewise.
4654 (FPE_INVDEC): Likewise.
4655 (SEGV_MAPERR): Likewise.
4656 (SEGV_ACCERR): Likewise.
4657 (SEGV_PSTKOVF): Likewise.
4658 (BUS_ADRALN): Likewise.
4659 (BUS_ADRERR): Likewise.
4660 (BUS_OBJERR): Likewise.
4661 (BUS_MCEERR_AR): Likewise.
4662 (BUS_MCEERR_AO): Likewise.
4663 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4664 (TRAP_TRACE): Likewise.
4665 (TRAP_BRANCH): Likewise.
4666 (TRAP_HWBKPT): Likewise.
4667 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4668 __USE_XOPEN2K8].
4669 (CLD_KILLED): Likewise.
4670 (CLD_DUMPED): Likewise.
4671 (CLD_TRAPPED): Likewise.
4672 (CLD_STOPPED): Likewise.
4673 (CLD_CONTINUED): Likewise.
4674 (POLL_IN): Likewise.
4675 (POLL_OUT): Likewise.
4676 (POLL_MSG): Likewise.
4677 (POLL_ERR): Likewise.
4678 (POLL_PRI): Likewise.
4679 (POLL_HUP): Likewise.
4680 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4681 (ILL_ILLOPN): Likewise.
4682 (ILL_ILLADR): Likewise.
4683 (ILL_ILLTRP): Likewise.
4684 (ILL_PRVOPC): Likewise.
4685 (ILL_PRVREG): Likewise.
4686 (ILL_COPROC): Likewise.
4687 (ILL_BADSTK): Likewise.
4688 (FPE_INTDIV): Likewise.
4689 (FPE_INTOVF): Likewise.
4690 (FPE_FLTDIV): Likewise.
4691 (FPE_FLTOVF): Likewise.
4692 (FPE_FLTUND): Likewise.
4693 (FPE_FLTRES): Likewise.
4694 (FPE_FLTINV): Likewise.
4695 (FPE_FLTSUB): Likewise.
4696 (SEGV_MAPERR): Likewise.
4697 (SEGV_ACCERR): 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 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4706 __USE_XOPEN2K8].
4707 (CLD_KILLED): Likewise.
4708 (CLD_DUMPED): Likewise.
4709 (CLD_TRAPPED): Likewise.
4710 (CLD_STOPPED): Likewise.
4711 (CLD_CONTINUED): Likewise.
4712 (POLL_IN): Likewise.
4713 (POLL_OUT): Likewise.
4714 (POLL_MSG): Likewise.
4715 (POLL_ERR): Likewise.
4716 (POLL_PRI): Likewise.
4717 (POLL_HUP): Likewise.
4718 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4719 (ILL_ILLOPN): Likewise.
4720 (ILL_ILLADR): Likewise.
4721 (ILL_ILLTRP): Likewise.
4722 (ILL_PRVOPC): Likewise.
4723 (ILL_PRVREG): Likewise.
4724 (ILL_COPROC): Likewise.
4725 (ILL_BADSTK): Likewise.
4726 (FPE_INTDIV): Likewise.
4727 (FPE_INTOVF): Likewise.
4728 (FPE_FLTDIV): Likewise.
4729 (FPE_FLTOVF): Likewise.
4730 (FPE_FLTUND): Likewise.
4731 (FPE_FLTRES): Likewise.
4732 (FPE_FLTINV): Likewise.
4733 (FPE_FLTSUB): Likewise.
4734 (SEGV_MAPERR): Likewise.
4735 (SEGV_ACCERR): Likewise.
4736 (BUS_ADRALN): Likewise.
4737 (BUS_ADRERR): Likewise.
4738 (BUS_OBJERR): Likewise.
4739 (BUS_MCEERR_AR): Likewise.
4740 (BUS_MCEERR_AO): Likewise.
4741 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4742 (TRAP_TRACE): Likewise.
4743 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4744 __USE_XOPEN2K8].
4745 (CLD_KILLED): Likewise.
4746 (CLD_DUMPED): Likewise.
4747 (CLD_TRAPPED): Likewise.
4748 (CLD_STOPPED): Likewise.
4749 (CLD_CONTINUED): Likewise.
4750 (POLL_IN): Likewise.
4751 (POLL_OUT): Likewise.
4752 (POLL_MSG): Likewise.
4753 (POLL_ERR): Likewise.
4754 (POLL_PRI): Likewise.
4755 (POLL_HUP): Likewise.
4756 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4757 (ILL_ILLOPN): Likewise.
4758 (ILL_ILLADR): Likewise.
4759 (ILL_ILLTRP): Likewise.
4760 (ILL_PRVOPC): Likewise.
4761 (ILL_PRVREG): Likewise.
4762 (ILL_COPROC): Likewise.
4763 (ILL_BADSTK): Likewise.
4764 (FPE_INTDIV): Likewise.
4765 (FPE_INTOVF): Likewise.
4766 (FPE_FLTDIV): Likewise.
4767 (FPE_FLTOVF): Likewise.
4768 (FPE_FLTUND): Likewise.
4769 (FPE_FLTRES): Likewise.
4770 (FPE_FLTINV): Likewise.
4771 (FPE_FLTSUB): Likewise.
4772 (SEGV_MAPERR): Likewise.
4773 (SEGV_ACCERR): Likewise.
4774 (BUS_ADRALN): Likewise.
4775 (BUS_ADRERR): Likewise.
4776 (BUS_OBJERR): Likewise.
4777 (BUS_MCEERR_AR): Likewise.
4778 (BUS_MCEERR_AO): Likewise.
4779 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4780 (TRAP_TRACE): Likewise.
4781 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4782 __USE_XOPEN2K8].
4783 (CLD_KILLED): Likewise.
4784 (CLD_DUMPED): Likewise.
4785 (CLD_TRAPPED): Likewise.
4786 (CLD_STOPPED): Likewise.
4787 (CLD_CONTINUED): Likewise.
4788 (POLL_IN): Likewise.
4789 (POLL_OUT): Likewise.
4790 (POLL_MSG): Likewise.
4791 (POLL_ERR): Likewise.
4792 (POLL_PRI): Likewise.
4793 (POLL_HUP): Likewise.
4794 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4795 (ILL_ILLOPN): Likewise.
4796 (ILL_ILLADR): Likewise.
4797 (ILL_ILLTRP): Likewise.
4798 (ILL_PRVOPC): Likewise.
4799 (ILL_PRVREG): Likewise.
4800 (ILL_COPROC): Likewise.
4801 (ILL_BADSTK): Likewise.
4802 (ILL_DBLFLT): Likewise.
4803 (ILL_HARDWALL): 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 ||
4822 __USE_XOPEN2K8].
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/x86/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 (FPE_INTDIV): Likewise.
4843 (FPE_INTOVF): Likewise.
4844 (FPE_FLTDIV): Likewise.
4845 (FPE_FLTOVF): Likewise.
4846 (FPE_FLTUND): Likewise.
4847 (FPE_FLTRES): Likewise.
4848 (FPE_FLTINV): Likewise.
4849 (FPE_FLTSUB): Likewise.
4850 (SEGV_MAPERR): Likewise.
4851 (SEGV_ACCERR): Likewise.
4852 (BUS_ADRALN): Likewise.
4853 (BUS_ADRERR): Likewise.
4854 (BUS_OBJERR): Likewise.
4855 (BUS_MCEERR_AR): Likewise.
4856 (BUS_MCEERR_AO): Likewise.
4857 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4858 (TRAP_TRACE): Likewise.
4859 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4860 __USE_XOPEN2K8].
4861 (CLD_KILLED): Likewise.
4862 (CLD_DUMPED): Likewise.
4863 (CLD_TRAPPED): Likewise.
4864 (CLD_STOPPED): Likewise.
4865 (CLD_CONTINUED): Likewise.
4866 (POLL_IN): Likewise.
4867 (POLL_OUT): Likewise.
4868 (POLL_MSG): Likewise.
4869 (POLL_ERR): Likewise.
4870 (POLL_PRI): Likewise.
4871 (POLL_HUP): Likewise.
4872 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4873 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4874
4875 [BZ #16670]
4876 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4877 before #include of <time.h>.
4878 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4879 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4880 (test-xfail-UNIX98/sched.h/conform): Likewise.
4881
48822014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4883
4884 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4885 error absence of trapping exception support.
4886 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4887
48882014-03-07 Joseph Myers <joseph@codesourcery.com>
4889
4890 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4891 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4892 * timezone/Makefile (testdata): Move definition above include of
4893 Rules.
4894 (test-zones): New variable.
4895 (tests-special): Add zone files.
4896 (build-testdata): Use $(evaluate-test).
4897
4898 * elf/Makefile (tests-special): Rename tests to end with .out.
4899 ($(objpfx)noload-mem): Likewise.
4900 ($(objpfx)tst-leaks1-mem): Likewise.
4901 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4902 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4903 $(objpfx)test-iconvconfig.out.
4904 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4905 set -e inside subshell and redirect output to file.
4906 * iconvdata/Makefile (generated): Rename tests to end with .out.
4907 Correct type.
4908 (tests-special): Rename tests to end with .out.
4909 ($(objpfx)mtrace-tst-loading): Likewise.
4910 * intl/Makefile (generated): Likewise.
4911 (tests-special): Likewise.
4912 ($(objpfx)mtrace-tst-gettext): Likewise.
4913 * misc/Makefile (generated): Likewise.
4914 (tests-special): Likewise.
4915 ($(objpfx)tst-error1-mem): Likewise.
4916 * nptl/Makefile (tests-special): Likewise.
4917 ($(objpfx)tst-stack3-mem): Likewise.
4918 (generated): Likewise.
4919 * posix/Makefile (generated): Likewise.
4920 (tests-special): Likewise.
4921 (xtests-special): Likewise.
4922 ($(objpfx)tst-fnmatch-mem): Likewise.
4923 ($(objpfx)bug-regex2-mem): Likewise.
4924 ($(objpfx)bug-regex14-mem): Likewise.
4925 ($(objpfx)bug-regex21-mem): Likewise.
4926 ($(objpfx)bug-regex31-mem): Likewise.
4927 ($(objpfx)tst-vfork3-mem): Likewise.
4928 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4929 ($(objpfx)tst-pcre-mem): Likewise.
4930 ($(objpfx)tst-boost-mem): Likewise.
4931 ($(objpfx)bug-ga2-mem): Likewise.
4932 ($(objpfx)bug-glob2-mem): Likewise.
4933 * resolv/Makefile (generate): Likewise.
4934 (tests-special): Likewise.
4935 (xtests-special): Likewise.
4936 (generated): Likewise.
4937 ($(objpfx)mtrace-tst-leaks): Likewise.
4938 ($(objpfx)mtrace-tst-leaks2): Likewise.
4939
4940 * scripts/merge-test-results.sh: New file.
4941 * Makefile (tests-special-notdir): New variable.
4942 (tests): Run merge-test-results.sh.
4943 (xtests): Likewise.
4944 * Rules (tests-special-notdir): New variable.
4945 (xtests-special-notdir): Likewise.
4946 (tests): Run merge-test-results.sh
4947 (xtests): Likewise.
4948
4949 * Makeconfig (test-xfail-name): New variable.
4950 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4951 compute variable name for expected failures.
4952 * conform/Makefile (conformtest-headers-data): New variable.
4953 (conformtest-standards): Likewise.
4954 (conformtest-headers-ISO): Likewise.
4955 (conformtest-headers-ISO99): Likewise.
4956 (conformtest-headers-ISO11): Likewise.
4957 (conformtest-headers-POSIX): Likewise.
4958 (conformtest-headers-XPG3): Likewise.
4959 (conformtest-headers-XPG4): Likewise.
4960 (conformtest-headers-UNIX98): Likewise.
4961 (conformtest-headers-XOPEN2K): Likewise.
4962 (conformtest-headers-POSIX2008): Likewise.
4963 (conformtest-headers-XOPEN2K8): Likewise.
4964 (conformtest-header-list-base): Likewise.
4965 (conformtest-header-list-tests): Likewise.
4966 (conformtest-header-base): Likewise.
4967 (conformtest-header-tests): Likewise.
4968 (tests-special): Add $(conformtest-header-list-tests). If
4969 [$(fast-check) && !$(cross-compiling)], add
4970 $(conformtest-header-tests) instead of
4971 $(objpfx)run-conformtest.out.
4972 (generated): Add $(conformtest-header-list-base). If
4973 [$(fast-check) && !$(cross-compiling)], add
4974 $(conformtest-header-base). Remove previous setting.
4975 ($(conformtest-header-list-tests)): New target.
4976 (test-xfail-run-conformtest): Remove variable.
4977 ($(objpfx)run-conformtest.out): Remove target.
4978 (test-xfail-ISO11/complex.h/conform): New variable.
4979 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4980 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4981 (test-xfail-XPG3/varargs.h/conform): Likewise.
4982 (test-xfail-XPG4/varargs.h/conform): Likewise.
4983 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4984 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4985 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4986 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4987 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4988 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4989 (test-xfail-XPG3/ftw.h/conform): Likewise.
4990 (test-xfail-XPG3/grp.h/conform): Likewise.
4991 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4992 (test-xfail-XPG3/limits.h/conform): Likewise.
4993 (test-xfail-XPG3/pwd.h/conform): Likewise.
4994 (test-xfail-XPG3/search.h/conform): Likewise.
4995 (test-xfail-XPG3/signal.h/conform): Likewise.
4996 (test-xfail-XPG3/stdio.h/conform): Likewise.
4997 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4998 (test-xfail-XPG3/string.h/conform): Likewise.
4999 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5000 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5001 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5002 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5003 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5004 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5005 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5006 (test-xfail-XPG3/termios.h/conform): Likewise.
5007 (test-xfail-XPG3/time.h/conform): Likewise.
5008 (test-xfail-XPG3/unistd.h/conform): Likewise.
5009 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5010 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5011 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5012 (test-xfail-XPG4/netdb.h/conform): Likewise.
5013 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5014 (test-xfail-XPG4/signal.h/conform): Likewise.
5015 (test-xfail-XPG4/stdio.h/conform): Likewise.
5016 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5017 (test-xfail-XPG4/stropts.h/conform): Likewise.
5018 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5019 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5020 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5021 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5022 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5023 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5024 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5025 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5026 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5027 (test-xfail-XPG4/termios.h/conform): Likewise.
5028 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5029 (test-xfail-XPG4/unistd.h/conform): Likewise.
5030 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5031 (test-xfail-POSIX/sched.h/conform): Likewise.
5032 (test-xfail-POSIX/signal.h/conform): Likewise.
5033 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5034 (test-xfail-POSIX/tar.h/conform): Likewise.
5035 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5036 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5037 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5038 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5039 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5040 (test-xfail-UNIX98/sched.h/conform): Likewise.
5041 (test-xfail-UNIX98/signal.h/conform): Likewise.
5042 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5043 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5044 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5045 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5046 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5047 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5048 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5049 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5050 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5051 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5052 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5053 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5054 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5055 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5056 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5057 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5058 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5059 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5060 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5061 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5062 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5063 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5064 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5065 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5066 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5067 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5068 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5069 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5070 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5071 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5072 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5073 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5074 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5075 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5076 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5077 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5078 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5079 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5080 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5081 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5082 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5083 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5084 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5085 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5086 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5087 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5088 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5089 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5090 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5091 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5092 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5093 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5094 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5095 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5096 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5097 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5098 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5099 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5100 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5101 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5102 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5103 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5104 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5105 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5106 (conformtest-cc-flags): Likewise.
5107 ($(conformtest-header-tests): New target.
5108 * conform/check-header-lists.sh: New file.
5109 * conform/run-conformtest.sh: Remove.
5110
5111 * conform/conformtest.pl: Allow ' and \ in values given for
5112 constants.
5113 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5114 inclusion.
5115 [POSIX] (sys/types.h): Likewise.
5116 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5117 inclusion.
5118 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5119 inclusion.
5120 * conform/data/signal.h-data (SIGIO): Remove expectation.
5121 [XPG3] (SIGBUS): Do not expect.
5122 [POSIX || XPG3] (SIGPOLL): Likewise.
5123 [POSIX || XPG3] (SIGPROF): Likewise.
5124 [POSIX || XPG3] (SIGSYS): Likewise.
5125 [XPG3] (SIGTRAP): Likewise.
5126 [POSIX || XPG3] (SIGURG): Likewise.
5127 [POSIX || XPG3] (SIGVTALRM): Likewise.
5128 [POSIX || XPG3] (SIGXCPU): Likewise.
5129 [POSIX || XPG3] (SIGXFSZ): Likewise.
5130 [POSIX] (SA_SIGINFO): Expect.
5131 [XPG3] (siginfo_t): Do not expect type or contents.
5132 [POSIX] (si_pid): Do not expect element.
5133 [POSIX] (si_uid): Likewise.
5134 [POSIX] (si_addr): Likewise.
5135 [POSIX] (si_status): Likewise.
5136 [POSIX] (si_band): Likewise.
5137 [XPG4] (si_value): Likewise.
5138 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5139 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5140 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5141 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5142 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5143 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5144 [POSIX || XPG3] (ILL_COPROC): Likewise.
5145 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5146 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5147 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5148 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5149 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5150 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5151 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5152 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5153 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5154 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5155 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5156 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5157 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5158 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5159 [POSIX || XPG3] (CLD_EXITED): Likewise.
5160 [POSIX || XPG3] (CLD_KILLED): Likewise.
5161 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5162 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5163 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5164 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5165 [POSIX || XPG3] (POLL_IN): Likewise.
5166 [POSIX || XPG3] (POLL_OUT): Likewise.
5167 [POSIX || XPG3] (POLL_MSG): Likewise.
5168 [POSIX || XPG3] (POLL_ERR): Likewise.
5169 [POSIX || XPG3] (POLL_PRI): Likewise.
5170 [POSIX || XPG3] (POLL_HUP): Likewise.
5171 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5172 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5173 (SIG*): Do not allow.
5174 [XPG3] (si_*): Likewise.
5175 [XPG3] (SI_*): Likewise.
5176 [XPG3 || XPG4] (sigev_*): Likewise.
5177 [XPG3 || XPG4] (SIGEV_*): Likewise.
5178 [XPG3 || XPG4] (sival_*): Likewise.
5179 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5180 [POSIX || XPG3] (BUS_*): Likewise.
5181 [POSIX || XPG3] (CLD_*): Likewise.
5182 [POSIX || XPG3] (FPE_*): Likewise.
5183 [POSIX || XPG3] (ILL_*): Likewise.
5184 [POSIX || XPG3] (POLL_*): Likewise.
5185 [POSIX || XPG3] (SEGV_*): Likewise.
5186 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5187 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5188 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5189 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5190 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5191 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5192 Specify type and value.
5193 (TVERSLEN): Likewise.
5194 (REGTYPE): Likewise.
5195 (AREGTYPE): Likewise.
5196 (LNKTYPE): Likewise.
5197 (SYMTYPE): Likewise.
5198 (CHRTYPE): Likewise.
5199 (BLKTYPE): Likewise.
5200 (DIRTYPE): Likewise.
5201 (FIFOTYPE): Likewise.
5202 (CONTTYPE): Likewise.
5203 (TSUID): Likewise.
5204 (TSGID): Likewise.
5205 (TSVTX): Likewise.
5206 (TUREAD): Likewise.
5207 (TUWRITE): Likewise.
5208 (TUEXEC): Likewise.
5209 (TGREAD): Likewise.
5210 (TGWRITE): Likewise.
5211 (TGEXEC): Likewise.
5212 (TOREAD): Likewise.
5213 (TOWRITE): Likewise.
5214 (TOEXEC): Likewise.
5215 [POSIX] (TSVTX): Expect constant.
5216
52172014-03-06 Joseph Myers <joseph@codesourcery.com>
5218
5219 * Makefile (tests): Change dependencies to ....
5220 (tests-special): ... additions to this variable.
5221 (tests): Depend on $(tests-special).
5222 * Makerules (check-abi-list): New variable.
5223 (check-abi): Depend on $(check-abi-list).
5224 [$(subdir) = elf] (tests-special): Add
5225 $(objpfx)check-abi-libc.out.
5226 [$(build-shared) = yes && subdir] (tests-special): Add
5227 $(check-abi-list).
5228 [$(build-shared) = yes && subdir] (tests): Do not depend on
5229 check-abi.
5230 * Rules (tests): Depend on $(tests-special).
5231 (xtests): Depend on $(xtests-special).
5232 * catgets/Makefile (tests): Change dependencies to ....
5233 (tests-special): ... additions to this variable.
5234 * conform/Makefile (tests): Change dependencies to ....
5235 (tests-special): ... additions to this variable.
5236 * elf/Makefile (tests): Change dependencies to ....
5237 (tests-special): ... additions to this variable.
5238 * grp/Makefile (tests): Change dependencies to ....
5239 (tests-special): ... additions to this variable.
5240 * iconv/Makefile (xtests): Change dependencies to ....
5241 (xtests-special): ... additions to this variable.
5242 * iconvdata/Makefile (tests): Change dependencies to ....
5243 (tests-special): ... additions to this variable.
5244 * intl/Makefile (tests): Change dependencies to ....
5245 (tests-special): ... additions to this variable. Also add
5246 $(objpfx)tst-gettext.out.
5247 * io/Makefile (tests): Change dependencies to ....
5248 (tests-special): ... additions to this variable.
5249 * libio/Makefile (tests): Change dependencies to ....
5250 (tests-special): ... additions to this variable.
5251 * malloc/Makefile (tests): Change dependencies to ....
5252 (tests-special): ... additions to this variable.
5253 * misc/Makefile (tests): Change dependencies to ....
5254 (tests-special): ... additions to this variable.
5255 * nptl/Makefile (tests): Change dependencies to ....
5256 (tests-special): ... additions to this variable.
5257 * nptl_db/Makefile (tests): Change dependencies to ....
5258 (tests-special): ... additions to this variable.
5259 * posix/Makefile (tests): Change dependencies to ....
5260 (tests-special): ... additions to this variable.
5261 (xtests): Change dependencies to ....
5262 (xtests-special): ... additions to this variable.
5263 * resolv/Makefile (tests): Change dependencies to ....
5264 (tests-special): ... additions to this variable.
5265 (xtests): Change dependencies to ....
5266 (xtests-special): ... additions to this variable.
5267 * stdio-common/Makefile (tests): Change dependencies to ....
5268 (tests-special): ... additions to this variable.
5269 (do-tst-unbputc): Remove target.
5270 (do-tst-printf): Likewise.
5271 * stdlib/Makefile (tests): Change dependencies to ....
5272 (tests-special): ... additions to this variable.
5273 * string/Makefile (tests): Change dependencies to ....
5274 (tests-special): ... additions to this variable.
5275 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5276 (tests-special): ... additions to this variable.
5277
5278 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5279 whole file.
5280 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5281 whole file.
5282 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5283 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5284
5285 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5286 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5287 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5288 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5289 * conform/data/libgen.h-data [XPG3]: Likewise.
5290 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5291 * conform/data/ndbm.h-data [XPG3]: Likewise.
5292 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5293 * conform/data/netdb.h-data [XPG3]: Likewise.
5294 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5295 * conform/data/poll.h-data [XPG3]: Likewise.
5296 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5297 * conform/data/strings.h-data [XPG3]: Likewise.
5298 * conform/data/stropts.h-data [XPG3]: Likewise.
5299 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5300 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5301 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5302 Likewise.
5303 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5304 * conform/data/sys/time.h-data [XPG3]: Likewise.
5305 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5306 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5307 * conform/data/sys/un.h-data [XPG3]: Likewise.
5308 * conform/data/syslog.h-data [XPG3]: Likewise.
5309 * conform/data/ucontext.h-data [XPG3]: Likewise.
5310 * conform/data/utmpx.h-data [XPG3]: Likewise.
5311 * conform/data/varargs.h-data [UNIX98]: Enable file.
5312
5313 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5314
5315 * math/libm-test.inc (struct test_f_f_data): Move expected results
5316 into structure for each rounding mode.
5317 (struct test_ff_f_data): Likewise.
5318 (struct test_ff_f_data_nexttoward): Likewise.
5319 (struct test_fi_f_data): Likewise.
5320 (struct test_fl_f_data): Likewise.
5321 (struct test_if_f_data): Likewise.
5322 (struct test_fff_f_data): Likewise.
5323 (struct test_c_f_data): Likewise.
5324 (struct test_f_f1_data): Likewise.
5325 (struct test_fF_f1_data): Likewise.
5326 (struct test_ffI_f1_data): Likewise.
5327 (struct test_c_c_data): Likewise.
5328 (struct test_cc_c_data): Likewise.
5329 (struct test_f_i_data): Likewise.
5330 (struct test_ff_i_data): Likewise.
5331 (struct test_f_l_data): Likewise.
5332 (struct test_f_L_data): Likewise.
5333 (struct test_fFF_11_data): Likewise.
5334 (RM_): New macro.
5335 (RM_FE_DOWNWARD): Likewise.
5336 (RM_FE_TONEAREST): Likewise.
5337 (RM_FE_TOWARDZERO): Likewise.
5338 (RM_FE_UPWARD): Likewise.
5339 (RUN_TEST_LOOP_f_f): Update references to expected results.
5340 (RUN_TEST_LOOP_2_f): Likewise.
5341 (RUN_TEST_LOOP_fff_f): Likewise.
5342 (RUN_TEST_LOOP_c_f): Likewise.
5343 (RUN_TEST_LOOP_f_f1): Likewise.
5344 (RUN_TEST_LOOP_fF_f1): Likewise.
5345 (RUN_TEST_LOOP_fI_f1): Likewise.
5346 (RUN_TEST_LOOP_ffI_f1): Likewise.
5347 (RUN_TEST_LOOP_c_c): Likewise.
5348 (RUN_TEST_LOOP_cc_c): Likewise.
5349 (RUN_TEST_LOOP_f_i): Likewise.
5350 (RUN_TEST_LOOP_f_i_tg): Likewise.
5351 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5352 (RUN_TEST_LOOP_f_b): Likewise.
5353 (RUN_TEST_LOOP_f_b_tg): Likewise.
5354 (RUN_TEST_LOOP_f_l): Likewise.
5355 (RUN_TEST_LOOP_f_L): Likewise.
5356 (RUN_TEST_LOOP_fFF_11): Likewise.
5357 * math/gen-libm-test.pl (parse_args): Output four copies of
5358 expected results for each test.
5359
5360 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5361 (__ASSUME_UTIMES): Remove.
5362 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5363 (__ASSUME_UTIMES): Likewise.
5364
5365 * math/gen-auto-libm-tests.c: Update comment on output format.
5366 (output_for_one_input_case): Generate before-rounding and
5367 after-rounding information as conditions on output flags not
5368 floating-point format.
5369 * math/auto-libm-test-out: Regenerated.
5370 * math/gen-libm-test.pl (cond_value): New function.
5371 (or_cond_value): Use cond_value.
5372 (generate_testfile): Handle conditional exceptions.
5373
53742014-03-05 Joseph Myers <joseph@codesourcery.com>
5375
5376 * math/libm-test.inc (max_valid_error): New variable.
5377 (init_max_error): Take new argument specifying whether function
5378 results are exactly determined. Set max_valid_error and bound
5379 other variables for errors based on this argument.
5380 (set_max_error): Do not record results above max_valid_error.
5381 (check_float_internal): Only accept errors of up to 0.5ulps if
5382 also at most max_valid_error.
5383 (START): Take new argument EXACT and pass it to init_max_error.
5384 (acos_test): Update call to START.
5385 (acos_test_tonearest): Likewise.
5386 (acos_test_towardzero): Likewise.
5387 (acos_test_downward): Likewise.
5388 (acos_test_upward): Likewise.
5389 (acosh_test): Likewise.
5390 (asin_test): Likewise.
5391 (asin_test_tonearest): Likewise.
5392 (asin_test_towardzero): Likewise.
5393 (asin_test_downward): Likewise.
5394 (asin_test_upward): Likewise.
5395 (asinh_test): Likewise.
5396 (atan_test): Likewise.
5397 (atanh_test): Likewise.
5398 (atan2_test): Likewise.
5399 (cabs_test): Likewise.
5400 (cacos_test): Likewise.
5401 (cacosh_test): Likewise.
5402 (carg_test): Likewise.
5403 (casin_test): Likewise.
5404 (casinh_test): Likewise.
5405 (catan_test): Likewise.
5406 (catanh_test): Likewise.
5407 (cbrt_test): Likewise.
5408 (ccos_test): Likewise.
5409 (ccosh_test): Likewise.
5410 (ceil_test): Likewise.
5411 (cexp_test): Likewise.
5412 (cimag_test): Likewise.
5413 (clog_test): Likewise.
5414 (clog10_test): Likewise.
5415 (conj_test): Likewise.
5416 (copysign_test): Likewise.
5417 (cos_test): Likewise.
5418 (cos_test_tonearest): Likewise.
5419 (cos_test_towardzero): Likewise.
5420 (cos_test_downward): Likewise.
5421 (cos_test_upward): Likewise.
5422 (cosh_test): Likewise.
5423 (cosh_test_tonearest): Likewise.
5424 (cosh_test_towardzero): Likewise.
5425 (cosh_test_downward): Likewise.
5426 (cosh_test_upward): Likewise.
5427 (cpow_test): Likewise.
5428 (cproj_test): Likewise.
5429 (creal_test): Likewise.
5430 (csin_test): Likewise.
5431 (csinh_test): Likewise.
5432 (csqrt_test): Likewise.
5433 (ctan_test): Likewise.
5434 (ctan_test_tonearest): Likewise.
5435 (ctan_test_towardzero): Likewise.
5436 (ctan_test_downward): Likewise.
5437 (ctan_test_upward): Likewise.
5438 (ctanh_test): Likewise.
5439 (ctanh_test_tonearest): Likewise.
5440 (ctanh_test_towardzero): Likewise.
5441 (ctanh_test_downward): Likewise.
5442 (ctanh_test_upward): Likewise.
5443 (erf_test): Likewise.
5444 (erfc_test): Likewise.
5445 (exp_test): Likewise.
5446 (exp_test_tonearest): Likewise.
5447 (exp_test_towardzero): Likewise.
5448 (exp_test_downward): Likewise.
5449 (exp_test_upward): Likewise.
5450 (exp10_test): Likewise.
5451 (exp10_test_tonearest): Likewise.
5452 (exp10_test_towardzero): Likewise.
5453 (exp10_test_downward): Likewise.
5454 (exp10_test_upward): Likewise.
5455 (pow10_test): Likewise.
5456 (exp2_test): Likewise.
5457 (expm1_test): Likewise.
5458 (expm1_test_tonearest): Likewise.
5459 (expm1_test_towardzero): Likewise.
5460 (expm1_test_downward): Likewise.
5461 (expm1_test_upward): Likewise.
5462 (fabs_test): Likewise.
5463 (fdim_test): Likewise.
5464 (floor_test): Likewise.
5465 (fma_test): Likewise.
5466 (fma_test_towardzero): Likewise.
5467 (fma_test_downward): Likewise.
5468 (fma_test_upward): Likewise.
5469 (fmax_test): Likewise.
5470 (fmin_test): Likewise.
5471 (fmod_test): Likewise.
5472 (fpclassify_test): Likewise.
5473 (frexp_test): Likewise.
5474 (hypot_test): Likewise.
5475 (ilogb_test): Likewise.
5476 (isfinite_test): Likewise.
5477 (finite_test): Likewise.
5478 (isgreater_test): Likewise.
5479 (isgreaterequal_test): Likewise.
5480 (isinf_test): Likewise.
5481 (isless_test): Likewise.
5482 (islessequal_test): Likewise.
5483 (islessgreater_test): Likewise.
5484 (isnan_test): Likewise.
5485 (isnormal_test): Likewise.
5486 (issignaling_test): Likewise.
5487 (isunordered_test): Likewise.
5488 (j0_test): Likewise.
5489 (j1_test): Likewise.
5490 (jn_test): Likewise.
5491 (ldexp_test): Likewise.
5492 (lgamma_test): Likewise.
5493 (gamma_test): Likewise.
5494 (lrint_test): Likewise.
5495 (lrint_test_tonearest): Likewise.
5496 (lrint_test_towardzero): Likewise.
5497 (lrint_test_downward): Likewise.
5498 (lrint_test_upward): Likewise.
5499 (llrint_test): Likewise.
5500 (llrint_test_tonearest): Likewise.
5501 (llrint_test_towardzero): Likewise.
5502 (llrint_test_downward): Likewise.
5503 (llrint_test_upward): Likewise.
5504 (log_test): Likewise.
5505 (log10_test): Likewise.
5506 (log1p_test): Likewise.
5507 (log2_test): Likewise.
5508 (logb_test): Likewise.
5509 (logb_test_downward): Likewise.
5510 (lround_test): Likewise.
5511 (llround_test): Likewise.
5512 (modf_test): Likewise.
5513 (nearbyint_test): Likewise.
5514 (nextafter_test): Likewise.
5515 (nexttoward_test): Likewise.
5516 (pow_test): Likewise.
5517 (pow_test_tonearest): Likewise.
5518 (pow_test_towardzero): Likewise.
5519 (pow_test_downward): Likewise.
5520 (pow_test_upward): Likewise.
5521 (remainder_test): Likewise.
5522 (drem_test): Likewise.
5523 (remainder_test_tonearest): Likewise.
5524 (drem_test_tonearest): Likewise.
5525 (remainder_test_towardzero): Likewise.
5526 (drem_test_towardzero): Likewise.
5527 (remainder_test_downward): Likewise.
5528 (drem_test_downward): Likewise.
5529 (remainder_test_upward): Likewise.
5530 (drem_test_upward): Likewise.
5531 (remquo_test): Likewise.
5532 (rint_test): Likewise.
5533 (rint_test_tonearest): Likewise.
5534 (rint_test_towardzero): Likewise.
5535 (rint_test_downward): Likewise.
5536 (rint_test_upward): Likewise.
5537 (round_test): Likewise.
5538 (scalb_test): Likewise.
5539 (scalbn_test): Likewise.
5540 (scalbln_test): Likewise.
5541 (signbit_test): Likewise.
5542 (sin_test): Likewise.
5543 (sin_test_tonearest): Likewise.
5544 (sin_test_towardzero): Likewise.
5545 (sin_test_downward): Likewise.
5546 (sin_test_upward): Likewise.
5547 (sincos_test): Likewise.
5548 (sinh_test): Likewise.
5549 (sinh_test_tonearest): Likewise.
5550 (sinh_test_towardzero): Likewise.
5551 (sinh_test_downward): Likewise.
5552 (sinh_test_upward): Likewise.
5553 (sqrt_test): Likewise.
5554 (sqrt_test_tonearest): Likewise.
5555 (sqrt_test_towardzero): Likewise.
5556 (sqrt_test_downward): Likewise.
5557 (sqrt_test_upward): Likewise.
5558 (tan_test): Likewise.
5559 (tan_test_tonearest): Likewise.
5560 (tan_test_towardzero): Likewise.
5561 (tan_test_downward): Likewise.
5562 (tan_test_upward): Likewise.
5563 (tanh_test): Likewise.
5564 (tgamma_test): Likewise.
5565 (trunc_test): Likewise.
5566 (y0_test): Likewise.
5567 (y1_test): Likewise.
5568 (yn_test): Likewise.
5569 (significand_test): Likewise.
5570
5571 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5572 individual tests in comment.
5573 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5574 (prev_max_error): New variable.
5575 (prev_real_max_error): Likewise.
5576 (prev_imag_max_error): Likewise.
5577 (compare_ulp_data): Don't refer to test names in comment.
5578 (find_test_ulps): Remove function.
5579 (find_function_ulps): Likewise.
5580 (find_complex_function_ulps): Likewise.
5581 (init_max_error): Take function name as argument. Look up ulps
5582 for that function.
5583 (print_ulps): Remove function.
5584 (print_max_error): Use prev_max_error instead of calling
5585 find_function_ulps.
5586 (print_complex_max_error): Use prev_real_max_error and
5587 prev_imag_max_error instead of calling find_complex_function_ulps.
5588 (check_float_internal): Take max_ulp parameter instead of calling
5589 find_test_ulps. Don't call print_ulps.
5590 (check_float): Update call to check_float_internal.
5591 (check_complex): Update calls to check_float_internal.
5592 (START): Pass argument to init_max_error.
5593 * math/gen-libm-test.pl (%results): Don't include "kind"
5594 information.
5595 (parse_ulps): Don't handle ulps of individual tests.
5596 (print_ulps_file): Likewise.
5597 (output_ulps): Likewise.
5598 * math/README.libm-test: Update.
5599 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5600 individual tests.
5601 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5602 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5603 * sysdeps/arm/libm-test-ulps: Likewise.
5604 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5605 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5606 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5607 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5608 * sysdeps/microblaze/libm-test-ulps: Likewise.
5609 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5610 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5611 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5612 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5613 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5614 * sysdeps/sh/libm-test-ulps: Likewise.
5615 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5616 * sysdeps/tile/libm-test-ulps: Likewise.
5617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5618
56192014-03-04 Joseph Myers <joseph@codesourcery.com>
5620
5621 * math/libm-test.inc (print_complex_max_error): Check separately
5622 whether real and imaginary errors are within allowed range and
5623 pass 0 to print_complex_function_ulps instead of value within
5624 allowed range.
5625
56262014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5627
5628 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5629 formatting.
5630 (get_handles_fopen): Likewise.
5631 (do_write_test): Likewise.
5632
5633 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5634
5635 * libio/fileops.c (do_ftell): Use cached offset when
5636 available.
5637 * libio/iofwide.c (do_ftell_wide): Likewise.
5638 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5639 _IO_file_attach.
5640 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5641
5642 [BZ #16532]
5643 * libio/libioP.h (get_file_offset): New function.
5644 * libio/fileops.c (get_file_offset): Likewise.
5645 (do_ftell): Likewise.
5646 (_IO_new_file_seekoff): Split out ftell logic.
5647 * libio/wfileops.c (do_ftell_wide): Likewise.
5648 (_IO_wfile_seekoff): Split out ftell logic.
5649 * libio/tst-ftell-active-handler.c: New test case.
5650 * libio/Makefile (tests): Add it.
5651
56522014-03-03 Roland McGrath <roland@hack.frob.com>
5653
5654 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5655 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5656
56572014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5658
5659 [BZ #16639]
5660 * nscd/connections.c (nscd_init): Call do_exit.
5661 (start_threads): Call do_exit and notify_parent.
5662 (begin_drop_privileges): Call do_exit.
5663 (finish_drop_privileges): Likewise.
5664 * nscd/selinux.c (preserve_capabilities): Likewise.
5665 (install_real_capabilities): Likewise.
5666 (nscd_selinux_enabled): Likewise.
5667 (avc_create_thread): Likewise.
5668 (avc_alloc_lock): Likewise.
5669 (nscd_avc_init): Likewise.
5670 * nscd/nscd.c (parent_fd): New static variable.
5671 (main): Create a pipe between parent and child processes.
5672 Skip closing parent_fd.
5673 (monitor_child): New function.
5674 (do_exit): Likewise.
5675 (notify_parent): Likewise.
5676 * nscd/nscd.h (notify_parent): Likewise.
5677 (do_exit): Likewise.
5678
56792014-03-03 Carlos O'Donell <carlos@redhat.com>
5680
5681 * malloc/malloc.c (__libc_calloc): Revert last change.
5682
56832014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5684
5685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5686
56872014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5688
5689 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5691 implementation.
5692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5693 (__libc_ifunc_impl_list): Likewise.
5694 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5695 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5696 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5697 * string/strrchr.c: Define STRRCHR.
5698
56992014-02-28 Ondřej Bílka <neleai@seznam.cz>
5700
5701 * benchtest/bench-strtok.c (simple_strtok): Delete.
5702 (strtok_string): Use as benchmark.
5703 * string/strtok (STRTOK): New macro.
5704
57052014-02-28 Carlos O'Donell <carlos@redhat.com>
5706
5707 * manual/threads.texi: Add header and standard comments to all
5708 functions.
5709
5710 * elf/dl-lookup.c (check_match): New function.
5711 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5712 (do_lookup_x): Remove nested function check_match. Use non-nested
5713 function check_match.
5714
57152014-02-28 Roland McGrath <roland@hack.frob.com>
5716
5717 * csu/Makefile (generated, before-compile): Use += rather than =.
5718 * catgets/Makefile (generated, generated-dirs): Likewise.
5719 * debug/Makefile (generated): Likewise.
5720 * dlfcn/Makefile (generated): Likewise.
5721 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5722 * iconvdata/Makefile (before-compile, generated): Likewise.
5723 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5724 * libio/Makefile (generated): Likewise.
5725 * malloc/Makefile (generated): Likewise.
5726 * manual/Makefile (generated, generated-dirs): Likewise.
5727 * misc/Makefile (generated): Likewise.
5728 * posix/Makefile (generated): Likewise.
5729 * resolv/Makefile (generated): Likewise.
5730 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5731 * timezone/Makefile (generated, generated-dirs): Likewise.
5732
5733 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5734
57352014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5736
5737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5738 power8 implementation.
5739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5740 file: POWER8 llround ifunc implementation.
5741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5742 (__lllround): Add POWER8 implementation.
5743 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5744 POWER8 llround implementation.
5745
5746 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5747 power8 implementation.
5748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5749 file: POWER8 llrint ifunc implementation.
5750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5751 Add POWER8 implementation.
5752 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5753 POWER8 llrint implementation.
5754
5755 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5756 power8 implementation.
5757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5758 file: POWER8 finite ifunc implementation.
5759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5760 Add POWER8 implementation.
5761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5762 Likewise.
5763 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5764 POWER8 finite implementation.
5765 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5766
5767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5768 power8 implementation.
5769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5770 file: POWER8 isinf ifunc implementation.
5771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5772 POWER8 implementation.
5773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5774 Likewise.
5775 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5776 isinf implementation.
5777 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5778
5779 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5780 (INIT_ARCH): Add hwcap2 initialization.
5781 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5782 power8 implementation.
5783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5784 file: POWER8 isnan ifunc implementation.
5785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5786 POWER8 implementation.
5787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5788 Likewise.
5789 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5790 isnan implementation.
5791 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5792
57932014-02-27 Joey Ye <joey.ye@arm.com>
5794
5795 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5796 (_FP_NANFRAC_Q): Set to zero.
5797
57982014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5799
5800 [BZ #16623]
5801 * math/auto-libm-test-in: New test inputs.
5802 * math/auto-libm-test-out: Regenerate.
5803 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5804 and DA.
5805 (__cos): Likewise.
5806 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5807
58082014-02-27 Joseph Myers <joseph@codesourcery.com>
5809
5810 * scripts/evaluate-test.sh: Take new argument indicating whether
5811 failure is expected.
5812 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5813 indicating whether failure is expected.
5814 * conform/Makefile (test-xfail-run-conformtest): New variable.
5815 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5816 level.
5817 * posix/Makefile (test-xfail-annexc): New variable.
5818 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5819
58202014-02-26 Joseph Myers <joseph@codesourcery.com>
5821
5822 * argp/Makefile: Include Makeconfig immediately after defining
5823 subdir.
5824 * assert/Makefile: Likewise.
5825 * benchtests/Makefile: Likewise.
5826 * catgets/Makefile: Likewise.
5827 * conform/Makefile: Likewise.
5828 * crypt/Makefile: Likewise.
5829 * csu/Makefile: Likewise.
5830 (all): Remove target.
5831 * ctype/Makefile: Include Makeconfig immediately after defining
5832 subdir.
5833 * debug/Makefile: Likewise.
5834 * dirent/Makefile: Likewise.
5835 * dlfcn/Makefile: Likewise.
5836 * gmon/Makefile: Likewise.
5837 * gnulib/Makefile: Likewise.
5838 * grp/Makefile: Likewise.
5839 * gshadow/Makefile: Likewise.
5840 * hesiod/Makefile: Likewise.
5841 * hurd/Makefile: Likewise.
5842 (all): Remove target.
5843 * iconvdata/Makefile: Include Makeconfig immediately after
5844 defining subdir.
5845 * inet/Makefile: Likewise.
5846 * intl/Makefile: Likewise.
5847 * io/Makefile: Likewise.
5848 * libio/Makefile: Likewise.
5849 (all): Remove target.
5850 * locale/Makefile: Include Makeconfig immediately after defining
5851 subdir.
5852 * login/Makefile: Likewise.
5853 * mach/Makefile: Likewise.
5854 (all): Remove target.
5855 * malloc/Makefile: Include Makeconfig immediately after defining
5856 subdir.
5857 (all): Remove target.
5858 * manual/Makefile: Include Makeconfig immediately after defining
5859 subdir.
5860 * math/Makefile: Likewise.
5861 * misc/Makefile: Likewise.
5862 * nis/Makefile: Likewise.
5863 * nss/Makefile: Likewise.
5864 * po/Makefile: Likewise.
5865 (all): Remove target.
5866 * posix/Makefile: Include Makeconfig immediately after defining
5867 subdir.
5868 * pwd/Makefile: Likewise.
5869 * resolv/Makefile: Likewise.
5870 * resource/Makefile: Likewise.
5871 * rt/Makefile: Likewise.
5872 * setjmp/Makefile: Likewise.
5873 * shadow/Makefile: Likewise.
5874 * signal/Makefile: Likewise.
5875 * socket/Makefile: Likewise.
5876 * soft-fp/Makefile: Likewise.
5877 * stdio-common/Makefile: Likewise.
5878 * stdlib/Makefile: Likewise.
5879 * streams/Makefile: Likewise.
5880 * string/Makefile: Likewise.
5881 * sunrpc/Makefile: Likewise.
5882 (all): Remove target.
5883 * sysvipc/Makefile: Include Makeconfig immediately after defining
5884 subdir.
5885 * termios/Makefile: Likewise.
5886 * time/Makefile: Likewise.
5887 * timezone/Makefile: Likewise.
5888 (all): Remove target.
5889 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5890 subdir.
5891 * wctype/Makefile: Likewise.
5892
58932014-02-26 Steve Ellcey <sellcey@mips.com>
5894
5895 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5896 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5897 (libc_feholdexcept_setround_mips): Ditto.
5898 (libc_feholdsetround): New.
5899 (libc_feholdsetroundf): New.
5900 (libc_feholdsetroundl): New.
5901 (libc_feupdateenv_test_mips): New.
5902 (libc_feupdateenv_test): New.
5903 (libc_feupdateenv_testf): New.
5904 (libc_feupdateenv_testl): New.
5905 (libc_feresetround): New.
5906 (libc_feresetroundf): New.
5907 (libc_feresetroundl): New.
5908 (libc_fetestexcept_mips): New.
5909 (libc_fetestexcept): New.
5910 (libc_fetestexceptf): New.
5911 (libc_fetestexceptl): New.
5912 (HAVE_RM_CTX): New.
5913 (libc_feholdexcept_setround_mips_ctx): New.
5914 (libc_feholdexcept_setround_ctx): New.
5915 (libc_feholdexcept_setroundf_ctx): New.
5916 (libc_feholdexcept_setroundl_ctx): New.
5917 (libc_fesetenv_mips_ctx): New.
5918 (libc_fesetenv_ctx): New.
5919 (libc_fesetenv_ctxf): New.
5920 (libc_fesetenv_ctxl): New.
5921 (libc_feupdateenv_mips_ctx): New.
5922 (libc_feupdateenv_ctx): New.
5923 (libc_feupdateenvf_ctx): New.
5924 (libc_feupdateenvl_ctx): New.
5925 (libc_feholdsetround_mips_ctx): New.
5926 (libc_feholdsetround_ctx): New.
5927 (libc_feholdsetroundf_ctx): New.
5928 (libc_feholdsetroundl_ctx): New.
5929 (libc_feresetround_mips_ctx): New.
5930 (libc_feresetround_ctx): New.
5931 (libc_feresetroundf_ctx): New.
5932 (libc_feresetroundl_ctx): New.
5933
59342014-02-26 Carlos O'Donell <carlos@redhat.com>
5935
5936 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5937
5938 * manual/ipc.texi: New file.
5939 * manual/Makefile (chapters): Add ipc.
5940 * manual/job.texi: Add "Inter-Process Communication" to next.
5941 * manual/process.texi: Add "Inter-Process Communication" to prev.
5942
59432014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5944
5945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5946
59472014-02-26 Ondřej Bílka <neleai@seznam.cz>
5948
5949 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5950
5951 * manual/arith.texi: Fix spaces after sentences.
5952 * manual/charset.texi: Likewise.
5953 * manual/errno.texi: Likewise.
5954 * manual/install.texi: Likewise.
5955 * manual/llio.texi: Likewise.
5956 * manual/locale.texi: Likewise.
5957 * manual/maint.texi: Likewise.
5958 * manual/math.texi: Likewise.
5959 * manual/memory.texi: Likewise.
5960 * manual/message.texi: Likewise.
5961 * manual/probes.texi: Likewise.
5962 * manual/resource.texi: Likewise.
5963 * manual/signal.texi: Likewise.
5964 * manual/socket.texi: Likewise.
5965 * manual/stdio.texi: Likewise.
5966 * manual/string.texi: Likewise.
5967 * manual/time.texi: Likewise.
5968 * manual/users.texi: Likewise.
5969
59702014-02-25 Carlos O'Donell <carlos@redhat.com>
5971
5972 [BZ #16632]
5973 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5974 _DEFAULT_SOURCE is defined.
5975
59762014-02-25 Ulrich Drepper <drepper@gmail.com>
5977 Carlos O'Donell <carlos@redhat.com>
5978
5979 [BZ #16613]
5980 * elf/dl-tls.c (_dl_count_modids): New function.
5981 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5982 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5983 audit library and increment generation counter.
5984 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5985 * elf/tst-audit9.c: New file.
5986 * elf/tst-auditmod9a.c: New file.
5987 * elf/tst-auditmod9b.c: New file.
5988 * elf/Makefile: Add rules to build and run tst-audit9.
5989
59902014-02-25 Florian Weimer <fweimer@redhat.com>
5991
5992 [BZ #15347]
5993 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5994
59952014-02-25 Will Newton <will.newton@linaro.org>
5996
5997 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5998 (__longjmp): Restore sp and lr before restoring callee
5999 saved registers. Add longjmp and longjmp_target
6000 SystemTap probe point.
6001 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6002 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6003 Define to zero to match jmpbuf layout.
6004 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6005 (__sigsetjmp): Save sp and lr before saving callee
6006 saved registers. Add setjmp SystemTap probe point.
6007
60082014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6009
6010 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6011
60122014-02-24 Andreas Schwab <schwab@suse.de>
6013
6014 [BZ #15804]
6015 * elf/pldd.c (wait_for_ptrace_stop): New function.
6016 (main): Call it after attaching.
6017
60182014-02-22 Roland McGrath <roland@hack.frob.com>
6019
6020 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6021 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6022 Versions files is now verboten.
6023 * hurd/Versions (libc: GLIBC_2.0):
6024 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6025 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6026 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6027 * mach/Versions: Likewise.
6028
6029 * csu/Versions: Remove unused %include.
6030 * resolv/Versions: Likewise.
6031
60322014-02-21 Joseph Myers <joseph@codesourcery.com>
6033
6034 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6035 ($(objpfx)check-local-headers.out): Likewise.
6036 ($(objpfx)begin-end-check.out): Likewise.
6037 * Makerules (check-abi-%.out): Likewise.
6038 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6039 ($(objpfx)test2.cat): Likewise.
6040 ($(objpfx)de/libc.cat): Likewise.
6041 ($(objpfx)test-gencat.out): Likewise.
6042 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6043 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6044 ($(objpfx)noload-mem): Likewise.
6045 ($(objpfx)tst-pathopt.out): Likewise.
6046 ($(objpfx)tst-rtld-load-self.out): Likewise.
6047 ($(objpfx)tst-array1-cmp.out): Likewise.
6048 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6049 ($(objpfx)tst-array2-cmp.out): Likewise.
6050 ($(objpfx)tst-array3-cmp.out): Likewise.
6051 ($(objpfx)tst-array4-cmp.out): Likewise.
6052 ($(objpfx)tst-array5-cmp.out): Likewise.
6053 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6054 ($(objpfx)check-textrel.out): Likewise.
6055 ($(objpfx)check-execstack.out): Likewise.
6056 ($(objpfx)check-localplt.out): Likewise.
6057 ($(objpfx)order2-cmp.out): Likewise.
6058 ($(objpfx)tst-leaks1-mem): Likewise.
6059 ($(objpfx)tst-leaks1-static-mem): Likewise.
6060 ($(objpfx)tst-initorder-cmp.out): Likewise.
6061 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6062 ($(objpfx)tst-unused-dep.out): Likewise.
6063 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6064 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6065 * iconv/Makefile (test-iconvconfig): Likewise.
6066 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6067 ($(objpfx)iconv-test.out): Likewise.
6068 ($(objpfx)tst-tables.out): Likewise.
6069 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6070 ($(objpfx)tst-gettext.out): Likewise.
6071 ($(objpfx)tst-translit.out): Likewise.
6072 ($(objpfx)tst-gettext2.out): Likewise.
6073 ($(objpfx)tst-gettext4.out): Likewise.
6074 ($(objpfx)tst-gettext6.out): Likewise.
6075 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6076 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6077 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6078 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6079 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6080 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6081 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6082 ($(objpfx)wordexp-tst.out): Likewise.
6083 ($(objpfx)annexc.out): Likewise.
6084 ($(objpfx)tst-fnmatch-mem): Likewise.
6085 ($(objpfx)bug-regex2-mem): Likewise.
6086 ($(objpfx)bug-regex14-mem): Likewise.
6087 ($(objpfx)bug-regex21-mem): Likewise.
6088 ($(objpfx)bug-regex31-mem): Likewise.
6089 ($(objpfx)tst-vfork3-mem): Likewise.
6090 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6091 ($(objpfx)tst-pcre-mem): Likewise.
6092 ($(objpfx)tst-boost-mem): Likewise.
6093 ($(objpfx)tst-getconf.out): Likewise.
6094 ($(objpfx)bug-ga2-mem): Likewise.
6095 ($(objpfx)bug-glob2-mem): Likewise.
6096 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6097 ($(objpfx)mtrace-tst-leaks2): Likewise.
6098 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6099 ($(objpfx)tst-printf.out): Likewise.
6100 ($(objpfx)tst-setvbuf1.out): Likewise.
6101 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6102 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6103 ($(objpfx)tst-fmtmsg.out): Likewise.
6104 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6105 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6106
6107 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6108 * bits/sigaction.h [__USE_MISC]: Likewise.
6109 * bits/waitstatus.h: Update #endif comments.
6110 * ctype/ctype.h: Likewise.
6111 * dirent/dirent.h: Likewise.
6112 [__USE_MISC]: Remove redundant conditionals.
6113 * grp/grp.h: Update #endif comments.
6114 [__USE_GNU]: Remove redundant conditionals.
6115 [__USE_MISC]: Likewise.
6116 * inet/netinet/in.h [__USE_GNU]: Likewise.
6117 * io/sys/stat.h [__USE_MISC]: Likewise.
6118 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6119 * libio/bits/stdio.h: Update #endif comments.
6120 [__USE_MISC]: Remove redundant conditionals.
6121 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6122 * libio/stdio.h: Update #endif comments.
6123 [__USE_MISC]: Remove redundant conditionals.
6124 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6125 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6126 * math/math.h: Update #else and #endif comments.
6127 [__USE_MISC]: Remove redundant conditionals.
6128 * misc/sys/uio.h: Update #endif comments.
6129 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6130 * posix/glob.h [__USE_MISC]: Likewise.
6131 * posix/sys/types.h: Update #endif comments.
6132 [__USE_MISC]: Remove redundant conditionals.
6133 * posix/sys/wait.h: Update #endif comments.
6134 [__USE_MISC]: Remove redundant conditionals.
6135 * posix/unistd.h: Update #endif comments.
6136 [__USE_MISC]: Remove redundant conditionals.
6137 * pwd/pwd.h [__USE_GNU]: Likewise.
6138 [__USE_MISC]: Likewise.
6139 * resolv/netdb.h [__USE_GNU]: Likewise.
6140 * signal/signal.h: Update #endif comments.
6141 [__USE_MISC]: Remove redundant conditionals.
6142 * stdlib/stdlib.h: Update #else and #endif comments.
6143 [__USE_MISC]: Remove redundant conditionals.
6144 [__USE_GNU]: Likewise.
6145 * string/bits/string2.h [__USE_MISC]: Likewise.
6146 * string/string.h: Update #endif comments.
6147 [__USE_MISC]: Remove redundant conditionals.
6148 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6149 Likewise.
6150 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6151 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6152 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6153 Likewise.
6154 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6155 Likewise.
6156 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6157 comments.
6158 [__USE_MISC]: Remove redundant conditionals.
6159 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6160 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6161 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6162 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6163 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6164 Likewise.
6165 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6166 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6167 Likewise.
6168 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6169 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6170 Likewise.
6171 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6172 Likewise.
6173 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6174 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6175 Likewise.
6176 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6177 Likewise.
6178 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6179 * sysdeps/x86/bits/string.h: Update #endif comments.
6180 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6181 conditionals.
6182 * time/sys/time.h: Update #endif comments.
6183 * time/time.h: Likewise.
6184 [__USE_MISC]: Remove redundant conditionals.
6185
61862014-02-21 Yury Gribov <y.gribov@samsung.com>
6187
6188 [BZ #16600]
6189 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6190
61912014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6192
6193 * Versions.def (librt): Add GLIBC_2.17.
6194
61952014-02-21 Adam Conrad <adconrad@0c3.net>
6196
6197 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6198 synonym for _SYS_AUXV_H to allow direct inclusion.
6199 * sysdeps/sparc/bits/hwcap.h: Likewise.
6200 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6201 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6202 * sysdeps/sparc/sysdep.h: Likewise.
6203
62042014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6205
6206 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6207
62082014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6209
6210 * benchtests/bench-strrchr.c: Print length instead of position.
6211
62122014-02-20 Joseph Myers <joseph@codesourcery.com>
6213
6214 [BZ #16611]
6215 * sysdeps/unix/sysv/linux/kernel-features.h
6216 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6217 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6218 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6219 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6220 Likewise.
6221 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6222 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6223 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6224 (__ASSUME_SENDMMSG): Define instead of using previous
6225 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6226 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6227 (__ASSUME_SENDMMSG_SYSCALL): Define.
6228 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6229 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6230 Likewise.
6231 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6232 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6233 Likewise.
6234 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6235 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6236 Likewise.
6237 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6238 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6239 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6240 [__ASSUME_SENDMMSG]: Change conditionals to
6241 [__ASSUME_SENDMMSG_SOCKETCALL].
6242 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6243 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6244 Define.
6245 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6246 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6247 Likewise.
6248 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6249 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6250 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6251 [!__ASSUME_SENDMMSG]: Change conditional to
6252 [!__ASSUME_SENDMMSG_SOCKETCALL].
6253 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6254 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6255 Define.
6256
6257 [BZ #16610]
6258 * sysdeps/unix/sysv/linux/kernel-features.h
6259 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6260 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6261 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6262 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6263 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6264 [__i386__ || __sparc__]
6265 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6266 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6267 (__ASSUME_RECVMMSG): Define instead of using previous
6268 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6269 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6270 (__ASSUME_RECVMMSG_SYSCALL): Define.
6271 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6272 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6273 Likewise.
6274 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6275 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6276 Likewise.
6277 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6278 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6279 Likewise.
6280 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6281 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6282 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6283 [__ASSUME_RECVMMSG]: Change condition to
6284 [__ASSUME_RECVMMSG_SOCKETCALL].
6285 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6286 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6287 Define.
6288 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6289 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6290 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6291 Likewise.
6292 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6293 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6294 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6295 [!__ASSUME_RECVMMSG]: Change condition to
6296 [!__ASSUME_RECVMMSG_SOCKETCALL].
6297 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6298 (__ASSUME_RECVMMSG_SYSCALL): Define.
6299
6300 [BZ #16609]
6301 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6302 __powerpc__ || __s390__ || __sh__ || __sparc__]
6303 (__ASSUME_SOCKETCALL): Define.
6304 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6305 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6306 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6307 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6308 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6309 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6310 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6311 (__ASSUME_ACCEPT4): Define instead of using previous
6312 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6313 __powerpc__ || __sparc__ || __s390__)] condition.
6314 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6315 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6316 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6317 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6318 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6319 [!__ASSUME_ACCEPT4]: Change condition to
6320 [!__ASSUME_ACCEPT4_SOCKETCALL].
6321 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6322 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6323 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6324 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6325 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6326 __ASSUME_ACCEPT4_SYSCALL.
6327 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6328 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6329 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6330 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6331 __ASSUME_ACCEPT4_SYSCALL.
6332 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6333 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6334 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6335 [__ASSUME_ACCEPT4]: Change condition to
6336 [__ASSUME_ACCEPT4_SOCKETCALL].
6337 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6338 (__ASSUME_SOCKETCALL): Define.
6339 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6340 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6341 (__ASSUME_SOCKETCALL): Define.
6342 (__ASSUME_ACCEPT4): Remove.
6343 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6344 Define.
6345 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6346 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6347 Likewise.
6348 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6349 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6350
6351 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6352 macro.
6353 (HWCAP_ARM_LPAE): Likewise.
6354 (HWCAP_ARM_EVTSTRM): Likewise.
6355 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6356 Add vpfd32, lpae and evtstrm.
6357 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6358 Increase to 22.
6359
63602014-02-19 Joseph Myers <joseph@codesourcery.com>
6361
6362 * math/auto-libm-test-in: Add tests of clog10.
6363 * math/auto-libm-test-out: Regenerated.
6364 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6365 * sysdeps/i386/fpu/libm-test-ulps: Update.
6366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6367
63682014-02-18 Andreas Schwab <schwab@suse.de>
6369
6370 [BZ #16574]
6371 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6372 Store non-zero if the second buffer was newly allocated.
6373 (send_dg): Likewise.
6374 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6375 to send_vc and send_dg.
6376 (res_nsend): Pass NULL for ansp2_malloced.
6377 * resolv/res_query.c (__libc_res_nquery): Add parameter
6378 answerp2_malloced and pass it down to __libc_res_nsend.
6379 (res_nquery): Pass additional NULL to __libc_res_nquery.
6380 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6381 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6382 second answer buffer if answerp2_malloced was set.
6383 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6384 (__libc_res_nquerydomain): Add parameter
6385 answerp2_malloced and pass it down to __libc_res_nquery.
6386 (res_nquerydomain): Pass additional NULL to
6387 __libc_res_nquerydomain.
6388 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6389 additional NULL to __libc_res_nsend and __libc_res_nquery.
6390 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6391 additional NULL to __libc_res_nsearch.
6392 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6393 parameter of __libc_res_nsearch to check for separately allocated
6394 second buffer.
6395 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6396 __libc_res_nquery.
6397 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6398 additional NULL to __libc_res_nquery.
6399 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6400 __libc_res_nsearch.
6401 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6402 * include/resolv.h: Update prototypes of __libc_res_nquery,
6403 __libc_res_nsearch, __libc_res_nsend.
6404
64052014-02-18 Joseph Myers <joseph@codesourcery.com>
6406
6407 * math/auto-libm-test-in: Add tests of fma.
6408 * math/auto-libm-test-out: Regenerated.
6409 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6410 (fma_towardzero_test_data): Likewise.
6411 (fma_downward_test_data): Likewise.
6412 (fma_upward_test_data): Likewise.
6413 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6414 mpc_mode.
6415 (rounding_modes): Add values for new field.
6416 (func_calc_method): Add value mpfr_fff_f.
6417 (func_calc_desc): Add mpfr_fff_f union field.
6418 (test_function): Add field exact_args.
6419 (FUNC): Add macro argument EXACT_ARGS.
6420 (FUNC_mpfr_f_f): Update call to FUNC.
6421 (FUNC_mpfr_f_f): Likewise.
6422 (FUNC_mpfr_ff_f): Likewise.
6423 (FUNC_mpfr_if_f): Likewise.
6424 (FUNC_mpc_c_f): Likewise.
6425 (FUNC_mpc_c_c): Likewise.
6426 (test_functions): Add fma. Update calls to FUNC.
6427 (handle_input_arg): Add argument exact_args.
6428 (add_test): Update call to handle_input_arg.
6429 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6430 (output_for_one_input_case): Update call to calc_generic_results.
6431 Recalculate exact zero results in each rounding mode.
6432
6433 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6434 non-negative before setting low bit.
6435 * math/auto-libm-test-in: Mark one asin test possibly having
6436 spurious underflow.
6437 * math/auto-libm-test-out: Regenerated.
6438 * sysdeps/i386/fpu/libm-test-ulps: Update.
6439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6440
64412014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6442
6443 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6444 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6445 ports/sysdeps/unix/sysv/linux/microblaze.
6446 * README: Add missing listing for microblaze*-*-linux-gnu.
6447
64482014-02-16 Mike Frysinger <vapier@gentoo.org>
6449
6450 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6451 * sysdeps/unix/sysv/linux/ia64: Move directory from
6452 ports/sysdeps/unix/sysv/linux/ia64.
6453 * README: Update listing for ia64-*-linux-gnu.
6454
64552014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6456 Joseph Myers <joseph@codesourcery.com>
6457
6458 * Makeconfig (test-name): New variable.
6459 (evaluate-test): Likewise.
6460 * Makerules (do-test-clean): Remove .test-result files.
6461 (common-mostlyclean): Likewise.
6462 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6463 * scripts/evaluate-test.sh: New file.
6464
64652014-02-14 Joseph Myers <joseph@codesourcery.com>
6466
6467 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6468 separate $(objpfx)tst-fopenloc-cmp.out and
6469 $(objpfx)tst-fopenloc-mem.out targets.
6470 (tests): Update dependencies.
6471 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6472 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6473 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6474 (tst-rxspencer-no-utf8-ARGS): New variable.
6475 (tst-rxspencer-no-utf8-ENV): Likewise.
6476 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6477 instead of $(objpfx)tst-rxspencer-mem.
6478 ($(objpfx)tst-rxspencer-mem): Change target to
6479 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6480 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6481 * posix/tst-rxspencer-no-utf8.c: New file.
6482
6483 * elf/Makefile ($(objpfx)order.out): Remove rule.
6484 [$(run-built-tests) = yes] (tests): Depend on
6485 $(objpfx)order-cmp.out.
6486 ($(objpfx)order-cmp.out): New rule.
6487 [$(run-built-tests) = yes] (tests): Depend on
6488 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6489 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6490 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6491 $(objpfx)tst-array5-static-cmp.out.
6492 ($(objpfx)tst-array1.out): Remove rule.
6493 ($(objpfx)tst-array1-cmp.out): New rule.
6494 ($(objpfx)tst-array1-static.out): Remove rule.
6495 ($(objpfx)tst-array1-static-cmp.out): New rule.
6496 ($(objpfx)tst-array2.out): Remove rule.
6497 ($(objpfx)tst-array2-cmp.out): New rule.
6498 ($(objpfx)tst-array3.out): Remove rule.
6499 ($(objpfx)tst-array3-cmp.out): New rule.
6500 ($(objpfx)tst-array4.out): Remove rule.
6501 ($(objpfx)tst-array4-cmp.out): New rule.
6502 ($(objpfx)tst-array5.out): Remove rule.
6503 ($(objpfx)tst-array5-cmp.out): New rule.
6504 ($(objpfx)tst-array5-static.out): Remove rule.
6505 ($(objpfx)tst-array5-static-cmp.out): New rule.
6506 [$(run-built-tests) = yes] (tests): Depend on
6507 $(objpfx)order2-cmp.out.
6508 ($(objpfx)order2.out): Remove rule.
6509 ($(objpfx)order2-cmp.out): New rule.
6510 ($(objpfx)tst-initorder.out): Remove rule.
6511 [$(run-built-tests) = yes] (tests): Depend on
6512 $(objpfx)tst-initorder-cmp.out.
6513 ($(objpfx)tst-initorder-cmp.out): New rule.
6514 ($(objpfx)tst-initorder2.out): Remove rule.
6515 [$(run-built-tests) = yes] (tests): Depend on
6516 $(objpfx)tst-initorder2-cmp.out.
6517 ($(objpfx)tst-initorder2-cmp.out): New rule.
6518 [$(run-built-tests) = yes] (tests): Depend on
6519 $(objpfx)tst-unused-dep-cmp.out.
6520 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6521 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6522 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6523 on $(objpfx)tst-setvbuf1-cmp.out.
6524 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6525 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6526 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6527 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6528 ($(objpfx)tst-svc.out): Remove rule.
6529 ($(objpfx)tst-svc-cmp.out): New rule.
6530
65312014-02-13 Joseph Myers <joseph@codesourcery.com>
6532
6533 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6534 * ctype/ctype.h [__USE_MISC]: Likewise.
6535 * dirent/dirent.h [__USE_MISC]: Likewise.
6536 * grp/grp.h [__USE_MISC]: Likewise.
6537 * io/fcntl.h [__USE_MISC]: Likewise.
6538 * io/sys/stat.h [__USE_MISC]: Likewise.
6539 * libio/stdio.h [__USE_MISC]: Likewise.
6540 * posix/unistd.h [__USE_MISC]: Likewise.
6541 * pwd/pwd.h [__USE_MISC]: Likewise.
6542 * stdlib.h [__USE_MISC]: Likewise.
6543 * string/bits/string2.h [__USE_MISC]: Likewise.
6544 * string/string.h [__USE_MISC]: Likewise.
6545 * time/time.h [__USE_MISC]: Likewise.
6546
65472014-02-13 Andreas Schwab <schwab@suse.de>
6548
6549 [BZ #16574]
6550 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6551 second answer buffer if it was separately allocated.
6552
65532014-02-12 Joseph Myers <joseph@codesourcery.com>
6554
6555 * sysdeps/mips/math-tests.h: Include <features.h>.
6556 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6557 (ROUNDING_TESTS_long_double): Do not define.
6558 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6559 (EXCEPTION_TESTS_long_double): Likewise.
6560 * sysdeps/mips/mips64/libm-test-ulps: Update.
6561
6562 * include/features.h (__USE_BSD): Remove macro definitions.
6563 (__USE_SVID): Likewise.
6564 (_BSD_SOURCE): Likewise.
6565 (_SVID_SOURCE): Likewise.
6566 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6567 from definition of _DEFAULT_SOURCE.
6568 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6569 [_DEFAULT_SOURCE].
6570 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6571 * bits/mman.h [__USE_BSD]: Likewise.
6572 * bits/termios.h [__USE_BSD]: Likewise.
6573 * bits/waitstatus.h [__USE_BSD]: Likewise.
6574 * ctype/ctype.h [__USE_SVID]: Likewise.
6575 * dirent/dirent.h [__USE_BSD]: Likewise.
6576 * grp/grp.h [__USE_SVID]: Likewise.
6577 [__USE_BSD]: Likewise.
6578 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6579 * io/fcntl.h [__USE_BSD]: Likewise.
6580 * io/ftw.h [__USE_BSD]: Likewise.
6581 * io/sys/stat.h [__USE_BSD]: Likewise.
6582 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6583 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6584 * libio/stdio.h [__USE_SVID]: Likewise.
6585 [__USE_BSD]: Likewise.
6586 * math/math.h [__USE_SVID]: Likewise.
6587 [__USE_BSD]: Likewise.
6588 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6589 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6590 * misc/search.h [__USE_SVID]: Likewise.
6591 * misc/sys/mman.h [__USE_BSD]: Likewise.
6592 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6593 * misc/sys/uio.h [__USE_BSD]: Likewise.
6594 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6595 * posix/glob.h [__USE_BSD]: Likewise.
6596 * posix/regex.h [__USE_BSD]: Likewise.
6597 * posix/sys/types.h [__USE_BSD]: Likewise.
6598 [__USE_SVID]: Likewise.
6599 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6600 * posix/sys/wait.h [__USE_BSD]: Likewise.
6601 [__USE_SVID]: Likewise.
6602 * posix/unistd.h [__USE_BSD]: Likewise.
6603 [__USE_SVID]: Likewise.
6604 * pwd/pwd.h [__USE_SVID]: Likewise.
6605 * resolv/netdb.h [__USE_BSD]: Likewise.
6606 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6607 * signal/signal.h [__USE_BSD]: Likewise.
6608 [__USE_SVID]: Likewise.
6609 * socket/sys/socket.h [__USE_BSD]: Likewise.
6610 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6611 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6612 [__USE_SVID]: Likewise.
6613 * string/bits/string2.h [__USE_BSD]: Likewise.
6614 [__USE_SVID]: Likewise.
6615 * string/bits/string3.h [__USE_BSD]: Likewise.
6616 * string/endian.h [__USE_BSD]: Likewise.
6617 * string/string.h [__USE_SVID]: Likewise.
6618 [__USE_BSD]: Likewise.
6619 * string/strings.h [__USE_BSD]: Likewise.
6620 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6621 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6622 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6623 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6624 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6625 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6626 Likewise.
6627 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6628 Likewise.
6629 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6630 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6631 Likewise.
6632 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6633 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6634 Likewise.
6635 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6636 Likewise.
6637 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6638 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6639 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6640 Likewise.
6641 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6642 Likewise.
6643 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6644 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6645 * termios/termios.h [__USE_BSD]: Likewise.
6646 * time/sys/time.h [__USE_BSD]: Likewise.
6647 * time/time.h [__USE_BSD]: Likewise.
6648 [__USE_SVID]: Likewise.
6649
6650 * Makefile (subdir_targets): Remove subdir_lint.out.
6651
6652 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6653 (do-tst-printf): Likewise.
6654 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6655 $(objpfx)tst-printf.out.
6656
6657 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6658
6659 * Makerules (check-abi-%): Change target to
6660 $(objpfx)check-abi-%.out.
6661 (check-abi target): Update dependencies.
6662 (check-abi-pattern variable): Redirect output of diff to $@.
6663 (check-abi variable): Likewise.
6664 * elf/Makefile (check-abi): Update dependencies.
6665
6666 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6667 unused.
6668 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6669 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6670 subnormal range.
6671 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6672 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6673 value has largest subnormal exponent.
6674 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6675 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6676 * sysdeps/aarch64/soft-fp/sfp-machine.h
6677 (_FP_TININESS_AFTER_ROUNDING): New macro.
6678 * sysdeps/alpha/soft-fp/sfp-machine.h
6679 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6680 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6681 Likewise.
6682 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6683 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6684 * sysdeps/mips/soft-fp/sfp-machine.h
6685 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6686 * sysdeps/powerpc/soft-fp/sfp-machine.h
6687 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6688 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6689 Likewise.
6690 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6691 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6692 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6693 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6694 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6695 Likewise.
6696
66972014-02-12 Dylan Alex Simon <dylan@dylex.net>
6698
6699 [BZ #16545]
6700 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6701 model 1.
6702
67032014-02-12 Richard Henderson <rth@redhat.com>
6704
6705 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6706 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6707 * sysdeps/unix/sysv/linux/alpha: Move directory from
6708 ports/sysdeps/unix/sysv/linux/alpha.
6709 * README: Update listing for alpha-*-linux-gnu.
6710
67112014-02-11 Joseph Myers <joseph@codesourcery.com>
6712
6713 * include/features.h: Update comment documenting feature test
6714 macros.
6715 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6716 _DEFAULT_SOURCE.
6717 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6718 (_SVID_SOURCE): Likewise.
6719 (_DEFAULT_SOURCE): Update description of default features.
6720 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6721 with _GNU_SOURCE.
6722 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6723 (S_ISVTX): Likewise.
6724 * manual/math.texi (Mathematical Constants): Likewise.
6725 * manual/signal.texi (Interrupted Primitives): Likewise.
6726 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6727 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6728 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6729 Don't refer to _SVID_SOURCE in warning text.
6730
6731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6732
6733 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6734 already defined.
6735 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6736 * sysdeps/mips/dl-lookup.c: Remove.
6737 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6738
67392014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6740
6741 [BZ #16447]
6742 * math/auto-libm-test-in: Add testcase for expl.
6743 * math/auto-libm-test-out: Regenerate.
6744 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6745 calculation of unsafe.
6746 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6747
67482014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6749
6750 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6751 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6752 ports/sysdeps/unix/sysv/linux/aarch64.
6753 * README: Update listing for aarch64*-*-linux-gnu.
6754
67552014-02-11 Will Newton <will.newton@linaro.org>
6756
6757 * manual/probes.texi (Mathematical Function Probes): Use
6758 "triggered" instead of "hit".
6759
6760 * manual/probes.texi (Internal Probes): Add documentation
6761 of setjmp, longjmp and longjmp_target probes.
6762
6763 * include/stap-probe.h: Add comment about probe argument
6764 format.
6765
6766 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6767 definition. (tr_where, tr_freehook, tr_mallochook,
6768 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6769
67702014-02-11 David S. Miller <davem@davemloft.net>
6771
6772 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6773 processing int_tests.
6774
67752014-02-10 Joseph Myers <joseph@codesourcery.com>
6776
6777 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6778 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6779 * sysdeps/unix/sysv/linux/mips: Move directory from
6780 ports/sysdeps/unix/sysv/linux/mips.
6781 * README: Update listing for mips-*-linux-gnu and
6782 mips64-*-linux-gnu.
6783
67842014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6785
6786 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6787 * sysdeps/unix/sysv/linux/m68k: Move directory from
6788 ports/sysdeps/unix/sysv/linux/m68k.
6789 * README: Update listing for m68k-*-linux-gnu.
6790
67912014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6792
6793 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6794 * sysdeps/unix/sysv/linux/generic: Move directory from
6795 ports/sysdeps/unix/sysv/linux/generic.
6796 * sysdeps/unix/sysv/linux/tile: Move directory from
6797 ports/sysdeps/unix/sysv/linux/tile.
6798 * README: Update listing for tile*-*-linux-gnu.
6799
68002014-02-10 Ondřej Bílka <neleai@seznam.cz>
6801
6802 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6803 __builtin_expect.
6804 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6805 * catgets/open_catalog.c (__open_catalog): Likewise.
6806 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6807 * debug/confstr_chk.c: Likewise.
6808 * debug/fread_chk.c (__fread_chk): Likewise.
6809 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6810 * debug/getgroups_chk.c: Likewise.
6811 * debug/mbsnrtowcs_chk.c: Likewise.
6812 * debug/mbsrtowcs_chk.c: Likewise.
6813 * debug/mbstowcs_chk.c: Likewise.
6814 * debug/memcpy_chk.c: Likewise.
6815 * debug/memmove_chk.c: Likewise.
6816 * debug/mempcpy_chk.c: Likewise.
6817 * debug/memset_chk.c: Likewise.
6818 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6819 * debug/strcat_chk.c (__strcat_chk): Likewise.
6820 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6821 * debug/strncat_chk.c (__strncat_chk): Likewise.
6822 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6823 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6824 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6825 * debug/wcpncpy_chk.c: Likewise.
6826 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6827 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6828 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6829 * debug/wcsncpy_chk.c: Likewise.
6830 * debug/wcsnrtombs_chk.c: Likewise.
6831 * debug/wcsrtombs_chk.c: Likewise.
6832 * debug/wcstombs_chk.c: Likewise.
6833 * debug/wmemcpy_chk.c: Likewise.
6834 * debug/wmemmove_chk.c: Likewise.
6835 * debug/wmempcpy_chk.c: Likewise.
6836 * debug/wmemset_chk.c: Likewise.
6837 * dirent/scandirat.c (SCANDIRAT): Likewise.
6838 * dlfcn/dladdr1.c (dladdr1): Likewise.
6839 * dlfcn/dladdr.c (dladdr): Likewise.
6840 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6841 * dlfcn/dlerror.c (__dlerror): Likewise.
6842 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6843 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6844 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6845 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6846 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6847 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6848 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6849 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6850 Likewise.
6851 * elf/dl-conflict.c: Likewise.
6852 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6853 * elf/dl-dst.h: Likewise.
6854 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6855 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6856 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6857 * elf/dl-init.c (call_init, _dl_init): Likewise.
6858 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6859 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6860 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6861 Likewise.
6862 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6863 Likewise.
6864 * elf/dl-minimal.c (__libc_memalign): Likewise.
6865 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6866 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6867 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6868 * elf/dl-sym.c (do_sym): Likewise.
6869 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6870 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6871 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6872 * elf/dl-writev.h (_dl_writev): Likewise.
6873 * elf/ldconfig.c (search_dir): Likewise.
6874 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6875 (dl_main): Likewise.
6876 * elf/setup-vdso.h (setup_vdso): Likewise.
6877 * grp/compat-initgroups.c (compat_call): Likewise.
6878 * grp/fgetgrent.c (fgetgrent): Likewise.
6879 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6880 * grp/putgrent.c (putgrent): Likewise.
6881 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6882 Likewise.
6883 * hurd/hurdinit.c: Likewise.
6884 * iconvdata/8bit-gap.c (struct): Likewise.
6885 * iconvdata/ansi_x3.110.c : Likewise.
6886 * iconvdata/big5.c : Likewise.
6887 * iconvdata/big5hkscs.c : Likewise.
6888 * iconvdata/cp1255.c: Likewise.
6889 * iconvdata/cp1258.c : Likewise.
6890 * iconvdata/cp932.c : Likewise.
6891 * iconvdata/euc-cn.c: Likewise.
6892 * iconvdata/euc-jisx0213.c : Likewise.
6893 * iconvdata/euc-jp.c: Likewise.
6894 * iconvdata/euc-jp-ms.c : Likewise.
6895 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6896 * iconvdata/gb18030.c : Likewise.
6897 * iconvdata/gbbig5.c (const): Likewise.
6898 * iconvdata/gbgbk.c: Likewise.
6899 * iconvdata/gbk.c : Likewise.
6900 * iconvdata/ibm1364.c : Likewise.
6901 * iconvdata/ibm930.c : Likewise.
6902 * iconvdata/ibm932.c: Likewise.
6903 * iconvdata/ibm933.c : Likewise.
6904 * iconvdata/ibm935.c : Likewise.
6905 * iconvdata/ibm937.c : Likewise.
6906 * iconvdata/ibm939.c : Likewise.
6907 * iconvdata/ibm943.c: Likewise.
6908 * iconvdata/iso_11548-1.c: Likewise.
6909 * iconvdata/iso-2022-cn.c : Likewise.
6910 * iconvdata/iso-2022-cn-ext.c : Likewise.
6911 * iconvdata/iso-2022-jp-3.c: Likewise.
6912 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6913 * iconvdata/iso-2022-kr.c : Likewise.
6914 * iconvdata/iso646.c (gconv_end): Likewise.
6915 * iconvdata/iso_6937-2.c : Likewise.
6916 * iconvdata/iso_6937.c : Likewise.
6917 * iconvdata/iso8859-1.c: Likewise.
6918 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6919 * iconvdata/shift_jisx0213.c : Likewise.
6920 * iconvdata/sjis.c : Likewise.
6921 * iconvdata/t.61.c : Likewise.
6922 * iconvdata/tcvn5712-1.c : Likewise.
6923 * iconvdata/tscii.c: Likewise.
6924 * iconvdata/uhc.c : Likewise.
6925 * iconvdata/unicode.c (gconv_end): Likewise.
6926 * iconvdata/utf-16.c (gconv_end): Likewise.
6927 * iconvdata/utf-32.c (gconv_end): Likewise.
6928 * iconvdata/utf-7.c (base64): Likewise.
6929 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6930 * iconv/gconv_close.c (__gconv_close): Likewise.
6931 * iconv/gconv_open.c (__gconv_open): Likewise.
6932 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6933 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6934 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6935 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6936 (ucs4le_internal_loop_single): Likewise.
6937 * iconv/iconv.c (iconv): Likewise.
6938 * iconv/iconv_close.c: Likewise.
6939 * iconv/loop.c (SINGLE): Likewise.
6940 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6941 * include/atomic.h: Likewise.
6942 * inet/inet6_option.c (option_alloc): Likewise.
6943 * intl/bindtextdom.c (set_binding_values): Likewise.
6944 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6945 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6946 * intl/localealias.c (read_alias_file): Likewise.
6947 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6948 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6949 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6950 * libio/fmemopen.c (fmemopen): Likewise.
6951 * libio/iofgets.c (_IO_fgets): Likewise.
6952 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6953 * libio/iofgetws.c (fgetws): Likewise.
6954 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6955 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6956 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6957 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6958 * locale/findlocale.c (_nl_find_locale): Likewise.
6959 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6960 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6961 Likewise.
6962 * locale/setlocale.c (setlocale): Likewise.
6963 * login/programs/pt_chown.c (main): Likewise.
6964 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6965 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
6966 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6967 (mmap, mmap64, mremap, munmap): Likewise.
6968 * math/e_exp2l.c: Likewise.
6969 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6970 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6971 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6972 * math/s_catan.c (__catan): Likewise.
6973 * math/s_catanf.c (__catanf): Likewise.
6974 * math/s_catanh.c (__catanh): Likewise.
6975 * math/s_catanhf.c (__catanhf): Likewise.
6976 * math/s_catanhl.c (__catanhl): Likewise.
6977 * math/s_catanl.c (__catanl): Likewise.
6978 * math/s_ccosh.c (__ccosh): Likewise.
6979 * math/s_ccoshf.c (__ccoshf): Likewise.
6980 * math/s_ccoshl.c (__ccoshl): Likewise.
6981 * math/s_cexp.c (__cexp): Likewise.
6982 * math/s_cexpf.c (__cexpf): Likewise.
6983 * math/s_cexpl.c (__cexpl): Likewise.
6984 * math/s_clog10.c (__clog10): Likewise.
6985 * math/s_clog10f.c (__clog10f): Likewise.
6986 * math/s_clog10l.c (__clog10l): Likewise.
6987 * math/s_clog.c (__clog): Likewise.
6988 * math/s_clogf.c (__clogf): Likewise.
6989 * math/s_clogl.c (__clogl): Likewise.
6990 * math/s_csin.c (__csin): Likewise.
6991 * math/s_csinf.c (__csinf): Likewise.
6992 * math/s_csinh.c (__csinh): Likewise.
6993 * math/s_csinhf.c (__csinhf): Likewise.
6994 * math/s_csinhl.c (__csinhl): Likewise.
6995 * math/s_csinl.c (__csinl): Likewise.
6996 * math/s_csqrt.c (__csqrt): Likewise.
6997 * math/s_csqrtf.c (__csqrtf): Likewise.
6998 * math/s_csqrtl.c (__csqrtl): Likewise.
6999 * math/s_ctan.c (__ctan): Likewise.
7000 * math/s_ctanf.c (__ctanf): Likewise.
7001 * math/s_ctanh.c (__ctanh): Likewise.
7002 * math/s_ctanhf.c (__ctanhf): Likewise.
7003 * math/s_ctanhl.c (__ctanhl): Likewise.
7004 * math/s_ctanl.c (__ctanl): Likewise.
7005 * math/w_pow.c: Likewise.
7006 * math/w_powf.c: Likewise.
7007 * math/w_powl.c: Likewise.
7008 * math/w_scalb.c (sysv_scalb): Likewise.
7009 * math/w_scalbf.c (sysv_scalbf): Likewise.
7010 * math/w_scalbl.c (sysv_scalbl): Likewise.
7011 * misc/error.c (error_tail): Likewise.
7012 * misc/pselect.c (__pselect): Likewise.
7013 * nis/nis_callback.c (__nis_create_callback): Likewise.
7014 * nis/nis_call.c (__nisfind_server): Likewise.
7015 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7016 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7017 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7018 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7019 * nis/nis_lookup.c (nis_lookup): Likewise.
7020 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7021 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7022 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7023 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7024 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7025 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7026 * nis/nss_compat/compat-initgroups.c (add_group)
7027 (internal_getgrent_r): Likewise.
7028 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7029 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7030 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7031 (internal_getspnam_r): Likewise.
7032 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7033 (_nss_nis_getaliasbyname_r): Likewise.
7034 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7035 (_nss_nis_getntohost_r): Likewise.
7036 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7037 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7038 (_nss_nis_getgrgid_r): Likewise.
7039 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7040 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7041 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7042 (_nss_nis_gethostbyname4_r): Likewise.
7043 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7044 (initgroups_netid): Likewise.
7045 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7046 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7047 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7048 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7049 (_nss_nis_getprotobynumber_r): Likewise.
7050 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7051 (_nss_nis_getsecretkey): Likewise.
7052 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7053 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7054 (_nss_nis_getpwuid_r): Likewise.
7055 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7056 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7057 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7058 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7059 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7060 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7061 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7062 Likewise.
7063 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7064 (_nss_nisplus_getntohost_r): Likewise.
7065 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7066 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7067 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7068 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7069 Likewise.
7070 * nis/nss_nisplus/nisplus-initgroups.c
7071 (_nss_nisplus_initgroups_dyn): Likewise.
7072 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7073 (_nss_nisplus_getnetbyaddr_r): Likewise.
7074 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7075 (_nss_nisplus_getprotobynumber_r): Likewise.
7076 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7077 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7078 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7079 Likewise.
7080 * nis/nss_nisplus/nisplus-service.c
7081 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7082 (_nss_nisplus_getservbyport_r): Likewise.
7083 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7084 (_nss_nisplus_getspnam_r): Likewise.
7085 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7086 Likewise.
7087 * nscd/aicache.c (addhstaiX): Likewise.
7088 * nscd/cache.c (cache_search, prune_cache): Likewise.
7089 * nscd/connections.c (register_traced_file, send_ro_fd)
7090 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7091 (main_loop_epoll): Likewise.
7092 * nscd/grpcache.c (addgrbyX): Likewise.
7093 * nscd/hstcache.c (addhstbyX): Likewise.
7094 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7095 * nscd/mem.c (gc, mempool_alloc): Likewise.
7096 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7097 (addinnetgrX): Likewise.
7098 * nscd/nscd-client.h (__nscd_acquire_maplock)
7099 (__nscd_drop_map_ref): Likewise.
7100 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7101 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7102 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7103 Likewise.
7104 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7105 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7106 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7107 (__nscd_get_map_ref): Likewise.
7108 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7109 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7110 Likewise.
7111 * nscd/pwdcache.c (addpwbyX): Likewise.
7112 * nscd/selinux.c (preserve_capabilities): Likewise.
7113 * nscd/servicescache.c (addservbyX): Likewise.
7114 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7115 * posix/fnmatch.c (fnmatch): Likewise.
7116 * posix/getopt.c (_getopt_internal_r): Likewise.
7117 * posix/glob.c (glob, glob_in_dir): Likewise.
7118 * posix/wordexp.c (exec_comm_child): Likewise.
7119 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7120 (getanswer_r, gaih_getanswer_slice): Likewise.
7121 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7122 * resolv/res_init.c: Likewise.
7123 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7124 * resolv/res_query.c (__libc_res_nquery): Likewise.
7125 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7126 Likewise.
7127 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7128 * stdio-common/perror.c (perror): Likewise.
7129 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7130 * stdio-common/tmpnam.c (tmpnam): Likewise.
7131 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7132 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7133 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7134 Likewise.
7135 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7136 * stdlib/putenv.c (putenv): Likewise.
7137 * stdlib/setenv.c (__add_to_environ): Likewise.
7138 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7139 * stdlib/strtol_l.c (INTERNAL): Likewise.
7140 * string/memmem.c (memmem): Likewise.
7141 * string/strerror.c (strerror): Likewise.
7142 * string/strnlen.c (__strnlen): Likewise.
7143 * string/test-memmem.c (simple_memmem): Likewise.
7144 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7145 * sunrpc/pm_getport.c (__get_socket): Likewise.
7146 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7147 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7148 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7149 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7150 Likewise.
7151 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7152 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7153 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7154 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7155 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7156 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7157 Likewise.
7158 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7159 Likewise.
7160 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7161 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7162 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7163 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7164 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7165 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7166 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7167 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7168 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7169 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7170 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7171 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7172 Likewise.
7173 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7174 Likewise.
7175 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7176 Likewise.
7177 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7178 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7179 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7180 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7181 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7182 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7183 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7184 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7186 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7187 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7189 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7190 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7191 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7192 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7193 Likewise.
7194 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7195 Likewise.
7196 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7197 Likewise.
7198 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7199 Likewise.
7200 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7201 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7202 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7203 Likewise.
7204 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7205 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7206 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7207 * sysdeps/posix/sleep.c: Likewise.
7208 * sysdeps/posix/tempname.c: Likewise.
7209 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7210 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7211 Likewise.
7212 * sysdeps/powerpc/powerpc32/dl-machine.h
7213 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7214 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7215 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7216 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7217 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7218 Likewise.
7219 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7220 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7221 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7222 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7223 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7224 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7225 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7226 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7227 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7228 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7229 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7230 (elf_machine_lazy_rel): Likewise.
7231 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7232 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7233 (elf_machine_lazy_rel): Likewise.
7234 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7235 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7236 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7237 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7238 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7239 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7240 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7241 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7242 Likewise.
7243 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7244 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7245 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7246 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7247 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7248 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7249 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7250 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7251 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7252 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7253 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7254 Likewise.
7255 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7256 (__posix_fallocate64_l64): Likewise.
7257 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7258 (posix_fallocate): Likewise.
7259 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7260 Likewise.
7261 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7262 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7263 (getifaddrs_internal): Likewise.
7264 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7265 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7266 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7267 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7268 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7269 (__posix_fallocate64_l64): Likewise.
7270 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7271 Likewise.
7272 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7273 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7274 (__get_clockfreq): Likewise.
7275 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7276 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7277 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7279 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7280 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7281 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7282 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7283 Likewise.
7284 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7285 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7286 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7287 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7288 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7289 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7290 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7291 Likewise.
7292 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7293 (posix_fallocate): Likewise.
7294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7295 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7296 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7297 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7298 (elf_machine_rela, elf_machine_rela_relative)
7299 (elf_machine_lazy_rel): Likewise.
7300 * time/asctime.c (asctime_internal): Likewise.
7301 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7302 * time/tzset.c (__tzset_parse_tz): Likewise.
7303 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7304 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7305 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7306 * wcsmbs/wcsmbsload.h: Likewise.
7307
7308 [BZ #15894]
7309 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7310
7311 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7312 (arena_get2): Remove THREAD_STATS conditionals.
7313 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7314 (__malloc_stats, int): Likewise.
7315
73162014-02-08 Mike Frysinger <vapier@gentoo.org>
7317
7318 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7319 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7320
7321 * manual/setjmp.texi: Fix typos/grammar errors.
7322
7323 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7324 Only return early when n is <= 0. Delete unused return statement.
7325
7326 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7327 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7328 * debug/tst-longjmp_chk3.c: New file.
7329
7330 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7331 (test_main): Replace code with set_fortify_handler call.
7332 * debug/test-strcpy_chk.c: Likewise.
7333 * debug/tst-chk1.c: Likewise.
7334 * debug/tst-longjmp_chk.c: Likewise.
7335 * test-skeleton.c: Include fcntl.h & paths.h
7336 (set_fortify_handler): Define.
7337
7338 * debug/tst-longjmp_chk.c: Add header comment and include
7339 ../test-skeleton.c.
7340 (do_test): Mark static.
7341 (TEST_FUNCTION): Define.
7342
7343 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7344 (IP_PMTUDISC_INTERFACE): Likewise.
7345 (IP_MULTICAST_IF): Likewise.
7346 (IP_MULTICAST_TTL): Likewise.
7347 (IP_MULTICAST_LOOP): Likewise.
7348 (IP_ADD_MEMBERSHIP): Likewise.
7349 (IP_DROP_MEMBERSHIP): Likewise.
7350 (IP_UNBLOCK_SOURCE): Likewise.
7351 (IP_BLOCK_SOURCE): Likewise.
7352 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7353 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7354 (IP_MSFILTER): Likewise.
7355 (MCAST_JOIN_GROUP): Likewise.
7356 (MCAST_BLOCK_SOURCE): Likewise.
7357 (MCAST_UNBLOCK_SOURCE): Likewise.
7358 (MCAST_LEAVE_GROUP): Likewise.
7359 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7360 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7361 (MCAST_MSFILTER): Likewise.
7362 (IP_MULTICAST_ALL): Likewise.
7363 (IP_UNICAST_IF): Likewise.
7364
7365 * timezone/Makefile: Delete $(have-ksh) check.
7366 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7367 * timezone/tzselect.ksh: Add +x mode bits.
7368
7369 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7370 (ANON_INODE_FS_MAGIC): Likewise.
7371 (BDEVFS_MAGIC): Likewise.
7372 (BINFMTFS_MAGIC): Likewise.
7373 (BTRFS_TEST_MAGIC): Likewise.
7374 (CRAMFS_MAGIC_WEND): Likewise.
7375 (DEBUGFS_MAGIC): Likewise.
7376 (ECRYPTFS_SUPER_MAGIC): Likewise.
7377 (EXT3_SUPER_MAGIC): Likewise.
7378 (EXT4_SUPER_MAGIC): Likewise.
7379 (FUTEXFS_SUPER_MAGIC): Likewise.
7380 (HOSTFS_SUPER_MAGIC): Likewise.
7381 (HUGETLBFS_MAGIC): Likewise.
7382 (MINIX3_SUPER_MAGIC): Likewise.
7383 (MTD_INODE_FS_MAGIC): Likewise.
7384 (NILFS_SUPER_MAGIC): Likewise.
7385 (OPENPROM_SUPER_MAGIC): Likewise.
7386 (PIPEFS_MAGIC): Likewise.
7387 (PSTOREFS_MAGIC): Likewise.
7388 (QNX6_SUPER_MAGIC): Likewise.
7389 (RAMFS_MAGIC): Likewise.
7390 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7391 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7392 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7393 (SECURITYFS_MAGIC): Likewise.
7394 (SELINUX_MAGIC): Likewise.
7395 (SMACK_MAGIC): Likewise.
7396 (SOCKFS_MAGIC): Likewise.
7397 (SQUASHFS_MAGIC): Likewise.
7398 (STACK_END_MAGIC): Likewise.
7399 (TMPFS_MAGIC): Likewise.
7400 (USBDEVICE_SUPER_MAGIC): Likewise.
7401 (V9FS_MAGIC): Likewise.
7402 (XENFS_SUPER_MAGIC): Likewise.
7403 (CRAMFS_MAGIC): Fix typo in comment.
7404 (EXT2_SUPER_MAGIC): Update comment.
7405 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7406
74072014-02-08 Joseph Myers <joseph@codesourcery.com>
7408
7409 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7410 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7411 * sysdeps/unix/sysv/linux/arm: Move directory from
7412 ports/sysdeps/unix/sysv/linux/arm.
7413 * README: Update listing for arm-*-linux-gnueabi.
7414
7415 * README: Remove mention of am33.
7416
74172014-02-07 Roland McGrath <roland@hack.frob.com>
7418
7419 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7420 than the comma operator, to avoid "rhs of comma has no effect"
7421 compiler warnings.
7422 (__sigfillset, __sigandset, __sigorset): Likewise.
7423 * include/signal.h (__sigemptyset): Likewise.
7424 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7425
74262014-02-07 Allan McRae <allan@archlinux.org>
7427
7428 * version.h (RELEASE): Set to "development".
7429 (VERSION): Set to "2.19.90"
7430 * NEWS: Add 2.20 section.
7431
74322014-02-06 Carlos O'Donell <carlos@redhat.com>
7433
7434 [BZ #16529]
7435 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7436
74372014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7438
7439 * manual/contrib.texi: Update entry for Carlos O'Donell,
7440 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7441
74422014-02-05 Carlos O'Donell <carlos@rehdat.com>
7443
7444 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7445
7446 * sysdeps/unix/sysv/linux/kernel-features.h
7447 [__LINUX_KERNEL_VERSION >= 0x020621]
7448 (__ASSUME_PROC_PID_TASK_COMM): Define.
7449
74502014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7451
7452 [BZ #16398]
7453 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7454 conversion when destination buffer does not have enough space.
7455 * libio/tst-ftell-partial-wide.c: New test case.
7456 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7457
7458 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7459 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7460 Leonard and Allan McRae.
7461
74622014-02-04 David S. Miller <davem@davemloft.net>
7463
7464 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7465 32-bit.
7466
74672014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7468
7469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7470 New file
7471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7472 New file
7473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7474 New file.
7475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7476 New file.
7477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7478 New file.
7479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7480 New file.
7481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7482 New file.
7483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7484 New file.
7485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7486 New file.
7487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7488 New file.
7489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7490 New file.
7491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7492 New file.
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7494 New file.
7495
74962014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7497
7498 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7499 * shlib-versions: Likewise.
7500
75012014-02-04 Roland McGrath <roland@hack.frob.com>
7502 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7503
7504 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7505 (abilist-pattern): New variable, set to %-le.abilist.
7506
7507 * Makerules (abilist-pattern): New variable.
7508 (vpath): Use $(abilist-pattern) in place of %.abilist.
7509 (check-abi-% pattern rule): Likewise.
7510 (check-abi, update-abi): Likewise.
7511
75122014-02-04 Eric Wong <normalperson@yhbt.net>
7513
7514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7515
75162014-02-03 Carlos O'Donell <carlos@redhat.com>
7517
7518 * manual/startup.texi: Add next, previous, and top entries for
7519 the `Program Arguments' and `Environment Variables' nodes.
7520
75212014-02-03 Alexandre Oliva <aoliva@redhat.com>
7522
7523 * manual/macros.texi: Add comments before MTASC-safety macros.
7524
7525 * manual/users.texi: Document MTASC-safety properties.
7526
7527 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7528 (pthread_getspecific, pthread_setspecific): Format with
7529 @deftypefun, and add @safety note.
7530 * manual/signal.texi: Move comments that analyze the above
7531 functions to their home place.
7532
75332014-02-03 Allan McRae <allan@archlinux.org>
7534
7535 * po/sl.po: Update Slovenian translation from translation project.
7536
75372014-02-02 Alexandre Oliva <aoliva@redhat.com>
7538
7539 * manual/time.texi (timegm): Add missing blank after @c.
7540 Reported by Joseph Myers <joseph@codesourcery.com>.
7541
75422014-02-01 Alexandre Oliva <aoliva@redhat.com>
7543
7544 * manual/check-safety.sh: New.
7545 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7546
7547 * manual/terminal.texi: Document MTASC-safety properties.
7548
7549 * manual/filesys.texi: Document MTASC-safety properties.
7550
7551 * manual/errno.texi: Document MTASC-safety properties.
7552
7553 * manual/intro.texi: Document safety identifiers and
7554 conditionals.
7555
7556 * manual/string.texi (wcstok): Fix prototype.
7557 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7558
7559 * manual/time.texi: Document MTASC-safety properties.
7560
7561 * manual/string.texi: Document MTASC-safety properties.
7562
7563 * manual/threads.texi: Document MTASC-safety properties.
7564
7565 * manual/stdio.texi: Document MTASC-safety properties.
7566
7567 * manual/syslog.texi: Document MTASC-safety properties.
7568
7569 * manual/sysinfo.texi: Document MTASC-safety properties.
7570
7571 * manual/startup.texi: Document MTASC-safety properties.
7572
7573 * manual/socket.texi: Document MTASC-safety properties.
7574
7575 * manual/signal.texi: Document MTASC-safety properties.
7576
75772014-01-31 Alexandre Oliva <aoliva@redhat.com>
7578
7579 * manual/setjmp.texi: Document MTASC-safety properties.
7580
7581 * manual/search.texi: Document MTASC-safety properties.
7582
7583 * manual/resource.texi: Document MTASC-safety properties.
7584
7585 * manual/process.texi: Document MTASC-safety properties.
7586
7587 * manual/platform.texi: Document MTASC-safety properties.
7588
7589 * manual/pipe.texi: Document MTASC-safety properties.
7590
7591 * manual/pattern.texi: Document MTASC-safety properties.
7592
7593 * manual/message.texi: Document MTASC-safety properties.
7594
7595 [BZ #12751]
7596 * manual/memory.texi: Document MTASC-safety properties.
7597
7598 * manual/math.texi: Document MTASC-safety properties.
7599
7600 * manual/locale.texi: Document MTASC-safety properties.
7601
7602 * manual/llio.texi: Document MTASC-safety properties.
7603
7604 * manual/libdl.texi: New.
7605
7606 * manual/lang.texi: Document MTASC-safety properties.
7607
7608 * manual/job.texi: Document MTASC-safety properties.
7609
7610 * manual/getopt.texi: Document MTASC-safety properties.
7611
7612 * manual/ctype.texi: Document MTASC-safety properties.
7613
76142014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7615
7616 [BZ #16046]
7617 * csu/libc-tls.c (static_map): Remove variable.
7618 (__libc_setup_tls): Use main executable's link map for TLS data.
7619 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7620 casing for LM_ID_BASE and GL(dl_nns).
7621 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7622 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7623 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7624 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7625 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7626 member.
7627 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7628 l_phnum members.
7629
76302014-01-30 Alexandre Oliva <aoliva@redhat.com>
7631
7632 * manual/debug.texi: Document MTASC-safety properties.
7633
76342014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7635
7636 [BZ #16510]
7637 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7638 of __x86_64__ when disabling x87 inline functions.
7639
76402014-01-29 Alexandre Oliva <aoliva@redhat.com>
7641
7642 * manual/charset.texi: Document MTASC-safety properties.
7643
7644 * manual/crypt.texi: Document MTASC-safety properties.
7645
7646 * manual/conf.texi: Document MTASC-safety properties.
7647
7648 * manual/arith.texi: Document MTASC-safety properties.
7649
7650 * manual/argp.texi: Document MTASC-safety properties.
7651
7652 * manual/macros.texi: Introduce macros to document multi
7653 thread, asynchronous signal and asynchronous cancellation
7654 safety properties.
7655 * manual/intro.texi: Introduce the properties themselves.
7656
76572014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7658
7659 * sysdeps/sh/sh4/Makefile: New file.
7660
76612014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7662
7663 * math/gen-libm-test.pl ($srcdir): New variable.
7664 ($auto_input): Use it.
7665
76662014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7667
7668 [BZ #16506]
7669 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7670 access beyond array bounds when parsing netgroups file.
7671
7672 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7673 the old buffer before realloc.
7674
76752014-01-27 Allan McRae <allan@archlinux.org>
7676
7677 * po/fr.po: Update French translation from translation project.
7678
76792014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7680
7681 * sysdeps/sh/libm-test-ulps: Regenerate.
7682
76832014-01-24 David S. Miller <davem@davemloft.net>
7684
7685 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7686
76872014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7688
7689 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7690 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7691
76922013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7693
7694 [BZ #16474]
7695 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7696 string pointers after reallocation.
7697
76982014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7699
7700 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7701 __SH4A__ instead of __SH_FPU_ANY__.
7702
77032014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7704
7705 * sysdeps/sh/fpu_control.h: New file.
7706 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7707 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7708 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7709 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7710 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7711 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7712 * sysdeps/sh/sys/ucontext.h: Remove.
7713 * sysdeps/sh/sys: Remove directory.
7714
77152014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7716
7717 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7718 s390/sys/ucontext.h.
7719 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7720 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7721
77222014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7723
7724 [BZ #15605]
7725 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7726
77272014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7728
7729 [BZ#16431]
7730 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7731 Adjust the vDSO correctly for internal calls.
7732 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7733
77342014-01-20 Allan McRae <allan@archlinux.org>
7735
7736 * po/ca.po: Update Catalan translation from translation project.
7737
77382014-01-16 Mike Frysinger <vapier@gentoo.org>
7739
7740 * sysdeps/s390/sotruss-lib.c: New file.
7741
77422014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7743
7744 [BZ#16430]
7745 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7746 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7747 local calls issues by not having a PLT stub required for IFUNC calls.
7748 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7749
77502014-01-16 Joseph Myers <joseph@codesourcery.com>
7751
7752 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7753 * math/test-fpucw-static.c: Likewise.
7754
77552013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7756
7757 [BZ #16453]
7758 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7759
77602014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7761
7762 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7763 implementation for powerpc.
7764
77652014-01-15 Ondřej Bílka <neleai@seznam.cz>
7766
7767 [BZ #14782]
7768 * sysdeps/posix/system.c (__libc_system): Do not enable
7769 asynchronous cancellation.
7770
77712014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7772
7773 [BZ #16427]
7774 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7775 handling only for numbers special also in the IEEE case.
7776
77772014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7778
7779 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7780
77812014-01-11 Allan McRae <allan@archlinux.org>
7782
7783 * po/bg.po: Update Bulgarian translation from translation project.
7784
7785 * po/de.po: Update German translation from translation project.
7786
77872014-01-10 Roland McGrath <roland@hack.frob.com>
7788
7789 * sysdeps/generic/gcc-compat.h: New file.
7790
77912014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7792
7793 * benchtests/asin-inputs: Correct slow inputs.
7794 * benchtests/acos-inputs: Likewise.
7795
77962014-01-10 Allan McRae <allan@archlinux.org>
7797
7798 * po:sv.po: Update Swedish translation from translation project.
7799
7800 * po/vi.po: Update Vietnamese translation from translation project.
7801
7802 * po/eo.po: Update Esperanto translation from translation project.
7803
7804 * po/cs.po: Update Czech translation from translation project.
7805
7806 * po/nl.po: Update Dutch translation from translation project.
7807
7808 * po/pl.po: Update Polish translation from translation project.
7809
7810 * po/ru.po: Update Russian translation from translation project.
7811
7812 * po/uk.po: Update Ukrainian translation from translation project.
7813
78142014-01-08 Brooks Moses <bmoses@google.com>
7815
7816 * elf/dl-load.c: Fix comment typo.
7817
78182014-01-08 Carlos O'Donell <carlos@redhat.com>
7819
7820 * po/header.pot: Rename to...
7821 * po/pot.header: ... this.
7822 * po/Makefile: Use pot.header.
7823
78242014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7825 Maxim Kuvyrkov <maxim@kugelworks.com>
7826
7827 [BZ #16394]
7828 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7829 SRC and DEST against LEN.
7830
78312014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7832
7833 [BZ #16414]
7834 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7835 implementation.
7836 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7837
78382014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7839
7840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7841
78422014-01-08 Joseph Myers <joseph@codesourcery.com>
7843
7844 [BZ #16408]
7845 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7846 for large positive arguments.
7847
78482014-01-07 Joseph Myers <joseph@codesourcery.com>
7849
7850 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7851
7852 * math/auto-libm-test-in: Mark various tests with
7853 xfail-rounding:ldbl-128ibm.
7854 * math/auto-libm-test-out: Regenerated.
7855
7856 [BZ #16407]
7857 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7858 Increase overflow threshold.
7859
78602014-01-07 Ondřej Bílka <neleai@seznam.cz>
7861
7862 [BZ #14286]
7863 * stdio-common/vfprintf.c: Check for integer overflow.
7864
78652014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7866
7867 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7868 the first argument and return value of __tls_get_addr_internal.
7869
78702014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7871
7872 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7873 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7874
78752014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7876
7877 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7878 * sysdeps/s390/rtld-global-offsets.sym: New file.
7879 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7880 GLIBC_2.19 symbol.
7881 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7882 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7883 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7884 ... this.
7885 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7886 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7887 ... this.
7888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7889 Regenerate.
7890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7891 Regenerate.
7892 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7893 halfs of GPRs for high_gprs contexts.
7894 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7895 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7896 field.
7897 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7898 uc_flags field.
7899 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7900 64 bit versions:
7901 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7902 for high GPRs (uc_high_gprs) and for future extensions
7903 (__reserved).
7904 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7905 for future extensions (__reserved).
7906 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7907 64 bit versions:
7908 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7909 SC_HIGHGPRS offset definition.
7910 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7911 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7912
7913 * Versions.def: Add GLIBC_2.19 for libpthread.
7914 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7915 siglongjmp for libpthread with GLIBC_2.19 symver.
7916 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7917 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7918 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7919 * sysdeps/s390/__longjmp.c: New file.
7920 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7921 * sysdeps/s390/longjmp.c: New file.
7922 * sysdeps/s390/setjmp.S: New file.
7923 * sysdeps/s390/sigjmp.S: New file.
7924 * sysdeps/s390/v1-longjmp.c: New file.
7925 * sysdeps/s390/v1-setjmp.h: New file.
7926 * sysdeps/s390/v1-sigjmp.c: New file.
7927 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7928 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7929 GLIBC_2.19 version.
7930 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7931 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7932 versioned symbols for ____longjmp_chk.
7933 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7934 Likewise.
7935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7936 Regenerate.
7937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7938 Regenerate.
7939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7940 Regenerate.
7941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7942 Regenerate.
7943 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7944 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7945 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7946 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7947 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7948 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7949 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7950 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7951 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7952 * sysdeps/s390/rtld-__longjmp.c: New file.
7953 * sysdeps/s390/rtld-setjmp.S: New file.
7954
79552014-01-06 Joseph Myers <joseph@codesourcery.com>
7956
7957 [BZ #16400]
7958 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7959 Return -__logl (x) for small positive arguments without evaluating
7960 a polynomial.
7961
79622014-01-06 Mike Frysinger <vapier@gentoo.org>
7963
7964 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7965 Rename to ...
7966 (__ptrace_peeksiginfo_args): ... this.
7967 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7968 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7969 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7970
79712014-01-06 Allan McRae <allan@archlinux.org>
7972
7973 * inet/netinet/in.h: Fix typo in comment.
7974
79752014-01-05 Andreas Jaeger <aj@suse.de>
7976
7977 * sysdeps/i386/fpu/libm-test-ulps: Update.
7978
79792014-01-05 Allan McRae <allan@archlinux.org>
7980
7981 * po/libc.pot: Regenerated.
7982
7983 * malloc/memusagestat.c: Fix gettext call formatting.
7984
79852014-01-04 Sami Kerola <kerolasa@iki.fi>
7986
7987 * nscd/nscd.c: Improve usage() output.
7988
79892014-01-04 Mike Frysinger <vapier@gentoo.org>
7990
7991 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7992 * sysdeps/unix/sysv/linux/configure: Regenerated.
7993 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7994 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7995
79962014-01-03 Joseph Myers <joseph@codesourcery.com>
7997
7998 [BZ #16390]
7999 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8000 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8001
80022014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8003
8004 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8005 extra tokens at end of #undef directive.
8006 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8007 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8008 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8009
80102014-01-03 Joseph Myers <joseph@codesourcery.com>
8011
8012 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8013
8014 * math/auto-libm-test-in: Mark various tests with
8015 xfail-rounding:ldbl-128ibm.
8016 * math/auto-libm-test-out: Regenerated.
8017
80182014-01-02 Joseph Myers <joseph@codesourcery.com>
8019
8020 [BZ #16386]
8021 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8022 numbers with subnormal high part when calculating exponent.
8023
8024 [BZ #16385]
8025 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8026 fabs.
8027
8028 [BZ #16384]
8029 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8030 M_LN2l.
8031 (__ieee754_acoshl): Use __log1pl not __log1p.
8032
80332013-01-02 Ondřej Bílka <neleai@seznam.cz>
8034
8035 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8036 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8037 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8038 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8039 (reused_arena, arena_get2): Convert to GNU style.
8040 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8041 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8042 (memalign_check, __malloc_set_state): Likewise.
8043 * malloc/mallocbug.c (main): Likewise.
8044 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8045 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8046 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8047 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8048 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8049 (__posix_memalign, malloc_info): Likewise.
8050 * malloc/malloc.h: Likewise.
8051 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8052 (mallochook, memalignhook, reallochook, mabort): Likewise.
8053 * malloc/mcheck.h: Likewise.
8054 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8055 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8056 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8057 * malloc/morecore.c (__default_morecore): Likewise.
8058 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8059 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8060 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8061 (print_and_abort): Likewise.
8062 * malloc/obstack.h: Likewise.
8063 * malloc/set-freeres.c (__libc_freeres): Likewise.
8064 * malloc/tst-mallocstate.c (main): Likewise.
8065 * malloc/tst-mtrace.c (main): Likewise.
8066 * malloc/tst-realloc.c (do_test): Likewise.
8067
80682013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8069
8070 [BZ #16366]
8071 * nscd/netgroupcache.c (do_notfound): New function.
8072 (addgetnetgrentX): Use it.
8073
8074 [BZ # 16365]
8075 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8076 NSS_STATUS_NOTFOUND.
8077
80782014-01-01 Joseph Myers <joseph@codesourcery.com>
8079
8080 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8082
80832014-01-01 Allan McRae <allan@archlinux.org>
8084
8085 * scripts/update-copyrights: Update configure input file suffix.
8086
8087 * NEWS: Update copyright year.
8088 * catgets/gencat.c: Likewise.
8089 * csu/version.c: Likewise.
8090 * debug/catchsegv.sh: Likewise.
8091 * debug/pcprofiledump.c: Likewise.
8092 * debug/xtrace.sh: Likewise.
8093 * elf/ldconfig.c: Likewise.
8094 * elf/ldd.bash.in: Likewise.
8095 * elf/pldd.c: Likewise.
8096 * elf/sotruss.ksh: Likewise.
8097 * elf/sprof.c: Likewise.
8098 * iconv/iconv_prog.c: Likewise.
8099 * iconv/iconvconfig.c: Likewise.
8100 * locale/programs/locale.c: Likewise.
8101 * locale/programs/localedef.c: Likewise.
8102 * login/programs/pt_chown.c: Likewise.
8103 * malloc/memusage.sh: Likewise.
8104 * malloc/memusagestat.c: Likewise.
8105 * malloc/mtrace.pl: Likewise.
8106 * manual/libc.texinfo: Likewise.
8107 * nscd/nscd.c: Likewise.
8108 * nss/getent.c: Likewise.
8109 * nss/makedb.c: Likewise.
8110 * posix/getconf.c: Likewise.
8111 * scripts/test-installation.pl: Likewise.
8112
8113 * All files with FSF copyright notices: Update copyright dates
8114 using scripts/update-copyrights.
8115 * intl/plural.c: Regenerated.
8116 * locale/programs/charmap-kw.h: Likewise.
8117 * locale/programs/locfile-kw.h: Likewise.
8118
81192013-12-31 Mike Frysinger <vapier@gentoo.org>
8120
8121 * sysdeps/unix/sysv/linux/configure: Regenerated.
8122 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8123 the linux/fanotify.h header.
8124 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8125 HAVE_LINUX_FANOTIFY_H is defined.
8126
81272013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8128
8129 * benchtests/cos-inputs: New inputs.
8130 * benchtests/sin-inputs: Likewise.
8131
8132 * benchtests/atan-inputs: New inputs. Fix name of multiple
8133 precision fallback inputs.
8134
8135 * benchtests/atanh-inputs: New inputs.
8136 * benchtests/tanh-inputs: Likewise.
8137
8138 * benchtests/acosh-inputs: New inputs.
8139 * benchtests/asinh-inputs: Likewise.
8140
8141 * benchtests/cosh-inputs: New inputs.
8142 * benchtests/sinh-inputs: Likewise.
8143
8144 * benchtests/acos-inputs: Add more inputs.
8145 * benchtests/asin-inputs: Likewise.
8146
81472013-12-30 Ville Skytta <ville.skytta@iki.fi>
8148
8149 [BZ #16375]
8150 * manual/arith.texi: Fix spelling.
8151 * manual/charset.texi: Likewise.
8152 * manual/errno.texi: Likewise.
8153 * manual/filesys.texi: Likewise.
8154 * manual/lang.texi: Likewise.
8155 * manual/llio.texi: Likewise.
8156 * manual/locale.texi: Likewise.
8157 * manual/message.texi: Likewise.
8158 * manual/resource.texi: Likewise.
8159 * manual/search.texi: Likewise.
8160 * manual/setjmp.texi: Likewise.
8161 * manual/stdio.texi: Likewise.
8162 * manual/string.texi: Likewise.
8163 * manual/sysinfo.texi: Likewise.
8164 * manual/time.texi: Likewise.
8165
81662013-12-27 Carlos O'Donell <carlos@redhat.com>
8167
8168 * po/sl.po: New file.
8169
81702013-12-27 Mike Frysinger <vapier@gentoo.org>
8171
8172 * .gitignore: Add core/.gdbinit/.gdb_history.
8173
81742013-12-27 Allan McRae <allan@archlinux.org>
8175
8176 [BZ #16369]
8177 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8178 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8179
81802013-12-24 Brooks Moses <bmoses@google.com>
8181
8182 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8183 all compilers that claim C++98 compliance, not just GCC.
8184 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8185 Likewise.
8186
81872013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8188
8189 * NEWS: Restore accidentally deleted bug-fix entries.
8190
81912013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8192 Ondřej Bílka <neleai@seznam.cz>
8193
8194 [BZ #15073]
8195 * malloc/malloc.c (_int_free): Perform sanity check only if we
8196 have_lock.
8197
81982013-12-23 Ondřej Bílka <neleai@seznam.cz>
8199
8200 [BZ #12986]
8201 * manual/stdio.texi (String Input Conversions): Clarify that character
8202 classes are not supported.
8203
82042013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8205
8206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8207
82082013-12-22 Joseph Myers <joseph@codesourcery.com>
8209
8210 [BZ #16337]
8211 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8212 Calculate results for small negative arguments directly rather
8213 than using reflection formula with special underflow handling.
8214
8215 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8216 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8217 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8218 (fchflags): Likewise.
8219 (revoke): Likewise.
8220 (setlogin): Likewise.
8221 (sigaltstack): Likewise.
8222 (wait4): Likewise.
8223 (sigblock): Remove.
8224 (sigsetmask): Likewise.
8225 (wait3): Likewise.
8226 (waitpid): Likewise.
8227 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8228 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8229 file.
8230 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8231 * sysdeps/unix/bsd/Makefile: ... here.
8232 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8233 * sysdeps/unix/bsd/Versions: ... here.
8234 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8235 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8236 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8237 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8238 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8239 * sysdeps/unix/bsd/sigblock.c: ... here.
8240 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8241 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8242 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8243 * sysdeps/unix/bsd/sigvec.c: ... here.
8244 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8245 * sysdeps/unix/bsd/tcdrain.c: ... here.
8246 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8247 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8248 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8249 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8250 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8251 * sysdeps/unix/bsd/wait.c: ... here.
8252 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8253 * sysdeps/unix/bsd/wait3.c: ... here.
8254 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8255 * sysdeps/unix/bsd/waitpid.c: ... here.
8256
82572013-12-21 Joseph Myers <joseph@codesourcery.com>
8258
8259 [BZ #16356]
8260 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8261 round-to-nearest for [!USE_AS_EXPM1L].
8262 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8263 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8264 more tests of exp and exp10. Expect some exp10 tests to miss
8265 exceptions or fail in directed rounding modes.
8266 * math/auto-libm-test-out: Regenerated.
8267 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8268 (exp10_test_tonearest): New function.
8269 (exp10_towardzero_test_data): New array.
8270 (exp10_test_towardzero): New function.
8271 (exp10_downward_test_data): New array.
8272 (exp10_test_downward): New function.
8273 (exp10_upward_test_data): New array.
8274 (exp10_test_upward): New function.
8275 (main): Call the new functions.
8276 * sysdeps/i386/fpu/libm-test-ulps: Update.
8277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8278
82792013-12-20 Joseph Myers <joseph@codesourcery.com>
8280
8281 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8282 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8283 * math/auto-libm-test-out: Regenerated.
8284 * math/libm-test.inc (acosh_test_data): Add more tests.
8285 (atanh_test_data): Likewise.
8286 (ceil_test_data): Likewise.
8287 (copysign_test_data): Likewise.
8288 * sysdeps/i386/fpu/libm-test-ulps: Update.
8289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8290
8291 * timezone/checktab.awk: Update from tzcode 2013i.
8292 * timezone/private.h: Likewise.
8293 * timezone/scheck.c: Likewise.
8294 * timezone/tzfile.h: Likewise.
8295 * timezone/tzselect.ksh: Likewise.
8296 * timezone/zdump.c: Likewise.
8297 * timezone/zic.c: Likewise.
8298
8299 * math/auto-libm-test-in: Add tests of cpow.
8300 * math/auto-libm-test-out: Regenerated.
8301 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8302 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8303 mpc_cc_c.
8304 (func_calc_desc): Add mpc_cc_c union field.
8305 (test_functions): Add cpow.
8306 (special_fill_2pi): New function.
8307 (special_real_inputs): Add 2pi.
8308 (calc_generic_results): Handle mpc_cc_c.
8309 * sysdeps/i386/fpu/libm-test-ulps: Update.
8310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8311
8312 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8313 csqrt, ctan and ctanh.
8314 * math/auto-libm-test-out: Regenerated.
8315 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8316 (TEST_COND_x86): Likewise.
8317 (ccos_test_data): Use AUTO_TESTS_c_c.
8318 (ccosh_test_data): Likewise.
8319 (cexp_test_data): Likewise.
8320 (clog_test_data): Likewise.
8321 (csqrt_test_data): Likewise.
8322 (ctan_test_data): Likewise.
8323 (ctan_tonearest_test_data): Likewise.
8324 (ctan_towardzero_test_data): Likewise.
8325 (ctan_downward_test_data): Likewise.
8326 (ctan_upward_test_data): Likewise.
8327 (ctanh_test_data): Likewise.
8328 (ctanh_tonearest_test_data): Likewise.
8329 (ctanh_towardzero_test_data): Likewise.
8330 (ctanh_downward_test_data): Likewise.
8331 (ctanh_upward_test_data): Likewise.
8332 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8333 mpc_c_c.
8334 (func_calc_desc): Add mpc_c_c union field.
8335 (FUNC_mpc_c_c): New macro.
8336 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8337 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8338 ctanh.
8339 (special_fill_min_subnorm_p120): New function.
8340 (special_real_inputs): Add min_subnorm_p120.
8341 (calc_generic_results): Handle mpc_c_c.
8342 * sysdeps/i386/fpu/libm-test-ulps: Update.
8343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8344
83452013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8346
8347 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8348 (do_sin_slow): New functions.
8349 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8350 (cslow2, csloww1, csloww2): Use the new functions.
8351
8352 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8353 Use M to change sign of result instead of X. Assume X is
8354 positive.
8355 (csloww1): Likewise.
8356 (__sin): Adjust.
8357 (__cos): Adjust.
8358
8359 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8360 arguments A and DA.
8361 (__sin): Adjust.
8362 (__cos): Likewise.
8363
8364 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8365 (__cos): Likewise.
8366 (sloww1): Don't adjust sign of DX.
8367 (csloww1): Likewise.
8368 (sloww2): Use X directly and don't adjust sign of DX.
8369 (csloww2): Likewise.
8370
83712013-12-19 Joseph Myers <joseph@codesourcery.com>
8372
8373 * math/auto-libm-test-in: Add tests of cabs and carg.
8374 * math/auto-libm-test-out: Regenerated.
8375 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8376 (carg_test_data): Likewise.
8377 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8378 mpc_c_f.
8379 (func_calc_desc): Add mpc_c_f union field.
8380 (test_functions): Add cabs and carg.
8381 (calc_generic_results): Handle mpc_c_f.
8382
8383 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8384 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8385 as a macro and a compat symbol.
8386 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8387 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8388 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8389 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8390 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8391 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8392 not use .hidden.
8393 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8394 Likewise.
8395 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8396 Likewise.
8397 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8398 Likewise.
8399 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8400 Likewise.
8401 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8402 Likewise.
8403 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8404 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8405 from GLIBC_2.3.2.
8406
84072013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8408
8409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8410
84112013-12-19 Joseph Myers <joseph@codesourcery.com>
8412
8413 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8414 trailing whitespace removed.
8415 * scripts/config.guess: Update to version 2013-11-29.
8416 * scripts/config.sub: Update to version 2013-10-01.
8417
8418 * math/auto-libm-test-in: Add tests of sincos.
8419 * math/auto-libm-test-out: Regenerated.
8420 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8421 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8422 mpfr_f_11.
8423 (func_calc_desc): Add mpfr_f_11 union field.
8424 (test_functions): Add sincos.
8425 (calc_generic_results): Handle mpfr_f_11.
8426 * sysdeps/i386/fpu/libm-test-ulps: Update.
8427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8428
84292013-12-19 Andreas Schwab <schwab@suse.de>
8430
8431 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8432 CALL_MCOUNT.
8433 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8434 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8435 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8436
84372013-12-19 Joseph Myers <joseph@codesourcery.com>
8438
8439 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8440 * sysdeps/i386/fpu/libm-test-ulps: Update.
8441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8442
8443 [BZ #16293]
8444 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8445 round-to-nearest mode when using frndint.
8446 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8447 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8448 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8449 Likewise.
8450 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8451 sinh test to fail.
8452 * math/auto-libm-test-out: Regenerated.
8453 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8454 (TEST_COND_x86): Likewise.
8455 (expm1_tonearest_test_data): New array.
8456 (expm1_test_tonearest): New function.
8457 (expm1_towardzero_test_data): New array.
8458 (expm1_test_towardzero): New function.
8459 (expm1_downward_test_data): New array.
8460 (expm1_test_downward): New function.
8461 (expm1_upward_test_data): New array.
8462 (expm1_test_upward): New function.
8463 (main): Run the new test functions.
8464 * sysdeps/i386/fpu/libm-test-ulps: Update.
8465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8466
8467 * include/features.h: Update comment documenting feature test
8468 macros. Mention _DEFAULT_SOURCE in comment.
8469 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8470 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8471 _BSD_SOURCE and _SVID_SOURCE.
8472 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8473 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8474 !_SVID_SOURCE]: Likewise.
8475 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8476 (__USE_POSIX_IMPLICITLY): Define.
8477 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8478 (_POSIX_SOURCE): Undefine and redefine.
8479 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8480 (_POSIX_C_SOURCE): Likewise.
8481 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8482 (Feature Test Macros): Update documentation of default features.
8483
84842013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8485
8486 * benchtests/Makefile: Add bench-strtok.
8487 * benchtests/bench-strtok.c: New file: strtok benchtest.
8488
84892013-12-19 Allan McRae <allan@archlinux.org>
8490
8491 * manual/install.texi: Suppress menu for plain text output.
8492 * INSTALL: Regenerated.
8493
84942013-12-18 Brooks Moses <bmoses@google.com>
8495
8496 [BZ #15846]
8497 * misc/getauxval.c: Include errno.h.
8498 (__getauxval): Set errno to ENOENT if the requested type is not
8499 found.
8500 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8501 don't declare with __attribute_const__.
8502 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8503 * manual/startup.texi: Document that getauxval sets errno.
8504
85052013-12-18 Joseph Myers <joseph@codesourcery.com>
8506
8507 * math/auto-libm-test-in: Add tests of jn and yn.
8508 * math/auto-libm-test-out: Regenerated.
8509 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8510 (yn_test_data): Likewise.
8511 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8512 mpfr_if_f.
8513 (func_calc_desc): Add mpfr_if_f union field.
8514 (FUNC_mpfr_if_f): New macro.
8515 (test_functions): Add jn and yn.
8516 (calc_generic_results): Assert type of second input for
8517 mpfr_ff_f. Handle mpfr_if_f.
8518 (output_for_one_input_case): Disable all checking for arguments
8519 fitting floating-point types in case of an integer argument.
8520 * sysdeps/i386/fpu/libm-test-ulps: Update.
8521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8522
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8524 Don't expect fegetround reference in libm.so.
8525
85262013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8527
8528 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8529 $(config-cflags-nofma).
8530
85312013-12-18 Joseph Myers <joseph@codesourcery.com>
8532
8533 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8534 * math/auto-libm-test-out: Regenerated.
8535
8536 [BZ #16338]
8537 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8538 to determine exponent and adjust argument to have exponent of -1.
8539 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8540 log2.
8541 * math/auto-libm-test-out: Regenerated.
8542 * sysdeps/i386/fpu/libm-test-ulps: Update.
8543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8544
85452013-12-18 Ondřej Bílka <neleai@seznam.cz>
8546
8547 * manual/probes.texi: Remove cases when per-thread arenas are
8548 disabled.
8549
85502013-12-18 Andreas Schwab <schwab@suse.de>
8551
8552 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8553 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8554 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8555 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8556 * sysdeps/i386/i686/multiarch/Makefile: Update.
8557 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8558
85592013-12-17 Joseph Myers <joseph@codesourcery.com>
8560
8561 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8562 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8563
85642013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8565
8566 [BZ #15968]
8567 Support TZ transition times < 00:00:00.
8568 This is needed for version-3 tz-format files; it supports time
8569 stamps past 2037 for America/Godthab (the only entry in the tz
8570 database for which this change is relevant).
8571 * manual/time.texi (TZ Variable): Document transition times
8572 from -167:59:59 through -00:00:01.
8573 * time/tzset.c (tz_rule): Time of day is now signed.
8574 (__tzset_parse_tz): Parse negative time of day.
8575
8576 Document TZ transition times >= 25:00:00.
8577 * manual/time.texi (TZ Variable): Document transition times from
8578 25:00:00 through 167:59:59. These are already supported, and this
8579 support will help with version-3 tz-format files.
8580
8581 * manual/time.texi (TZ Variable): Modernize North America example
8582 to reflect current (i.e., 2007-and-later) daylight saving rules.
8583
8584 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8585
85862013-12-17 Joseph Myers <joseph@codesourcery.com>
8587
8588 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8589 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8590 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8592 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8593 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8594 * sysdeps/unix/bsd/clock.c: Likewise.
8595 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8596 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8597 * sysdeps/unix/bsd/init-posix.c: Likewise.
8598 * sysdeps/unix/bsd/poll.c: Likewise.
8599 * sysdeps/unix/bsd/ptsname.c: Likewise.
8600 * sysdeps/unix/bsd/seekdir.c: Likewise.
8601 * sysdeps/unix/bsd/setegid.c: Likewise.
8602 * sysdeps/unix/bsd/seteuid.c: Likewise.
8603 * sysdeps/unix/bsd/setgid.c: Likewise.
8604 * sysdeps/unix/bsd/setrgid.c: Likewise.
8605 * sysdeps/unix/bsd/setruid.c: Likewise.
8606 * sysdeps/unix/bsd/setsid.c: Likewise.
8607 * sysdeps/unix/bsd/setuid.c: Likewise.
8608 * sysdeps/unix/bsd/sigaction.c: Likewise.
8609 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8610 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8611 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8612 * sysdeps/unix/bsd/telldir.c: Likewise.
8613 * sysdeps/unix/bsd/times.c: Likewise.
8614 * sysdeps/unix/bsd/usleep.c: Likewise.
8615
8616 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8617 ($(objpfx)libbsd-compat.a): Remove rule.
8618
8619 * include/features.h (__FAVOR_BSD): Do not define.
8620 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8621 features conflicting with POSIX.
8622 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8623 (_BSD_SOURCE): Remove description of not being a subset of other
8624 feature test macros.
8625 * manual/job.texi (getpgrp): Do not document BSD version.
8626 (getpgid): Do not document by reference to BSD getpgrp.
8627 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8628 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8629 * signal/signal.h [__FAVOR_BSD]: Likewise.
8630 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8631 instead of making contents conditional on [__FAVOR_BSD].
8632 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8633
86342013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8635
8636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8637
86382013-12-17 Joseph Myers <joseph@codesourcery.com>
8639
8640 [BZ #16314]
8641 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8642 values below 2**-450, not 2**-500.
8643 * math/auto-libm-test-in: Don't allow spurious underflow from
8644 hypot.
8645 * math/auto-libm-test-out: Regenerated.
8646
8647 [BZ #16316]
8648 [BZ #16330]
8649 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8650 values of ha and hb and sort them after adjusting subnormal
8651 arguments.
8652 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8653 Likewise.
8654 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8655 values of ea and eb and sort them after adjusting subnormal
8656 arguments.
8657 * math/auto-libm-test-in: Do not expect some hypot tests of
8658 subnormals to fail. Add more hypot tests.
8659 * math/auto-libm-test-out: Regenerated.
8660
86612013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8662
8663 [BZ #13304]
8664 * sysdeps/sh/s_fma.c: New file.
8665 * sysdeps/sh/s_fmaf.c: New file.
8666 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8667 version.
8668 * sysdeps/sh/Implies: Add sh/soft-fp.
8669
86702013-12-16 Roland McGrath <roland@hack.frob.com>
8671
8672 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8673 level of indirection to members `objname', `errstring', `malloced'.
8674 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8675 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8676 it as the __longjmp argument (just pass 1 instead).
8677 (_dl_catch_error): Initialize C with argument pointers and address of
8678 volatile local ERRCODE rather than copying values out of C at return.
8679
86802013-12-16 Joseph Myers <joseph@codesourcery.com>
8681
8682 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8683 * math/auto-libm-test-out: Regenerated.
8684 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8685 (hypot_test_data): Likewise.
8686 (pow_test_data): Likewise.
8687 (pow_tonearest_test_data): Likewise.
8688 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8689 mpfr_ff_f.
8690 (func_calc_desc): Add mpfr_ff_f union field.
8691 (FUNC_mpfr_ff_f): New macro.
8692 (test_functions): Add atan2, hypot and pow.
8693 (special_fill_min): New function.
8694 (special_fill_minus_min): Likewise.
8695 (special_fill_min_subnorm): Likewise.
8696 (special_fill_minus_min_subnorm): Likewise.
8697 (special_real_inputs): Add min, -min, min_subnorm and
8698 -min_subnorm.
8699 (calc_generic_results): Handle mpfr_ff_f.
8700 * sysdeps/i386/fpu/libm-test-ulps: Update.
8701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8702
87032013-12-16 Will Newton <will.newton@linaro.org>
8704
8705 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8706 (Aligned Memory Blocks): Add documentation for aligned_alloc
8707 and suggest it as an alternative to posix_memalign.
8708 (Hooks for Malloc): Document __memalign_hook is also called
8709 for aligned_alloc. (Summary of Malloc): Add summary for
8710 aligned alloc. Document __memalign_hook is also called
8711 for aligned_alloc.
8712
87132013-12-16 Will Newton <will.newton@linaro.org>
8714
8715 * manual/memory.texi (Malloc Examples): Clarify default
8716 alignment documentation. Suggest posix_memalign rather
8717 than memalign or valloc.
8718 (Aligned Memory Blocks): Remove suggestion to use memalign
8719 or valloc. Remove obsolete comment about BSD.
8720 Document memalign errno values and mark the function obsolete.
8721 Document posix_memalign returned error codes. Mark valloc
8722 as obsolete. (Hooks for Malloc): __memalign_hook is also
8723 called for posix_memalign and valloc.
8724 (Summary of Malloc): Add posix_memalign to function summary.
8725 __memalign_hook is also called for posix_memalign and valloc.
8726
87272013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8728
8729 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8730 TAYLOR_SIN.
8731 (__sin): Adjust.
8732 (__cos): Likewise.
8733 (sloww): Use mynumber union. Expand ternary operator into
8734 if-else statements.
8735 (cslow): use mynumber union.
8736
87372013-12-16 Allan McRae <allan@archlinux.org>
8738
8739 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8740 * configure: Regenerated.
8741
8742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8743
8744 [BZ #14120]
8745 * configure.ac: Added --enable-maintainer-mode. Check for
8746 autoconf when enabled.
8747 * configure: Regenerated.
8748
8749 * nscd/nscd.service: New file.
8750 * nscd/nscd.tmpfiles: New file.
8751
87522013-12-14 Ondřej Bílka <neleai@seznam.cz>
8753
8754 [BZ #12100]
8755 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8756 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8757 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8758 (strstr): Add __strstr_sse2_unaligned ifunc.
8759 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8760 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8761 (strcasestr): Remove __strcasestr_sse42 ifunc.
8762 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8764 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8765
87662013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8767
8768 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8769 * sysdeps/sh/bits/fenv.h: ... here.
8770 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8771
87722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8773
8774 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8775
8776 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8777 hypotf multiarch implementations.
8778 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8779 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8780 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8781 multiarch hypot for PPC64.
8782 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8783 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8784 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8785 multiarch hypotf for PPC64.
8786
8787 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8788 modff multiarch implementations.
8789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8792 multiarch modf for PPC64.
8793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8796 multiarch modff for PPC64.
8797
8798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8799 and logl multiarch implementations.
8800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8803 multiarch logb for PPC64.
8804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8807 multiarch logb for PPC64.
8808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8811 multiarch logb for PPC64.
8812
8813 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8814 isinff multiarch implementation.
8815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8816 file.
8817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8819 multiarch isinf for PPC64.
8820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8821 file.
8822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8823 multiarch isinff for PPC64.
8824
8825 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8826 finitef multiarch implementation.
8827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8828 file.
8829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8831 multiarch finite for PPC64.
8832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8833 file.
8834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8835 multiarch finitef for PPC64.
8836
8837 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8838 lrint multiarch implementation.
8839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8840 file.
8841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8843 multiarch llrint for PPC64.
8844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8845 multiarch lrint for PPC64.
8846
8847 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8848 copysignf multiarch implementation.
8849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8850 file.
8851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8852 file.
8853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8854 multiarch copysign for PPC64.
8855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8856 multiarch copysignf for PPC64.
8857
8858 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8859 multiarch implementation.
8860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8861 file.
8862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8863 file.
8864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8865 file.
8866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8867 file.
8868 multiarch llround for PPC64.
8869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8870 multiarch trunc for PPC64.
8871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8872 multiarch truncf for PPC64.
8873
8874 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8875 multiarch implementation.
8876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8877 file.
8878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8879 file.
8880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8881 file.
8882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8883 file.
8884 multiarch llround for PPC64.
8885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8886 multiarch round for PPC64.
8887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8888 multiarch roundf for PPC64.
8889
8890 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8891 multiarch implementation.
8892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8893 file.
8894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8895 file.
8896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8897 file.
8898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8899 file.
8900 multiarch llround for PPC64.
8901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8902 multiarch floor for PPC64.
8903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8904 multiarch floorf for PPC64.
8905
8906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8907 multiarch implementation.
8908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8909 file.
8910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8911 file.
8912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8913 file.
8914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8915 file.
8916 multiarch llround for PPC64.
8917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8918 multiarch ceil for PPC64.
8919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8920 multiarch ceilf for PPC64.
8921
8922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8923 multiarch implementation.
8924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8925 file.
8926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8927 file.
8928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8929 file.
8930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8931 multiarch llround for PPC64.
8932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8933 multiarch lround for PPC64.
8934
8935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8936 multiarch implementation.
8937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8940 file.
8941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8944 multiarch isnan for PPC64.
8945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8946 multiarch isnanf for PPC64.
8947
8948 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8949 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8950 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8951 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8952 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8954
8955 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8956 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8957 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8958 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8959
8960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8961 multiarch implementations.
8962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8963 (__libc_ifunc_impl_list): Likewise.
8964 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8965 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8966 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8967 multiarch stpcpy for PPC64.
8968
8969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8970 multiarch implementations.
8971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8972 (__libc_ifunc_impl_list): Likewise.
8973 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8974 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8975 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8976 multiarch strcpy for PPC64.
8977
8978 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8979 redefine function name.
8980 (_wordcopy_fwd_dest_aligned): Likewise.
8981 (_wordcopy_bwd_aligned): Likewise.
8982 (_wordcopy_bwd_dest_aligned): Likewise.
8983 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8984 multiarch implementations.
8985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8986 (__libc_ifunc_impl_list): Likewise.
8987 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8988 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8989 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8990 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8991 multiarch wcscpy for PPC64.
8992
8993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8994 multiarch implementations.
8995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8996 (__libc_ifunc_impl_list): Likewise.
8997 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8998 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8999 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9000 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9001 multiarch wcscpy for PPC64.
9002
9003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9004 multiarch implementations.
9005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9006 (__libc_ifunc_impl_list): Likewise.
9007 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9008 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9009 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9010 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9011 multiarch wcsrchr for PPC64.
9012
9013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9014 multiarch implementations.
9015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9016 (__libc_ifunc_impl_list): Likewise.
9017 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9018 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9019 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9020 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9021 multiarch wcschr for PPC64.
9022
9023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9024 multiarch implementations.
9025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9026 (__libc_ifunc_impl_list): Likewise.
9027 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9028 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9029 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9030 multiarch strchrnul for PPC64.
9031
9032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9033 implementations.
9034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9035 (__libc_ifunc_impl_list): Likewise.
9036 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9037 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9038 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9039 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9040 strchr for PPC64.
9041
9042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9043 implementations.
9044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9045 (__libc_ifunc_impl_list): Likewise.
9046 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9047 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9048 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9049 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9050 strncmp for PPC64.
9051
9052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9053 multiarch implementations.
9054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9055 (__libc_ifunc_impl_list): Likewise.
9056 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9057 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9058 strncasecmp for PPC64.
9059 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9060 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9061 multiarch strncasecmp_l for PPC64.
9062
9063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9064 multiarch implementations.
9065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9066 (__libc_ifunc_impl_list): Likewise.
9067 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9068 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9069 multiarch strcasecmp for PPC64.
9070 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9071 file.
9072 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9073 multiarch strcasecmp_l for PPC64.
9074
9075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9076 implementations.
9077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9078 (__libc_ifunc_impl_list): Likewise.
9079 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9080 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9081 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9082 strnlen for PPC64.
9083
9084 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9085 implementations.
9086 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9087 (__libc_ifunc_impl_list): Likewise.
9088 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9089 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9090 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9091 strlen for PPC64.
9092
9093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9094 implementations.
9095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9096 (__libc_ifunc_impl_list): Likewise.
9097 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9098 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9099 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9100 rawmemrchr for PPC64.
9101
9102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9103 implementation.
9104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9105 (__libc_ifunc_impl_list): Likewise.
9106 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9107 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9108 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9109 memrchr for PPC64.
9110
9111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9112 implementation.
9113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9114 (__libc_ifunc_impl_list): Likewise.
9115 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9116 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9117 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9118 memchr for PPC64.
9119
9120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9121 implementation.
9122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9123 (__libc_ifunc_impl_list): Likewise.
9124 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9125 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9126 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9127 mempcpy for PPC64.
9128
9129 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9130 avoid cretion of __bzero symbol.
9131 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9132 Likewise.
9133 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9134 Likewise.
9135 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9136 Likewise.
9137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9138 multiarch implementations.
9139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9140 (__libc_ifunc_impl_list): Likewise.
9141 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9142 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9143 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9144 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9145 bzero for PPC32.
9146 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9147 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9148 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9149 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9150 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9151 memset for PPC64.
9152 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9153
9154 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9156 implementations.
9157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9158 (__libc_ifunc_impl_list): Likewise.
9159 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9160 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9161 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9162 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9163 memcmp for PPC64.
9164
9165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9166 multiarch for POWER/PPC64.
9167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9168 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9169 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9170 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9171 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9172 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9173 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9174 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9175 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9176 memcpy for PPC64.
9177
9178 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9179 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9180 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9181 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9182 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9183 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9184 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9185 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9186 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9187 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9188 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9189 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9190 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9191 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9192 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9200
92012013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9202
9203 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9204
92052013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9206
9207 * benchtests/Makefile (bench): Add exp2 and log2.
9208 (LDLIBS-bench-exp2): Add -lm.
9209 (LDLIBS-bench-log2): Likewise.
9210 * benchtests/exp2-inputs: New inputs file.
9211 * benchtests/log2-inputs: New inputs file.
9212 * benchtests/log-inputs: Add new inputs.
9213 * benchtests/tan-inputs: Likewise.
9214
92152013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9216
9217 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9218 definition...
9219 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9220 (csloww2): ... from here.
9221
9222 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9223 instead of structures.
9224 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9225 (POLYNOMIAL): Likewise.
9226 (TAYLOR_SLOW): Likewise.
9227 (__sin): Likewise.
9228 (__cos): Likewise.
9229 (slow1): Likewise.
9230 (slow2): Likewise.
9231 (sloww): Likewise.
9232 (sloww1); Likewise.
9233 (sloww2): Likewise.
9234 (bsloww1): Likewise.
9235 (bsloww2): Likewise.
9236 (cslow2): Likewise.
9237 (csloww): Likewise.
9238 (csloww1): Likewise.
9239 (csloww2): Likewise.
9240
92412013-12-10 Ondřej Bílka <neleai@seznam.cz>
9242
9243 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9244 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9245 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9246 * malloc/hooks.c (realloc_check): Likewise.
9247
9248 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9249 * malloc/arena.c: Remove PER_THREAD conditional.
9250 [!PER_THREAD]: Remove code.
9251 (ptmalloc_unlock_all2): Likewise.
9252 (ptmalloc_init): Likewise.
9253 (_int_new_arena): Likewise.
9254 (arena_get2): Likewise.
9255 * malloc/hooks.c (__malloc_get_state): Likewise.
9256 (__malloc_set_state): Likewise.
9257 * malloc/malloc.c: Likewise.
9258 (struct malloc_state): Likewise.
9259 (struct malloc_par): Likewise.
9260 (__libc_realloc): Likewise.
9261 (__libc_mallopt): Likewise.
9262
92632013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9264
9265 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9266
92672013-12-09 Ondřej Bílka <neleai@seznam.cz>
9268
9269 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9270 macro to a function. Check for zero perturb_byte.
9271 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9272
9273 * malloc/malloc.c: (force_reg): Remove.
9274 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9275 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9276 force_reg by atomic_forced_read.
9277 * malloc/arena.c (ptmalloc_init): Likewise.
9278 * malloc/hooks.c (top_check): Likewise.
9279
92802013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9281
9282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9283
92842013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9285
9286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9287
92882013-12-08 Joseph Myers <joseph@codesourcery.com>
9289
9290 * math/auto-libm-test-in: Add tests of lgamma.
9291 * math/auto-libm-test-out: Regenerated.
9292 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9293 (M_LOG_2_SQRT_PIl): Likewise.
9294 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9295 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9296 mpfr_f_f1.
9297 (func_calc_desc): Add mpfr_f_f1 union field.
9298 (ARGS1): New macro.
9299 (ARGS2): Likewise.
9300 (ARGS3): Likewise.
9301 (ARGS4): Likewise.
9302 (RET1): Likewise.
9303 (RET2): Likewise.
9304 (CALC): Likewise.
9305 (FUNC): Likewise.
9306 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9307 (test_functions): Add lgamma.
9308 (calc_generic_results): Handle mpfr_f_f1.
9309 * sysdeps/i386/fpu/libm-test-ulps: Update.
9310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9311
93122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9313
9314 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9315 __mpn_add_n for PowerPC64/POWER7.
9316 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9317 __mpn_sub_n for PowerPC64/POWER7.
9318
9319 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9320 __mpn_addmul_1 for PowerPC64.
9321 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9322 __mpn_submul_1 for PowerPC64.
9323 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9324 for PowerPC64.
9325 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9326 for PowerPC64.
9327
93282013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9329
9330 [BZ #15089]
9331 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9332
93332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9334
9335 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9336
9337 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9338 add multiarch folders.
9339 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9340 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9341 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9342 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9343 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9344 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9345 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9346 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9347 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9348 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9349 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9356
9357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9358 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9360 New file.
9361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9362 New file.
9363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9364 multiarch __ieee754_hypot for PowerPC32.
9365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9366 New file.
9367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9368 New file.
9369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9370 multiarch __ieee754_hypotf for PowerPC32.
9371
9372 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9373 long_double_symbol only if __logbl is defined.
9374 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9375 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9376 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9377 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9378 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9379 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9380 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9381 path for implementation.
9382 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9383 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9385 logb, and logbl multiarch implementations for PowerPC32.
9386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9387 file.
9388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9389 file.
9390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9391 multiarch logb for PowerPC32.
9392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9393 file.
9394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9395 file.
9396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9397 multiarch logbf for PowerPC32.
9398 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9400 file.
9401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9402 multiarch logbl implementation for PowerPC32.
9403
9404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9405 and modff multiarch implementations.
9406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9407 New file.
9408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9409 New file.
9410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9411 multiarch modf for PowerPC32.
9412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9413 New file.
9414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9415 New file.
9416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9417 multiarch modff for PowerPC32.
9418
9419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9420 and lrintf multiarch implementations.
9421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9422 New file.
9423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9424 New file.
9425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9426 multiarch lrint for PowerPC32.
9427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9428 file: multiarch lrintf for PowerPC32.
9429
9430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9431 and lroundf multiarch implementations.
9432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9433 New file.
9434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9435 New file.
9436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9437 New file.
9438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9439 multiarch lround for PowerPC32.
9440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9441 file: multiarch lroundf for PowerPC32.
9442
9443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9444 copysign and copysignf multiarch implementations.
9445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9446 New file.
9447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9448 New file.
9449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9450 file: multiarch copysign for PowerPC32.
9451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9452 file: multiarch copysignf for PowerPC32.
9453
9454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9455 and truncf multiarch implementations.
9456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9457 New file.
9458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9459 file.
9460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9461 multiarch trunc for PowerPC32.
9462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9463 New file.
9464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9465 New file.
9466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9467 multiarch truncf for PowerPC32.
9468
9469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9470 and roundf multiarch implementations.
9471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9472 New file.
9473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9474 file.
9475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9476 multiarch round for PowerPC32.
9477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9478 New file.
9479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9480 New file.
9481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9482 multiarch roundf for PowerPC32.
9483
9484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9485 and floorf multiarch implementations.
9486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9487 New file.
9488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9489 file.
9490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9491 multiarch floor for PowerPC32.
9492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9493 New file.
9494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9495 New file.
9496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9497 multiarch floorf for PowerPC32.
9498
9499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9500 and ceilf multiarch implementations.
9501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9502 New file.
9503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9504 file.
9505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9506 multiarch ceil for PowerPC32.
9507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9508 New file.
9509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9510 file.
9511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9512 multiarch ceilf for PowerPC32.
9513
9514 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9515 is defined.
9516 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9517 FINITEF is defined.
9518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9519 and finitef multiarch implementations.
9520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9521 New file.
9522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9523 file.
9524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9525 multiarch finite for PowerPC32.
9526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9527 New file.
9528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9529 file: multiarch finitef for PowerPC32.
9530
9531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9532 and isinff multiarch implementations.
9533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9534 file.
9535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9536 file.
9537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9538 multiarch isinf for PowerPC32.
9539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9540 New file.
9541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9542 multiarch isinff for PowerPC32.
9543
9544 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9545 alias when __isnan is defined.
9546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9547 and isnanf multiarch implementations.
9548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9549 file.
9550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9551 file.
9552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9553 file.
9554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9555 file.
9556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9557 multiarch isnan for PowerPC32.
9558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9559 New file.
9560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9561 New file.
9562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9563 multiarch isnanf for PowerPC32.
9564
9565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9566 and sqrtf multiarch implementations.
9567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9568 file.
9569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9570 file.
9571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9572 multiarch sqrt for PowerPC32.
9573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9574 file.
9575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9576 file.
9577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9578 multiarch sqrtf for PowerPC32.
9579
9580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9581 and llroundf multiarch implementations.
9582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9583 New file.
9584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9585 New file.
9586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9587 New file.
9588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9589 file: multiarch llround for PowerPC32.
9590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9591 file: multiarch llroundf for PowerPC32.
9592
9593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9594 multiarch PowerPC32 fpu implementations.
9595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9596 New file.
9597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9598 New file.
9599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9600 multiarch llrint for PowerPC32.
9601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9602 New file.
9603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9604 New file.
9605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9606 file.
9607
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9609
9610 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9611 file.
9612 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9613 file.
9614 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9615 file.
9616 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9617 multiarch wordcopy for PPC32.
9618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9619 wordcopy objects.
9620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9621 (__libc_ifunc_impl_list): Likewise.
9622 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9623 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9624 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9625 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9626 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9627 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9628
9629 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9631 file.
9632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9633 file.
9634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9635 file.
9636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9637 multiarch wcscpy for PPC32.
9638 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9639 multiarch objects.
9640 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9641 (__libc_ifunc_impl_list): Likewise.
9642 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9643 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9644 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9645 sysdeps/powerpc/power6/wcscpy.c.
9646
9647 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9648 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9649 file.
9650 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9651 file.
9652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9653 file.
9654 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9655 multiarch wcsrchr for PPC32.
9656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9657 multiarch objects.
9658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9659 (__libc_ifunc_impl_list): Likewise.
9660 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9661 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9662 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9663 sysdeps/powerpc/power6/wcsrchr.c.
9664
9665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9666 file.
9667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9668 file.
9669 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9671 multiarch wcschr for PPc32.
9672 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9673 multiarch objects.
9674 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9675 (__libc_ifunc_impl_list): Likewise.
9676 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9677 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9678 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9679 sysdeps/powerpc/power6/wcschr.c.
9680
9681 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9682 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9683 file.
9684 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9685 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9686 file: multiarch strchr for PPC32.
9687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9688 multiarch objects.
9689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9690 (__libc_ifunc_impl_list): Likewise.
9691
9692 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9693 name.
9694 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9695 file.
9696 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9697 file.
9698 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9699 multiarch strchrnul for PPC32.
9700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9701 multiarch objects.
9702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9703 (__libc_ifunc_impl_list): Likewise.
9704
9705 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9706 file.
9707 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9708 multiarch strncasecmp for PPC32.
9709 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9710 file.
9711 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9712 multiarch strncasecmp_l for PPC32.
9713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9714 strncasecmp multiarch objects.
9715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9716 (__libc_ifunc_impl_list): Likewise.
9717
9718 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9719 file.
9720 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9721 multiarch strncasecmp for PPC32.
9722 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9723 New file.
9724 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9725 multiarch strcasecmp_l for PPC32.
9726 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9727 multiarch objects.
9728 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9729 (__libc_ifunc_impl_list): Likewise.
9730
9731 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9732 file.
9733 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9734 file.
9735 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9736 multiarch strncmp for PPC32.
9737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9738 multiarch objects.
9739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9740 (__libc_ifunc_impl_list): Likewise.
9741
9742 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9743 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9744 file.
9745 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9746 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9747 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9748 multiarch objects.
9749 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9750 (__libc_ifunc_impl_list): Likewise.
9751
9752 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9753 file.
9754 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9755 file.
9756 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9758 multiarch objects.
9759 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9760 (__libc_ifunc_impl_list): Likewise.
9761
9762 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9763 file.
9764 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9765 file.
9766 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9767 multiarch rawmemchr for PPC32.
9768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9769 multiarch objects.
9770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9771 (__libc_ifunc_impl_list): Likewise.
9772
9773 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9774 file.
9775 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9776 file.
9777 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9778 file: memrchr multiarch for PPC32.
9779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9780 multiarch objects.
9781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9782 (__libc_ifunc_impl_list): Likewise.
9783
9784 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9785 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9786 file.
9787 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9788 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9789 multiarch memchr for PPC32.
9790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9791 multiarch objects.
9792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9793 (__libc_ifunc_impl_list): Likewise.
9794
9795 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9796 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9797 file.
9798 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9799 file.
9800 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9801 file: multiarch mempcpy for PPC32.
9802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9803 multiarch objects.
9804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9805 (__libc_ifunc_impl_list): Likewise.
9806
9807 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9808 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9809 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9810 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9811 multiarch bzero for PPC32.
9812 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9813 file.
9814 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9815 file.
9816 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9817 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9818 file: multiarch memset for PPC32.
9819 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9821 memset multiarch objects.
9822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9823 (__libc_ifunc_impl_list): Likewise.
9824
9825 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9826 file.
9827 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9828 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9829 memcmp for PPC32.
9830 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9832 multiarch objects.
9833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9834 (__libc_ifunc_impl_list): Likewise.
9835
9836 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9837 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9838 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9839 file.
9840 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9841 file.
9842 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9843 file.
9844 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9845 multiarch memcpy for PPC32.
9846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9847 multiarch objects.
9848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9849 (__libc_ifunc_impl_list): Likewise.
9850
9851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9852 support multiarch for POWER/PPC32.
9853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9854 Likewise.
9855 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9857 Implies file to make multiarch folder appers before the fpu and
9858 default folder for power4 configuration.
9859
98602013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9861
9862 * scripts/bench.pl: Append volatile keyword to type.
9863
98642013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9865
9866 * sysdeps/sh/sotruss-lib.c: New file.
9867 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9868
98692013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9870
9871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9872
98732013-12-05 Joseph Myers <joseph@codesourcery.com>
9874
9875 [BZ #6810]
9876 * math/w_tgamma.c: Include <errno.h>.
9877 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9878 * math/w_tgammaf.c: Include <errno.h>.
9879 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9880 * math/w_tgammal.c: Include <errno.h>.
9881 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9882 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9883 underflow. Add more tgamma tests.
9884 * math/auto-libm-test-out: Regenerated.
9885 * sysdeps/i386/fpu/libm-test-ulps: Update.
9886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9887
9888 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9889 sin, sinh, tan, tanh, tgamma, y0 and y1.
9890 * math/auto-libm-test-out: Regenerated.
9891 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9892 (TEST_COND_x86): Likewise.
9893 (M_E2l): Remove macro.
9894 (M_E3l): Likewise.
9895 (M_2_SQRT_PIl): Likewise.
9896 (M_SQRT_PIl): Likewise.
9897 (M_1_DIV_El): Likewise.
9898 (log_test_data): Use AUTO_TESTS_f_f.
9899 (log10_test_data): Likewise.
9900 (log1p_test_data): Likewise.
9901 (log2_test_data): Likewise.
9902 (sin_test_data): Likewise.
9903 (sin_tonearest_test_data): Likewise.
9904 (sin_towardzero_test_data): Likewise.
9905 (sin_downward_test_data): Likewise.
9906 (sin_upward_test_data): Likewise.
9907 (sinh_test_data): Likewise.
9908 (sinh_tonearest_test_data): Likewise.
9909 (sinh_towardzero_test_data): Likewise.
9910 (sinh_downward_test_data): Likewise.
9911 (sinh_upward_test_data): Likewise.
9912 (tan_test_data): Likewise.
9913 (tan_tonearest_test_data): Likewise.
9914 (tan_towardzero_test_data): Likewise.
9915 (tan_downward_test_data): Likewise.
9916 (tan_upward_test_data): Likewise.
9917 (tanh_test_data): Likewise.
9918 (tgamma_test_data): Likewise.
9919 (y0_test_data): Likewise.
9920 (y1_test_data): Likewise.
9921 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9922 (special_real_inputs): Add pi/4.
9923 * sysdeps/i386/fpu/libm-test-ulps: Update.
9924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9925
99262013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9927
9928 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9929 "longjmp_target" static probes.
9930 (__longjmp): Rename to __longjmp_symbol.
9931 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9932 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9933 on which longjmp to generate.
9934 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9935 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9936 probe.
9937 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9938 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9939 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9940 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9941 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9942 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9944 __longjmp_symbol based on which __longjmp to generate.
9945 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9946 probe.
9947 (setjmp): Rename to setjmp_symbol.
9948 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9949 (_setjmp): Rename to _setjmp_symbol.
9950 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9951 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9952 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9953 which setjmp to generate.
9954 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9955 "longjmp_target" static probes.
9956
99572013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9958
9959 * benchtests/README: Add note about output arguments.
9960 * benchtests/bench-sincos.c: Remove file.
9961 * benchtests/sincos-inputs: New file.
9962 * scripts/bench.pl: Identify output arguments and define
9963 static variables for them.
9964
9965 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9966
9967 [BZ #15941]
9968 * Makefile (INSTALL): Add install-plain.texi as the primary
9969 dependency.
9970 * manual/install-plain.texi: New file.
9971 * manual/install.texi: Include node directive only for
9972 non-plaintext output.
9973
99742013-12-04 Joseph Myers <joseph@codesourcery.com>
9975
9976 * stdlib/longlong.h: Update from GCC.
9977
9978 [BZ #6807]
9979 [BZ #15901]
9980 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9981 * math/w_j0f.c (y0f): Likewise.
9982 * math/w_j0l.c (__y0l): Likewise.
9983 * math/w_j1.c (y1): Likewise.
9984 * math/w_j1f.c (y1f): Likewise.
9985 * math/w_j1l.c (__y1l): Likewise
9986 * math/w_jn.c (yn): Likewise.
9987 * math/w_jnf.c (ynf): Likewise.
9988 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9989 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9990 value for Bessel function domain errors outside _SVID_ mode.
9991 Adjust sign of return value for yn (negative integer, 0).
9992 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9993 by zero in return for negative x and set sign appropriately for
9994 negative n.
9995 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9996 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9997 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9998 expectations in error cases.
9999 (y1_test_data): Likewise.
10000 (yn_test_data): Likewise.
10001 * sysdeps/i386/fpu/libm-test-ulps: Update.
10002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10003
100042013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10005
10006 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10007 "64" to "64-v1". Add "64-v2".
10008 (abi-64-options): Rename to ...
10009 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10010 (abi-64-condition): Rename to ...
10011 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10012 (abi-64-ld-soname): Rename to ...
10013 (abi-64-v1-ld-soname): ... this.
10014 (abi-64-v2-options): Define.
10015 (abi-64-v2-condition): Likewise.
10016 (abi-64-v2-ld-soname): Likewise.
10017 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10018 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10022
100232013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10024 Alan Modra <amodra@gmail.com>
10025
10026 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10027 New versions for use with the ELFv2 ABI.
10028 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10029 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10030 declaration.
10031 (struct La_ppc64v2_retval): Likewise.
10032 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10033 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10034 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10035 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10036 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10037 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10038 Do not save or restore CR.
10039 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10040 (_dl_profile_resolve): Do no save or restore CR. Support extended
10041 return values for ELFv2 ABI. Fix location of FPR return registers.
10042 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10043 updated values for _CALL_ELF == 2.
10044 (La_regs, La_retval, int_retval): Likewise.
10045
100462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10047
10048 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10049 (FRAME_MIN_SIZE_PARM): Likewise.
10050 (FRAME_BACKCHAIN): Likewise.
10051 (FRAME_CR_SAVE): Likewise.
10052 (FRAME_LR_SAVE): Likewise.
10053 (FRAME_TOC_SAVE): Likewise.
10054 (FRAME_PARM_SAVE): Likewise.
10055 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10056 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10057 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10058 (call_mcount_parm_offset): New macro.
10059 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10060 (PROF): Use symbolic stack frame offsets.
10061 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10062 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10063 Redefine in terms of FRAME_MIN_SIZE.
10064 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10065 (_dl_profile_resolve): Likewise. Update comment.
10066 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10067 symbols stack frame offsets.
10068 (__sigsetjmp): Likewise.
10069 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10070 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10071 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10072 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10073
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10075 (FRAME_BACKCHAIN): Remove.
10076 (FRAME_CR_SAVE): Likewise.
10077 (FRAME_LR_SAVE): Likewise.
10078 (FRAME_COMPILER_DW): Likewise.
10079 (FRAME_LINKER_DW): Likewise.
10080 (FRAME_TOC_SAVE): Likewise.
10081 (FRAME_PARM_SAVE): Likewise.
10082 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10083 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10084 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10086 (CHECK_SP): Use symbolic stack frame offsets.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10088 zone" instead of caller's parameter save area for temp storage.
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10090 Likewise. Also, use symbolic stack frame offsets.
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10092 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10093 our own stack frame instead of the caller's.
10094 (__socket): Use symbolic stack frame offsets.
10095
100962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10097 Alan Modra <amodra@gmail.com>
10098
10099 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10100 Define.
10101 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10102 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10103 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10104 New function.
10105 (elf_machine_fixup_plt): Call it.
10106 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10107 reloc arguments.
10108 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10109 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10110 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10111 r2 before calling target.
10112
101132013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10114 Alan Modra <amodra@gmail.com>
10115
10116 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10117 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10118 versions of macros to support ELFv2 ABI.
10119 (LOCALENTRY): New macro.
10120 (ENTRY, EALIGN): Use it.
10121 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10122 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10123 fall through into ENTRY entry point.
10124 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10125 Only define if _CALL_ELF != 2.
10126
10127 (elf_machine_matches_host): Verify ABI version matches.
10128 (RTLD_START): Use LOCALENTRY.
10129 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10130 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10131 (PLT_ENTRY_WORDS): New macro.
10132 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10133 (elf_machine_runtime_setup): Support ELFv2 ABI.
10134 (elf_machine_fixup_plt): Likewise.
10135 (elf_machine_plt_conflict): Likewise.
10136 (resolve_ifunc): Likewise.
10137 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10138 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10139 Likewise.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10141 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10143 (makecontext): Support ELFv2 ABI.
10144 * elf/elf.h (EF_PPC64_ABI): Define.
10145
101462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10147
10148 * sysdeps/powerpc/powerpc64/sysdep.h
10149 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10150 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10151 (ENTRY) [ASSEMBLER]: ... but instead here ...
10152 (EALIGN) [ASSEMBLER]: ... and here.
10153 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10154 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10155 (ENTRY_2) [!ASSEMBLER]: Use it.
10156 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10157 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10158 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10159 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10160 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10162 Use PPC64_LOAD_FUNCPTR.
10163
10164 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10165
101662013-12-04 Alan Modra <amodra@gmail.com>
10167
10168 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10169 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10170 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10171 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10172
10173 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10174 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10175 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10176 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10177 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10178 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10179
101802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10181
10182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10183 (__makecontext): Fix incorrect CFI when backtracing out of
10184 context created via makecontext.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10186 (__setcontext): Fix incorrect CFI during switch to new context.
10187 (__novec_setcontext): Likewise.
10188
101892013-12-04 Ondřej Bílka <neleai@seznam.cz>
10190
10191 [BZ #4772]
10192 * time/strptime_l.c (__strptime_internal): Allow modifiers
10193 in strptime.
10194 * time/tst-strptime.c (day_tests): Add testcase.
10195
101962013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10197
10198 * scripts/bench.pl: Skip over blank lines.
10199
102002013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10201
10202 [BZ #926]
10203 * manual/time.texi (Calendar Time): Clarify what timezone functions
10204 use.
10205
102062013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10207
10208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10209
102102013-12-04 Ondřej Bílka <neleai@seznam.cz>
10211
10212 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10213 implementation.
10214 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10215 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10216 * debug/memset_chk.c (__memset_chk): Likewise.
10217 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10218 * debug/strncpy_chk.c: Likewise.
10219
102202013-12-03 Joseph Myers <joseph@codesourcery.com>
10221
10222 [BZ #15268]
10223 [BZ #15425]
10224 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10225 (__ieee754_exp): For possibly underflowing results, check size of
10226 result and force underflow exception if required.
10227 * math/auto-libm-test-in: Add more tests of exp.
10228 * math/auto-libm-test-out: Regenerated.
10229 * sysdeps/i386/fpu/libm-test-ulps: Update.
10230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10231
10232 [BZ #16283]
10233 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10234 * math/w_exp2f.c (__exp2f): Likewise.
10235 * math/w_exp2l.c (__exp2l): Likewise.
10236 * math/auto-libm-test-in: Do not allow missing errno on exp2
10237 underflow.
10238 * math/auto-libm-test-out: Regenerated.
10239
102402013-12-03 Ondřej Bílka <neleai@seznam.cz>
10241
10242 [BZ #16274]
10243 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10244 handle filename validation.
10245 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10246 (do_open): Delete.
10247
102482013-12-03 Joseph Myers <joseph@codesourcery.com>
10249
10250 [BZ #6786]
10251 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10252 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10253 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10254 <float.h>.
10255 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10256 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10257 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10259 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10260 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10261 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10262 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10263 Add more erfc tests.
10264 * math/auto-libm-test-out: Regenerated.
10265 * sysdeps/i386/fpu/libm-test-ulps: Update.
10266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10267
10268 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10269 exp2, expm1, j0 and j1.
10270 * math/auto-libm-test-out: Regenerated.
10271 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10272 (erfc_test_data): Likewise.
10273 (exp_test_data): Likewise.
10274 (exp_tonearest_test_data): Likewise.
10275 (exp_towardzero_test_data): Likewise.
10276 (exp_downward_test_data): Likewise.
10277 (exp_upward_test_data): Likewise.
10278 (exp10_test_data): Likewise.
10279 (exp2_test_data): Likewise.
10280 (expm1_test_data): Likewise.
10281 (j0_test_data): Likewise.
10282 (j1_test_data): Likewise.
10283 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10284 (input_flag_type): Add flag_xfail_rounding.
10285 (input_flags): Add xfail-rounding.
10286 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10287 (output_for_one_input_case): Handle flag_xfail_rounding.
10288 * sysdeps/i386/fpu/libm-test-ulps: Update.
10289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10290
102912013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10292
10293 [BZ #16289]
10294 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10295 division by 0.
10296
102972013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10298
10299 [BZ #16195]
10300 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10301 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10302 (STAP_PROBE0): New macro.
10303 (STAP_PROBE1): Likewise.
10304 (STAP_PROBE2): Likewise.
10305 (STAP_PROBE3): Likewise.
10306 (STAP_PROBE4): Likewise.
10307
103082013-12-02 Ondřej Bílka <neleai@seznam.cz>
10309
10310 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10311
103122013-12-02 Steve Ellcey <sellcey@mips.com>
10313
10314 * benchtests/Makefile (bench): Add sqrt.
10315 (LDLIBS-bench-sqrt): New.
10316 * benchtests/sqrt-input: New.
10317
103182013-12-02 Pavel Simerda <psimerda@redhat.com>
10319
10320 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10321 (GAIH_EAI): Likewise.
10322 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10323 (gaih_inet): Likewise.
10324 (getaddrinfo): Don't use GAIH_EAI.
10325
10326 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10327 (struct gaih): Remove definition.
10328
103292013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10330
10331 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10332 Use HERRNOP directly.
10333
103342013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10335
10336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10337
103382013-11-30 Joseph Myers <joseph@codesourcery.com>
10339
10340 * math/gen-auto-libm-tests.c (test_functions): Add more
10341 single-argument functions.
10342 (special_fill_pi_2): New function.
10343 (special_fill_minus_pi_2): Likewise.
10344 (special_fill_pi_6): Likewise.
10345 (special_fill_minus_pi_6): Likewise.
10346 (special_fill_pi_3): Likewise.
10347 (special_fill_2pi_3): Likewise.
10348 (special_fill_e): Likewise.
10349 (special_fill_1_e): Likewise.
10350 (special_fill_e_minus_1): Likewise.
10351 (special_real_inputs): Add more special inputs.
10352 (output_for_one_input_case): Do not require ERANGE on underflow to
10353 zero if round-to-nearest result does not underflow to zero, unless
10354 exact results required.
10355 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10356 atan, atanh, cbrt, cos and cosh.
10357 * math/auto-libm-test-out: Regenerated.
10358 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10359 (acos_tonearest_test_data): Likewise.
10360 (acos_towardzero_test_data): Likewise.
10361 (acos_downward_test_data): Likewise.
10362 (acos_upward_test_data): Likewise.
10363 (acosh_test_data): Likewise.
10364 (asin_test_data): Likewise.
10365 (asin_tonearest_test_data): Likewise.
10366 (asin_towardzero_test_data): Likewise.
10367 (asin_upward_test_data): Likewise.
10368 (asinh_test_data): Likewise.
10369 (atan_test_data): Likewise.
10370 (atanh_test_data): Likewise.
10371 (cbrt_test_data): Likewise.
10372 (cos_test_data): Likewise.
10373 (cos_tonearest_test_data): Likewise.
10374 (cos_towardzero_test_data): Likewise.
10375 (cos_downward_test_data): Likewise.
10376 (cos_upward_test_data): Likewise.
10377 (cosh_test_data): Likewise.
10378 (cosh_tonearest_test_data): Likewise.
10379 (cosh_towardzero_test_data): Likewise.
10380 (cosh_downward_test_data): Likewise.
10381 (cosh_upward_test_data): Likewise.
10382 * sysdeps/i386/fpu/libm-test-ulps: Update.
10383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10384
103852013-11-29 Joseph Myers <joseph@codesourcery.com>
10386
10387 [BZ #6787]
10388 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10389 * math/w_exp10f.c (__exp10f): Likewise.
10390 * math/w_exp10l.c (__exp10l): Likewise.
10391 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10392 errno settings in existing tests.
10393
10394 [BZ #14032]
10395 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10396 precision control set to double precision.
10397 * sysdeps/i386/fpu/w_sqrt.c: New file.
10398 * math/auto-libm-test-in: Add more tests.
10399 * math/auto-libm-test-out: Update.
10400
10401 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10402 (sqrt_test_tonearest): New function.
10403 (sqrt_towardzero_test_data): New variable.
10404 (sqrt_test_towardzero): New function.
10405 (sqrt_downward_test_data): New variable.
10406 (sqrt_test_downward): New function.
10407 (sqrt_upward_test_data): New variable.
10408 (sqrt_test_upward): New function.
10409 (main): Call the new functions.
10410
10411 * math/gen-auto-libm-tests.c: New file.
10412 * math/auto-libm-test-in: Likewise.
10413 * math/auto-libm-test-out: New generated file.
10414 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10415 variables.
10416 (%beautify): Add generated representations of zero.
10417 (top level): Set $auto_input and call parse_auto_input.
10418 (beautify): Remove trailing "f" from hex float constants.
10419 (parse_args): Handle XFAIL_TEST.
10420 (convert_condition): New function.
10421 (or_value): Likewise.
10422 (or_cond_value): Likewise.
10423 (generate_testfile): Handle AUTO_TESTS_* lines.
10424 (parse_auto_input): New function.
10425 * math/libm-test.inc (XFAIL_TEST): New macro.
10426 (ERRNO_UNCHANGED): Update value.
10427 (ERRNO_EDOM): Likewise.
10428 (ERRNO_ERANGE): Likewise.
10429 (IGNORE_RESULT): Likewise.
10430 (TEST_COND_flt_32): New macro.
10431 (TEST_COND_dbl_64): Likewise.
10432 (TEST_COND_ldbl_96_intel): Likewise.
10433 (TEST_COND_ldbl_96_m68k): Likewise.
10434 (TEST_COND_ldbl_128): Likewise.
10435 (TEST_COND_ldbl_128ibm): Likewise.
10436 (TEST_COND_long32): Likewise.
10437 (TEST_COND_long64): Likewise.
10438 (TEST_COND_before_rounding): Likewise.
10439 (TEST_COND_after_rounding): Likewise.
10440 (enable_test): Handle XFAIL_TEST flag.
10441 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10442 with finite results.
10443 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10444 auto-libm-test-out.
10445
104462013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10447 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10448
10449 [BZ #16214]
10450 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10451 __tls_get_addr_internal instead of __tls_get_offset in order to
10452 avoid GOT pointer dependency. Make rtld export
10453 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10454 __tls_get_addr since we are a __tls_get_offset platform.
10455 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10456 GOT pointer being set up before.
10457 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10458
104592013-11-28 Joseph Myers <joseph@codesourcery.com>
10460
10461 * manual/math.texi (Errors in Math Functions): Document accuracy
10462 goals.
10463
10464 [BZ #15004]
10465 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10466 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10467 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10469 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10471 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10472 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10473 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10474 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10476 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10481
10482 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10483 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10484 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10485 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10486 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10487 Likewise.
10488 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10489 Likewise.
10490 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10491 Likewise.
10492 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10493 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10494 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10495 atomic-feupdateenv and flt-rounds.
10496 * sysdeps/powerpc/nofpu/Versions (libc): Add
10497 __atomic_feholdexcept, __atomic_feclearexcept,
10498 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10499 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10500 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10501 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10502 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10503 here.
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10505 Update.
10506
10507 * manual/arith.texi (FP Exceptions): Document that exceptions may
10508 not be raised when matherr is used.
10509 (Math Error Reporting): Document overflow in directed rounding
10510 modes. Document that errno may not be set when finite values are
10511 returned on overflow. Document intent to set errno on underflow
10512 only for underflow to zero.
10513
10514 [BZ #16271]
10515 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10516 round-to-nearest then adjust result for other rounding modes.
10517 * include/fenv.h (fegetround): Use libm_hidden_proto.
10518 * math/fegetround.c (fegetround): Use libm_hidden_def.
10519 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10520 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10521 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10522 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10523 Likewise.
10524 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10525 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10526 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10527 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10528
105292013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10530
10531 [BZ #16077]
10532 * nss/Versions (libnss_files): Add
10533 _nss_files_gethostbyname3_r.
10534 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10535 New function.
10536 (HOST_DB_LOOKUP): Remove macro.
10537 (_nss_files_gethostbyname_r): Implement function without the
10538 HOST_DB_LOOKUP macro.
10539 (_nss_files_gethostbyname2_r): Likewise.
10540
105412013-11-28 Ondřej Bílka <neleai@seznam.cz>
10542
10543 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10544
105452013-11-26 Uros Bizjak <ubizjak@gmail.com>
10546
10547 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10548 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10549 warning.
10550
105512013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10552
10553 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10554 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10555 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10556 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10557 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10558 __fe_nomask_env_priv and attribute_hidden.
10559 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10560 (libc_feupdateenv_test_ppc): Likewise.
10561 (libc_feresetround_ppc): Likewise.
10562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10563 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10564 compat_symbol macro.
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10566 (__fe_nomask_env): Likewise.
10567 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10568
105692013-11-26 Ondřej Bílka <neleai@seznam.cz>
10570
10571 * string/Makefile: Remove ifunc tests.
10572 * string/test-string.h: Define TEST_IFUNC.
10573 * string/test-bcopy-ifunc.c: Remove.
10574 * string/test-bzero-ifunc.c: Likewise.
10575 * string/test-memccpy-ifunc.c: Likewise.
10576 * string/test-memchr-ifunc.c: Likewise.
10577 * string/test-memcmp-ifunc.c: Likewise.
10578 * string/test-memcpy-ifunc.c: Likewise.
10579 * string/test-memmem-ifunc.c: Likewise.
10580 * string/test-memmove-ifunc.c: Likewise.
10581 * string/test-mempcpy-ifunc.c: Likewise.
10582 * string/test-memrchr-ifunc.c: Likewise.
10583 * string/test-memset-ifunc.c: Likewise.
10584 * string/test-rawmemchr-ifunc.c: Likewise.
10585 * string/test-stpcpy-ifunc.c: Likewise.
10586 * string/test-stpncpy-ifunc.c: Likewise.
10587 * string/test-strcasecmp-ifunc.c: Likewise.
10588 * string/test-strcasestr-ifunc.c: Likewise.
10589 * string/test-strcat-ifunc.c: Likewise.
10590 * string/test-strchr-ifunc.c: Likewise.
10591 * string/test-strchrnul-ifunc.c: Likewise.
10592 * string/test-strcmp-ifunc.c: Likewise.
10593 * string/test-strcpy-ifunc.c: Likewise.
10594 * string/test-strcspn-ifunc.c: Likewise.
10595 * string/test-strlen-ifunc.c: Likewise.
10596 * string/test-strncasecmp-ifunc.c: Likewise.
10597 * string/test-strncat-ifunc.c: Likewise.
10598 * string/test-strncmp-ifunc.c: Likewise.
10599 * string/test-strncpy-ifunc.c: Likewise.
10600 * string/test-strnlen-ifunc.c: Likewise.
10601 * string/test-strpbrk-ifunc.c: Likewise.
10602 * string/test-strrchr-ifunc.c: Likewise.
10603 * string/test-strspn-ifunc.c: Likewise.
10604 * string/test-strstr-ifunc.c: Likewise.
10605
106062013-11-26 Ondřej Bílka <neleai@seznam.cz>
10607
10608 * benchtests/Makefile: Remove ifunc tests.
10609 * benchtests/bench-string.h: Define TEST_IFUNC.
10610 * benchtests/bench-bcopy-ifunc.c: Remove.
10611 * benchtests/bench-bzero-ifunc.c: Likewise.
10612 * benchtests/bench-memccpy-ifunc.c: Likewise.
10613 * benchtests/bench-memchr-ifunc.c: Likewise.
10614 * benchtests/bench-memcmp-ifunc.c: Likewise.
10615 * benchtests/bench-memcpy-ifunc.c: Likewise.
10616 * benchtests/bench-memmem-ifunc.c: Likewise.
10617 * benchtests/bench-memmove-ifunc.c: Likewise.
10618 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10619 * benchtests/bench-memrchr-ifunc.c: Likewise.
10620 * benchtests/bench-memset-ifunc.c: Likewise.
10621 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10622 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10623 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10624 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10625 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10626 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10627 * benchtests/bench-strcat-ifunc.c: Likewise.
10628 * benchtests/bench-strchr-ifunc.c: Likewise.
10629 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10630 * benchtests/bench-strcmp-ifunc.c: Likewise.
10631 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10632 * benchtests/bench-strcpy-ifunc.c: Likewise.
10633 * benchtests/bench-strcspn-ifunc.c: Likewise.
10634 * benchtests/bench-strlen-ifunc.c: Likewise.
10635 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10636 * benchtests/bench-strncat-ifunc.c: Likewise.
10637 * benchtests/bench-strncmp-ifunc.c: Likewise.
10638 * benchtests/bench-strncpy-ifunc.c: Likewise.
10639 * benchtests/bench-strnlen-ifunc.c: Likewise.
10640 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10641 * benchtests/bench-strrchr-ifunc.c: Likewise.
10642 * benchtests/bench-strsep-ifunc.c: Likewise.
10643 * benchtests/bench-strspn-ifunc.c: Likewise.
10644 * benchtests/bench-strstr-ifunc.c: Likewise.
10645
106462013-11-26 Ondřej Bílka <neleai@seznam.cz>
10647
10648 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10649
106502013-11-26 Ondřej Bílka <neleai@seznam.cz>
10651
10652 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10653 * rt/aio.h: Likewise.
10654 * sysdeps/gnu/bits/utmp.h: Likewise.
10655 * sysdeps/gnu/bits/utmpx.h: Likewise.
10656 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10657 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10658 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10659 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10660 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10661 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10662 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10663 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10664 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10665 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10666 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10667 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10668 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10670 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10671 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10672 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10673 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10674 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10675 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10676 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10677 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10678 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10679 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10680 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10682 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10683 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10684 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10685 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10686 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10687 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10688 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10689 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10690 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10691 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10692 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10693 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10694 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10695 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10696 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10697 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10698
106992013-11-25 Carlos O'Donell <carlos@redhat.com>
10700
10701 [BZ #16245]
10702 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10703 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10704
107052013-11-25 Joseph Myers <joseph@codesourcery.com>
10706
10707 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10708 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10709 Likewise.
10710
107112013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10712
10713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10714 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10715 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10716 (__fesetround): Remove define.
10717 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10718 rounding and exceptions handling.
10719 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10720 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10721 (__fe_nomask_env): Likewise.
10722 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10723 __fegetround instead of fegetround.
10724 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10725 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10726
107272013-11-21 Roland McGrath <roland@hack.frob.com>
10728
10729 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10730 it's there.
10731
10732 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10733
107342013-11-21 Meador Inge <meadori@codesourcery.com>
10735
10736 [BZ #11157]
10737 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10738 (encrypt_r): Likewise.
10739 * malloc/obstack.h (obstack_free): Likewise.
10740 * posix/unistd.h (encrypt): Likewise.
10741
107422013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10743
10744 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10745 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10746 DL_CALL_DT_FINI() that call the functions directly.
10747 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10748 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10749 * elf/dl-fini.c: Likewise.
10750
107512013-11-20 Ondřej Bílka <neleai@seznam.cz>
10752
10753 * malloc/hooks.c (memalign_check): Add alignment rounding.
10754 * malloc/malloc.c (_mid_memalign): New function.
10755 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10756 Implement by calling _mid_memalign.
10757 * manual/probes.texi (Memory Allocation Probes): Remove
10758 memory_valloc_retry and memory_pvalloc_retry.
10759
107602013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10761
10762 * locale/programs/locarchive.c (open_archive): Add const
10763 qualifier to ARCHIVEFNAME and copy default fname to
10764 DEFAULT_FNAME.
10765
10766 [BZ #15601]
10767 * libio/tst-widetext.input: Rename Oriya to Odia.
10768 * locale/iso-639.def: Likewise.
10769
10770 * manual/probes.texi (Mathematical Function Probes): Add
10771 documentation for sin, cos, asin and acos probes.
10772 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10773 (__sin32): Add slowasin probe.
10774 (__cos32): Add slowacos probe.
10775 (__mpsin): Add slowsin probe.
10776 (__mpcos): Add slowcos probe.
10777
107782013-11-19 Joseph Myers <joseph@codesourcery.com>
10779
10780 [BZ #15483]
10781 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10782 thread-local __sim_exceptions_thread and global
10783 __sim_exceptions_global.
10784 (__sim_disabled_exceptions): Change to thread-local
10785 __sim_disabled_exceptions_thread and global
10786 __sim_disabled_exceptions_global.
10787 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10788 and global __sim_round_mode_global.
10789 (__simulate_exceptions): Use thread-local floating-point state and
10790 set global state from it as needed.
10791 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10792 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10793 __sim_round_mode_thread.
10794 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10795 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10796 and global __sim_exceptions_global.
10797 (__sim_disabled_exceptions): Change to thread-local
10798 __sim_disabled_exceptions_thread and global
10799 __sim_disabled_exceptions_global.
10800 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10801 and global __sim_round_mode_global.
10802 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10803 (SIM_SET_GLOBAL): Likewise.
10804 * sysdeps/powerpc/soft-fp/sfp-machine.h
10805 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10806 __sim_round_mode_thread.
10807 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10808 __sim_disabled_exceptions_thread.
10809 (__sim_exceptions): Change to __sim_exceptions_thread.
10810 (__sim_disabled_exceptions): Change to
10811 __sim_disabled_exceptions_thread.
10812 (__sim_round_mode): Change to __sim_round_mode_thread.
10813 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10814 thread-local floating-point state and set global state from it as
10815 needed.
10816 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10817 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10818 (__sim_disabled_exceptions): Remove extern declaration.
10819 (feenableexcept): Use thread-local floating-point state and set
10820 global state from it as needed.
10821 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10822 extern declaration.
10823 (__sim_disabled_exceptions): Likewise.
10824 (__sim_round_mode): Likewise.
10825 (__fegetenv): Use thread-local floating-point state.
10826 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10827 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10828 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10829 floating-point state and set global state from it as needed.
10830 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10831 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10832 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10833 Likewise.
10834 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10835 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10836 Likewise.
10837 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10838 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10839 Use __sim_round_mode_thread.
10840 * math/test-fenv-tls.c: New file.
10841 * math/Makefile (tests): Add test-fenv-tls.
10842 ($(objpfx)test-fenv-tls): Depend on
10843 $(common-objpfx)nptl/libpthread.so.
10844
108452013-11-19 Andreas Schwab <schwab@suse.de>
10846
10847 * locale/programs/locale.c (show_info): Decode wordarray elements.
10848 * locale/categories.def (LC_MONETARY): Add element for
10849 _NL_MONETARY_CRNCYSTR.
10850 * locale/C-monetary.c (conversion_rate): New variable.
10851 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10852 element.
10853
108542013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10855
10856 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10857 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10858
108592013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10860
10861 * elf/Makefile (tst-auxv): New test.
10862 * elf/tst-auxv.c: New
10863 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10864
108652013-11-18 Joseph Myers <joseph@codesourcery.com>
10866
10867 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10868 (hidden_proto): Caller changed.
10869 (hidden_tls_proto): New macro.
10870 (libc_hidden_tls_proto): Likewise.
10871 (rtld_hidden_tls_proto): Likewise.
10872 (libm_hidden_tls_proto): Likewise.
10873 (libresolv_hidden_tls_proto): Likewise.
10874 (librt_hidden_tls_proto): Likewise.
10875 (libdl_hidden_tls_proto): Likewise.
10876 (libnss_files_hidden_tls_proto): Likewise.
10877 (libnsl_hidden_tls_proto): Likewise.
10878 (libnss_nisplus_hidden_tls_proto): Likewise.
10879 (libutil_hidden_tls_proto): Likewise.
10880
108812013-11-18 Ondřej Bílka <neleai@seznam.cz>
10882
10883 [BZ #10253]
10884 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10885 (decompose_rpath): Defer expansion to fillin_rpath.
10886 (_dl_init_paths): Pass linkmap to fillin_rpath.
10887
108882013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10889
10890 * benchtests/Makefile: Add strsep.
10891 * benchtests/bench-strsep.c: New file: strsep benchtest.
10892 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10893
108942013-11-18 Andreas Schwab <schwab@suse.de>
10895
10896 * locale/programs/locale.c (show_info) [case byte]: Check for
10897 '\377' instead of '\177'.
10898 * locale/C-monetary.c (not_available): Always use "\377".
10899 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10900 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10901 detect unavailable sign_posn locale elements.
10902 * locale/localeconv.c (__localeconv): For grouping and
10903 mon_grouping handle "\177" and "\377" like no grouping.
10904 (INT_ELEM): New macro. Use it to set all numeric members.
10905 * locale/programs/ld-monetary.c (monetary_read)
10906 <tok_mon_grouping>: Normalize single -1 to the empty string.
10907 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10908 Likewise.
10909
109102013-11-07 Ondřej Bílka <neleai@seznam.cz>
10911
10912 [BZ #16055]
10913 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10914 when we match (nil).
10915 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10916
109172013-11-16 Joseph Myers <joseph@codesourcery.com>
10918
10919 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10920 (NO_TEST_INLINE): Update value.
10921 (ERRNO_UNCHANGED): Likewise.
10922 (ERRNO_EDOM): Likewise.
10923 (ERRNO_ERANGE): Likewise.
10924 (IGNORE_RESULT): Likewise.
10925 (check_float_internal): Check signs of NaN results if
10926 TEST_NAN_SIGN used.
10927 (check_complex): Pass TEST_NAN_SIGN flag through to second
10928 check_float_internal call.
10929 (copysign_test_data): Add tests with quiet NaNs as second
10930 argument. Use TEST_NAN_SIGN.
10931 (fabs_test_data): Add test of negative quiet NaN argument. Use
10932 TEST_NAN_SIGN.
10933 (signbit_test_data): Add tests of quiet NaN argument.
10934 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10935
10936 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10937 $ignore_result.
10938 (parse_args): Handle function results specified as IGNORE.
10939 * math/libm-test.inc (IGNORE_RESULT): New macro.
10940 (check_float_internal): Do not check numerical result if flag
10941 IGNORE_RESULT set.
10942 (check_complex): Pass through IGNORE_RESULT to second
10943 check_float_internal call.
10944 (check_int): Do not check numerical result if flag IGNORE_RESULT
10945 set.
10946 (check_long): Likewise.
10947 (check_bool): Likewise.
10948 (check_longlong): Likewise.
10949 (lrint_test_data): Add tests of infinite and NaN arguments.
10950 (lrint_tonearest_test_data): Likewise.
10951 (lrint_towardzero_test_data): Likewise.
10952 (lrint_downward_test_data): Likewise.
10953 (lrint_upward_test_data): Likewise.
10954 (llrint_test_data): Likewise.
10955 (llrint_tonearest_test_data): Likewise.
10956 (llrint_towardzero_test_data): Likewise.
10957 (llrint_downward_test_data): Likewise.
10958 (llrint_upward_test_data): Likewise.
10959 (lround_test_data): Likewise.
10960 (llround_test_data): Likewise.
10961
10962 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10963 (ERRNO_UNCHANGED): Update value.
10964 (ERRNO_EDOM): Likewise.
10965 (ERRNO_ERANGE): Likewise.
10966 (NO_TEST_INLINE_FLOAT): New macro.
10967 (NO_TEST_INLINE_DOUBLE): Likewise.
10968 (enable_test): New function.
10969 (RUN_TEST_f_f): Check enable_test before running test.
10970 (RUN_TEST_2_f): Likewise.
10971 (RUN_TEST_fff_f): Likewise.
10972 (RUN_TEST_c_f): Likewise.
10973 (RUN_TEST_f_f1): Likewise.
10974 (RUN_TEST_fF_f1): Likewise.
10975 (RUN_TEST_fI_f1): Likewise.
10976 (RUN_TEST_ffI_f1): Likewise.
10977 (RUN_TEST_c_c): Likewise.
10978 (RUN_TEST_cc_c): Likewise.
10979 (RUN_TEST_f_i): Likewise.
10980 (RUN_TEST_f_i_tg): Likewise.
10981 (RUN_TEST_ff_i_tg): Likewise.
10982 (RUN_TEST_f_b): Likewise.
10983 (RUN_TEST_f_b_tg): Likewise.
10984 (RUN_TEST_f_l): Likewise.
10985 (RUN_TEST_f_L): Likewise.
10986 (RUN_TEST_fFF_11): Likewise.
10987 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10988 conditionals.
10989 (cosh_test_data): Likewise.
10990 (exp_test_data): Likewise.
10991 (expm1_test_data): Likewise.
10992 (hypot_test_data): Likewise.
10993 (pow_test_data): Likewise.
10994 (sinh_test_data): Likewise.
10995 (tanh_test_data): Likewise.
10996 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10997 flags argument.
10998
10999 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11000 tests with quiet NaN input and output.
11001 (acosh_test_data): Likewise.
11002 (asin_test_data): Likewise.
11003 (asinh_test_data): Likewise.
11004 (atan_test_data): Likewise.
11005 (atanh_test_data): Likewise.
11006 (atan2_test_data): Likewise.
11007 (cbrt_test_data): Likewise.
11008 (cos_test_data): Likewise.
11009 (cosh_test_data): Likewise.
11010 (erf_test_data): Likewise.
11011 (erfc_test_data): Likewise.
11012 (exp_test_data): Likewise.
11013 (exp10_test_data): Likewise.
11014 (exp2_test_data): Likewise.
11015 (expm1_test_data): Likewise.
11016 (hypot_test_data): Likewise.
11017 (j0_test_data): Likewise.
11018 (j1_test_data): Likewise.
11019 (jn_test_data): Likewise.
11020 (lgamma_test_data): Likewise.
11021 (log_test_data): Likewise.
11022 (log10_test_data): Likewise.
11023 (log1p_test_data): Likewise.
11024 (log2_test_data): Likewise.
11025 (pow_test_data): Likewise.
11026 (scalb_test_data): Likewise.
11027 (sin_test_data): Likewise.
11028 (sincos_test_data): Likewise.
11029 (sinh_test_data): Likewise.
11030 (tan_test_data): Likewise.
11031 (tanh_test_data): Likewise.
11032 (tgamma_test_data): Likewise.
11033 (y0_test_data): Likewise.
11034 (y1_test_data): Likewise.
11035 (yn_test_data): Likewise.
11036
11037 [BZ #16167]
11038 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11039 argument being NaN and avoid computations with second argument in
11040 that case.
11041 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11042 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11043 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11044
110452013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11046
11047 * locale/iso-639.def: Add Chitwani Tharu (the).
11048
110492013-11-14 Andreas Schwab <schwab@suse.de>
11050
11051 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11052 word instead of empty string.
11053
110542013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11055
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11057 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11059 (__fe_nomask_env): Likewise.
11060
110612013-11-13 Steve Ellcey <sellcey@mips.com>
11062
11063 * benchtests/bench-timing.h: Include time.h.
11064
110652013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11066
11067 [BZ #15997]
11068 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11069 to 3.4.0 for x32.
11070 * sysdeps/unix/sysv/linux/configure: Regenerated.
11071
110722013-11-13 Joseph Myers <joseph@codesourcery.com>
11073
11074 [BZ #16151]
11075 * stdlib/strtod_l.c (round_and_return): Do not consider
11076 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11077 exponent one less than half the least subnormal exponent.
11078 * stdlib/test-strtod-round-data: Add more tests.
11079 * stdlib/tst-strtod-round.c (tests): Regenerated.
11080
110812013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11082
11083 [BZ #14143]
11084 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11085 (__fe_mask_env): Likewise.
11086 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11087 libm_hidden_proto and add function prototype.
11088 (__fe_mask_env): Add function prototype.
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11090 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11092 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11094 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11095
110962013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11097
11098 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11099 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11100
111012013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11102
11103 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11104 of htab_find_slot().
11105
111062013-11-11 David S. Miller <davem@davemloft.net>
11107
11108 [BZ #16150]
11109 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11110 symbol in the non-vis3 case in static builds.
11111 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11112 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11113 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11114 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11115
111162013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11117
11118 [BZ #387]
11119 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11120 it is empty.
11121
111222013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11123
11124 * benchtests/Makefile: Add bench-strtod.
11125 * benchtests/bench-strtod.c: New file: strtod benchtest
11126
111272013-11-11 Andreas Schwab <schwab@suse.de>
11128
11129 [BZ #16153]
11130 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11131 terminating NUL in key length.
11132
111332013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11134
11135 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11136 Add artificial ODP entry for vDSO symbol for PPC64.
11137 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11138 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11139
111402013-11-07 Ondřej Bílka <neleai@seznam.cz>
11141
11142 [BZ #15374]
11143 * nss/getent.c (services_keys): Recognize services starting with digit.
11144
111452013-11-06 David S. Miller <davem@davemloft.net>
11146
11147 [BZ #15985]
11148 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11149 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11150
111512013-11-06 Will Newton <will.newton@linaro.org>
11152
11153 * manual/memory.texi (Malloc Examples): Remove register
11154 keyword from examples.
11155
111562013-11-04 Chris Leonard <cjl@sugarlabs.org>
11157
11158 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11159
111602013-11-04 Joseph Myers <joseph@codesourcery.com>
11161
11162 [BZ #6981]
11163 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11164 depending on [__GCC_IEC_559 > 0].
11165 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11166 depending on [__GCC_IEC_559_COMPLEX > 0].
11167
111682013-11-03 Chris Leonard <cjl@sugarlabs.org>
11169
11170 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11171 to iso-639.def.
11172
111732013-11-03 Ondřej Bílka <neleai@seznam.cz>
11174
11175 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11176
111772013-11-01 Ondřej Bílka <neleai@seznam.cz>
11178
11179 [BZ #16112]
11180 * malloc/malloc (malloc_info): Do not handle first bin as
11181 special case.
11182
111832013-11-01 Chris Leonard <cjl@sugarlabs.org>
11184
11185 * locale/iso-639.def: Add Central Nahuatl (nhn).
11186
111872013-11-01 Bruno Haible <bruno@clisp.org>
11188
11189 [BZ #7003]
11190 * manual/math.texi (BSD Random): Specify range upper bound as
11191 in POSIX.
11192
111932013-10-31 Chris Leonard <cjl@sugarlabs.org>
11194
11195 * locale/iso-639.def: Add Meadow Mari (mhr).
11196
111972013-10-31 Ondřej Bílka <neleai@seznam.cz>
11198
11199 [BZ #14752], [BZ #15763]
11200 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11201 Validate name.
11202 * rt/tst_shm.c: Add test for escaping directory.
11203
112042013-10-31 Andreas Schwab <schwab@suse.de>
11205
11206 [BZ #15917]
11207 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11208 followed by 'x' as part of digit sequence.
11209 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11210
112112013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11212
11213 [BZ #16037]
11214 * configure.ac: allow GNU Make 4.0 and greater.
11215 * configure: Regenerated.
11216
112172013-10-30 Will Newton <will.newton@linaro.org>
11218
11219 [BZ #16038]
11220 * malloc/hooks.c (memalign_check): Limit alignment to the
11221 maximum representable power of two.
11222 * malloc/malloc.c (__libc_memalign): Likewise.
11223 * malloc/tst-memalign.c (do_test): Add test for very
11224 large alignment values.
11225 * malloc/tst-posix_memalign.c (do_test): Likewise.
11226
112272013-10-30 Ondřej Bílka <neleai@seznam.cz>
11228
11229 [BZ #11087]
11230 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11231 (munmap_chunk): Likewise.
11232 (mremap_chunk): Likewise.
11233
112342013-10-30 Ondřej Bílka <neleai@seznam.cz>
11235
11236 [BZ #15799]
11237 * stdlib/div.c (div): Remove obsolete code.
11238 * stdlib/ldiv.c (ldiv): Likewise.
11239 * stdlib/lldiv.c (lldiv): Likewise.
11240
112412013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11242
11243 [BZ #16071]
11244 * nss/nss_files/files-XXX.c (get_contents_ret): New
11245 enumerator.
11246 (get_contents): New function.
11247 (internal_getent): Use it. Expand size of LINEBUFLEN.
11248
112492013-10-30 Mike Frysinger <vapier@gentoo.org>
11250
11251 * configure.in: Moved to ...
11252 * configure.ac: ... here. Change reference to configure.in
11253 to configure.ac.
11254 * sysdeps/arm/preconfigure.ac: ... here.
11255 configure.in to configure.ac.
11256 * sysdeps/gnu/configure.in: Moved to ...
11257 * sysdeps/gnu/configure.ac: ... here.
11258 * sysdeps/i386/configure.in: Moved to ...
11259 * sysdeps/i386/configure.ac: ... here.
11260 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11261 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11262 * sysdeps/mach/configure.in: Moved to ...
11263 * sysdeps/mach/configure.ac: ... here.
11264 * sysdeps/mach/hurd/configure.in: Moved to ...
11265 * sysdeps/mach/hurd/configure.ac: ... here.
11266 * sysdeps/powerpc/configure.in: Moved to ...
11267 * sysdeps/powerpc/configure.ac: ... here.
11268 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11269 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11270 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11271 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11272 * sysdeps/s390/s390-32/configure.in: Moved to ...
11273 * sysdeps/s390/s390-32/configure.ac: ... here.
11274 * sysdeps/s390/s390-64/configure.in: Moved to ...
11275 * sysdeps/s390/s390-64/configure.ac: ... here.
11276 * sysdeps/sh/configure.in: Moved to ...
11277 * sysdeps/sh/configure.ac: ... here.
11278 * sysdeps/sparc/configure.in: Moved to ...
11279 * sysdeps/sparc/configure.ac: ... here.
11280 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11281 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11282 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11283 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11284 * sysdeps/x86_64/configure.in: Moved to ...
11285 * sysdeps/x86_64/configure.ac: ... here.
11286 * sysdeps/x86_64/preconfigure.in: Moved to ...
11287 * sysdeps/x86_64/preconfigure.ac: ... here.
11288 * aclocal.m4: Change reference to configure.in to configure.ac.
11289 * config.h.in: Likewise.
11290 * manual/install.texi: Likewise.
11291 * manual/maint.texi: Likewise.
11292 * Makefile: Likewise.
11293 * malloc/Makefile: Likewise.
11294 * nscd/Makefile: Likewise.
11295 * Makeconfig: Change reference to configure.in and
11296 preconfigure.in to configure.ac and preconfigure.ac
11297 respectively.
11298 * INSTALL: Regenerated.
11299 * configure: Likewise.
11300 * sysdeps/gnu/configure: Likewise.
11301 * sysdeps/i386/configure: Likewise.
11302 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11303 * sysdeps/mach/configure: Likewise.
11304 * sysdeps/mach/hurd/configure: Likewise.
11305 * sysdeps/powerpc/configure: Likewise.
11306 * sysdeps/powerpc/powerpc32/configure: Likewise.
11307 * sysdeps/powerpc/powerpc64/configure: Likewise.
11308 * sysdeps/s390/s390-32/configure: Likewise.
11309 * sysdeps/s390/s390-64/configure: Likewise.
11310 * sysdeps/sh/configure: Likewise.
11311 * sysdeps/sparc/configure: Likewise.
11312 * sysdeps/unix/sysv/linux/configure: Likewise.
11313 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11314 * sysdeps/x86_64/configure: Likewise.
11315 * sysdeps/x86_64/preconfigure: Likewise.
11316
113172013-10-29 Andreas Schwab <schwab@suse.de>
11318
11319 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11320
113212013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11322
11323 * benchtests/pow-inputs: Add new inputs.
11324
11325 * benchtests/exp-inputs: Add new inputs.
11326
11327 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11328 conditional check for return value.
11329 (__cos32): Likewise.
11330
113312013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11332
11333 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11334 to provide a boost for large inputs with word alignment.
11335 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11336 implementation based on optimized PPC64 strcpy.
11337 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11338 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11339 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11340 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11341
113422013-10-25 Ondřej Bílka <neleai@seznam.cz>
11343
11344 [BZ #2801]
11345 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11346
113472013-10-25 Ondřej Bílka <neleai@seznam.cz>
11348
11349 [BZ #14876]
11350 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11351 * time/tst-strptime.c (day_tests): Add testcase.
11352
113532013-10-25 Ondřej Bílka <neleai@seznam.cz>
11354
11355 [BZ #14029]
11356 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11357
113582013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11359
11360 [BZ #16074]
11361 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11362 MAP_FAILED on error.
11363
113642013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11365
11366 [BZ #16072]
11367 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11368 heap for large requests.
11369
113702013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11371
11372 [BZ #9954]
11373 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11374 result if the result has no associated interface.
11375 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11376 interface for all 127.X.Y.Z addresses.
11377
113782013-10-24 Chris Leonard <cjl@sugarlabs.org>
11379
11380 * locale/iso-639.def: Add Ligurian (lij)
11381
113822013-10-21 Ondřej Bílka <neleai@seznam.cz>
11383
11384 [BZ #15825]
11385 * sunrpc/rpc_main.c: Document rpcgen -5.
11386
113872013-10-19 Michael Stahl <mstahl@redhat.com>
11388
11389 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11390
113912013-10-19 Ondřej Bílka <neleai@seznam.cz>
11392
11393 [BZ #10278]
11394 * posix/glob.c: Match only directories when trailing slash is present.
11395 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11396 (main): Add testcase.
11397
113982013-10-19 Ondřej Bílka <neleai@seznam.cz>
11399
11400 [BZ #15670]
11401 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11402
114032013-10-18 Carlos O'Donell <carlos@redhat.com>
11404
11405 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11406 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11407 AUTH_DES and cindex for FIPS 140-2.
11408 (DES Encryption): Add cindex FIPS 46-3.
11409
11410 * locale/locarchive.h (struct locarhandle): Add fname.
11411 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11412 if an optional argument was specified to --list-archive,
11413 otherwise NULL.
11414 * locale/programs/locarchive.c (show_archive_content): Take new
11415 argument fname and pass it via ah.fname to open_archive.
11416 * locale/programs/localedef.h: Update decl.
11417 (open_archive): If AH->fname is non-null, open that file
11418 rather than the default file name, and don't ignore ENOENT.
11419 (create_archive): Set AH.fname to NULL.
11420 (delete_locales_from_archive): Likewise.
11421 (add_locales_to_archive): Likewise.
11422 * locale/programs/locfile.c (write_all_categories): Likewise.
11423
114242013-10-18 Joseph Myers <joseph@codesourcery.com>
11425 Aldy Hernandez <aldyh@redhat.com>
11426
11427 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11428 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11429 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11430 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11431 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11432 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11433 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11434 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11435 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11436 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11437 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11438 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11439 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11440 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11441 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11442 Likewise.
11443 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11444 Likewise.
11445 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11446 Likewise.
11447 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11448 Likewise.
11449 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11450 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11451 Likewise.
11452 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11453 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11454 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11455 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11456 Likewise.
11457 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11458 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11459 * sysdeps/powerpc/preconfigure: Likewise.
11460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11461 Likewise.
11462 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11463 Replace contents of file by #include of <fenv_libc.h>.
11464 * sysdeps/powerpc/soft-fp/sfp-machine.h
11465 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11466 and <sys/prctl.h>.
11467 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11468 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11469 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11470 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11471 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11472 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11474 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11475 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11476 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11477 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11478 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11480 Allow copysignl PLT reference to be missing.
11481
114822013-10-18 Richard Sandiford <richard@codesourcery.com>
11483 Joseph Myers <joseph@codesourcery.com
11484
11485 [BZ #15948]
11486 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11487 single character.
11488 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11489
114902013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11491
11492 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11493 * elf/tst-tls1.c: Likewise.
11494 * elf/tst-tls10.h: Likewise.
11495 * elf/tst-tls14.c: Likewise.
11496 * elf/tst-tls2.c: Likewise.
11497 * elf/tst-tls3.c: Likewise.
11498 * elf/tst-tls4.c: Likewise.
11499 * elf/tst-tls5.c: Likewise.
11500 * elf/tst-tls6.c: Likewise.
11501 * elf/tst-tls7.c: Likewise.
11502 * elf/tst-tls8.c: Likewise.
11503 * elf/tst-tls9.c: Likewise.
11504 * elf/tst-tlsmod1.c: Likewise.
11505 * elf/tst-tlsmod13.c: Likewise.
11506 * elf/tst-tlsmod13a.c: Likewise.
11507 * elf/tst-tlsmod14a.c: Likewise.
11508 * elf/tst-tlsmod16a.c: Likewise.
11509 * elf/tst-tlsmod16b.c: Likewise.
11510 * elf/tst-tlsmod2.c: Likewise.
11511 * elf/tst-tlsmod3.c: Likewise.
11512 * elf/tst-tlsmod4.c: Likewise.
11513 * elf/tst-tlsmod5.c: Likewise.
11514 * elf/tst-tlsmod6.c: Likewise.
11515
115162013-10-18 Ondřej Bílka <neleai@seznam.cz>
11517
11518 [BZ #12486]
11519 * malloc/malloc.c: remove checks for statistics.
11520
115212013-10-17 Ondřej Bílka <neleai@seznam.cz>
11522
11523 [BZ #15277]
11524 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11525 * inet/tst-network.c: Add testcase.
11526
115272013-10-17 Andreas Schwab <schwab@suse.de>
11528
11529 [BZ #15218]
11530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11531 to determine canonical name.
11532
115332013-10-17 Ondřej Bílka <neleai@seznam.cz>
11534
11535 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11536 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11537 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11542 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11544 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11545 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11546 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11547 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11548 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11549 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11552 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11553 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11554 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11557 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11558 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11559 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11560 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11561 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11562 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11563 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11564 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11565 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11566 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11567 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11568 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11569 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11570 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11571 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11572 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11573 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11574 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11575 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11576 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11577 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11578 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11579 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11580 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11581 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11582 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11583 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11584 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11586 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11587 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11588 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11589 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11590 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11593
115942013-10-17 Joseph Myers <joseph@codesourcery.com>
11595
11596 [BZ #16041]
11597 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11598 make result into a quiet NaN.
11599
116002013-10-16 Joseph Myers <joseph@codesourcery.com>
11601
11602 * soft-fp/adddf3.c: Fix horizontal whitespace.
11603 * soft-fp/addsf3.c: Likewise.
11604 * soft-fp/addtf3.c: Likewise.
11605 * soft-fp/divdf3.c: Likewise.
11606 * soft-fp/divsf3.c: Likewise.
11607 * soft-fp/divtf3.c: Likewise.
11608 * soft-fp/double.h: Likewise.
11609 * soft-fp/eqdf2.c: Likewise.
11610 * soft-fp/eqsf2.c: Likewise.
11611 * soft-fp/eqtf2.c: Likewise.
11612 * soft-fp/extenddftf2.c: Likewise.
11613 * soft-fp/extended.h: Likewise.
11614 * soft-fp/extendsfdf2.c: Likewise.
11615 * soft-fp/extendsftf2.c: Likewise.
11616 * soft-fp/extendxftf2.c: Likewise.
11617 * soft-fp/fixdfdi.c: Likewise.
11618 * soft-fp/fixdfsi.c: Likewise.
11619 * soft-fp/fixdfti.c: Likewise.
11620 * soft-fp/fixsfdi.c: Likewise.
11621 * soft-fp/fixsfsi.c: Likewise.
11622 * soft-fp/fixsfti.c: Likewise.
11623 * soft-fp/fixtfdi.c: Likewise.
11624 * soft-fp/fixtfsi.c: Likewise.
11625 * soft-fp/fixtfti.c: Likewise.
11626 * soft-fp/fixunsdfdi.c: Likewise.
11627 * soft-fp/fixunsdfsi.c: Likewise.
11628 * soft-fp/fixunsdfti.c: Likewise.
11629 * soft-fp/fixunssfdi.c: Likewise.
11630 * soft-fp/fixunssfsi.c: Likewise.
11631 * soft-fp/fixunssfti.c: Likewise.
11632 * soft-fp/fixunstfdi.c: Likewise.
11633 * soft-fp/fixunstfsi.c: Likewise.
11634 * soft-fp/fixunstfti.c: Likewise.
11635 * soft-fp/floatdidf.c: Likewise.
11636 * soft-fp/floatdisf.c: Likewise.
11637 * soft-fp/floatditf.c: Likewise.
11638 * soft-fp/floatsidf.c: Likewise.
11639 * soft-fp/floatsisf.c: Likewise.
11640 * soft-fp/floatsitf.c: Likewise.
11641 * soft-fp/floattidf.c: Likewise.
11642 * soft-fp/floattisf.c: Likewise.
11643 * soft-fp/floattitf.c: Likewise.
11644 * soft-fp/floatundidf.c: Likewise.
11645 * soft-fp/floatundisf.c: Likewise.
11646 * soft-fp/floatunditf.c: Likewise.
11647 * soft-fp/floatunsidf.c: Likewise.
11648 * soft-fp/floatunsisf.c: Likewise.
11649 * soft-fp/floatunsitf.c: Likewise.
11650 * soft-fp/floatuntidf.c: Likewise.
11651 * soft-fp/floatuntisf.c: Likewise.
11652 * soft-fp/floatuntitf.c: Likewise.
11653 * soft-fp/fmadf4.c: Likewise.
11654 * soft-fp/fmasf4.c: Likewise.
11655 * soft-fp/fmatf4.c: Likewise.
11656 * soft-fp/gedf2.c: Likewise.
11657 * soft-fp/gesf2.c: Likewise.
11658 * soft-fp/getf2.c: Likewise.
11659 * soft-fp/ledf2.c: Likewise.
11660 * soft-fp/lesf2.c: Likewise.
11661 * soft-fp/letf2.c: Likewise.
11662 * soft-fp/muldf3.c: Likewise.
11663 * soft-fp/mulsf3.c: Likewise.
11664 * soft-fp/multf3.c: Likewise.
11665 * soft-fp/negdf2.c: Likewise.
11666 * soft-fp/negsf2.c: Likewise.
11667 * soft-fp/negtf2.c: Likewise.
11668 * soft-fp/op-1.h: Likewise.
11669 * soft-fp/op-2.h: Likewise.
11670 * soft-fp/op-4.h: Likewise.
11671 * soft-fp/op-8.h: Likewise.
11672 * soft-fp/op-common.h: Likewise.
11673 * soft-fp/quad.h: Likewise.
11674 * soft-fp/single.h: Likewise.
11675 * soft-fp/soft-fp.h: Likewise.
11676 * soft-fp/sqrtdf2.c: Likewise.
11677 * soft-fp/sqrtsf2.c: Likewise.
11678 * soft-fp/sqrttf2.c: Likewise.
11679 * soft-fp/subdf3.c: Likewise.
11680 * soft-fp/subsf3.c: Likewise.
11681 * soft-fp/subtf3.c: Likewise.
11682 * soft-fp/truncdfsf2.c: Likewise.
11683 * soft-fp/trunctfdf2.c: Likewise.
11684 * soft-fp/trunctfsf2.c: Likewise.
11685 * soft-fp/trunctfxf2.c: Likewise.
11686 * soft-fp/unorddf2.c: Likewise.
11687 * soft-fp/unordsf2.c: Likewise.
11688 * soft-fp/unordtf2.c: Likewise.
11689
116902013-10-15 Joseph Myers <joseph@codesourcery.com>
11691
11692 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11693 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11694
116952013-10-15 Ondřej Bílka <neleai@seznam.cz>
11696
11697 * elf/dl-libc.c: Clear initfini list after freeing.
11698
116992013-10-14 Joseph Myers <joseph@codesourcery.com>
11700
11701 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11702 * soft-fp/addsf3.c: Likewise.
11703 * soft-fp/addtf3.c: Likewise.
11704 * soft-fp/divdf3.c: Likewise.
11705 * soft-fp/divsf3.c: Likewise.
11706 * soft-fp/divtf3.c: Likewise.
11707 * soft-fp/double.h: Likewise.
11708 * soft-fp/eqdf2.c: Likewise.
11709 * soft-fp/eqsf2.c: Likewise.
11710 * soft-fp/eqtf2.c: Likewise.
11711 * soft-fp/extenddftf2.c: Likewise.
11712 * soft-fp/extended.h: Likewise.
11713 * soft-fp/extendsfdf2.c: Likewise.
11714 * soft-fp/extendsftf2.c: Likewise.
11715 * soft-fp/extendxftf2.c: Likewise.
11716 * soft-fp/fixdfdi.c: Likewise.
11717 * soft-fp/fixdfsi.c: Likewise.
11718 * soft-fp/fixdfti.c: Likewise.
11719 * soft-fp/fixsfdi.c: Likewise.
11720 * soft-fp/fixsfsi.c: Likewise.
11721 * soft-fp/fixsfti.c: Likewise.
11722 * soft-fp/fixtfdi.c: Likewise.
11723 * soft-fp/fixtfsi.c: Likewise.
11724 * soft-fp/fixtfti.c: Likewise.
11725 * soft-fp/fixunsdfdi.c: Likewise.
11726 * soft-fp/fixunsdfsi.c: Likewise.
11727 * soft-fp/fixunsdfti.c: Likewise.
11728 * soft-fp/fixunssfdi.c: Likewise.
11729 * soft-fp/fixunssfsi.c: Likewise.
11730 * soft-fp/fixunssfti.c: Likewise.
11731 * soft-fp/fixunstfdi.c: Likewise.
11732 * soft-fp/fixunstfsi.c: Likewise.
11733 * soft-fp/fixunstfti.c: Likewise.
11734 * soft-fp/floatdidf.c: Likewise.
11735 * soft-fp/floatdisf.c: Likewise.
11736 * soft-fp/floatditf.c: Likewise.
11737 * soft-fp/floatsidf.c: Likewise.
11738 * soft-fp/floatsisf.c: Likewise.
11739 * soft-fp/floatsitf.c: Likewise.
11740 * soft-fp/floattidf.c: Likewise.
11741 * soft-fp/floattisf.c: Likewise.
11742 * soft-fp/floattitf.c: Likewise.
11743 * soft-fp/floatundidf.c: Likewise.
11744 * soft-fp/floatundisf.c: Likewise.
11745 * soft-fp/floatunsidf.c: Likewise.
11746 * soft-fp/floatunsisf.c: Likewise.
11747 * soft-fp/floatuntidf.c: Likewise.
11748 * soft-fp/floatuntisf.c: Likewise.
11749 * soft-fp/floatuntitf.c: Likewise.
11750 * soft-fp/fmadf4.c: Likewise.
11751 * soft-fp/fmasf4.c: Likewise.
11752 * soft-fp/fmatf4.c: Likewise.
11753 * soft-fp/gedf2.c: Likewise.
11754 * soft-fp/gesf2.c: Likewise.
11755 * soft-fp/getf2.c: Likewise.
11756 * soft-fp/ledf2.c: Likewise.
11757 * soft-fp/lesf2.c: Likewise.
11758 * soft-fp/letf2.c: Likewise.
11759 * soft-fp/muldf3.c: Likewise.
11760 * soft-fp/mulsf3.c: Likewise.
11761 * soft-fp/multf3.c: Likewise.
11762 * soft-fp/negdf2.c: Likewise.
11763 * soft-fp/negsf2.c: Likewise.
11764 * soft-fp/negtf2.c: Likewise.
11765 * soft-fp/op-1.h: Likewise.
11766 * soft-fp/op-2.h: Likewise.
11767 * soft-fp/op-4.h: Likewise.
11768 * soft-fp/op-8.h: Likewise.
11769 * soft-fp/op-common.h: Likewise.
11770 * soft-fp/quad.h: Likewise.
11771 * soft-fp/single.h: Likewise.
11772 * soft-fp/soft-fp.h: Likewise.
11773 * soft-fp/sqrtdf2.c: Likewise.
11774 * soft-fp/sqrtsf2.c: Likewise.
11775 * soft-fp/sqrttf2.c: Likewise.
11776 * soft-fp/subdf3.c: Likewise.
11777 * soft-fp/subsf3.c: Likewise.
11778 * soft-fp/subtf3.c: Likewise.
11779 * soft-fp/truncdfsf2.c: Likewise.
11780 * soft-fp/trunctfdf2.c: Likewise.
11781 * soft-fp/trunctfsf2.c: Likewise.
11782 * soft-fp/trunctfxf2.c: Likewise.
11783 * soft-fp/unorddf2.c: Likewise.
11784 * soft-fp/unordsf2.c: Likewise.
11785 * soft-fp/unordtf2.c: Likewise.
11786
117872013-10-14 Ondřej Bílka <neleai@seznam.cz>
11788
11789 [BZ #15672]
11790 * misc/error.c (error_tail): Fix possible buffer overflow.
11791
117922013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11793
11794 [BZ #13028]
11795 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11796 address.
11797
117982013-10-14 P. J. McDermott <pj@pehjota.net>
11799
11800 [BZ #832]
11801 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11802 testing pipefail option.
11803
118042013-10-12 Joseph Myers <joseph@codesourcery.com>
11805
11806 * soft-fp/double.h: Indent preprocessor directives inside #if.
11807 * soft-fp/extended.h: Likewise.
11808 * soft-fp/op-2.h: Likewise.
11809 * soft-fp/op-4.h: Likewise.
11810 * soft-fp/op-common.h: Likewise.
11811 * soft-fp/quad.h: Likewise.
11812 * soft-fp/single.h: Likewise.
11813 * soft-fp/soft-fp.h: Likewise.
11814
118152013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11816
11817 * iconv/iconv_prog.c: Fix typos.
11818 * stdio-common/psiginfo-data.h: Likewise.
11819
118202013-10-12 Reuben Thomas <rrt@sc3d.org>
11821
11822 [BZ #15764]
11823 * locale/setlocale.c: Fix typo.
11824
118252013-10-12 Joseph Myers <joseph@codesourcery.com>
11826
11827 [BZ #16036]
11828 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11829 signaling NaN arguments.
11830 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11831 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11832
11833 [BZ #14910]
11834 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11835 unordered operands.
11836 * soft-fp/gesf2.c (__gesf2): Likewise.
11837 * soft-fp/getf2.c (__getf2): Likewise.
11838 * soft-fp/ledf2.c (__ledf2): Likewise.
11839 * soft-fp/lesf2.c (__lesf2): Likewise.
11840 * soft-fp/letf2.c (__letf2): Likewise.
11841
11842 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11843 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11844 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11845 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11846 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11847 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11848 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11849 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11850 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11851 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11852 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11853 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11854 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11855 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11856 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11857 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11858 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11859 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11860 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11861 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11862 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11863 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11864 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11865 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11866 * soft-fp/floattidf.c (__floattidf): Likewise.
11867 * soft-fp/floattisf.c (__floattisf): Likewise.
11868 * soft-fp/floattitf.c (__floattitf): Likewise.
11869 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11870 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11871 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11872 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11873 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11874 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11875 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
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.
11881
11882 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11883 Undefine and redefine.
11884 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11885 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11886 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11887 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11888 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11889 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11890 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11891 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11892 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11893 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11894 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11895 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11896 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11897 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11898 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11899
11900 [BZ #16032]
11901 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11902 without decrementing exponent if mantissa >= that for the
11903 denominator, not >.
11904 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11905 denominator, not >. Decrement exponent in < case instead of
11906 incrementing in >= case.
11907 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11908 without decrementing exponent if mantissa >= that for the
11909 denominator, not >.
11910
11911 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11912 computing saturated result for unsigned overflow.
11913
119142013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11915 Jeff Law <law@redhat.com>
11916
11917 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11918 (atan2Mp): Add systemtap probe marker.
11919 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11920 (__ieee754_log): Add systemtap probe marker.
11921 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11922 (atanMp): Add systemtap probe marker.
11923 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11924 (tanMp): Add systemtap probe marker.
11925 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11926 (__slowexp): Add systemtap probe marker.
11927 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11928 (__slowpow): Add systemtap probe marker.
11929 * manual/probes.texi: Document probes.
11930
119312013-10-11 Eric Biggers <ebiggers3@gmail.com>
11932
11933 [BZ #15362]
11934 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11935 written.
11936 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11937 written.
11938 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11939 written to buffer but not flushed.
11940 * libio/iofwrite_u.c: Likewise.
11941 * libio/iopadn.c: Return bytes returned even if EOF was
11942 encountered.
11943 * libio/iowpadn.c: Likewise.
11944 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11945 if _IO_padn does not write the whole buffer.
11946 [!COMPILE_WPRINTF] (PAD): Likewise.
11947
119482013-10-10 David S. Miller <davem@davemloft.net>
11949
11950 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11951 directory block.
11952
119532013-10-10 Joseph Myers <joseph@codesourcery.com>
11954
11955 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11956 instead of FSF address.
11957 * soft-fp/fixdfti.c: Likewise.
11958 * soft-fp/fixsfti.c: Likewise.
11959 * soft-fp/fixtfti.c: Likewise.
11960 * soft-fp/fixunsdfti.c: Likewise.
11961 * soft-fp/fixunssfti.c: Likewise.
11962 * soft-fp/fixunstfti.c: Likewise.
11963 * soft-fp/floattidf.c: Likewise.
11964 * soft-fp/floattisf.c: Likewise.
11965 * soft-fp/floattitf.c: Likewise.
11966 * soft-fp/floatuntidf.c: Likewise.
11967 * soft-fp/floatuntisf.c: Likewise.
11968 * soft-fp/floatuntitf.c: Likewise.
11969 * soft-fp/trunctfxf2.c: Likewise.
11970
11971 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11972 * soft-fp/fixdfti.c: Likewise.
11973 * soft-fp/fixsfti.c: Likewise.
11974 * soft-fp/fixtfti.c: Likewise.
11975 * soft-fp/fixunsdfti.c: Likewise.
11976 * soft-fp/fixunssfti.c: Likewise.
11977 * soft-fp/fixunstfti.c: Likewise.
11978 * soft-fp/floattidf.c: Likewise.
11979 * soft-fp/floattisf.c: Likewise.
11980 * soft-fp/floattitf.c: Likewise.
11981 * soft-fp/floatuntidf.c: Likewise.
11982 * soft-fp/floatuntisf.c: Likewise.
11983 * soft-fp/floatuntitf.c: Likewise.
11984 * soft-fp/trunctfxf2.c: Likewise.
11985
119862013-10-10 David S. Miller <davem@davemloft.net>
11987
11988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11989
119902013-10-10 Joseph Myers <joseph@codsourcery.com>
11991
11992 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11993 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11994 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11995 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11996 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11997 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11998 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11999
12000 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12001 for NaNs before doing comparisons on argument.
12002 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12003 Likewise.
12004
120052013-10-10 Will Newton <will.newton@linaro.org>
12006
12007 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12008 passed to _int_memalign does not overflow.
12009
120102013-10-10 Torvald Riegel <triegel@redhat.com>
12011
12012 * scripts/bench.pl: Add include-sources directive.
12013 * benchtests/README: Update documentation.
12014
120152013-10-10 Joseph Myers <joseph@codesourcery.com>
12016
12017 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12018 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12019 instead of FP_INIT_ROUNDMODE.
12020 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12021 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12022
12023 [BZ #16034]
12024 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12025 copy class of input value.
12026 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12027 not handle exceptions.
12028 * soft-fp/negsf2.c (__negsf2): Likewise.
12029 * soft-fp/negtf2.c (__negtf2): Likewise.
12030 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12031
120322013-10-09 Joseph Myers <joseph@codesourcery.com>
12033
12034 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12035 semicolon. From Linux kernel.
12036
120372013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12038
12039 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12040
120412013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12042
12043 [BZ #156]
12044 * manual/socket.texi: Added statement about buffer
12045 for gethostbyname2_r.
12046
120472013-10-08 Ondřej Bílka <neleai@seznam.cz>
12048
12049 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12050 Use .p2align directive instead, throughout.
12051 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12052 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12053 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12054 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12055 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12056 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12057 * sysdeps/x86_64/strchr.S: Likewise.
12058 * sysdeps/x86_64/strrchr.S: Likewise.
12059
120602013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12061
12062 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12063
12064 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12065
12066 * sysdeps/generic/math_private.h (__mpsin1): Remove
12067 declaration.
12068 (__mpcos1): Likewise.
12069 (__mpsin): New argument __range_reduce.
12070 (__mpcos): Likewise.
12071 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12072 (slow): Use __mpsin and __mpcos.
12073 (slow1): Likewise.
12074 (slow2): Likewise.
12075 (sloww): Likewise.
12076 (sloww1): Likewise.
12077 (sloww2): Likewise.
12078 (bsloww): Likewise.
12079 (bsloww1): Likewise.
12080 (bsloww2): Likewise.
12081 (cslow2): Likewise.
12082 (csloww): Likewise.
12083 (csloww1): Likewise.
12084 (csloww2): Likewise.
12085 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12086 range_reduce. Merge in __mpsin1.
12087 (__mpcos): Likewise.
12088 (__mpsin1): Remove.
12089 (__mpcos1): Likewise.
12090
120912013-10-07 Joseph Myers <joseph@codesourcery.com>
12092
12093 * locale/loadlocale.c (_nl_intern_locale_data): Use
12094 LOCFILE_ALIGNED_P.
12095 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12096 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12097 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12098 obstack data is appropriately aligned.
12099 (obstack_int32_grow_fast): Likewise.
12100 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12101 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12102 (add_locale_uint32_array): Likewise.
12103
121042013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12105
12106 * benchtests/Makefile: Remove ARGLIST and RET variables.
12107 ($(objpfx)bench-%.c): Pass only function name to the script.
12108 * benchtests/README: Update documentation.
12109 * benchtests/acos-inputs: Add new directives.
12110 * benchtests/acosh-inputs: Likewise.
12111 * benchtests/asin-inputs: Likewise.
12112 * benchtests/asinh-inputs: Likewise.
12113 * benchtests/atan-inputs: Likewise.
12114 * benchtests/atanh-inputs: Likewise.
12115 * benchtests/cos-inputs: Likewise.
12116 * benchtests/cosh-inputs: Likewise.
12117 * benchtests/exp-inputs: Likewise.
12118 * benchtests/log-inputs: Likewise.
12119 * benchtests/pow-inputs: Likewise.
12120 * benchtests/rint-inputs: Likewise.
12121 * benchtests/sin-inputs: Likewise.
12122 * benchtests/sinh-inputs: Likewise.
12123 * benchtests/tan-inputs: Likewise.
12124 * benchtests/tanh-inputs: Likewise.
12125 * scripts/bench.pl: Add support for new directives.
12126
121272013-10-07 Alan Modra <amodra@gmail.com>
12128
12129 * README: Fix careless merge.
12130
121312013-10-05 Alan Modra <amodra@gmail.com>
12132
12133 * NEWS: Mention powerpc64le support and bugs fixed.
12134 * README: Both big-endian and little-endian powerpc64 supported.
12135
121362013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12137
12138 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12139 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12140 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12141 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12142
121432013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12144
12145 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12146 match prototype.
12147
121482013-10-04 Joseph Myers <joseph@codesourcery.com>
12149
12150 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12151 Move -mhard-float appending from
12152 ports/sysdeps/powerpc/powerpc32/Makefile.
12153 [$(with-fp) = yes] (ASFLAGS): Likewise.
12154 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12155 * sysdeps/powerpc/nofpu: Move directory from
12156 ports/sysdeps/powerpc/nofpu.
12157 * sysdeps/powerpc/soft-fp: Move directory from
12158 ports/sysdeps/powerpc/soft-fp.
12159 * sysdeps/powerpc/powerpc32/405: Move directory from
12160 ports/sysdeps/powerpc/powerpc32/405.
12161 * sysdeps/powerpc/powerpc32/440: Move directory from
12162 ports/sysdeps/powerpc/powerpc32/440.
12163 * sysdeps/powerpc/powerpc32/464: Move directory from
12164 ports/sysdeps/powerpc/powerpc32/464.
12165 * sysdeps/powerpc/powerpc32/476: Move directory from
12166 ports/sysdeps/powerpc/powerpc32/476.
12167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12168 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12170 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12172 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12174 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12176 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12177 * README: Update for powerpc-*-linux-gnu software floating point
12178 support in libc.
12179
12180 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12181 case to powerpc/powerpc32*.
12182 * sysdeps/unix/sysv/linux/configure: Regenerated.
12183
12184 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12185 (_FPU_MASK_OM): Define as 0x04.
12186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12188 0x00c10080.
12189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12190 0x0000003c.
12191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12192
12193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12194 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12195 getcontext_e500.
12196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12197 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12198 setcontext_e500.
12199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12200 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12201 and setcontext_e500.
12202
122032013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12204
12205 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12206
122072013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12208
12209 * manual/threads.texi (Default Thread Attributes): Fix typo.
12210
122112013-10-04 Will Newton <will.newton@linaro.org>
12212
12213 * malloc/Makefile: Add tst-memalign.
12214 * malloc/tst-memalign.c: New file.
12215
12216 * malloc/tst-posix_memalign.c: Add comments.
12217 (do_test): Add comments and call free on all potentially
12218 allocated pointers. Add space after cast.
12219
12220 * malloc/tst-pvalloc.c: Add comments.
12221 (do_test): Add comments and call free on all potentially
12222 allocated pointers. Remove duplicate check for NULL pointer.
12223 Add space after cast.
12224
12225 * malloc/tst-valloc.c: Add comments.
12226 (do_test): Add comments and call free on all potentially
12227 allocated pointers. Remove duplicate check for NULL pointer.
12228 Add space after cast.
12229
122302013-10-04 Alan Modra <amodra@gmail.com>
12231
12232 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12233 Use stdint types in rather than __attribute__((mode())).
12234 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12235
122362013-10-04 Alan Modra <amodra@gmail.com>
12237
12238 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12239 Correct handling of unaligned relocs for little-endian.
12240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12241
122422013-10-04 Alan Modra <amodra@gmail.com>
12243
12244 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12245 * configure: Regenerate.
12246 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12247 * shlib-versions: Likewise.
12248
122492013-10-04 Alan Modra <amodra@gmail.com>
12250
12251 * string/tester.c (test_memrchr): Increment reported test cycle.
12252
122532013-10-04 Alan Modra <amodra@gmail.com>
12254
12255 * string/test-memcpy.c (do_one_test): When reporting errors, print
12256 string address and don't overrun end of string.
12257
122582013-10-04 Alan Modra <amodra@gmail.com>
12259
12260 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12261 insrdi. Make better use of reg selection to speed exit slightly.
12262 Schedule entry path a little better. Remove useless "are we done"
12263 checks on entry to main loop. Handle wrapping around zero address.
12264 Correct main loop count. Handle single left-over word from main
12265 loop inline rather than by using loop_small. Remove extra word
12266 case in loop_small caused by wrong loop count. Add little-endian
12267 support.
12268 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12269 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12270 cache hint.
12271 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12272 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12273 support. Avoid rlwimi.
12274 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12275
122762013-10-04 Alan Modra <amodra@gmail.com>
12277
12278 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12279 insrdi. Formatting.
12280 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12281 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12282 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12283 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12284 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12285 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12286
122872013-10-04 Alan Modra <amodra@gmail.com>
12288
12289 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12291 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12292 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12293 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12294 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12295 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12296 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12297 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12298 use of regs. Use power7 mtocrf. Tidy function tails.
12299
123002013-10-04 Alan Modra <amodra@gmail.com>
12301
12302 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12303 Formatting. Consistently use rXXX register defines or rN defines.
12304 Use early exit labels that avoid restoring unused non-volatile regs.
12305 Make cr field use more consistent with rWORDn compares. Rename
12306 regs used as shift registers for unaligned loop, using rN defines
12307 for short lifetime/multiple use regs.
12308 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12309 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12310 addi 1,1,64 to pop stack frame. Simplify return value code.
12311 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12312
123132013-10-04 Alan Modra <amodra@gmail.com>
12314
12315 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12316 support. Correct typos, formatting. Optimize tail. Use insrdi
12317 rather than rlwimi.
12318 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12319 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12320 little-endian support. Correct typos.
12321 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12322 rather than rlwimi.
12323 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12324 in loop and entry code to keep "and." results.
12325 (strchr): Add little-endian support. Comment. Move cntlzd
12326 earlier in tail.
12327 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12328
123292013-10-04 Alan Modra <amodra@gmail.com>
12330
12331 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12332 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12333 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12334 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12335
123362013-10-04 Alan Modra <amodra@gmail.com>
12337
12338 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12339 (rTMP): Define as r11.
12340 (strcmp): Add little-endian support. Optimise tail.
12341 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12342 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12343 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12344 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12345 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12346 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12347 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12348
123492013-10-04 Alan Modra <amodra@gmail.com>
12350
12351 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12352 little-endian support. Remove unnecessary "are we done" tests.
12353 Handle "s" wrapping around zero and extremely large "size".
12354 Correct main loop count. Handle single left-over word from main
12355 loop inline rather than by using small_loop. Correct comments.
12356 Delete "zero" tail, use "end_max" instead.
12357 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12358
123592013-10-04 Alan Modra <amodra@gmail.com>
12360
12361 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12362 support. Don't branch over align.
12363 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12364 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12365 support. Rearrange tmp reg use to suit. Comment.
12366 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12367
123682013-10-04 Alan Modra <amodra@gmail.com>
12369
12370 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12371
123722013-10-04 Alan Modra <amodra@gmail.com>
12373
12374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12375 conditional form of branch and link when obtaining pc.
12376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12377
123782013-10-04 Alan Modra <amodra@gmail.com>
12379
12380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12381 HIWORD/LOWORD.
12382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12384
123852013-10-04 Alan Modra <amodra@gmail.com>
12386
12387 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12388 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12389 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12390 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12391 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12392 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12393 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12394 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12395 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12396 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12397
123982013-10-04 Anton Blanchard <anton@au1.ibm.com>
12399 Alistair Popple <alistair@ozlabs.au.ibm.com>
12400 Alan Modra <amodra@gmail.com>
12401
12402 [BZ #15723]
12403 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12404 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12405 _dl_hwcap access for little-endian.
12406 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12407 destroy vmx regs when saving unaligned.
12408 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12409 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12410 destroy vmx regs when saving unaligned.
12411
124122013-10-04 Alan Modra <amodra@gmail.com>
12413
12414 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12415 Don't use a union to pack hi/low value.
12416
124172013-10-04 Anton Blanchard <anton@au1.ibm.com>
12418
12419 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12420 for little-endian.
12421 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12422 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12423 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12424 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12425 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12426
124272013-10-04 Alan Modra <amodra@gmail.com>
12428
12429 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12430 constants to usual value for .cst8 section, and remove redundant
12431 high address load.
12432 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12433 constant for 0x1p52. Load little-endian words of double from
12434 correct stack offsets.
12435
124362013-10-04 Alan Modra <amodra@gmail.com>
12437
12438 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12439 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12440 words of double from correct stack offsets.
12441 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12442 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12443 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12444 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12445 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12446 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12447 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12448 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12449 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12450 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12451 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12452 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12453 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12454 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12455 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12456 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12457 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12458
124592013-10-04 Alan Modra <amodra@gmail.com>
12460
12461 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12462 64-bit int/double union.
12463 (_FPU_SETCW): Likewise.
12464 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12465 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12466
124672013-10-04 Alan Modra <amodra@gmail.com>
12468
12469 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12470 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12471
124722013-10-04 Alan Modra <amodra@gmail.com>
12473
12474 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12475 use vector int constants.
12476 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12477
124782013-10-04 Anton Blanchard <anton@au1.ibm.com>
12479
12480 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12481 array with long long.
12482 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12483 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12484 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12485 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12486 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12487 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12488 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12489 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12490 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12491 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12492 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12493 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12494 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12495
124962013-10-04 Anton Blanchard <anton@au1.ibm.com>
12497
12498 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12499 (__signbit): Likewise. Correct for little-endian.
12500 (__signbitl): Call __signbit.
12501 (lrint): Correct for little-endian.
12502 (lrintf): Call lrint.
12503
125042013-10-04 Alan Modra <amodra@gmail.com>
12505
12506 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12507 union 32-bit int array member with 64-bit int array.
12508 (t515, tm256): Double rather than long double.
12509 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12510
125112013-10-04 Alan Modra <amodra@gmail.com>
12512
12513 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12514 Delete.
12515 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12516 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12517 version of math_ldbl.h.
12518
125192013-10-04 Alan Modra <amodra@gmail.com>
12520
12521 [BZ #15734], [BZ #15735]
12522 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12523 all uses of ieee875 long double macros and unions. Simplify test
12524 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12525 ldbl_extract_mantissa value for ix,iy exponents. Properly
12526 normalize after ldbl_extract_mantissa, and don't add hidden bit
12527 already handled. Don't treat low word of ieee854 mantissa like
12528 low word of IBM long double and mask off bit when testing for
12529 zero.
12530 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12531 all uses of ieee875 long double macros and unions. Simplify tests
12532 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12533 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12534 two1022, instead use their values. Recognise that tests for large
12535 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12536 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12537 Rewrite all uses of ieee875 long double macros and unions. Simplify
12538 test for 0.0L and nan. Correct negation.
12539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12540 ieee875 long double macros and unions. Correct output for large
12541 magnitude x. Correct absolute value calculation.
12542 (__erfcl): Likewise.
12543 * math/libm-test.inc: Add tests for errors discovered in IBM long
12544 double versions of fmodl, remainderl, erfl and erfcl.
12545
125462013-10-04 Alan Modra <amodra@gmail.com>
12547
12548 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12549 all uses of ieee854 long double macros and unions. Simplify tests
12550 for long doubles that are fully specified by the high double.
12551 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12552 Likewise.
12553 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12554 Remove dead code too.
12555 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12556 (__ieee754_ynl): Likewise.
12557 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12558 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12559 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12560 Remove dead code too.
12561 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12562 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12563 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12564 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12565 Simplify.
12566 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12567 Simplify.
12568 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12569 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12570 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12571 Comment on variable precision.
12572 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12573 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12574 Likewise.
12575 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12576 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12577 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12578 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12579 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12580
125812013-10-04 Alan Modra <amodra@gmail.com>
12582
12583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12584 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12585 all uses of ieee854 long double macros and unions.
12586 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12587 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12588 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12589 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12590 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12591 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12592 Likewise.
12593 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12594 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12595 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12596 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12597 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12598 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12599 Simplify sign and nan test too.
12600 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12601 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12602 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12603 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12604 Likewise.
12605 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12606 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12607 Likewise.
12608 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12609 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12610 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12611 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12612 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12614
126152013-10-04 Alan Modra <amodra@gmail.com>
12616
12617 * stdio-common/printf_size.c (__printf_size): Don't use
12618 union ieee854_long_double in fpnum union.
12619 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12620 signbit macro to retrieve sign from long double.
12621 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12622 retrieve sign from long double.
12623 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12624 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12625 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12626 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12627 * math/test-misc.c (main): Don't use union ieee854_long_double.
12628
126292013-10-04 Alan Modra <amodra@gmail.com>
12630
12631 [BZ #15680]
12632 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12633 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12634 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12635 calculation. Remove unnecessary test for denormal exponent.
12636 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12637 Correct handling of denormals. Avoid undefined shift behaviour.
12638 Correct normalisation of low mantissa when low double is denormal.
12639 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12640 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12641 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12642 Correct normalisation of low mantissa. Test for overflow of high
12643 mantissa and normalise.
12644 (ldbl_nearbyint): Use more readable constant for two52.
12645 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12646 (__mpn_construct_long_double): Fix test for overflow of high
12647 mantissa and correct normalisation. Avoid undefined shift.
12648
126492013-10-04 Alan Modra <amodra@gmail.com>
12650
12651 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12652 (union ibm_extended_long_double): Define as an array of ieee754_double.
12653 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12654 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12655 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12656 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12657 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12660 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12662 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12663 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12664
126652013-10-03 Joseph Myers <joseph@codesourcery.com>
12666
12667 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12668 page size instead of calling getpagesize.
12669
12670 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12671 (LOCFILE_ALIGN_MASK): Likewise.
12672 (LOCFILE_ALIGN_UP): Likewise.
12673 (LOCFILE_ALIGNED_P): Likewise.
12674 * locale/programs/ld-collate.c (collate_output): Use the new
12675 macros instead of __alignof__ (int32_t).
12676 * locale/weight.h (findidx): Likewise.
12677
126782013-10-03 Ondřej Bílka <neleai@seznam.cz>
12679
12680 [BZ #431]
12681 * manual/string.texi: Fix strncat and wcsncat.
12682
126832013-10-03 Brooks Moses <bmoses@google.com>
12684
12685 [BZ #15915]
12686 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12687 * Makerules: ...here, and adjust associated comments.
12688
126892013-10-02 Will Newton <will.newton@linaro.org>
12690
12691 * malloc/Makefile: Add tst-pvalloc.
12692 * malloc/tst-pvalloc.c: New file.
12693
126942013-10-02 Will Newton <will.newton@linaro.org>
12695
12696 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12697 improve test coverage.
12698
126992013-10-02 Will Newton <will.newton@linaro.org>
12700
12701 * malloc/Makefile: Add tst-posix_memalign.
12702 * malloc/tst-posix_memalign.c: New file.
12703
127042013-10-01 Eric Blake <eblake@redhat.com>
12705
12706 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12707 Use __THROWNL rather than __THROW on static functions.
12708
127092013-09-30 Petr Machata <pmachata@redhat.com>
12710
12711 * elf/elf.h (R_AARCH64_ABS16): New macro.
12712 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12713 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12714 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12715 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12716 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12717 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12718 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12719 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12720 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12721 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12722 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12723 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12724 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12725 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12726 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12727 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12728 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12729 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12730 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12731 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12732 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12733 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12734 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12735 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12736 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12737 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12738 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12739 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12740 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12741 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12742 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12743 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12744 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12745 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12746 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12747 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12748 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12749 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12750 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12751 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12752 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12753 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12754 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12755 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12756 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12757 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12758 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12759 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12760 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12761 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12762 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12763 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12764 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12765 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12766 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12767 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12768 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12769 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12770 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12771 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12772 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12773 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12774 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12775 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12776 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12777 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12778 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12779 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12780 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12781 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12782 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12783 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12784 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12785 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12786 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12787 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12788 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12789 (R_AARCH64_TLSDESC_LDR): Likewise.
12790 (R_AARCH64_TLSDESC_ADD): Likewise.
12791 (R_AARCH64_TLSDESC_CALL): Likewise.
12792
127932013-09-30 Andreas Schwab <schwab@suse.de>
12794
12795 [BZ #15048]
12796 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12797 the nss database lookup.
12798 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12800
128012013-09-28 Mike Frysinger <vapier@gentoo.org>
12802
12803 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12804
128052013-09-28 P. J. McDermott <pj@pehjota.net>
12806
12807 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12808 ${Bash-specific parameter/pattern/string} parameter expansion.
12809 * sysdeps/unix/make-syscalls.sh: Likewise.
12810
128112013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12812
12813 * sysdeps/sh/stackguard-macros.h: New file.
12814
128152013-09-26 Ondřej Bílka <neleai@seznam.cz>
12816
12817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12818 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12819 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12820 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12821 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12822 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12823
128242013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12825
12826 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12827 Fix thread ID register.
12828
128292013-09-25 Joseph Myers <joseph@codesourcery.com>
12830
12831 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12832 [POSIX || UNIX98]: Require rather than permitting all symbols from
12833 <time.h>.
12834 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12835 element of struct sched_param.
12836 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12837 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12838 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12839 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12840 constant.
12841
128422013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12843
12844 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12845 argument calculation.
12846
128472013-09-24 Joseph Myers <joseph@codesourcery.com>
12848
12849 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12850 Expect macro.
12851 [POSIX] (pthread_attr_t): Do not require type.
12852 [POSIX] (pthread_cond_t): Likewise.
12853 [POSIX] (pthread_condattr_t): Likewise.
12854 [POSIX] (pthread_key_t): Likewise.
12855 [POSIX] (pthread_mutex_t): Likewise.
12856 [POSIX] (pthread_mutexattr_t): Likewise.
12857 [POSIX] (pthread_once_t): Likewise.
12858 [POSIX] (pthread_t): Likewise.
12859 [POSIX-based standards] (pthread_atfork): Expect function.
12860
128612013-09-24 Joseph Myers <joseph@codesourcery.com>
12862 Richard Sandiford <richard@codesourcery.com>
12863
12864 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12865 (swap_endianness_p): New extern variable.
12866 (set_big_endian): New inline function.
12867 (maybe_swap_uint32): Likewise.
12868 (maybe_swap_uint32_array): Likewise.
12869 (maybe_swap_uint32_obstack): Likewise.
12870 * locale/programs/locfile.c: Include <stdbool.h>.
12871 (swap_endianness_p): New variable.
12872 (add_locale_uint32): Call maybe_swap_uint32.
12873 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12874 (write_locale_data): Call maybe_swap_uint32_array.
12875 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12876 maybe_swap_uint32.
12877 (obstack_int32_grow_fast): Likewise.
12878 (output_weightwc): Call maybe_swap_uint32_obstack.
12879 (collate_output): Likewise.
12880 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12881 (OPT_LITTLE_ENDIAN): Likewise.
12882 (options): Add --little-endian and --big-endian options.
12883 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12884 * locale/programs/locarchive.c: Include "locfile.h".
12885 (GET): New macro.
12886 (SET): Likewise.
12887 (INC): Likewise.
12888 (create_archive): Use the new macros to access fields of
12889 structures directly mapped from or written to locale archives.
12890 (oldlocrecentcmp): Likewise.
12891 (enlarge_archive): Likewise.
12892 (insert_name): Likewise.
12893 (add_alias): Likewise.
12894 (add_locale): Likewise.
12895 (delete_locales_from_archive): Likewise.
12896 (show_archive_content): Likewise.
12897 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12898 locale data.
12899
129002013-09-24 Roland McGrath <roland@hack.frob.com>
12901
12902 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12903 http://www.gnu.org/doc/freemanuals.texi.
12904 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12905
129062013-09-24 Will Newton <will.newton@linaro.org>
12907
12908 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12909 macro.
12910
129112013-09-23 Joseph Myers <joseph@codesourcery.com>
12912
12913 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12914 unsigned char.
12915
129162013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12917
12918 * manual/threads.texi (POSIX Threads): Fix a typo.
12919
129202013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12921
12922 [BZ #14547]
12923 * string/tst-strcoll-overflow.c: New test case.
12924 * string/Makefile (xtests): Add tst-strcoll-overflow.
12925 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12926 cache if string sizes may cause integer overflow.
12927
12928 [BZ #14547]
12929 * string/strcoll_l.c (coll_seq): New members rule, idx,
12930 save_idx and back_us.
12931 (get_next_seq_nocache): New function.
12932 (do_compare_nocache): New function.
12933 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12934 when malloc fails.
12935
129362013-09-23 Carlos O'Donell <carlos@redhat.com>
12937
12938 [BZ #15754]
12939 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12940 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12941 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12942
12943 [BZ #15754]
12944 * elf/Makefile (tests): Add tst-ptrguard1.
12945 (tests-static): Add tst-ptrguard1-static.
12946 (tst-ptrguard1-ARGS): Define.
12947 (tst-ptrguard1-static-ARGS): Define.
12948 * elf/tst-ptrguard1.c: New file.
12949 * elf/tst-ptrguard1-static.c: New file.
12950 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12951 * sysdeps/i386/stackguard-macros.h: Likewise.
12952 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12953 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12954 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12955 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12956 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12957 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12958
129592013-09-23 Hector Marco <hecmargi@upv.es>
12960 Ismael Ripoll <iripoll@disca.upv.es>
12961 Carlos O'Donell <carlos@redhat.com>
12962
12963 [BZ #15754]
12964 * sysdeps/generic/stackguard-macros.h: Define
12965 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12966 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12967 Define __pointer_chk_guard_local.
12968 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12969 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12970
129712013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12972
12973 [BZ #15859]
12974 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12975
129762013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12977
12978 * include/string.h (__ffs): Declare as hidden.
12979 * string/ffs.c (__ffs): Define as hidden.
12980 * sysdeps/i386/ffs.c (__ffs): Likewise.
12981 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12982 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12983 * sysdeps/s390/ffs.c (__ffs): Likewise.
12984 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12985
129862013-09-20 Alexandre Oliva <aoliva@redhat.com>
12987
12988 * NEWS: Mention malloc probes.
12989
12990 * malloc/arena.c (new_heap): New memory_heap_new probe.
12991 (grow_heap): New memory_heap_more probe.
12992 (shrink_heap): New memory_heap_less probe.
12993 (heap_trim): New memory_heap_free probe.
12994 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12995 (systrim): New memory_sbrk_less probe.
12996 * manual/probes.texi: Document them.
12997
12998 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12999 * manual/probes.texi: Document it.
13000
13001 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13002 (__libc_realloc): Add memory_realloc_retry probe.
13003 (__libc_memalign): Add memory_memalign_retry probe.
13004 (__libc_valloc): Add memory_valloc_retry probe.
13005 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13006 (__libc_calloc): Add memory_calloc_retry probe.
13007 * manual/probes.texi: Document them.
13008
13009 * malloc/arena.c (get_free_list): Add probe
13010 memory_arena_reuse_free_list.
13011 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13012 and memory_arena_reuse.
13013 (arena_get2) [!PER_THREAD]: Likewise.
13014 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13015 memory_arena_reuse_realloc.
13016 * manual/probes.texi: Document them.
13017
13018 * malloc/malloc.c (__libc_free): Add
13019 memory_mallopt_free_dyn_thresholds probe.
13020 (__libc_mallopt): Add multiple memory_mallopt probes.
13021 * manual/probes.texi: Document them.
13022
13023 * malloc/malloc.c: Include stap-probe.h.
13024 (__libc_mallopt): Add memory_mallopt probe.
13025 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13026 * manual/probes.texi: New.
13027 * manual/Makefile (chapters): Add probes.
13028 * manual/threads.texi: Set next node.
13029
130302013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13031
13032 [BZ #15963, #13985]
13033 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13034 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13035 Add `Chinese' to `nan' entry name.
13036
130372013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13038
13039 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13040 (POLYNOMIAL): Likewise.
13041 (TAYLOR_SINCOS): Likewise.
13042 (TAYLOR_SLOW): Likewise.
13043 (__sin): Use TAYLOR_SINCOS.
13044 (__cos): Likewise.
13045 (slow): Use TAYLOR_SLOW.
13046 (sloww): Likewise.
13047 (bsloww): Likewise.
13048 (csloww): Likewise.
13049
130502013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13051
13052 * stdlib/strtod_l.c: Fix buffer overrun.
13053
130542013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13055
13056 * benchtests/Makefile (bench): Add sincos.
13057 * benchtests/bench-sincos.c: New file.
13058
13059 * math/libm-test.inc (cos_test_data): New test inputs.
13060 (sin_test_data): Likewise.
13061
13062 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13063 macro.
13064 (__sin): Use it.
13065 (__cos): Likewise.
13066 (slow1): Likewise.
13067 (slow2): Likewise.
13068 (sloww1): Likewise.
13069 (sloww2): Likewise.
13070 (bsloww1): Likewise.
13071 (bsloww2): Likewise.
13072 (cslow2): Likewise.
13073 (csloww1): Likewise.
13074 (csloww2): Likewise.
13075
13076 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13077 function.
13078 (__sin): Use it.
13079 (__cos): Likewise.
13080
13081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13082 gotos.
13083 (__cos): Likewise.
13084
130852013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13086
13087 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13088 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13089 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13090 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13091 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13092 * elf/cache.c (print_entry): Handle the new cache flags.
13093
130942013-09-18 Joseph Myers <joseph@codesourcery.com>
13095 Aldy Hernandez <aldyh@redhat.com>
13096
13097 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13098 Change condition to [_SOFT_FLOAT].
13099 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13100 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13101 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13102 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13104 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13105 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13106 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13107 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13108 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13109 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13111 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13112 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13113 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13114 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13115 declaration.
13116
131172013-09-18 Joseph Myers <joseph@codesourcery.com>
13118
13119 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13120 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13121 (__longjmp): Use LOAD_GP to load saved GPRs.
13122 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13123 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13124 (__sigsetjmp): Use SAVE_GP to save GPRs.
13125
13126 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13127 Do not append -msoft-float.
13128 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13129
131302013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13131
13132 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13133
131342013-09-17 Joseph Myers <joseph@codesourcery.com>
13135
13136 [BZ #15966]
13137 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13138 (_FPU_GETCW): Use initial "__" on variable and field names but not
13139 on macro parameter name.
13140 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13141 parentheses around reference to macro parameter.
13142
131432013-09-13 Richard Sandiford <richard@codesourcery.com>
13144
13145 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13146 prototype.
13147 (ctype_startup): Use uint32_t in cast and sizeof for
13148 ctype->charnames.
13149
131502013-09-11 Jia Liu <proljc@gmail.com>
13151
13152 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13153 __daddr_t_defined.
13154 [__FreeBSD__]: Likewise.
13155
131562013-09-11 Ondřej Bílka <neleai@seznam.cz>
13157
13158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13159 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13160 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13161 (strchr): Remove __strchr_sse42 ifunc selection.
13162 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13163 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13164
131652013-09-11 Will Newton <will.newton@linaro.org>
13166
13167 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13168 parameter to RES. Remove hardcoded 1000 value.
13169 * benchtests/bench-skeleton.c (main): Pass RES parameter
13170 to TIMING_INIT and multiply result by 1000.
13171
131722013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13173
13174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13175
131762013-09-11 Andreas Schwab <schwab@suse.de>
13177
13178 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13179 if not defined.
13180 (O_TMPFILE) [__USE_GNU]: Define.
13181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13182 Define.
13183
131842013-09-11 Will Newton <will.newton@linaro.org>
13185
13186 [BZ #15857]
13187 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13188 does not overflow.
13189
131902013-09-11 Will Newton <will.newton@linaro.org>
13191
13192 [BZ #15856]
13193 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13194 does not overflow.
13195
131962013-09-11 Will Newton <will.newton@linaro.org>
13197
13198 [BZ #15855]
13199 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13200 does not overflow.
13201
132022013-09-10 Ondřej Bílka <neleai@seznam.cz>
13203
13204 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13205 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13209
132102013-09-10 Allan McRae <allan@archlinux.org>
13211
13212 [BZ #15748]
13213 * manual/arith.texi (Parsing of Floats): Clarify
13214 cross-reference.
13215
13216 [BZ #15849]
13217 * manual/install.texi (Running make install): Mention
13218 --enable-pt-chown.
13219 * INSTALL: Regenerated.
13220
132212013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13222
13223 * csu/init-first.c (_init): Remove the !SHARED condition around
13224 FPU control word initialization.
13225 * elf/dl-support.c (_dl_fpu_control): New variable.
13226 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13227 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13228 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13229 * math/test-fpucw-static.c: New file.
13230 * math/test-fpucw-ieee.c: New file.
13231 * math/test-fpucw-ieee-static.c: New file.
13232 * math/Makefile (tests): Add `test-fpucw-ieee' and
13233 `$(tests-static)'.
13234 (tests-static): New variable.
13235 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13236 dependency to...
13237 [($(build-shared),yes)]
13238 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13239 ... this.
13240 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13241 New dependency.
13242
132432013-09-09 Allan McRae <allan@archlinux.org>
13244
13245 [BZ #15939]
13246 * manual/string.texi (Collation Functions): Fix typo in
13247 strcoll example.
13248 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13249
13250 [BZ #15893]
13251 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13252
13253 [BZ #15892]
13254 * libio/memstream.c (open_memstream): Fix memory leak.
13255 * libio/wmemstream.c (open_wmemstream): Likewise.
13256
13257 [BZ #15895]
13258 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13259
132602013-09-09 Will Newton <will.newton@linaro.org>
13261
13262 * malloc/Makefile: Add tst-realloc to tests.
13263 * malloc/tst-realloc.c: New file.
13264
132652013-09-09 Allan McRae <allan@archlinux.org>
13266
13267 [BZ #15844]
13268 * COPYING: Update from GNU website to fix FSF address.
13269 * COPYING.LIB: Likewise.
13270
132712013-09-06 David S. Miller <davem@davemloft.net>
13272
13273 * po/zh_TW.po: Update Chinese (traditional) translation from
13274 translation project.
13275
132762013-09-06 Richard Sandiford <richard@codesourcery.com>
13277 Joseph Myers <joseph@codesourcery.com>
13278
13279 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13280 "localeinfo.h".
13281 (obstack_chunk_alloc): New macro.
13282 (obstack_chunk_free): Likewise.
13283 (record_offset): New function.
13284 (init_locale_data): Likewise.
13285 (align_locale_data): Likewise.
13286 (add_locale_empty): Likewise.
13287 (add_locale_raw_data): Likewise.
13288 (add_locale_raw_obstack): Likewise.
13289 (add_locale_string): Likewise.
13290 (add_locale_wstring): Likewise.
13291 (add_locale_uint32): Likewise.
13292 (add_locale_uint32_array): Likewise.
13293 (add_locale_char): Likewise.
13294 (start_locale_structure): Likewise.
13295 (end_locale_structure): Likewise.
13296 (start_locale_prelude): Likewise.
13297 (end_locale_prelude): Likewise.
13298 (write_locale_data): Take locale_file structure rather than an
13299 iovec.
13300 * locale/programs/locfile.h: Include "obstack.h".
13301 (struct locale_file): Change to store locale file contents instead
13302 of header.
13303 (init_locale_data): New prototype.
13304 (align_locale_data): Likewise.
13305 (add_locale_empty): Likewise.
13306 (add_locale_raw_data): Likewise.
13307 (add_locale_raw_obstack): Likewise.
13308 (add_locale_string): Likewise.
13309 (add_locale_wstring): Likewise.
13310 (add_locale_uint32): Likewise.
13311 (add_locale_uint32_array): Likewise.
13312 (add_locale_char): Likewise.
13313 (start_locale_structure): Likewise.
13314 (end_locale_structure): Likewise.
13315 (start_locale_prelude): Likewise.
13316 (end_locale_prelude): Likewise.
13317 (write_locale_data): Update prototype.
13318 * locale/programs/3level.h (struct TABLE): Remove result field.
13319 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13320 Use new locale_file interface.
13321 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13322 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13323 * locale/programs/ld-address.c (address_output): Use new
13324 locale_file interface.
13325 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13326 NO_ADD_LOCALE.
13327 (collate_finish): Don't call collseq_table_finalize.
13328 (collate_output): Use new locale_file interface.
13329 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13330 in file.
13331 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13332 (TABLE): Move defines earlier in file.
13333 (ELEMENT): Likewise.
13334 (DEFAULT): Likewise.
13335 (wctrans_table_add): Move macro and inline function earlier in
13336 file.
13337 (struct wctype_table): Move type earlier in file.
13338 (add_locale_wctype_table): New static prototype.
13339 (struct locale_ctype_t): Use logical types instead of struct iovec
13340 pointers for members.
13341 (ctype_output): Use new locale_file interface.
13342 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13343 new locale_file interface.
13344 (allocate_arrays): Update for use of new locale_file interface.
13345 * locale/programs/ld-identification.c (identification_output): Use
13346 new locale_file interface.
13347 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13348 * locale/programs/ld-messages.c (messages_output): Likewise.
13349 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13350 * locale/programs/ld-name.c (name_output): Likewise.
13351 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13352 * locale/programs/ld-paper.c (paper_output): Likewise.
13353 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13354 * locale/programs/ld-time.c (time_output): Likewise.
13355
133562013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13357
13358 * benchtests/Makefile: Add memrchr benchmark.
13359 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13360 benchmark as memrchr.
13361 * benchtests/bench-memrchr-ifunc.c: New file.
13362 * benchtests/bench-memrchr.c: New file.
13363
133642013-09-06 Will Newton <will.newton@linaro.org>
13365
13366 * benchtests/Makefile (string-bench): Add memcpy.
13367
133682013-09-05 Carlos O'Donell <carlos@redhat.com>
13369 Cong Wang <amwang@redhat.com>
13370
13371 [BZ #15850]
13372 * sysdeps/unix/sysv/linux/bits/in.h
13373 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13374 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13375 before __USE_KERNEL_IPV6_DEFS uses.
13376 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13377 IPPROTO_BEETPH.
13378 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13379 sockaddr_in6, or ipv6_mreq.
13380
133812013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13382
13383 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13384 memory access for final bytes in some large inputs.
13385 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13386
133872013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13388
13389 * string/test-memrchr.c: New file.
13390 * string/test-memrchr-ifunc.c: New file.
13391 * string/Makefile: Add new memrchr testcase.
13392
133932013-09-05 Mike Frysinger <vapier@gentoo.org>
13394
13395 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13396 fanotify_init returns EPERM.
13397
133982013-09-04 Joseph Myers <joseph@codesourcery.com>
13399
13400 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13401 errors.
13402 (top level): Treat second token from macro or constant entries for
13403 allowed headers as allowed.
13404 * include/complex.h: Condition internal declarations on
13405 [!_ISOMAC].
13406 * include/fenv.h: Condition include of <stdbool.h> and internal
13407 declarations on [!_ISOMAC].
13408
134092013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13410
13411 [BZ #15923]
13412 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13413
134142013-09-04 Joseph Myers <joseph@codesourcery.com>
13415
13416 * configure.in (--enable-versioning): Remove configure option.
13417 (libc_cv_asm_symver_directive): Remove configure test.
13418 (libc_cv_ld_version_script_option): Likewise.
13419 (VERSIONING): Remove variable and AC_SUBST.
13420 (DO_VERSIONING): Remove AC_DEFINE.
13421 * configure: Regenerated.
13422 * config.h.in (DO_VERSIONING): Remove macro.
13423 * Makerules [$(versioning) = yes]: Change conditionals to
13424 [$(build-shared) = yes].
13425 * config.make.in (versioning): Remove variable.
13426 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13427 [$(build-shared) = yes].
13428 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13429 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13430 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13431 [$(build-shared) = yes].
13432 * extra-lib.mk [$(versioning) = yes]: Likewise.
13433 * hurd/Makefile [$(versioning) = yes]: Likewise.
13434 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13435 [SHARED].
13436 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13437 [SHARED].
13438 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13439 [SHARED && !NO_HIDDEN].
13440 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13441 [SHARED].
13442 [SHARED && DO_VERSIONING]: Likewise..
13443 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13444 [$(build-shared) = yes].
13445 * manual/install.texi (--disable-versioning): Remove
13446 documentation.
13447 * INSTALL: Regenerated.
13448 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13449 to [SHARED].
13450 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13451 [$(build-shared) = yes].
13452 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13453 * sysdeps/i386/i686/multiarch/strstr-c.c
13454 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13455 [SHARED && !NO_HIDDEN].
13456 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13457 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13458 * sysdeps/powerpc/powerpc32/dl-machine.c
13459 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13460 * sysdeps/powerpc/powerpc32/sysdep.h
13461 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13462 to [SHARED && PIC && !NO_HIDDEN].
13463 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13464 conditional to [SHARED].
13465
134662013-09-04 Will Newton <will.newton@linaro.org>
13467
13468 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13469 * benchtests/bench-string.h: Include bench-timing.h instead
13470 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13471 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13472 call to HP_TIMING_DIFF_INIT.
13473 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13474 instead of hp-timing.h macros.
13475 * benchtests/bench-memchr.c: Likewise.
13476 * benchtests/bench-memcmp.c: Likewise.
13477 * benchtests/bench-memcpy.c: Likewise.
13478 * benchtests/bench-memmem.c: Likewise.
13479 * benchtests/bench-memmove.c: Likewise.
13480 * benchtests/bench-memset.c: Likewise.
13481 * benchtests/bench-rawmemchr.c: Likewise.
13482 * benchtests/bench-strcasecmp.c: Likewise.
13483 * benchtests/bench-strcasestr.c: Likewise.
13484 * benchtests/bench-strcat.c: Likewise.
13485 * benchtests/bench-strchr.c: Likewise.
13486 * benchtests/bench-strcmp.c: Likewise.
13487 * benchtests/bench-strcpy.c: Likewise.
13488 * benchtests/bench-strcpy_chk.c: Likewise.
13489 * benchtests/bench-strlen.c: Likewise.
13490 * benchtests/bench-strncasecmp.c: Likewise.
13491 * benchtests/bench-strncat.c: Likewise.
13492 * benchtests/bench-strncmp.c: Likewise.
13493 * benchtests/bench-strncpy.c: Likewise.
13494 * benchtests/bench-strnlen.c: Likewise.
13495 * benchtests/bench-strpbrk.c: Likewise.
13496 * benchtests/bench-strrchr.c: Likewise.
13497 * benchtests/bench-strspn.c: Likewise.
13498 * benchtests/bench-strstr.c: Likewise.
13499
135002013-09-04 Will Newton <will.newton@linaro.org>
13501
13502 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13503
135042013-09-03 Joseph Myers <joseph@codesourcery.com>
13505
13506 [BZ #15427]
13507 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13508 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13509 * math/libm-test.inc (lgamma_test_data): Add more tests.
13510 * sysdeps/i386/fpu/libm-test-ulps: Update.
13511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13512
135132013-09-03 Ondřej Bílka <neleai@seznam.cz>
13514
13515 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13517 Add ifunc.
13518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13519 Add strcmp-sse2-unaligned
13520 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13521
135222013-09-02 Mike Frysinger <vapier@gentoo.org>
13523
13524 * Versions.def (libc): Add GLIBC_2.19.
13525
135262013-09-02 Mike Frysinger <vapier@gentoo.org>
13527
13528 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13529 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13530
135312013-09-02 Joseph Myers <joseph@codesourcery.com>
13532
13533 [BZ #14155]
13534 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13535 intermediate calculations in recurrence.
13536 (__ieee754_ynf): Likewise.
13537 * math/libm-test.inc (jn_test_data): Do not allow spurious
13538 underflow exception. Add more tests.
13539 (yn_test_data): Add more tests.
13540 * sysdeps/i386/fpu/libm-test-ulps: Update.
13541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13542
135432013-09-02 Ondřej Bílka <neleai@seznam.cz>
13544
13545 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13546
135472013-08-30 Ondřej Bílka <neleai@seznam.cz>
13548
13549 * csu/init-first.c: Fix then/than typos.
13550 * locale/programs/ld-collate.c: Likewise.
13551 * locale/programs/linereader.h: Likewise.
13552 * manual/charset.texi: Likewise.
13553 * manual/filesys.texi: Likewise.
13554 * manual/stdio.texi: Likewise.
13555 * manual/string.texi: Likewise.
13556 * stdlib/fmtmsg.c: Likewise.
13557 * sysdeps/i386/stpncpy.S: Likewise.
13558 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13559 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13560 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13561 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13562
135632013-08-30 Ondřej Bílka <neleai@seznam.cz>
13564
13565 * elf/dl-open.c: Fix typos.
13566 * iconvdata/gbbig5.c: Likewise.
13567 * iconvdata/iso-2022-jp.c: Likewise.
13568 * iconv/gconv_int.h: Likewise.
13569 * iconv/loop.c: Likewise.
13570 * nis/rpcsvc/nis.h: Likewise.
13571 * resolv/ns_name.c: Likewise.
13572 * stdio-common/vfscanf.c: Likewise.
13573 * streams/stropts.h: Likewise.
13574 * sunrpc/rpc_thread.c: Likewise.
13575 * sysdeps/i386/strpbrk.S: Likewise.
13576 * sysdeps/ieee754/k_standard.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13579 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13580 * sysdeps/mach/hurd/profil.c: Likewise.
13581 * sysdeps/s390/dl-procinfo.h: Likewise.
13582 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13583 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13584 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13585 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13586 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13587
135882013-08-30 Ondřej Bílka <neleai@seznam.cz>
13589
13590 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13591 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13592
135932013-08-29 Ondřej Bílka <neleai@seznam.cz>
13594
13595 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13596 aix specific files.
13597 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13598 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13599 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13600 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13601 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13602 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13603 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13604 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13605
136062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13607 Roland McGrath <roland@hack.frob.com>
13608
13609 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13610 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13611
136122013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13613
13614 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13615 __executable_start symbol instead of _start.
13616
136172013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13618
13619 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13620 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13621 Move macros to...
13622 * sysdeps/gnu/ldsodefs.h: ... this new file.
13623
13624 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13625 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13626 instead of ELFOSABI_LINUX.
13627
13628 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13629 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13630 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13631 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13632 Likewise.
13633 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13634 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13635 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13636 Likewise.
13637 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13638 (ibm_extended_long_double): Add ieee_nan member.
13639 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13640 (do_test): New function.
13641
13642 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13643 TEST_TRUNC.
13644 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13645 functions, renamed from truncdfsf_test, trunctfsf_test,
13646 trunctfdf_test.
13647 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13648 functions.
13649 (do_test): Run all these.
13650
136512013-08-29 Ondřej Bílka <neleai@seznam.cz>
13652
13653 * argp/argp-help.c: Fix typos.
13654 * argp/argp-parse.c: Likewise.
13655 * debug/backtracesyms.c: Likewise.
13656 * elf/elf.h: Likewise.
13657 * malloc/malloc.c: Likewise.
13658 * nis/nis_print.c: Likewise.
13659 * resolv/res_comp.c: Likewise.
13660 * stdlib/stdlib.h: Likewise.
13661 * sunrpc/clnt_tcp.c: Likewise.
13662 * sunrpc/clnt_udp.c: Likewise.
13663 * sunrpc/clnt_unix.c: Likewise.
13664 * sysdeps/unix/bsd/ptsname.c: Likewise.
13665 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13666 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13668 Likewise.
13669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13670 Likewise.
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13672 Likewise.
13673 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13674
136752013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13676
13677 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13679
136802013-08-27 Mike Frysinger <vapier@gentoo.org>
13681
13682 [BZ #15897]
13683 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13684 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13685 ($(objpfx)bug-dl-leaf): New rule.
13686 ($(objpfx)bug-dl-leaf.so): Likewise.
13687 ($(objpfx)bug-dl-leaf.out): Likewise.
13688 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13689 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13690 * dlfcn/bug-dl-leaf.c: New test.
13691 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13692 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13693 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13694 (dlclose): Likewise.
13695 (dlmopen): Likewise.
13696
136972013-08-27 Roland McGrath <roland@hack.frob.com>
13698
13699 * include/netdb.h [!_ISOMAC]:
13700 Don't include <tls.h>.
13701 (h_errno, __libc_h_errno): Move declaration and macros out of
13702 [_LIBC_REENTRANT].
13703
13704 * include/resolv.h [_RESOLV_H_]:
13705 Don't include <tls.h>.
13706 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13707 * resolv/res_libc.c: Don't include <tls.h>.
13708 (_res): Use __attribute__ ((nocommon)) in place of
13709 __attribute__ ((section (".bss"))).
13710
13711 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13712 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13713
13714 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13715
13716 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13717 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13718
13719 * resolv/res_mkquery.c: Include <sys/time.h>.
13720
13721 * inet/ifreq.c: Moved to ...
13722 * sysdeps/unix/ifreq.c: ... here.
13723 * inet/ifreq.c: New file, true stub version.
13724
13725 * socket/sa_len.c: New file.
13726 * socket/Makefile (aux): Add it.
13727 * sysdeps/unix/sysv/linux/Makefile
13728 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13729 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13730 and #include <socket/sa_len.c>.
13731 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13732 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13733
13734 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13735 * bits/socket.h: ... here.
13736
13737 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13738 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13739 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13740
137412013-08-27 Andreas Schwab <schwab@suse.de>
13742
13743 [BZ #15736]
13744 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13745 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13746 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13747 * string/test-strcasecmp.c (test_main): Run tests in several
13748 locales.
13749 * string/test-strncasecmp.c (test_main): Likewise.
13750
13751 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13752 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13753 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13754 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13755 (__strncasecmp_ssse3) [PIC]: Likewise.
13756
137572013-08-26 Roland McGrath <roland@hack.frob.com>
13758
13759 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13760
13761 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13762 instead of explicitly declaring xdecrypt.
13763 * nis/nss_nis/nis-publickey.c: Likewise.
13764
137652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13766
13767 [BZ #15890]
13768 * nscd/aicache.c: Include res_hconf.h.
13769 (addhstaiX): Initialize res_hconf.
13770
137712013-08-26 Andreas Schwab <schwab@suse.de>
13772
13773 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13774 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13775
137762013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13777
13778 * nscd/aicache.c (addhstaiX): Fix indentation.
13779
137802013-08-25 Mike Frysinger <vapier@gentoo.org>
13781
13782 * configure.ac: Quote $build_pt_chown test.
13783 * configure: Regenerated.
13784
137852013-08-23 Joseph Myers <joseph@codesourcery.com>
13786
13787 [BZ #15532]
13788 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13789 * math/s_cexpf.c (__cexpf): Likewise.
13790 * math/s_cexpl.c (__cexpl): Likewise.
13791 * math/libm-test.inc (cexp_test_data): Correct expected return
13792 value for NaN + i0. Add another test.
13793
137942013-08-22 David S. Miller <davem@davemloft.net>
13795
13796 * po/ca.po: Update Catalan translation from translation project.
13797 * po/uk.po: Add Ukrainian translations from translation project.
13798
137992013-08-21 Joseph Myers <joseph@codesourcery.com>
13800
13801 [BZ #15797]
13802 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13803 is infinite, not alongside NaN test.
13804 * math/s_fdimf.c (__fdimf): Likewise.
13805 * math/s_fdiml.c (__fdiml): Likewise.
13806 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13807 errno is unchanged.
13808
138092013-08-21 Ondřej Bílka <neleai@seznam.cz>
13810
13811 * argp/argp-help.c: Fix typos.
13812 * crypt/speeds.c: Likewise.
13813 * csu/check_fds.c: Likewise.
13814 * elf/dl-load.c: Likewise.
13815 * elf/dl-open.c: Likewise.
13816 * elf/reldep3.c: Likewise.
13817 * elf/reldep.c: Likewise.
13818 * elf/sprof.c: Likewise.
13819 * iconv/iconv_charmap.c: Likewise.
13820 * iconv/skeleton.c: Likewise.
13821 * iconv/strtab.c: Likewise.
13822 * io/lockf64.c: Likewise.
13823 * libio/libioP.h: Likewise.
13824 * resolv/gai_notify.c: Likewise.
13825 * resolv/ns_name.c: Likewise.
13826 * resolv/ns_samedomain.c: Likewise.
13827 * resolv/res_send.c: Likewise.
13828 * stdlib/random.c: Likewise.
13829 * sunrpc/rpc/xdr.h: Likewise.
13830 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13831 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13832 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13833 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13834 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13835 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13837 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13838 * sysdeps/mach/hurd/check_fds.c: Likewise.
13839 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13840 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13841 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13842 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13843 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13844 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13845 * sysdeps/pthread/aio_notify.c: Likewise.
13846 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13847 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13848 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13849 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13850 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13851
138522013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13853
13854 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13855 version if bit_Slow_SSE4_2 is set.
13856 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13857 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13858
138592013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13860
13861 [BZ #15867]
13862 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13863 trampoline stack frame information.
13864 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13865 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13866 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13867 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13868 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13869 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13870 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13871 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13872 sa_flags value.
13873 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13874 interrupting a syscall and set with option SA_SIGINFO.
13875
138762013-08-20 Joseph Myers <joseph@codesourcery.com>
13877
13878 [BZ #15531]
13879 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13880 argument is infinite.
13881 * math/s_cprojf.c (__cprojf): Likewise.
13882 * math/s_cprojl.c (__cprojl): Likewise.
13883 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13884 * math/libm-test.inc (cproj_test_data): Add more tests.
13885
13886 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13887
13888 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13889 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13890 size. Use __ffs to determine corresponding shift.
13891
138922013-08-20 Joseph Myers <joseph@codesourcery.com>
13893 Roland McGrath <roland@hack.frob.com>
13894
13895 * Makefile (INSTALL): Remove trailing blank lines from output of
13896 makeinfo.
13897
138982013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13899
13900 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13901 Align 32 bit compat elf_greg to 8 bytes.
13902
139032013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13904
13905 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13906
139072013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13908
13909 * string/strcoll_l.c (coll_seq): New structure.
13910 (get_next_seq_cached): New function.
13911 (get_next_seq): New function.
13912 (do_compare): New function.
13913 (STRCOLL): Use GNU style definition. Simplify implementation
13914 by using get_next_seq, get_next_seq_cached and do_compare.
13915
139162013-08-16 Florian Weimer <fweimer@redhat.com>
13917
13918 [BZ #14699]
13919 CVE-2013-4237
13920 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13921 member.
13922 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13923 member.
13924 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13925 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13926 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13927 conditional.
13928 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13929 GETDENTS_64BIT_ALIGNED.
13930 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13931 * manual/filesys.texi (Reading/Closing Directory): Document
13932 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13933 strongly.
13934 * manual/conf.texi (Limits for Files): Add portability note to
13935 NAME_MAX, PATH_MAX.
13936 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13937
139382013-08-13 Andreas Schwab <schwab@suse.de>
13939
13940 [BZ #15749]
13941 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13942 of fabs.
13943 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13944 LDBL_MAX_EXP >= 16384]: Add tests for it.
13945
139462013-08-12 David S. Miller <davem@davemloft.net>
13947
13948 * version.h (RELEASE): Set to "development".
13949 (VERSION): Set to "2.18.90".
13950 * NEWS: Add 2.19 section.
13951
139522013-08-03 David S. Miller <davem@davemloft.net>
13953
13954 * po/ko.po: Update Korean translation from translation project.
13955
139562013-08-01 David S. Miller <davem@davemloft.net>
13957
13958 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13959 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13960 Bilka.
13961
139622013-07-30 David S. Miller <davem@davemloft.net>
13963
13964 * po/fr.po: Update French translation from translation project.
13965
139662013-07-28 David S. Miller <davem@davemloft.net>
13967
13968 * po/cs.po: Update Czech translation from translation project.
13969
13970 * po/sv.po: Update Swedish translation from translation project.
13971
139722013-07-27 David S. Miller <davem@davemloft.net>
13973
13974 * po/eo.po: Update Esperanto translation from translation project.
13975
13976 * po/vi.po: Update Vietnamese translation from translation project.
13977
13978 * po/de.po: Update German translation from translation project.
13979
139802013-07-26 David S. Miller <davem@davemloft.net>
13981
13982 * po/bg.po: Update Bulgarian translation from translation project.
13983
13984 * po/nl.po: Update Dutch translation from translation project.
13985 * po/pl.po: Update Polish translation from translation project.
13986 * po/ru.po: Update Russian translation from translation project.
13987
139882013-07-24 David S. Miller <davem@davemloft.net>
13989
13990 * po/libc.pot: Update.
13991
139922013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13993
13994 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13995 variable page size.
13996 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13997 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13998 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13999
140002013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14001
14002 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14003
140042013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14005 Andreas Schwab <schwab@suse.de>
14006 Roland McGrath <roland@hack.frob.com>
14007 Joseph Myers <joseph@codesourcery.com>
14008 Carlos O'Donell <carlos@redhat.com>
14009
14010 [BZ #15755]
14011 * config.h.in: Define HAVE_PT_CHOWN.
14012 * config.make.in (build-pt-chown): New variable.
14013 * configure.in (--enable-pt_chown): New configure option.
14014 * configure: Regenerate.
14015 * login/Makefile: Include Makeconfig. Build pt_chown only if
14016 build-pt-chown is enabled.
14017 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14018 pt_chown to fix pty ownership.
14019 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14020 CLOSE_ALL_FDS.
14021 * manual/install.texi (Configuring and compiling): Mention
14022 --enable-pt_chown. Add @findex for grantpt.
14023 * INSTALL: Regenerate.
14024
140252013-07-20 David S. Miller <davem@davemloft.net>
14026
14027 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14028 difference between 32-bit and 64-bit.
14029
140302013-07-15 Carlos O'Donell <carlos@redhat.com>
14031
14032 [BZ #15711]
14033 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14034 Avoid system header dependency with -ffreestanding.
14035 ($(objpfx)bits/syscall%d): Likewise.
14036
140372013-07-13 David S. Miller <davem@davemloft.net>
14038
14039 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14040 underflows from atanl/atan2l due to bug 15319.
14041 (casinh_test_data): Likewise.
14042
140432013-07-07 David S. Miller <davem@davemloft.net>
14044
14045 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14046
140472013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14048
14049 * sysdeps/i386/fpu/libm-test-ulps: Update.
14050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14051
140522013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14053
14054 * configure.in (--enable-lock-elision): Fix message text.
14055 * INSTALL: Regenerate.
14056 * configure: Regenerate.
14057
140582013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14059
14060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14061
140622013-07-03 Andreas Jaeger <aj@suse.de>
14063
14064 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14065 define.
14066 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14067 (ptrace_peeksiginfo_args): Add.
14068 (__ptrace_peeksiginfo_flags): Add.
14069 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14070 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14072
140732013-07-03 Allan McRae <allan@archlinux.org>
14074
14075 * sysdeps/i386/fpu/libm-test-ulps: Update.
14076
140772013-07-02 David S. Miller <davem@davemloft.net>
14078
14079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14080
140812013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14082
14083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14084
140852013-07-02 Joseph Myers <joseph@codesourcery.com>
14086
14087 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14089
140902013-07-02 Andi Kleen <ak@linux.intel.com>
14091
14092 * config.h.in (ENABLE_LOCK_ELISION): Add.
14093 * configure.in (--enable-lock-elision): Add option.
14094 * manual/install.texi: Document --enable lock elision.
14095 * configure: Regenerate
14096 * INSTALL: Regenerate.
14097
140982013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14099
14100 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14101 SSE4.2 strcasecmp for libc.a.
14102 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14103
141042013-07-02 Joseph Myers <joseph@codesourcery.com>
14105
14106 [BZ #13304]
14107 * soft-fp/op-common.h (_FP_FMA): New macro.
14108 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14109 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14110 (_FP_MUL_MEAT_1_imm): ... here.
14111 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14112 (_FP_MUL_MEAT_1_wide): ... here.
14113 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14114 (_FP_MUL_MEAT_1_hard): ... here.
14115 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14116 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14117 (_FP_MUL_MEAT_2_wide): ... here.
14118 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14119 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14120 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14121 (_FP_MUL_MEAT_2_gmp): ... here.
14122 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14123 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14124 (_FP_MUL_MEAT_4_wide): ... here.
14125 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14126 (_FP_MUL_MEAT_4_gmp): ... here.
14127 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14128 (_FP_WFRACBITS_DW_S): Likewise.
14129 (_FP_WFRACXBITS_DW_S): Likewise.
14130 (_FP_HIGHBIT_DW_S): Likewise.
14131 (FP_FMA_S): Likewise.
14132 (_FP_FRAC_HIGH_DW_S): Likewise.
14133 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14134 (_FP_WFRACBITS_DW_D): Likewise.
14135 (_FP_WFRACXBITS_DW_D): Likewise.
14136 (_FP_HIGHBIT_DW_D): Likewise.
14137 (FP_FMA_D): Likewise.
14138 (_FP_FRAC_HIGH_DW_D): Likewise.
14139 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14140 (_FP_WFRACBITS_DW_E): Likewise.
14141 (_FP_WFRACXBITS_DW_E): Likewise.
14142 (_FP_HIGHBIT_DW_E): Likewise.
14143 (FP_FMA_E): Likewise.
14144 (_FP_FRAC_HIGH_DW_E): Likewise.
14145 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14146 (_FP_WFRACBITS_DW_Q): Likewise.
14147 (_FP_WFRACXBITS_DW_Q): Likewise.
14148 (_FP_HIGHBIT_DW_Q): Likewise.
14149 (FP_FMA_Q): Likewise.
14150 (_FP_FRAC_HIGH_DW_Q): Likewise.
14151 * soft-fp/fmasf4.c: New file.
14152 * soft-fp/fmadf4.c: Likewise.
14153 * soft-fp/fmatf4.c: Likewise.
14154
141552013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14156
14157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14158 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14159 Silvermont.
14160 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14161 macro.
14162 (index_Slow_SSE4_2): Likewise.
14163 (index_Prefer_PMINUB_for_stringop): Likewise.
14164 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14165 bit_Slow_SSE4_2 is set.
14166 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14167 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14168
141692013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14170
14171 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14172 rtld_global._dl_hwcap2.
14173 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14174 POWER8.
14175 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14176 POWER8 feature descriptions defined in _dl_hwcap2.
14177 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14178 string handling for POWER8 feature bits.
14179 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14180 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14181 _dl_powerpc_cap_flags.
14182 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14183 * sysdeps/powerpc/rtld-global-offsets.sym
14184 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14185 _dl_hwcap2 in the rtld_global_ro structure.
14186
141872013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14188
14189 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14190 hardware capabilities in support of AT_HWCAP2.
14191 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14192 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14193 GLRO(dl_hwcap2).
14194 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14195 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14196 explicitly the unknown a_type display mechanism is used.
14197 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14198 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14199 struct member.
14200 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14201 to macro prototype for AT_HWCAP2 support.
14202 * sysdeps/i386/dl-procinfo.h: Likewise.
14203 * sysdeps/s390/dl-procinfo.h: Likewise.
14204 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14205 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14206 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14207 return -1 for unknown a_type display fallback.
14208 * sysdeps/sparc/dl-procinfo.h: Likewise.
14209 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14210 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14211
142122013-06-28 Joseph Myers <joseph@codesourcery.com>
14213
14214 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14215 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14216
142172013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14218
14219 [BZ #12492]
14220 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14221 mprotect making __stack_prot writable.
14222
142232013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14224 Joseph Myers <joseph@codesourcery.com>
14225
14226 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14227 as being properly aligned.
14228
142292013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14230
14231 * dlfcn/modstatic5.c: New file.
14232 * dlfcn/tststatic5.c: New file.
14233 * dlfcn/Makefile (tests): Add tststatic5.
14234 (tests-static): Likewise.
14235 (modules-names): Add modstatic5.
14236 (tststatic5-ENV): New variable.
14237 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14238
14239 [BZ #15022]
14240 * elf/dl-support.c (_dl_main_map): New variable.
14241 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14242 (_dl_nns, _dl_load_adds): Set to 1.
14243 (_dl_initial_searchlist): Refer to _dl_main_map.
14244 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14245 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14246 call to _dl_get_origin.
14247 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14248 around call_map.
14249 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14250 * dlfcn/modstatic3.c: New file.
14251 * dlfcn/tststatic3.c: New file.
14252 * dlfcn/tststatic4.c: New file.
14253 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14254 (tests-static): Likewise.
14255 (modules-names): Add modstatic3.
14256 (tststatic3-ENV, tststatic4-ENV): New variables.
14257 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14258 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14259
142602013-06-26 Joseph Myers <joseph@codesourcery.com>
14261
14262 * configure.in (CC): Require GCC version 4.4 or later.
14263 * configure: Regenerated.
14264 * manual/install.texi (Tools for Compilation): Update GCC version
14265 requirement.
14266 * INSTALL: Regenerated.
14267
142682013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14269
14270 [BZ #15674]
14271 * string/test-memcmp.c (check2): New.
14272 (main): Call check2.
14273
14274 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14275
142762013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14277
14278 [BZ #15022]
14279 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14280 over to...
14281 (dl_open_worker) [!SHARED]: ... here.
14282
142832013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14284
14285 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14286
142872013-06-25 Richard Henderson <rth@redhat.com>
14288
14289 * locale/programs/locarchive.c: Include <libc-internal.h>
14290
142912013-06-25 Joseph Myers <joseph@codesourcery.com>
14292
14293 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14294 trailing whitespace removed.
14295
142962013-06-24 Mike Frysinger <vapier@gentoo.org>
14297
14298 [BZ #10283]
14299 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14300 * locale/programs/locarchive.c: Include libc-mmap.h.
14301 (prepare_address_space): Take two new outputs (the mmap base and len).
14302 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14303 values.
14304 (create_archive): Declare new mmap base and len values for
14305 prepare_address_space, and store the result in ah.
14306 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14307 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14308 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14309 Declare new mmap base and len values for
14310 prepare_address_space, and store the result in new_ah.
14311 (open_archive): Declare new mmap base and len values for
14312 prepare_address_space, and store the result in ah.
14313 (close_archive): If ah->mmap_base is not NULL, use that and
14314 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14315 * sysdeps/generic/libc-mmap.h: New file.
14316
143172013-06-24 Mike Frysinger <vapier@gentoo.org>
14318
14319 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14320 (ALIGN_UP): Likewise.
14321 (PTR_ALIGN_DOWN): Likewise.
14322 (PTR_ALIGN_UP): Likewise.
14323
143242013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14325
14326 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14327 entry mapped to PPC_PLATFORM_POWER8.
14328 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14329 POWER8.
14330 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14331 (_dl_string_platform): Add case for exporting platform position for
14332 POWER8.
14333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14334 search path to sysdeps/powerpc/powerpc32/power8 directory.
14335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14336 search path to sysdeps/powerpc/powerpc64/power8 directory.
14337 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14338 power7 directories.
14339 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14340 power7 directories.
14341
143422013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14343
14344 * INSTALL: Regenerate.
14345
14346 * nscd/connections.c (nscd_init): Fix comment.
14347
143482013-06-22 Joseph Myers <joseph@codesourcery.com>
14349
14350 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14351
14352 [BZ #15667]
14353 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14354 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14355
143562013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14357
14358 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14359 DL_DST_REQ_STATIC.
14360 (DL_DST_REQ_STATIC): Remove macro.
14361
143622013-06-21 Joseph Myers <joseph@codesourcery.com>
14363
14364 [BZ #7006]
14365 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14366 with a shift of 0 bits.
14367
143682013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14369
14370 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14371 $(tststatic-ENV).
14372
143732013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14374
14375 [BZ #15655]
14376 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14377
143782013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14379
14380 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14381 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14382 accepts -fno-tree-loop-distribute-patterns.
14383 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14384 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14385 recursive call.
14386 * string/memset.c (memset): Likewise.
14387 * string/test-memmove.c (simple_memmove): Disable loop transformation
14388 to library calls.
14389 * string/test-memset.c (simple_memset): Likewise.
14390 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14391 * benchtests/bench-memset.c (simple_memset): Likewise.
14392 * configure: Regenerated.
14393
143942013-06-20 Joseph Myers <joseph@codesourcery.com>
14395
14396 * math/test-misc.c (main): Ignore fesetround failure when failures
14397 of subsequent rounding tests would be ignored.
14398
14399 [BZ #15654]
14400 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14401 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14402 * math/fegetenv.c (__fegetenv): Return 0.
14403 * math/fegetexcept.c (fegetexcept): Return 0.
14404 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14405 FE_TONEAREST.
14406 * math/feholdexcpt.c (feholdexcept): Return 0.
14407 * math/fesetenv.c (__fesetenv): Return 0.
14408 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14409 argument FE_TONEAREST.
14410 * math/feupdateenv.c (__feupdateenv): Return 0.
14411 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14412
144132013-06-18 Roland McGrath <roland@hack.frob.com>
14414
14415 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14416 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14417 ($(objpfx)rtld-%.os rules): Use them.
14418
144192013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14420
14421 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14422 fields.
14423
144242013-06-17 Roland McGrath <roland@hack.frob.com>
14425
14426 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14427 length of target pattern, then descending length of dependency pattern.
14428 * configure.in (AWK): Require gawk 3.1.2 or newer.
14429 * manual/install.texi (Tools for Compilation): Say that we do.
14430 * configure: Regenerated.
14431
14432 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14433 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14434 * scripts/sysd-rules.awk: ... this new script.
14435 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14436 than a glob-style pattern.
14437
144382013-06-17 Joseph Myers <joseph@codesourcery.com>
14439
14440 * math/test-misc.c (main): Do not treat incorrectly rounded
14441 conversions as failure unless ROUNDING_TESTS passes.
14442
144432013-06-15 Joseph Myers <joseph@codesourcery.com>
14444
14445 [BZ #15631]
14446 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14447 restore exception state around main square root computation, then
14448 check for inexactness explicitly.
14449
14450 * math/libm-test.inc (fma_test_data): Add another test.
14451
144522013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14453
14454 * manual/threads.texi (Non-POSIX Extensions): New document
14455 node. Document pthread_getattr_default_np and
14456 pthread_setattr_default_np.
14457
14458 * Versions.def (libpthread): Add GLIBC_2.18.
14459 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14461 Likewise.
14462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14463 Likewise.
14464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14465 Likewise.
14466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14467 Likewise.
14468 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14469 Likewise.
14470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14471 Likewise.
14472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14473 Likewise.
14474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14475 Likewise.
14476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14477 Likewise.
14478
144792013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14480
14481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14482 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14483
144842013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14485 H.J. Lu <hjl.tools@gmail.com>
14486
14487 [BZ #15627]
14488 * sysdeps/x86_64/rtld-memset.c: Remove file.
14489 * sysdeps/x86_64/rtld-memset.S: New file.
14490
144912013-06-14 Joseph Myers <joseph@codesourcery.com>
14492
14493 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14494 (test_in_one_mode): Take arguments for whether the rounding mode
14495 is supported for each floating-point type.
14496 (do_test): Pass new arguments to test_in_one_mode using
14497 ROUNDING_TESTS.
14498
144992013-06-13 Roland McGrath <roland@hack.frob.com>
14500
14501 * posix/tst-waitid.c (do_test): Distinguish different instances of
14502 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14503 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14504 before entering the kernel for waitpid.
14505
145062013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14507
14508 * NEWS: Fix note on clock function precision. Text by Roland
14509 McGrath.
14510
145112013-06-13 Roland McGrath <roland@hack.frob.com>
14512
14513 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14514 it into place only when and if the sanity check passes.
14515
145162013-06-13 Joseph Myers <joseph@codesourcery.com>
14517
14518 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14519 output for whether conversion result is exact. Take argument
14520 indicating whether type is IBM long double.
14521 (round_for_all): Change need_exact field to ibm_ld.
14522 * stdlib/tst-strtod-round.c (struct exactness): New type.
14523 (struct test): Change bool ld_ok field to struct exactness exact.
14524 (TEST): Update all definitions for change to field.
14525 (tests): Regenerate array contents.
14526 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14527 field value. Check for IBM long double here.
14528 (do_test): Update calls to test_in_one_mode.
14529
145302013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14531
14532 [BZ #12515]
14533 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14534 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14535
145362013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14537
14538 [BZ #15605]
14539 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14540 generated by the compiler on loop optimizations.
14541 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14542 general definitions.
14543
145442013-06-12 Joseph Myers <joseph@codesourcery.com>
14545
14546 * math/bug-nextafter.c: Include <math-tests.h>.
14547 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14548 the relevant type.
14549 * math/bug-nexttoward.c: Include <math-tests.h>.
14550 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14551 the relevant type.
14552 * math/test-misc.c: Include <math-tests.h>.
14553 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14554 the relevant type.
14555
145562013-06-12 Andreas Jaeger <aj@suse.de>
14557
14558 * po/ia.po: Update Interlingua translation from translation
14559 project.
14560
145612013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14562
14563 * include/fenv.h: Include stdbool.h.
14564 (struct rm_ctx): New structure.
14565 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14566 Define macro.
14567 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14568 (SET_RESTORE_ROUNDF): Likewise.
14569 (SET_RESTORE_ROUNDL): Likewise.
14570 (SET_RESTORE_ROUND_NOEX): Likewise.
14571 (SET_RESTORE_ROUND_NOEXF): Likewise.
14572 (SET_RESTORE_ROUND_NOEXL): Likewise.
14573 (SET_RESTORE_ROUND_53BIT): Likewise.
14574 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14575 (libc_feresetround_noexf_ctx): Likewise.
14576 (libc_feresetround_noexl_ctx): Likewise.
14577 (libc_feholdsetround_53bit_ctx): Likewise.
14578 (libc_feresetround_53bit_ctx): Likewise.
14579 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14580 (libc_feholdexcept_setround_sse_ctx): New function.
14581 (libc_fesetenv_sse_ctx): Likewise.
14582 (libc_feupdateenv_sse_ctx): Likewise.
14583 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14584 (libc_feholdexcept_setround_387_ctx): Likewise.
14585 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14586 (libc_feholdsetround_387_prec_ctx): Likewise.
14587 (libc_feholdsetround_387_ctx): Likewise.
14588 (libc_feholdsetround_387_53bit_ctx): Likewise.
14589 (libc_feholdsetround_sse_ctx): Likewise.
14590 (libc_feresetround_sse_ctx): Likewise.
14591 (libc_feresetround_387_ctx): Likewise.
14592 (libc_feupdateenv_387_ctx): Likewise.
14593 (libc_feholdexcept_setroundf_ctx): Define macro.
14594 (libc_fesetenvf_ctx): Likewise.
14595 (libc_feupdateenvf_ctx): Likewise.
14596 (libc_feholdsetroundf_ctx): Likewise.
14597 (libc_feresetroundf_ctx): Likewise.
14598 (libc_feholdexcept_setround_ctx): Likewise.
14599 (libc_fesetenv_ctx): Likewise.
14600 (libc_feupdateenv_ctx): Likewise.
14601 (libc_feholdsetround_ctx): Likewise.
14602 (libc_feresetround_ctx): Likewise.
14603 (libc_feholdexcept_setroundl_ctx): Likewise.
14604 (libc_feupdateenvl_ctx): Likewise.
14605 (libc_feholdsetroundl_ctx): Likewise.
14606 (libc_feresetroundl_ctx): Likewise.
14607 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14608 (libc_feresetround_53bit_ctx): Likewise.
14609
146102013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14611
14612 * locale/iso-639.def: Convert to UTF-8.
14613
146142013-06-11 Joseph Myers <joseph@codesourcery.com>
14615
14616 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14617 (EXCEPTION_TESTS_double): Likewise.
14618 (EXCEPTION_TESTS_long_double): Likewise.
14619 (EXCEPTION_TESTS): Likewise.
14620 * math/libm-test.inc (test_exceptions): Only test exceptions if
14621 EXCEPTION_TESTS (FLOAT).
14622
146232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14624
14625 * benchtests/Makefile (string-bench): Add strcpy_chk and
14626 stpcpy_chk.
14627 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14628 * benchtests/bench-stpcpy_chk.c: New file.
14629 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14630 * benchtests/bench-strcpy_chk.c: New file.
14631 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14632 code.
14633 (do_test): Likewise.
14634
146352013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14636
14637 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14638 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14639 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14640 with tabs where appropriate.
14641 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14642 dl-procinfo.h.
14643 [PPC_PLATFORM_PPC440]: Likewise.
14644 [PPC_PLATFORM_PPC464]: Likewise.
14645 [PPC_PLATFORM_PPC476]: Likewise.
14646 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14647 ppc464, and ppc476 platform strings merging from ports/
14648 dl-procinfo.h.
14649
146502013-06-11 Andreas Schwab <schwab@suse.de>
14651
14652 [BZ #14991]
14653 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14654 (from_ucs4_idx): Regenerate.
14655 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14656 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14657 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14658 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14659 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14660 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14661 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14662 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14663 from FROM_LOOP and TO_LOOP specific macros.
14664 (BODY): Handle combining characters.
14665 * iconvdata/BIG5HKSCS.irreversible: Update.
14666 * iconvdata/BIG5HKSCS.precomposed: New file.
14667 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14668 characters.
14669 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14670
146712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14672
14673 * include/sys/time.h: Fix indentation and add copyright header.
14674
14675 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14676 (do_test): Likewise.
14677 * string/test-memchr.c (do_one_test): Likewise.
14678 (do_test): Likewise.
14679 * string/test-memcmp.c (do_one_test): Likewise.
14680 (do_test): Likewise.
14681 * string/test-memcpy.c (do_one_test): Likewise.
14682 (do_test): Likewise.
14683 * string/test-memmem.c (do_one_test): Likewise.
14684 (do_test): Likewise.
14685 (do_random_tests): Likewise.
14686 * string/test-memmove.c (do_one_test): Likewise.
14687 (do_test): Likewise.
14688 * string/test-memset.c (do_one_test): Likewise.
14689 (do_test): Likewise.
14690 * string/test-rawmemchr.c (do_one_test): Likewise.
14691 (do_test): Likewise.
14692 * string/test-strcasecmp.c (do_one_test): Likewise.
14693 (do_test): Likewise.
14694 * string/test-strcasestr.c (do_one_test): Likewise.
14695 (do_test): Likewise.
14696 * string/test-strcat.c (do_one_test): Likewise.
14697 (do_test): Likewise.
14698 * string/test-strchr.c (do_one_test): Likewise.
14699 (do_test): Likewise.
14700 * string/test-strcmp.c (do_one_test): Likewise.
14701 (do_test): Likewise.
14702 * string/test-strcpy.c (do_one_test): Likewise.
14703 (do_test): Likewise.
14704 * string/test-string.h: Likewise.
14705 (test_init): Likewise.
14706 * string/test-strlen.c (do_one_test): Likewise.
14707 (do_test): Likewise.
14708 * string/test-strncasecmp.c (do_one_test): Likewise.
14709 (do_test): Likewise.
14710 * string/test-strncat.c (do_one_test): Likewise.
14711 (do_test): Likewise.
14712 * string/test-strncmp.c (do_one_test): Likewise.
14713 (do_test_limit): Likewise.
14714 (do_test): Likewise.
14715 * string/test-strncpy.c (do_one_test): Likewise.
14716 (do_test): Likewise.
14717 * string/test-strnlen.c (do_one_test): Likewise.
14718 (do_test): Likewise.
14719 * string/test-strpbrk.c (do_one_test): Likewise.
14720 (do_test): Likewise.
14721 * string/test-strrchr.c (do_one_test): Likewise.
14722 (do_test): Likewise.
14723 * string/test-strspn.c (do_one_test): Likewise.
14724 (do_test): Likewise.
14725 * string/test-strstr.c (do_one_test): Likewise.
14726 (do_test): Likewise.
14727
14728 * benchtests/Makefile (string-bench): Add string benchmarks.
14729 * benchtests/bench-bcopy-ifunc.c: New file.
14730 * benchtests/bench-bcopy.c: New file.
14731 * benchtests/bench-bzero-ifunc.c: New file.
14732 * benchtests/bench-bzero.c: New file.
14733 * benchtests/bench-memccpy-ifunc.c: New file.
14734 * benchtests/bench-memccpy.c: New file.
14735 * benchtests/bench-memchr-ifunc.c: New file.
14736 * benchtests/bench-memchr.c: New file.
14737 * benchtests/bench-memcmp-ifunc.c: New file.
14738 * benchtests/bench-memcmp.c: New file.
14739 * benchtests/bench-memmem-ifunc.c: New file.
14740 * benchtests/bench-memmem.c: New file.
14741 * benchtests/bench-memmove-ifunc.c: New file.
14742 * benchtests/bench-memmove.c: New file.
14743 * benchtests/bench-mempcpy-ifunc.c: New file.
14744 * benchtests/bench-mempcpy.c: New file.
14745 * benchtests/bench-memset-ifunc.c: New file.
14746 * benchtests/bench-memset.c: New file.
14747 * benchtests/bench-rawmemchr-ifunc.c: New file.
14748 * benchtests/bench-rawmemchr.c: New file.
14749 * benchtests/bench-stpcpy-ifunc.c: New file.
14750 * benchtests/bench-stpcpy.c: New file.
14751 * benchtests/bench-stpncpy-ifunc.c: New file.
14752 * benchtests/bench-stpncpy.c: New file.
14753 * benchtests/bench-strcasecmp-ifunc.c: New file.
14754 * benchtests/bench-strcasecmp.c: New file.
14755 * benchtests/bench-strcasestr-ifunc.c: New file.
14756 * benchtests/bench-strcasestr.c: New file.
14757 * benchtests/bench-strcat-ifunc.c: New file.
14758 * benchtests/bench-strcat.c: New file.
14759 * benchtests/bench-strchr-ifunc.c: New file.
14760 * benchtests/bench-strchr.c: New file.
14761 * benchtests/bench-strchrnul-ifunc.c: New file.
14762 * benchtests/bench-strchrnul.c: New file.
14763 * benchtests/bench-strcmp-ifunc.c: New file.
14764 * benchtests/bench-strcmp.c: New file.
14765 * benchtests/bench-strcpy-ifunc.c: New file.
14766 * benchtests/bench-strcpy.c: New file.
14767 * benchtests/bench-strcspn-ifunc.c: New file.
14768 * benchtests/bench-strcspn.c: New file.
14769 * benchtests/bench-strlen-ifunc.c: New file.
14770 * benchtests/bench-strlen.c: New file.
14771 * benchtests/bench-strncasecmp-ifunc.c: New file.
14772 * benchtests/bench-strncasecmp.c: New file.
14773 * benchtests/bench-strncat-ifunc.c: New file.
14774 * benchtests/bench-strncat.c: New file.
14775 * benchtests/bench-strncmp-ifunc.c: New file.
14776 * benchtests/bench-strncmp.c: New file.
14777 * benchtests/bench-strncpy-ifunc.c: New file.
14778 * benchtests/bench-strncpy.c: New file.
14779 * benchtests/bench-strnlen-ifunc.c: New file.
14780 * benchtests/bench-strnlen.c: New file.
14781 * benchtests/bench-strpbrk-ifunc.c: New file.
14782 * benchtests/bench-strpbrk.c: New file.
14783 * benchtests/bench-strrchr-ifunc.c: New file.
14784 * benchtests/bench-strrchr.c: New file.
14785 * benchtests/bench-strspn-ifunc.c: New file.
14786 * benchtests/bench-strspn.c: New file.
14787 * benchtests/bench-strstr-ifunc.c: New file.
14788 * benchtests/bench-strstr.c: New file.
14789
14790 * benchtests/Makefile: Disable parallel execution of targets.
14791 (string-bench): Add memcpy.
14792 (benchset): New variable to store a list of benchmark sets.
14793 (bench-func): Renamed from bench.
14794 (bench-set): New target.
14795 (bench): Depend on bench-func and bench-set.
14796 * benchtests/README: Add section on benchmark sets.
14797 * benchtests/bench-memcpy-ifunc.c: New file.
14798 * benchtests/bench-memcpy.c: New file.
14799 * benchtests/bench-string.h: New file.
14800
148012013-06-11 Andreas Schwab <schwab@suse.de>
14802
14803 [BZ #15577]
14804 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14805 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14806 values in the triple.
14807 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14808 terminator in the group key.
14809
148102013-06-11 Andreas Jaeger <aj@suse.de>
14811
14812 * po/zh_TW.po: Update Chinese (traditional) translation from
14813 translation project.
14814
148152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14816
14817 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14818 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14819 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14820 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14821 (clock_getcpuclockid): Likewise.
14822 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14823 Add weak_alias and libc_hidden_def.
14824 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14825 * rt/clock_gettime.c (clock_gettime): Rename to
14826 __clock_gettime. Add weak_alias and libc_hidden_def.
14827 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14828 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14829 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14830 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14831 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14832 Likewise.
14833 * rt/clock_settime.c (clock_settime): Rename to
14834 __clock_settime. Add weak_alias and libc_hidden_def.
14835 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14836
148372013-06-10 Joseph Myers <joseph@codesourcery.com>
14838
14839 * mach/err_boot.sub: Remove trailing whitespace.
14840 * mach/err_ipc.sub: Likewise.
14841 * mach/err_mach.sub: Likewise.
14842
14843 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14844 (ROUNDING_TESTS_double): Likewise.
14845 (ROUNDING_TESTS_long_double): Likewise.
14846 (ROUNDING_TESTS): Likewise.
14847 * math/libm-test.inc: Include <math-tests.h>.
14848 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14849 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14850 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14851 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14852
148532013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14854
14855 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14856 of assigning.
14857
148582013-06-08 Joseph Myers <joseph@codesourcery.com>
14859
14860 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14861 otherwise empty TRANS lines.
14862 * sysdeps/gnu/errlist.c: Regenerated.
14863
14864 * catgets/gencat.c (error_print): Use (void) in function
14865 definition.
14866 * crypt/crypt_util.c (__init_des): Likewise.
14867 * crypt/speeds.c (Stop): Likewise.
14868 (main): Likewise.
14869 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14870 * inet/ruserpass.c (token): Likewise.
14871 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14872 * intl/localealias.c (extend_alias_table): Likewise.
14873 * intl/plural-exp.c (init_germanic_plural): Likewise.
14874 * libio/fcloseall.c (__fcloseall): Likewise.
14875 * libio/genops.c (_IO_flush_all): Likewise.
14876 (_IO_flush_all_linebuffered): Likewise.
14877 (_IO_cleanup): Likewise.
14878 (_IO_iter_begin): Likewise.
14879 (_IO_iter_end): Likewise.
14880 (_IO_list_lock): Likewise.
14881 (_IO_list_unlock): Likewise.
14882 (_IO_list_resetlock): Likewise.
14883 * libio/getchar.c (getchar): Likewise.
14884 * libio/getchar_u.c (getchar_unlocked): Likewise.
14885 * libio/getwchar.c (getwchar): Likewise.
14886 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14887 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14888 * login/getpt.c (__getpt): Likewise.
14889 * login/tst-utmp.c (main): Likewise.
14890 * malloc/hooks.c (__malloc_check_init): Likewise.
14891 * malloc/malloc.c (__malloc_stats): Likewise.
14892 * malloc/mtrace.c (tr_break): Likewise.
14893 (mtrace): Likewise.
14894 (muntrace): Likewise.
14895 * misc/fstab.c (endfsent): Likewise.
14896 * misc/getclktck.c (__getclktck): Likewise.
14897 * misc/getdtsz.c (__getdtablesize): Likewise.
14898 * misc/gethostid.c (gethostid): Likewise.
14899 * misc/getpagesize.c (__getpagesize): Likewise.
14900 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14901 (__get_nprocs): Likewise.
14902 (__get_phys_pages): Likewise.
14903 (__get_avphys_pages): Likewise.
14904 * misc/getttyent.c (getttyent): Likewise.
14905 (setttyent): Likewise.
14906 (endttyent): Likewise.
14907 * misc/getusershell.c (getusershell): Likewise.
14908 (endusershell): Likewise.
14909 (setusershell): Likewise.
14910 (initshells): Likewise.
14911 * misc/hsearch.c (__hdestroy): Likewise.
14912 * misc/sync.c (sync): Likewise.
14913 * misc/syslog.c (closelog_internal): Likewise.
14914 (closelog): Likewise.
14915 * misc/ttyslot.c (ttyslot): Likewise.
14916 * misc/vhangup.c (vhangup): Likewise.
14917 * posix/fork.c (__fork): Likewise.
14918 * posix/getegid.c (__getegid): Likewise.
14919 * posix/geteuid.c (__geteuid): Likewise.
14920 * posix/getgid.c (__getgid): Likewise.
14921 * posix/getpid.c (__getpid): Likewise.
14922 * posix/getppid.c (__getppid): Likewise.
14923 * posix/getuid.c (__getuid): Likewise.
14924 * posix/pause.c (pause): Likewise.
14925 * posix/setpgrp.c (setpgrp): Likewise.
14926 * posix/setsid.c (__setsid): Likewise.
14927 * posix/test-vfork.c (noop): Likewise.
14928 * resolv/gethnamaddr.c (_endhtent): Likewise.
14929 (_gethtent): Likewise.
14930 (ht_endhostent): Likewise.
14931 (gethostent): Likewise.
14932 (dns_service): Likewise.
14933 * stdlib/drand48.c (drand48): Likewise.
14934 * stdlib/lrand48.c (lrand48): Likewise.
14935 * stdlib/mrand48.c (mrand48): Likewise.
14936 * stdlib/rand.c (rand): Likewise.
14937 * stdlib/random.c (__random): Likewise.
14938 * stdlib/setenv.c (clearenv): Likewise.
14939 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14940 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14941 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14942 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14943 (__get_nprocs): Likewise.
14944 (__get_phys_pages): Likewise.
14945 (__get_avphys_pages): Likewise.
14946 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14947 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14948 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14949 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14950 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14951 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14952 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14953 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14954 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14955 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14956 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14957 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14958 * sysdeps/posix/clock.c (clock): Likewise.
14959 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14960 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14961 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14962 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14963 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14964 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14965 (__get_nprocs_conf): Likewise.
14966 (__get_phys_pages): Likewise.
14967 (__get_avphys_pages): Likewise.
14968 * time/clock.c (clock): Likewise.
14969 * time/tzset.c (__tzname_max): Likewise.
14970
149712013-06-07 Joseph Myers <joseph@codesourcery.com>
14972
14973 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14974 (__bswap_32): Do not use "register".
14975 * crypt/crypt.c (_ufc_doit_r): Likewise.
14976 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14977 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14978 * gmon/gmon.c (__monstartup): Likewise.
14979 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14980 * hurd/hurdmalloc.c (more_memory): Likewise.
14981 (malloc): Likewise.
14982 (free): Likewise.
14983 (realloc): Likewise.
14984 (malloc_fork_prepare): Likewise.
14985 (malloc_fork_parent): Likewise.
14986 (malloc_fork_child): Likewise.
14987 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14988 (_svcauth_des): Likewise.
14989 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14990 * inet/inet_net.c (inet_network): Likewise.
14991 * inet/inet_netof.c (inet_netof): Likewise.
14992 * inet/rcmd.c (__validuser2_sa): Likewise.
14993 * io/fts.c (fts_open): Likewise.
14994 (fts_load): Likewise.
14995 (fts_close): Likewise.
14996 (fts_read): Likewise.
14997 (fts_children): Likewise.
14998 (fts_build): Likewise.
14999 (fts_stat): Likewise.
15000 (fts_sort): Likewise.
15001 (fts_alloc): Likewise.
15002 (fts_lfree): Likewise.
15003 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15004 (_IO_file_xsgetn): Likewise.
15005 (_IO_file_xsgetn_mmap): Likewise.
15006 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15007 (_IO_cookie_write): Likewise.
15008 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15009 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15010 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15011 * malloc/obstack.c (_obstack_begin): Likewise.
15012 (_obstack_begin_1): Likewise.
15013 (_obstack_newchunk): Likewise.
15014 (_obstack_allocated_p): Likewise.
15015 (obstack_free): Likewise.
15016 (_obstack_memory_used): Likewise.
15017 * misc/getttyent.c (getttynam): Likewise.
15018 (getttyent): Likewise.
15019 (skip): Likewise.
15020 (value): Likewise.
15021 * misc/getusershell.c (initshells): Likewise.
15022 * misc/syslog.c (__vsyslog_chk): Likewise.
15023 * misc/ttyslot.c (ttyslot): Likewise.
15024 * nis/nis_hash.c (__nis_hash): Likewise.
15025 * posix/fnmatch_loop.c (FCT): Likewise.
15026 * posix/getconf.c (print_all): Likewise.
15027 (main): Likewise.
15028 * posix/getopt.c (exchange): Likewise.
15029 * posix/glob.c (globfree): Likewise.
15030 (prefix_array): Likewise.
15031 (__glob_pattern_type): Likewise.
15032 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15033 (NS_GET32): Likewise.
15034 (NS_PUT16): Likewise.
15035 (NS_PUT32): Likewise.
15036 * resolv/gethnamaddr.c (getanswer): Likewise.
15037 (gethostbyname2): Likewise.
15038 (gethostbyaddr): Likewise.
15039 (_gethtent): Likewise.
15040 (_gethtbyname2): Likewise.
15041 (_gethtbyaddr): Likewise.
15042 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15043 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15044 * resolv/res_init.c (__res_vinit): Likewise.
15045 (net_mask): Likewise.
15046 * resolv/res_mkquery.c (outchar): Likewise.
15047 (PRINT): Likewise.
15048 * stdio-common/printf_fp.c (outchar): Likewise.
15049 (PRINT): Likewise.
15050 * stdio-common/printf_fphex.c (outchar): Likewise.
15051 (PRINT): Likewise.
15052 * stdio-common/printf_size.c (outchar): Likewise.
15053 (PRINT): Likewise.
15054 * stdio-common/test_rdwr.c (main): Likewise.
15055 * stdio-common/tfformat.c (matches): Likewise.
15056 * stdio-common/vfprintf.c (outchar): Likewise.
15057 (printf_unknown): Likewise.
15058 (buffered_vfprintf): Likewise.
15059 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15060 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15061 (ReadFile): Likewise.
15062 * stdlib/qsort.c (SWAP): Likewise.
15063 (_quicksort): Likewise.
15064 * stdlib/setenv.c (__add_to_environ): Likewise.
15065 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15066 * stdlib/strtol_l.c (__strtol_l): Likewise.
15067 * stdlib/tst-strtod.c (main): Likewise.
15068 * stdlib/tst-strtol.c (main): Likewise.
15069 * stdlib/tst-strtoll.c (main): Likewise.
15070 * string/bits/string2.h (__strcmp_cc): Likewise.
15071 (__strcmp_cg): Likewise.
15072 (__strcspn_c1): Likewise.
15073 (__strcspn_c2): Likewise.
15074 (__strcspn_c3): Likewise.
15075 (__strspn_c1): Likewise.
15076 (__strspn_c2): Likewise.
15077 (__strspn_c3): Likewise.
15078 (__strsep_1c): Likewise.
15079 (__strsep_2c): Likewise.
15080 (__strsep_3c): Likewise.
15081 * string/memccpy.c (__memccpy): Likewise.
15082 * string/stpcpy.c (__stpcpy): Likewise.
15083 * string/strcmp.c (strcmp): Likewise.
15084 * string/strrchr.c (strrchr): Likewise.
15085 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15086 Likewise.
15087 * sysdeps/mach/hurd/getcwd.c
15088 (_hurd_canonicalize_directory_name_internal): Likewise.
15089 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15090 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15091 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15092 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15093 Likewise, in both definitions.
15094 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15095 definitions.
15096 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15097 64] (__bswap_64): Likewise.
15098 * time/test_time.c (main): Likewise.
15099 * time/tzfile.c (__tzfile_read): Likewise.
15100 (__tzfile_compute): Likewise.
15101 * time/tzset.c (__tzset_parse_tz): Likewise.
15102 (tzset_internal): Likewise.
15103 (compute_change): Likewise.
15104 * wcsmbs/wcscat.c (__wcscat): Likewise.
15105 * wcsmbs/wcschr.c (wcschr): Likewise.
15106 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15107 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15108 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15109 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15110 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15111 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15112 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15113 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15114 * wcsmbs/wmemset.c (wmemset): Likewise.
15115
151162013-06-06 Joseph Myers <joseph@codesourcery.com>
15117
15118 * scripts/config.guess: Update to version 2013-05-16.
15119 * scripts/config.sub: Update to version 2013-04-24.
15120 * scripts/install-sh: Update to version 2011-11-20.07.
15121 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15122 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15123
151242013-06-06 Ondřej Bílka <neleai@seznam.cz>
15125
15126 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15127 * elf/sln.c: Likewise.
15128 * hurd/hurd/ioctl.h: Likewise.
15129 * hurd/hurdmalloc.c: Likewise.
15130 * hurd/xattr.c: Likewise.
15131 * include/shlib-compat.h: Likewise.
15132 * inet/ruserpass.c: Likewise.
15133 * libio/iofgets_u.c: Likewise.
15134 * libio/iofgetws_u.c: Likewise.
15135 * locale/programs/ld-identification.c: Likewise.
15136 * locale/programs/ld-time.c: Likewise.
15137 * mach/msg-destroy.c: Likewise.
15138 * nss/nss_files/files-netgrp.c: Likewise.
15139 * resolv/res_data.c: Likewise.
15140 * soft-fp/op-1.h: Likewise.
15141 * soft-fp/op-2.h: Likewise.
15142 * soft-fp/op-4.h: Likewise.
15143 * soft-fp/op-common.h: Likewise.
15144 * stdio-common/printf_fphex.c: Likewise.
15145 * stdlib/strtod_l.c: Likewise.
15146 * sunrpc/rpc/clnt.h: Likewise.
15147 * sysdeps/generic/framestate.c: Likewise.
15148 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15149 * sysdeps/i386/bsd-setjmp.S: Likewise.
15150 * sysdeps/i386/__longjmp.S: Likewise.
15151 * sysdeps/i386/setjmp.S: Likewise.
15152 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15153 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15154 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15155 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15156 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15157 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15158 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15159 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15160 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15161 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15162 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15163 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15164 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15165 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15166 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15167 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15168 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15169 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15170 * sysdeps/ieee754/support.c: Likewise.
15171 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15172 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15173 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15174 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15175 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15176 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15177 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15178 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15179 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15180 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15181 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15182 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15183 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15184 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15185 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15186 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15187 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15189
151902013-06-05 Ondřej Bílka <neleai@seznam.cz>
15191
15192 * posix/transbug.c: Remove executable mode.
15193
151942013-06-05 Joseph Myers <joseph@codesourcery.com>
15195
15196 * crypt/speeds.c: Remove trailing whitespace.
15197 * dlfcn/default.c: Likewise.
15198 * elf/ifuncdep2.c: Likewise.
15199 * elf/ifuncmain1.c: Likewise.
15200 * elf/ifuncmain1vis.c: Likewise.
15201 * elf/testobj.h: Likewise.
15202 * elf/tst-stackguard1.c: Likewise.
15203 * gmon/sys/gmon.h: Likewise.
15204 * hurd/hurdmsg.c: Likewise.
15205 * hurd/new-fd.c: Likewise.
15206 * hurd/ports-get.c: Likewise.
15207 * iconvdata/ibm1008_420.c: Likewise.
15208 * inet/tst-getni1.c: Likewise.
15209 * inet/tst-getni2.c: Likewise.
15210 * libio/ioungetc.c: Likewise.
15211 * libio/wfiledoalloc.c: Likewise.
15212 * manual/libm-err-tab.pl: Likewise.
15213 * math/w_dremf.c: Likewise.
15214 * misc/ftruncate.c: Likewise.
15215 * posix/bug-glob2.c: Likewise.
15216 * posix/tst-pcre.c: Likewise.
15217 * posix/wait4.c: Likewise.
15218 * resolv/README: Likewise.
15219 * resolv/res_debug.h: Likewise.
15220 * resolv/tst-inet_ntop.c: Likewise.
15221 * setjmp/bug269-setjmp.c: Likewise.
15222 * soft-fp/extended.h: Likewise.
15223 * soft-fp/op-1.h: Likewise.
15224 * soft-fp/op-2.h: Likewise.
15225 * soft-fp/op-4.h: Likewise.
15226 * soft-fp/op-8.h: Likewise.
15227 * soft-fp/testit.c: Likewise.
15228 * stdio-common/bug16.c: Likewise.
15229 * stdlib/random.c: Likewise.
15230 * sunrpc/rpcsvc/rquota.x: Likewise.
15231 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15232 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15233 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15234 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15235 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15236 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15237 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15238 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15239 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15240 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15241 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15242 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15243 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15244 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15245 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15246 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15247 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15248 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15249 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15250 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15251 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15252 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15253 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15254 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15255 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15256 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15257 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15258 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15259 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15260 * sysdeps/ieee754/s_lib_version.c: Likewise.
15261 * sysdeps/mach/hurd/check_fds.c: Likewise.
15262 * sysdeps/mach/hurd/getsockname.c: Likewise.
15263 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15264 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15265 * sysdeps/powerpc/bits/link.h: Likewise.
15266 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15267 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15268 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15269 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15270 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15271 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15272 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15273 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15274 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15275 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15276 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15277 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15278 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15279 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15280 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15281 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15282 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15283 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15284 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15285 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15286 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15287 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15288 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15289 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15290 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15291 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15292 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15293 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15294 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15295 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15296 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15297 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15298 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15299 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15300 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15301 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15302 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15303 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15304 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15305 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15306 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15307 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15308 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15309 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15310 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15311 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15312 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15313 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15314 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15315 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15316 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15318 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15319 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15320 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15321 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15322 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15323 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15324 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15325 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15326 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15327 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15328 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15329 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15330 * sysdeps/powerpc/sysdep.h: Likewise.
15331 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15332 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15333 * sysdeps/sh/dl-trampoline.S: Likewise.
15334 * sysdeps/sh/memset.S: Likewise.
15335 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15336 * sysdeps/sh/strlen.S: Likewise.
15337 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15338 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15339 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15340 * sysdeps/sparc/sparc32/rem.S: Likewise.
15341 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15342 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15343 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15344 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15345 * sysdeps/sparc/sparc32/urem.S: Likewise.
15346 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15347 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15348 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15349 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15350 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15351 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15352 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15353 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15354 * sysdeps/unix/bsd/times.c: Likewise.
15355 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15356 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15360 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15361 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15362 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15363 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15364 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15365 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15366 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15367 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15368 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15369 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15370 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15371 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15372 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15373 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15374 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15375 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15376 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15377 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15378 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15379 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15380 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15381 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15382 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15383 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15384 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15385 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15386 * sysdeps/x86_64/strcspn.S: Likewise.
15387
153882013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15389
15390 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15391 generated file. Regenerate properly from gen-translit.pl.
15392 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15393 locale/C-translit.h.
15394
153952013-06-05 Andreas Schwab <schwab@suse.de>
15396
15397 [BZ #15100]
15398 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15399 week as 6 instead of -1.
15400 * time/tst-strptime.c (day_tests): Add test case.
15401
154022013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15403
15404 * sysdeps/generic/math_private.h
15405 (libc_feholdexcept_setround_53bit): Replace with
15406 libc_feholdsetround_53bit.
15407 (libc_feupdateenv_53bit): Replace with
15408 libc_feresetround_53bit.
15409 (SET_RESTORE_ROUND_53BIT): Adjust.
15410
154112013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15412
15413 * string/test-strchrnul.c: Add copyright header.
15414
15415 * posix/tst-getaddrinfo4.c: Increase test timeout.
15416
154172013-06-03 Carlos O'Donell <carlos@redhat.com>
15418
15419 [BZ #15536]
15420 * math/libm-test.inc (MAX_EXP): Remove
15421 (MIN_EXP): Define.
15422 (ulp): Use MIN_EXP - MANT_DIG.
15423 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15424
154252013-05-31 Carlos O'Donell <carlos@redhat.com>
15426
15427 * po/be.po: Revert last change.
15428 * po/zh_CN.po: Likewise.
15429 * po/header.pot: Likewise.
15430
154312013-05-31 Joseph Myers <joseph@codesourcery.com>
15432
15433 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15434 link-libc-deps to empty as target-specific variable.
15435 * Makerules (link-libc-args): New variable.
15436 (libc-for-link): Likewise.
15437 (link-libc-deps): Likewise.
15438 (lib%.so): Depend on $(link-libc-deps). Link with
15439 $(link-libc-args).
15440 (build-module): Link with $(link-libc-args).
15441 (build-module-asneeded): Likewise.
15442 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15443 list of objects.
15444 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15445 target-specific variable.
15446 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15447 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15448 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15449 libc.
15450 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15451 libc and ld.so.
15452 ($(objpfx)libpcprofile.so): Likewise.
15453 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15454 libc_nonshared.a.
15455 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15456 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15457 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15458 $(link-libc-deps).
15459 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15460 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15461 * login/Makefile ($(objpfx)libutil.so): Likewise.
15462 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15463 * math/Makefile ($(objpfx)libm.so): Likewise.
15464 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15465 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15466 variable instead of depending directly on libc.
15467 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15468 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15469 $(link-libc-deps).
15470 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15471 libc.
15472 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15473 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15474 ($(objpfx)libanl.so): Likewise.
15475 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15476 ld.so.
15477 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15478 $(link-libc-deps).
15479 * sysdeps/i386/fpu/Makefile: Remove file.
15480 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15481 ($(objpfx)libm.so): Remove dependency on ld.so.
15482
154832013-05-30 Patsy Franklin <pfrankli@redhat.com>
15484
15485 [BZ # 15553]
15486 * nis/yp_xdr.c (XDRMAXNAME): Define.
15487 (XDRMAXRECORD): Define.
15488 (xdr_domainname): Use XDRMAXNAME.
15489 (xdr_mapname): Likewise.
15490 (xdr_peername): Likewise.
15491 (xdr_keydat): Use XDRMAXRECORD.
15492 (xdr_valdat): Likewise.
15493
154942013-05-30 Jeff Law <law@redhat.com>
15495
15496 [BZ #14256]
15497 * manual/errno.texi (ESTALE): Update to account for more than
15498 just NFS file systems.
15499 * sysdeps/gnu/errlist.c: Regenerated.
15500
155012013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15502
15503 [BZ #15465]
15504 * elf/Makefile (tests): Add tst-null-argv.
15505 (modules-names): Add tst-null-argv-lib.
15506 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15507 (tst-null-argv-ENV): Set environment for tst-null-argv.
15508 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15509 (RTLD_PROGNAME): New macro.
15510 * elf/tst-null-argv.c: New test case.
15511 * elf/tst-null-argv-lib.c: Library for test case.
15512 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15513 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15514 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15515 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15516 * elf/dl-init.c (call_init): Likewise.
15517 (_dl_init): Likewise.
15518 * elf/dl-load.c (print_search_path): Likewise.
15519 (_dl_map_object): Likewise.
15520 * elf/dl-lookup.c (do_lookup_x): Likewise.
15521 (add_dependency): Likewise.
15522 (_dl_lookup_symbol_x): Likewise.
15523 (_dl_debug_bindings): Likewise.
15524 * elf/dl-open.c (_dl_show_scope): Likewise.
15525 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15526 * elf/dl-version.c (match_symbol): Likewise.
15527 (_dl_check_map_versions): Likewise.
15528 * elf/rtld.c (dl_main): Likewise.
15529 (print_unresolved): Use RTLD_PROGNAME.
15530 (print_missing_version): Likewise.
15531 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15532 (elf_machine_rela): Likewise.
15533 * sysdeps/powerpc/powerpc32/dl-machine.c
15534 (__process_machine_rela): Likewise.
15535 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15536 Likewise.
15537 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15538 Likewise.
15539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15540 Likewise.
15541 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15542 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15543 Likewise.
15544 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15545 Likewise.
15546 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15547
155482013-05-28 Carlos O'Donell <carlos@redhat.com>
15549
15550 * po/be.po: Add descriptive title.
15551 * po/zh_CN.po: Likewise.
15552 * po/header.pot: Likewise.
15553
155542013-05-28 Mike Frysinger <vapier@gentoo.org>
15555
15556 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15557 error message.
15558 (enlarge_archive): Likewise.
15559
155602013-05-28 Ben North <ben@redfrontdoor.org>
15561
15562 * manual/arith.texi (frexp): It is the magnitude of the return
15563 value which lies in [0.5, 1), not the return value itself.
15564
155652013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15566
15567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15568
155692013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15570
15571 * stdio-common/bug26.c (main): Correct fscanf template.
15572
15573 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15574 declare _dl_skip_args.
15575
15576 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15577 Don't declare.
15578
15579 * manual/platform.texi: Add missing @end deftypefun.
15580
155812013-05-24 Joseph Myers <joseph@codesourcery.com>
15582
15583 [BZ #15529]
15584 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15585 bit of mantissa of 2^16382.
15586 * math/libm-test.inc (hypot_test_data): Add more tests.
15587
15588 * math/libm-test.inc: Add drem and pow10 to list of tested
15589 functions.
15590 (pow10_test): New function.
15591 (drem_test): Likewise.
15592 (drem_test_tonearest): Likewise.
15593 (drem_test_towardzero): Likewise.
15594 (drem_test_downward): Likewise.
15595 (drem_test_upward): Likewise.
15596 (main): Call the new functions.
15597
15598 * math/libm-test.inc (finite_test_data): Remove.
15599 (finite_test): Run tests from isfinite_test_data.
15600 (gamma_test_data): Remove.
15601 (gamma_test): Run tests from lgamma_test_data.
15602 * sysdeps/i386/fpu/libm-test-ulps: Update.
15603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15604
156052013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15606
15607 * manual/platform.texi: Add PowerPC PPR function set documentation.
15608 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15609 implementation.
15610
156112013-05-24 Carlos O'Donell <carlos@redhat.com>
15612
15613 * math/libm-test.inc (MAX_EXP): Define.
15614 (ULPDIFF): Define.
15615 (ulp): New function.
15616 (check_float_internal): Use ULPDIFF.
15617 (cpow_test): Disable failing test.
15618 (check_ulp): Test ulp() implemetnation.
15619 (main): Call check_ulp before starting tests.
15620
156212013-05-24 Joseph Myers <joseph@codesourcery.com>
15622
15623 * math/gen-libm-test.pl (generate_testfile): Do not handle
15624 START_DATA and END_DATA.
15625 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15626 END_DATA.
15627 (acos_tonearest_test_data): Likewise.
15628 (acos_towardzero_test_data): Likewise.
15629 (acos_downward_test_data): Likewise.
15630 (acos_upward_test_data): Likewise.
15631 (acosh_test_data): Likewise.
15632 (asin_test_data): Likewise.
15633 (asin_tonearest_test_data): Likewise.
15634 (asin_towardzero_test_data): Likewise.
15635 (asin_downward_test_data): Likewise.
15636 (asin_upward_test_data): Likewise.
15637 (asinh_test_data): Likewise.
15638 (atan_test_data): Likewise.
15639 (atanh_test_data): Likewise.
15640 (atan2_test_data): Likewise.
15641 (cabs_test_data): Likewise.
15642 (cacos_test_data): Likewise.
15643 (cacosh_test_data): Likewise.
15644 (carg_test_data): Likewise.
15645 (casin_test_data): Likewise.
15646 (casinh_test_data): Likewise.
15647 (catan_test_data): Likewise.
15648 (catanh_test_data): Likewise.
15649 (cbrt_test_data): Likewise.
15650 (ccos_test_data): Likewise.
15651 (ccosh_test_data): Likewise.
15652 (ceil_test_data): Likewise.
15653 (cexp_test_data): Likewise.
15654 (cimag_test_data): Likewise.
15655 (clog_test_data): Likewise.
15656 (clog10_test_data): Likewise.
15657 (conj_test_data): Likewise.
15658 (copysign_test_data): Likewise.
15659 (cos_test_data): Likewise.
15660 (cos_tonearest_test_data): Likewise.
15661 (cos_towardzero_test_data): Likewise.
15662 (cos_downward_test_data): Likewise.
15663 (cos_upward_test_data): Likewise.
15664 (cosh_test_data): Likewise.
15665 (cosh_tonearest_test_data): Likewise.
15666 (cosh_towardzero_test_data): Likewise.
15667 (cosh_downward_test_data): Likewise.
15668 (cosh_upward_test_data): Likewise.
15669 (cpow_test_data): Likewise.
15670 (cproj_test_data): Likewise.
15671 (creal_test_data): Likewise.
15672 (csin_test_data): Likewise.
15673 (csinh_test_data): Likewise.
15674 (csqrt_test_data): Likewise.
15675 (ctan_test_data): Likewise.
15676 (ctan_tonearest_test_data): Likewise.
15677 (ctan_towardzero_test_data): Likewise.
15678 (ctan_downward_test_data): Likewise.
15679 (ctan_upward_test_data): Likewise.
15680 (ctanh_test_data): Likewise.
15681 (ctanh_tonearest_test_data): Likewise.
15682 (ctanh_towardzero_test_data): Likewise.
15683 (ctanh_downward_test_data): Likewise.
15684 (ctanh_upward_test_data): Likewise.
15685 (erf_test_data): Likewise.
15686 (erfc_test_data): Likewise.
15687 (exp_test_data): Likewise.
15688 (exp_tonearest_test_data): Likewise.
15689 (exp_towardzero_test_data): Likewise.
15690 (exp_downward_test_data): Likewise.
15691 (exp_upward_test_data): Likewise.
15692 (exp10_test_data): Likewise.
15693 (exp2_test_data): Likewise.
15694 (expm1_test_data): Likewise.
15695 (fabs_test_data): Likewise.
15696 (fdim_test_data): Likewise.
15697 (finite_test_data): Likewise.
15698 (floor_test_data): Likewise.
15699 (fma_test_data): Likewise.
15700 (fma_towardzero_test_data): Likewise.
15701 (fma_downward_test_data): Likewise.
15702 (fma_upward_test_data): Likewise.
15703 (fmax_test_data): Likewise.
15704 (fmin_test_data): Likewise.
15705 (fmod_test_data): Likewise.
15706 (fpclassify_test_data): Likewise.
15707 (frexp_test_data): Likewise.
15708 (gamma_test_data): Likewise.
15709 (hypot_test_data): Likewise.
15710 (ilogb_test_data): Likewise.
15711 (isfinite_test_data): Likewise.
15712 (isgreater_test_data): Likewise.
15713 (isgreaterequal_test_data): Likewise.
15714 (isinf_test_data): Likewise.
15715 (isless_test_data): Likewise.
15716 (islessequal_test_data): Likewise.
15717 (islessgreater_test_data): Likewise.
15718 (isnan_test_data): Likewise.
15719 (isnormal_test_data): Likewise.
15720 (issignaling_test_data): Likewise.
15721 (isunordered_test_data): Likewise.
15722 (j0_test_data): Likewise.
15723 (j1_test_data): Likewise.
15724 (jn_test_data): Likewise.
15725 (ldexp_test_data): Likewise.
15726 (lgamma_test_data): Likewise.
15727 (lrint_test_data): Likewise.
15728 (lrint_tonearest_test_data): Likewise.
15729 (lrint_towardzero_test_data): Likewise.
15730 (lrint_downward_test_data): Likewise.
15731 (lrint_upward_test_data): Likewise.
15732 (llrint_test_data): Likewise.
15733 (llrint_tonearest_test_data): Likewise.
15734 (llrint_towardzero_test_data): Likewise.
15735 (llrint_downward_test_data): Likewise.
15736 (llrint_upward_test_data): Likewise.
15737 (log_test_data): Likewise.
15738 (log10_test_data): Likewise.
15739 (log1p_test_data): Likewise.
15740 (log2_test_data): Likewise.
15741 (logb_test_data): Likewise.
15742 (logb_downward_test_data): Likewise.
15743 (lround_test_data): Likewise.
15744 (llround_test_data): Likewise.
15745 (modf_test_data): Likewise.
15746 (nearbyint_test_data): Likewise.
15747 (nextafter_test_data): Likewise.
15748 (nexttoward_test_data): Likewise.
15749 (pow_test_data): Likewise.
15750 (pow_tonearest_test_data): Likewise.
15751 (pow_towardzero_test_data): Likewise.
15752 (pow_downward_test_data): Likewise.
15753 (pow_upward_test_data): Likewise.
15754 (remainder_test_data): Likewise.
15755 (remainder_tonearest_test_data): Likewise.
15756 (remainder_towardzero_test_data): Likewise.
15757 (remainder_downward_test_data): Likewise.
15758 (remainder_upward_test_data): Likewise.
15759 (remquo_test_data): Likewise.
15760 (rint_test_data): Likewise.
15761 (rint_tonearest_test_data): Likewise.
15762 (rint_towardzero_test_data): Likewise.
15763 (rint_downward_test_data): Likewise.
15764 (rint_upward_test_data): Likewise.
15765 (round_test_data): Likewise.
15766 (scalb_test_data): Likewise.
15767 (scalbn_test_data): Likewise.
15768 (scalbln_test_data): Likewise.
15769 (signbit_test_data): Likewise.
15770 (sin_test_data): Likewise.
15771 (sin_tonearest_test_data): Likewise.
15772 (sin_towardzero_test_data): Likewise.
15773 (sin_downward_test_data): Likewise.
15774 (sin_upward_test_data): Likewise.
15775 (sincos_test_data): Likewise.
15776 (sinh_test_data): Likewise.
15777 (sinh_tonearest_test_data): Likewise.
15778 (sinh_towardzero_test_data): Likewise.
15779 (sinh_downward_test_data): Likewise.
15780 (sinh_upward_test_data): Likewise.
15781 (sqrt_test_data): Likewise.
15782 (tan_test_data): Likewise.
15783 (tan_tonearest_test_data): Likewise.
15784 (tan_towardzero_test_data): Likewise.
15785 (tan_downward_test_data): Likewise.
15786 (tan_upward_test_data): Likewise.
15787 (tanh_test_data): Likewise.
15788 (tgamma_test_data): Likewise.
15789 (trunc_test_data): Likewise.
15790 (y0_test_data): Likewise.
15791 (y1_test_data): Likewise.
15792 (yn_test_data): Likewise.
15793 (significand_test_data): Likewise.
15794
15795 * math/gen-libm-test.pl (@functions): Remove variable.
15796 (generate_testfile): Don't handle START and END lines.
15797 * math/libm-test.inc (START): New macro.
15798 (END): Likewise.
15799 (END_COMPLEX): Likewise.
15800 (acos_test): Use END macro without arguments.
15801 (acos_test_tonearest): Likewise.
15802 (acos_test_towardzero): Likewise.
15803 (acos_test_downward): Likewise.
15804 (acos_test_upward): Likewise.
15805 (acosh_test): Likewise.
15806 (asin_test): Likewise.
15807 (asin_test_tonearest): Likewise.
15808 (asin_test_towardzero): Likewise.
15809 (asin_test_downward): Likewise.
15810 (asin_test_upward): Likewise.
15811 (asinh_test): Likewise.
15812 (atan_test): Likewise.
15813 (atanh_test): Likewise.
15814 (atan2_test): Likewise.
15815 (cabs_test): Likewise.
15816 (cacos_test): Use END_COMPLEX macro without arguments.
15817 (cacosh_test): Likewise.
15818 (carg_test): Use END macro without arguments.
15819 (casin_test): Use END_COMPLEX macro without arguments.
15820 (casinh_test): Likewise.
15821 (catan_test): Likewise.
15822 (catanh_test): Likewise.
15823 (cbrt_test): Use END macro without arguments.
15824 (ccos_test): Use END_COMPLEX macro without arguments.
15825 (ccosh_test): Likewise.
15826 (ceil_test): Use END macro without arguments.
15827 (cexp_test): Use END_COMPLEX macro without arguments.
15828 (cimag_test): Use END macro without arguments.
15829 (clog_test): Use END_COMPLEX macro without arguments.
15830 (clog10_test): Likewise.
15831 (conj_test): Likewise.
15832 (copysign_test): Use END macro without arguments.
15833 (cos_test): Likewise.
15834 (cos_test_tonearest): Likewise.
15835 (cos_test_towardzero): Likewise.
15836 (cos_test_downward): Likewise.
15837 (cos_test_upward): Likewise.
15838 (cosh_test): Likewise.
15839 (cosh_test_tonearest): Likewise.
15840 (cosh_test_towardzero): Likewise.
15841 (cosh_test_downward): Likewise.
15842 (cosh_test_upward): Likewise.
15843 (cpow_test): Use END_COMPLEX macro without arguments.
15844 (cproj_test): Likewise.
15845 (creal_test): Use END macro without arguments.
15846 (csin_test): Use END_COMPLEX macro without arguments.
15847 (csinh_test): Likewise.
15848 (csqrt_test): Likewise.
15849 (ctan_test): Likewise.
15850 (ctan_test_tonearest): Likewise.
15851 (ctan_test_towardzero): Likewise.
15852 (ctan_test_downward): Likewise.
15853 (ctan_test_upward): Likewise.
15854 (ctanh_test): Likewise.
15855 (ctanh_test_tonearest): Likewise.
15856 (ctanh_test_towardzero): Likewise.
15857 (ctanh_test_downward): Likewise.
15858 (ctanh_test_upward): Likewise.
15859 (erf_test): Use END macro without arguments.
15860 (erfc_test): Likewise.
15861 (exp_test): Likewise.
15862 (exp_test_tonearest): Likewise.
15863 (exp_test_towardzero): Likewise.
15864 (exp_test_downward): Likewise.
15865 (exp_test_upward): Likewise.
15866 (exp10_test): Likewise.
15867 (exp2_test): Likewise.
15868 (expm1_test): Likewise.
15869 (fabs_test): Likewise.
15870 (fdim_test): Likewise.
15871 (finite_test): Likewise.
15872 (floor_test): Likewise.
15873 (fma_test): Likewise.
15874 (fma_test_towardzero): Likewise.
15875 (fma_test_downward): Likewise.
15876 (fma_test_upward): Likewise.
15877 (fmax_test): Likewise.
15878 (fmin_test): Likewise.
15879 (fmod_test): Likewise.
15880 (fpclassify_test): Likewise.
15881 (frexp_test): Likewise.
15882 (gamma_test): Likewise.
15883 (hypot_test): Likewise.
15884 (ilogb_test): Likewise.
15885 (isfinite_test): Likewise.
15886 (isgreater_test): Likewise.
15887 (isgreaterequal_test): Likewise.
15888 (isinf_test): Likewise.
15889 (isless_test): Likewise.
15890 (islessequal_test): Likewise.
15891 (islessgreater_test): Likewise.
15892 (isnan_test): Likewise.
15893 (isnormal_test): Likewise.
15894 (issignaling_test): Likewise.
15895 (isunordered_test): Likewise.
15896 (j0_test): Likewise.
15897 (j1_test): Likewise.
15898 (jn_test): Likewise.
15899 (ldexp_test): Likewise.
15900 (lgamma_test): Likewise.
15901 (lrint_test): Likewise.
15902 (lrint_test_tonearest): Likewise.
15903 (lrint_test_towardzero): Likewise.
15904 (lrint_test_downward): Likewise.
15905 (lrint_test_upward): Likewise.
15906 (llrint_test): Likewise.
15907 (llrint_test_tonearest): Likewise.
15908 (llrint_test_towardzero): Likewise.
15909 (llrint_test_downward): Likewise.
15910 (llrint_test_upward): Likewise.
15911 (log_test): Likewise.
15912 (log10_test): Likewise.
15913 (log1p_test): Likewise.
15914 (log2_test): Likewise.
15915 (logb_test): Likewise.
15916 (logb_test_downward): Likewise.
15917 (lround_test): Likewise.
15918 (llround_test): Likewise.
15919 (modf_test): Likewise.
15920 (nearbyint_test): Likewise.
15921 (nextafter_test): Likewise.
15922 (nexttoward_test): Likewise.
15923 (pow_test): Likewise.
15924 (pow_test_tonearest): Likewise.
15925 (pow_test_towardzero): Likewise.
15926 (pow_test_downward): Likewise.
15927 (pow_test_upward): Likewise.
15928 (remainder_test): Likewise.
15929 (remainder_test_tonearest): Likewise.
15930 (remainder_test_towardzero): Likewise.
15931 (remainder_test_downward): Likewise.
15932 (remainder_test_upward): Likewise.
15933 (remquo_test): Likewise.
15934 (rint_test): Likewise.
15935 (rint_test_tonearest): Likewise.
15936 (rint_test_towardzero): Likewise.
15937 (rint_test_downward): Likewise.
15938 (rint_test_upward): Likewise.
15939 (round_test): Likewise.
15940 (scalb_test): Likewise.
15941 (scalbn_test): Likewise.
15942 (scalbln_test): Likewise.
15943 (signbit_test): Likewise.
15944 (sin_test): Likewise.
15945 (sin_test_tonearest): Likewise.
15946 (sin_test_towardzero): Likewise.
15947 (sin_test_downward): Likewise.
15948 (sin_test_upward): Likewise.
15949 (sincos_test): Likewise.
15950 (sinh_test): Likewise.
15951 (sinh_test_tonearest): Likewise.
15952 (sinh_test_towardzero): Likewise.
15953 (sinh_test_downward): Likewise.
15954 (sinh_test_upward): Likewise.
15955 (sqrt_test): Likewise.
15956 (tan_test): Likewise.
15957 (tan_test_tonearest): Likewise.
15958 (tan_test_towardzero): Likewise.
15959 (tan_test_downward): Likewise.
15960 (tan_test_upward): Likewise.
15961 (tanh_test): Likewise.
15962 (tgamma_test): Likewise.
15963 (trunc_test): Likewise.
15964 (y0_test): Likewise.
15965 (y1_test): Likewise.
15966 (yn_test): Likewise.
15967 (significand_test): Likewise.
15968
159692013-05-24 Ondřej Bílka <neleai@seznam.cz>
15970
15971 [BZ #15381]
15972 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15973
159742013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15975
15976 [BZ #14894]
15977 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15978 __ppc_mdoio and __ppc_mdoom.
15979 * manual/platform.texi: Document new functions __ppc_yield,
15980 __ppc_mdoio and __ppc_mdoom.
15981
159822013-05-22 Carlos O'Donell <carlos@redhat.com>
15983
15984 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15985 (main): Mention "tls" pseudo-hwcap is legacy.
15986 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15987
159882013-05-22 Joseph Myers <joseph@codesourcery.com>
15989
15990 * math/gen-libm-test.pl (parse_args): Output only string of
15991 arguments as text for test name, not full call or descriptions of
15992 tests for extra outputs.
15993 (generate_testfile): Do not pass function name to parse_args.
15994 Generate this_func variable from START.
15995 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15996 field to arg_str.
15997 (struct test_ff_f_data): Likewise.
15998 (test_ff_f_data_nexttoward): Likewise.
15999 (struct test_fi_f_data): Likewise.
16000 (struct test_fl_f_data): Likewise.
16001 (struct test_if_f_data): Likewise.
16002 (struct test_fff_f_data): Likewise.
16003 (struct test_c_f_data): Likewise.
16004 (struct test_f_f1_data): Likewise. Remove field extra_name.
16005 (struct test_fF_f1_data): Likewise.
16006 (struct test_ffI_f1_data): Likewise.
16007 (struct test_c_c_data): Rename test_name field to arg_str.
16008 (struct test_cc_c_data): Likewise.
16009 (struct test_f_i_data): Likewise.
16010 (struct test_ff_i_data): Likewise.
16011 (struct test_f_l_data): Likewise.
16012 (struct test_f_L_data): Likewise.
16013 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16014 and extra2_name.
16015 (COMMON_TEST_SETUP): New macro.
16016 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16017 (COMMON_TEST_CLEANUP): Likewise.
16018 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16019 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16020 macros.
16021 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16022 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16023 macros.
16024 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16025 (RUN_TEST_fff_f): Take argument string. Call new setup and
16026 cleanup macros.
16027 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16028 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16029 macros.
16030 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16031 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16032 macros.
16033 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16034 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16035 cleanup macros.
16036 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16037 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16038 cleanup macros.
16039 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16040 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16041 cleanup macros.
16042 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16043 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16044 macros.
16045 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16046 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16047 macros.
16048 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16049 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16050 macros.
16051 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16052 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16053 cleanup macros.
16054 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16055 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16056 cleanup macros.
16057 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16058 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16059 macros.
16060 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16061 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16062 cleanup macros.
16063 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16064 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16065 macros.
16066 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16067 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16068 macros.
16069 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16070 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16071 cleanup macros.
16072 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16073
160742013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16075
16076 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16077 to _sifields.sigfault.
16078 (si_addr_lsb): Define new macro.
16079 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16081 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16082
160832013-05-03 Carlos O'Donell <carlos at redhat.com>
16084
16085 [BZ #15441]
16086 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16087 returns -1.
16088 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16089 null return -1.
16090 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16091 loading the domain.
16092
160932013-05-22 Joseph Myers <joseph@codesourcery.com>
16094
16095 * math/gen-libm-test.pl (parse_args): Do not include expected
16096 result in test name.
16097 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16098 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16099 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16100 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16101 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16103
161042013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16105
16106 * benchtests/Makefile: Sort function entries.
16107
16108 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16109 tanh, asinh, acosh, atanh.
16110 * benchtests/acos-inputs: New file.
16111 * benchtests/acosh-inputs: New file.
16112 * benchtests/asin-inputs: New file.
16113 * benchtests/asinh-inputs: New file.
16114 * benchtests/atanh-inputs: New file.
16115 * benchtests/cosh-inputs: New file.
16116 * benchtests/log-inputs: New file.
16117 * benchtests/sinh-inputs: New file.
16118 * benchtests/tanh-inputs: New file.
16119
161202013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16121
16122 [BZ #15339]
16123 * posix/tst-getaddrinfo4.c: New test.
16124 * posix/Makefile (tests): Add it.
16125
161262013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16127
16128 [BZ #15339]
16129 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16130 when no services were used.
16131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16132 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16133
161342013-05-21 Andreas Schwab <schwab@suse.de>
16135
16136 [BZ #15014]
16137 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16138 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16139 successful.
16140 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16141 redundant variable declarations and reallocation of buffer when
16142 parsing as IPv6 address. Always set NSS status when called from
16143 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16144 buffer too small. Correct computation of needed size.
16145 * nss/Makefile (tests): Add test-digits-dots.
16146 * nss/test-digits-dots.c: New test.
16147
161482013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16149
16150 * benchtests/Makefile: Remove instructions for adding
16151 benchmark tests.
16152 * benchtests/README: New file to explain how to execute and
16153 enhance the benchmark tests.
16154
161552013-05-21 Andreas Schwab <schwab@suse.de>
16156
16157 [BZ #15493]
16158 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16159 * setjmp/tst-sigsetjmp.c: New test.
16160
161612013-05-20 Ondřej Bílka <neleai@seznam.cz>
16162
16163 * sysdeps/x86_64/memset.S (memset): New implementation.
16164 (__bzero): Likewise.
16165 (__memset_tail): New function.
16166
161672013-05-20 Ondřej Bílka <neleai@seznam.cz>
16168
16169 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16170 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16171 __memcpy_sse2_unaligned ifunc selection.
16172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16173 Add memcpy-sse2-unaligned.S.
16174 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16175 Add: __memcpy_sse2_unaligned.
16176
161772013-05-19 Joseph Myers <joseph@codesourcery.com>
16178
16179 [BZ #15490]
16180 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16181 math_force_eval before restoring floating-point envrionment.
16182 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16184 Likewise.
16185 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16186 <math_private.h>.
16187 (__nearbyintl): Use math_force_eval before restoring
16188 floating-point environment.
16189 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16190
16191 * math/gen-libm-test.pl (special_functions): Remove.
16192 (parse_args): Don't handle TEST_extra. Handle functions with no
16193 return value.
16194 * math/libm-test.inc (struct test_sincos_data): Replace with
16195 struct test_fFF_11_data.
16196 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16197 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16198 (sincos_test_data): Change element type to struct
16199 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16200 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16201 RUN_TEST_LOOP_sincos.
16202 * math/README.libm-test: Don't mention special handling of
16203 individual functions.
16204 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16205 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16206 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16207 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16208 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16210
16211 * math/gen-libm-test.pl (get_variable): Remove function.
16212 (parse_args): Don't show pointer parameters to call in test
16213 names. Use "extra output N" in test names for extra outputs
16214 rather than naming variables.
16215
162162013-05-18 Joseph Myers <joseph@codesourcery.com>
16217
16218 [BZ #15488]
16219 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16220 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16221 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16222 double tests.
16223 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16224 disable.
16225 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16226 check_long_double.
16227
16228 * math/gen-libm-test.pl (@tests): Remove variable.
16229 ($count): Likewise.
16230 (new_test): Remove function.
16231 (show_exceptions): New function.
16232 (special_functions): Use show_exceptions instead of new_test.
16233 (parse_args): Likewise.
16234 (generate_testfile): Pass only function name in generated call to
16235 print_max_error or print_complex_max_error.
16236 (get_ulps): Do not handle complex tests specially.
16237 (output_test): Rename to ...
16238 (get_all_ulps_for_test): ... this. Return a string rather than
16239 printing to a file. Require ulps to be present.
16240 (output_ulps): Generate arrays rather than #defines.
16241 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16242 (struct ulp_data): New type.
16243 (BUILD_COMPLEX_ULP): Remove macro.
16244 (compare_ulp_data): New function.
16245 (find_ulps): Likewise.
16246 (find_test_ulps): Likewise.
16247 (find_function_ulps): Likewise.
16248 (find_complex_function_ulps): Likewise.
16249 (print_max_error): Determine allowed ulps using
16250 find_function_ulps.
16251 (print_complex_max_error): Determine allowed ulps using
16252 find_complex_function_ulps.
16253 (check_float_internal): Determine max ulps using find_test_ulps.
16254 (check_float): Do not take max_ulp parameter. Update call to
16255 check_float_internal.
16256 (check_complex): Likewise.
16257 (check_int): Do not take max_ulp parameter.
16258 (check_long): Likewise.
16259 (check_bool): Likewise.
16260 (check_longlong): Likewise.
16261 (struct test_f_f_data): Remove max_ulp field.
16262 (struct test_ff_f_data): Likewise.
16263 (struct test_ff_f_data_nexttoward): Likewise.
16264 (struct test_fi_f_data): Likewise.
16265 (struct test_fl_f_data): Likewise.
16266 (struct test_if_f_data): Likewise.
16267 (struct test_fff_f_data): Likewise.
16268 (struct test_c_f_data): Likewise.
16269 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16270 (struct test_fF_f1_data): Likewise.
16271 (struct test_ffI_f1_data): Likewise.
16272 (struct test_c_c_data): Remove max_ulp field.
16273 (struct test_cc_c_data): Likewise.
16274 (struct test_f_i_data): Likewise.
16275 (struct test_ff_i_data): Likewise.
16276 (struct test_f_l_data): Likewise.
16277 (struct test_f_L_data): Likewise.
16278 (struct test_sincos_data): Likewise.
16279 (RUN_TEST_f_f): Do not handle ulps.
16280 (RUN_TEST_LOOP_f_f): Likewise.
16281 (RUN_TEST_2_f): Likewise.
16282 (RUN_TEST_LOOP_2_f): Likewise.
16283 (RUN_TEST_fff_f): Likewise.
16284 (RUN_TEST_LOOP_fff_f): Likewise.
16285 (RUN_TEST_c_f): Likewise.
16286 (RUN_TEST_LOOP_c_f): Likewise.
16287 (RUN_TEST_f_f1): Likewise.
16288 (RUN_TEST_LOOP_f_f1): Likewise.
16289 (RUN_TEST_fF_f1): Likewise.
16290 (RUN_TEST_LOOP_fF_f1): Likewise.
16291 (RUN_TEST_fI_f1): Likewise.
16292 (RUN_TEST_LOOP_fI_f1): Likewise.
16293 (RUN_TEST_ffI_f1): Likewise.
16294 (RUN_TEST_LOOP_ffI_f1): Likewise.
16295 (RUN_TEST_c_c): Likewise.
16296 (RUN_TEST_LOOP_c_c): Likewise.
16297 (RUN_TEST_cc_c): Likewise.
16298 (RUN_TEST_LOOP_cc_c): Likewise.
16299 (RUN_TEST_f_i): Likewise.
16300 (RUN_TEST_LOOP_f_i): Likewise.
16301 (RUN_TEST_f_i_tg): Likewise.
16302 (RUN_TEST_LOOP_f_i_tg): Likewise.
16303 (RUN_TEST_ff_i_tg): Likewise.
16304 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16305 (RUN_TEST_f_b): Likewise.
16306 (RUN_TEST_LOOP_f_b): Likewise.
16307 (RUN_TEST_f_b_tg): Likewise.
16308 (RUN_TEST_LOOP_f_b_tg): Likewise.
16309 (RUN_TEST_f_l): Likewise.
16310 (RUN_TEST_LOOP_f_l): Likewise.
16311 (RUN_TEST_f_L): Likewise.
16312 (RUN_TEST_LOOP_f_L): Likewise.
16313 (RUN_TEST_sincos): Likewise.
16314 (RUN_TEST_LOOP_sincos): Likewise.
16315
163162013-05-17 Joseph Myers <joseph@codesourcery.com>
16317
16318 [BZ #15480]
16319 [BZ #15485]
16320 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16321 main case of finite arguments, set rounding mode to FE_TONEAREST
16322 and discard exceptions.
16323 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16324 exceptions.
16325 (remainder_tonearest_test_data): New variable.
16326 (remainder_test_tonearest): New function.
16327 (remainder_towardzero_test_data): New variable.
16328 (remainder_test_towardzero): New function.
16329 (remainder_downward_test_data): New variable.
16330 (remainder_test_downward): New function.
16331 (remainder_upward_test_data): New variable.
16332 (remainder_test_upward): New function.
16333 (main): Call the new test functions.
16334
16335 * math/libm-test.inc (struct test_f_f1_data): Remove field
16336 extra_init.
16337 (struct test_fF_f1_data): Likewise.
16338 (struct test_ffI_f1_data): Likewise.
16339 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16340 based on value of EXTRA_EXPECTED.
16341 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16342 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16343 EXTRA_VAR based on value of EXTRA_EXPECTED.
16344 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16345 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16346 EXTRA_VAR based on value of EXTRA_EXPECTED.
16347 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16348 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16349 EXTRA_VAR based on value of EXTRA_EXPECTED.
16350 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16351 * math/gen-libm-test.pl (parse_args): Don't output initializers
16352 for extra output values.
16353
16354 * math/libm-test.inc (check_int): Expect result to be exactly
16355 equal to expected value and do not handle ulps.
16356 (check_long): Likewise.
16357 (check_longlong): Likewise.
16358
16359 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16360 exceptions.
16361 (cimag_test_data): Likewise.
16362 (conj_test_data): Likewise.
16363 (copysign_test_data): Likewise.
16364 (cproj_test_data): Likewise.
16365 (creal_test_data): Likewise.
16366 (fabs_test_data): Likewise.
16367 (fdim_test_data): Likewise.
16368 (finite_test_data): Likewise.
16369 (floor_test_data): Likewise.
16370 (fmax_test_data): Likewise.
16371 (fmin_test_data): Likewise.
16372 (fmod_test_data): Likewise.
16373 (fpclassify_test_data): Likewise.
16374 (frexp_test_data): Likewise.
16375 (ilogb_test_data): Likewise.
16376 (isfinite_test_data): Likewise.
16377 (isgreater_test_data): Likewise.
16378 (isgreaterequal_test_data): Likewise.
16379 (isinf_test_data): Likewise.
16380 (isless_test_data): Likewise.
16381 (islessequal_test_data): Likewise.
16382 (islessgreater_test_data): Likewise.
16383 (isnan_test_data): Likewise.
16384 (isnormal_test_data): Likewise.
16385 (issignaling_test_data): Likewise.
16386 (isunordered_test_data): Likewise.
16387 (ldexp_test_data): Likewise.
16388 (lrint_test_data): Likewise.
16389 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16390 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16391 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16392 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16393 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16394 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16395 test input.
16396 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16397 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16398 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16399 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16400 that test input.
16401 (lrint_downward_test_data): Test for "inexact" exceptions.
16402 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16403 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16404 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16405 test input.
16406 (lrint_upward_test_data): Test for "inexact" exceptions.
16407 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16408 test input.
16409 (llrint_test_data): Test for "inexact" exceptions.
16410 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16411 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16412 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16413 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16414 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16415 (llrint_downward_test_data): Test for "inexact" exceptions.
16416 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16417 (llrint_upward_test_data): Test for "inexact" exceptions.
16418 (logb_test_data): Likewise.
16419 (logb_downward_test_data): Likewise.
16420 (nextafter_test_data): Likewise.
16421 (nexttoward_test_data): Likewise.
16422 (remainder_test_data): Likewise.
16423 (remquo_test_data): Likewise.
16424 (scalbn_test_data): Likewise.
16425 (scalbln_test_data): Likewise.
16426 (signbit_test_data): Likewise.
16427 (sqrt_test_data): Likewise.
16428 (significand_test_data): Likewise.
16429
164302013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16431
16432 [BZ #15424]
16433 * benchtests/bench-modf.c (struct args): Mark arg0 as
16434 volatile.
16435 * scripts/bench.pl: Mark members of struct args as volatile.
16436
164372013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16438
16439 [BZ # 15497]
16440 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16441 negative infinity on POWER6 or lower.
16442 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16443
164442013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16445
16446 [BZ #15442]
16447 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16448 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16449 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16450 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16451 (_FP_SETQNAN): New macro.
16452 (_FP_SETQNAN_SEMIRAW): Likewise.
16453 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16454 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16455 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16456 (FP_EXTEND): Use _FP_FRAC_SNANP.
16457 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16458 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16459 into account.
16460 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16461 New macro.
16462 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16463 Likewise.
16464
164652013-05-16 Joseph Myers <joseph@codesourcery.com>
16466
16467 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16468 with DIVIDE_BY_ZERO_EXCEPTION.
16469 (gamma_test_data): Likewise.
16470 (lgamma_test_data): Likewise.
16471 (log_test_data): Likewise.
16472 (log10_test_data): Likewise.
16473 (log2_test_data): Likewise.
16474 (tgamma_test_data): Likewise.
16475
16476 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16477 (acos_test_tonearest): Likewise.
16478 (acos_test_towardzero): Likewise.
16479 (acos_test_downward): Likewise.
16480 (acos_test_upward): Likewise.
16481 (acosh_test): Likewise.
16482 (asin_test): Likewise.
16483 (asin_test_tonearest): Likewise.
16484 (asin_test_towardzero): Likewise.
16485 (asin_test_downward): Likewise.
16486 (asin_test_upward): Likewise.
16487 (asinh_test): Likewise.
16488 (atan_test): Likewise.
16489 (atanh_test): Likewise.
16490 (atan2_test): Likewise.
16491 (cabs_test): Likewise.
16492 (cacos_test): Likewise.
16493 (cacosh_test): Likewise.
16494 (casin_test): Likewise.
16495 (casinh_test): Likewise.
16496 (catan_test): Likewise.
16497 (catanh_test): Likewise.
16498 (cbrt_test): Likewise.
16499 (ccos_test): Likewise.
16500 (ccosh_test): Likewise.
16501 (cexp_test): Likewise.
16502 (clog_test): Likewise.
16503 (clog10_test): Likewise.
16504 (cos_test): Likewise.
16505 (cos_test_tonearest): Likewise.
16506 (cos_test_towardzero): Likewise.
16507 (cos_test_downward): Likewise.
16508 (cos_test_upward): Likewise.
16509 (cosh_test): Likewise.
16510 (cosh_test_tonearest): Likewise.
16511 (cosh_test_towardzero): Likewise.
16512 (cosh_test_downward): Likewise.
16513 (cosh_test_upward): Likewise.
16514 (cpow_test): Likewise.
16515 (csin_test): Likewise.
16516 (csinh_test): Likewise.
16517 (csqrt_test): Likewise.
16518 (ctan_test): Likewise.
16519 (ctan_test_tonearest): Likewise.
16520 (ctan_test_towardzero): Likewise.
16521 (ctan_test_downward): Likewise.
16522 (ctan_test_upward): Likewise.
16523 (ctanh_test): Likewise.
16524 (ctanh_test_tonearest): Likewise.
16525 (ctanh_test_towardzero): Likewise.
16526 (ctanh_test_downward): Likewise.
16527 (ctanh_test_upward): Likewise.
16528 (erf_test): Likewise.
16529 (erfc_test): Likewise.
16530 (exp_test): Likewise.
16531 (exp_test_tonearest): Likewise.
16532 (exp_test_towardzero): Likewise.
16533 (exp_test_downward): Likewise.
16534 (exp_test_upward): Likewise.
16535 (exp10_test): Likewise.
16536 (exp2_test): Likewise.
16537 (expm1_test): Likewise.
16538 (fmod_test): Likewise.
16539 (gamma_test): Likewise.
16540 (hypot_test): Likewise.
16541 (j0_test): Likewise.
16542 (j1_test): Likewise.
16543 (jn_test): Likewise.
16544 (lgamma_test): Likewise.
16545 (log_test): Likewise.
16546 (log10_test): Likewise.
16547 (log1p_test): Likewise.
16548 (log2_test): Likewise.
16549 (logb_test_downward): Likewise.
16550 (pow_test): Likewise.
16551 (pow_test_tonearest): Likewise.
16552 (pow_test_towardzero): Likewise.
16553 (pow_test_downward): Likewise.
16554 (pow_test_upward): Likewise.
16555 (remainder_test): Likewise.
16556 (remquo_test): Likewise.
16557 (sin_test): Likewise.
16558 (sin_test_tonearest): Likewise.
16559 (sin_test_towardzero): Likewise.
16560 (sin_test_downward): Likewise.
16561 (sin_test_upward): Likewise.
16562 (sincos_test): Likewise.
16563 (sinh_test): Likewise.
16564 (sinh_test_tonearest): Likewise.
16565 (sinh_test_towardzero): Likewise.
16566 (sinh_test_downward): Likewise.
16567 (sinh_test_upward): Likewise.
16568 (sqrt_test): Likewise.
16569 (tan_test): Likewise.
16570 (tan_test_tonearest): Likewise.
16571 (tan_test_towardzero): Likewise.
16572 (tan_test_downward): Likewise.
16573 (tan_test_upward): Likewise.
16574 (tanh_test): Likewise.
16575 (tgamma_test): Likewise.
16576 (y0_test): Likewise.
16577 (y1_test): Likewise.
16578 (yn_test): Likewise.
16579
16580 * math/gen-libm-test.pl (adjust_arg): Remove function.
16581 (special_function): Remove argument $in_func. Only handle
16582 generating output for tables of tests, not inside functions.
16583 (parse_args): Likewise.
16584 (generate_testfile): Remove variable $in_func. Update call to
16585 parse_args.
16586 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16587 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16588 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16589 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16590 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16591 (MAX_VALUE_INIT): Rename macro to max_value.
16592 (MIN_VALUE_INIT): Rename macro to min_value.
16593 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16594 (plus_zero): Remove variable.
16595 (minus_zero): Likewise.
16596 (plus_infty): Likewise.
16597 (minus_infty): Likewise.
16598 (qnan_value): Likewise.
16599 (max_value): Likewise.
16600 (min_value): Likewise.
16601 (min_subnorm_value): Likewise.
16602
166032013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16604
16605 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16606 uint64_t or uint32_t usage.
16607 * crypt/sha256-block.c: Likewise.
16608 * crypt/sha256-crypt.c: Likewise.
16609 * crypt/sha256.c: Likewise.
16610 * crypt/sha512-block.c: Likewise.
16611 * crypt/sha512-crypt.c: Likewise.
16612 * crypt/sha512.c: Likewise.
16613 * debug/backtrace-tst.c: Likewise.
16614 * debug/pcprofiledump.c: Likewise.
16615 * elf/cache.c: Likewise.
16616 * elf/dl-cache.c: Likewise.
16617 * elf/dl-misc.c: Likewise.
16618 * elf/dl-profile.c: Likewise.
16619 * elf/dl-support.c: Likewise.
16620 * elf/ldconfig.c: Likewise.
16621 * elf/sprof.c: Likewise.
16622 * iconv/dummy-repertoire.c: Likewise.
16623 * iconv/iconv_charmap.c: Likewise.
16624 * iconv/skeleton.c: Likewise.
16625 * iconvdata/8bit-generic.c: Likewise.
16626 * iconvdata/cp737.h: Likewise.
16627 * iconvdata/cp775.h: Likewise.
16628 * iconvdata/ibm1008.h: Likewise.
16629 * iconvdata/ibm1025.h: Likewise.
16630 * iconvdata/ibm1046.h: Likewise.
16631 * iconvdata/ibm1097.h: Likewise.
16632 * iconvdata/ibm1112.h: Likewise.
16633 * iconvdata/ibm1122.h: Likewise.
16634 * iconvdata/ibm1123.h: Likewise.
16635 * iconvdata/ibm1124.h: Likewise.
16636 * iconvdata/ibm1129.h: Likewise.
16637 * iconvdata/ibm1130.h: Likewise.
16638 * iconvdata/ibm1132.h: Likewise.
16639 * iconvdata/ibm1133.h: Likewise.
16640 * iconvdata/ibm1137.h: Likewise.
16641 * iconvdata/ibm1140.h: Likewise.
16642 * iconvdata/ibm1141.h: Likewise.
16643 * iconvdata/ibm1142.h: Likewise.
16644 * iconvdata/ibm1143.h: Likewise.
16645 * iconvdata/ibm1144.h: Likewise.
16646 * iconvdata/ibm1145.h: Likewise.
16647 * iconvdata/ibm1146.h: Likewise.
16648 * iconvdata/ibm1147.h: Likewise.
16649 * iconvdata/ibm1148.h: Likewise.
16650 * iconvdata/ibm1149.h: Likewise.
16651 * iconvdata/ibm1153.h: Likewise.
16652 * iconvdata/ibm1154.h: Likewise.
16653 * iconvdata/ibm1155.h: Likewise.
16654 * iconvdata/ibm1156.h: Likewise.
16655 * iconvdata/ibm1157.h: Likewise.
16656 * iconvdata/ibm1158.h: Likewise.
16657 * iconvdata/ibm1160.h: Likewise.
16658 * iconvdata/ibm1161.h: Likewise.
16659 * iconvdata/ibm1162.h: Likewise.
16660 * iconvdata/ibm1163.h: Likewise.
16661 * iconvdata/ibm1164.h: Likewise.
16662 * iconvdata/ibm1166.h: Likewise.
16663 * iconvdata/ibm1167.h: Likewise.
16664 * iconvdata/ibm12712.h: Likewise.
16665 * iconvdata/ibm1390.h: Likewise.
16666 * iconvdata/ibm1399.h: Likewise.
16667 * iconvdata/ibm16804.h: Likewise.
16668 * iconvdata/ibm4517.h: Likewise.
16669 * iconvdata/ibm4899.h: Likewise.
16670 * iconvdata/ibm4909.h: Likewise.
16671 * iconvdata/ibm4971.h: Likewise.
16672 * iconvdata/ibm5347.h: Likewise.
16673 * iconvdata/ibm803.h: Likewise.
16674 * iconvdata/ibm856.h: Likewise.
16675 * iconvdata/ibm901.h: Likewise.
16676 * iconvdata/ibm902.h: Likewise.
16677 * iconvdata/ibm9030.h: Likewise.
16678 * iconvdata/ibm9066.h: Likewise.
16679 * iconvdata/ibm921.h: Likewise.
16680 * iconvdata/ibm922.h: Likewise.
16681 * iconvdata/ibm9448.h: Likewise.
16682 * iconvdata/isiri-3342.h: Likewise.
16683 * iconvdata/jis0201.h: Likewise.
16684 * include/link.h: Likewise.
16685 * include/netdb.h: Likewise.
16686 * inet/check_native.c: Likewise.
16687 * inet/check_pf.c: Likewise.
16688 * inet/getipv4sourcefilter.c: Likewise.
16689 * inet/getnameinfo.c: Likewise.
16690 * inet/getsourcefilter.c: Likewise.
16691 * inet/htonl.c: Likewise.
16692 * inet/setipv4sourcefilter.c: Likewise.
16693 * inet/setsourcefilter.c: Likewise.
16694 * inet/test-inet6_opt.c: Likewise.
16695 * inet/tst-network.c: Likewise.
16696 * locale/C-collate.c: Likewise.
16697 * locale/C-ctype.c: Likewise.
16698 * locale/C-time.c: Likewise.
16699 * locale/C-translit.h: Likewise.
16700 * locale/loadarchive.c: Likewise.
16701 * locale/programs/3level.h: Likewise.
16702 * locale/programs/charmap.c: Likewise.
16703 * locale/programs/charmap.h: Likewise.
16704 * locale/programs/ld-address.c: Likewise.
16705 * locale/programs/ld-collate.c: Likewise.
16706 * locale/programs/ld-ctype.c: Likewise.
16707 * locale/programs/ld-identification.c: Likewise.
16708 * locale/programs/ld-measurement.c: Likewise.
16709 * locale/programs/ld-messages.c: Likewise.
16710 * locale/programs/ld-monetary.c: Likewise.
16711 * locale/programs/ld-name.c: Likewise.
16712 * locale/programs/ld-numeric.c: Likewise.
16713 * locale/programs/ld-paper.c: Likewise.
16714 * locale/programs/ld-telephone.c: Likewise.
16715 * locale/programs/ld-time.c: Likewise.
16716 * locale/programs/linereader.c: Likewise.
16717 * locale/programs/locale.c: Likewise.
16718 * locale/programs/locarchive.c: Likewise.
16719 * locale/programs/locfile.h: Likewise.
16720 * locale/programs/repertoire.c: Likewise.
16721 * locale/programs/simple-hash.c: Likewise.
16722 * locale/programs/simple-hash.h: Likewise.
16723 * malloc/memusage.c: Likewise.
16724 * malloc/memusagestat.c: Likewise.
16725 * nis/nis_defaults.c: Likewise.
16726 * nis/nis_hash.c: Likewise.
16727 * nis/nis_print.c: Likewise.
16728 * nis/nis_xdr.c: Likewise.
16729 * nscd/connections.c: Likewise.
16730 * nscd/hstcache.c: Likewise.
16731 * nscd/nscd_gethst_r.c: Likewise.
16732 * nscd/nscd_getserv_r.c: Likewise.
16733 * nscd/nscd_helper.c: Likewise.
16734 * nscd/servicescache.c: Likewise.
16735 * nss/makedb.c: Likewise.
16736 * nss/nss_db/db-XXX.c: Likewise.
16737 * nss/nss_db/db-initgroups.c: Likewise.
16738 * nss/nss_db/db-netgrp.c: Likewise.
16739 * nss/nss_files/files-network.c: Likewise.
16740 * nss/nss_files/files-parse.c: Likewise.
16741 * posix/bug-regex5.c: Likewise.
16742 * posix/fnmatch_loop.c: Likewise.
16743 * posix/regcomp.c: Likewise.
16744 * posix/regexec.c: Likewise.
16745 * posix/tst-rfc3484-2.c: Likewise.
16746 * posix/tst-rfc3484-3.c: Likewise.
16747 * posix/tst-rfc3484.c: Likewise.
16748 * resolv/nss_dns/dns-canon.c: Likewise.
16749 * resolv/nss_dns/dns-network.c: Likewise.
16750 * resolv/res_init.c: Likewise.
16751 * resolv/res_mkquery.c: Likewise.
16752 * resolv/tst-aton.c: Likewise.
16753 * stdlib/cxa_atexit.c: Likewise.
16754 * stdlib/cxa_finalize.c: Likewise.
16755 * stdlib/gen-fpioconst.c: Likewise.
16756 * stdlib/strtol_l.c: Likewise.
16757 * string/tst-endian.c: Likewise.
16758 * sunrpc/auth_des.c: Likewise.
16759 * sunrpc/clnt_udp.c: Likewise.
16760 * sunrpc/rtime.c: Likewise.
16761 * sunrpc/svcauth_des.c: Likewise.
16762 * sunrpc/xdr.c: Likewise.
16763 * sunrpc/xdr_intXX_t.c: Likewise.
16764 * sunrpc/xdr_rec.c: Likewise.
16765 * sysdeps/generic/ldconfig.h: Likewise.
16766 * sysdeps/generic/ldsodefs.h: Likewise.
16767 * sysdeps/generic/memusage.h: Likewise.
16768 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16769 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16770 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16771 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16772 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16773 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16774 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16775 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16776 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16777 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16778 * sysdeps/posix/getaddrinfo.c: Likewise.
16779 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16780 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16781 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16782 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16783 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16784 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16785 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16786 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16787 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16788 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16789 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16790 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16791 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16792 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16793 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16794 * sysdeps/x86_64/dl-tls.h: Likewise.
16795 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16796 * time/alt_digit.c: Likewise.
16797 * time/era.c: Likewise.
16798 * wcsmbs/tst-c16c32-1.c: Likewise.
16799
168002013-05-16 Joseph Myers <joseph@codesourcery.com>
16801
16802 * math/libm-test.inc (struct test_sincos_data): New type.
16803 (RUN_TEST_LOOP_sincos): New macro.
16804 (sincos_test_data): New variable.
16805 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16806
168072013-05-16 Richard Henderson <rth@redhat.com>
16808
16809 * math/atest-exp2.c (LIMB64): New macro.
16810 (CONSTSZ): New macro.
16811 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16812 (hexdig): Move ...
16813 (print_mpn_fp): ... to function scope.
16814 (read_mpn_hex): Remove.
16815 (get_log2): Remove.
16816 (exp2_mpn): Use mp_log2.
16817 (main): Use mp_exp1.
16818
168192013-05-16 Joseph Myers <joseph@codesourcery.com>
16820
16821 * math/libm-test.inc: Remove comment about not testing "inexact"
16822 exceptions.
16823 (INEXACT_EXCEPTION): New macro.
16824 (NO_INEXACT_EXCEPTION): Likewise.
16825 (INVALID_EXCEPTION_OK): Update value.
16826 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16827 (OVERFLOW_EXCEPTION_OK): Likewise.
16828 (UNDERFLOW_EXCEPTION_OK): Likewise.
16829 (IGNORE_ZERO_INF_SIGN): Likewise.
16830 (ERRNO_UNCHANGED): Likewise.
16831 (ERRNO_EDOM): Likewise.
16832 (ERRNO_ERANGE): Likewise.
16833 (test_exceptions): Handle testing "inexact" exceptions.
16834 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16835 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16836 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16837 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16838 INEXACT_EXCEPTION.
16839 (rint_towardzero_test_data): Likewise.
16840 (rint_downward_test_data): Likewise.
16841 (rint_upward_test_data): Likewise.
16842
16843 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16844 with OVERFLOW_EXCEPTION.
16845 (exp10_test_data): Likewise.
16846 (exp2_test_data): Likewise.
16847 (expm1_test_data): Likewise.
16848 (lgamma_test_data): Likewise.
16849 (pow_test_data): Likewise.
16850 (tgamma_test_data): Likewise.
16851 (yn_test_data): Remove duplicate test of overflow.
16852
16853 * math/libm-test.inc (struct test_cc_c_data): New type.
16854 (RUN_TEST_LOOP_cc_c): New macro.
16855 (cpow_test_data): New variable.
16856 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16857
16858 * math/libm-test.inc (struct test_f_L_data): New type.
16859 (RUN_TEST_LOOP_f_L): New macro.
16860 (llrint_test_data): New variable.
16861 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16862 (llrint_tonearest_test_data): New variable.
16863 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16864 (llrint_towardzero_test_data): New variable.
16865 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16866 (llrint_downward_test_data): New variable.
16867 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16868 (llrint_upward_test_data): New variable.
16869 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16870 (llround_test_data): New variable.
16871 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16872
168732013-05-13 Peter Collingbourne <pcc@google.com>
16874
16875 * math/atest-exp2.c (get_log2): Remove const attribute.
16876
168772013-05-15 Joseph Myers <joseph@codesourcery.com>
16878
16879 * math/libm-test.inc (struct test_f_l_data): New type.
16880 (RUN_TEST_LOOP_f_l): New macro.
16881 (lrint_test_data): New variable.
16882 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16883 (lrint_tonearest_test_data): New variable.
16884 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16885 (lrint_towardzero_test_data): New variable.
16886 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16887 (lrint_downward_test_data): New variable.
16888 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16889 (lrint_upward_test_data): New variable.
16890 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16891 (lround_test_data): New variable.
16892 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16893
168942013-05-15 Peter Collingbourne <pcc@google.com>
16895
16896 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16897 (EXTRACT_WORDS64) Use where appropriate.
16898 (INSERT_WORDS64) Likewise.
16899
16900 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16901 constraints with x constraints.
16902 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16903
16904 * malloc/obstack.c (_obstack_compat): Add initializer.
16905
169062013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16907
16908 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16909 si_trapno and add si_addr_lsb to _sifields.sigfault.
16910 (si_trapno): Remove macro.
16911 (si_addr_lsb): Define new macro.
16912 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16913
169142013-05-15 Joseph Myers <joseph@codesourcery.com>
16915
16916 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16917 instead of TEST_f_l.
16918 (llrint_test_tonearest): Likewise.
16919 (llrint_test_towardzero): Likewise.
16920 (llrint_test_downward): Likewise.
16921 (llrint_test_upward): Likewise.
16922 (llround_test): Likewise.
16923
16924 * math/libm-test.inc (struct test_f_i_data): Add comment.
16925 (RUN_TEST_LOOP_f_b): New macro.
16926 (RUN_TEST_LOOP_f_b_tg): Likewise.
16927 (finite_test_data): New variable.
16928 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16929 (isfinite_test_data): New variable.
16930 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16931 (isinf_test_data): New variable.
16932 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16933 (isnan_test_data): New variable.
16934 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16935 (isnormal_test_data): New variable.
16936 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16937 (issignaling_test_data): New variable.
16938 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16939 (signbit_test_data): New variable.
16940 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16941
16942 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16943 with INVALID_EXCEPTION.
16944 (acosh_test_data): Likewise.
16945 (asin_test_data): Likewise.
16946 (atanh_test_data): Likewise.
16947 (fmod_test_data): Likewise.
16948 (log_test_data): Likewise.
16949 (log10_test_data): Likewise.
16950 (log2_test_data): Likewise.
16951 (pow_test_data): Likewise.
16952 (sqrt_test_data): Likewise.
16953 (y0_test_data): Likewise.
16954 (y1_test_data): Likewise.
16955 (yn_test_data): Likewise.
16956
16957 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16958 function contents.
16959
16960 * math/libm-test.inc (struct test_ff_i_data): New type.
16961 (RUN_TEST_LOOP_ff_i_tg): New macro.
16962 (isgreater_test_data): New variable.
16963 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16964 (isgreaterequal_test_data): New variable.
16965 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16966 (isless_test_data): New variable.
16967 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16968 (islessequal_test_data): New variable.
16969 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16970 (islessgreater_test_data): New variable.
16971 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16972 (isunordered_test_data): New variable.
16973 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16974
169752013-05-14 David S. Miller <davem@davemloft.net>
16976
16977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16978
169792013-05-14 Joseph Myers <joseph@codesourcery.com>
16980
16981 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16982
16983 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16984 extra_test to int.
16985 (struct test_f_i_data): Change type of max_ulp to int.
16986
16987 * math/libm-test.inc (test_ffI_f1_data): New type.
16988 (RUN_TEST_LOOP_ffI_f1): New macro.
16989 (remquo_test_data): New variable.
16990 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16991
16992 * setjmp/tst-setjmp-fp.c: New file.
16993 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16994 (link-libm): New variable.
16995 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16996
16997 * math/libm-test.inc (struct test_f_i_data): New type.
16998 (RUN_TEST_LOOP_f_i): New macro.
16999 (RUN_TEST_LOOP_f_i_tg): Likewise.
17000 (fpclassify_test_data): New variable.
17001 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17002 (ilogb_test_data): New variable.
17003 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17004
17005 * math/libm-test.inc (scalbln_test): Correct function name in END
17006 call.
17007
17008 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17009 (RUN_TEST_LOOP_fI_f1): New macro.
17010 (frexp_test_data): New variable.
17011 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17012
17013 * math/libm-test.inc (struct test_fF_f1_data): New type.
17014 (RUN_TEST_LOOP_fF_f1): New macro.
17015 (modf_test_data): New variable.
17016 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17017
17018 * math/libm-test.inc (struct test_f_f1_data): New type.
17019 (RUN_TEST_LOOP_f_f1): New macro.
17020 (gamma_test_data): New variable.
17021 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17022 (lgamma_test_data): New variable.
17023 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17024
170252013-05-13 Carlos O'Donell <carlos@redhat.com>
17026
17027 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17028 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17029 (main): Comment "tls" pseudo-hwcap.
17030
170312013-05-13 Joseph Myers <joseph@codesourcery.com>
17032
17033 * math/libm-test.inc (struct test_fl_f_data): New type.
17034 (RUN_TEST_LOOP_fl_f): New variable.
17035 (scalbln_test_data): New variable.
17036 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17037
17038 * math/libm-test.inc (struct test_fi_f_data): New type.
17039 (RUN_TEST_LOOP_fi_f): New macro.
17040 (ldexp_test_data): New variable.
17041 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17042 (scalbn_test_data): New variable.
17043 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17044
17045 * math/libm-test.inc (struct test_c_f_data): New type.
17046 (RUN_TEST_LOOP_c_f): New macro.
17047 (cabs_test_data): New variable.
17048 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17049 (carg_test_data): New variable.
17050 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17051 (cimag_test_data): New variable.
17052 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17053 (creal_test_data): New variable.
17054 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17055
17056 * math/libm-test.inc (struct test_if_f_data): New type.
17057 (RUN_TEST_LOOP_if_f): New macro.
17058 (jn_test_data): New variable.
17059 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17060 (yn_test_data): New variable.
17061 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17062
17063 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17064
170652013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17066
17067 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17068 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17069
170702013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17071
17072 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17073 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17074 (bench-deps): Add bench-timing.h.
17075 * benchtests-bench-skeleton.c: Include bench-timing.h.
17076 (main): Use TIMING_* macros instead of clock_gettime.
17077 * benchtests/bench-timing.h: New file.
17078
17079 [BZ #14582]
17080 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17081 Renamed from _LIB_VERSION.
17082 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17083
170842013-05-12 Joseph Myers <joseph@codesourcery.com>
17085
17086 * math/libm-test.inc (struct test_fff_f_data): New type.
17087 (RUN_TEST_LOOP_fff_f): New macro.
17088 (fma_test_data): New variable.
17089 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17090 (fma_towardzero_test_data): New variable.
17091 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17092 (fma_downward_test_data): New variable.
17093 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17094 (fma_upward_test_data): New variable.
17095 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17096
17097 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17098 (struct test_c_c_data): New type.
17099 (RUN_TEST_LOOP_c_c): New macro.
17100 (cacos_test_data): New variable.
17101 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17102 (cacosh_test_data): New variable.
17103 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17104 (casin_test_data): New variable.
17105 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17106 (casinh_test_data): New variable.
17107 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17108 (catan_test_data): New variable.
17109 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17110 (catanh_test_data): New variable.
17111 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17112 (ccos_test_data): New variable.
17113 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17114 (ccosh_test_data): New variable.
17115 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17116 (cexp_test_data): New variable.
17117 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17118 (clog_test_data): New variable.
17119 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17120 (clog10_test_data): New variable.
17121 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17122 (conj_test_data): New variable.
17123 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17124 (cproj_test_data): New variable.
17125 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17126 (csin_test_data): New variable.
17127 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17128 (csinh_test_data): New variable.
17129 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17130 (csqrt_test_data): New variable.
17131 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17132 (ctan_test_data): New variable.
17133 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17134 (ctan_tonearest_test_data): New variable.
17135 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17136 (ctan_towardzero_test_data): New variable.
17137 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17138 (ctan_downward_test_data): New variable.
17139 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17140 (ctan_upward_test_data): New variable.
17141 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17142 (ctanh_test_data): New variable.
17143 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17144 (ctanh_tonearest_test_data): New variable.
17145 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17146 (ctanh_towardzero_test_data): New variable.
17147 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17148 (ctanh_downward_test_data): New variable.
17149 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17150 (ctanh_upward_test_data): New variable.
17151 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17152 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17153 of BUILD_COMPLEX.
17154
17155 * math/libm-test.inc (struct test_ff_f_data): New type.
17156 (struct test_ff_f_data_nexttoward): Likewise.
17157 (RUN_TEST_LOOP_2_f): New macro.
17158 (RUN_TEST_LOOP_ff_f): Likewise.
17159 (atan2_test_data): New variable.
17160 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17161 (copysign_test_data): New variable.
17162 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17163 (fdim_test_data): New variable.
17164 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17165 (fmax_test_data): New variable.
17166 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17167 (fmin_test_data): New variable.
17168 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17169 (fmod_test_data): New variable.
17170 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17171 (hypot_test_data): New variable.
17172 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17173 (nextafter_test_data): New variable.
17174 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17175 (nexttoward_test_data): New variable.
17176 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17177 (pow_test_data): New variable.
17178 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17179 (pow_tonearest_test_data): New variable.
17180 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17181 (pow_towardzero_test_data): New variable.
17182 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17183 (pow_downward_test_data): New variable.
17184 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17185 (pow_upward_test_data): New variable.
17186 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17187 (remainder_test_data): New variable.
17188 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17189 (scalb_test_data): New variable.
17190 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17191 * sysdeps/i386/fpu/libm-test-ulps: Update.
17192
171932013-05-11 Joseph Myers <joseph@codesourcery.com>
17194
17195 * math/libm-test.inc (fma_test): Use max_value instead of local
17196 variable fltmax.
17197 (nextafter_test): Likewise.
17198
17199 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17200 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17201 (acos_downward_test_data): New variable.
17202 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17203 (acos_upward_test_data): New variable.
17204 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17205 (acosh_test_data): New variable.
17206 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17207 (asin_test_data): New variable.
17208 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17209 (asin_tonearest_test_data): New variable.
17210 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17211 (asin_towardzero_test_data): New variable.
17212 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17213 (asin_downward_test_data): New variable.
17214 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17215 (asin_upward_test_data): New variable.
17216 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17217 (asinh_test_data): New variable.
17218 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17219 (atan_test_data): New variable.
17220 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17221 (atanh_test_data): New variable.
17222 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17223 (cbrt_test_data): New variable.
17224 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17225 (ceil_test_data): New variable.
17226 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17227 (cos_test_data): New variable.
17228 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17229 (cos_tonearest_test_data): New variable.
17230 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17231 (cos_towardzero_test_data): New variable.
17232 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17233 (cos_downward_test_data): New variable.
17234 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17235 (cos_upward_test_data): New variable.
17236 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17237 (cosh_test_data): New variable.
17238 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17239 (cosh_tonearest_test_data): New variable.
17240 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17241 (cosh_towardzero_test_data): New variable.
17242 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17243 (cosh_downward_test_data): New variable.
17244 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17245 (cosh_upward_test_data): New variable.
17246 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17247 (erf_test_data): New variable.
17248 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17249 (erfc_test_data): New variable.
17250 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17251 (exp_test_data): New variable.
17252 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17253 (exp_tonearest_test_data): New variable.
17254 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17255 (exp_towardzero_test_data): New variable.
17256 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17257 (exp_downward_test_data): New variable.
17258 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17259 (exp_upward_test_data): New variable.
17260 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17261 (exp10_test_data): New variable.
17262 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17263 (exp2_test_data): New variable.
17264 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17265 (expm1_test_data): New variable.
17266 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17267 (fabs_test_data): New variable.
17268 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17269 (floor_test_data): New variable.
17270 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17271 (j0_test_data): New variable.
17272 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17273 (j1_test_data): New variable.
17274 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17275 (log_test_data): New variable.
17276 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17277 (log10_test_data): New variable.
17278 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17279 (log1p_test_data): New variable.
17280 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17281 (log2_test_data): New variable.
17282 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17283 (logb_test_data): New variable.
17284 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17285 (logb_downward_test_data): New variable.
17286 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17287 (nearbyint_test_data): New variable.
17288 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17289 (rint_test_data): New variable.
17290 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17291 (rint_tonearest_test_data): New variable.
17292 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17293 (rint_towardzero_test_data): New variable.
17294 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17295 (rint_downward_test_data): New variable.
17296 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17297 (rint_upward_test_data): New variable.
17298 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17299 (round_test_data): New variable.
17300 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17301 (sin_test_data): New variable.
17302 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17303 (sin_tonearest_test_data): New variable.
17304 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17305 (sin_towardzero_test_data): New variable.
17306 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17307 (sin_downward_test_data): New variable.
17308 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17309 (sin_upward_test_data): New variable.
17310 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17311 (sinh_test_data): New variable.
17312 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17313 (sinh_tonearest_test_data): New variable.
17314 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17315 (sinh_towardzero_test_data): New variable.
17316 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17317 (sinh_downward_test_data): New variable.
17318 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17319 (sinh_upward_test_data): New variable.
17320 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17321 (sqrt_test_data): New variable.
17322 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17323 (tan_test_data): New variable.
17324 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17325 (tan_tonearest_test_data): New variable.
17326 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17327 (tan_towardzero_test_data): New variable.
17328 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17329 (tan_downward_test_data): New variable.
17330 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17331 (tan_upward_test_data): New variable.
17332 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17333 (tanh_test_data): New variable.
17334 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17335 (tgamma_test_data): New variable.
17336 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17337 (trunc_test_data): New variable.
17338 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17339 (y0_test_data): New variable.
17340 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17341 (y1_test_data): New variable.
17342 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17343 (significand_test_data): New variable.
17344 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17345
173462013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17347
17348 [BZ #12387]
17349 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17350
173512013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17352
17353 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17354
173552013-05-10 Andreas Jaeger <aj@suse.de>
17356
17357 [BZ #15448]
17358 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17359 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17360
173612013-05-10 Joseph Myers <joseph@codesourcery.com>
17362
17363 * math/gen-libm-test.pl (adjust_arg): New function.
17364 (special_functions): Handle generating output in both functions
17365 and arrays.
17366 (parse_args): Likewise.
17367 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17368 $in_func argument to parse_args.
17369 * math/libm-test.inc (struct test_f_f_data): New type.
17370 (IF_ROUND_INIT_): New macro.
17371 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17372 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17373 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17374 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17375 (ROUND_RESTORE_): Likewise.
17376 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17377 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17378 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17379 (ROUND_RESTORE_FE_UPWARD): Likewise.
17380 (RUN_TEST_LOOP_f_f): New macro.
17381 (acos_test_data): New variable.
17382 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17383 (acos_tonearest_test_data): New variable.
17384 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17385
173862013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17387
17388 * benchtests/bench-skeleton.c (startup): Fix coding style.
17389
173902013-05-10 Joseph Myers <joseph@codesourcery.com>
17391
17392 [BZ #6809]
17393 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17394 negative infinity argument.
17395 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17396 negative infinity argument.
17397 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17398 negative infinity argument.
17399 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17400 domain errors.
17401
174022013-05-10 Florian Weimer <fweimer@redhat.com>
17403
17404 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17405 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17406 * iconv/iconv_prog.c (main): Likewise.
17407 * locale/programs/charmap-dir.c (charmap_readdir)
17408 (fopen_uncompressed): Likewise.
17409 * locale/programs/locfile.c (siblings_uncached)
17410 (write_locale_data): Use lstat64 instead of lstat.
17411 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17412 stat.
17413
174142013-05-10 Andreas Jaeger <aj@suse.de>
17415
17416 [BZ #15395]
17417 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17418 localization.
17419 Include <locale.h>.
17420
174212013-05-09 Carlos O'Donell <carlos@redhat.com>
17422
17423 * elf/dl-close.c (_dl_close_worker): Add comments.
17424
174252013-05-09 Joseph Myers <joseph@codesourcery.com>
17426
17427 [BZ #15359]
17428 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17429 high part of pi/2.
17430 (__ieee754_rem_pio2l): Update comments.
17431
17432 [BZ #15429]
17433 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17434 high part of pi/2.
17435 (__ieee754_rem_pio2l): Update comments.
17436
17437 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17438 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17439
17440 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17441 M_PI_4l.
17442
17443 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17444 (M_PI_34_LOG10El): Likewise.
17445 (M_PI2_LOG10El): Likewise.
17446 (M_PI4_LOG10El): Likewise.
17447 (M_PI_LOG10El): Likewise.
17448
174492013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17450
17451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17452
174532013-05-08 Joseph Myers <joseph@codesourcery.com>
17454
17455 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17456 (MINUS_ZERO_INIT): Likewise.
17457 (PLUS_INFTY_INIT): Likewise.
17458 (MINUS_INFTY_INIT): Likewise.
17459 (QNAN_VALUE_INIT): Likewise.
17460 (MAX_VALUE_INIT): Likewise.
17461 (MIN_VALUE_INIT): Likewise.
17462 (MIN_SUBNORM_VALUE_INIT): Likewise.
17463 (plus_zero): Initialize with PLUS_ZERO_INIT.
17464 (minus_zero): Initialize with MINUS_ZERO_INIT.
17465 (plus_infty): Initialize with PLUS_INFTY_INIT.
17466 (minus_infty): Initialize with MINUS_INFTY_INIT.
17467 (qnan_value): Initialize with QNAN_VALUE_INIT.
17468 (max_value): Initialize with MAX_VALUE_INIT.
17469 (min_value): Initialize with MIN_VALUE_INIT.
17470 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17471
17472 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17473 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17474 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17475 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17476
17477 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17478 (RUN_TEST_2_f): Likewise.
17479 (RUN_TEST_ff_f): Likewise.
17480 (RUN_TEST_fi_f): Likewise.
17481 (RUN_TEST_fl_f): Likewise.
17482 (RUN_TEST_fff_f): Likewise.
17483 (RUN_TEST_c_f): Likewise.
17484 (RUN_TEST_f_f1): Likewise.
17485 (RUN_TEST_fF_f1): Likewise.
17486 (RUN_TEST_fI_f1): Likewise.
17487 (RUN_TEST_ffI_f1): Likewise.
17488 (RUN_TEST_c_c): Likewise.
17489 (RUN_TEST_cc_c): Likewise.
17490 (RUN_TEST_f_i): Likewise.
17491 (RUN_TEST_f_i_tg): Likewise.
17492 (RUN_TEST_ff_i_tg): Likewise.
17493 (RUN_TEST_f_b): Likewise.
17494 (RUN_TEST_f_b_tg): Likewise.
17495 (RUN_TEST_f_l): Likewise.
17496 (RUN_TEST_f_L): Likewise.
17497 (RUN_TEST_sincos): Likewise.
17498 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17499 whether to show exceptions. Do not include ");\n" in return
17500 value.
17501 (special_functions): Output call to RUN_TEST_sincos instead of
17502 check_float calls. Update calls to new_test.
17503 (parse_args): Output call to single RUN_TEST_* macro instead of
17504 check_* calls and other assignments. Update calls to new_test.
17505
17506 [BZ #2546]
17507 [BZ #2560]
17508 [BZ #5159]
17509 [BZ #15426]
17510 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17511 input to result for tgamma overflow.
17512 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17513 (gamma_coeff): New variable.
17514 (NCOEFF): New macro.
17515 (gamma_positive): New function.
17516 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17517 underflow here. Use gamma_positive instead of exp (lgamma) for
17518 other arguments.
17519 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17520 (gamma_coeff): New variable.
17521 (NCOEFF): New macro.
17522 (gammaf_positive): New function.
17523 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17524 underflow here. Use gamma_positive instead of exp (lgamma) for
17525 other arguments.
17526 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17527 (gamma_coeff): New variable.
17528 (NCOEFF): New macro.
17529 (gammal_positive): New function.
17530 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17531 underflow here. Use gamma_positive instead of exp (lgamma) for
17532 other arguments.
17533 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17534 (gamma_coeff): New variable.
17535 (NCOEFF): New macro.
17536 (gammal_positive): New function.
17537 (__ieee754_gammal_r): Handle positive infinity, overflow and
17538 underflow here. Handle NaN the same as positive infinity. Remove
17539 check x < 0xffffffff for negative integers. Use gamma_positive
17540 instead of exp (lgamma) for other arguments.
17541 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17542 (gamma_coeff): New variable.
17543 (NCOEFF): New macro.
17544 (gammal_positive): New function.
17545 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17546 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17549 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17550 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17551 * sysdeps/generic/math_private.h (__gamma_productf): New
17552 prototype.
17553 (__gamma_product): Likewise.
17554 (__gamma_productl): Likewise.
17555 * math/Makefile (libm-calls): Add gamma_product.
17556 * math/libm-test.inc (tgamma_test): Add more tests.
17557 * sysdeps/i386/fpu/libm-test-ulps: Update.
17558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17559
175602013-05-08 Ondřej Bílka <neleai@seznam.cz>
17561
17562 * benchtests/bench-skeleton.c (main): Preheat CPU.
17563
175642013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17565
17566 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17567
175682013-05-07 Roland McGrath <roland@hack.frob.com>
17569
17570 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17571 and _dl_skip_args_internal.
17572
175732013-05-07 Carlos O'Donell <carlos@redhat.com>
17574
17575 * manual/message.texi (Message Translation): Talk about users.
17576 Message to key mapping impacts design.
17577
175782013-05-06 Roland McGrath <roland@hack.frob.com>
17579
17580 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17581
17582 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17583
17584 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17585 * sysdeps/wordsize-64/glob64.c: ... here.
17586
17587 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17588 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17589 New macros.
17590
17591 * debug/getlogin_r_chk.c: Moved to ...
17592 * login/getlogin_r_chk.c: ... here.
17593 * debug/Makefile (routines): Move getlogin_r_chk to ...
17594 * login/Makefile (routines): ... here.
17595 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17596 * login/Versions (libc: GLIBC_2.4): ... here.
17597
17598 * io/poll.c (__poll): Renamed from poll.
17599 Add libc_hidden_def.
17600 (poll): Define as weak alias.
17601
17602 * debug/ptsname_r_chk.c: Moved to ...
17603 * login/ptsname_r_chk.c: ... here.
17604 * debug/Makefile (routines): Move ptsname_r_chk to ...
17605 * login/Makefile (routines): ... here.
17606 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17607 * login/Versions (libc: GLIBC_2.4): ... here.
17608
17609 * posix/getlogin.c: Moved to ...
17610 * login/getlogin.c: ... here.
17611 * posix/getlogin_r.c: Moved to ...
17612 * login/getlogin_r.c: ... here.
17613 * posix/getlogin_r.c: Moved to ...
17614 * login/getlogin_r.c: ... here.
17615 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17616 * login/Makefile (routines): ... here.
17617 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17618 * login/Versions (libc: GLIBC_2.0): ... here.
17619
17620 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17621 (setrlimit): Define as weak alias.
17622
17623 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17624 Call __ names for open, ftruncate, and close.
17625 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17626 (truncate): Define as weak alias.
17627
176282013-05-06 Joseph Myers <joseph@codesourcery.com>
17629
17630 * math/gen-libm-test.pl (parse_args): Initialize x before each
17631 test of frexp, modf and remquo.
17632
17633 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17634 test signgam value.
17635
176362013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17637
17638 [BZ #15418]
17639 [BZ #15419]
17640 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17641 internal tests.
17642 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17643
176442013-05-06 Roland McGrath <roland@hack.frob.com>
17645
17646 * elf/dl-writev.h: New file.
17647 * elf/dl-misc.c: Include it.
17648 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17649 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17650
176512013-05-04 Joseph Myers <joseph@codesourcery.com>
17652
17653 * math/libm-test.inc (noXFails): Remove variable.
17654 (noXPasses): Likewise.
17655 (BUILD_COMPLEX_INT): Remove macro.
17656 (print_screen): Remove xfail argument.
17657 (print_screen_max_error): Likewise.
17658 (update_stats): Likewise.
17659 (print_max_error): Likewise. Update calls to other affected
17660 functions.
17661 (print_complex_max_error): Likewise.
17662 (test_single_exception): Update calls to print_screen.
17663 (test_single_errno): Likewise.
17664 (check_float_internal): Remove xfail argument. Update calls to
17665 other affected functions.
17666 (check_float): Likewise.
17667 (check_complex): Likewise.
17668 (check_int): Likewise.
17669 (check_long): Likewise.
17670 (check_bool): Likewise.
17671 (check_longlong): Likewise.
17672 (main): Don't print noXFails and noXPasses.
17673 * math/gen-libm-test.pl (top level): Don't mention expected
17674 failure handling in comment.
17675 (new_test): Don't handle expected failures.
17676 (parse_args): Don't mention expected failure handling in comment.
17677 (generate_testfile): Don't handle expected failures.
17678 (parse_ulps): Likewise.
17679 (print_ulps_file): Likewise.
17680 (get_failure): Remove function.
17681 (output_test): Don't handle expected failures.
17682 * make/README.libm-test: Don't mention expected failure handling.
17683
17684 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17685 (minus_zero): Likewise.
17686 (plus_infty): Likewise.
17687 (minus_infty): Likewise.
17688 (qnan_value): Likewise.
17689 (max_value): Likewise.
17690 (min_value): Likewise.
17691 (min_subnorm_value): Likewise.
17692 (initialize): Do not initialize those variables dynamically.
17693
176942013-05-03 Roland McGrath <roland@hack.frob.com>
17695
17696 * io/open.c (__open_2): Moved to ...
17697 * io/open_2.c: ... this new file.
17698 * io/open64.c (__open64_2): Moved to ...
17699 * io/open64_2.c: ... this new file.
17700 * io/openat.c (__openat_2): Moved to ...
17701 * io/openat_2.c: ... this new file.
17702 * io/openat64.c (__openat64_2): Moved to ...
17703 * io/openat64_2.c: ... this new file.
17704 * io/Makefile (routines): Add them.
17705 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17706 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17707 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17708 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17709 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17710 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17711 (__openat64): Add hidden_ver.
17712 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17713 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17714
17715 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17716 Separately conditionalize setting of GLRO(dl_sysinfo) so
17717 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17718 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17719
177202013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17721
17722 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17723 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17724 definition.
17725 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17726 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17727 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17728 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17729 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17730
177312013-05-03 Joseph Myers <joseph@codesourcery.com>
17732
17733 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17734 test signgam value.
17735
17736 * math/libm-test.inc (hypot_test): Do not use
17737 IGNORE_ZERO_INF_SIGN.
17738
177392013-05-03 Andreas Jaeger <aj@suse.de>
17740
17741 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17742 Linux 3.9.
17743 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17744 (PF_MAX): Adjust for VSOCK change.
17745
177462013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17747
17748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17749
177502013-05-02 Carlos O'Donell <carlos@redhat.com>
17751
17752 [BZ #15264]
17753 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17754 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17755 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17756
177572013-05-02 David S. Miller <davem@davemloft.net>
17758
17759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17760
177612013-05-01 Ondřej Bílka <neleai@seznam.cz>
17762
17763 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17764
177652013-05-01 Roland McGrath <roland@hack.frob.com>
17766
17767 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17768
177692013-05-01 Richard Smith <richard@metafoo.co.uk>
17770
17771 [BZ #14952]
17772 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17773 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17774 Use __attribute__ ((__gnu_inline__)).
17775 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17776 Don't use __attribute__ ((__gnu_inline__)).
17777
177782013-05-01 Joseph Myers <joseph@codesourcery.com>
17779
17780 [BZ #15423]
17781 * math/s_catan.c (__catan): Handle small real or imaginary part of
17782 input specially to avoid spurious underflow.
17783 * math/s_catanf.c (__catanf): Likewise.
17784 * math/s_catanh.c (__catanh): Likewise.
17785 * math/s_catanhf.c (__catanhf): Likewise.
17786 * math/s_catanhl.c (__catanhl): Likewise.
17787 * math/s_catanl.c (__catanl): Likewise.
17788 * math/libm-test.inc (catan_test): Add more tests.
17789 (catanh_test): Likewise.
17790 * sysdeps/i386/fpu/libm-test-ulps: Update.
17791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17792
177932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17794
17795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17796
177972013-04-30 Joseph Myers <joseph@codesourcery.com>
17798
17799 [BZ #15416]
17800 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17801 accurately for denominator in atan2.
17802 * math/s_catanf.c (__catanf): Likewise.
17803 * math/s_catanh.c (__catanh): Likewise.
17804 * math/s_catanhf.c (__catanhf): Likewise.
17805 * math/s_catanhl.c (__catanhl): Likewise.
17806 * math/s_catanl.c (__catanl): Likewise.
17807 * math/libm-test.inc (catan_test): Add more tests.
17808 (catanh_test): Likewise.
17809 * sysdeps/i386/fpu/libm-test-ulps: Update.
17810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17811
178122013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17813
17814 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17815
17816 * benchtests/Makefile (bench): Remove slow benchmarks.
17817 * benchtests/atan-inputs: Add slow benchmark inputs.
17818 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17819 (BENCH_FUNC): Accept variant offset.
17820 (VARIANT): Define.
17821 * benchtests/bench-skeleton.c (main): Run benchmark for each
17822 variant.
17823 * benchtests/cos-inputs: Add slow benchmark inputs.
17824 * benchtests/exp-inputs: Likewise.
17825 * benchtests/pow-inputs: Likewise.
17826 * benchtests/sin-inputs: Likewise.
17827 * benchtests/slowatan-inputs: Remove.
17828 * benchtests/slowatan.c: Remove.
17829 * benchtests/slowcos-inputs: Remove.
17830 * benchtests/slowcos.c: Remove.
17831 * benchtests/slowexp-inputs: Remove.
17832 * benchtests/slowexp.c: Remove.
17833 * benchtests/slowpow-inputs: Remove.
17834 * benchtests/slowpow.c: Remove.
17835 * benchtests/slowsin-inputs: Remove.
17836 * benchtests/slowsin.c: Remove.
17837 * benchtests/slowtan-inputs: Remove.
17838 * benchtests/slowtan.c: Remove.
17839 * benchtests/tan-inputs: Add slow benchmark inputs.
17840 * scripts/bench.pl: Parse comments and directives.
17841
17842 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17843 in CPPFLAGS.
17844 ($(objpfx)bench-%.c): Remove *-ITER.
17845 * benchtests/bench-modf.c: Remove definition of ITER.
17846 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17847 (main): Loop for DURATION seconds instead of fixed number of
17848 iterations.
17849 * scripts/bench.pl: Don't expect iterations in parameters.
17850
178512013-04-29 Roland McGrath <roland@hack.frob.com>
17852
17853 * io/fchdir.c (__fchdir): Renamed from fchdir.
17854 (fchdir): Define as weak alias.
17855
178562013-04-29 Joseph Myers <joseph@codesourcery.com>
17857
17858 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17859 (ERRNO_EDOM): Likewise.
17860 (ERRNO_ERANGE): Likewise.
17861 (noErrnoTests): New variable.
17862 (init_max_error): Set errno to 0.
17863 (test_single_errno): New function.
17864 (test_errno): Likewise.
17865 (check_float_internal): Call test_errno. Set errno to 0.
17866 (check_complex): Refer to errno tests in comment.
17867 (check_int): Call test_errno. Set errno to 0.
17868 (check_long): Likewise.
17869 (check_bool): Likewise.
17870 (check_longlong): Likewise.
17871 (cos_test): Use ERRNO_* flags for errno tests instead of
17872 check_int.
17873 (expm1_test): Likewise.
17874 (fmod_test): Likewise.
17875 (ilogb_test): Likewise.
17876 (lgamma_test): Likewise.
17877 (pow_test): Likewise.
17878 (remainder_test): Likewise.
17879 (sin_test): Likewise.
17880 (tan_test): Likewise.
17881 (yn_test): Likewise.
17882 (initialize): Set errno to 0.
17883 (main): Print number of errno tests.
17884 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17885
178862013-04-29 Andreas Jaeger <aj@suse.de>
17887
17888 [BZ #15084]
17889 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17890 and RES_USEVC.
17891
17892 [BZ #15085]
17893 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17894 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17895 unimplemented.
17896
17897 [BZ #15380]
17898 * stdlib/random.c (__initstate): Return NULL if
17899 __initstate fails.
17900
17901 [BZ #15086]
17902 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17903 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17904 RES_SNGLKUPREOP.
17905
179062013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17907
17908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17909
179102013-04-29 Joseph Myers <joseph@codesourcery.com>
17911
17912 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17913 of individual tests.
17914 (casin_test): Likewise.
17915 (casinh_test): Likewise.
17916
179172013-04-27 Joseph Myers <joseph@codesourcery.com>
17918
17919 [BZ #15409]
17920 * math/s_catan.c (__catan): Handle arguments with large real or
17921 imaginary part separately without squaring.
17922 * math/s_catanf.c (__catanf): Likewise.
17923 * math/s_catanh.c (__catanh): Likewise.
17924 * math/s_catanhf.c (__catanhf): Likewise.
17925 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17926 and redefine.
17927 (__catanhl): Handle arguments with large real or imaginary part
17928 separately without squaring.
17929 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17930 and redefine.
17931 (__catanl): Handle arguments with large real or imaginary part
17932 separately without squaring.
17933 * math/libm-test.inc (catan_test): Add more tests.
17934 (catanh_test): Likewise.
17935 * sysdeps/i386/fpu/libm-test-ulps: Update.
17936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17937
179382013-04-27 Andreas Jaeger <aj@suse.de>
17939
17940 [BZ #15007]
17941 * stdlib/stdlib.h: Update guards for qecvt.
17942 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17943 <stdlib.h>.
17944
179452013-04-27 Allan McRae <allan@archlinux.org>
17946
17947 * sysdeps/i386/fpu/libm-test-ulps: Update.
17948
179492013-04-26 Joseph Myers <joseph@codesourcery.com>
17950
17951 [BZ #15406]
17952 * math/s_catan.c: Include <float.h>.
17953 (__catan): Ensure underflow exception occurs for underflowed
17954 result.
17955 * math/s_catanf.c: Include <float.h>.
17956 (__catanf): Ensure underflow exception occurs for underflowed
17957 result.
17958 * math/s_catanh.c: Include <float.h>.
17959 (__catanh): Ensure underflow exception occurs for underflowed
17960 result.
17961 * math/s_catanhf.c: Include <float.h>.
17962 (__catanhf): Ensure underflow exception occurs for underflowed
17963 result.
17964 * math/s_catanhl.c: Include <float.h>.
17965 (__catanhl): Ensure underflow exception occurs for underflowed
17966 result.
17967 * math/s_catanl.c: Include <float.h>.
17968 (__catanl): Ensure underflow exception occurs for underflowed
17969 result.
17970 * math/libm-test.inc (catan_test): Add more tests.
17971 (catanh_test): Likewise.
17972
17973 [BZ #15405]
17974 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17975 underflowed result.
17976 * math/s_ccoshf.c (__ccoshf): Likewise.
17977 * math/s_ccoshl.c (__ccoshl): Likewise.
17978 * math/s_csin.c (__csin): Likewise.
17979 * math/s_csinf.c (__csinf): Likewise.
17980 * math/s_csinh.c (__csinh): Likewise.
17981 * math/s_csinhf.c (__csinhf): Likewise.
17982 * math/s_csinhl.c (__csinhl): Likewise.
17983 * math/s_csinl.c (__csinl): Likewise.
17984 * math/libm-test.inc (ccos_test): Add more tests.
17985 (ccosh_test): Likewise.
17986 (csin_test): Likewise.
17987 (csinh_test): Likewise.
17988
179892013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17990
17991 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17992 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17993 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17994 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17995 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17996 powerpc/power5+/fpu folders.
17997 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17998
17999
180002013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18001
18002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18003
180042013-04-25 Joseph Myers <joseph@codesourcery.com>
18005
18006 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18007 additions to variable.
18008 [$(config-machine) = x86_64] (modules-names): Likewise.
18009 ($(objpfx)tst-audit3): Remove dependency.
18010 ($(objpfx)tst-audit3.out): Likewise.
18011 ($(objpfx)tst-audit4): Likewise.
18012 ($(objpfx)tst-audit4.out): Likewise.
18013 ($(objpfx)tst-audit5): Likewise.
18014 ($(objpfx)tst-audit5.out): Likewise.
18015 ($(objpfx)tst-audit6): Likewise.
18016 ($(objpfx)tst-audit6.out): Likewise.
18017 ($(objpfx)tst-audit7): Likewise.
18018 ($(objpfx)tst-audit7.out): Likewise.
18019 (tst-audit3-ENV): Remove variable.
18020 (tst-audit4-ENV): Likewise.
18021 (tst-audit5-ENV): Likewise.
18022 (tst-audit6-ENV): Likewise.
18023 (tst-audit7-ENV): Likewise.
18024 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18025 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18026 addition to variable.
18027 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18028 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18029 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18030 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18031 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18032 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18033 tst-audit3, tst-audit4 and tst-audit5.
18034 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18035 tst-audit6 and tst-audit7.
18036 [$(subdir) = elf] (modules-names): Add audit modules for those
18037 tests.
18038 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18039 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18040 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18041 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18042 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18043 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18044 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18045 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18046 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18047 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18048 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18049 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18050 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18051 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18052 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18053 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18054 Likewise.
18055 [$(subdir) = elf && $(config-cflags-avx) = yes]
18056 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18057 [$(subdir) = elf && $(config-cflags-avx) = yes]
18058 (CFLAGS-tst-auditmod4a.c): Likewise.
18059 [$(subdir) = elf && $(config-cflags-avx) = yes]
18060 (CFLAGS-tst-auditmod4b.c): Likewise.
18061 [$(subdir) = elf && $(config-cflags-avx) = yes]
18062 (CFLAGS-tst-auditmod6b.c): Likewise.
18063 [$(subdir) = elf && $(config-cflags-avx) = yes]
18064 (CFLAGS-tst-auditmod6c.c): Likewise.
18065 [$(subdir) = elf && $(config-cflags-avx) = yes]
18066 (CFLAGS-tst-auditmod7b.c): Likewise.
18067 * elf/tst-audit3.c: Move to ...
18068 * sysdeps/x86_64/tst-audit3.c: ... here.
18069 * elf/tst-audit4.c: Move to ...
18070 * sysdeps/x86_64/tst-audit4.c: ... here.
18071 * elf/tst-audit5.c: Move to ...
18072 * sysdeps/x86_64/tst-audit5.c: ... here.
18073 * elf/tst-audit6.c: Move to ...
18074 * sysdeps/x86_64/tst-audit6.c: ... here.
18075 * elf/tst-audit7.c: Move to ...
18076 * sysdeps/x86_64/tst-audit7.c: ... here.
18077 * elf/tst-auditmod3a.c: Move to ...
18078 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18079 * elf/tst-auditmod3b.c: Move to ...
18080 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18081 * elf/tst-auditmod4a.c: Move to ...
18082 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18083 * elf/tst-auditmod4b.c: Move to ...
18084 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18085 * elf/tst-auditmod5a.c: Move to ...
18086 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18087 * elf/tst-auditmod5b.c: Move to ...
18088 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18089 * elf/tst-auditmod6a.c: Move to ...
18090 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18091 * elf/tst-auditmod6b.c: Move to ...
18092 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18093 * elf/tst-auditmod6c.c: Move to ...
18094 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18095 * elf/tst-auditmod7a.c: Move to ...
18096 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18097 * elf/tst-auditmod7b.c: Move to ...
18098 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18099
181002013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18101
18102 [BZ #15366]
18103 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18104 define unconditionally.
18105 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18106 define unconditionally.
18107 (INT8_C, INT16_C, etc.): Likewise.
18108
181092013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18110
18111 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18112 __ehdr_start with hidden visibility.
18113
18114 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18115
181162013-04-24 Carlos O'Donell <carlos@redhat.com>
18117
18118 * math/libm-test.inc (cos_test): Use accurate hex constants.
18119 (sincost_test): Likewise.
18120
181212013-04-24 Joseph Myers <joseph@codesourcery.com>
18122
18123 * math/libm-test.inc (catan_test): Add more tests.
18124 (catanh_test): Likewise.
18125
18126 * math/s_catanf.c (__catanf): Use suffixed floating-point
18127 constants.
18128 * math/s_catanhf.c (__catanhf): Likewise.
18129 * math/s_catanhl.c (__catanhl): Likewise.
18130 * math/s_catanl.c (__catanl): Likewise.
18131
18132 [BZ #15394]
18133 * math/s_catan.c (__catan): Calculate imaginary part of result
18134 with log1p not log unless computing log of number close to 0.
18135 * math/s_catanf.c (__catanf): Likewise.
18136 * math/s_catanl.c (__catanl): Likewise.
18137 * math/s_catanh.c (__catanh): Calculate real part of result with
18138 log1p not log unless computing log of number close to 0.
18139 * math/s_catanhf.c (__catanhf): Likewise.
18140 * math/s_catanhl.c (__catanhl): Likewise.
18141 * math/libm-test.inc (catan_test): Add more tests.
18142 (catanh_test): Likewise.
18143 * sysdeps/i386/fpu/libm-test-ulps: Update.
18144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18145
181462013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18147
18148 * benchtests/Makefile: Mention files in which fast and slow
18149 paths of math functions are implemented.
18150
181512013-04-23 Roland McGrath <roland@hack.frob.com>
18152
18153 * sysdeps/posix/timespec_get.c: New file.
18154
181552013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18156
18157 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18158 POWER.
18159 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18160 for POWER.
18161 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18162 powerpc/power5/fpu folders.
18163 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18164 * benchtests/Makefile: Add modf testcase.
18165 * benchtests/bench-modf.c: New file: Benchmark test for mo
18166
181672013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18168
18169 [BZ #14888]
18170 * time/Makefile (tests): Add tst-strptime-whitespace.
18171 * time/strptime_l.c (get_number): Use ISSPACE.
18172 (__strptime_internal): Likewise.
18173 * time/tst-strptime-whitespace.c: New test case.
18174
181752013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18176
18177 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18178 member.
18179 (_nss_files_init): Set it here.
18180
181812013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18182
18183 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18184 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18185 unsigned.
18186
181872013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18188
18189 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18190
181912013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18192
18193 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18194 size just once.
18195
181962013-04-21 David S. Miller <davem@davemloft.net>
18197
18198 * po/ru.po: Update Russion translation from translation project.
18199
182002013-04-17 Adam Conrad <adconrad@0c3.net>
18201
18202 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18203 and setfsgid.
18204
182052013-04-17 Carlos O'Donell <carlos@redhat.com>
18206
18207 * configure.in: Remove i386 configure warning. Remove i386 case.
18208 * configure: Regenerate.
18209 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18210 Add example to error message.
18211 * sysdeps/i386/configure: Regenerate.
18212
182132013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18214
18215 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18216 slowtan.
18217 * benchtests/cos-inputs: New file.
18218 * benchtests/slowcos-inputs: New file.
18219 * benchtests/slowcos.c: New file.
18220 * benchtests/slowtan-inputs: New file.
18221 * benchtests/slowtan.c: New file.
18222 * benchtests/tan-inputs: New file.
18223
182242013-04-16 Roland McGrath <roland@hack.frob.com>
18225
18226 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18227 considered kosher.
18228
182292013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18230
18231 * benchtests/Makefile: Include cppflags-iterator.mk to add
18232 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18233
18234 * Makefile.in (bench-clean): New target.
18235 * benchtests/Makefile (bench-clean): Likewise.
18236
182372013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18238
18239 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18240
182412013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18242
18243 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18244
182452013-04-15 Andreas Schwab <schwab@suse.de>
18246
18247 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18249 * nscd/pwdcache.c (cache_addpw): Likewise.
18250 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18251 more than recsize.
18252
182532013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18254
18255 * benchtests/Makefile (bench): Write all output to
18256 bench-out.tmp together.
18257
182582013-04-15 Andreas Schwab <schwab@suse.de>
18259
18260 * nscd/nscd.c (main): Don't fork again after closing files.
18261
182622013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18263
18264 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18265
18266 * benchtests/Rules (bench-deps): Collect dependencies into a
18267 single variable. Add Makefile to dependencies.
18268 ($(objpfx)bench-%.c): Depend on bench-deps.
18269
182702013-04-12 Roland McGrath <roland@hack.frob.com>
18271 Xavier Roche <roche+kml2@exalead.com>
18272
18273 [BZ #15361]
18274 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18275 just that it's a file descriptor.
18276 * manual/llio.texi (Synchronizing AIO Operations): Update description
18277 for EBADF error from aio_fsync.
18278
182792013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18280
18281 * Rules (bench): Move target definition...
18282 * benchtests/Makefile: ... here.
18283
182842013-04-11 Carlos O'Donell <carlos@redhat.com>
18285
18286 * math/libm-test.inc (cos_test): Fix PI/2 test.
18287 (sincos_test): Likewise.
18288 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18289 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18290
182912013-04-11 Andreas Schwab <schwab@suse.de>
18292
18293 [BZ #13988]
18294 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18295 accept exponent character only when digits were seen.
18296 * stdio-common/Makefile (tests): Add bug26.
18297 * stdio-common/bug26.c: New file.
18298
18299 [BZ #14293]
18300 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18301 non-freeable.
18302
183032013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18304
18305 * Makeconfig (rtld-prefix): Define built linker prefix.
18306 * Rules (run-bench): Use it.
18307 * math/Makefile (run-regen-ulps): Likewise.
18308
18309 * Rules (bench): Remove eval.
18310
183112013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18312 Roland McGrath <roland@hack.frob.com>
18313 Ondrej Bilka <neleai@seznam.cz>
18314
18315 [BZ #15346]
18316 * time/getdate.c: Include ctype.h and alloca.h.
18317 (__getdate_r): Trim leading and trailing spaces of input.
18318 * time/tst-getdate.c (tests): Add tests with leading and
18319 trailing spaces.
18320
183212013-04-08 Roland McGrath <roland@hack.frob.com>
18322
18323 [BZ #14280]
18324 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18325 when computing value.
18326
183272013-04-06 Carlos O'Donell <carlos@redhat.com>
18328
18329 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18330 Use testrun.sh to run libm tests.
18331
18332 [BZ #15309]
18333 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18334
183352013-04-06 Marko Myllynen <myllynen@redhat.com>
18336
18337 [BZ #15264]
18338 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18339
183402013-04-06 Carlos O'Donell <carlos@redhat.com>
18341
18342 * Makefile.in (regen-ulps): New target.
18343 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18344 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18345 [ifneq (no,$(PERL)] (regen-ulps): New target.
18346 [ifeq (no,$(PERL)] (regen-ulps): New target.
18347 * math/libm-test.inc (ulps_file_name): Define.
18348 (output_dir): New variable.
18349 (options): Add "output-dir" option.
18350 (parse_opt): Handle 'o' case.
18351 (main): If output_dir is non-NULL use it as a prefix
18352 otherwise use "".
18353 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18354
183552013-04-06 Carlos O'Donell <carlos@redhat.com>
18356
18357 [BZ #10060, #10062]
18358 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18359 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18360 fail configure if __sync_val_compare_and_swap is not inlined.
18361 * sysdeps/i386/configure: Regenerate.
18362 * configure.in: Build for i686 when configured for i386.
18363 * configure: Regenerate.
18364 * README: Remove i386 reference.
18365
183662013-04-06 Carlos O'Donell <carlos@redhat.com>
18367
18368 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18369 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18370
183712013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18372
18373 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18374 (lmsnanval): New variables.
18375 (F): Add conversion tests.
18376 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18377 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18378
18379 * stdio-common/tstdiomisc.c (F): Properly collect individual
18380 tests' results.
18381
18382 [BZ #14686, #15336]
18383 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18384 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18385 Instead, use input NaN values or generate a qNaN by arithmetic
18386 operation. Also fix bugs to comply with the standard.
18387 * math/libm-test.inc (remainder_test): Add more tests.
18388
18389 [BZ #15335, #15342]
18390 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18391 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18392 input NaN values or generate a qNaN by arithmetic operation.
18393
18394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18395 unreachable code.
18396
18397 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18398 definitions.
18399
184002013-04-03 Joseph Myers <joseph@codesourcery.com>
18401
18402 [BZ #14478]
18403 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18404 underflowed result.
18405 * math/s_cexpf.c (__cexpf): Likewise.
18406 * math/s_cexpl.c (__cexpl): Likewise.
18407 * math/libm-test.inc (cexp_test): Add more tests.
18408
184092013-04-03 Andreas Schwab <schwab@suse.de>
18410
18411 [BZ #15330]
18412 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18413 order arrays from heap if bigger than alloca cutoff.
18414
184152013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18416
18417 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18418 (SNAN_TESTS_double): Refer to GCC PR56831.
18419 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18420 GCC PR56828.
18421
184222013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18423
18424 * Rules (bench): Move bench.out after the run is complete.
18425
18426 * Rules (bench): Echo currently running benchmark.
18427
18428 * benchtests/Makefile (bench): Add atan and slowatan.
18429 * benchtests/atan-inputs: New file.
18430 * benchtests/slowatan-inputs: New file.
18431 * benchtests/slowatan.c: New file.
18432
18433 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18434 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18435 its value.
18436
18437 [BZ #15305]
18438 * sysdeps/unix/sysv/linux/kernel-features.h
18439 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18440 __ASSUME_XFS_RESTRICTED_CHOWN.
18441 * sysdeps/unix/sysv/linux/pathconf.c
18442 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18443 Save and restore errno.
18444
184452013-04-02 Joseph Myers <joseph@codesourcery.com>
18446
18447 [BZ #15327]
18448 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18449 arguments using __kernel_casinh.
18450 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18451 arguments using __kernel_casinhf.
18452 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18453 arguments using __kernel_casinhl.
18454 * math/libm-test.inc (cacosh_test): Add more tests.
18455 * sysdeps/i386/fpu/libm-test-ulps: Update.
18456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18457
184582013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18459
18460 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18461 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18462
18463 * bench/Makefile (bench): Add sin and slowsin.
18464 * benchtests/sin-inputs: New file.
18465 * benchtests/slowsin-inputs: New file.
18466 * benchtests/slowsin.c: New file.
18467
18468 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18469 (bench): Add slowexp and slowpow.
18470 (exp-ITER): Increase iterations.
18471 (pow-ITER): Likewise.
18472 * benchtests/exp-inputs: Change input.
18473 * benchtests/pow-inputs: Likewise.
18474 * benchtests/slowexp-inputs: New file.
18475 * benchtests/slowexp.c: New file.
18476 * benchtests/slowpow-inputs: New file.
18477 * benchtests/slowpow.c: New file.
18478
184792013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18480
18481 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18482 instructions.
18483 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18484 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18485 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18486 * benchtests/Makefile: Add rint benchtest.
18487 * benchtests/rint-inputs: Input for rint benchtest.
18488
184892013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18490
18491 * Versions.def (libm): Add GLIBC_2.18.
18492 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18493 hidden libm prototypes.
18494 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18495 * math/Makefile (libm-calls): Add s_issignaling.
18496 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18497 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18498 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18499 declaration.
18500 * math/math.h [__USE_GNU] (issignaling): New macro.
18501 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18502 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18503 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18504 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18505 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18506 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18507 * manual/arith.texi (issignaling): New section.
18508 * manual/libm-err-tab.pl (@all_functions): Update comment.
18509 * math/gen-libm-test.pl (parse_args): Apply special handling for
18510 issignaling.
18511 * math/libm-test.inc (print_float, issignaling_test): New
18512 functions.
18513 (check_float_internal): Add issignaling checks.
18514 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18515 default definition.
18516 * sysdeps/powerpc/math-tests.h: New file.
18517 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18518 tests.
18519 * math/test-snan.c (TEST_FUNC): Likewise.
18520
185212013-03-30 David S. Miller <davem@davemloft.net>
18522
18523 * po/de.po: Update from translation team.
18524
185252013-03-30 Joseph Myers <joseph@codesourcery.com>
18526
18527 [BZ #10357]
18528 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18529 imaginary part less than 1.0 and real part less than 0.5
18530 specially.
18531 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18532 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18533 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18534 (cacos_test): Add more tests.
18535 (casin_test): Likewise.
18536 (casinh_test): Likewise.
18537 * sysdeps/i386/fpu/libm-test-ulps: Update.
18538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18539
185402013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18541
18542 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18543 ONE with its value.
18544
18545 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18546 (__pow_mp): Replace ONE and MONE with their values.
18547 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18548 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18549 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18550 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18551 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18552 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18553
18554 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18555
18556 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18557 (__pow_mp): Replace ZERO and MZERO with their values.
18558 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18559 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18560 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18561 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18562 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18563 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18564 (__sqr): Likewise.
18565
18566 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18567
18568 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18569
185702013-03-28 Roland McGrath <roland@hack.frob.com>
18571
18572 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18573 Declare with __attribute__ ((weak)).
18574 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18575 Call __call_tls_dtors only if it's not NULL.
18576
185772013-03-28 Roland McGrath <roland@hack.frob.com>
18578
18579 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18580 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18581 magic __ehdr_start linker symbol if it's defined.
18582 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18583 them up here if it was already done.
18584
18585 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18586 (_dl_aux_init): Use const in cast when setting it.
18587 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18588 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18589 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18590
18591 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18592 Declare them here.
18593 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18594 * csu/libc-tls.c: Nor here.
18595 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18596
18597 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18598 (__libc_message): Never call vsyslog.
18599
186002013-03-28 Alan Modra <amodra@gmail.com>
18601
18602 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18603 Define as empty.
18604 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18605 Likewise.
18606
186072013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18608
18609 [BZ #15214]
18610 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18611 underflow.
18612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18613
186142013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18615
18616 [BZ #15304]
18617 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18618 Don't add gid passed as argument.
18619
18620 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18621
186222013-03-27 Joseph Myers <joseph@codesourcery.com>
18623
18624 [BZ #15307]
18625 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18626 imaginary part between 1.0 and 1.5 and real part less than 0.5
18627 specially.
18628 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18629 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18630 * math/libm-test.inc (cacos_test): Add more tests.
18631 (casin_test): Likewise.
18632 (casinh_test): Likewise.
18633 * sysdeps/i386/fpu/libm-test-ulps: Update.
18634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18635
186362013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18637
18638 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18639 constants.
18640 (norm): Likewise.
18641 (denorm): Likewise.
18642 (__dbl_mp): Likewise.
18643 (add_magnitudes): Likewise.
18644 (sub_magnitudes): Likewise.
18645 (__add): Likewise.
18646 (__sub): Likewise.
18647 (__mul): Likewise.
18648 (__sqr): Likewise.
18649 (__inv): Likewise.
18650 (__dvd): Likewise.
18651
18652 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18653 commented code.
18654 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18655 (__dubcos): Likewise.
18656 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18657 (__ieee754_acos): Likewise.
18658 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18659 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18660 (__exp1): Likewise.
18661 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18663 (log1): Likewise.
18664 (my_log2): Likewise.
18665 (checkint): Likewise.
18666 * sysdeps/ieee754/dbl-64/e_remainder.c
18667 (__ieee754_remainder): Likewise.
18668 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18669 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18670 (bsloww): Likewise.
18671 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18672
18673 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18674 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18675 MANTISSA_STORE_T to store computations on mantissa. Use
18676 macros for rounding and division.
18677 (denorm): Likewise.
18678 (__dbl_mp): Likewise.
18679 (add_magnitudes): Likewise.
18680 (sub_magnitudes): Likewise.
18681 (__mul): Likewise.
18682 (__sqr): Likewise.
18683 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18684 powers of two in terms of TWOPOW macro.
18685 (mp_no): Make type of mantissa as MANTISSA_T.
18686 [!RADIXI]: Define RADIXI.
18687 [!TWO52]: Define TWO52.
18688 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18689
186902013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18691
18692 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18693 llroundl symbol when building for PPC32.
18694
186952013-03-24 Mark H Weaver <mhw@netris.org>
18696
18697 * manual/arith.texi (Normalization Functions): Fix prototypes for
18698 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18699
187002013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18701
18702 [BZ #13889]
18703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18704 high value to check if expl overflow.
18705 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18706 to check for underflow and overflow.
18707 * math/libm-test.inc: Add exp test.
18708
187092013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18710
18711 [BZ #11120]
18712 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18713 with NOT_IN_libc.
18714
187152013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18716
18717 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18718 symbol.
18719
187202013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18721
18722 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18723 wrap blocks consisting of several statements.
18724
18725 * sysdeps/generic/math-tests.h: New file.
18726 * sysdeps/i386/fpu/math-tests.h: Likewise.
18727 * math/test-snan.c: Include it.
18728 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18729
187302013-03-21 Joseph Myers <joseph@codesourcery.com>
18731
18732 [BZ #15285]
18733 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18734 (__ieee754_j0l): Do not improve calculations using cos of twice
18735 input for inputs above LDBL_MAX / 2.0L.
18736 (__ieee754_y0l): Likewise.
18737 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18738 (__ieee754_j1l): Do not improve calculations using cos of twice
18739 input for inputs above LDBL_MAX / 2.0L.
18740 (__ieee754_y1l): Likewise.
18741 * math/libm-test.inc (j0_test): Add another test.
18742 (j1_test): Likewise.
18743 (y0_test): Likewise.
18744 (y1_test): Likewise.
18745 * sysdeps/i386/fpu/libm-test-ulps: Update.
18746
187472013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18748
18749 * Rules ($(objpfx)bench-%.c): Include code from a C source
18750 file.
18751
187522013-03-21 Joseph Myers <joseph@codesourcery.com>
18753
18754 [BZ #15287]
18755 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18756 imaginary part 1.0 and real part less than 0.5 specially.
18757 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18758 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18759 * math/libm-test.inc (cacos_test): Add more tests.
18760 (casin_test): Likewise.
18761 (casinh_test): Likewise.
18762 * sysdeps/i386/fpu/libm-test-ulps: Update.
18763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18764
187652013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18766
18767 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18768 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18769
187702013-03-20 Joseph Myers <joseph@codesourcery.com>
18771
18772 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18773 * config.make.in (config-cflags-sse4): Remove variable.
18774 (config-cflags-avx): Likewise.
18775 (config-cflags-sse2avx): Likewise.
18776 (config-cflags-novzeroupper): Likewise.
18777 (config-asflags-i686): Likewise.
18778 (have-mfma4): Likewise.
18779 (have-as-vis3): Likewise.
18780 (MIG): Likewise.
18781 * configure.in (MIG): Do not AC_SUBST.
18782 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18783 (libc_cv_cc_sse4): Do not AC_SUBST.
18784 (libc_cv_cc_avx): Likewise.
18785 (libc_cv_cc_sse2avx): Likewise.
18786 (libc_cv_cc_novzeroupper): Likewise.
18787 (libc_cv_cc_fma4): Likewise.
18788 (libc_cv_as_i686): Likewise.
18789 (libc_cv_sparc_as_vis3): Likewise.
18790 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18791 LIBC_CONFIG_VAR.
18792 (config-asflags-i686): Likewise.
18793 (config-cflags-avx): Likewise.
18794 (config-cflags-sse2avx): Likewise.
18795 (have-mfma4): Likewise.
18796 (config-cflags-novzeroupper): Likewise.
18797 * sysdeps/mach/configure.in (MIG): Likewise.
18798 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18799 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18800 LIBC_CONFIG_VAR.
18801 (config-cflags-avx): Likewise.
18802 (config-cflags-sse2avx): Likewise.
18803 (have-mfma4): Likewise.
18804 (config-cflags-novzeroupper): Likewise.
18805 * configure: Regenerated.
18806 * sysdeps/i386/configure: Likewise.
18807 * sysdeps/mach/configure: Likewise.
18808 * sysdeps/sparc/configure: Likewise.
18809 * sysdeps/x86_64/configure: Likewise.
18810
188112013-03-20 Roland McGrath <roland@hack.frob.com>
18812
18813 [BZ #14812]
18814 * locale/programs/localedef.c (options): Put N_ translation marker
18815 on argument names, not just descriptions.
18816
188172013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18818
18819 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18820
188212013-03-20 Ondřej Bílka <neleai@seznam.cz>
18822
18823 [BZ #14176]
18824 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18825
188262013-03-19 Roland McGrath <roland@hack.frob.com>
18827
18828 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18829 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18830 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18831 [!BEFORE_ABORT] (before_abort): New function.
18832 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18833 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18834 (writev_for_fatal): New function.
18835 (WRITEV_FOR_FATAL): New macro; call that.
18836 (backtrace_and_maps): New function.
18837 (BEFORE_ABORT): New macro; call that.
18838 (struct str_list): Type removed.
18839 (__libc_message, __libc_fatal): Functions removed.
18840 Include <sysdeps/posix/libc_fatal.c> instead.
18841
188422013-03-19 Joseph Myers <joseph@codesourcery.com>
18843
18844 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18845 constants.
18846 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18847 double constants.
18848
188492013-03-19 Andreas Schwab <schwab@suse.de>
18850
18851 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18852 * sysdeps/gnu/configure: Regenerate.
18853
18854 * configure.in: Substitute libc_cv_rtlddir.
18855 * configure: Regenerate.
18856 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18857 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18858 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18859 * elf/Makefile (install-others, CFLAGS-interp.c)
18860 (ldso_install, common-ldd-rewrite): Likewise.
18861 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18862 $(inst_slibdir)/$(rtld-installed-name).
18863 * scripts/rellns-sh: Add -p option.
18864 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18865 for source.
18866
188672013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18868
18869 * manual/nptl.texi: Renamed to ...
18870 * manual/threads.texi: ... this.
18871 * manual/Makefile (chapters): Update.
18872
188732013-03-18 Roland McGrath <roland@hack.frob.com>
18874
18875 [BZ #14812]
18876 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18877 on argument names, not just descriptions.
18878 * malloc/memusagestat.c (options): Likewise.
18879 * nss/getent.c (options): Likewise.
18880
188812013-03-18 Benno Schulenberg <bensberg@justemail.net>
18882
18883 [BZ #14812]
18884 * iconv/iconv_prog.c (options): Put N_ translation marker
18885 on argument names, not just descriptions.
18886 * iconv/iconvconfig.c (options): Likewise.
18887
188882013-03-18 Ondrej Bilka <neleai@seznam.cz>
18889
18890 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18891 implementation which is faster on all x86_64 architectures.
18892 Tested on AMD, Intel Nehalem, SNB, IVB.
18893 * sysdeps/x86_64/strnlen.S: Likewise.
18894
18895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18896 Remove all multiarch strlen and strnlen versions.
18897 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18898 Remove strlen and strnlen related parts.
18899
18900 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18901 Inline strlen part.
18902 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18903
18904 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18905 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18906 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18907 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18908 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18909 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18910
189112013-03-17 Carlos O'Donell <carlos@redhat.com>
18912
18913 * manual/memory.texi (Malloc Tunable Parameters):
18914 Sort parameters alphabetically. Add comments for missing entries.
18915
189162013-03-17 David S. Miller <davem@davemloft.net>
18917
18918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18919
189202013-03-16 Joseph Myers <joseph@codesourcery.com>
18921
18922 [BZ #15283]
18923 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18924 for arguments at most half maximum finite value.
18925 * math/libm-test.inc (j0_test): Add more tests.
18926 (j1_test): Likewise.
18927 (y0_test): Likewise.
18928 (y1_test): Likewise.
18929 * sysdeps/i386/fpu/libm-test-ulps: Update.
18930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18931
18932 [BZ #14155]
18933 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18934 1 / x and functions P and Q for arguments above 0x1p256L.
18935 (__ieee754_y0l): Likewise.
18936 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18937 (__ieee754_y1l): Likewise.
18938 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18939 (j1_test): Likewise.
18940 (y0_test): Likewise.
18941 (y1_test): Likewise.
18942
189432013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18944
18945 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18946 variable.
18947
189482013-03-15 Roland McGrath <roland@hack.frob.com>
18949
18950 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18951 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18952 zero since it's initialized to EXEC_PAGESIZE.
18953
18954 * sysdeps/unix/sysv/linux/ldsodefs.h
18955 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18956 * sysdeps/generic/ldsodefs.h: ... here.
18957
189582013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18959
18960 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18961
18962 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18963 math/test-snan.c.
18964 * math/test-snan.c: Renamed from
18965 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18966 * math/Makefile (tests): Add test-snan.
18967 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18968 test-powerpc-snan.
18969
18970 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18971 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18972 functions.
18973 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18974 __builtin_nan family of functions.
18975 * math/libm-test.inc (initialize): Initialize qnan_value with
18976 __builtin_nan family of functions.
18977 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18978 Remove variables.
18979 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18980 Remove functions.
18981 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18982 storage class. Initialize qNaN_var and sNaN_var with
18983 __builtin_nan and __builtin_nans families of functions,
18984 respectively.
18985
18986 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18987 (sqrt_test): Remove duplicate test with qNaN input.
18988 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18989 (round_test, signbit_test, significand_test): Note missing +/-Inf
18990 as well as qNaN tests.
18991
18992 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18993 qNaN_var. Fix a few strings, too.
18994 * math/libm-test.inc (nan_value): Rename to qnan_value.
18995 * math/gen-libm-test.pl (%beautify): Adjust to that.
18996 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18997 * math/test-misc.c (main): Likewise.
18998 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18999 to __qnan_bytes, and __qnan_union, respectively.
19000 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19001 Likewise.
19002 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19003 and lqnanval, respectively.
19004 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19005 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19006 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19007 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19008
19009 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19010 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19011 doubles.
19012
19013 * math/test-misc.c (main): Fix copy'n'pastos.
19014 * misc/tst-efgcvt.c (special): Likewise.
19015
19016 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19017 Remove declarations.
19018
190192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19020
19021 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19022 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19023 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19024 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19025
190262013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19027
19028 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19029 macro to return vdso values correctly in IFUNC implementations.
19030 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19031 Optimization by using IFUNC.
19032
190332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19034 Richard Henderson <rth@redhat.com>
19035 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19036
19037 * Makefile.in (bench): New target.
19038 * NEWS: Mention the benchmark framework.
19039 * Rules (bench): Likewise.
19040 (binaries-bench): Generate binaries for functions to
19041 benchmark.
19042 * benchtests/Makefile: New makefile for benchmark tests.
19043 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19044 programs.
19045 * benchtests/exp-inputs: New input file for EXP function.
19046 * benchtests/pow-inputs: New input file for POW function.
19047 * scripts/bench.pl: New script to generate source files for
19048 benchmark programs.
19049
190502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19051
19052 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19053 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19054 computations on mantissa. Use macros for rounding and
19055 division.
19056 (denorm): Likewise.
19057 (__dbl_mp): Likewise.
19058 (add_magnitudes): Likewise.
19059 (sub_magnitudes): Likewise.
19060 (__mul): Likewise.
19061 (__sqr): Likewise.
19062 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19063 powers of two in terms of TWOPOW macro.
19064 (mp_no): Make type of mantissa as MANTISSA_T.
19065 [!RADIXI]: Define RADIXI.
19066 [!TWO52]: Define TWO52.
19067 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19068
19069 * manual/nptl.texi (cindex): Modify threads to pthreads.
19070
190712013-03-15 Joseph Myers <joseph@codesourcery.com>
19072
19073 * sysdeps/x86_64/preconfigure: Regenerated.
19074
190752013-03-14 Joseph Myers <joseph@codesourcery.com>
19076
19077 [BZ #14155]
19078 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19079 0x1p28 and above.
19080 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19081 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19082 0x1p28 and above.
19083 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19084 * math/libm-test.inc (j0_test): Do not allow one spurious
19085 underflow exception.
19086 (y1_test): Likewise.
19087
190882013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19089
19090 * manual/Makefile (chapters): Add nptl.
19091 * manual/debug.texi (Debugging Support): Add link to Threads
19092 chapter.
19093 * manual/nptl.texi: New file.
19094
19095 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19096
190972013-03-14 Petr Baudis <pasky@ucw.cz>
19098
19099 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19100 for non-NULL pointer before the memory validity test. Pointed
19101 out by Holger Brunck <holger.brunck@keymile.com>.
19102
191032013-03-13 Andreas Schwab <schwab@suse.de>
19104
19105 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19106 instead of .os.
19107
191082013-03-13 Joseph Myers <joseph@codesourcery.com>
19109
19110 * timezone/zic.c: Update from tzcode 2013b.
19111
191122013-03-12 Carlos O'Donell <carlos@redhat.com>
19113
19114 * manual/install.texi (Configuring and compiling):
19115 Mention i686 and i586.
19116 * INSTALL: Regenerate.
19117
191182013-03-12 Roland McGrath <roland@hack.frob.com>
19119
19120 * sysdeps/init_array/elf-init.c: New file.
19121 * csu/elf-init.c
19122 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19123 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19124
19125 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19126 __gmon_start__ as global, but as static with a .preinit_array pointer.
19127 * sysdeps/init_array/gmon-start.c: New file. Use that.
19128 * sysdeps/init_array/crti.S: New file, empty except for comments.
19129 * sysdeps/init_array/crtn.S: Likewise.
19130
191312013-03-11 Ondřej Bílka <neleai@seznam.cz>
19132
19133 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19134 definining bcopy.
19135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19136 Remove Prefer_SSE_for_memop.
19137 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19138 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19139 HAS_PREFER_SSE_FOR_MEMOP.
19140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19141 memset-x86-64.
19142 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19143 Remove bzero, memset ifunc support.
19144 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19145 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19146 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19147 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19148
191492013-03-11 Andreas Schwab <schwab@suse.de>
19150
19151 [BZ #15234]
19152 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19153 by SHLIB_COMPAT.
19154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19155 (GLIBC_2.16): Remove pthread_atfork.
19156
191572013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19158
19159 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19160 (ptestcases.h): Likewise.
19161
191622013-03-08 Roland McGrath <roland@hack.frob.com>
19163
19164 * Makeconfig ($(common-objpfx)config.status): Depend on
19165 sysdeps/*/preconfigure{,.in} too.
19166
191672013-03-08 Joseph Myers <joseph@codesourcery.com>
19168
19169 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19170 (__free_hook): Use void * instead of __malloc_ptr_t.
19171 (__malloc_hook): Likewise.
19172 (__realloc_hook): Likewise.
19173 (__memalign_hook): Likewise.
19174 (__after_morecore_hook): Likewise.
19175 * malloc/arena.c (save_malloc_hook): Likewise.
19176 (save_free_hook): Likewise.
19177 * malloc/hooks.c (malloc_hook_ini): Likewise.
19178 (realloc_hook_ini): Likewise.
19179 (memalign_hook_ini): Likewise.
19180 * malloc/malloc.c (malloc_hook_ini): Likewise.
19181 (realloc_hook_ini): Likewise.
19182 (memalign_hook_ini): Likewise.
19183 (__free_hook): Likewise.
19184 (__malloc_hook): Likewise.
19185 (__realloc_hook): Likewise.
19186 (__memalign_hook): Likewise.
19187 (__libc_malloc): Likewise.
19188 (__libc_free): Likewise.
19189 (__libc_realloc): Likewise.
19190 (__libc_memalign): Likewise.
19191 (__libc_valloc): Likewise.
19192 (__libc_pvalloc): Likewise.
19193 (__libc_calloc): Likewise.
19194 (__posix_memalign): Likewise.
19195 * malloc/morecore.c (__sbrk): Likewise.
19196 (__default_morecore): Likewise.
19197
19198 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19199
19200 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19201 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19202 __malloc_ptrdiff_t.
19203
19204 * malloc/malloc.h (__malloc_size_t): Remove macro.
19205 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19206 __malloc_size_t.
19207 (old_memalign_hook): Likewise.
19208 (old_realloc_hook): Likewise.
19209 (struct hdr): Likewise.
19210 (flood): Likewise.
19211 (mallochook): Likewise.
19212 (memalignhook): Likewise.
19213 (reallochook): Likewise.
19214 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19215 (tr_old_realloc_hook): Likewise.
19216 (tr_old_memalign_hook): Likewise.
19217 (tr_mallochook): Likewise.
19218 (tr_reallochook): Likewise.
19219 (tr_memalignhook): Likewise.
19220
192212013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19222
19223 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19224 default_ldbl_pack and using as default implementation.
19225 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19226 implementation.
19227 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19228 redundant definition.
19229 (ldbl_insert_mantissa): Likewise.
19230 (ldbl_canonicalize): Likewise.
19231 (ldbl_nearbyint): Likewise.
19232 (ldbl_pack): Rename to ldbl_pack_ppc.
19233 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19234 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19235 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19236
192372013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19238
19239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19240 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19241 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19242 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19244 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19245 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19246 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19247
192482013-03-07 Andreas Jaeger <aj@suse.de>
19249
19250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19251 bits/mman-linux.h.
19252
192532013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19254
19255 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19256 Include mpa.h and declare __MPEXP.
19257 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19259 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19260 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19261 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19262 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19263 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19264
19265 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19266 (__slowpow): Use long double EXPL and LOGL functions to
19267 compute POW.
19268 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19269 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19270 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19271 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19272 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19273 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19274
19275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19276 intermediate variable to calculate exponent.
19277 (__sqr): Likewise.
19278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19279 Likewise.
19280 (__sqr): Likewise.
19281
19282 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19283 [!NO__SQR]: Define __sqr.
19284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19285 and NO__SQR. Remove all code except __mul and __sqr. Include
19286 sysdeps/ieee754/dbl-64/mpa.c.
19287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19288
19289 [BZ #12723]
19290 * posix/Makefile (tests): Add tst-pathconf.
19291 * posix/tst-pathconf.c: New test case.
19292 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19293 _PC_PIPE_BUF.
19294 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19295
192962013-03-06 Patsy Franklin <pfrankli@redhat.com>
19297
19298 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19299
193002013-03-06 Andreas Jaeger <aj@suse.de>
19301
19302 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19303 definition via __MAP_ANONYMOUS.
19304
19305 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19306 it's not part of Linux headers.
19307
19308 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19309 (MAP_HUGE_MASK): Define.
19310
19311 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19312 Define.
19313 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19314 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19315 Define.
19316 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19317 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19318 Define.
19319 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19320 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19321 Define.
19322 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19323
19324 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19325 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19326 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19327 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19328 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19329 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19330
19331 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19332 Handle f2fs.
19333
19334 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19335 Handle f2fs and efivarfs.
19336
19337 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19338 f2fs.
19339
19340 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19341 (EFIVARFS_MAGIC): Add.
19342 (F2FS_LINK_MAX): Add.
19343
193442013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19345
19346 * stdio-common/vfprintf.c: Replace __builtin_expect with
19347 __glibc_unlikely.
19348
193492013-03-06 Joseph Myers <joseph@codesourcery.com>
19350
19351 [BZ #13550]
19352 * sysdeps/generic/bp-sym.h: Remove file.
19353 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19354 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19355 <bp-sym.h> and <bp-asm.h>.
19356 (__longjmp): Don't use BP_SYM.
19357 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19358 and <bp-asm.h>.
19359 (memcpy): Don't use BP_SYM.
19360 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19361 <bp-sym.h> and <bp-asm.h>.
19362 (memcpy): Don't use BP_SYM.
19363 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19364 <bp-asm.h>.
19365 (memcpy): Don't use BP_SYM.
19366 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19367 <bp-asm.h>.
19368 (memset): Don't use BP_SYM.
19369 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19370 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19371 (__bzero): Don't use BP_SYM.
19372 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19373 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19374 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19375 <bp-sym.h> and <bp-asm.h>.
19376 (memcmp): Don't use BP_SYM. Remove comment about bounded
19377 pointers.
19378 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19379 <bp-sym.h> and <bp-asm.h>.
19380 (memcpy): Don't use BP_SYM.
19381 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19382 <bp-sym.h> and <bp-asm.h>.
19383 (memset): Don't use BP_SYM.
19384 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19385 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19386 (__bzero): Don't use BP_SYM.
19387 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19388 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19389 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19390 <bp-sym.h> and <bp-asm.h>.
19391 (strncmp): Don't use BP_SYM. Remove comment about bounded
19392 pointers.
19393 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19394 <bp-sym.h> and <bp-asm.h>.
19395 (memcpy): Don't use BP_SYM.
19396 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19397 <bp-sym.h> and <bp-asm.h>.
19398 (memset): Don't use BP_SYM.
19399 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19400 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19401 (__bzero): Don't use BP_SYM.
19402 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19403 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19404 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19405 <bp-sym.h> and <bp-asm.h>.
19406 (__memchr): Don't use BP_SYM.
19407 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19408 <bp-sym.h> and <bp-asm.h>.
19409 (memcmp): Don't use BP_SYM. Remove comment about bounded
19410 pointers.
19411 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19412 <bp-sym.h> and <bp-asm.h>.
19413 (memcpy): Don't use BP_SYM.
19414 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19415 <bp-sym.h> and <bp-asm.h>.
19416 (__mempcpy): Don't use BP_SYM.
19417 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19418 <bp-sym.h> and <bp-asm.h>.
19419 (__memrchr): Don't use BP_SYM.
19420 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19421 <bp-sym.h> and <bp-asm.h>.
19422 (memset): Don't use BP_SYM.
19423 (__bzero): Likewise.
19424 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19425 <bp-sym.h> and <bp-asm.h>.
19426 (__rawmemchr): Don't use BP_SYM.
19427 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19428 <bp-sym.h> and <bp-asm.h>.
19429 (__STRCMP): Don't use BP_SYM.
19430 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19431 <bp-sym.h> and <bp-asm.h>.
19432 (strchr): Don't use BP_SYM.
19433 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19434 <bp-sym.h> and <bp-asm.h>.
19435 (__strchrnul): Don't use BP_SYM.
19436 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19437 <bp-sym.h> and <bp-asm.h>.
19438 (strlen): Don't use BP_SYM.
19439 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19440 <bp-sym.h> and <bp-asm.h>.
19441 (strncmp): Don't use BP_SYM. Remove comment about bounded
19442 pointers.
19443 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19444 <bp-sym.h> and <bp-asm.h>.
19445 (__strnlen): Don't use BP_SYM.
19446 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19447 <bp-sym.h> and <bp-asm.h>.
19448 (__GI__setjmp): Don't use BP_SYM.
19449 (_setjmp): Likewise.
19450 (__sigsetjmp): Likewise.
19451 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19452 (L(start_addresses)): Don't use BP_SYM.
19453 (_start): Likewise.
19454 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19455 <bp-asm.h>.
19456 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19457 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19458 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19459 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19460 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19461 <bp-asm.h>.
19462 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19463 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19464 about bounded pointers.
19465 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19466 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19467 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19468 <bp-asm.h>.
19469 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19470 about bounded pointers. Remove GKM FIXME comments.
19471 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19472 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19473 <bp-asm.h>.
19474 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19475 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19476 Remove GKM FIXME comments.
19477 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19478 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19479 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19480 <bp-asm.h>.
19481 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19482 about bounded pointers. Remove GKM FIXME comment.
19483 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19484 and <bp-asm.h>.
19485 (strncmp): Don't use BP_SYM. Remove comment about bounded
19486 pointers.
19487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19488 <bp-sym.h> and <bp-asm.h>.
19489 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19491 <bp-sym.h> and <bp-asm.h>.
19492 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19493 comment.
19494
194952013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19496
19497 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19498 call free(NULL).
19499
195002013-03-05 David S. Miller <davem@davemloft.net>
19501
19502 * po/es.po: Update from translation team.
19503
195042013-03-05 Andreas Jaeger <aj@suse.de>
19505
19506 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19507 <bits/mman-linux.h>.
19508 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19509 is fine.
19510 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19511 <bits/mman-linux.h> to end of file.
19512 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19513 is fine.
19514 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19515 <bits/mman-linux.h> to end of file.
19516 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19517 is fine.
19518 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19519 <bits/mman-linux.h> to end of file.
19520
19521 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19522 (MCL_CURRENT, MCL_FUTURE): Define here.
19523
195242013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19525
19526 [BZ #15232]
19527 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19528 attribute_hidden.
19529 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19530
195312013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19532
19533 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19534 fourth parameter needed for rt_sigprocmask syscall.
19535 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19536 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19537 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19538 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19539 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19540 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19541
195422013-03-04 Joseph Myers <joseph@codesourcery.com>
19543
19544 [BZ #13550]
19545 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19546 comment about bounded pointers.
19547 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19548 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19549
195502013-03-04 Andreas Jaeger <aj@suse.de>
19551
19552 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19553 common definitions.
19554
19555 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19556 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19557 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19558 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19559 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19560 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19561
195622013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19563
19564 [BZ #15055]
19565 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19566 __ieee754_sqrl instead of __sqrl.
19567
195682013-03-01 Joseph Myers <joseph@codesourcery.com>
19569
19570 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19571 * sysdeps/powerpc/fpu_control.h: ... here.
19572 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19573 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19574 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19575 * sysdeps/powerpc/bits/mathinline.h: ... here.
19576
195772013-03-01 Roland McGrath <roland@hack.frob.com>
19578
19579 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19580 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19581 to just [NEED_DL_SYSINFO_DSO].
19582 * elf/dl-support.c: Likewise.
19583 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19584 * elf/rtld.c (dl_main): Likewise.
19585 * elf/setup-vdso.h (setup_vdso): Likewise.
19586 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19587 * sysdeps/unix/sysv/linux/dl-sysdep.c
19588 (_dl_discover_osversion): Likewise.
19589
195902013-03-01 Carlos O'Donell <carlos@redhat.com>
19591
19592 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19593 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19594
195952013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19596
19597 * NEWS: Mention libm performance improvements and non-x86 PI
19598 futex support.
19599
19600 * csu/libc-start.c (__pthread_initialize_minimal): Change
19601 function arguments.
19602 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19603
196042013-02-28 Joseph Myers <joseph@codesourcery.com>
19605
19606 [BZ #13550]
19607 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19608 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19609 <bp-sym.h> and <bp-asm.h>.
19610 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19611 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19612 and <bp-asm.h>.
19613 (memcpy): Don't use BP_SYM.
19614 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19615 <bp-asm.h>.
19616 (__mpn_add_n): Don't use BP_SYM.
19617 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19618 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19619 and <bp-asm.h>.
19620 (__mpn_addmul_1): Don't use BP_SYM.
19621 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19622 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19623 <bp-sym.h>.
19624 (_setjmp): Don't use BP_SYM.
19625 (__novmx_setjmp): Likewise.
19626 (__GI__setjmp): Likewise.
19627 (__vmx_setjmp): Likewise.
19628 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19629 <bp-sym.h>.
19630 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19631 (__bzero): Don't use BP_SYM.
19632 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19633 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19634 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19635 <bp-sym.h> and <bp-asm.h>.
19636 (memcpy): Don't use BP_SYM.
19637 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19638 <bp-sym.h> and <bp-asm.h>.
19639 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19640 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19641 <bp-sym.h> and <bp-asm.h>.
19642 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19643 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19644 <bp-asm.h>.
19645 (__mpn_lshift): Don't use BP_SYM.
19646 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19647 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19648 <bp-asm.h>.
19649 (memset): Don't use BP_SYM.
19650 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19651 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19652 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19653 <bp-asm.h>.
19654 (__mpn_mul_1): Don't use BP_SYM.
19655 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19656 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19657 <bp-sym.h> and <bp-asm.h>.
19658 (memcmp): Don't use BP_SYM.
19659 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19660 <bp-sym.h> and <bp-asm.h>.
19661 (memcpy): Don't use BP_SYM.
19662 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19663 <bp-sym.h> and <bp-asm.h>.
19664 (memset): Don't use BP_SYM.
19665 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19666 <bp-sym.h> and <bp-asm.h>.
19667 (strncmp): Don't use BP_SYM.
19668 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19669 <bp-sym.h> and <bp-asm.h>.
19670 (memcpy): Don't use BP_SYM.
19671 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19672 <bp-sym.h> and <bp-asm.h>.
19673 (memset): Don't use BP_SYM.
19674 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19675 <bp-sym.h> and <bp-asm.h>.
19676 (__memchr): Don't use BP_SYM.
19677 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19678 <bp-sym.h> and <bp-asm.h>.
19679 (memcmp): Don't use BP_SYM.
19680 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19681 <bp-sym.h> and <bp-asm.h>.
19682 (memcpy): Don't use BP_SYM.
19683 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19684 <bp-sym.h> and <bp-asm.h>.
19685 (__mempcpy): Don't use BP_SYM.
19686 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19687 <bp-sym.h> and <bp-asm.h>.
19688 (__memrchr): Don't use BP_SYM.
19689 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19690 <bp-sym.h> and <bp-asm.h>.
19691 (memset): Don't use BP_SYM.
19692 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19693 <bp-sym.h> and <bp-asm.h>.
19694 (__rawmemchr): Don't use BP_SYM.
19695 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19696 <bp-sym.h> and <bp-asm.h>.
19697 (__STRCMP): Don't use BP_SYM.
19698 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19699 <bp-sym.h> and <bp-asm.h>.
19700 (strchr): Don't use BP_SYM.
19701 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19702 <bp-sym.h> and <bp-asm.h>.
19703 (__strchrnul): Don't use BP_SYM.
19704 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19705 <bp-sym.h> and <bp-asm.h>.
19706 (strlen): Don't use BP_SYM.
19707 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19708 <bp-sym.h> and <bp-asm.h>.
19709 (strncmp): Don't use BP_SYM.
19710 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19711 <bp-sym.h> and <bp-asm.h>.
19712 (__strnlen): Don't use BP_SYM.
19713 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19714 <bp-asm.h>.
19715 (__mpn_rshift): Don't use BP_SYM.
19716 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19717 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19718 <bp-sym.h> and <bp-asm.h>.
19719 (__sigsetjmp): Don't use BP_SYM.
19720 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19721 (L(start_addresses)): Don't use BP_SYM.
19722 (_start): Likewise.
19723 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19724 <bp-asm.h>.
19725 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19726 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19727 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19728 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19729 <bp-asm.h>.
19730 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19731 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19732 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19733 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19734 <bp-asm.h>.
19735 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19736 comments.
19737 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19738 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19739 <bp-asm.h>.
19740 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19741 FIXME comments.
19742 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19743 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19744 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19745 <bp-asm.h>.
19746 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19747 comment.
19748 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19749 and <bp-asm.h>.
19750 (strncmp): Don't use BP_SYM,
19751 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19752 <bp-asm.h>.
19753 (__mpn_sub_n): Don't use BP_SYM.
19754 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19755 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19756 and <bp-asm.h>.
19757 (__mpn_submul_1): Don't use BP_SYM.
19758 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19760 <bp-sym.h> and <bp-asm.h>.
19761 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19763 <bp-sym.h> and <bp-asm.h>.
19764 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19765 comment.
19766
197672013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19768
19769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19770 Use ZK to minimize writes to Z.
19771 (sub_magnitudes): Simplify code a bit.
19772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19773 Use ZK to minimize writes to Z.
19774 (sub_magnitudes): Simplify code a bit.
19775
197762013-02-27 Roland McGrath <roland@hack.frob.com>
19777
19778 * csu/gmon-start.c: Add special exception to license text.
19779
197802013-02-27 Richard Henderson <rth@redhat.com>
19781
19782 * scripts/config.guess: Update from config.git.
19783 * scripts/config.sub: Likewise.
19784
197852013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19786
19787 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19788
19789 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19790
19791 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19792
19793 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19794
19795 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19796
197972013-02-26 Roland McGrath <roland@hack.frob.com>
19798
19799 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19800 [$(build-shared = yes].
19801
198022013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19803
19804 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19805 (__mul): Reduce iterations for calculating mantissa.
19806
19807 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19808 MPTWO.
19809 (__mpranred): Likewise.
19810
19811 [BZ #15160]
19812 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19813 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19814
198152013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19816
19817 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19818 Define __attribute__.
19819
198202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19821
19822 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19823 unused.
19824 * posix/regex_internal.h (__attribute): Remove.
19825 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19826 (re_string_context_at): Likewise.
19827 (bitset_not): Use __attribute__ and mark function as possibly
19828 unused.
19829 (bitset_merge): Likewise.
19830 (bitset_mask): Likewise.
19831 (re_string_char_size_at): Likewise.
19832 (re_string_wchar_at): Likewise.
19833 (re_string_elem_size_at): Likewise.
19834
198352013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19836
19837 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19838 code.
19839 (cc32): Likewise.
19840
19841 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19842 (__acr): Likewise.
19843 (__cpy): Likewise.
19844 (norm): Likewise.
19845 (denorm): Likewise.
19846 (__dbl_mp): Likewise.
19847 (add_magnitudes): Likewise.
19848 (sub_magnitudes): Likewise.
19849 (__mul): Likewise.
19850 (__inv): Likewise.
19851
19852 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19853 style.
19854
19855 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19856 style.
19857
19858 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19859 code.
19860
19861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19862 up changes with default code.
19863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19864 Likewise.
19865
198662013-02-24 Allan McRae <allan@archlinux.org>
19867
19868 * manual/socket.texi (The Internet Namespace): Order menu items
19869 to match that in the file.
19870
19871 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19872 node listing of the info page menu.
19873
198742013-02-21 Joseph Myers <joseph@codesourcery.com>
19875
19876 [BZ #13550]
19877 * sysdeps/i386/bp-asm.h: Remove file.
19878 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19879 (PARMS): Do not use macros from bp-asm.h.
19880 (S1): Likewise.
19881 (S2): Likewise.
19882 (SIZE): Likewise.
19883 (__mpn_add_n): Do not use BP_SYM
19884 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19885 "bp-asm.h".
19886 (PARMS): Do not use macros from bp-asm.h.
19887 (S1): Likewise.
19888 (SIZE): Likewise.
19889 (__mpn_addmul_1): Do not use BP_SYM
19890 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19891 "bp-asm.h".
19892 (PARMS): Do not use macros from bp-asm.h.
19893 (SIGMSK): Likewise.
19894 (_setjmp): Likewise. Do not use BP_SYM.
19895 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19896 "bp-asm.h".
19897 (PARMS): Do not use macros from bp-asm.h.
19898 (SIGMSK): Likewise.
19899 (setjmp): Likewise. Do not use BP_SYM.
19900 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19901 "bp-asm.h".
19902 (PARMS): Do not use macros from bp-asm.h.
19903 (__frexp): Do not use BP_SYM.
19904 (frexp): Likewise.
19905 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19906 "bp-asm.h".
19907 (PARMS): Do not use macros from bp-asm.h.
19908 (__frexpf): Do not use BP_SYM.
19909 (frexpf): Likewise.
19910 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19911 "bp-asm.h".
19912 (PARMS): Do not use macros from bp-asm.h.
19913 (__frexpl): Do not use BP_SYM.
19914 (frexpl): Likewise.
19915 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19916 "bp-asm.h".
19917 (PARMS): Do not use macros from bp-asm.h.
19918 (__remquo): Do not use BP_SYM.
19919 (remquo): Likewise.
19920 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19921 "bp-asm.h".
19922 (PARMS): Do not use macros from bp-asm.h.
19923 (__remquof): Do not use BP_SYM.
19924 (remquof): Likewise.
19925 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19926 "bp-asm.h".
19927 (PARMS): Do not use macros from bp-asm.h.
19928 (__remquol): Do not use BP_SYM.
19929 (remquol): Likewise.
19930 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19931 "bp-asm.h".
19932 (PARMS): Do not use macros from bp-asm.h.
19933 (DEST): Likewise.
19934 (SRC): Likewise.
19935 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19936 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19937 "bp-asm.h".
19938 (PARMS): Do not use macros from bp-asm.h.
19939 (strlen): Do not use BP_SYM.
19940 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19941 "bp-asm.h".
19942 (PARMS): Do not use macros from bp-asm.h.
19943 (S1): Likewise.
19944 (S2): Likewise.
19945 (SIZE): Likewise.
19946 (__mpn_add_n): Do not use BP_SYM.
19947 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19948 "bp-asm.h".
19949 (PARMS): Do not use macros from bp-asm.h.
19950 (S1): Likewise.
19951 (SIZE): Likewise.
19952 (__mpn_addmul_1): Do not use BP_SYM.
19953 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19954 weak_alias.
19955 (bzero): Likewise.
19956 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19957 "bp-asm.h".
19958 (PARMS): Do not use macros from bp-asm.h.
19959 (S): Likewise.
19960 (SIZE): Likewise.
19961 (__mpn_lshift): Do not use BP_SYM.
19962 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19963 "bp-asm.h".
19964 (PARMS): Do not use macros from bp-asm.h.
19965 (DEST): Likewise.
19966 (SRC): Likewise.
19967 (LEN): Likewise.
19968 (memcpy): Likewise. Do not use BP_SYM.
19969 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19970 libc_hidden_def and weak_alias.
19971 (mempcpy): Do not use BP_SYM in weak_alias.
19972 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19973 "bp-asm.h".
19974 (PARMS): Do not use macros from bp-asm.h.
19975 (DEST): Likewise.
19976 (LEN): Likewise.
19977 [!BZERO_P] (CHR): Likewise.
19978 (memset): Likewise. Do not use BP_SYM.
19979 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19980 "bp-asm.h".
19981 (PARMS): Do not use macros from bp-asm.h.
19982 (S1): Likewise.
19983 (SIZE): Likewise.
19984 (__mpn_mul_1): Do not use BP_SYM.
19985 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19986 "bp-asm.h".
19987 (PARMS): Do not use macros from bp-asm.h.
19988 (S): Likewise.
19989 (SIZE): Likewise.
19990 (__mpn_rshift): Do not use BP_SYM.
19991 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19992 "bp-asm.h".
19993 (PARMS): Do not use macros from bp-asm.h.
19994 (STR): Likewise.
19995 (CHR): Likewise.
19996 (strchr): Likewise. Do not use BP_SYM.
19997 (index): Do not use BP_SYM in weak_alias.
19998 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19999 "bp-asm.h".
20000 (PARMS): Do not use macros from bp-asm.h.
20001 (DEST): Likewise.
20002 (SRC): Likewise.
20003 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20004 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20005 "bp-asm.h".
20006 (PARMS): Do not use macros from bp-asm.h.
20007 (strlen): Do not use BP_SYM.
20008 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20009 "bp-asm.h".
20010 (PARMS): Do not use macros from bp-asm.h.
20011 (S1): Likewise.
20012 (S2): Likewise.
20013 (SIZE): Likewise.
20014 (__mpn_sub_n): Do not use BP_SYM.
20015 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20016 "bp-asm.h".
20017 (PARMS): Do not use macros from bp-asm.h.
20018 (S1): Likewise.
20019 (SIZE): Likewise.
20020 (__mpn_submul_1): Do not use BP_SYM.
20021 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20022 "bp-asm.h".
20023 (PARMS): Do not use macros from bp-asm.h.
20024 (S1): Likewise.
20025 (S2): Likewise.
20026 (SIZE): Likewise.
20027 (__mpn_add_n): Do not use BP_SYM.
20028 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20029 weak_alias.
20030 (bzero): Likewise.
20031 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20032 "bp-asm.h".
20033 (PARMS): Do not use macros from bp-asm.h.
20034 (BLK2): Likewise.
20035 (LEN): Likewise.
20036 (memcmp): Do not use BP_SYM.
20037 (bcmp): Do not use BP_SYM in weak_alias.
20038 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20039 "bp-asm.h".
20040 (PARMS): Do not use macros from bp-asm.h.
20041 (DEST): Likewise.
20042 (SRC): Likewise.
20043 (LEN): Likewise.
20044 (memcpy): Likewise. Do not use BP_SYM.
20045 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20046 "bp-asm.h".
20047 (PARMS): Do not use macros from bp-asm.h.
20048 (DEST): Likewise.
20049 (SRC): Likewise.
20050 (LEN): Likewise.
20051 (memmove): Likewise. Do not use BP_SYM.
20052 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20053 "bp-asm.h".
20054 (PARMS): Do not use macros from bp-asm.h.
20055 (DEST): Likewise.
20056 (SRC): Likewise.
20057 (LEN): Likewise.
20058 (__mempcpy): Likewise. Do not use BP_SYM.
20059 (mempcpy): Do not use BP_SYM in weak_alias.
20060 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20061 "bp-asm.h".
20062 (PARMS): Do not use macros from bp-asm.h.
20063 (DEST): Likewise.
20064 (LEN): Likewise.
20065 [!BZERO_P] (CHR): Likewise.
20066 (memset): Likewise. Do not use BP_SYM.
20067 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20068 "bp-asm.h".
20069 (PARMS): Do not use macros from bp-asm.h.
20070 (STR2): Likewise.
20071 (strcmp): Do not use BP_SYM.
20072 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20073 "bp-asm.h".
20074 (PARMS): Do not use macros from bp-asm.h.
20075 (STR): Likewise.
20076 (DELIM): Likewise.
20077 [USE_AS_STRTOK_R] (SAVE): Likewise.
20078 (FUNCTION): Likewise. Do not use BP_SYM.
20079 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20080 aliases.
20081 (strtok_r): Likewise.
20082 (__GI___strtok_r): Likewise.
20083 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20084 (PARMS): Do not use macros from bp-asm.h.
20085 (S): Likewise.
20086 (SIZE): Likewise.
20087 (__mpn_lshift): Do not use BP_SYM.
20088 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20089 (PARMS): Do not use macros from bp-asm.h.
20090 (STR): Likewise.
20091 (CHR): Likewise.
20092 (__memchr): Do not use BP_SYM.
20093 (memchr): Do not use BP_SYM in weak_alias.
20094 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20095 (PARMS): Do not use macros from bp-asm.h.
20096 (BLK2): Likewise.
20097 (LEN): Likewise.
20098 (memcmp): Do not use BP_SYM.
20099 (bcmp): Do not use BP_SYM in weak_alias.
20100 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20101 (PARMS): Do not use macros from bp-asm.h.
20102 (S1): Likewise.
20103 (SIZE): Likewise.
20104 (__mpn_mul_1): Do not use BP_SYM.
20105 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20106 "bp-asm.h".
20107 (PARMS): Do not use macros from bp-asm.h.
20108 (STR): Likewise.
20109 (CHR): Likewise.
20110 (__rawmemchr): Do not use BP_SYM.
20111 (rawmemchr): Do not use BP_SYM in weak_alias.
20112 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20113 (PARMS): Do not use macros from bp-asm.h.
20114 (S): Likewise.
20115 (SIZE): Likewise.
20116 (__mpn_rshift): Do not use BP_SYM.
20117 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20118 (PARMS): Do not use macros from bp-asm.h.
20119 (SIGMSK): Likewise.
20120 (__sigsetjmp): Likewise. Do not use BP_SYM.
20121 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20122 (_start): Do not use BP_SYM.
20123 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20124 (PARMS): Do not use macros from bp-asm.h.
20125 (DEST): Likewise.
20126 (SRC): Likewise.
20127 (__stpcpy): Likewise. Do not use BP_SYM.
20128 (stpcpy): Do not use BP_SYM in weak_alias.
20129 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20130 "bp-asm.h".
20131 (PARMS): Do not use macros from bp-asm.h.
20132 (DEST): Likewise.
20133 (SRC): Likewise.
20134 (LEN): Likewise.
20135 (__stpncpy): Likewise. Do not use BP_SYM.
20136 (stpncpy): Do not use BP_SYM in weak_alias.
20137 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20138 (PARMS): Do not use macros from bp-asm.h.
20139 (STR): Likewise.
20140 (CHR): Likewise.
20141 (strchr): Likewise. Do not use BP_SYM.
20142 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20143 "bp-asm.h".
20144 (PARMS): Do not use macros from bp-asm.h.
20145 (STR): Likewise.
20146 (CHR): Likewise.
20147 (__strchrnul): Likewise. Do not use BP_SYM.
20148 (strchrnul): Do not use BP_SYM in weak_alias.
20149 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20150 "bp-asm.h".
20151 (PARMS): Do not use macros from bp-asm.h.
20152 (STOP): Likewise.
20153 (strcspn): Do not use BP_SYM.
20154 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20155 "bp-asm.h".
20156 (PARMS): Do not use macros from bp-asm.h.
20157 (STR): Likewise.
20158 (STOP): Likewise.
20159 (strpbrk): Likewise. Do not use BP_SYM.
20160 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20161 "bp-asm.h".
20162 (PARMS): Do not use macros from bp-asm.h.
20163 (STR): Likewise.
20164 (CHR): Likewise.
20165 (strrchr): Likewise. Do not use BP_SYM.
20166 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20167 (PARMS): Do not use macros from bp-asm.h.
20168 (SKIP): Likewise.
20169 (strspn): Do not use BP_SYM.
20170 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20171 (PARMS): Do not use macros from bp-asm.h.
20172 (STR): Likewise.
20173 (DELIM): Likewise.
20174 (SAVE): Likewise.
20175 (FUNCTION): Likewise. Do not use BP_SYM.
20176 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20177 aliases.
20178 (strtok_r): Likewise.
20179 (__GI___strtok_r): Likewise.
20180 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20181 (PARMS): Do not use macros from bp-asm.h.
20182 (S1): Likewise.
20183 (S2): Likewise.
20184 (SIZE): Likewise.
20185 (__mpn_sub_n): Do not use BP_SYM.
20186 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20187 "bp-asm.h".
20188 (PARMS): Do not use macros from bp-asm.h.
20189 (S1): Likewise.
20190 (SIZE): Likewise.
20191 (__mpn_submul_1): Do not use BP_SYM.
20192 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20193 <bp-sym.h>.
20194 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20195 and <bp-asm.h>.
20196 (PARMS): Do not use macros from bp-asm.h.
20197 (FLAGS): Likewise.
20198 (PTID): Likewise.
20199 (TLS): Likewise.
20200 (CTID): Likewise.
20201 (__clone): Do not use BP_SYM.
20202 (clone): Do not use BP_SYM in weak_alias.
20203 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20204 and <bp-asm.h>.
20205 (PARMS): Do not use macros from bp-asm.h.
20206 (LEN): Likewise.
20207 (__mmap64): Do not use BP_SYM.
20208 (mmap64): Do not use BP_SYM in weak_alias.
20209 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20210 <bp-sym.h> and <bp-asm.h>.
20211 (PARMS): Do not use macros from bp-asm.h.
20212 (__posix_fadvise64_l64): Do not use BP_SYM.
20213 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20214 (PARMS): Do not use macros from bp-asm.h.
20215 (NSOPS): Likewise.
20216 (semtimedop): Do not use BP_SYM.
20217 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20218 and <bp-asm.h>.
20219
202202013-02-21 Allan McRae <allan@archlinux.org>
20221
20222 * manual/message.texi (Charset conversion in gettext):
20223 Move @end statement to beginning of line.
20224
202252013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20226
20227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20228 static.
20229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20230 Likewise.
20231
20232 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20233 (denorm): Likewise.
20234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20236
202372013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20238
20239 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20240 tail-call to the resolved function if pltexit isn't needed.
20241
202422013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20243
20244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20245 or Y being zero as being unlikely.
20246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20247 Likewise.
20248
202492013-02-20 Carlos O'Donell <carlos@redhat.com>
20250
20251 * manual/nss.texi (System Databases and Name Service Switch):
20252 Remove frobnicate @pxref.
20253
202542013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20255
20256 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20257 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20258
202592013-02-20 Petr Machata <pmachata@redhat.com>
20260
20261 * elf/elf.h (R_ARM_TARGET1): New macro.
20262 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20263 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20264 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20265 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20266 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20267 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20268 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20269 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20270 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20271 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20272 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20273 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20274 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20275 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20276 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20277 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20278 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20279 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20280 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20281 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20282 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20283 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20284 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20285 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20286 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20287 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20288 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20289 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20290 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20291 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20292 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20293 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20294 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20295 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20296 (R_ARM_THM_GOT_BREL12): Likewise.
20297 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20298 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20299 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20300 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20301 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20302 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20303 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20304 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20305 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20306
203072013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20308
20309 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20310 __attribute_used__ to __attribute__ ((unused)).
20311
203122013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20313
20314 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20315 powerpc mpa.c.
20316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20317 comment formatting.
20318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20319
203202013-02-19 Joseph Myers <joseph@codesourcery.com>
20321
20322 [BZ #13550]
20323 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20324 Remove macro.
20325 (ENTER): Remove both macro definitions.
20326 (LEAVE): Likewise.
20327 (CHECK_BOUNDS_LOW): Likewise.
20328 (CHECK_BOUNDS_HIGH): Likewise.
20329 (CHECK_BOUNDS_BOTH): Likewise.
20330 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20331 (RETURN_BOUNDED_POINTER): Likewise.
20332 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20333 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20334 (POP_ERRNO_LOCATION_RETURN): Likewise.
20335 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20336 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20337 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20338 macros.
20339 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20340 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20341 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20342 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20343 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20344 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20345 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20346 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20347 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20348 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20349 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20350 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20351 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20352 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20353 removed macros.
20354 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20355 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20356 macros.
20357 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20358 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20359 * sysdeps/i386/i586/memset.S (memset): Likewise.
20360 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20361 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20362 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20363 macros.
20364 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20365 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20366 Change uses of L(2) to L(out).
20367 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20368 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20369 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20370 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20371 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20372 removed macros.
20373 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20374 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20375 macros.
20376 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20377 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20378 (RETURN): Do not use macro LEAVE.
20379 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20380 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20381 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20382 * sysdeps/i386/i686/memset.S (memset): Likewise.
20383 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20384 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20385 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20386 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20387 Likewise.
20388 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20389 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20390 L(1_2) and L(1_3) into L(1).
20391 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20392 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20393 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20394 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20395 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20396 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20397 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20398 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20399 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20400 macros.
20401 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20402 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20403 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20404 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20405 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20406 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20407 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20408 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20409 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20410 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20411 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20412 * sysdeps/i386/strspn.S (strspn): Likewise.
20413 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20414 conditional code.
20415 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20416 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20417 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20418 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20419 L(1_3) into L(1_1).
20420 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20421 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20422 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20423 macros.
20424 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20425
204262013-02-19 Jakub Jelinek <jakub@redhat.com>
20427
20428 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20429 macro.
20430
204312013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20432
20433 * math/atest-exp.c (exp_mpn): Remove ROUND.
20434 * math/atest-exp2.c (exp_mpn): Likewise.
20435 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20436
20437 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20438 * stdlib/tst-tls-atexit-lib.c: Likewise.
20439 * stdlib/tst-tls-atexit.c: Likewise.
20440
204412013-02-18 Mike Frysinger <vapier@gentoo.org>
20442
20443 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20444 and __attribute_alloc_size__.
20445
204462013-02-18 Mike Frysinger <vapier@gentoo.org>
20447
20448 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20449 __attribute_alloc_size__.
20450 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20451 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20452
204532013-02-18 Mike Frysinger <vapier@gentoo.org>
20454
20455 * include/programs/xmalloc.h: New file.
20456 * catgets/gencat.c: Include it.
20457 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20458 * elf/pldd.c: Likewise.
20459 * iconv/iconv_charmap.c: Likewise.
20460 * iconv/iconvconfig.c: Likewise.
20461 * iconv/strtab.c: Likewise.
20462 * locale/programs/locale.c: Likewise.
20463 * locale/programs/localedef.h: Likewise.
20464 * locale/programs/simple-hash.c: Likewise.
20465 * nscd/nscd.h: Likewise.
20466 * nss/makedb.c: Likewise.
20467 * sysdeps/generic/ldconfig.h: Likewise.
20468
204692013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20470
20471 * Versions.def: Add GLIBC_2.18.
20472 * include/link.h (struct link_map): New member l_tls_dtor_count.
20473 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20474 (__call_tls_dtors): Likewise.
20475 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20476 __cxa_thread_atexit_impl.
20477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20478 Likewise.
20479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20480 Likewise.
20481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20482 Likewise.
20483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20484 Likewise.
20485 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20487 Likewise.
20488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20489 Likewise.
20490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20492 Likewise.
20493 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20494 (tests): Add test case tst-tls-atexit.
20495 (modules-names): Add shared library for tst-tls-atexit.
20496 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20497 (GLIBC_PRIVATE): Add __call_tls_dtors.
20498 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20499 for libstdc++.
20500 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20501 * stdlib/tst-tls-atexit.c: New test case.
20502 * stdlib/tst-tls-atexit-lib.c: New test case.
20503
20504 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20505
20506 * elf/Versions (ld): Add _dl_find_dso_for_object.
20507 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20508 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20509 (dl_open_worker): Use _dl_find_dso_for_object.
20510 * elf/dl-sym.c (do_sym): Likewise.
20511 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20512
205132013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20514
20515 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20516 Syntactic changes only.
20517 (_dl_runtime_profile): Do a tail-call to the resolved function.
20518
205192013-02-17 Joseph Myers <joseph@codesourcery.com>
20520
20521 [BZ #13550]
20522 * sysdeps/x86_64/bp-asm.h: Remove file.
20523 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20524 <bp-sym.h> and <bp-asm.h>.
20525 (__clone): Do not use BP_SYM.
20526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20527 <bp-sym.h> and <bp-asm.h>.
20528 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20529 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20530 "bp-asm.h".
20531 (_setjmp): Do not use BP_SYM.
20532 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20533 "bp-asm.h".
20534 (setjmp): Do not use BP_SYM.
20535 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20536 libc_hidden_def.
20537 (mempcpy): Do not use BP_SYM in weak_alias.
20538 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20539 "bp-asm.h".
20540 (strchr): Do not use BP_SYM.
20541 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20542 "bp-asm.h".
20543 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20544 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20545 (_start): Do not use BP_SYM.
20546 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20547 "bp-asm.h".
20548 (strcat): Do not use BP_SYM.
20549 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20550 "bp-asm.h".
20551 (STRCMP): Do not use BP_SYM.
20552 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20553 "bp-asm.h".
20554 (STRCPY): Do not use BP_SYM.
20555 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20556 "bp-asm.h".
20557 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20558 "bp-asm.h".
20559 (FUNCTION): Do not use BP_SYM.
20560 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20561 weak_alias.
20562 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20563
205642013-02-17 Andreas Jaeger <aj@suse.de>
20565
20566 * time/Versions: Sort entries.
20567 * string/Versions: Likewise.
20568 * resolv/Versions: Likewise.
20569 * posix/Versions: Likewise.
20570 * iconv/Versions: Likewise.
20571 * elf/Versions: Likewise.
20572 * wcsmbs/Versions: Likewise.
20573
205742013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20575
20576 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20577 loop termination condition.
20578
20579 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20580 variable to calculate EZ.
20581 (__sqr): Likewise.
20582
20583 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20584 the lower precision input.
20585
205862013-02-15 Joseph Myers <joseph@codesourcery.com>
20587
20588 [BZ #13550]
20589 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20590 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20591 (run-via-rtld-prefix): Do not handle %-bp tests.
20592 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20593 (all-object-suffixes): Remove .ob.
20594 (bppfx): Remove variable.
20595 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20596 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20597 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20598 [$(build-bounded) = yes] (libtype.ob): Likewise.
20599 * Makerules (elide-routines.ob): Remove variable.
20600 (do-tests-clean): Do not handle *-bp.out.
20601 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20602 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20603 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20604 (tests): Do not include $(tests-bp.out).
20605 (xtests): Do not include $(xtests-bp.out).
20606 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20607 [$(build-bounded) = yes] ($(addprefix
20608 $(objpfx),$(binaries-bounded))): Remove rule.
20609 ($(objpfx)%-bp.out): Remove rule.
20610 * config.make.in (build-bounded): Remove variable.
20611 * crypt/Makefile [$(build-bounded) = yes]
20612 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20613 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20614 append to variable.
20615 [$(build-bounded) = yes] (install-lib): Likewise.
20616 [$(build-bounded) = yes] (generated): Likewise.
20617 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20618 Remove rule.
20619 * intl/Makefile [$(build-bounded) = yes]
20620 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20621 * math/Makefile [$(build-bounded) = yes]
20622 ($(tests:%=$(objpfx)%-bp): Likewise.
20623 * misc/Makefile [$(build-bounded) = yes]
20624 ($(objpfx)tst-tsearch-bp): Likewise.
20625 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20626 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20627 Remove dependency.
20628 * string/Makefile (o-objects.ob): Remove variable.
20629 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20630 (CFLAGS-.ob): Remove variable.
20631 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20632 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20633 both definitions of variable.
20634 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20635 (ASFLAGS-.ob): Remove variable.
20636
206372013-02-14 Joseph Myers <joseph@codesourcery.com>
20638
20639 [BZ #13550]
20640 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20641 Remove __BOUNDED_POINTERS__ from condition.
20642 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20643 * string/bits/string2.h [!__NO_STRING_INLINES &&
20644 !__BOUNDED_POINTERS__]: Likewise.
20645 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20646 Likewise.
20647 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20648 Remove conditional code.
20649 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20650 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20651 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20652 condition.
20653
20654 [BZ #13550]
20655 * csu/libc-start.c: Do not include <bp-sym.h>.
20656 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20657 * elf/dl-open.c: Do not include <bp-sym.h>.
20658 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20659 * math/fegetenv.c: Do not include <bp-sym.h>.
20660 (fegetenv): Do not use BP_SYM in versioned symbols.
20661 * nptl/sysdeps/pthread/bits/libc-lockP.h
20662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20663 <bp-sym.h>.
20664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20665 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20667 (__pthread_mutex_destroy): Likewise.
20668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20669 (__pthread_mutex_lock): Likewise.
20670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20671 (__pthread_mutex_trylock): Likewise.
20672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20673 (__pthread_mutex_unlock): Likewise.
20674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20675 (__pthread_mutexattr_init): Likewise.
20676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20677 (__pthread_mutexattr_destroy): Likewise.
20678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20679 (__pthread_mutexattr_settype): Likewise.
20680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20681 (__pthread_rwlock_init): Likewise.
20682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20683 (__pthread_rwlock_destroy): Likewise.
20684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20685 (__pthread_rwlock_rdlock): Likewise.
20686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20687 (__pthread_rwlock_tryrdlock): Likewise.
20688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20689 (__pthread_rwlock_wrlock): Likewise.
20690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20691 (__pthread_rwlock_trywrlock): Likewise.
20692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20693 (__pthread_rwlock_unlock): Likewise.
20694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20695 (__pthread_key_create): Likewise.
20696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20697 (__pthread_setspecific): Likewise.
20698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20699 (__pthread_getspecific): Likewise.
20700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20701 Likewise.
20702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20703 (_pthread_cleanup_push_defer): Likewise.
20704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20705 (_pthread_cleanup_pop_restore): Likewise.
20706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20707 (pthread_setcancelstate): Likewise.
20708 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20709 <bp-sym.h>.
20710 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20711 (memchr): Do not use BP_SYM in weak_alias.
20712 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20713 (fegetenv): Do not use BP_SYM in versioned symbols.
20714 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20715 (fesetenv): Do not use BP_SYM in versioned symbols.
20716 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20717 (feupdateenv): Do not use BP_SYM in versioned symbols.
20718 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20719 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20720 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20721 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20722 (open64): Do not use BP_SYM in weak_alias.
20723 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20724 (fegetenv): Do not use BP_SYM in versioned symbols.
20725 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20726 (fesetenv): Do not use BP_SYM in versioned symbols.
20727 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20728 (feupdateenv): Do not use BP_SYM in versioned symbols.
20729 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20730 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20731 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20732 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20733 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20734 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20735 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20736 <bp-sym.h>.
20737 (__libc_start_main): Do not use BP_SYM.
20738
207392013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20740
20741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20742 redundant return line.
20743 (norm): Likewise.
20744 (denorm): Likewise.
20745 (dbl_mp): Likewise.
20746 (sub_magnitudes): Likewise.
20747 (__add): Likewise.
20748 (__sub): Likewise.
20749 (__mul): Likewise.
20750 (__inv): Likewise.
20751 (__dvd): Likewise.
20752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20753 (norm): Likewise.
20754 (denorm): Likewise.
20755 (dbl_mp): Likewise.
20756 (sub_magnitudes): Likewise.
20757 (__add): Likewise.
20758 (__sub): Likewise.
20759 (__mul): Likewise.
20760 (__inv): Likewise.
20761 (__dvd): Likewise.
20762
20763 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20764 instead of __mul.
20765 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20766 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20767 (cc32): Likewise.
20768
20769 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20770 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20772 of __mul for squares.
20773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20774 function
20775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20776 Likewise.
20777 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20778 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20779
207802013-02-13 Joseph Myers <joseph@codesourcery.com>
20781
20782 [BZ #13550]
20783 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20784 code.
20785 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20786 prototype or function definition. Rename ubp_* variables and
20787 parameters. Remove argv definitions conditional on
20788 [__BOUNDED_POINTERS__].
20789 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20790 * elf/dl-runtime.c (_dl_fixup): Likewise.
20791 * include/set-hooks.h (RUN_HOOK): Likewise.
20792 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20793 definition.
20794 * string/strcpy.c (strcpy): Do not use __unbounded.
20795 * sysdeps/generic/frame.h (struct layout): Likewise.
20796 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20797 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20798 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20799 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20800 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20801 (__backtrace): Likewise.
20802 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20803 use __ptrvalue.
20804 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20805 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20806 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20807 Likewise.
20808 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20809 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20810 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20811 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20812 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20813 Do not use __unbounded.
20814 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20815 Rename __unboundedrlimits parameter to rlimits in prototype.
20816 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20817 Do not use __unbounded.
20818 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20819 not use __ptrvalue.
20820 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20821 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20822 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20823 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20824 __ptrvalue or __unbounded.
20825 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20826 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20827 use __unbounded.
20828 (__new_msgctl): Do not use __ptrvalue.
20829 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20830 __unbounded.
20831 (__libc_msgrcv): Do not use __ptrvalue.
20832 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20833 startup_info): Do not use __unbounded.
20834 (__libc_start_main): Likewise. Rename ubp_* variables and
20835 parameters. Remove argv definitions conditional on
20836 [__BOUNDED_POINTERS__].
20837 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20838 __ptrvalue.
20839 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20840 use __unbounded.
20841 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20842 or __ptrvalue.
20843 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20844 use __unbounded.
20845 (__new_shmctl): Do not use __ptrvalue.
20846 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20847 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20848 Likewise.
20849 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20850 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20851 (__libc_sigaction): Likewise.
20852 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20853 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20854 Likewise.
20855 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20856
208572013-02-13 Ondřej Bílka <neleai@seznam.cz>
20858
20859 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20860
20861 * string/mempcpy.c: Implement by calling memcpy.
20862
208632013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20864
20865 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20866
20867 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20868 evaluation.
20869
20870 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20871 values in the mantissa.
20872
20873 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20874 minimize writes to Z.
20875 (sub_magnitudes): Simplify code a bit.
20876
208772013-02-12 Roland McGrath <roland@hack.frob.com>
20878
20879 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20880 from the message. The linker prefixes all warnings with that already.
20881
208822013-02-12 Andreas Schwab <schwab@suse.de>
20883
20884 [BZ #15078]
20885 * posix/regexec.c (extend_buffers): Add parameter min_len.
20886 (check_matching): Pass minimum needed length.
20887 (clean_state_log_if_needed): Likewise.
20888 (get_subexp): Likewise.
20889 * posix/Makefile (tests): Add bug-regex34.
20890 (bug-regex34-ENV): Define.
20891 * posix/bug-regex34.c: New file.
20892
20893 [BZ #11561]
20894 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20895 elements compare against the byte sequence of it, not its name.
20896 * posix/Makefile (tests): Add bug-regex35.
20897 (bug-regex35-ENV): Define.
20898 * posix/bug-regex35.c: New file.
20899
209002013-02-11 Tom de Vries <tom@codesourcery.com>
20901
20902 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20903 comment.
20904 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20905 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20906 (CHECK_EOL): Add undef.
20907
209082013-02-11 Ondřej Bílka <neleai@seznam.cz>
20909
20910 * bits/stdlib-bsearch.h: New file.
20911 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20912 * stdlib/stdlib.h: Likewise.
20913
209142013-02-11 Roland McGrath <roland@hack.frob.com>
20915
20916 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20917 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20918 declaration.
20919 * manual/search.texi (Array Search Function): Add missing const in
20920 lfind prototype.
20921 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20922 declaration to use rlim_t.
20923 (Basic Scheduling Functions): Remove erroneous const from
20924 sched_getparam prototype. Remove erroneous * from
20925 sched_get_priority_max and sched_get_priority_min prototypes.
20926 (Resource Usage): Fix summary @comment on vtimes to refer to
20927 sys/vtimes.h rather than vtimes.h.
20928 Add missing *s in vtimes prototype.
20929 (Limits on Resources): Fix ulimit prototype to return long int.
20930 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20931 prototypes to use long int rather than double.
20932 (BSD Random): Fix initstate and setstate to use char *, not void *.
20933 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20934 prototype to make second argument 'struct aiocb64 *const[]'.
20935 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20936 (Status of AIO Operations): Remove erroneous const in aio_return and
20937 aio_return64 prototypes.
20938 (Synchronizing I/O): Fix sync prototype to return void.
20939 * manual/startup.texi (Suboptions): Remove an erroneous const in
20940 getsubopt prototype.
20941 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20942 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20943 use size_t rather than int.
20944 (Scanning All Users): Likewise for getpwent_r.
20945 (Setting Groups): Add missing const to setgroups prototype.
20946 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20947 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20948 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20949 'const void *' rather than 'const char *'.
20950 (Host Address Functions): Likewise for inet_ntop.
20951 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20952 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20953 ssize_t for return value.
20954 (Sending Data): Likewise for send, sendto, sendmsg.
20955 (Socket Option Functions): Add a missing const in setsockopt prototype.
20956 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20957 use wchar_t for the argument.
20958 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20959 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20960 take no arguments.
20961 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20962 double/float/long double for second argument.
20963 Fix return types of significand, significandf, significandl.
20964 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20965 argument in fchmod prototype.
20966 (File Owner): Use uid_t and gid_t in fchown prototype.
20967 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20968 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20969 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20970 use 'const struct dirent **' as argument types to CMP function pointer
20971 argument.
20972 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20973 (File Times): Fix summary magic @comment for struct utimbuf and utime
20974 to refer to utime.h, not time.h.
20975 * manual/string.texi (Argz Functions): Add missing const in
20976 argz_extract and argz_next prototypes.
20977 (Finding Tokens in a String): Likewise for basename.
20978 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20979 (Copying and Concatenation): Fix typo in wmemmove prototype.
20980 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20981 (Signal Stack): Remove erroneous const in sigstack prototype.
20982 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20983 prototype.
20984 (Simple Calendar Time): Likewise for stime.
20985 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20986 prototype.
20987 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20988 say sys/sysctl.h instead.
20989 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20990 and vsyslog prototypes.
20991
209922013-02-11 Tom de Vries <tom@codesourcery.com>
20993
20994 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20995 Remove.
20996
209972013-02-11 Roland McGrath <roland@hack.frob.com>
20998
20999 * misc/sys/mman.h: Fix typo in mremap comment.
21000
210012013-02-08 Roland McGrath <roland@hack.frob.com>
21002
21003 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21004 the '\0' terminator.
21005
210062013-02-08 Joseph Myers <joseph@codesourcery.com>
21007
21008 [BZ #13550]
21009 * debug/segfault.c: Don't include <bp-checks.h>.
21010 * sysdeps/generic/bp-checks.h: Remove file.
21011 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21012 (__GETDENTS): Don't use CHECK_N.
21013 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21014 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21015 (__getgroups): Don't use CHECK_N.
21016 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21017 (setgroups): Don't use CHECK_N.
21018 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21019 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21020 (__libc_msgrcv): Don't use CHECK_N.
21021 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21022 (__libc_msgsnd): Don't use CHECK_N.
21023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21024 <bp-checks.h>.
21025 (__libc_pread): Don't use CHECK_N.
21026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21027 include <bp-checks.h>.
21028 (__libc_pread64): Don't use CHECK_N.
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21030 include <bp-checks.h>.
21031 (__libc_pwrite): Don't use CHECK_N.
21032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21033 include <bp-checks.h>.
21034 (__libc_pwrite64): Don't use CHECK_N.
21035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21036 <bp-checks.h>.
21037 (__libc_pread): Don't use CHECK_N.
21038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21039 include <bp-checks.h>.
21040 (__libc_pread64): Don't use CHECK_N.
21041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21042 include <bp-checks.h>.
21043 (__libc_pwrite): Don't use CHECK_N.
21044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21045 include <bp-checks.h>.
21046 (__libc_pwrite64): Don't use CHECK_N.
21047 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21048 (do_pread): Don't use CHECK_N.
21049 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21050 (do_pread64): Don't use CHECK_N.
21051 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21052 (do_pwrite): Don't use CHECK_N.
21053 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21054 (do_pwrite64): Don't use CHECK_N.
21055 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21056 (__libc_readv): Don't use CHECK_N.
21057 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21058 (semop): Don't use CHECK_N.
21059 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21060 <bp-checks.h>.
21061 (semtimedop): Don't use CHECK_N.
21062 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21063 (__libc_pread): Don't use CHECK_N.
21064 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21065 <bp-checks.h>.
21066 (__libc_pread64): Don't use CHECK_N.
21067 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21068 <bp-checks.h>.
21069 (__libc_pwrite): Don't use CHECK_N.
21070 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21071 <bp-checks.h>.
21072 (__libc_pwrite64): Don't use CHECK_N.
21073 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21074 <bp-checks.h>.
21075 (__libc_msgrcv): Don't use CHECK_N.
21076 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21077 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21078 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21079 (__libc_writev): Don't use CHECK_N.
21080
210812013-02-08 Roland McGrath <roland@hack.frob.com>
21082
21083 * string/strcpy.c: Removed unused variable.
21084
21085 * Makeconfig (+sysdep-includes): Define with := rather than =.
21086 Use an existing include/ subdir of each sysdeps dir before it.
21087
210882013-02-08 Carlos O'Donell <carlos@redhat.com>
21089
21090 * nscd/connection.c (register_traced_file): Comment function.
21091 [HAVE_INOTIFY] (union __inev): Define.
21092 [HAVE_INOTIFY] (inotify_check_files): New function.
21093 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21094 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21095 clear_db_cache.
21096 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21097
210982013-02-08 Carlos O'Donell <carlos@redhat.com>
21099
21100 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21101 loaded if not already and that a failure is permanent.
21102
211032013-02-08 Carlos O'Donell <carlos@redhat.com>
21104
21105 [BZ #15006]
21106 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21107 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21108
211092013-02-08 Joseph Myers <joseph@codesourcery.com>
21110
21111 [BZ #13550]
21112 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21113 (CHECK_1_NULL_OK): Likewise.
21114 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21115 (__fxstat): Do not use CHECK_1.
21116 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21117 <bp-checks.h>.
21118 (___fxstat64): Do not use CHECK_1.
21119 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21120 <bp-checks.h>.
21121 (__fxstatat): Do not use CHECK_1.
21122 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21123 <bp-checks.h>.
21124 (__fxstatat64): Do not use CHECK_1.
21125 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21126 <bp-checks.h>.
21127 (__fxstat): Do not use CHECK_1.
21128 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21129 <bp-checks.h>.
21130 (__fxstatat): Do not use CHECK_1.
21131 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21132 <bp-checks.h>.
21133 (__getresgid): Do not use CHECK_1.
21134 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21135 <bp-checks.h>.
21136 (__getresuid): Do not use CHECK_1.
21137 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21138 <bp-checks.h>.
21139 (__lxstat): Do not use CHECK_1.
21140 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21141 <bp-checks.h>.
21142 (__old_msgctl): Do not use CHECK_1.
21143 (__new_msgctl): Likewise.
21144 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21145 <bp-checks.h>.
21146 (__new_setrlimit): Do not use CHECK_1.
21147 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21148 <bp-checks.h>.
21149 (__old_shmctl): Do not use CHECK_1.
21150 (__new_shmctl): Likewise.
21151 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21152 <bp-checks.h>.
21153 (__xstat): Do not use CHECK_1.
21154 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21155 (__lxstat): Do not use CHECK_1.
21156 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21157 <bp-checks.h>.
21158 (___lxstat64): Do not use CHECK_1.
21159 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21160 (__old_msgctl): Do not use CHECK_1.
21161 (__new_msgctl): Likewise.
21162 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21163 <bp-checks.h>.
21164 (__gettimeofday): Do not use CHECK_1.
21165 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21166 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21167 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21168 <bp-checks.h>.
21169 (__gettimeofday): Do not use CHECK_1.
21170 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21171 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21172 (__new_shmctl): Do not use CHECK_1.
21173 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21174 <bp-checks.h>.
21175 (do_sigtimedwait): Do not use CHECK_1.
21176 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21177 <bp-checks.h>.
21178 (do_sigwaitinfo): Do not use CHECK_1.
21179 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21180 <bp-checks.h>.
21181 (msgctl): Do not use CHECK_1.
21182 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21183 <bp-checks.h>.
21184 (shmctl): Do not use CHECK_1.
21185 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21186 (ustat): Do not use CHECK_1.
21187 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21188 <bp-checks.h>.
21189 (__fxstat): Do not use CHECK_1.
21190 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21191 <bp-checks.h>.
21192 (__fxstatat): Do not use CHECK_1.
21193 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21194 <bp-checks.h>.
21195 (__lxstat): Do not use CHECK_1.
21196 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21197 <bp-checks.h>.
21198 (__xstat): Do not use CHECK_1.
21199 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21200 (__xstat): Do not use CHECK_1.
21201 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21202 (___xstat64): Do not use CHECK_1.
21203
21204 [BZ #13550]
21205 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21206 definitions.
21207 (CHECK_BOUNDS_HIGH): Likewise.
21208 * string/strcpy.c: Do not include <bp-checks.h>.
21209 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21210
212112013-02-07 Roland McGrath <roland@hack.frob.com>
21212
21213 * nscd/nscd-client.h (__nscd_drop_map_ref):
21214 Add __attribute__ ((unused)).
21215 * nis/nss-nisplus.h (niserr2nss): Likewise.
21216
21217 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21218 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21219
21220 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21221 Remove inline keyword.
21222 * include/rounding-mode.h (round_away): Likewise.
21223 * libio/wfileops.c (adjust_wide_data): Likewise.
21224 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21225 (__m128i_strloadu_tolower): Likewise.
21226 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21227 (__m128i_strloadu_tolower): Likewise.
21228 * time/mktime.c (ydhms_diff): Likewise.
21229 * locale/elem-hash.h (elem_hash): Likewise.
21230 * locale/setlocale.c (setdata): Likewise.
21231 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21232 (re_string_wchar_at): Likewise.
21233 (bitset_not, bitset_merge, bitset_mask): Likewise.
21234 [!(__GNUC__ > 3)] (inline): Remove macro.
21235 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21236 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21237 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21238 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21239 * string/memcmp.c (memcmp_bytes): Likewise.
21240 * locale/programs/locarchive.c (compute_hashval): Likewise.
21241 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21242 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21243 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21244 * nss/getent.c (print_rpc, print_protocols): Likewise.
21245 (print_passwd, print_group, print_aliases): Likewise.
21246 * nis/nss-nisplus.h (niserr2nss): Likewise.
21247 * nscd/connections.c (restart_p): Likewise.
21248 Change return type to bool.
21249
212502013-02-05 Roland McGrath <roland@hack.frob.com>
21251
21252 * Makeconfig (all-Depend-files): Add existing
21253 $(sorted-subdirs:=/Depend) files.
21254 (all-subdirs): Remove nss.
21255 * sysdeps/unix/inet/Subdirs: Add it here instead.
21256 * hesiod/Depend: New file.
21257
21258 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21259 instead of calling alloca.
21260
21261 * io/lseek.c (__lseek): Rename to __libc_lseek.
21262 Define __lseek as an alias.
21263
21264 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21265
212662013-02-04 Carlos O'Donell <carlos@redhat.com>
21267
21268 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21269 else clause and remove check for non-standard endianness.
21270
212712013-02-04 David S. Miller <davem@davemloft.net>
21272
21273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21274
212752013-02-04 Joseph Myers <joseph@codesourcery.com>
21276
21277 [BZ #13550]
21278 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21279 (__ubp_memchr): Remove prototype.
21280 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21281 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21282 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21283 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21284 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21285 Remove alias.
21286 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21287 (__ubp_memchr): Likewise.
21288 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21289 (__ubp_memchr): Likewise.
21290 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21291 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21292 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21293 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21294 CHECK_STRING.
21295 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21296 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21297 (__getcwd): Do not use CHECK_STRING.
21298 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21299 <bp-checks.h>.
21300 (__real_chown): Do not use CHECK_STRING.
21301 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21302 <bp-checks.h>.
21303 (fchownat): Do not use CHECK_STRING.
21304 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21305 CHECK_STRING.
21306 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21307 <bp-checks.h>.
21308 (__lchown): Do not use CHECK_STRING.
21309 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21310 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21311 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21312 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21314 include <bp-checks.h>.
21315 (truncate64): Do not use CHECK_STRING.
21316 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21317 <bp-checks.h>.
21318 (__real_chown): Do not use CHECK_STRING.
21319 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21320 <bp-checks.h>.
21321 (__lchown): Do not use CHECK_STRING.
21322 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21323 <bp-checks.h>.
21324 (__chown): Do not use CHECK_STRING.
21325 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21326 <bp-checks.h>.
21327 (truncate64): Do not use CHECK_STRING.
21328 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21329 Likewise.
21330 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21331 (__xmknod): Do not use CHECK_STRING.
21332 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21333 <bp-checks.h>.
21334 (__xmknodat): Do not use CHECK_STRING.
21335 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21336 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21337
213382013-02-04 Andreas Schwab <schwab@suse.de>
21339
21340 [BZ #14142]
21341 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21342 * include/netdb.h: Likewise for h_errno.
21343 * elf/tst-stackguard1.c: Include <tls.h>.
21344
213452013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21346
21347 * elf/link.h (struct link_map): Extend the l_addr comment.
21348 * include/link.h (struct link_map): Likewise.
21349
213502013-02-01 Joseph Myers <joseph@codesourcery.com>
21351
21352 [BZ #13550]
21353 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21354 (BOUNDED_1): Remove macro.
21355 * debug/backtrace.c: Don't include <bp-checks.h>.
21356 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21357 (__backtrace): Likewise.
21358 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21359 <bp-checks.h>.
21360 (__backtrace): Don't use BOUNDED_1.
21361 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21362 <bp-checks.h>.
21363 (__backtrace): Don't use BOUNDED_1.
21364 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21365 (__backtrace): Don't use BOUNDED_1.
21366 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21367 (shmat): Don't use BOUNDED_N.
21368
213692013-01-31 Joseph Myers <joseph@codesourcery.com>
21370
21371 [BZ #13550]
21372 * sysdeps/generic/bp-start.h: Remove file.
21373 * csu/libc-start.c: Don't include <bp-start.h>.
21374 (LIBC_START_MAIN): Set up __environ directly instead of using
21375 INIT_ARGV_and_ENVIRON.
21376 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21377 <bp-start.h>.
21378
21379 [BZ #13550]
21380 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21381 definitions.
21382 (CHECK_FCNTL): Likewise.
21383 (CHECK_N_PAGES): Likewise.
21384
21385 [BZ #13550]
21386 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21387 definitions.
21388 (CHECK_SIGSET_NULL_OK): Likewise.
21389 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21390 <bp-checks.h>.
21391 (sigpending): Don't use CHECK_SIGSET.
21392 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21393 <bp-checks.h>.
21394 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21395 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21396 <bp-checks.h>.
21397 (do_sigsuspend): Don't use CHECK_SIGSET.
21398 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21399 use CHECK_SIGSET.
21400 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21401 (do_sigwait): Don't use CHECK_SIGSET.
21402 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21403 use CHECK_SIGSET.
21404 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21405 include <bp-checks.h>.
21406 (sigpending): Don't use CHECK_SIGSET.
21407 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21408 include <bp-checks.h>.
21409 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21410 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21411 <bp-checks.h>.
21412 (sigpending): Don't use CHECK_SIGSET.
21413 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21414 <bp-checks.h>.
21415 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21416
21417 [BZ #13550]
21418 * sysdeps/generic/bp-semctl.h: Remove file.
21419 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21420 <bp-checks.h> and <bp-semctl.h>.
21421 (__old_semctl): Don't use CHECK_SEMCTL.
21422 (__new_semctl): Likewise.
21423 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21424 and <bp-semctl.h>.
21425 (__old_semctl): Don't use CHECK_SEMCTL.
21426 (__new_semctl): Likewise.
21427 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21428 <bp-checks.h> and <bp-semctl.h>.
21429 (__old_semctl): Don't use CHECK_SEMCTL.
21430 (__new_semctl): Likewise.
21431 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21432 <bp-checks.h> and <bp-semctl.h>.
21433 (semctl): Don't use CHECK_SEMCTL.
21434
21435 [BZ #13550]
21436 * Makerules (elide-bp-thunks): Remove variable.
21437 (elide-routines.oS): Don't use $(elide-bp-thunks).
21438 (elide-routines.os): Likewise.
21439 (elide-routines.o): Likewise.
21440 (elide-routines.op): Likewise.
21441 (elide-routines.og): Likewise.
21442 (objects): Don't use $(bp-thunks).
21443 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21444 include.
21445 (common-generated): Do not add s-proto-bp.d.
21446 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21447 (int): Likewise.
21448 (typ): Likewise.
21449 Do not generate makefile rules for bounded-pointer thunks.
21450 * sysdeps/generic/bp-thunks.h: Remove file.
21451 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21452 * sysdeps/unix/s-proto-bp.S: Likewise.
21453
21454 [BZ #15062]
21455 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21456 parts of result separately when argument is not close to line from
21457 -i to i and one part of argument is small.
21458 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21459 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21460 * math/libm-test.inc (cacos_test): Add more tests.
21461 (casin_test): Likewise.
21462 (casinh_test): Likewise.
21463 * sysdeps/i386/fpu/libm-test-ulps: Update.
21464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21465
214662013-01-31 David S. Miller <davem@davemloft.net>
21467
21468 * po/de.po: Update from translation team.
21469
214702013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21471
21472 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21473
214742013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21475
21476 * configure.in (_AC_PROG_CC_C89): New definition.
21477 * configure: Regenerate.
21478
21479 * configure.in (AC_PROG_CPP): New definition.
21480 * configure: Regenerate.
21481
214822013-01-23 Joseph Myers <joseph@codesourcery.com>
21483
21484 * debug/tst-backtrace.h: New file.
21485 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21486 (ret): Remove variable.
21487 (x): Likewise.
21488 (FAIL): Remove macro.
21489 (NO_INLINE): Likewise.
21490 (fn1): Use match function instead of strstr.
21491 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21492 (ret): Remove variable.
21493 (x): Likewise.
21494 (FAIL): Remove macro.
21495 (NO_INLINE): Likewise.
21496 (fn): Use match function instead of strstr.
21497 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21498 (ret): Remove variable.
21499 (x): Likewise.
21500 (FAIL): Remove macro.
21501 (NO_INLINE): Likewise.
21502 (handle_signal): Use match function instead of strstr.
21503 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21504 (ret): Remove variable.
21505 (x): Likewise.
21506 (FAIL): Remove macro.
21507 (NO_INLINE): Likewise.
21508 (handle_signal): Use match function instead of strstr.
21509
215102013-01-23 Roland McGrath <roland@hack.frob.com>
21511
21512 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21513
215142013-01-23 David S. Miller <davem@davemloft.net>
21515
21516 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21517 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21518 argument of CAS if possible.
21519 * sysdeps/sparc/sparc64/bits/atomic.h
21520 (__arch_compare_and_exchange_val_32_acq): Likewise.
21521 (__arch_compare_and_exchange_val_64_acq): Likewise.
21522
215232013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21524
21525 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21526 * sysdeps/posix/ulimit.c: ... this.
21527 Include <limits.h>.
21528 * sysdeps/unix/bsd/ulimit.c: Remove file.
21529
215302013-01-23 Adam Conrad <adconrad@0c3.net>
21531
21532 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21533 (LDFLAGS-tst-array5): Likewise.
21534
215352013-01-23 Joseph Myers <joseph@codesourcery.com>
21536
21537 [BZ #15036]
21538 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21539 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21540 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21541 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21542
215432013-01-21 David S. Miller <davem@davemloft.net>
21544
21545 * sysdeps/sparc/backtrace.c: New file.
21546 * sysdeps/sparc/sparc32/backtrace.h: New file.
21547 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21548 * sysdeps/sparc/sparc64/backtrace.h: New file.
21549 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21550 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21551 -funwind-tables.
21552
215532013-01-21 Andreas Schwab <schwab@suse.de>
21554
21555 [BZ #15020]
21556 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21557 closed its stdout.
21558
215592013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21560
21561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21562 "mpa2.h".
21563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21564
215652013-01-18 Joseph Myers <joseph@codesourcery.com>
21566 Mark Mitchell <mark@codesourcery.com>
21567 Tom de Vries <tom@codesourcery.com>
21568 Paul Pluzhnikov <ppluzhnikov@google.com>
21569
21570 * debug/tst-backtrace2.c: New file.
21571 * debug/tst-backtrace3.c: Likewise.
21572 * debug/tst-backtrace4.c: Likewise.
21573 * debug/tst-backtrace5.c: Likewise.
21574 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21575 (CFLAGS-tst-backtrace3.c): Likewise.
21576 (CFLAGS-tst-backtrace4.c): Likewise.
21577 (CFLAGS-tst-backtrace5.c): Likewise.
21578 (LDFLAGS-tst-backtrace2): Likewise.
21579 (LDFLAGS-tst-backtrace3): Likewise.
21580 (LDFLAGS-tst-backtrace4): Likewise.
21581 (LDFLAGS-tst-backtrace5): Likewise.
21582 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21583 tst-backtrace4 and tst-backtrace5.
21584
215852013-01-18 Anton Blanchard <anton@samba.org>
21586 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21587
21588 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21589 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21590 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21591 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21593 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21594 "+r" and remove output regs list as redundant. Add explicit inline
21595 asm to specify register of return val to work around compiler codegen
21596 bug. Remove (int) cast on return value. Add return type parameter to
21597 use in macro so that this macro does not truncate return value for
21598 64-bit values.
21599 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21600 pass to INTERNAL_VSYSCALL_NCS.
21601 (INLINE_VSYSCALL): Add 'long int' as return type to
21602 INTERNAL_VSYSCALL_NCS macro invocation.
21603 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21604 INTERNAL_VSYSCALL_NCS macro invocation.
21605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21606
216072013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21608
21609 [BZ #14496]
21610 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21611 Fix application of SIMD FP exception mask.
21612
21613 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21614 mp_no from a power of two.
21615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21616 __mpexp_twomm1. Use __pow_mp.
21617
21618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21619 multiplication.
21620
216212013-01-17 David S. Miller <davem@davemloft.net>
21622
21623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21624
216252013-01-17 Joseph Myers <joseph@codesourcery.com>
21626
21627 [BZ #15023]
21628 * include/complex.h: Condition contents on [!_COMPLEX_H].
21629 (__kernel_casinhf): New prototype.
21630 (__kernel_casinh): Likewise.
21631 (__kernel_casinhl): Likewise.
21632 * math/Makefile (libm_calls): Add k_casinh.
21633 * math/k_casinh.c: New file.
21634 * math/k_casinhf.c: Likewise.
21635 * math/k_casinhl.c: Likewise.
21636 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21637 finite nonzero arguments.
21638 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21639 finite nonzero arguments.
21640 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21641 finite nonzero arguments.
21642 * math/s_casinh.c: Do not include <float.h>.
21643 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21644 * math/s_casinhf.c: Do not include <float.h>.
21645 (__casinhf): Move code for finite nonzero arguments to
21646 k_casinhf.c.
21647 * math/s_casinhl.c: Do not include <float.h>.
21648 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21649 redefine.
21650 (__casinhl): Move code for finite nonzero arguments to
21651 k_casinhl.c.
21652 * math/libm-test.inc (cacos_test): Add more tests.
21653 * sysdeps/i386/fpu/libm-test-ulps: Update.
21654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21655
216562013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21657
21658 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21659 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21660 [!HAVE_MREMAP]: Remove [defined linux] case.
21661 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21662
216632013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21664
21665 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21666
216672013-01-17 H.J. Lu <hongjiu.lu@intel.com>
21668
21669 * elf/elf.h (R_386_SIZE32): New relocation.
21670 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21671 R_386_SIZE32.
21672 (elf_machine_rela): Likewise.
21673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21674 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21675
216762013-01-17 Joseph Myers <joseph@codesourcery.com>
21677
21678 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21679 (FP_FAST_FMA): Do not define.
21680 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21681 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21682 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21683 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21684 !_SOFT_FLOAT]: Likewise.
21685 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21686 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21687 value.
21688 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21689 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21690 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21691 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21692 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21693 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21694 file.
21695
216962013-01-16 Andreas Schwab <schwab@suse.de>
21697
21698 [BZ #14327]
21699 * include/stdlib.h (__mktemp): Add declaration.
21700 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21701 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21702
217032013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21704
21705 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21706 definitions.
21707 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21708 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21709 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21710 definitions here.
21711 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21712 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21713 definitions.
21714 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21715 and ONE.
21716 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21717 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21718 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21719 definitions.
21720 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21721 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21722 definitions.
21723 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21724
21725 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21726
217272013-01-15 David S. Miller <davem@davemloft.net>
21728
21729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21730 trunc{,f} to libm-sysdep_routes.
21731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21733 file.
21734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21736 file.
21737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21738 file.
21739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21741 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21742 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21743 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21744 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21745 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21746 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21747
21748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21749 nearbyint{,f} to libm-sysdep_routes.
21750 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21752 New file.
21753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21754 file.
21755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21756 New file.
21757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21758 file.
21759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21761 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21762 file.
21763 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21764 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21765 file.
21766 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21767 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21768 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21769
21770 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21771 libc_feholdexcept and libc_fesetenv.
21772
217732013-01-15 Mike Frysinger <vapier@gentoo.org>
21774
21775 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21776
217772013-01-14 David S. Miller <davem@davemloft.net>
21778
21779 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21780 (SPARC_ASM_VIS2_IFUNC): Likewise.
21781 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21783 use of 'siam' instruction.
21784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21785 Likewise.
21786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21787 Likewise.
21788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21789 Likewise.
21790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21795 file.
21796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21797 file.
21798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21799 file.
21800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21801 file.
21802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21807 new VIS2 routines.
21808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21811 Likewise.
21812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21817 routines to libm-sysdep_routines.
21818 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21819
21820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21821 fdim/fdimf to libm-sysdep_routines.
21822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21823 file.
21824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21826 file.
21827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21830 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21831 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21832 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21833 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21834
218352013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21836
21837 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21838 to optimize copies.
21839
21840 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21843
21844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21845 local variable MPTWO.
21846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21847 Likewise.
21848
218492013-01-13 Mike Frysinger <vapier@gentoo.org>
21850
21851 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21852 GLOB_NOESCAPE.
21853
218542013-01-13 Mike Frysinger <vapier@gentoo.org>
21855
21856 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21857
218582013-01-13 Mike Frysinger <vapier@gentoo.org>
21859
21860 * manual/pattern.texi (glob_t): Document gl_flags.
21861 (glob64_t): Likewise.
21862
218632013-01-11 David S. Miller <davem@davemloft.net>
21864
21865 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21866 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21867 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
21868 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21869 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21870 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21871 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21872 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21873 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21874 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21875 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21876 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21877 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21878
21879 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21880 sparc V9 rather than using V8 code.
21881 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21882 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21883
21884 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21885 Move to...
21886 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21887 Here.
21888
218892013-01-11 Roland McGrath <roland@hack.frob.com>
21890
21891 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21892 not in the main loop.
21893 * configure: Regenerated.
21894
218952013-01-11 Joseph Myers <joseph@codesourcery.com>
21896
21897 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21898 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21899 to just #else.
21900 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21901 [!__GLIBC_HAVE_LONG_LONG] case.
21902 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21903 condition to just #else.
21904 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21905 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21906 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21907 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21908 unconditional.
21909 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21910 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21911 #elif condition to just #else.
21912 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21913 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21914 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21915 #elif condition to just #else.
21916
219172013-01-11 Steve Ellcey <sellcey@mips.com>
21918
21919 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21920 (EF_MIPS_ARCH_64): Fix value.
21921 (EF_MIPS_ARCH_32R2): New.
21922 (EF_MIPS_ARCH_64R2): New.
21923
219242013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21925
21926 * Makeconfig (+link-pie-before-libc): New.
21927 (+link-pie-after-libc): Likewise.
21928 (+link-pie-tests): Likewise.
21929 (+link-pie): Rewritten.
21930 (link-before-libc): Remove $(config-LDFLAGS).
21931 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21932 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21933 (config-LDFLAGS): Renamed to ...
21934 (rtld-LDFLAGS): This.
21935 (rtld-tests-LDFLAGS): New macro.
21936 (link-libc-rpath-link): Likewise.
21937 (link-libc-tests-rpath-link): Likewise.
21938 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21939 (link-libc): Prepand $(link-libc-rpath-link).
21940 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21941 (test-program-prefix): New macro.
21942 (test-via-rtld-prefix): Likewise.
21943 (test-program-cmd): Likewise.
21944 (host-test-program-cmd): Likewise.
21945 * Makefile ($(common-objpfx)testrun.sh): Replace
21946 $(run-program-prefix) with $(test-program-prefix).
21947 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21948 $(rtld-LDFLAGS).
21949 ($(common-objpfx)shlib.lds): Likewise.
21950 (build-module-helper): Likewise.
21951 ($(common-objpfx)format.lds): Likewise.
21952 * Rules (binaries-pie-tests): New.
21953 (binaries-pie-notests): Likewise.
21954 (binaries-pie): Rewritten.
21955 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21956 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21957 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21958 (make-test-out): Replace $(host-built-program-cmd) with
21959 $(host-test-program-cmd).
21960 * config.make.in (build-hardcoded-path-in-tests): New variable.
21961 * configure.in (--enable-hardcoded-path-in-tests): New configure
21962 option.
21963 (hardcoded_path_in_tests): New AC_SUBST.
21964 * configure: Regenerated.
21965 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21966 $(built-program-cmd) with $(test-program-cmd).
21967 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21968 (test_program_cmd): This.
21969 * elf/Makefile ($(objpfx)order.out): Run test with
21970 $(test-program-prefix).
21971 ($(objpfx)order2.out): Likewise.
21972 ($(objpfx)tst-initorder.out): Likewise.
21973 ($(objpfx)tst-initorder2.out): Likewise.
21974 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21975 $(test-program-cmd).
21976 ($(objpfx)tst-array1-static.out): Likewise.
21977 ($(objpfx)tst-array2.out): Likewise.
21978 ($(objpfx)tst-array3.out): Likewise.
21979 ($(objpfx)tst-array4.out): Likewise.
21980 ($(objpfx)tst-array5.out): Likewise.
21981 ($(objpfx)tst-array5-static.out): Likewise.
21982 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21983 $(test-program-cmd).
21984 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21985 $(run-program-prefix) with $(test-program-prefix).
21986 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21987 (test_program_prefix): This.
21988 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21989 $(run-program-prefix) with $(test-program-prefix).
21990 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21991 (test_program_prefix): This.
21992 * iconvdata/tst-tables.sh: Likewise.
21993 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21994 $(run-program-prefix) with $(test-program-prefix).
21995 ($(objpfx)tst-translit.out): Likewise.
21996 ($(objpfx)tst-gettext2.out): Likewise.
21997 ($(objpfx)tst-gettext4.out): Likewise.
21998 ($(objpfx)tst-gettext6.out): Likewise.
21999 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22000 (test_program_prefix): This.
22001 * intl/tst-gettext2.sh: Likewise.
22002 * intl/tst-gettext4.sh Likewise.
22003 * intl/tst-gettext6.sh: Likewise.
22004 * intl/tst-translit.sh: Likewise.
22005 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22006 with $(test-program-cmd).
22007 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22008 $(run-program-prefix) with $(test-program-prefix).
22009 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22010 (test_program_prefix): This.
22011 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22012 $(run-program-prefix) with $(test-program-prefix).
22013 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22014 (test_program_prefix): This.
22015 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22016 * posix/Makefile ($(objpfx)globtest.out): Replace
22017 $(run-via-rtld-prefix) and $(test-wrapper) with
22018 $(test-program-prefix) and $(test-via-rtld-prefix).
22019 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22020 $(test-program-prefix).
22021 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22022 $(host-test-program-cmd).
22023 (tst-spawn-ARGS): Likewise.
22024 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22025 $(test-program-prefix).
22026 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22027 (test_via_rtld_prefix): This.
22028 (test_wrapper): Renamed to ...
22029 (test_program_prefix): This.
22030 (run_program_prefix): Replaced by test_program_prefix.
22031 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22032 (test_program_prefix): This.
22033 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22034 with $(host-test-program-cmd).
22035 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22036 $(run-program-prefix) with $(test-program-prefix).
22037 ($(objpfx)tst-printf.out): Likewise.
22038 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22039 $(test-program-cmd).
22040 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22041 (test_program_prefix): This.
22042 * stdio-common/tst-unbputc.sh: Likewise.
22043 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22044 $(run-program-prefix) with $(test-program-prefix).
22045 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22046 (test_program_prefix): This.
22047 * string/Makefile ($(objpfx)tst-svc.out): Replace
22048 $(built-program-cmd) with $(test-program-cmd).
22049
220502013-01-11 Andreas Jaeger <aj@suse.de>
22051
22052 [BZ #15003]
22053 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22054 value. Sync with Linux 3.7.
22055
220562013-01-10 David S. Miller <davem@davemloft.net>
22057
22058 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22059 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22060 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22061
220622013-01-10 Roland McGrath <roland@hack.frob.com>
22063
22064 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22065 never set.
22066 * configure: Regenerated.
22067
220682013-01-10 David S. Miller <davem@davemloft.net>
22069
22070 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22071 sparc V9 rather than using V8 code.
22072 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22073 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22074
220752013-01-10 Roland McGrath <roland@hack.frob.com>
22076
22077 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22078 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22079 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22080 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22081 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22082 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22083 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22084 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22085 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22086 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22087 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22088 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22089 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22090 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22091 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22092 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22093 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22094 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22095 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22096 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22097 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22098 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22099 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22100 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22101 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22102 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22103 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22104
221052013-01-10 David S. Miller <davem@davemloft.net>
22106
22107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22108
221092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22110
22111 * posix/Makefile (tests-static): New variable.
22112 (tests): Add $(tests-static).
22113 (tst-exec-static-ARGS): New variable.
22114 (tst-spawn-static-ARGS): Likewise.
22115 * posix/tst-exec-static.c: New file.
22116 * posix/tst-spawn-static.c: Likewise.
22117 * posix/tst-exec.c: Support run directly.
22118 * posix/tst-spawn.c: Likewise.
22119
221202013-01-10 Joseph Myers <joseph@codesourcery.com>
22121
22122 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22123 long.
22124 * math/bits/mathcalls.h (llrint): Likewise.
22125 (llround): Likewise.
22126 * stdlib/stdlib.h (struct drand48_data): Likewise.
22127 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22128 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22129 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22130 Likewise.
22131 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22132 Likewise.
22133 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22134 (elf_greg_t): Likewise.
22135 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22136 (__jmp_buf): Likewise.
22137 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22138 definitions.
22139 (llrint): Likewise, for all definitions.
22140 (llrintl): Likewise.
22141
22142 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22143 Remove [__GNUC__] condition.
22144 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22145 condition to just [__USE_ISOC99].
22146 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22147
221482013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22149
22150 [BZ #14200]
22151 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22152 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22153 defined.
22154 (_POSIX_V6_ILP32_OFF32): Likewise.
22155 (_XBS5_ILP32_OFF32): Likewise.
22156 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22157 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22158
221592013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22160
22161 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22162
22163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22164 doubles __mpexp_twomm1. Adjust usage.
22165 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22166 Remove.
22167
221682013-01-10 Andreas Schwab <schwab@suse.de>
22169
22170 [BZ #14964]
22171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22172 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22173
221742013-01-09 David S. Miller <davem@davemloft.net>
22175
22176 [BZ #15003]
22177 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22178 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22179 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22180 (TCP_FASTOPEN): Define.
22181 (tcp_repair_opt): New structure.
22182 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22183 enum values.
22184 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22185 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22186 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22187 (tcp_cookie_transactions): New structure.
22188
221892013-01-09 Anton Blanchard <anton@samba.org>
22190
22191 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22192 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22193 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22194 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22195
221962013-01-09 Joseph Myers <joseph@codesourcery.com>
22197
22198 * include/features.h (__USE_ANSI): Remove.
22199
222002013-01-09 Roland McGrath <roland@hack.frob.com>
22201
22202 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22203
22204 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22205
222062013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22207
22208 * sysdeps/s390/fpu/libm-test-ulps: Update.
22209
22210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22211
22212 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22213 (__acr): Likewise.
22214 (__cpy): Likewise.
22215 (norm): Likewise.
22216 (denorm): Likewise.
22217 (__mp_dbl): Likewise.
22218 (__dbl_mp): Likewise.
22219 (add_magnitudes): Likewise.
22220 (sub_magnitudes): Likewise.
22221 (__add): Likewise.
22222 (__sub): Likewise.
22223 (__mul): Likewise.
22224 (__inv): Likewise.
22225 (__dvd): Likewise.
22226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22227 (__acr): Likewise.
22228 (__cpy): Likewise.
22229 (norm): Likewise.
22230 (denorm): Likewise.
22231 (__mp_dbl): Likewise.
22232 (__dbl_mp): Likewise.
22233 (add_magnitudes): Likewise.
22234 (sub_magnitudes): Likewise.
22235 (__add): Likewise.
22236 (__sub): Likewise.
22237 (__mul): Likewise.
22238 (__inv): Likewise.
22239 (__dvd): Likewise.
22240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22241 (__acr): Likewise.
22242 (__cpy): Likewise.
22243 (norm): Likewise.
22244 (denorm): Likewise.
22245 (__mp_dbl): Likewise.
22246 (__dbl_mp): Likewise.
22247 (add_magnitudes): Likewise.
22248 (sub_magnitudes): Likewise.
22249 (__add): Likewise.
22250 (__sub): Likewise.
22251 (__mul): Likewise.
22252 (__inv): Likewise.
22253 (__dvd): Likewise.
22254
222552013-01-08 Joseph Myers <joseph@codesourcery.com>
22256
22257 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22258 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22259 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22260 2 && __USE_EXTERN_INLINES]: Likewise.
22261
222622013-01-08 Andreas Jaeger <aj@suse.de>
22263
22264 [BZ# 14985]
22265 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22266 Remove.
22267 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22268 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22269
222702013-01-07 Anton Blanchard <anton@samba.org>
22271
22272 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22273 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22274 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22275 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22276 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22277 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22278 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22279 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22281 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22282 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22283 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22284 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22285 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22286 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22287 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22288 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22289 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22290 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22291 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22292 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22293 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22294 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22295 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22296 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22297 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22298 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22299 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22301 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22302 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22304 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22305 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22306 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22307 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22308 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22309 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22310 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22311 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22312 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22313 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22314 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22315
223162013-01-07 Joseph Myers <joseph@codesourcery.com>
22317
22318 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22319 (__MALLOC_PMT): Likewise.
22320 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22321 [__GNUC__], only on [_LIBC].
22322 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22323 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22324 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22325 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22326 forward declaration.
22327 (realloc_hook_ini): Likewise.
22328 (memalign_hook_ini): Likewise.
22329 (__libc_memalign): Do not use __MALLOC_PMT in variable
22330 declaration.
22331 (__libc_valloc): Likewise.
22332 (__libc_pvalloc): Likewise.
22333 (__libc_calloc): Likewise.
22334 (__posix_memalign): Likewise.
22335
22336 [BZ #14996]
22337 * math/s_casinh.c: Include <float.h>.
22338 (__casinh): Do not do computation with squaring and square root
22339 for large arguments.
22340 * math/s_casinhf.c: Include <float.h>.
22341 (__casinhf): Do not do computation with squaring and square root
22342 for large arguments.
22343 * math/s_casinhl.c: Include <float.h>.
22344 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22345 (__casinhl): Do not do computation with squaring and square root
22346 for large arguments.
22347 * math/libm-test.inc (casin_test): Add more tests.
22348 (casinh_test): Likewise.
22349 * sysdeps/i386/fpu/libm-test-ulps: Update.
22350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22351
223522013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22353
22354 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22355 (__x86_64_raw_data_cache_size): Likewise.
22356 (__x86_64_data_cache_size_half): Likewise.
22357 (__x86_64_raw_data_cache_size_half): Likewise.
22358 (__x86_64_shared_cache_size): Likewise.
22359 (__x86_64_raw_shared_cache_size): Likewise.
22360 (__x86_64_shared_cache_size_half): Likewise.
22361 (__x86_64_raw_shared_cache_size_half): Likewise.
22362 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22363 to ...
22364 (__x86_data_cache_size): This.
22365 (__x86_64_raw_data_cache_size): Renamed to ...
22366 (__x86_raw_data_cache_size): This.
22367 (__x86_64_data_cache_size_half): Renamed to ...
22368 (__x86_data_cache_size_half): This.
22369 (__x86_64_raw_data_cache_size_half): Renamed to ...
22370 (__x86_raw_data_cache_size_half): This.
22371 (__x86_64_shared_cache_size): Renamed to ...
22372 (__x86_shared_cache_size): This.
22373 (__x86_64_raw_shared_cache_size): Renamed to ...
22374 (__x86_raw_shared_cache_size): This.
22375 (__x86_64_shared_cache_size_half): Renamed to ...
22376 (__x86_shared_cache_size_half): This.
22377 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22378 (__x86_raw_shared_cache_size_half): This.
22379 * sysdeps/x86_64/memcpy.S: Updated.
22380 * sysdeps/x86_64/memset.S: Likewise.
22381 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22382 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22383 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22384
223852013-01-04 David S. Miller <davem@davemloft.net>
22386
22387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22388
223892013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22390
22391 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22392 1 to avoid redefinition warning.
22393 (__USE_GNU): Don't define.
22394 (init_signaling_nan): Protoize.
22395
22396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22397
223982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22399
22400 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22402 (__cpymn): Likewise.
22403 (norm): Remove commented code.
22404 (denorm): Likewise.
22405 (__mp_dbl): Likewise.
22406 (__inv): Likewise.
22407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22408 (__cpymn): Likewise.
22409 (norm): Remove commented code.
22410 (denorm): Likewise.
22411 (__mp_dbl): Likewise.
22412 (__inv): Likewise.
22413
22414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22415 mp_no value for 1.0 and 2.0.
22416 (norm): Use RADIXI instead of radixi.d.
22417 (denorm): Likewise.
22418 (__mul): Use 0.0 instead of zero.d.
22419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22420 mp_no value for 1.0 and 2.0.
22421 (norm): Use RADIXI instead of radixi.d.
22422 (denorm): Likewise.
22423 (__mul): Use 0.0 instead of zero.d.
22424
224252013-01-04 Joseph Myers <joseph@codesourcery.com>
22426
22427 [BZ #14994]
22428 * math/s_casinh.c (__casinh): Reduce finite argument to first
22429 quadrant then set signs of results at the end.
22430 * math/s_casinhf.c (__casinhf): Likewise.
22431 * math/s_casinhl.c (__casinhl): Likewise.
22432 * math/libm-test.inc (casin_test): Add more tests.
22433 (casinh_test): Likewise.
22434 * sysdeps/i386/fpu/libm-test-ulps: Update.
22435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22436
224372013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22438
22439 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22440
22441 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22442
22443 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22444 declarations.
22445 (denorm): Likewise.
22446 (__mp_dbl): Likewise.
22447 (__inv): Likewise.
22448
22449 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22450 and adjust the header comment.
22451
22452 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22453 variable name from declaration.
22454
224552013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22456
22457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22458 Initialize COMMON_CPUID_INDEX_7 element.
22459 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22460 (CPUID_RTM): Likewise.
22461 (HAS_RTM): Likewise.
22462 (COMMON_CPUID_INDEX_7): New enum.
22463
224642013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22465
22466 [BZ #14981]
22467 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22468 size is zero, record memory as freed.
22469
224702013-01-03 Andreas Jaeger <aj@suse.de>
22471
22472 * po/ia.po: Add new Interlingua translation.
22473
224742012-01-03 Allan McRae <allan@archlinux.org>
22475
22476 * locale/programs/localedef.c: Fix description of '--posix' flag.
22477
224782013-01-02 Joseph Myers <joseph@codesourcery.com>
22479
22480 * NEWS: Update dates in second copyright notice.
22481 * README: Update copyright dates in example.
22482 * manual/libc.texinfo: Update copyright dates.
22483 * scripts/test-installation.pl: Update copyright date in --version
22484 output.
22485
22486 * hurd/ctty-input.c: Fix copyright notice formatting.
22487 * hurd/ctty-output.c: Likewise.
22488 * hurd/dtable.c: Likewise.
22489 * hurd/hurd-raise.c: Likewise.
22490 * hurd/hurdprio.c: Likewise.
22491 * hurd/msgportdemux.c: Likewise.
22492 * misc/sys/file.h: Likewise.
22493 * misc/sys/ioctl.h: Likewise.
22494 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22495 * sysdeps/mach/hurd/chdir.c: Likewise.
22496 * sysdeps/mach/hurd/fchdir.c: Likewise.
22497 * sysdeps/mach/hurd/rename.c: Likewise.
22498 * sysdeps/mach/hurd/rmdir.c: Likewise.
22499 * sysdeps/mach/hurd/seekdir.c: Likewise.
22500 * sysdeps/mach/hurd/setsid.c: Likewise.
22501 * sysdeps/posix/wait3.c: Likewise.
22502
22503 * All files with FSF copyright notices: Update copyright dates
22504 using scripts/update-copyrights.
22505 * intl/plural.c: Regenerated.
22506 * locale/programs/charmap-kw.h: Likewise.
22507 * locale/programs/locfile-kw.h: Likewise.
22508
225092013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22510
22511 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22512 four values.
22513
22514 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22515 calculation loop and add branch prediction.
22516
22517 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22518 check access beyond bounds of m1np.
22519
22520 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22521 MPTWO.
22522 (__inv): Remove local variable MPTWO to use the global
22523 constant.
22524 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22525 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22526 variable MPTWO.
22527 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22528 MP3HALFS static const.
22529
225302013-01-01 David S. Miller <davem@davemloft.net>
22531
22532 * po/ca.po: Update from translation team.
22533
225342013-01-01 Joseph Myers <joseph@codesourcery.com>
22535
22536 * scripts/update-copyrights: New file.
22537 * Makeconfig: Reformat copyright notice.
22538 * ctype/ctype.h: Likewise.
22539 * debug/swprintf_chk.c: Likewise.
22540 * elf/dl-cache.c: Likewise.
22541 * elf/dl-debug.c: Likewise.
22542 * elf/dl-object.c: Likewise.
22543 * grp/initgroups.c: Likewise.
22544 * hurd/Makefile: Likewise.
22545 * hurd/hurd/signal.h: Likewise.
22546 * hurd/hurdfault.c: Likewise.
22547 * hurd/hurdioctl.c: Likewise.
22548 * hurd/hurdlookup.c: Likewise.
22549 * hurd/intr-msg.c: Likewise.
22550 * iconv/gconv_open.c: Likewise.
22551 * libio/swprintf.c: Likewise.
22552 * locale/lc-ctype.c: Likewise.
22553 * locale/nl_langinfo.c: Likewise.
22554 * mach/Machrules: Likewise.
22555 * mach/Makefile: Likewise.
22556 * malloc/obstack.h: Likewise.
22557 * manual/Makefile: Likewise.
22558 * manual/tsort.awk: Likewise.
22559 * misc/bits/stab.def: Likewise.
22560 * nis/nis_print_group_entry.c: Likewise.
22561 * nis/nis_table.c: Likewise.
22562 * nis/nss_compat/compat-pwd.c: Likewise.
22563 * nis/nss_compat/compat-spwd.c: Likewise.
22564 * po/Makefile: Likewise.
22565 * posix/fnmatch.c: Likewise.
22566 * posix/regex.h: Likewise.
22567 * resolv/Makefile: Likewise.
22568 * resolv/nss_dns/dns-network.c: Likewise.
22569 * resolv/res_hconf.c: Likewise.
22570 * scripts/gen-sorted.awk: Likewise.
22571 * soft-fp/soft-fp.h: Likewise.
22572 * stdio-common/printf.h: Likewise.
22573 * stdlib/monetary.h: Likewise.
22574 * stdlib/random.c: Likewise.
22575 * stdlib/random_r.c: Likewise.
22576 * sysdeps/generic/Makefile: Likewise.
22577 * sysdeps/gnu/Makefile: Likewise.
22578 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22585 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22588 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22589 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22590 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22594 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22597 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22600 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22606 * sysdeps/mach/hurd/errnos.awk: Likewise.
22607 * sysdeps/mach/hurd/fork.c: Likewise.
22608 * sysdeps/mach/hurd/getcwd.c: Likewise.
22609 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22610 * sysdeps/mach/hurd/mmap.c: Likewise.
22611 * sysdeps/mach/hurd/utimes.c: Likewise.
22612 * sysdeps/mach/hurd/xmknod.c: Likewise.
22613 * sysdeps/posix/profil.c: Likewise.
22614 * sysdeps/posix/readdir_r.c: Likewise.
22615 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22616 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22617 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22618 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22620 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22621 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22622 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22624 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22625 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22626 * sysdeps/pthread/lio_listio.c: Likewise.
22627 * sysdeps/sparc/dl-procinfo.h: Likewise.
22628 * sysdeps/unix/i386/sysdep.S: Likewise.
22629 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22630 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22631 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22632 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22634 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22635 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22636 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22637 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22638 * sysdeps/wordsize-32/divdi3.c: Likewise.
22639 * time/sys/time.h: Likewise.
22640 * wcsmbs/Makefile: Likewise.
22641
226422013-01-01 David S. Miller <davem@davemloft.net>
22643
22644 * po/fr.po: Update from translation team.
22645
22646 * catgets/gencat.c: Update copyright year.
22647 * csu/version.c: Likewise.
22648 * debug/catchsegv.sh: Likewise.
22649 * debug/pcprofiledump.c: Likewise.
22650 * debug/xtrace.sh: Likewise.
22651 * elf/ldconfig.c: Likewise.
22652 * elf/ldd.bash.in: Likewise.
22653 * elf/pldd.c: Likewise.
22654 * elf/sotruss.ksh: Likewise.
22655 * elf/sprof.c: Likewise.
22656 * iconv/iconv_prog.c: Likewise.
22657 * iconv/iconvconfig.c: Likewise.
22658 * locale/programs/locale.c: Likewise.
22659 * locale/programs/localedef.c: Likewise.
22660 * login/programs/pt_chown.c: Likewise.
22661 * malloc/memusage.sh: Likewise.
22662 * malloc/memusagestat.c: Likewise.
22663 * malloc/mtrace.pl: Likewise.
22664 * nscd/nscd.c: Likewise.
22665 * nss/getent.c: Likewise.
22666 * nss/makedb.c: Likewise.
22667 * posix/getconf.c: Likewise.
22668
226692012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22670
22671 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22672 numbers.
22673
226742012-12-30 Mike Frysinger <vapier@gentoo.org>
22675
22676 * math/bits/mathcalls.h (modf): Use __nonnull.
22677
226782012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22679
22680 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22681 (split): Use macro CN instead of the bare value.
22682 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22683 could be used.
22684 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22685 instead of the bare value.
22686 (power1): Likewise.
22687
226882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22689
22690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22691 __ATAN_TWOM.
22692 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22693
22694 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22695 their values.
22696 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22697 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22698 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22699 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22700
227012012-12-28 Andreas Jaeger <aj@suse.de>
22702
22703 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22704 values are from Linux 3.7.
22705
22706 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22707 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22708
227092012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22710
22711 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22712 TRUE case.
22713
22714 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22715 (norm): Likewise.
22716 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22717 variables with preprocessor constants.
22718 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22719 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22720 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22721
227222012-12-27 Bruno Haible <bruno@clisp.org>
22723
22724 [BZ #14317]
22725 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22726 only if needed.
22727
227282012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22729
22730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22731 and use variable directly.
22732 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22733
22734 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22735 MPONE.
22736 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22737 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22738 variable MPONE.
22739 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22741 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22742 include directive. Remove local variable MPONE.
22743 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22744 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22745 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22746
227472012-12-25 David S. Miller <davem@davemloft.net>
22748
22749 * version.h (RELEASE): Set to "development".
22750 (VERSION): Set to "2.17.90".
22751 * NEWS: Add 2.18 section.
22752
227532012-12-21 David S. Miller <davem@davemloft.net>
22754
22755 * po/hr.po: Update from translation team.
22756
227572012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22758
22759 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22760
227612012-12-19 Steve Ellcey <sellcey@mips.com>
22762
22763 * NEWS: Mention new memcpy for MIPS.
22764
227652012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22766
22767 * manual/contrib.texi (Contributors): Spelling correction.
22768
227692012-12-15 David S. Miller <davem@davemloft.net>
22770
22771 * po/ru.po: Update from translation team.
22772
227732012-12-13 David S. Miller <davem@davemloft.net>
22774
22775 * NEWS: Mention IFUNC testsuite enhancements.
22776
22777 * po/pl.po: Update from translation team.
22778 * po/bg.po: Likewise.
22779
22780 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22781 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22782
227832012-12-11 David S. Miller <davem@davemloft.net>
22784
22785 * po/sv.po: Update from translation team.
22786
22787 * po/vi.po: Update from translation team.
22788
22789 * po/cs.po: Update from translation team.
22790
22791 * po/de.po: Update from translation team.
22792 * po/eo.po: Likewise.
22793 * po/nl.po: Likewise.
22794
227952012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22796
22797 [BZ #14246]
22798 * manual/argp.texi (Argp Helper Functions): Move node to follow
22799 Argp Parsing State.
22800
22801 [BZ #14872]
22802 * manual/conf.texi (Limits on File System Capacity): Mention if
22803 terminating null is included in the max size.
22804
228052012-12-10 Andreas Jaeger <aj@suse.de>
22806
22807 * po/cs.po: Update from translation team.
22808
228092012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22810
22811 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22812 void pointer and cast to uintptr_t.
22813 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22814 path.
22815 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22816 * sysdeps/s390/s390-64/memset.S: Likewise.
22817
228182012-12-08 Benno Schulenberg <bensberg@justemail.net>
22819
22820 [BZ #14833]
22821 * menual/message.texi (Message Translation): Fix typos.
22822 (Helper programs for gettext): Likewise.
22823
228242012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22825
22826 [BZ #14898]
22827 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22828 Change to -1.
22829
228302012-12-07 David S. Miller <davem@davemloft.net>
22831
22832 * po/libc.pot: Update.
22833
228342012-12-07 Richard Henderson <rth@redhat.com>
22835
22836 [BZ #10114]
22837 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22838 normal/normal case to before the switch.
22839 (_FP_DIV): Likewise.
22840
228412012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22842 Mike Frysinger <vapier@gentoo.org>
22843
22844 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22845 check for __NR_fadvise64_64.
22846
228472012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22848
22849 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22850 0, not just to plain "0" as a statement.
22851 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22852 with cw.
22853
228542012-12-06 Joseph Myers <joseph@codesourcery.com>
22855
22856 * NEWS: Use sourceware.org in Bugzilla URL.
22857
228582012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22859
22860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22861 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22862
22863 * stdio-common/tst-put-error.c (do_test): Add newline to the
22864 padded test to ensure flush.
22865
228662012-12-05 Jeff Law <law@redhat.com>
22867
22868 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22869
228702012-12-05 Joseph Myers <joseph@codesourcery.com>
22871
22872 * README: Don't refer to ports add-on as distributed separately.
22873 Mention AArch64 in list of systems supported in the ports add-on.
22874
22875 * LICENSES: Add more non-FSF copyright and license notices.
22876
22877 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22878 ((unused)).
22879
22880 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22881
22882 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22883 10000 as width of padded output.
22884
228852012-12-04 Joseph Myers <joseph@codesourcery.com>
22886
22887 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22888
22889 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22890 variable LX with __attribute__ ((unused)).
22891 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22892 Likewise.
22893 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22895 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22896 with __attribute__ ((unused)).
22897
228982012-12-04 David S. Miller <davem@abraco.davemloft.net>
22899
22900 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22901
229022012-12-04 Joseph Myers <joseph@codesourcery.com>
22903
22904 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22905 (CFLAGS-nldbl-acos.c): New variable.
22906 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22907 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22908 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22909 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22910 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22911 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22912 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22913 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22914 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22915 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22916 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22917 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22918 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22919 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22920 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22921 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22922 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22923 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22924 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22925 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22926 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22927 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22928 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22929 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22930 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22931 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22932 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22933 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22934 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22935 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22936 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22937 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22938 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22939 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22940 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22941 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22942 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22943 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22944 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22945 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22946 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22947 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22948 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22949 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22950 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22951 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22952 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22953 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22954 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22955 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22956 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22957 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22958 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22959 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22960 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22961 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22962 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22963 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22964 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22965 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22966 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22967 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22968 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22969 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22970 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22971 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22972 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22973 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22974 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22975 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22976 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22977 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22978 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22979 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22980 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22981 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22982 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22983 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22984 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22985 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22986 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22987 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22988 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22989 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22990 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22991 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22992 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22993 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22994 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22995 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22996 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22997 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22998 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22999 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23000 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23001 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23002 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23003
23004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23005 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23006
23007 [BZ #14914]
23008 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23009 whole low double instead of just low 47 bits when splitting values
23010 into two parts.
23011
230122012-12-03 Allan McRae <allan@archlinux.org>
23013
23014 * manual/stdio.texi (Predefined Printf Handlers): Remove
23015 @hsep and @vsep usage.
23016
230172012-12-03 Mike Frysinger <vapier@gentoo.org>
23018
23019 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23020 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23021
230222012-12-03 Jeff Law <law@redhat.com>
23023
23024 * time/sys/time.h (settimeofday): Do not mark TV argument
23025 as __nonnull.
23026
230272012-12-01 Mike Frysinger <vapier@gentoo.org>
23028
23029 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23030 when currently writing and seek to current position when not.
23031 * libio/Makefile (tests): Remove bug-fclose1.
23032 * libio/bug-fclose1.c: Delete.
23033
230342012-12-01 Joseph Myers <joseph@codesourcery.com>
23035
23036 * manual/arith.texi (feenableexcept): Fix typo.
23037 (fedisableexcept): Likewise.
23038
230392012-11-30 Roland McGrath <roland@hack.frob.com>
23040
23041 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23042 second, differently-typed declaration, rather than a cast.
23043
230442012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23045
23046 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23047 * include/rpc/svc.h: ... here.
23048
230492012-11-30 Aurelien Jarno <aurel32@debian.org>
23050
23051 [BZ #13013]
23052 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23053 depending n and resplen2 to catch cases where answer
23054 equals answerp2.
23055
230562012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23057
23058 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23059 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23060
230612012-11-29 Mike Frysinger <vapier@gentoo.org>
23062
23063 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23064
230652012-11-29 Roland McGrath <roland@hack.frob.com>
23066
23067 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23068
230692012-11-28 Jeff Law <law@redhat.com>
23070
23071 [BZ #13761]
23072 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23073 dataset_temporary. Track alloca usage into alloca_used.
23074 If dataset is large allocate and release it via malloc/free.
23075
230762012-06-04 Florian Weimer <fweimer@redhat.com>
23077
23078 [BZ #14197]
23079 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23080
230812012-11-28 David S. Miller <davem@davemloft.net>
23082
23083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23084
230852012-11-28 Joseph Myers <joseph@codesourcery.com>
23086
23087 [BZ #14803]
23088 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23089 of pi/2 rounded to nearest to 64 bits.
23090 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23091 nearest to 64 bits.
23092 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23093 bits.
23094
230952012-11-28 Jeff Law <law@redhat.com>
23096 Martin Osvald <mosvald@redhat.com>
23097
23098 [BZ #14889]
23099 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23100 * sunrpc/svc.c: Include time.h.
23101 (__svc_accept_failed): New function.
23102 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23103 any reason other than EINTR, call __svc_accept_failed.
23104 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23105 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23106
231072012-11-28 Andreas Schwab <schwab@suse.de>
23108
23109 * scripts/abilist.awk: Also handle indirect functions in .opd
23110 section.
23111
231122012-11-28 Joseph Myers <joseph@codesourcery.com>
23113
23114 [BZ #13881]
23115 * sysdeps/x86/fpu/powl_helper.c: New file.
23116 * sysdeps/x86/fpu/Makefile: Likewise.
23117 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23118 (p3): New object.
23119 (__ieee754_powl): Use __powl_helper for finite arguments except
23120 integer exponents below 8.
23121 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23122 (p3): New object.
23123 (__ieee754_powl): Use __powl_helper for finite arguments except
23124 integer exponents below 8.
23125 * math/libm-test.inc (pow_test): Add more tests and enable some
23126 previously disabled tests.
23127 * sysdeps/i386/fpu/libm-test-ulps: Update.
23128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23129
231302012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23131 Carlos O'Donell <carlos_odonell@mentor.com>
23132
23133 * nss/makedb.c (is_prime): Assert that input is odd and greater
23134 than 4. Note that fact in a comment too.
23135 (next_prime): Add 4 to input.
23136
231372012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23138
23139 [BZ #11741]
23140 * libio/Makefile (tests): Add test case tst-fwrite-error.
23141 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23142 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23143 * libio/tst-fwrite-error.c: New test case.
23144
231452012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23146
23147 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23148 before casting to void *.
23149 * include/libc-internal.h (__pointer_type): New macro.
23150 (__integer_if_pointer_type_sub): Likewise.
23151 (__integer_if_pointer_type): Likewise.
23152 (cast_to_integer): Likewise.
23153 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23154 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23155 before casting to atomic64_t.
23156 (atomic_exchange_acq): Likewise.
23157 (__arch_exchange_and_add_body): Likewise.
23158 (__arch_add_body): Likewise.
23159 (atomic_add_negative): Likewise.
23160 (atomic_add_zero): Likewise.
23161
231622012-11-26 Joseph Myers <joseph@codesourcery.com>
23163
23164 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23165 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23166 (add_fdes): Likewise.
23167 (linear_search_fdes): Likewise.
23168 (binary_search_unencoded_fdes): Likewise.
23169
231702012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23171
23172 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23173
231742012-11-24 Adam Conrad <adconrad@0c3.net>
23175
23176 * configure.in: Autodetect C++ header directories.
23177 * configure: Regenerated.
23178
231792012-11-23 Mike Frysinger <vapier@gentoo.org>
23180
23181 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23182
231832012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23184
23185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23186
231872012-11-22 Joseph Myers <joseph@codesourcery.com>
23188
23189 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23190 LDBL_MANT_DIG == 106]: Disable some tests.
23191 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23192 Likewise.
23193 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23194 Likewise.
23195
23196 [BZ #14871]
23197 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23198 input for small inputs. Return +/- pi/2 for large inputs.
23199 * math/libm-test.inc (atan_test): Add more tests.
23200
23201 * sysdeps/generic/unwind-dw2-fde-glibc.c
23202 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23203 __attribute__ ((unused)).
23204
23205 [BZ #14645]
23206 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23207 x * y if x and y are nonzero and z is zero.
23208
23209 [BZ #14811]
23210 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23211 nonzero exponents with absolute value below 0x1p-117 to +/-
23212 0x1p-117.
23213
23214 [BZ #14869]
23215 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23216 up arguments below 2**-450, not just those below 2**-500.
23217 * math/libm-test.inc (hypot_test): Add another test.
23218
23219 [BZ #14868]
23220 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23221 Return a+b for ratio over 2**120, not 2**60.
23222 * math/libm-test.inc (hypot_test): Add another test.
23223
23224 * math/libm-test.inc (clog_test): Use
23225 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23226 (clog10_test): Likewise.
23227
23228 [BZ #6778]
23229 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23230
232312012-11-22 Andreas Schwab <schwab@suse.de>
23232
23233 * sysdeps/i386/fpu/libm-test-ulps: Update.
23234
232352012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23236
23237 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23238 printf output with newline.
23239
232402012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23241
23242 [BZ #14865]
23243 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23244 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23245 -z nodlopen, -z initfirst and -z execstack support.
23246 * configure: Regenerated.
23247
23248 * elf/elf.h (DF_1_NODIRECT): New macro.
23249 (DF_1_IGNMULDEF): Likewise.
23250 (DF_1_NOKSYMS): Likewise.
23251 (DF_1_NOHDR): Likewise.
23252 (DF_1_EDITED): Likewise.
23253 (DF_1_NORELOC): Likewise.
23254 (DF_1_SYMINTPOSE): Likewise.
23255 (DF_1_GLOBAUDIT): Likewise.
23256 (DF_1_SINGLETON): Likewise.
23257 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23258 DT_1_SUPPORTED_MASK bits.
23259 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23260
232612012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23262
23263 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23264
232652012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23266
23267 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23268 macro.
23269
23270 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23271 (sendmmsg): Move declarations...
23272 * socket/sys/socket.h: ... here.
23273 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23274 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23275 include it from...
23276 * socket/recvmmsg.c: ... this new file.
23277 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23278 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23279 definition of __sendmmsg hidden.
23280 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23281 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23282 Move ENOSYS stub into and include it from...
23283 * socket/sendmmsg.c: ... this new file.
23284 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23285 (sysdep_routines): Move recvmmsg and sendmmsg...
23286 * socket/Makefile (routines): ... here.
23287 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23288 (GLIBC_PRIVATE): Add __sendmmsg.
23289 * include/sys/socket.h (__sendmmsg): Add declarations.
23290 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23291 sendmmsg.
23292
232932012-11-20 Joseph Myers <joseph@codesourcery.com>
23294
23295 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23296 variable I1 with __attribute__ ((unused)).
23297 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23298
232992012-11-19 Joseph Myers <joseph@codesourcery.com>
23300
23301 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23302 DUMMY variables with __attribute__ ((unused)).
23303
23304 * bits/byteswap.h: Include <bits/types.h>.
23305 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23306
233072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23308
23309 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23310 string_t. Do not manually set errno.
23311 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23312 length with __strnlen. Make sure to both set errno and return it on
23313 failure.
23314
233152012-11-19 David S. Miller <davem@davemloft.net>
23316
23317 With help from Joseph Myers.
23318 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23319 very large arguments properly.
23320 * math/libm-test.inc (atan_test): New tests.
23321 (atan2_test): New tests.
23322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23324
233252012-11-19 Joseph Myers <joseph@codesourcery.com>
23326
23327 [BZ #14856]
23328 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23329 Define to 3.
23330
23331 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23332 [POSIX] (EADDRNOTAVAIL): Likewise.
23333 [POSIX] (EAFNOSUPPORT): Likewise.
23334 [POSIX] (EALREADY): Likewise.
23335 [POSIX] (ECONNABORTED): Likewise.
23336 [POSIX] (ECONNREFUSED): Likewise.
23337 [POSIX] (ECONNRESET): Likewise.
23338 [POSIX] (EDESTADDRREQ): Likewise.
23339 [POSIX] (EDQUOT): Likewise.
23340 [POSIX] (EHOSTUNREACH): Likewise.
23341 [POSIX] (EIDRM): Likewise.
23342 [POSIX] (EISCONN): Likewise.
23343 [POSIX] (ELOOP): Likewise.
23344 [POSIX] (EMULTIHOP): Likewise.
23345 [POSIX] (ENETDOWN): Likewise.
23346 [POSIX] (ENETUNREACH): Likewise.
23347 [POSIX] (ENOBUFS): Likewise.
23348 [POSIX] (ENODATA): Likewise.
23349 [POSIX] (ENOLINK): Likewise.
23350 [POSIX] (ENOMSG): Likewise.
23351 [POSIX] (ENOPROTOOPT): Likewise.
23352 [POSIX] (ENOSR): Likewise.
23353 [POSIX] (ENOSTR): Likewise.
23354 [POSIX] (ENOTCONN): Likewise.
23355 [POSIX] (ENOTSOCK): Likewise.
23356 [POSIX] (EOPNOTSUPP): Likewise.
23357 [POSIX] (EOVERFLOW): Likewise.
23358 [POSIX] (EPROTO): Likewise.
23359 [POSIX] (EPROTONOSUPPORT): Likewise.
23360 [POSIX] (EPROTOTYPE): Likewise.
23361 [POSIX] (ESTALE): Likewise.
23362 [POSIX] (ETIME): Likewise.
23363 [POSIX] (ETXTBSY): Likewise.
23364 [POSIX] (EWOULDBLOCK): Likewise.
23365 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23366 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23367 [POSIX] (SEEK_CUR): Likewise.
23368 [POSIX] (SEEK_END): Likewise.
23369 [POSIX || UNIX98] (mode_t): Do not require.
23370 [POSIX] (off_t): Likewise.
23371 [POSIX] (pid_t): Likewise.
23372 [POSIX] (sys/stat.h): Do not allow header.
23373 [POSIX] (unistd.h): Likewise.
23374 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23375 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23376 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23377 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23378 require.
23379 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23380 sigevent): Specify elements.
23381 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23382 entry.
23383 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23384 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23385
23386 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23387 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23388 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23389 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23390 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23391 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23392 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23393 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23394 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23395 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23396 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23397 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23398 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23399 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23400 Likewise.
23401 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23402 Likewise.
23403 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23404 Likewise.
23405 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23406 Likewise.
23407 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23408 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23409 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23410 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23411 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23412 Specify lower bound on value.
23413 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23414 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23415 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23416 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23417 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23418 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23419 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23420 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23421 value.
23422 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23423 as optional.
23424 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23425 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23426 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23427 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23428 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23429 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23430 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23431 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23432 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23433 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23434 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23435 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23436 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23437 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23438 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23439 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23440 entry.
23441 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23442 optional.
23443 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23444 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23445 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23446 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23447 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23448 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23449 Likewise.
23450 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23451 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23452 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23453 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23454 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23455 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23456 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23457 as optional.
23458 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23459 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23460 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23461 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23462 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23463 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23464 specify as optional.
23465 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23466 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23467 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23468 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23469 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23470 [XPG3] (NL_LANGMAX): Likewise.
23471 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23472 [POSIX || XPG3] (NL_NMAX): Likewise.
23473 [POSIX || XPG3] (NL_SETMAX): Likewise.
23474 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23475 [XPG3] (NZERO): Likewise.
23476 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23477 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23478 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23479 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23480 (REG_ERANGE): Expect.
23481 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23482 optional-constant.
23483 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23484 Use (void) in prototype.
23485 [POSIX] (*_t): Allow.
23486 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23487 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23488 (WRDE_BADVAL): Expect.
23489
23490 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23491 expect.
23492 [XPG3 || XPG4] (O_RSYNC): Likewise.
23493 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23494 Likewise.
23495 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23496 [XPG3 || XPG4] (sigqueue): Likewise.
23497 [XPG3 || XPG4] (sigtimedwait): Likewise.
23498 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23499 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23500 [XPG3 || XPG4] (vsnprintf): Likewise.
23501 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23502 Likewise.
23503 [XPG3 || XPG4] (blksize_t): Likewise.
23504 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23505 Likewise.
23506 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23507 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23508 [XPG3 || XPG4] (struct itimerspec): Likewise.
23509 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23510 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23511 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23512 [XPG3 || XPG4] (clockid_t): Likewise.
23513 [XPG3 || XPG4] (timer_t): Likewise.
23514 [XPG3 || XPG4] (clock_getres): Likewise.
23515 [XPG3 || XPG4] (clock_gettime): Likewise.
23516 [XPG3 || XPG4] (clock_settime): Likewise.
23517 [XPG3 || XPG4] (nanosleep): Likewise.
23518 [XPG3 || XPG4] (timer_create): Likewise.
23519 [XPG3 || XPG4] (timer_delete): Likewise.
23520 [XPG3 || XPG4] (timer_gettime): Likewise.
23521 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23522 [XPG3 || XPG4] (timer_settime): Likewise.
23523 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23524 [XPG3 || XPG4] (getlogin_r): Likewise.
23525 [XPG3 || XPG4] (pread): Likewise.
23526 [XPG3 || XPG4] (pthread_atfork): Likewise.
23527 [XPG3 || XPG4] (pwrite): Likewise.
23528
23529 [BZ #14835]
23530 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23531 <bits/siginfo.h>.
23532
235332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23534
23535 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23536 finalizing MALLSTREAM.
23537
23538 * sysdeps/mach/hurd/syncfs.c: New file.
23539
235402012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23541
23542 [BZ #14719]
23543 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23544 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23545 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23546 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23547 (_nss_dns_gethostbyname4_r): Likewise.
23548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23549 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23550
235512012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23552
23553 [BZ #13763]
23554 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23555
235562012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23557
23558 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23559 * elf/cache.c (print_entry): Print ",AArch64" for
23560 FLAG_AARCH64_LIB64
23561
23562 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23563 * elf/cache.c (print_entry): Print ",hard-float" for
23564 FLAG_ARM_LIBHF.
23565
235662012-11-18 David S. Miller <davem@davemloft.net>
23567
23568 With help from Joseph Myers.
23569 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23570 cutoff to 2**-13.
23571 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23572 cutoff to 2**-25.
23573 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23574 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23575 small.
23576 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23577 * math/libm-test.inc (y0_test): New tests.
23578 (y1_test): New tests.
23579 * sysdeps/i386/fpu/libm-test-ulps: Update.
23580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23582
235832012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23584
23585 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23586 64-bit targets.
23587 * configure: Regenerated.
23588
235892012-11-17 David S. Miller <davem@davemloft.net>
23590
23591 [BZ #14811]
23592 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23593 nonzero exponents with absolute value below 0x1p-128 to +/-
23594 0x1p-128.
23595
235962012-11-17 Joseph Myers <joseph@codesourcery.com>
23597
23598 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23599
23600 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23601
23602 * posix/getconf-speclist.c: New file.
23603 * posix/posix-envs.def: Likewise.
23604 * posix/confstr.c (START_ENV_GROUP): New macro.
23605 (END_ENV_GROUP): Likewise.
23606 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23607 (KNOWN_PRESENT_ENV_STRING): Likewise.
23608 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23609 (UNKNOWN_ENVIRONMENT): Likewise.
23610 (confstr): Include posix-envs.def instead of handling
23611 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23612 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23613 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23614 (END_ENV_GROUP): Likewise.
23615 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23616 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23617 (UNKNOWN_ENVIRONMENT): Likewise.
23618 (__sysconf): Include posix-envs.def instead of handling associated
23619 cases directly here.
23620 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23621 preprocessing getconf-speclist.c rather than running getconf or
23622 generating empty file.
23623
236242012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23625
23626 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23627
236282012-11-16 Andrej Lajovic <natrij@gmail.com>
23629
23630 [BZ #14672]
23631 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23632
236332012-11-16 David S. Miller <davem@davemloft.net>
23634
23635 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23636 smaller than LDBL_EPSILON/2.0L, just return xm1.
23637
236382012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23639
23640 * elf/tst-array1.c (init): Set constructor priority to 1000.
23641 (fini): Set destructor priority to 1000.
23642 * elf/tst-array2dep.c: Likewise.
23643
236442012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23645
23646 [BZ #11741]
23647 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23648 (_IO_new_file_xsputn): Also return EOF if none of the input
23649 data was written when overflow failed.
23650 * libio/iopadn.c (_IO_padn): Likewise.
23651 * libio/iowpadn.c (_IO_wpadn): Likewise.
23652 * stdio-common/tst-put-error.c: Add copyright notice.
23653 (do_test): Add case for printing padded string.
23654 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23655 _IO_padn returned error.
23656 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23657 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23658 return EOF.
23659
236602012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23661
23662 * libio/libioP.h: Add comment note that the references to C++
23663 bits are now obsolete.
23664
236652012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23666
23667 * math/libm-test.inc (check_complex): Use asprintf.
23668
236692012-11-14 Joseph Myers <joseph@codesourcery.com>
23670
23671 * debug/pcprofiledump.c (print_version): Update copyright year.
23672 * malloc/memusagestat.c (print_version): Likewise.
23673
236742012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23675
23676 [BZ #14831]
23677 * elf/Makefile (tests): Add tst-audit8.
23678 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23679 ($(objpfx)tst-audit8.out): New target.
23680 (tst-audit8-ENV): New variable.
23681 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23682 audit if l_reloc_result is NULL.
23683 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23684 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23685 * elf/tst-audit8.c: New file.
23686
236872012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23688
23689 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23690 * misc/Makefile (CFLAGS-select.c): Define.
23691 * posix/Makefile (CFLAGS-pause.c): Define.
23692
236932012-11-13 David S. Miller <davem@davemloft.net>
23694
23695 * crypt/Makefile: Move test targets after toplevel Rules
23696 inclusion. Grab any necessary sysdep routines when linking.
23697 * crypt/md5.c (md5_process_block): Remove define, we will always
23698 name it __md5_process_block.
23699 (md5_finish_ctx): Update md5_process_block call.
23700 (md5_stream): Likewise.
23701 (md5_process_bytes): Likewise.
23702 (md5_process_block): Rename to __md5_process_block and move to ...
23703 * crypt/md5-block.c: ... here.
23704 * crypt/sha256.c (sha256_process_block): Move to ...
23705 * crypt/sha256-block.c: ... here.
23706 * crypt/sha512.c (sha512_process_block): Move to ...
23707 * crypt/sha512-block.c: ... here.
23708 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23709 path.
23710 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23711 * sysdeps/sparc/sparc64/multiarch/Makefile
23712 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23713 crypt subdir.
23714 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23715 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23716 multiarch changes.
23717 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23718 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23719 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23720 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23721 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23722 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23723 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23724 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23725 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23726 file.
23727 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23728 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23729 file.
23730 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23731
237322012-11-13 Joseph Myers <joseph@codesourcery.com>
23733
23734 * timezone/tzselect.ksh: Update from tzcode git revision
23735 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23736 * timezone/zdump.c: Likewise.
23737 * timezone/zic.c: Likewise.
23738 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23739 in TZVERSION setting, not $(PKGVERSION).
23740 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23741 REPORT_BUGS_TO settings.
23742
23743 [BZ #14838]
23744 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23745 macro.
23746
237472012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23748
23749 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23750 detection to immediately after _FP_ROUND().
23751 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23752 bits are 0.
23753
237542012-11-11 David S. Miller <davem@davemloft.net>
23755
23756 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23757 inttypes.h
23758 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23759 __close rather than their public counterparts.
23760
237612012-11-10 Joseph Myers <joseph@codesourcery.com>
23762
23763 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23764 file.
23765 [UNIX98] (sem_timedwait): Do not expect.
23766 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23767 [XPG4 || UNIX98] (sockatmark): Do not expect.
23768 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23769 (clock_getcpuclockid): Do not expect.
23770 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23771 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23772 Do not expect.
23773 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23774 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23775 [UNIX98] (vwscanf): Likewise.
23776 [UNIX98] (vswscanf): Likewise.
23777
237782012-11-09 Joseph Myers <joseph@codesourcery.com>
23779
23780 * timezone/version.h: Remove file.
23781 * timezone/README: Do not refer to version.h.
23782 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23783 $(objpfx)version.h.
23784 ($(objpfx)zdump.o): Likewise.
23785 ($(objpfx)version.h): New target.
23786
23787 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23788 2012i.
23789 * timezone/README: Don't mention modification to tzselect.ksh.
23790 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23791 work on unmodified tzselect.ksh. Substitute version numbers in
23792 tzselect.ksh.
23793
23794 * Makefile (format-me): Remove.
23795 (INSTALL): Adjust indentation. Use commands directly instead of
23796 using $(format-me).
23797
23798 * aclocal.m4 (ACX_PKGVERSION): New macro.
23799 (ACX_BUGURL): Likewise.
23800 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23801 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23802 (REPORT_BUGS_TO): Likewise.
23803 * configure: Regenerated.
23804 * config.h.in (PKGVERSION): New macro.
23805 (REPORT_BUGS_TO): Likewise.
23806 * config.make.in (PKGVERSION): New variable.
23807 (PKGVERSION_TEXI): Likewise.
23808 (REPORT_BUGS_TO): Likewise.
23809 (REPORT_BUGS_TEXI): Likewise.
23810 * Makefile (format-me): Use -I$(common-objpfx)manual.
23811 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23812 ($(common-objpfx)manual/%): New target.
23813 (manual/%): Remove target.
23814 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23815 (print_version): Use PKGVERSION.
23816 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23817 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23818 and REPORT_BUGS_TO.
23819 ($(objpfx)xtrace): Likewise.
23820 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23821 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23822 (print_version): Use PKGVERSION.
23823 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23824 (do_version): Use PKGVERSION.
23825 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23826 REPORT_BUGS_TO.
23827 (common-ldd-rewrite): Likewise.
23828 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23829 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23830 (print_version): Use PKGVERSION.
23831 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23832 * elf/pldd.c (argp_program_bug_address): Remove variable.
23833 (more_help): New function.
23834 (argp): Use more_help.
23835 (print_version): Use PKGVERSION.
23836 * elf/sln.c (main): Use PKGVERSION.
23837 (usage): Use REPORT_BUGS_TO.
23838 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23839 (top level): Use PKGVERSION.
23840 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23841 (print_version): Use PKGVERSION.
23842 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23843 (print_version): Use PKGVERSION.
23844 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23845 (print_version): Use PKGVERSION.
23846 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23847 (print_version): Use PKGVERSION.
23848 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23849 (print_version): Use PKGVERSION.
23850 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23851 (print_version): Use PKGVERSION.
23852 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23853 and BUGURL.
23854 ($(objpfx)memusage): Likewise.
23855 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23856 (do_version): Use PKGVERSION.
23857 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23858 (print_version): Use PKGVERSION.
23859 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23860 ($PKGVERSION): New variable.
23861 ($REPORT_BUGS_TO): Likewise.
23862 (usage): Use $REPORT_BUGS_TO.
23863 (top level): Use $PKGVERSION.
23864 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23865 ($(objpfx)pkgvers.texi): New rule.
23866 ($(objpfx)stamp-pkgvers): Likewise.
23867 * manual/install.texi: Include pkgvers.texi.
23868 (--with-pkgversion): Document new configure option.
23869 (--with-bugurl): Likewise.
23870 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23871 than necessarily for this particular distribution. Use
23872 REPORT_BUGS_TO for where to report bugs.
23873 * INSTALL: Regenerated.
23874 * manual/libc.texinfo: Include pkgvers.texi.
23875 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23876 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23877 (print_version): Use PKGVERSION.
23878 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23879 (print_version): Use PKGVERSION.
23880 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23881 (print_version): Use PKGVERSION.
23882 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23883 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23884 macro.
23885 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23886 (print_version): Use PKGVERSION.
23887 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23888 (print_version): Use PKGVERSION.
23889 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23890 and PKGVERSION.
23891
23892 * timezone/checktab.awk: Update from tzcode 2012i.
23893 * timezone/ialloc.c: Likewise.
23894 * timezone/private.h: Likewise.
23895 * timezone/scheck.c: Likewise.
23896 * timezone/tzfile.h: Likewise.
23897 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23898 (TZVERSION): Hardcode tzcode version number.
23899 * timezone/zdump.c: Update from tzcode 2012i.
23900 * timezone/zic.c: Likewise.
23901 * timezone/version.h: New file.
23902 * timezone/README: Describe version.h. Update upstream location.
23903
23904 [BZ #14824]
23905 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23906 (mktemp): Enable declaration.
23907 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23908 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23909 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23910 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23911 Likewise.
23912 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23913 Likewise.
23914 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23915 Likewise.
23916 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23917 Likewise.
23918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23919 Likewise.
23920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23921 Likewise.
23922
23923 [BZ #14821]
23924 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23925 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23926 for copies of such integer values.
23927 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23928 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23929
239302012-11-09 Andreas Jaeger <aj@suse.de>
23931
23932 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23933 definitions and declarations that are provided by
23934 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23935
239362012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23937
23938 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23939 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23940 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23941 definition.
23942
239432012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23944
23945 * elf/elf.h: Update comment before AArch64 relocations.
23946
239472012-11-07 David S. Miller <davem@davemloft.net>
23948
23949 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23950 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23951 (__start_context): Declare.
23952 (__makecontext_ret): Delete.
23953 (__makecontext): Hook up __start_context instead of
23954 __makecontext_ret.
23955 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23956 (sysdep_routines): Add __start_context when in stdlib.
23957
239582012-11-07 Joseph Myers <joseph@codesourcery.com>
23959
23960 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23961 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23962 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23963 hardcoded "nm".
23964 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23965 (READELF): New variable. Use it instead of hardcoded "readelf".
23966
239672012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23968
23969 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23970 * sysdeps/x86/Makefile: Here.
23971 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23972 * sysdeps/x86/tst-xmmymm.sh: This.
23973
239742012-11-07 Joseph Myers <joseph@codesourcery.com>
23975
23976 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23977 expectations.
23978 [UNIX98] (pthread_barrier_t): Do not expect.
23979 [UNIX98] (pthread_barrierattr_t): Likewise.
23980 [UNIX98] (pthread_spinlock_t): Likewise.
23981 [UNIX98] (pthread_barrier_destroy): Likewise.
23982 [UNIX98] (pthread_barrier_init): Likewise.
23983 [UNIX98] (pthread_barrier_wait): Likewise.
23984 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23985 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23986 [UNIX98] (pthread_barrierattr_init): Likewise.
23987 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23988 [UNIX98] (pthread_getcpuclockid): Likewise.
23989 [UNIX98] (pthread_mutex_timedlock): Likewise.
23990 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23991 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23992 [UNIX98] (pthread_sigmask): Likewise.
23993 [UNIX98] (pthread_spin_destroy): Likewise.
23994 [UNIX98] (pthread_spin_init): Likewise.
23995 [UNIX98] (pthread_spin_lock): Likewise.
23996 [UNIX98] (pthread_spin_trylock): Likewise.
23997 [UNIX98] (pthread_spin_unlock): Likewise.
23998 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23999 Do not expect.
24000 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24001 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24002 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24003 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24004 [XPG3 || XPG4] (pthread_key_t): Likewise.
24005 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24006 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24007 [XPG3 || XPG4] (pthread_once_t): Likewise.
24008 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24009 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24010 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24011 [XPG3 || XPG4] (pthread_t): Likewise.
24012
24013 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24014 not expect.
24015 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24016
24017 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24018 Change function return type to int.
24019
24020 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24021 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24022 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24023 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24024 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24025 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24026 [!POSIX] (posix_madvise): Likewise.
24027 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24028 && !UNIX98].
24029 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24030 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24031 (mode_t): Likewise.
24032 (posix_mem_offset): Likewise.
24033 (posix_typed_mem_get_info): Likewise.
24034 (posix_typed_mem_open): Likewise.
24035
24036 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24037 Change condition to [XOPEN2K8].
24038
24039 * conform/conformtest.pl: Preprocess allow-header data with -x c
24040 instead of from stdin.
24041 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24042 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24043 [C99-based standards] (cerfc): Likewise.
24044 [C99-based standards] (cexp2): Likewise.
24045 [C99-based standards] (cexpm1): Likewise.
24046 [C99-based standards] (clog10): Likewise.
24047 [C99-based standards] (clog1p): Likewise.
24048 [C99-based standards] (clog2): Likewise.
24049 [C99-based standards] (clgamma): Likewise.
24050 [C99-based standards] (ctgamma): Likewise.
24051 [C99-based standards] (cerff): Likewise.
24052 [C99-based standards] (cerfcf): Likewise.
24053 [C99-based standards] (cexp2f): Likewise.
24054 [C99-based standards] (cexpm1f): Likewise.
24055 [C99-based standards] (clog10f): Likewise.
24056 [C99-based standards] (clog1pf): Likewise.
24057 [C99-based standards] (clog2f): Likewise.
24058 [C99-based standards] (clgammaf): Likewise.
24059 [C99-based standards] (ctgammaf): Likewise.
24060 [C99-based standards] (cerfl): Likewise.
24061 [C99-based standards] (cerfcl): Likewise.
24062 [C99-based standards] (cexp2l): Likewise.
24063 [C99-based standards] (cexpm1l): Likewise.
24064 [C99-based standards] (clog10l): Likewise.
24065 [C99-based standards] (clog1pl): Likewise.
24066 [C99-based standards] (clog2l): Likewise.
24067 [C99-based standards] (clgammal): Likewise.
24068 [C99-based standards] (ctgammal): Likewise.
24069 * conform/data/inttypes.h-data [C99-based standards]: Include
24070 stdint.h-data. Remove all expectations for stdint.h contents.
24071 [C99-based standards] (PRI*): Do not allow.
24072 [C99-based standards] (SCN*): Likewise.
24073 [C99-based standards] (*_t): Likewise.
24074 [C99-based-standards] (PRId8): Expect macro.
24075 [C99-based-standards] (PRIi8): Likewise.
24076 [C99-based-standards] (PRIo8): Likewise.
24077 [C99-based-standards] (PRIu8): Likewise.
24078 [C99-based-standards] (PRIx8): Likewise.
24079 [C99-based-standards] (PRIX8): Likewise.
24080 [C99-based-standards] (SCNd8): Likewise.
24081 [C99-based-standards] (SCNi8): Likewise.
24082 [C99-based-standards] (SCNo8): Likewise.
24083 [C99-based-standards] (SCNu8): Likewise.
24084 [C99-based-standards] (SCNx8): Likewise.
24085 [C99-based-standards] (PRIdLEAST8): Likewise.
24086 [C99-based-standards] (PRIiLEAST8): Likewise.
24087 [C99-based-standards] (PRIoLEAST8): Likewise.
24088 [C99-based-standards] (PRIuLEAST8): Likewise.
24089 [C99-based-standards] (PRIxLEAST8): Likewise.
24090 [C99-based-standards] (PRIXLEAST8): Likewise.
24091 [C99-based-standards] (SCNdLEAST8): Likewise.
24092 [C99-based-standards] (SCNiLEAST8): Likewise.
24093 [C99-based-standards] (SCNoLEAST8): Likewise.
24094 [C99-based-standards] (SCNuLEAST8): Likewise.
24095 [C99-based-standards] (SCNxLEAST8): Likewise.
24096 [C99-based-standards] (PRIdFAST8): Likewise.
24097 [C99-based-standards] (PRIiFAST8): Likewise.
24098 [C99-based-standards] (PRIoFAST8): Likewise.
24099 [C99-based-standards] (PRIuFAST8): Likewise.
24100 [C99-based-standards] (PRIxFAST8): Likewise.
24101 [C99-based-standards] (PRIXFAST8): Likewise.
24102 [C99-based-standards] (SCNdFAST8): Likewise.
24103 [C99-based-standards] (SCNiFAST8): Likewise.
24104 [C99-based-standards] (SCNoFAST8): Likewise.
24105 [C99-based-standards] (SCNuFAST8): Likewise.
24106 [C99-based-standards] (SCNxFAST8): Likewise.
24107 [C99-based-standards] (PRId16): Likewise.
24108 [C99-based-standards] (PRIi16): Likewise.
24109 [C99-based-standards] (PRIo16): Likewise.
24110 [C99-based-standards] (PRIu16): Likewise.
24111 [C99-based-standards] (PRIx16): Likewise.
24112 [C99-based-standards] (PRIX16): Likewise.
24113 [C99-based-standards] (SCNd16): Likewise.
24114 [C99-based-standards] (SCNi16): Likewise.
24115 [C99-based-standards] (SCNo16): Likewise.
24116 [C99-based-standards] (SCNu16): Likewise.
24117 [C99-based-standards] (SCNx16): Likewise.
24118 [C99-based-standards] (PRIdLEAST16): Likewise.
24119 [C99-based-standards] (PRIiLEAST16): Likewise.
24120 [C99-based-standards] (PRIoLEAST16): Likewise.
24121 [C99-based-standards] (PRIuLEAST16): Likewise.
24122 [C99-based-standards] (PRIxLEAST16): Likewise.
24123 [C99-based-standards] (PRIXLEAST16): Likewise.
24124 [C99-based-standards] (SCNdLEAST16): Likewise.
24125 [C99-based-standards] (SCNiLEAST16): Likewise.
24126 [C99-based-standards] (SCNoLEAST16): Likewise.
24127 [C99-based-standards] (SCNuLEAST16): Likewise.
24128 [C99-based-standards] (SCNxLEAST16): Likewise.
24129 [C99-based-standards] (PRIdFAST16): Likewise.
24130 [C99-based-standards] (PRIiFAST16): Likewise.
24131 [C99-based-standards] (PRIoFAST16): Likewise.
24132 [C99-based-standards] (PRIuFAST16): Likewise.
24133 [C99-based-standards] (PRIxFAST16): Likewise.
24134 [C99-based-standards] (PRIXFAST16): Likewise.
24135 [C99-based-standards] (SCNdFAST16): Likewise.
24136 [C99-based-standards] (SCNiFAST16): Likewise.
24137 [C99-based-standards] (SCNoFAST16): Likewise.
24138 [C99-based-standards] (SCNuFAST16): Likewise.
24139 [C99-based-standards] (SCNxFAST16): Likewise.
24140 [C99-based-standards] (PRId32): Likewise.
24141 [C99-based-standards] (PRIi32): Likewise.
24142 [C99-based-standards] (PRIo32): Likewise.
24143 [C99-based-standards] (PRIu32): Likewise.
24144 [C99-based-standards] (PRIx32): Likewise.
24145 [C99-based-standards] (PRIX32): Likewise.
24146 [C99-based-standards] (SCNd32): Likewise.
24147 [C99-based-standards] (SCNi32): Likewise.
24148 [C99-based-standards] (SCNo32): Likewise.
24149 [C99-based-standards] (SCNu32): Likewise.
24150 [C99-based-standards] (SCNx32): Likewise.
24151 [C99-based-standards] (PRIdLEAST32): Likewise.
24152 [C99-based-standards] (PRIiLEAST32): Likewise.
24153 [C99-based-standards] (PRIoLEAST32): Likewise.
24154 [C99-based-standards] (PRIuLEAST32): Likewise.
24155 [C99-based-standards] (PRIxLEAST32): Likewise.
24156 [C99-based-standards] (PRIXLEAST32): Likewise.
24157 [C99-based-standards] (SCNdLEAST32): Likewise.
24158 [C99-based-standards] (SCNiLEAST32): Likewise.
24159 [C99-based-standards] (SCNoLEAST32): Likewise.
24160 [C99-based-standards] (SCNuLEAST32): Likewise.
24161 [C99-based-standards] (SCNxLEAST32): Likewise.
24162 [C99-based-standards] (PRIdFAST32): Likewise.
24163 [C99-based-standards] (PRIiFAST32): Likewise.
24164 [C99-based-standards] (PRIoFAST32): Likewise.
24165 [C99-based-standards] (PRIuFAST32): Likewise.
24166 [C99-based-standards] (PRIxFAST32): Likewise.
24167 [C99-based-standards] (PRIXFAST32): Likewise.
24168 [C99-based-standards] (SCNdFAST32): Likewise.
24169 [C99-based-standards] (SCNiFAST32): Likewise.
24170 [C99-based-standards] (SCNoFAST32): Likewise.
24171 [C99-based-standards] (SCNuFAST32): Likewise.
24172 [C99-based-standards] (SCNxFAST32): Likewise.
24173 [C99-based-standards] (PRId64): Likewise.
24174 [C99-based-standards] (PRIi64): Likewise.
24175 [C99-based-standards] (PRIo64): Likewise.
24176 [C99-based-standards] (PRIu64): Likewise.
24177 [C99-based-standards] (PRIx64): Likewise.
24178 [C99-based-standards] (PRIX64): Likewise.
24179 [C99-based-standards] (SCNd64): Likewise.
24180 [C99-based-standards] (SCNi64): Likewise.
24181 [C99-based-standards] (SCNo64): Likewise.
24182 [C99-based-standards] (SCNu64): Likewise.
24183 [C99-based-standards] (SCNx64): Likewise.
24184 [C99-based-standards] (PRIdLEAST64): Likewise.
24185 [C99-based-standards] (PRIiLEAST64): Likewise.
24186 [C99-based-standards] (PRIoLEAST64): Likewise.
24187 [C99-based-standards] (PRIuLEAST64): Likewise.
24188 [C99-based-standards] (PRIxLEAST64): Likewise.
24189 [C99-based-standards] (PRIXLEAST64): Likewise.
24190 [C99-based-standards] (SCNdLEAST64): Likewise.
24191 [C99-based-standards] (SCNiLEAST64): Likewise.
24192 [C99-based-standards] (SCNoLEAST64): Likewise.
24193 [C99-based-standards] (SCNuLEAST64): Likewise.
24194 [C99-based-standards] (SCNxLEAST64): Likewise.
24195 [C99-based-standards] (PRIdFAST64): Likewise.
24196 [C99-based-standards] (PRIiFAST64): Likewise.
24197 [C99-based-standards] (PRIoFAST64): Likewise.
24198 [C99-based-standards] (PRIuFAST64): Likewise.
24199 [C99-based-standards] (PRIxFAST64): Likewise.
24200 [C99-based-standards] (PRIXFAST64): Likewise.
24201 [C99-based-standards] (SCNdFAST64): Likewise.
24202 [C99-based-standards] (SCNiFAST64): Likewise.
24203 [C99-based-standards] (SCNoFAST64): Likewise.
24204 [C99-based-standards] (SCNuFAST64): Likewise.
24205 [C99-based-standards] (SCNxFAST64): Likewise.
24206 [C99-based-standards] (PRIdMAX): Likewise.
24207 [C99-based-standards] (PRIiMAX): Likewise.
24208 [C99-based-standards] (PRIoMAX): Likewise.
24209 [C99-based-standards] (PRIuMAX): Likewise.
24210 [C99-based-standards] (PRIxMAX): Likewise.
24211 [C99-based-standards] (PRIXMAX): Likewise.
24212 [C99-based-standards] (SCNdMAX): Likewise.
24213 [C99-based-standards] (SCNiMAX): Likewise.
24214 [C99-based-standards] (SCNoMAX): Likewise.
24215 [C99-based-standards] (SCNuMAX): Likewise.
24216 [C99-based-standards] (SCNxMAX): Likewise.
24217 [C99-based-standards] (PRIdPTR): Likewise.
24218 [C99-based-standards] (PRIiPTR): Likewise.
24219 [C99-based-standards] (PRIoPTR): Likewise.
24220 [C99-based-standards] (PRIuPTR): Likewise.
24221 [C99-based-standards] (PRIxPTR): Likewise.
24222 [C99-based-standards] (PRIXPTR): Likewise.
24223 [C99-based-standards] (SCNdPTR): Likewise.
24224 [C99-based-standards] (SCNiPTR): Likewise.
24225 [C99-based-standards] (SCNoPTR): Likewise.
24226 [C99-based-standards] (SCNuPTR): Likewise.
24227 [C99-based-standards] (SCNxPTR): Likewise.
24228 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24229 allow.
24230 * conform/data/stdint.h-data: Update comments to clarify
24231 requirements.
24232 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24233 type.
24234 [C99-based standards] (INT8_MAX): Likewise.
24235 [C99-based standards] (INT16_MIN): Likewise.
24236 [C99-based standards] (INT16_MAX): Likewise.
24237 [C99-based standards] (INT32_MIN): Likewise.
24238 [C99-based standards] (INT32_MAX): Likewise.
24239 [C99-based standards] (INT64_MIN): Likewise.
24240 [C99-based standards] (INT64_MAX): Likewise.
24241 [C99-based standards] (UINT8_MAX): Likewise.
24242 [C99-based standards] (UINT16_MAX): Likewise.
24243 [C99-based standards] (UINT32_MAX): Likewise.
24244 [C99-based standards] (UINT64_MAX): Likewise.
24245 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24246 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24247 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24248 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24249 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24250 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24251 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24252 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24253 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24254 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24255 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24256 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24257 [C99-based standards] (INT_FAST8_MIN): Likewise.
24258 [C99-based standards] (INT_FAST8_MAX): Likewise.
24259 [C99-based standards] (INT_FAST16_MIN): Likewise.
24260 [C99-based standards] (INT_FAST16_MAX): Likewise.
24261 [C99-based standards] (INT_FAST32_MIN): Likewise.
24262 [C99-based standards] (INT_FAST32_MAX): Likewise.
24263 [C99-based standards] (INT_FAST64_MIN): Likewise.
24264 [C99-based standards] (INT_FAST64_MAX): Likewise.
24265 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24266 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24267 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24268 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24269 [C99-based standards] (INTPTR_MIN): Likewise.
24270 [C99-based standards] (INTPTR_MAX): Likewise.
24271 [C99-based standards] (UINTPTR_MAX): Likewise.
24272 [C99-based standards] (INTMAX_MIN): Likewise.
24273 [C99-based standards] (INTMAX_MAX): Likewise.
24274 [C99-based standards] (UINTMAX_MAX): Likewise.
24275 [C99-based standards] (PTRDIFF_MIN): Likewise.
24276 [C99-based standards] (PTRDIFF_MAX): Likewise.
24277 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24278 [C99-based standards] (SIZE_MAX): Likewise.
24279 [C99-based standards] (WCHAR_MAX): Likewise.
24280 [C99-based standards] (WINT_MAX): Likewise.
24281 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24282 constraint on value.
24283 [C99-based standards] (WCHAR_MIN): Likewise.
24284 [C99-based standards] (WINT_MIN): Likewise.
24285 [C99-based standards] (*_t): Allow.
24286 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24287 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24288 Include math.h-data and complex.h-data. Remove all expectations
24289 of math.h and complex.h contents.
24290 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24291 at end of line.
24292 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24293 (struct tm): Expect tag.
24294 [C99-based-standards] (wcstof): Expect function.
24295 [C99-based-standards] (wcstold): Likewise.
24296 [C99-based-standards] (wcstoll): Likewise.
24297 [C99-based-standards] (wcstoull): Likewise.
24298 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24299 macro-int-constant. Specify type.
24300 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24301 constraint on value.
24302 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24303 Specify type.
24304 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24305 Specify value.
24306 [ISO C standards]: Do not allow headers.
24307 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24308 wcs[abcdefghijklmnopqrstuvwxyz]*.
24309 [ISO C standards] (*_t): Do not allow.
24310 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24311 Expect function.
24312 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24313 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24314 Specify type.
24315 [ISO C standards]: Do not allow headers.
24316 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24317 is[abcdefghijklmnopqrstuvwxyz]*.
24318 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24319 to[abcdefghijklmnopqrstuvwxyz]*.
24320 [ISO C standards] (*_t): Do not allow.
24321 * conform/data/stdalign.h-data: New file.
24322 * conform/data/stdbool.h-data: Likewise.
24323 * conform/data/stdnoreturn.h-data: Likewise.
24324
243252012-11-07 Roland McGrath <roland@hack.frob.com>
24326
24327 [BZ #14815]
24328 * manual/filesys.texi (Directory Entries): Typo fix.
24329 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24330
243312012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24332
24333 * elf/elf.h (EM_AARCH64): New macro.
24334 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24335 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24336 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24337 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24338 (R_AARCH64_TLSDESC): Likewise.
24339 (NT_ARM_TLS): Likewise.
24340 (NT_ARM_HW_BREAK): Likewise.
24341 (NT_ARM_HW_WATCH): Likewise.
24342
243432012-11-07 Joseph Myers <joseph@codesourcery.com>
24344
24345 [BZ #14811]
24346 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24347 (__ieee754_powl): Saturate nonzero exponents with absolute value
24348 below 0x1p-79 to +/- 0x1p-79.
24349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24350 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24351 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24352 nonzero exponents with absolute value below 0x1p-32 to +/-
24353 0x1p-32.
24354 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24355 (__ieee754_powl): Saturate nonzero exponents with absolute value
24356 below 0x1p-79 to +/- 0x1p-79.
24357 * math/libm-test.inc (pow_test): Add more tests.
24358
243592012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24360
24361 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24362 _dl_s390_cap_flags with kernel. Increase string length.
24363 (_dl_s390_platforms): Add z196 and zEC12.
24364
243652012-11-07 Joseph Myers <joseph@codesourcery.com>
24366
24367 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24368 Change XOPEN21K to XOPEN2K.
24369
243702012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24371
24372 * string/memmove.c: Use memcpy when possible.
24373
243742012-11-06 Andreas Jaeger <aj@suse.de>
24375
24376 * po/eo.po: Update from translation team.
24377
243782012-11-06 Joseph Myers <joseph@codesourcery.com>
24379
24380 [BZ #14793]
24381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24382 exponent and small x and y exponents, scale x or y up. Increase
24383 by 2 the exponent used in scaling up.
24384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24385 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24386 * math/libm-test.inc (fma_test): Add more tests.
24387 (fma_test_towardzero): Likewise.
24388 (fma_test_downward): Likewise.
24389 (fma_test_upward): Likewise.
24390
243912012-11-05 Joseph Myers <joseph@codesourcery.com>
24392
24393 [BZ #14805]
24394 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24395 fenv_t *.
24396
24397 [BZ #14801]
24398 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24399 namespace for names of struct fields.
24400 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24401 fenv_t fields.
24402 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24403 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24404
244052012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24406
24407 [BZ #3665]
24408 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24409
244102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24411
24412 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24413 PTR_DEMANGLE.
24414
24415 [BZ #5246]
24416 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24417 PTR_DEMANGLE.
24418
244192012-11-04 Joseph Myers <joseph@codesourcery.com>
24420
24421 [BZ #14797]
24422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24423 definitely overflow as x * y not x * y + z.
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.
24430
244312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24432
24433 [BZ #157]
24434
24435 * include/stub-tag.h: Remove file.
24436 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24437 '#include' of it.
24438 * manual/maint.texi (Porting): Don't reference it.
24439 * Makerules ($(objpfx)stubs): Likewise.
24440 * dirent/closedir.c: Don't include <stub-tag.h>.
24441 * dirent/dirfd.c: Likewise.
24442 * dirent/fdopendir.c: Likewise.
24443 * dirent/getdents.c: Likewise.
24444 * dirent/getdents64.c: Likewise.
24445 * dirent/opendir.c: Likewise.
24446 * dirent/readdir.c: Likewise.
24447 * dirent/readdir64.c: Likewise.
24448 * dirent/readdir64_r.c: Likewise.
24449 * dirent/readdir_r.c: Likewise.
24450 * dirent/rewinddir.c: Likewise.
24451 * dirent/seekdir.c: Likewise.
24452 * dirent/telldir.c: Likewise.
24453 * gmon/profil.c: Likewise.
24454 * grp/setgroups.c: Likewise.
24455 * inet/if_index.c: Likewise.
24456 * io/access.c: Likewise.
24457 * io/chdir.c: Likewise.
24458 * io/chmod.c: Likewise.
24459 * io/chown.c: Likewise.
24460 * io/close.c: Likewise.
24461 * io/dup.c: Likewise.
24462 * io/dup2.c: Likewise.
24463 * io/dup3.c: Likewise.
24464 * io/euidaccess.c: Likewise.
24465 * io/faccessat.c: Likewise.
24466 * io/fchdir.c: Likewise.
24467 * io/fchmod.c: Likewise.
24468 * io/fchmodat.c: Likewise.
24469 * io/fchown.c: Likewise.
24470 * io/fchownat.c: Likewise.
24471 * io/fcntl.c: Likewise.
24472 * io/flock.c: Likewise.
24473 * io/fstatfs.c: Likewise.
24474 * io/fstatfs64.c: Likewise.
24475 * io/fstatvfs.c: Likewise.
24476 * io/fstatvfs64.c: Likewise.
24477 * io/futimens.c: Likewise.
24478 * io/fxstat.c: Likewise.
24479 * io/fxstat64.c: Likewise.
24480 * io/fxstatat.c: Likewise.
24481 * io/fxstatat64.c: Likewise.
24482 * io/getcwd.c: Likewise.
24483 * io/isatty.c: Likewise.
24484 * io/lchmod.c: Likewise.
24485 * io/lchown.c: Likewise.
24486 * io/link.c: Likewise.
24487 * io/linkat.c: Likewise.
24488 * io/lseek.c: Likewise.
24489 * io/lseek64.c: Likewise.
24490 * io/lxstat64.c: Likewise.
24491 * io/mkdir.c: Likewise.
24492 * io/mkdirat.c: Likewise.
24493 * io/mkfifo.c: Likewise.
24494 * io/mkfifoat.c: Likewise.
24495 * io/open.c: Likewise.
24496 * io/open64.c: Likewise.
24497 * io/openat.c: Likewise.
24498 * io/openat64.c: Likewise.
24499 * io/pipe.c: Likewise.
24500 * io/pipe2.c: Likewise.
24501 * io/poll.c: Likewise.
24502 * io/posix_fadvise.c: Likewise.
24503 * io/posix_fadvise64.c: Likewise.
24504 * io/posix_fallocate.c: Likewise.
24505 * io/posix_fallocate64.c: Likewise.
24506 * io/read.c: Likewise.
24507 * io/readlink.c: Likewise.
24508 * io/readlinkat.c: Likewise.
24509 * io/rmdir.c: Likewise.
24510 * io/sendfile.c: Likewise.
24511 * io/sendfile64.c: Likewise.
24512 * io/statfs.c: Likewise.
24513 * io/statfs64.c: Likewise.
24514 * io/statvfs.c: Likewise.
24515 * io/statvfs64.c: Likewise.
24516 * io/symlink.c: Likewise.
24517 * io/symlinkat.c: Likewise.
24518 * io/ttyname.c: Likewise.
24519 * io/ttyname_r.c: Likewise.
24520 * io/umask.c: Likewise.
24521 * io/unlink.c: Likewise.
24522 * io/unlinkat.c: Likewise.
24523 * io/utime.c: Likewise.
24524 * io/utimensat.c: Likewise.
24525 * io/write.c: Likewise.
24526 * io/xmknod.c: Likewise.
24527 * io/xmknodat.c: Likewise.
24528 * io/xstat.c: Likewise.
24529 * io/xstat64.c: Likewise.
24530 * login/getpt.c: Likewise.
24531 * login/grantpt.c: Likewise.
24532 * login/unlockpt.c: Likewise.
24533 * math/e_acoshl.c: Likewise.
24534 * math/e_acosl.c: Likewise.
24535 * math/e_asinl.c: Likewise.
24536 * math/e_atan2l.c: Likewise.
24537 * math/e_atanhl.c: Likewise.
24538 * math/e_coshl.c: Likewise.
24539 * math/e_expl.c: Likewise.
24540 * math/e_fmodl.c: Likewise.
24541 * math/e_gammal_r.c: Likewise.
24542 * math/e_hypotl.c: Likewise.
24543 * math/e_j0l.c: Likewise.
24544 * math/e_j1l.c: Likewise.
24545 * math/e_jnl.c: Likewise.
24546 * math/e_lgammal_r.c: Likewise.
24547 * math/e_log10l.c: Likewise.
24548 * math/e_log2l.c: Likewise.
24549 * math/e_logl.c: Likewise.
24550 * math/e_powl.c: Likewise.
24551 * math/e_rem_pio2l.c: Likewise.
24552 * math/e_sinhl.c: Likewise.
24553 * math/e_sqrtl.c: Likewise.
24554 * math/fclrexcpt.c: Likewise.
24555 * math/fedisblxcpt.c: Likewise.
24556 * math/feenablxcpt.c: Likewise.
24557 * math/fegetenv.c: Likewise.
24558 * math/fegetexcept.c: Likewise.
24559 * math/fegetround.c: Likewise.
24560 * math/feholdexcpt.c: Likewise.
24561 * math/fesetenv.c: Likewise.
24562 * math/fesetround.c: Likewise.
24563 * math/feupdateenv.c: Likewise.
24564 * math/fgetexcptflg.c: Likewise.
24565 * math/fraiseexcpt.c: Likewise.
24566 * math/fsetexcptflg.c: Likewise.
24567 * math/ftestexcept.c: Likewise.
24568 * math/k_cosl.c: Likewise.
24569 * math/k_rem_pio2l.c: Likewise.
24570 * math/k_sinl.c: Likewise.
24571 * math/k_tanl.c: Likewise.
24572 * math/s_asinhl.c: Likewise.
24573 * math/s_atanl.c: Likewise.
24574 * math/s_cbrtl.c: Likewise.
24575 * math/s_erfl.c: Likewise.
24576 * math/s_expm1l.c: Likewise.
24577 * math/s_log1pl.c: Likewise.
24578 * math/s_tanhl.c: Likewise.
24579 * misc/acct.c: Likewise.
24580 * misc/brk.c: Likewise.
24581 * misc/chflags.c: Likewise.
24582 * misc/chroot.c: Likewise.
24583 * misc/fchflags.c: Likewise.
24584 * misc/fgetxattr.c: Likewise.
24585 * misc/flistxattr.c: Likewise.
24586 * misc/fremovexattr.c: Likewise.
24587 * misc/fsetxattr.c: Likewise.
24588 * misc/fsync.c: Likewise.
24589 * misc/ftruncate.c: Likewise.
24590 * misc/futimes.c: Likewise.
24591 * misc/futimesat.c: Likewise.
24592 * misc/getdomain.c: Likewise.
24593 * misc/getdtsz.c: Likewise.
24594 * misc/gethostid.c: Likewise.
24595 * misc/gethostname.c: Likewise.
24596 * misc/getloadavg.c: Likewise.
24597 * misc/getpagesize.c: Likewise.
24598 * misc/getsysstats.c: Likewise.
24599 * misc/getxattr.c: Likewise.
24600 * misc/gtty.c: Likewise.
24601 * misc/ioctl.c: Likewise.
24602 * misc/lgetxattr.c: Likewise.
24603 * misc/listxattr.c: Likewise.
24604 * misc/llistxattr.c: Likewise.
24605 * misc/lremovexattr.c: Likewise.
24606 * misc/lsetxattr.c: Likewise.
24607 * misc/lutimes.c: Likewise.
24608 * misc/madvise.c: Likewise.
24609 * misc/mincore.c: Likewise.
24610 * misc/mlock.c: Likewise.
24611 * misc/mlockall.c: Likewise.
24612 * misc/mmap.c: Likewise.
24613 * misc/mprotect.c: Likewise.
24614 * misc/msync.c: Likewise.
24615 * misc/munlock.c: Likewise.
24616 * misc/munlockall.c: Likewise.
24617 * misc/munmap.c: Likewise.
24618 * misc/preadv.c: Likewise.
24619 * misc/preadv64.c: Likewise.
24620 * misc/ptrace.c: Likewise.
24621 * misc/pwritev.c: Likewise.
24622 * misc/pwritev64.c: Likewise.
24623 * misc/readv.c: Likewise.
24624 * misc/reboot.c: Likewise.
24625 * misc/remap_file_pages.c: Likewise.
24626 * misc/removexattr.c: Likewise.
24627 * misc/revoke.c: Likewise.
24628 * misc/select.c: Likewise.
24629 * misc/setdomain.c: Likewise.
24630 * misc/setegid.c: Likewise.
24631 * misc/seteuid.c: Likewise.
24632 * misc/sethostid.c: Likewise.
24633 * misc/sethostname.c: Likewise.
24634 * misc/setregid.c: Likewise.
24635 * misc/setreuid.c: Likewise.
24636 * misc/setxattr.c: Likewise.
24637 * misc/sstk.c: Likewise.
24638 * misc/stty.c: Likewise.
24639 * misc/swapoff.c: Likewise.
24640 * misc/swapon.c: Likewise.
24641 * misc/sync.c: Likewise.
24642 * misc/syncfs.c: Likewise.
24643 * misc/syscall.c: Likewise.
24644 * misc/truncate.c: Likewise.
24645 * misc/ualarm.c: Likewise.
24646 * misc/usleep.c: Likewise.
24647 * misc/ustat.c: Likewise.
24648 * misc/utimes.c: Likewise.
24649 * misc/vhangup.c: Likewise.
24650 * misc/writev.c: Likewise.
24651 * posix/_exit.c: Likewise.
24652 * posix/alarm.c: Likewise.
24653 * posix/execve.c: Likewise.
24654 * posix/fexecve.c: Likewise.
24655 * posix/fork.c: Likewise.
24656 * posix/fpathconf.c: Likewise.
24657 * posix/getaddrinfo.c: Likewise.
24658 * posix/getegid.c: Likewise.
24659 * posix/geteuid.c: Likewise.
24660 * posix/getgid.c: Likewise.
24661 * posix/getgroups.c: Likewise.
24662 * posix/getlogin.c: Likewise.
24663 * posix/getlogin_r.c: Likewise.
24664 * posix/getpgid.c: Likewise.
24665 * posix/getpid.c: Likewise.
24666 * posix/getppid.c: Likewise.
24667 * posix/getresgid.c: Likewise.
24668 * posix/getresuid.c: Likewise.
24669 * posix/getsid.c: Likewise.
24670 * posix/getuid.c: Likewise.
24671 * posix/glob64.c: Likewise.
24672 * posix/nanosleep.c: Likewise.
24673 * posix/pathconf.c: Likewise.
24674 * posix/pause.c: Likewise.
24675 * posix/posix_madvise.c: Likewise.
24676 * posix/pread.c: Likewise.
24677 * posix/pread64.c: Likewise.
24678 * posix/pwrite.c: Likewise.
24679 * posix/pwrite64.c: Likewise.
24680 * posix/sched_getaffinity.c: Likewise.
24681 * posix/sched_getp.c: Likewise.
24682 * posix/sched_gets.c: Likewise.
24683 * posix/sched_primax.c: Likewise.
24684 * posix/sched_primin.c: Likewise.
24685 * posix/sched_rr_gi.c: Likewise.
24686 * posix/sched_setaffinity.c: Likewise.
24687 * posix/sched_setp.c: Likewise.
24688 * posix/sched_sets.c: Likewise.
24689 * posix/sched_yield.c: Likewise.
24690 * posix/setgid.c: Likewise.
24691 * posix/setlogin.c: Likewise.
24692 * posix/setpgid.c: Likewise.
24693 * posix/setresgid.c: Likewise.
24694 * posix/setresuid.c: Likewise.
24695 * posix/setsid.c: Likewise.
24696 * posix/setuid.c: Likewise.
24697 * posix/sleep.c: Likewise.
24698 * posix/spawni.c: Likewise.
24699 * posix/sysconf.c: Likewise.
24700 * posix/times.c: Likewise.
24701 * posix/wait.c: Likewise.
24702 * posix/wait3.c: Likewise.
24703 * posix/wait4.c: Likewise.
24704 * posix/waitpid.c: Likewise.
24705 * resolv/gai_sigqueue.c: Likewise.
24706 * resource/getpriority.c: Likewise.
24707 * resource/getrlimit.c: Likewise.
24708 * resource/getrusage.c: Likewise.
24709 * resource/nice.c: Likewise.
24710 * resource/setpriority.c: Likewise.
24711 * resource/setrlimit.c: Likewise.
24712 * resource/ulimit.c: Likewise.
24713 * rt/aio_cancel.c: Likewise.
24714 * rt/aio_fsync.c: Likewise.
24715 * rt/aio_read.c: Likewise.
24716 * rt/aio_sigqueue.c: Likewise.
24717 * rt/aio_suspend.c: Likewise.
24718 * rt/aio_write.c: Likewise.
24719 * rt/clock_getres.c: Likewise.
24720 * rt/clock_gettime.c: Likewise.
24721 * rt/clock_nanosleep.c: Likewise.
24722 * rt/clock_settime.c: Likewise.
24723 * rt/lio_listio.c: Likewise.
24724 * rt/mq_close.c: Likewise.
24725 * rt/mq_getattr.c: Likewise.
24726 * rt/mq_notify.c: Likewise.
24727 * rt/mq_open.c: Likewise.
24728 * rt/mq_receive.c: Likewise.
24729 * rt/mq_send.c: Likewise.
24730 * rt/mq_setattr.c: Likewise.
24731 * rt/mq_timedreceive.c: Likewise.
24732 * rt/mq_timedsend.c: Likewise.
24733 * rt/mq_unlink.c: Likewise.
24734 * rt/shm_open.c: Likewise.
24735 * rt/shm_unlink.c: Likewise.
24736 * rt/timer_create.c: Likewise.
24737 * rt/timer_delete.c: Likewise.
24738 * rt/timer_getoverr.c: Likewise.
24739 * rt/timer_gettime.c: Likewise.
24740 * rt/timer_settime.c: Likewise.
24741 * setjmp/__longjmp.c: Likewise.
24742 * setjmp/setjmp.c: Likewise.
24743 * signal/kill.c: Likewise.
24744 * signal/killpg.c: Likewise.
24745 * signal/raise.c: Likewise.
24746 * signal/sigaction.c: Likewise.
24747 * signal/sigaltstack.c: Likewise.
24748 * signal/sigblock.c: Likewise.
24749 * signal/sigignore.c: Likewise.
24750 * signal/sigintr.c: Likewise.
24751 * signal/signal.c: Likewise.
24752 * signal/sigpause.c: Likewise.
24753 * signal/sigpending.c: Likewise.
24754 * signal/sigqueue.c: Likewise.
24755 * signal/sigreturn.c: Likewise.
24756 * signal/sigset.c: Likewise.
24757 * signal/sigsetmask.c: Likewise.
24758 * signal/sigstack.c: Likewise.
24759 * signal/sigsuspend.c: Likewise.
24760 * signal/sigtimedwait.c: Likewise.
24761 * signal/sigvec.c: Likewise.
24762 * signal/sigwait.c: Likewise.
24763 * signal/sigwaitinfo.c: Likewise.
24764 * signal/sysv_signal.c: Likewise.
24765 * socket/accept.c: Likewise.
24766 * socket/accept4.c: Likewise.
24767 * socket/bind.c: Likewise.
24768 * socket/connect.c: Likewise.
24769 * socket/getpeername.c: Likewise.
24770 * socket/getsockname.c: Likewise.
24771 * socket/getsockopt.c: Likewise.
24772 * socket/isfdtype.c: Likewise.
24773 * socket/listen.c: Likewise.
24774 * socket/recv.c: Likewise.
24775 * socket/recvfrom.c: Likewise.
24776 * socket/recvmsg.c: Likewise.
24777 * socket/send.c: Likewise.
24778 * socket/sendmsg.c: Likewise.
24779 * socket/sendto.c: Likewise.
24780 * socket/setsockopt.c: Likewise.
24781 * socket/shutdown.c: Likewise.
24782 * socket/sockatmark.c: Likewise.
24783 * socket/socket.c: Likewise.
24784 * socket/socketpair.c: Likewise.
24785 * stdio-common/ctermid.c: Likewise.
24786 * stdio-common/cuserid.c: Likewise.
24787 * stdio-common/remove.c: Likewise.
24788 * stdio-common/rename.c: Likewise.
24789 * stdio-common/renameat.c: Likewise.
24790 * stdio-common/tempname.c: Likewise.
24791 * stdlib/getcontext.c: Likewise.
24792 * stdlib/makecontext.c: Likewise.
24793 * stdlib/setcontext.c: Likewise.
24794 * stdlib/swapcontext.c: Likewise.
24795 * stdlib/system.c: Likewise.
24796 * streams/fattach.c: Likewise.
24797 * streams/fdetach.c: Likewise.
24798 * streams/getmsg.c: Likewise.
24799 * streams/getpmsg.c: Likewise.
24800 * streams/putmsg.c: Likewise.
24801 * streams/putpmsg.c: Likewise.
24802 * sysdeps/unix/bsd/getpt.c: Likewise.
24803 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24804 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24805 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24807 Likewise.
24808 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24809 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24810 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24811 * sysvipc/msgctl.c: Likewise.
24812 * sysvipc/msgget.c: Likewise.
24813 * sysvipc/msgrcv.c: Likewise.
24814 * sysvipc/msgsnd.c: Likewise.
24815 * sysvipc/semctl.c: Likewise.
24816 * sysvipc/semget.c: Likewise.
24817 * sysvipc/semop.c: Likewise.
24818 * sysvipc/semtimedop.c: Likewise.
24819 * sysvipc/shmat.c: Likewise.
24820 * sysvipc/shmctl.c: Likewise.
24821 * sysvipc/shmdt.c: Likewise.
24822 * sysvipc/shmget.c: Likewise.
24823 * termios/tcdrain.c: Likewise.
24824 * termios/tcflow.c: Likewise.
24825 * termios/tcflush.c: Likewise.
24826 * termios/tcgetattr.c: Likewise.
24827 * termios/tcgetpgrp.c: Likewise.
24828 * termios/tcsendbrk.c: Likewise.
24829 * termios/tcsetattr.c: Likewise.
24830 * termios/tcsetpgrp.c: Likewise.
24831 * time/adjtime.c: Likewise.
24832 * time/clock.c: Likewise.
24833 * time/getitimer.c: Likewise.
24834 * time/gettimeofday.c: Likewise.
24835 * time/setitimer.c: Likewise.
24836 * time/settimeofday.c: Likewise.
24837 * time/stime.c: Likewise.
24838 * time/time.c: Likewise.
24839
248402012-11-04 Pino Toscano <toscano.pino@tiscali.it>
24841
24842 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24843 /usr/old/bin.
24844
24845 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24846 instead of spaces.
24847 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24848
248492012-11-03 Joseph Myers <joseph@codesourcery.com>
24850
24851 [BZ #14796]
24852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24853 FE_TONEAREST before applying Dekker multiplication and Knuth
24854 addition. Clear inexact exceptions and check for exact zero
24855 results afterwards.
24856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24857 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24859 * math/libm-test.inc (fma_test): Add more tests.
24860 (fma_test_towardzero): Likewise.
24861 (fma_test_downward): Likewise.
24862 (fma_test_upward): Likewise.
24863 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24864 function.
24865 (libc_fesetround): New macro.
24866 (libc_fesetroundf): Likewise.
24867 (libc_fesetroundl): Likewise.
24868 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24869 function.
24870 (libc_fesetround_387): Likewise.
24871 (libc_fesetroundf): New macro.
24872 (libc_fesetround): Likewise.
24873 (libc_fesetroundl): Likewise.
24874 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24875 function.
24876 (libc_fesetroundf): New macro.
24877 (libc_fesetround): Likewise.
24878 (libc_fesetroundl): Likewise.
24879 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24880 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24881 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24882 libm_hidden_ver.
24883 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24884 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24885 libm_hidden_def.
24886 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24887 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24888 libm_hidden_ver.
24889 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24890 libm_hidden_def.
24891
24892 [BZ #3439]
24893 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24894 integer constant usable in #if and use that to give value to enum
24895 constant.
24896 (FE_DIVBYZERO): Likewise.
24897 (FE_UNDERFLOW): Likewise.
24898 (FE_OVERFLOW): Likewise.
24899 (FE_INVALID): Likewise.
24900 (FE_INVALID_SNAN): Likewise.
24901 (FE_INVALID_ISI): Likewise.
24902 (FE_INVALID_IDI): Likewise.
24903 (FE_INVALID_ZDZ): Likewise.
24904 (FE_INVALID_IMZ): Likewise.
24905 (FE_INVALID_COMPARE): Likewise.
24906 (FE_INVALID_SOFTWARE): Likewise.
24907 (FE_INVALID_SQRT): Likewise.
24908 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24909 (FE_TONEAREST): Likewise.
24910 (FE_TOWARDZERO): Likewise.
24911 (FE_UPWARD): Likewise.
24912 (FE_DOWNWARD): Likewise.
24913 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24914 (FE_DIVBYZERO): Likewise.
24915 (FE_OVERFLOW): Likewise.
24916 (FE_UNDERFLOW): Likewise.
24917 (FE_INEXACT): Likewise.
24918 (FE_TONEAREST): Likewise.
24919 (FE_DOWNWARD): Likewise.
24920 (FE_UPWARD): Likewise.
24921 (FE_TOWARDZERO): Likewise.
24922 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24923 (FE_UNDERFLOW): Likewise.
24924 (FE_OVERFLOW): Likewise.
24925 (FE_DIVBYZERO): Likewise.
24926 (FE_INVALID): Likewise.
24927 (FE_TONEAREST): Likewise.
24928 (FE_TOWARDZERO): Likewise.
24929 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24930 (FE_OVERFLOW): Likewise.
24931 (FE_UNDERFLOW): Likewise.
24932 (FE_DIVBYZERO): Likewise.
24933 (FE_INEXACT): Likewise.
24934 (FE_TONEAREST): Likewise.
24935 (FE_TOWARDZERO): Likewise.
24936 (FE_UPWARD): Likewise.
24937 (FE_DOWNWARD): Likewise.
24938 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24939 (FE_DIVBYZERO): Likewise.
24940 (FE_OVERFLOW): Likewise.
24941 (FE_UNDERFLOW): Likewise.
24942 (FE_INEXACT): Likewise.
24943 (FE_TONEAREST): Likewise.
24944 (FE_DOWNWARD): Likewise.
24945 (FE_UPWARD): Likewise.
24946 (FE_TOWARDZERO): Likewise.
24947
249482012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24949
24950 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24951
249522012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24953
24954 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24955 commands. Quote $PWD.
24956 (blacklist_exports): Don't use remove_newlines. Replace "declare
24957 -x" by "export".
24958 (remove_newlines): Remove.
24959
249602012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24961
24962 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24963 * stdlib/stdlib.h (atof): Moved to ...
24964 * include/bits/stdlib-float.h: Here. New file.
24965 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24966 * stdlib/bits/stdlib-float.h: New file.
24967 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24968 -mno-sse -mno-mmx.
24969 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24970 <xmmintrin.h>.
24971
249722012-11-02 Joseph Myers <joseph@codesourcery.com>
24973
24974 * conform/conformtest.pl (@headers): Add fenv.h.
24975 * conform/data/fenv.h-data: New file.
24976 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24977 include of <math/fenv.h>.
24978
24979 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24980 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24981 && !UNIX98]. Enables tests for XOPEN2K8.
24982 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24983 POSIX2008]: Likewise.
24984
24985 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24986 (struct rusage): Do not expect type or its members.
24987
24988 [BZ #3439]
24989 * math/math.h (FP_NAN): Define macro to integer constant usable in
24990 #if and use that to give value to enum constant.
24991 (FP_INFINITE): Likewise.
24992 (FP_ZERO): Likewise.
24993 (FP_SUBNORMAL): Likewise.
24994 (FP_NORMAL): Likewise.
24995
249962012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24997
24998 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24999 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25000 arguments.
25001
250022012-11-02 Roland McGrath <roland@hack.frob.com>
25003
25004 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25005 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25006 autoconf-time if not.
25007 * configure.in: Remove AC_PREREQ.
25008
250092012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25010
25011 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25012 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25013 of the internal implementation.
25014
250152012-11-02 Joseph Myers <joseph@codesourcery.com>
25016
25017 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25018 except include of <misc/sys/syslog.h>.
25019
250202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25021
25022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25023 function returns with a NULL context exit with zero.
25024
250252012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25026
25027 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25028
250292012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25030
25031 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25032 (run_program_cmd): This.
25033 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25034 (tst_langinfo): New variable. Use it.
25035
250362012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25037
25038 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25039 floating point opcodes.
25040
250412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25042
25043 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25044 variable.
25045
25046 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25047
25048 * sysdeps/mach/hurd/powerpc: Remove directory.
25049 * sysdeps/mach/powerpc: Likewise.
25050
250512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25052
25053 * scripts/check-local-headers.sh: Ignore c++ headers.
25054
250552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25056
25057 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25058 __libc_cleanup_region_start argument.
25059
250602012-11-01 Joseph Myers <joseph@codesourcery.com>
25061
25062 [BZ #14784]
25063 [BZ #14785]
25064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25065 x * y using scaling, not as x * y + z.
25066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25067 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25068 * math/libm-test.inc (fma_test): Add more tests.
25069 (fma_test_towardzero): Likewise.
25070 (fma_test_downward): Likewise.
25071 (fma_test_upward): Likewise.
25072
250732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25074
25075 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25076
250772012-10-31 Joseph Myers <joseph@codesourcery.com>
25078
25079 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25080 New variable.
25081
250822012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25083
25084 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25085
250862012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25087
25088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25089 Fix sort order.
25090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25091 Likewise.
25092
250932012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25094
25095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25096 Fix the order of the list for glibc 2.17.
25097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25098 Likewise.
25099
251002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25101
25102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25103
251042012-10-31 Joseph Myers <joseph@codesourcery.com>
25105
25106 [BZ #14610]
25107 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25108 for low part of x being zero before using __atanl (y).
25109 * math/libm-test.inc (atan2_test): Add another test.
25110
25111 * manual/install.texi (Configuring and compiling): Document
25112 general use of test-wrapper and test-wrapper-env.
25113 * INSTALL: Regenerated.
25114
25115 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25116 (__fma): Do not extract and scale down low bits on after-rounding
25117 systems when result rounded to normal precision would have normal
25118 exponent.
25119 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25120 (__fmal): Do not extract and scale down low bits on after-rounding
25121 systems when result rounded to normal precision would have normal
25122 exponent.
25123 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25124 (__fmal): Do not extract and scale down low bits on after-rounding
25125 systems when result rounded to normal precision would have normal
25126 exponent.
25127 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25128 macro.
25129 (fma_test): Add more tests.
25130 (fma_test_towardzero): Likewise.
25131 (fma_test_downward): Likewise.
25132 (fma_test_upward): Likewise.
25133
251342012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25135
25136 * sysdeps/i386/tininess.h: Renamed to ...
25137 * sysdeps/x86/tininess.h: This.
25138 * sysdeps/x86_64/tininess.h: Removed.
25139
251402012-10-30 Joseph Myers <joseph@codesourcery.com>
25141
25142 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25143 input. Use $(build-program-cmd).
25144 ($(objpfx)tst-array1-static.out): Likewise.
25145 ($(objpfx)tst-array2.out): Likewise.
25146 ($(objpfx)tst-array3.out): Likewise.
25147 ($(objpfx)tst-array4.out): Likewise.
25148 ($(objpfx)tst-array5.out): Likewise.
25149 ($(objpfx)tst-array5-static.out): Likewise.
25150
251512012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25152
25153 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25154 if defined.
25155
25156 * nss/nsswitch.h (nss_interface_function): Provide new
25157 macro for use with NSS functions.
25158 * grp/initgroups.c: Use new macro.
25159 * nss/getXXbyYY.c: Likewise.
25160 * nss/getXXbyYY_r.c: Likewise.
25161 * nss/getXXent.c: Likewise.
25162 * nss/getXXent_r.c: Likewise.
25163 * sysdeps/posix/getaddrinfo.c: Likewise.
25164
251652012-10-30 Andreas Jaeger <aj@suse.de>
25166
25167 * po/ru.po: Update Russion translation from translation project.
25168
251692012-10-30 Joseph Myers <joseph@codesourcery.com>
25170
25171 [BZ #14152]
25172 [BZ #14783]
25173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25174 result and shift together with sticky bit instead of replicating
25175 round-to-nearest rounding.
25176 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25177 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25178 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25179 missing underflow exceptions.
25180 (fma_test_towardzero): Add more tests.
25181 (fma_test_downward): Likewise.
25182 (fma_test_upward): Likewise.
25183
25184 [BZ #14047]
25185 * sysdeps/generic/tininess.h: New file.
25186 * sysdeps/i386/tininess.h: Likewise.
25187 * sysdeps/sh/tininess.h: Likewise.
25188 * sysdeps/x86_64/tininess.h: Likewise.
25189 * stdlib/tst-strtod-underflow.c: Likewise.
25190 * stdlib/tst-tininess.c: Likewise.
25191 * stdlib/strtod_l.c: Include <tininess.h>.
25192 (round_and_return): Do not set errno for exact underflow cases.
25193 Force an underflow exception when setting errno for underflow.
25194 Determine underflow based on rounding to normal precision if
25195 TININESS_AFTER_ROUNDING.
25196 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25197 ERANGE for exact underflow cases.
25198 * stdlib/Makefile (tests): Add tst-tininess and
25199 tst-strtod-underflow.
25200 ($(objpfx)tst-tininess): Use $(link-libm).
25201 ($(objpfx)tst-strtod-underflow): Likewise.
25202
252032012-10-30 Andreas Jaeger <aj@suse.de>
25204
25205 [BZ#14767]
25206 * elf/Makefile (tests): Remove conditional for have-initfini-array
25207 since this is now always required and the variable does not exist
25208 anymore.
25209 (tests-static): Likewise.
25210 (modules-names): Likewise.
25211
25212 * po/eo.po: Add Esperanto translation from translation project.
25213
25214 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25215 merged with constructor/destructor.
25216 (init_array): Likewise.
25217 * elf/tst-array2dep.c (fini_array): Likewise.
25218 (init_array): Likewise.
25219
252202012-10-29 Mike Frysinger <vapier@gentoo.org>
25221
25222 * manual/message.texi: Delete @cartouche tags.
25223
252242012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25225
25226 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25227 EOPNOTSUPP.
25228 * sysdeps/mach/hurd/fsync.c: Likewise.
25229
25230 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25231 [_POSIX_REALTIME_SIGNALS]: Change condition to
25232 [_POSIX_REALTIME_SIGNALS > 0].
25233
252342012-10-27 Andreas Jaeger <aj@suse.de>
25235
25236 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25237 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25239 [__WORDSIZE != 64]: Likewise.
25240
252412012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25242
25243 * iconvdata/tst-table.sh: Remove ${SHELL}.
25244 * iconvdata/tst-tables.sh: Likewise.
25245
252462012-10-25 David S. Miller <davem@davemloft.net>
25247
25248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25249 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25250 of strtoull.
25251
25252 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25253 ifunc-impl-list.c
25254 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25255 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25256 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25257 file.
25258
252592012-10-25 Roland McGrath <roland@hack.frob.com>
25260
25261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25262 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25263 __getdirentries.
25264
252652012-10-25 Joseph Myers <joseph@codesourcery.com>
25266 Jim Blandy <jimb@codesourcery.com>
25267
25268 * scripts/cross-test-ssh.sh: New file.
25269 * manual/install.texi (Configuring and compiling): Document use of
25270 cross-test-ssh.sh.
25271 * INSTALL: Regenerated.
25272
252732012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25274
25275 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25276 EOPNOTSUPP.
25277
252782012-10-25 Joseph Myers <joseph@codesourcery.com>
25279
25280 * Makeconfig (run-program-prefix): Fix comment.
25281
252822012-10-24 Joseph Myers <joseph@codesourcery.com>
25283 Jim Blandy <jimb@codesourcery.com>
25284
25285 * Makeconfig (test-wrapper): New variable,
25286 (test-wrapper-env): Likewise.
25287 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25288 (run-built-tests): Define to yes.
25289 (run-program-prefix): Use $(test-wrapper).
25290 (built-program-cmd): Likewise.
25291 * Rules (make-test-out): Use $(test-wrapper-env) and
25292 $(host-built-program-cmd).
25293 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25294 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25295 tst-pathopt.sh.
25296 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25297 $(test-wrapper-env) to tst-rtld-load-self.sh.
25298 ($(objpfx)order2.out): Use $(test-wrapper).
25299 ($(objpfx)tst-initorder.out): Likewise.
25300 ($(objpfx)tst-initorder2.out): Likewise.
25301 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25302 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25303 (test_wrapper_env): New variable. Use it to run ld.so.
25304 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25305 Use it to run ld.so.
25306 (test_wrapper_env): Likewise.
25307 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25308 $(test-wrapper) to run-iconv-test.sh.
25309 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25310 (ICONV): Use $test_wrapper.
25311 * posix/Makefile ($(objpfx)globtest.out): Pass
25312 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25313 globtest.sh, not $(run-program-prefix).
25314 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25315 (test_wrapper): Likewise.
25316 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25317 set together with run_via_rtld_prefix.
25318 (run_program_prefix): Define in terms of test_wrapper and
25319 run_via_rtld_prefix.
25320
253212012-10-24 Roland McGrath <roland@hack.frob.com>
25322
25323 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25324 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25325 Targets removed.
25326
25327 [BZ #14743]
25328 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25329 Declare __clock_getres, __clock_gettime, __clock_settime,
25330 __clock_nanosleep, and __clock_getcpuclockid.
25331 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25332 Remove librt_hidden_def (clock_gettime).
25333 * sysdeps/unix/clock_gettime.c: Likewise.
25334 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25335 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25336 * rt/clock_getres.c: Define __clock_getres as an alias.
25337 * sysdeps/posix/clock_getres.c: Likewise.
25338 * rt/clock_settime.c: Define __clock_settime as an alias.
25339 * sysdeps/unix/clock_settime.c: Likewise.
25340 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25341 * sysdeps/unix/clock_nanosleep.c: Likewise.
25342 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25343 * rt/clock-compat.c: New file.
25344 * rt/Makefile (librt-routines): Add clock-compat and move
25345 $(clock-routines) to ...
25346 (routines): ... here, new variable.
25347 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25348 Don't add get_clockfreq here.
25349 * rt/Versions (libc: GLIBC_2.17): New version set.
25350 Add clock_* symbols here.
25351 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25352 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25353 (GLIBC_2.17): Add clock_* symbols.
25354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25356 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25358 Likewise.
25359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25360 Likewise.
25361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25365 * NEWS: Mention the move.
25366
25367 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25368 Use __open, __read, __close rather than their public counterparts.
25369 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25370 (__get_clockfreq_via_cpuinfo): Likewise.
25371 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25372 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25373
25374 * config.h.in (HAVE_IFUNC): New #undef.
25375 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25376 was successful.
25377 * configure: Regenerated.
25378
253792012-10-24 Mike Frysinger <vapier@gentoo.org>
25380
25381 * configure.in: Move READELF check to start of file.
25382 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25383 libc_cv_asm_gnu_indirect_function in the process.
25384 * configure: Regenerated.
25385
253862012-10-24 Mike Frysinger <vapier@gentoo.org>
25387
25388 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25389 send the output to /dev/null.
25390 (libc_cv_cc_with_libunwind): Likewise.
25391 (libc_cv_as_noexecstack): Likewise.
25392 * configure: Regenerate.
25393
253942012-10-24 Joseph Myers <joseph@codesourcery.com>
25395
25396 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25397
25398 * posix/globtest.sh (TMPDIR): Do not set.
25399 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25400 (testout): Likewise.
25401
254022012-10-24 Andreas Jaeger <aj@suse.de>
25403
25404 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25405 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25406 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25407 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25408 posix_fadvise64, posix_fallocate64.
25409
25410 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25411 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25412 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25413 Likewise.
25414 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25415 Likewise.
25416 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25417
25418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25419 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25420 <bits/fcntl-linux.h>.
25421 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25422
25423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25424 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25425 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25426 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25427 [__WORDSIZE != 64]: Likewise.
25428
254292012-10-23 Joseph Myers <joseph@codesourcery.com>
25430
25431 * Makeconfig (run-built-tests): New variable.
25432 * Rules [$(cross-compiling) = yes]: Change condition to
25433 [$(run-built-tests) = no].
25434 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25435 to [$(run-built-tests) = yes].
25436 * elf/Makefile [$(cross-compiling) = no]: Likewise
25437 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25438 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25439 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25440 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25441 * io/Makefile [$(cross-compiling) = no]: Likewise.
25442 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25443 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25444 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25445 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25446 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25447 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25448 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25449 * string/Makefile [$(cross-compiling) = no]: Likewise.
25450
25451 * posix/Makefile ($(objpfx)globtest.out): Pass
25452 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25453 $(rtld-installed-name).
25454 * posix/globtest.sh (elf_objpfx): Remove variable.
25455 (rtld_installed_name): Likewise.
25456 (library_path): Likewise.
25457 (run_program_prefix): New variable. Use for running globtest
25458 binary.
25459
254602012-10-23 Jim Blandy <jimb@codesourcery.com>
25461 Joseph Myers <joseph@codesourcery.com>
25462
25463 * Makeconfig (host-built-program-cmd): New variable.
25464 * elf/Makefile (tst-stackguard1-ARGS): Use
25465 $(host-built-program-cmd).
25466 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25467 (tst-spawn-ARGS): Likewise.
25468 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25469
254702012-10-23 Joseph Myers <joseph@codesourcery.com>
25471 Jim Blandy <jimb@codesourcery.com>
25472
25473 * Makeconfig (run-via-rtld-prefix): New variable.
25474 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25475 (built-program-cmd): Likewise.
25476
254772012-10-22 Andreas Jaeger <aj@suse.de>
25478
25479 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25480 __O_RSYNC if it exists, otherwise to O_SYNC.
25481
254822012-10-22 Jim Blandy <jimb@codesourcery.com>
25483 Joseph Myers <joseph@codesourcery.com>
25484
25485 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25486 /dev/null.
25487 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25488 from /dev/null
25489 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25490 /dev/null.
25491
254922012-10-22 Andreas Jaeger <aj@suse.de>
25493
25494 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25495 Define always.
25496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25497
25498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25499 bits/fcntl-linux.h.
25500
25501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25502 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25503
25504 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25505 to __O_LARGEFILE.
25506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25507 to __O_LARGEFILE.
25508
255092012-10-21 Jim Blandy <jimb@codesourcery.com>
25510 Joseph Myers <joseph@codesourcery.com>
25511
25512 * config.make.in (NM): New variable.
25513
255142012-10-21 Andreas Jaeger <aj@suse.de>
25515
25516 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25517 definitions and declarations that are provided by
25518 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25519
255202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25521
25522 [BZ #14683]
25523 * elf/Makefile (tests-static): Add tst-leaks1-static.
25524 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25525 ($(objpfx)tst-leaks1-static): New rule.
25526 ($(objpfx)tst-leaks1-static-mem): Likewise.
25527 (tst-leaks1-static-ENV): New macro.
25528 * elf/dl-open.c (dl_open_worker): Check the main application
25529 only if SHARED is defined.
25530 * elf/tst-leaks1-static.c: New file.
25531
255322012-10-20 Andreas Jaeger <aj@suse.de>
25533
25534 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25535 generic values for Linux.
25536 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25537 and declarations that are provided by <bits/fcntl-linux.h> and
25538 include <bits/fcntl-linux.h>.
25539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25541
255422012-10-20 Roland McGrath <roland@hack.frob.com>
25543
25544 * io/fcntl.h: Move include of <bits/types.h> to the top and
25545 include it unconditionally.
25546
255472012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25548
25549 * wcsmbs/Makefile (tests-ifunc): New variable.
25550 (tests): Add $(tests-ifunc).
25551 * wcsmbs/test-wcschr-ifunc.c: New file.
25552 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25553 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25554 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25555 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25556 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25557
25558 * string/Makefile (tests-ifunc): New variable.
25559 (tests): Add $(tests-ifunc).
25560 * string/test-memccpy.c (TEST_NAME): New macro.
25561 * string/test-memchr.c (TEST_NAME): Likewise.
25562 * string/test-memcmp.c (TEST_NAME): Likewise.
25563 * string/test-memcpy.c (TEST_NAME): Likewise.
25564 * string/test-memmem.c (TEST_NAME): Likewise.
25565 * string/test-memmove.c (TEST_NAME): Likewise.
25566 * string/test-memset.c (TEST_NAME): Likewise.
25567 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25568 * string/test-stpcpy.c (TEST_NAME): Likewise.
25569 * string/test-stpncpy.c (TEST_NAME): Likewise.
25570 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25571 * string/test-strcasestr.c (TEST_NAME): Likewise.
25572 * string/test-strcat.c (TEST_NAME): Likewise.
25573 * string/test-strchr.c (TEST_NAME): Likewise.
25574 * string/test-strcmp.c(TEST_NAME): Likewise.
25575 * string/test-strcpy.c (TEST_NAME): Likewise.
25576 * string/test-strcspn.c (TEST_NAME): Likewise.
25577 * string/test-strlen.c (TEST_NAME): Likewise.
25578 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25579 * string/test-strncmp.c (TEST_NAME): Likewise.
25580 * string/test-strncpy.c (TEST_NAME): Likewise.
25581 * string/test-strnlen.c (TEST_NAME): Likewise.
25582 * string/test-strpbrk.c (TEST_NAME): Likewise.
25583 * string/test-strrchr.c (TEST_NAME): Likewise.
25584 * string/test-strspn.c (TEST_NAME): Likewise.
25585 * string/test-strstr.c (TEST_NAME): Likewise.
25586 * string/test-bcopy-ifunc.c: New file.
25587 * string/test-bzero-ifunc.c: Likewise.
25588 * string/test-memccpy-ifunc.c: Likewise.
25589 * string/test-memchr-ifunc.c: Likewise.
25590 * string/test-memcmp-ifunc.c: Likewise.
25591 * string/test-memcpy-ifunc.c: Likewise.
25592 * string/test-memmem-ifunc.c: Likewise.
25593 * string/test-memmove-ifunc.c: Likewise.
25594 * string/test-mempcpy-ifunc.c: Likewise.
25595 * string/test-memset-ifunc.c: Likewise.
25596 * string/test-rawmemchr-ifunc.c: Likewise.
25597 * string/test-stpcpy-ifunc.c: Likewise.
25598 * string/test-stpncpy-ifunc.c: Likewise.
25599 * string/test-strcasecmp-ifunc.c: Likewise.
25600 * string/test-strcasestr-ifunc.c: Likewise.
25601 * string/test-strcat-ifunc.c: Likewise.
25602 * string/test-strchr-ifunc.c: Likewise.
25603 * string/test-strchrnul-ifunc.c: Likewise.
25604 * string/test-strcmp-ifunc.c: Likewise.
25605 * string/test-strcpy-ifunc.c: Likewise.
25606 * string/test-strcspn-ifunc.c: Likewise.
25607 * string/test-strlen-ifunc.c: Likewise.
25608 * string/test-strncasecmp-ifunc.c: Likewise.
25609 * string/test-strncat-ifunc.c: Likewise.
25610 * string/test-strncmp-ifunc.c: Likewise.
25611 * string/test-strncpy-ifunc.c: Likewise.
25612 * string/test-strnlen-ifunc.c: Likewise.
25613 * string/test-strpbrk-ifunc.c: Likewise.
25614 * string/test-strrchr-ifunc.c: Likewise.
25615 * string/test-strspn-ifunc.c: Likewise.
25616 * string/test-strstr-ifunc.c: Likewise.
25617
25618 * debug/Makefile (tests-ifunc): New variable.
25619 (tests): Add $(tests-ifunc).
25620 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25621 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25622 * debug/test-stpcpy_chk-ifunc.c: New file.
25623 * debug/test-strcpy_chk-ifunc.c: Likewise.
25624
256252012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25626
25627 [BZ #13601]
25628 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25629 header is not read in.
25630
256312012-10-19 Joseph Myers <joseph@codesourcery.com>
25632
25633 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25634 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25635 directly. Pass built executable to script as
25636 $(built-program-cmd).
25637 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25638 $testprogram without using LD_LIBRARY_PATH and $ldso.
25639
25640 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25641 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25642 $(rtld-installed-name).
25643 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25644 (rtld_installed_name): Likewise.
25645 (library_path): Likewise.
25646 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25647 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25648 $(run-program-prefix) to tst-tables.sh.
25649 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25650 it to run tst-table-from and tst-table-to.
25651 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25652 Pass it to tst-table.sh.
25653 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25654 $(run-program-prefix) to tst-gettext.sh.
25655 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25656 tst-translit.sh.
25657 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25658 tst-gettext2.sh.
25659 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25660 to run tst-gettext.
25661 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25662 to run tst-gettext2.
25663 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25664 to run tst-translit.
25665 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25666 $(run-program-prefix) to tst-mtrace.sh.
25667 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25668 to run tst-mtrace.
25669 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25670 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25671 $(rtld-installed-name).
25672 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25673 (rtld_installed_name): Likewise.
25674 (run_program_prefix): New variable. Use it to run wordexp-test.
25675
25676 * Makeconfig (ARCH): Remove all definitions.
25677 (machine): Likewise.
25678 [ARCH]: Remove conditional code.
25679 [!objdir]: Give error.
25680 [!objdir] (objpfx): Remove.
25681 [!objdir] (common-objpfx): Likewise.
25682 [!objdir] (common-objdir): Likewise.
25683 * configure.in (config_makefile): Remove. Hardcode Makefile in
25684 AC_CONFIG_FILES call.
25685 * configure: Regenerated.
25686
25687 [BZ #13888]
25688 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25689 or TMPDIR.
25690 (testout): Likewise.
25691
25692 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25693 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25694 $(rtld-installed-name).
25695 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25696 (rtld_installed_name): Likwise.
25697 (runit): Remove function.
25698 (run_getconf): New variable, Use it for running getconf binary.
25699
257002012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25701
25702 [BZ #14716]
25703 * string/test-memmem.c (check_result): New function.
25704 (do_one_test): Use it.
25705 (check1): New function.
25706 (test_main): Use it.
25707
257082012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25709
25710 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25711
257122012-10-18 Joseph Myers <joseph@codesourcery.com>
25713
25714 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25715 (_G_LSEEK64): Likewise.
25716 (_G_MMAP64): Likewise.
25717 (_G_FSTAT64): Likewise.
25718 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25719 (_G_LSEEK64): Likewise.
25720 (_G_MMAP64): Likewise.
25721 (_G_FSTAT64): Likewise.
25722 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25723 unconditional. Call __mmap64 directly.
25724 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25725 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25726 __lseek64 directly.
25727 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25728 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25729 __mmap64 directly.
25730 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25731 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25732 __lseek64 directly.
25733 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25734 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25735 __lseek64 directly.
25736 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25737 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25738 __lseek64 directly.
25739 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25740 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25741 __fxstat64 directly.
25742 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25743 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25744 unconditional.
25745 (freopen64) [!_G_OPEN64]: Remove conditional code.
25746 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25747 unconditional.
25748 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25749 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25750 unconditional.
25751 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25752 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25753 unconditional.
25754 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25755 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25756 unconditional.
25757 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25758 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25759 unconditional.
25760 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25761 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25762 unconditional.
25763 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25764 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25765 unconditional.
25766 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25767
257682012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25769
25770 [BZ #12140]
25771 * manual/memory.texi (Malloc Tunable Parameters): Add note
25772 about free list pointers overwriting some perturb bytes.
25773 Wording suggested by Roland McGrath.
25774
257752012-10-17 Joseph Myers <joseph@codesourcery.com>
25776
25777 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25778 (lgamma_test): Likewise.
25779 (tgamma_test): Likewise.
25780
257812012-10-16 Florian Weimer <fweimer@redhat.com>
25782
25783 [BZ #14700]
25784 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25785 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25786
257872012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25788
25789 * NEWS: Mention BZ #14716.
25790 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25791 when removing AVAILABLE1_USES_J macro.
25792
257932012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25794
25795 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25796 (__bswap_64): __uint64_t for unsigned 64-bit int.
25797
257982012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25799
25800 * include/string.h (memmem): Declare libc hidden alias.
25801 * string/memmem.c (memmem): Define libc hidden alias.
25802 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25803 __read, __close instead of open, read, close.
25804
258052012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25806
25807 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25808 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25809 global and hidden.
25810 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25811 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25812 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25813 Likewise.
25814 (__rawmemchr_sse2): Likewise.
25815 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25816 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25817 (__strchr_sse2): Likewise.
25818 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25819 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25820 (__strcasecmp_sse2): Likewise.
25821 (__strncasecmp_sse2): Likewise.
25822 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25823 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25824 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25825 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25826 (__strrchr_sse2): Likewise.
25827 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25828 ifunc-impl-list.c.
25829 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25830 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25831 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25832 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25833 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25834 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25835 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25836 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25837 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25838 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25839 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25840 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25841 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25842 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25843 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25844 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25845 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25846 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25847 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25848 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25849 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25850 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25851 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25852 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25853 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25854 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25855 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25856 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25857 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25858 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25859
25860 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25861 global and hidden.
25862 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25863 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25864 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25865 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25866 Likewise.
25867 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25868 Likewise.
25869 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25870 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25871 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25872 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25873 ifunc-impl-list.c.
25874 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25875 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25876 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25877 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25878 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25879 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25880 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25881 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25882 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25883 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25884 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25885 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25886 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25887 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25888 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25889 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25890 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25891 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25892 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25893 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25894 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25895 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25896 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25897 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25898 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25899 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25900 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25901 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25902 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25903 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25904 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25905 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25906 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25907 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25908 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25909 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25910 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25911 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25912 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25913 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25914 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25915
25916 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25917 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25918 * include/ifunc-impl-list.h: New file.
25919 * misc/ifunc-impl-list.c: Likewise.
25920 * misc/Makefile (routines): Add ifunc-impl-list.
25921 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25922 * string/test-string.h: Include <ifunc-impl-list.h>.
25923 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25924 TEST_NAME]: New variables.
25925 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25926 are defined.
25927 (test_init): Call __libc_ifunc_impl_list to initialize
25928 func_list if TEST_IFUNC and TEST_NAME are defined.
25929
25930 * string/Makefile (strop-tests): Add bcopy and bzero.
25931 * string/test-bcopy.c: New file.
25932 * string/test-bzero.c: Likewise.
25933 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25934 defined.
25935 * string/test-memset.c: Support bzero test if TEST_BZERO is
25936 defined.
25937 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25938 __libc_memmove.
25939 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25940 __libc_memset.
25941 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25942 of memset.
25943
259442012-10-10 Joseph Myers <joseph@codesourcery.com>
25945
25946 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25947 * configure: Regenerated.
25948
25949 * Makeconfig (+link-static-before-libc): Don't include
25950 $(link-static-libc).
25951
25952 * libio/libio.h (_IO_pos_t): Remove.
25953
259542012-10-10 Alexandre Oliva <aoliva@redhat.com>
25955
25956 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25957 McGrath.
25958
259592012-10-10 Alexandre Oliva <aoliva@redhat.com>
25960
25961 * crypt/crypt-entry.c: Include fips-private.h.
25962 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25963 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25964 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25965 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25966
259672012-10-10 Alexandre Oliva <aoliva@redhat.com>
25968
25969 * crypt/crypt-private.h: Include stdbool.h.
25970 (_ufc_setup_salt_r): Return bool.
25971 * crypt/crypt-entry.c: Include errno.h.
25972 (__crypt_r): Return NULL with EINVAL for bad salt.
25973 * crypt/crypt_util.c (bad_for_salt): New.
25974 (_ufc_setup_salt_r): Check that salt is long enough and within
25975 the specified alphabet.
25976 * crypt/badsalttest.c: New file.
25977 * crypt/Makefile (tests): Add it.
25978 ($(objpfx)badsalttest): New.
25979
259802012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25981
25982 * NEWS: Add entry for BZ #14602.
25983
259842012-10-09 Joseph Myers <joseph@codesourcery.com>
25985
25986 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25987 type-generic.
25988 * math/libm-test.inc: Update comment listing what functions and
25989 macros are tested.
25990 (isgreater_test): New function.
25991 (isgreaterequal_test): Likewise.
25992 (isless_test): Likewise.
25993 (islessequal_test): Likewise.
25994 (islessgreater_test): Likewise.
25995 (isunordered_test): Likewise.
25996 (main): Call the new functions.
25997
259982012-10-09 Roland McGrath <roland@hack.frob.com>
25999
26000 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26001 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26002 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26003 * sysdeps/i386/configure: Regenerated.
26004 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26005 * sysdeps/mach/configure: Regenerated.
26006 * sysdeps/mach/hurd/configure: Regenerated.
26007 * sysdeps/powerpc/configure: Regenerated.
26008 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26009 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26010 * sysdeps/s390/s390-32/configure: Regenerated.
26011 * sysdeps/s390/s390-64/configure: Regenerated.
26012 * sysdeps/sh/configure: Regenerated.
26013 * sysdeps/sparc/configure: Regenerated.
26014 * sysdeps/unix/sysv/linux/configure: Regenerated.
26015 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26016 * sysdeps/x86_64/configure: Regenerated.
26017
26018 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26019 defined. Don't check if MAP is NULL.
26020
260212012-10-09 Joseph Myers <joseph@codesourcery.com>
26022
26023 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26024 (_G_stat64): Likewise.
26025 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26026 (_G_stat64): Likewise.
26027 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26028 instead of struct _G_stat64.
26029 * libio/fileops.c (mmap_remap_check): Likewise.
26030 (decide_maybe_mmap): Likewise.
26031 (_IO_new_file_seekoff): Likewise.
26032 (_IO_file_stat): Likewise.
26033 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26034 _G_off64_t.
26035 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26036 instead of struct _G_stat64.
26037 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26038
260392012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26040
26041 [BZ #14602]
26042 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26043 Replace with ...
26044 (CHECK_EOL): New macro.
26045 (two_way_short_needle): Check beginning of haystack for EOL. Use
26046 CHECK_EOL.
26047 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26048 Replace with CHECK_EOL.
26049 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26050 Replace with CHECK_EOL.
26051
260522012-10-08 Joseph Myers <joseph@codesourcery.com>
26053
26054 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26055 type-generic.
26056 * math/libm-test.inc: Update comment listing what functions and
26057 macros are tested.
26058 (finite_test): New function.
26059 (isinf_test): Likewise.
26060 (isnan_test): Likewise.
26061 (fpclassify_test): Test subnormal input.
26062 (isfinite_test): Likewise.
26063 (isnormal_test): Likewise.
26064 (main): Call the new functions.
26065
260662012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26067
26068 [BZ #14660]
26069 * Makerules (%.dynsym): Force C locale when running
26070 $(OBJDUMP) --dynamic-syms.
26071
260722012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26073
26074 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26075 <stdint.h>.
26076
260772012-10-06 David S. Miller <davem@davemloft.net>
26078
26079 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26080 upper 32-bits of the length value in %o2 since we use branch-on-register
26081 tests which consider the entire 64-bit register.
26082
260832012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26084
26085 * string/test-strstr.c (check2): Add a test for page boundary.
26086
260872012-10-05 David S. Miller <davem@davemloft.net>
26088
26089 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26090 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26091 file.
26092 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26093 sysdep_routines.
26094 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26095 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26096 and bzero when HWCAP_SPARC_CRYPTO is present.
26097
260982012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26099
26100 [BZ #14602]
26101 * string/test-strstr.c (check2): New function.
26102 (test_main): Call check2.
26103
26104 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26105 and bug-strchr1.
26106 * string/bug-strcasestr1.c (do_test): Moved to ...
26107 * string/test-strcasestr.c (check1): Here. New function.
26108 (do_one_test): Break out result checking code into ...
26109 (check_result): This. New function.
26110 (do_one_test): Call check_result.
26111 (test_main): Call check1.
26112 * string/bug-strchr1.c (do_test): Moved to ...
26113 * string/test-strchr.c (check1): Here. New function.
26114 (do_one_test): Break out result checking code into ...
26115 (check_result): This. New function.
26116 (do_one_test): Call check_result.
26117 (test_main): Call check1.
26118 * string/bug-strstr1.c (main): Moved to ...
26119 * string/test-strstr.c (check1): Here. New function.
26120 (do_one_test): Break out result checking code into ...
26121 (check_result): This. New function.
26122 (do_one_test): Call check_result.
26123 (test_main): Call check1.
26124 * string/bug-strcasestr1.c: Removed.
26125 * string/bug-strchr1.c: Likewise.
26126 * string/bug-strstr1.c: Likewise.
26127
26128 * elf/Makefile (dl-routines): Add hwcaps.
26129 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26130 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26131 (_dl_important_hwcaps): Moved to ...
26132 * elf/dl-hwcaps.c: Here. New file.
26133 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26134
26135 [BZ #14557]
26136 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26137 if IS_IN_rtld isn't defined.
26138
26139 * elf/dl-support.c (_dl_sysinfo_map): New.
26140 Include "get-dynamic-info.h" and "setup-vdso.h".
26141 (_dl_non_dynamic_init): Call setup_vdso.
26142 * elf/dynamic-link.h: Don't include <assert.h>.
26143 (elf_get_dynamic_info): Moved to ...
26144 * elf/get-dynamic-info.h: Here. New file.
26145 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26146 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26147 * elf/setup-vdso.h: Here. New file.
26148 * elf/rtld.c: Include "setup-vdso.h".
26149 (dl_main): Call setup_vdso.
26150
261512012-10-05 Joseph Myers <joseph@codesourcery.com>
26152
26153 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26154 creal in comment listing functions tested. List finite, isinf,
26155 isnan, isless, islessequal, isgreater, isgreaterequal,
26156 islessgreater, isunordered, lgamma_r and pow10 as functions and
26157 macros not tested. Mention which functions not tested are aliases
26158 for other functions. Fix typo. Note that signs of NaNs are not
26159 tested.
26160
26161 * scripts/config.guess: Update from config.git.
26162 * scripts/config.sub: Likewise.
26163
261642012-10-04 Roland McGrath <roland@hack.frob.com>
26165
26166 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26167 * misc/madvise.c (madvise): Renamed to __madvise.
26168 Make madvise a weak alias.
26169 * include/sys/mman.h: Declare __madvise.
26170 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26171 * sysdeps/unix/syscalls.list
26172 (madvise): Make __madvise the strong name, and madvise a weak alias.
26173 * sysdeps/unix/sysv/linux/syscalls.list
26174 (madvise, mmap): Remove redundant entries.
26175 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26176 * malloc/malloc.c (mtrim): Likewise.
26177 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26178
261792012-10-03 Roland McGrath <roland@hack.frob.com>
26180
26181 * sysdeps/mach/hurd/dl-cache.c: File removed.
26182 * config.h.in (USE_LDCONFIG): New #undef.
26183 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26184 * configure: Regenerated.
26185 * elf/Makefile (dl-routines): Add dl-cache only under
26186 [$(use-ldconfig) = yes].
26187 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26188 cache on [USE_LDCONFIG].
26189 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26190 [USE_LDCONFIG].
26191 * elf/rtld.c (dl_main): Likewise.
26192
261932012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26194
26195 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26196 _SC_LEVEL4_CACHE_LINESIZE.
26197
261982012-10-03 Roland McGrath <roland@hack.frob.com>
26199
26200 * sysdeps/unix/bsd/confstr.h: File removed.
26201
262022012-10-02 Alexandre Oliva <aoliva@redhat.com>
26203
26204 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26205 sys/sdt-config.h.
26206
262072012-10-02 Roland McGrath <roland@hack.frob.com>
26208
26209 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26210 Make 'mapoff' field ElfW(Off) rather than off_t.
26211
262122012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26213
26214 * nscd/Makefile: Remove nscd-cflags and all its users.
26215 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26216 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26217
26218 [BZ #10631]
26219 * malloc.c (malloc_printerr): Clarify error message.
26220
262212012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26222
26223 [BZ #14648]
26224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26225 Set bit_FMA_Usable if FMA is supported.
26226 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26227 macro.
26228 (bit_FMA4_Usable): Updated.
26229 (index_FMA_Usable): New macro.
26230 (CPUID_FMA): Likewise
26231 (HAS_FMA): Defined with bit_FMA_Usable.
26232
262332012-10-01 Roland McGrath <roland@hack.frob.com>
26234
26235 * bits/types.h (__swblk_t): Type removed.
26236 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26237 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26239 (__SWBLK_T_TYPE): Likewise.
26240 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26241 (__SWBLK_T_TYPE): Likewise.
26242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26243 (__SWBLK_T_TYPE): Likewise.
26244 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26245 (__SWBLK_T_TYPE): Likewise.
26246
262472012-10-01 Patsy Franklin <pfrankli@redhat.com>
26248 Honza Horak <hhorak@redhat.com>
26249
26250 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26251 (xdr_mapname): Use YPMAXMAP as maxsize.
26252 (xdr_peername): Use YPMAXPEER as maxsize.
26253 (xdr_keydat): Use YPAXRECORD as maxsize.
26254 (xdr_valdat): Use YPMAXRECORD as maxsize.
26255
262562012-10-01 Roland McGrath <roland@hack.frob.com>
26257
26258 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26259
26260 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26261 * csu/init-first.c: ... here.
26262 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26263 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26264 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26265 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26266 * sysdeps/i386/init-first.c: File removed.
26267 * sysdeps/sh/init-first.c: File removed.
26268
262692012-10-01 Joseph Myers <joseph@codesourcery.com>
26270
26271 [BZ #14645]
26272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26273 if x * y might underflow to zero and z is zero.
26274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26276 * math/libm-test.inc (min_subnorm_value): New variable.
26277 (fma_test): Add more tests.
26278 (fma_test_towardzero): Likewise.
26279 (fma_test_downward): Likewise
26280 (fma_test_upward): Likewise.
26281 (initialize): Set min_subnorm_value.
26282
262832012-09-29 Joseph Myers <joseph@codesourcery.com>
26284
26285 [BZ #14638]
26286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26287 0 + 0.
26288 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26289 mode for addition resulting in exact zero.
26290 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26292 exact 0 + 0.
26293 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26294 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26295 * math/libm-test.inc (fma_test): Add more tests.
26296 (fma_test_towardzero): New function.
26297 (fma_test_downward): Likewise.
26298 (fma_test_upward): Likewise.
26299 (main): Call the new functions.
26300
263012012-09-28 David S. Miller <davem@davemloft.net>
26302
26303 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26304
263052012-09-28 Roland McGrath <roland@hack.frob.com>
26306
26307 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26308 instead of SIGALRM.
26309
26310 * sysdeps/gnu/_G_config.h: Moved to ...
26311 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26312 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26313 * sysdeps/generic/_G_config.h: ... here.
26314
26315 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26316
26317 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26318
26319 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26320 Conditionalize target on [libnss_test1.so-version].
26321
26322 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26323
26324 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26325 (elfobjdir): Move out of conditionals.
26326
26327 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26328 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26329 (__nss_lookup_function): Conditionalize label remove_from_tree on
26330 [!DO_STATIC_NSS || SHARED], matching its only use.
26331
263322012-09-28 David S. Miller <davem@davemloft.net>
26333
26334 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26335 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26336 file.
26337 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26338 sysdep_routines.
26339 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26340 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26341 when HWCAP_SPARC_CRYPTO is present.
26342
263432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26344
26345 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26346
263472012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26348
26349 [BZ #6530]
26350 * stdio-common/vfprintf.c (process_string_arg): Revert
26351 2000-07-22 change.
26352
263532011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26354
26355 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26356 for testcase.
26357 * stdio-common/tst-sprintf.c: Include <locale.h>
26358 (main): Test sprintf's handling of incomplete multibyte
26359 characters.
26360
263612012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26362
26363 * elf/dl-runtime.c (VERSYMIDX): Removed.
26364 * elf/dl-version.c (VERSYMIDX): Likewise.
26365 * elf/do-rel.h (VERSYMIDX): Likewise.
26366 (VALIDX): Likewise.
26367 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26368 * elf/rtld.c (VALIDX): Likewise.
26369 (ADDRIDX): Likewise.
26370 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26371 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26372 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26373 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26374 (VALIDX): Likewise.
26375 (ADDRIDX): Likewise.
26376
263772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26378
26379 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26380
263812012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26382
26383 [BZ #11438]
26384 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26385 to global scope.
26386 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26387 addresses are in the same scope as 192.0.2/24.
26388 * posix/gai.conf: Document new scope table defaults.
26389
263902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26391
26392 [BZ #5298]
26393 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26394 for ftell. Compute offsets from write pointers instead.
26395 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26396
263972012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26398
26399 [BZ #14543]
26400 * libio/Makefile (tests): New test case tst-fseek.
26401 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26402 combination works in wide mode.
26403 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26404 state when the external buffer state changes.
26405
264062012-09-27 David S. Miller <davem@davemloft.net>
26407
26408 [BZ #14376]
26409 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26410 pass reloc->r_addend in as the 'high' argument to
26411 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26412
26413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26414
264152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26416
26417 * rt/tst-aio2.c: Include <pthread.h>.
26418 * rt/tst-aio3.c: Likewise.
26419
264202012-09-27 Steve Ellcey <sellcey@mips.com>
26421
26422 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26423
264242012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26425
26426 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26427 contents on [SHARED].
26428
264292012-09-26 Marek Polacek <polacek@redhat.com>
26430
26431 [BZ #14530]
26432 [BZ #13741]
26433 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26434 for C++ and GCC <4.3 as well as for non GCC compilers.
26435
264362012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26437
26438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26439
264402012-09-25 Roland McGrath <roland@hack.frob.com>
26441
26442 * Makefile.in (all, install): Declare with .PHONY.
26443 Reported by Michael Hope <michael.hope@linaro.org>.
26444
264452012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26446
26447 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26448 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26449 system header.
26450 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26451 Likewise.
26452 (sydep_routines): Add the new and the internal functions.
26453 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26454 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26456 (GLIBC_2.17): Add the new function.
26457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26458 (GLIBC_2.17): Likewise.
26459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26460 (GLIBC_2.17): Likewise.
26461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26462 (GLIBC_2.17): Likewise.
26463 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26464
264652012-09-25 Alan Modra <amodra@gmail.com>
26466
26467 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26468 Add release barrier before setting once_control to say
26469 initialisation is done. Add hints on lwarx. Use macro in
26470 place of isync.
26471 (clear_once_control): Add release barrier.
26472
264732012-09-25 Joseph Myers <joseph@codesourcery.com>
26474
26475 [BZ #13629]
26476 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26477 specially.
26478 * math/s_clog10.c (__clog10): Likewise.
26479 * math/s_clog10f.c (__clog10f): Likewise.
26480 * math/s_clog10l.c (__clog10l): Likewise.
26481 * math/s_clogf.c (__clogf): Likewise.
26482 * math/s_clogl.c (__clogl): Likewise.
26483 * math/Makefile (libm-calls): Add x2y2m1.
26484 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26485 (__x2y2m1): Likewise.
26486 (__x2y2m1l): Likewise.
26487 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26488 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26489 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26490 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26491 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26492 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26493 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26494 * sysdeps/i386/fpu/libm-test-ulps: Update.
26495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26496
26497 [BZ #14621]
26498 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26499 int as type of variable DEPTH.
26500 (glob): Use size_t instead of int as type of variables NEWCOUNT
26501 and OLD_PATHC.
26502
265032012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26504
26505 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26506 Add s_sincosf-sse2.
26507 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26508 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26509 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26510 macros for using routine as __sincosf_ia32.
26511 Use macro for function declaration and weak_alias.
26512 * sysdeps/i386/fpu/libm-test-ulps: Update.
26513
26514 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26516
26517 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26518 subnormal argument.
26519 * math/s_cexpf.c (__cexpf): Likewise.
26520 * math/s_csinf.c (__csinf): Likewise.
26521 * math/s_csinhf.c (__csinhf): Likewise.
26522 * math/s_ctanf.c (__ctanf): Likewise.
26523 * math/s_ctanhf.c (__ctanhf): Likewise.
26524 * math/s_ccosh.c (__ccoshf): Likewise.
26525 * math/s_cexp.c (__cexpl): Likewise.
26526 * math/s_csin.c (__csin): Likewise.
26527 * math/s_csinh.c (__csinh): Likewise.
26528 * math/s_ctan.c (__ctan): Likewise.
26529 * math/s_ctanh.c (ctanh): Likewise.
26530 * math/s_ccoshl.c (__ccoshl): Likewise.
26531 * math/s_cexpl.c (__cexpl): Likewise.
26532 * math/s_csinl.c (__csinl): Likewise.
26533 * math/s_csinhl.c (__csinhl): Likewise.
26534 * math/s_ctanl.c (__ctanl): Likewise.
26535 * math/s_ctanhl.c (__ctanhl): Likewise.
26536
265372012-09-25 Joseph Myers <joseph@codesourcery.com>
26538
26539 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26540 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26541 (_IO_off_t): Define to __off_t, not _G_off_t.
26542 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26543 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26544 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26545 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26546 type of __dummy and __dummy2 fields.
26547 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26548 (_G_ssize_t): Likewise.
26549 (_G_off_t): Likewise.
26550 (_G_pid_t): Likewise.
26551 (_G_uid_t): Likewise.
26552 (_G_wchar_t): Likewise.
26553 (_G_wint_t): Likewise.
26554 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26555 (_G_ssize_t): Likewise.
26556 (_G_off_t): Likewise.
26557 (_G_pid_t): Likewise.
26558 (_G_uid_t): Likewise.
26559 (_G_wchar_t): Likewise.
26560 (_G_wint_t): Likewise.
26561 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26562 (_G_ssize_t): Likewise.
26563 (_G_off_t): Likewise.
26564 (_G_pid_t): Likewise.
26565 (_G_uid_t): Likewise.
26566 (_G_wchar_t): Likewise.
26567 (_G_wint_t): Likewise.
26568
265692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26570
26571 * malloc/arena.c: Include malloc-sysdep.h.
26572 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26573 is sufficient to shrink the heap or an unmap is needed.
26574 * sysdeps/generic/malloc-sysdep.h: New file. Define
26575 new function check_may_shrink_heap.
26576 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26577 new function check_may_shrink_heap.
26578
265792012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26580
26581 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26582 comments.
26583
265842012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26585
26586 * catgets/test-gencat.sh: Add "set -e".
26587 * elf/tst-pathopt.sh: Likewise.
26588 * grp/tst_fgetgrent.sh: Likewise.
26589 * iconvdata/run-iconv-test.sh: Likewise.
26590 * intl/tst-gettext.sh: Likewise.
26591 * intl/tst-gettext2.sh: Likewise.
26592 * intl/tst-gettext4.sh: Likewise.
26593 * intl/tst-gettext6.sh: Likewise.
26594 * intl/tst-translit.sh: Likewise.
26595 * io/ftwtest-sh: Likewise.
26596 * libio/test-freopen.sh: Likewise.
26597 * malloc/tst-mtrace.sh: Likewise.
26598 * posix/globtest.sh: Likewise.
26599 * posix/tst-getconf.sh: Likewise.
26600 * posix/wordexp-tst.sh: Likewise.
26601 * stdio-common/tst-printf.sh: Likewise.
26602 * stdio-common/tst-unbputc.sh: Likewise.
26603 * stdlib/tst-fmtmsg.sh: Likewise.
26604 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26605 * catgets/Makefile: Do not specify -e option when running
26606 testsuite shell scripts.
26607 * elf/Makefile: Likewise.
26608 * grp/Makefile: Likewise.
26609 * iconvdata/Makefile: Likewise.
26610 * intl/Makefile: Likewise.
26611 * io/Makefile: Likewise.
26612 * libio/Makefile: Likewise.
26613 * malloc/Makefile: Likewise.
26614 * posix/Makefile: Likewise.
26615 * stdio-common/Makefile: Likewise.
26616 * stdlib/Makefile: Likewise.
26617 * sysdeps/x86_64/Makefile: Likewise.
26618
26619 * io/ftwtest-sh: Add copyright header.
26620 * posix/globtest.sh: Likewise.
26621 * posix/tst-getconf.sh: Likewise.
26622 * posix/wordexp-tst.sh: Likewise.
26623 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26624
266252012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26626
26627 [BZ #13679]
26628 * Makeconfig (+link): Defined as $(+link-static) if
26629 $(build-shared) isn't yes.
26630 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26631 isn't yes.
26632 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26633
26634 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26635
26636 [BZ #14562]
26637 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26638 new chunk size with MALLOC_ALIGN_MASK.
26639
266402012-09-24 Joseph Myers <joseph@codesourcery.com>
26641
26642 [BZ #5044]
26643 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26644 <rounding-mode.h>.
26645 (__printf_fphex): Determine rounding using get_rounding_mode and
26646 round_away.
26647 * stdio-common/tst-printf-round.c (struct hex_test): New
26648 structure.
26649 (hex_tests): New variable.
26650 (test_hex_in_one_mode): New function.
26651 (do_test): Also run tests for hex float output.
26652
266532012-09-21 Joseph Myers <joseph@codesourcery.com>
26654
26655 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26656 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26657 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26658 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26659 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26660 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26661 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26662 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26663
266642012-09-20 Joseph Myers <joseph@codesourcery.com>
26665
26666 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26667 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26668 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26669 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26670
266712012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26672
26673 [BZ #14579]
26674 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26675 mode only.
26676 * elf/tst-rtld-load-self.sh: New test.
26677 * elf/Makefile: Run it.
26678
266792012-09-18 Joseph Myers <joseph@codesourcery.com>
26680
26681 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26682 (tst-writev-ENV): Remove.
26683 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26684
266852012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26686
26687 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26688
266892012-09-17 Joseph Myers <joseph@codesourcery.com>
26690
26691 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26692 unconditional.
26693 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26694 Likewise.
26695 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26696 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26697 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26698 Likewise.
26699
267002012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26701
26702 [BZ #14587]
26703 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26704 * config.make.in (have-cpp-asm-debuginfo): Removed.
26705 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26706 * configure: Regenerated.
26707
267082012-09-14 Joseph Myers <joseph@codesourcery.com>
26709
26710 [BZ #5044]
26711 * stdio-common/printf_fp.c: Include <stdbool.h> and
26712 <rounding-mode.h>.
26713 (___printf_fp): Determine rounding using get_rounding_mode and
26714 round_away.
26715 * stdio-common/tst-printf-round.c: New file.
26716 * stdio-common/Makefile (tests): Add tst-printf-round.
26717 (link-libm): New variable.
26718 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26719
267202012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26721
26722 [BZ #14576]
26723 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26724 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26725 Likewise.
26726 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26727 Likewise.
26728
267292012-09-13 Joseph Myers <joseph@codesourcery.com>
26730
26731 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26732 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26733 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26734 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26735
267362012-09-12 Joseph Myers <joseph@codesourcery.com>
26737
26738 [BZ #14518]
26739 * include/rounding-mode.h: New file.
26740 * sysdeps/generic/get-rounding-mode.h: Likewise.
26741 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26742 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26743 (MAX_VALUE): New macro.
26744 (MIN_VALUE): Likewise.
26745 (overflow_value): New function.
26746 (underflow_value): Likewise.
26747 (round_and_return): Use overflow_value and underflow_value to
26748 determine return values in overflow and underflow cases. Use
26749 round_away to determine rounding depending on rounding mode.
26750 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26751 determine return values in overflow and underflow cases.
26752 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26753 (struct test_results): New structure.
26754 (struct test): Use struct test_results to store expected results
26755 for all rounding modes.
26756 (TEST): Include expected results for all rounding modes.
26757 (test_in_one_mode): New function.
26758 (do_test): Use test_in_one_mode to compute and check results.
26759 Check results for all rounding modes.
26760 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26761 $(link-libm).
26762
267632012-12-09 Allan McRae <allan@archlinux.org>
26764
26765 * sysdeps/i386/fpu/libm-test-ulps: Update
26766
267672012-09-11 Joseph Myers <joseph@codesourcery.com>
26768
26769 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26770 (_G_int32_t): Likewise.
26771 (_G_uint16_t): Likewise.
26772 (_G_uint32_t): Likewise.
26773 (_G_HAVE_BOOL): Likewise.
26774 (_G_HAVE_ATEXIT): Likewise.
26775 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26776 (_G_HAVE_IO_FILE_OPEN): Likewise.
26777 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26778 (_G_int32_t): Likewise.
26779 (_G_uint16_t): Likewise.
26780 (_G_uint32_t): Likewise.
26781 (_G_HAVE_BOOL): Likewise.
26782 (_G_HAVE_ATEXIT): Likewise.
26783 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26784 (_G_HAVE_IO_FILE_OPEN): Likewise.
26785 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26786 (_G_int32_t): Likewise.
26787 (_G_uint16_t): Likewise.
26788 (_G_uint32_t): Likewise.
26789 (_G_HAVE_BOOL): Likewise.
26790 (_G_HAVE_ATEXIT): Likewise.
26791 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26792 (_G_HAVE_IO_FILE_OPEN): Likewise.
26793
267942012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26795
26796 * csu/libc-tls.c: Update copyright years.
26797
267982012-09-10 Joseph Myers <joseph@codesourcery.com>
26799
26800 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26801 [!_G_USING_THUNKS]: Remove conditional code.
26802 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26803 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26804
26805 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26806 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26807 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26808 (_G_VTABLE_LABEL_PREFIX): Likewise.
26809 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26810 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26811 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26812 (_G_VTABLE_LABEL_PREFIX): Likewise.
26813 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26814 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26815 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26816 (_G_VTABLE_LABEL_PREFIX): Likewise.
26817 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26818
268192012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26820
26821 * libio/Makefile: Include ../Makeconfig before tests.
26822 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26823 only if $(build-shared) is yes.
26824
26825 * iconv/gconv_db.c: Update copyright years.
26826
268272012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26828
26829 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26830 unwind info if defined PIC. Fix special cases description.
26831 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26832
26833 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26834 DP_HI_MASK entry.
26835 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26836
268372012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26838
26839 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26840
26841 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26842 is NULL.
26843
26844 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26845 (LDLIBS-tst-chk4): This.
26846 (LDFLAGS-tst-chk5): Renamed to ...
26847 (LDLIBS-tst-chk5): This.
26848 (LDFLAGS-tst-chk6): Renamed to ...
26849 (LDLIBS-tst-chk6): This.
26850 (LDFLAGS-tst-lfschk4): Renamed to ...
26851 (LDLIBS-tst-lfschk4): This.
26852 (LDFLAGS-tst-lfschk5): Renamed to ...
26853 (LDLIBS-tst-lfschk5): This.
26854 (LDFLAGS-tst-lfschk6): Renamed to ...
26855 (LDLIBS-tst-lfschk6): This.
26856
26857 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26858 on $(common-objpfx)soversions.mk.
26859
268602012-09-07 Joseph Myers <joseph@codesourcery.com>
26861
26862 [BZ #10014]
26863 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26864 example host name.
26865
268662012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26867
26868 * malloc/arena.c (arena_get_retry): New function that gets
26869 another arena for the caller to try its request on.
26870 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26871 current arena cannot fulfill the request.
26872 (__libc_memalign): Likewise.
26873 (__libc_memalign): Likewise.
26874 (__libc_pvalloc): Likewise.
26875 (__libc_calloc): Likewise.
26876
268772012-09-05 John Tobey <john.tobey@gmail.com>
26878
26879 [BZ #13542]
26880 * manual/arith.texi (Operations on Complex): Fix description
26881 of carg branch cut.
26882
268832012-09-06 Joseph Myers <joseph@codesourcery.com>
26884
26885 [BZ #10014]
26886 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26887 host name.
26888
26889 [BZ #10038]
26890 * manual/memory.texi (Memory): Make order of menu items match
26891 order of sections.
26892
268932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26894
26895 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26896 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26897 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26898
268992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26900
26901 * csu/libc-tls.c (static_dtv): Renamed to ...
26902 (_dl_static_dtv): This. Make it global.
26903 (_dl_initial_dtv): Removed.
26904 (__libc_setup_tls): Updated.
26905 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26906 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26907 DL_INITIAL_DTV.
26908
269092012-09-06 Petr Machata <pmachata@redhat.com>
26910
26911 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26912 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26913 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26914 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26915
269162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26917
26918 [BZ #14545]
26919 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26920 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26921 freeing dtv[-1].
26922
269232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26924
26925 [BZ #14544]
26926 * Makeconfig (link-static-before-libc): Replace $(+prector)
26927 with $(+prectorT).
26928 (link-static-after-libc): Replace $(+postctor) with
26929 $(+postctorT).
26930 (link-bounded): Replace $(+prector)/$(+postctor) with
26931 $(+prectorT)/$(+postctorT).
26932 (+prectorT): New macro.
26933 (+postctorT): Likewise.
26934
269352012-09-06 Joseph Myers <joseph@codesourcery.com>
26936
26937 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26938 (round_str): Handle values above the maximum for IBM long double
26939 as inexact.
26940 * stdlib/tst-strtod-round.c (tests): Regenerated.
26941
269422012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26943
26944 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26945 assembler flag.
26946 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26947 zarch_nohighgprs around the zarch optimized routines.
26948 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26949 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26950 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26951 for zarch.
26952
269532012-09-05 David S. Miller <davem@davemloft.net>
26954
26955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26956
26957 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26958 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26959 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26960 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26961 entries.
26962
269632012-09-05 Alexandre Oliva <aoliva@redhat.com>
26964
26965 * malloc/arena.c: Fold copyright years.
26966 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26967
269682012-09-05 Alexandre Oliva <aoliva@redhat.com>
26969
26970 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26971
269722012-09-05 Alexandre Oliva <aoliva@redhat.com>
26973
26974 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26975
269762012-09-05 Alexandre Oliva <aoliva@redhat.com>
26977
26978 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26979 change internal state upon failure.
26980
269812012-09-05 Alexandre Oliva <aoliva@redhat.com>
26982
26983 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26984 * malloc/memusage.c (mmap): Likewise.
26985 (mmap64, mremap): Likewise. Adjust name in comment.
26986
269872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26988
26989 * libio/fileops.c: Fix typos in comments.
26990 * libio/oldfileops.c: Likewise.
26991 * libio/wfileops.c: Likewise.
26992
269932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26994
26995 [BZ #1349]
26996 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26997 (tst-malloc-usable-ENV): Set environment for test case.
26998 * malloc/hooks.c (malloc_check_get_size): New function to get
26999 requested size.
27000 * malloc/malloc.c (musable): Use malloc_check_get_size.
27001 * malloc/tst-malloc-usable.c: New test case.
27002
270032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27004
27005 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27006
270072012-09-05 Allan McRae <allan@archlinux.org>
27008
27009 [BZ #13966]
27010 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27011 determine header location.
27012 * configure: Regenerated.
27013
270142012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27015
27016 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27017 float format.
27018 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27019 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27020 format.
27021 (test): Regenerate.
27022
270232012-09-04 David S. Miller <davem@davemloft.net>
27024
27025 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27026 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27027 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27028
270292012-09-04 Florian Weimer <fweimer@redhat.com>
27030
27031 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27032 failures.
27033
27034 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27035
270362012-09-04 Joseph Myers <joseph@codesourcery.com>
27037
27038 [BZ #9914]
27039 * libio/iogetdelim.c: Include <limits.h>.
27040 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27041 + len + 1 would overflow.
27042
270432012-09-03 Andreas Jaeger <aj@suse.de>
27044
27045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27046 * sysdeps/i386/fpu/libm-test-ulps: Update.
27047
270482012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27049
27050 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27051 Add s_sinf-sse2, s_conf-sse2.
27052
27053 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27054 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27055 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27056 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27057
27058 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27059 for using routine as __sinf_ia32.
27060 Use macro for function declaration and weak_alias.
27061 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27062 for using routine as __cosf_ia32.
27063 Use macro for function declaration and weak_alias.
27064
27065 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27066 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27067
27068 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27069 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27071
27072 * math/libm-test.inc (cos_test): Add more test cases.
27073 (sin_test): Likewise.
27074 (sincos_test): Likewise.
27075
270762012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27077
27078 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27079 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27080 hidden.
27081 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27082
270832012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27084
27085 [BZ #14538]
27086 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27087 first element of the GOT.
27088 (elf_machine_load_address): Return the difference between
27089 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27090
270912012-09-01 Allan McRae <allan@archlinux.org>
27092
27093 [BZ #13412]
27094 * configure.in (AWK): Require gawk version 3.0 or later.
27095 * configure: Regenerated.
27096
270972012-09-01 Joseph Myers <joseph@codesourcery.com>
27098
27099 * sysdeps/unix/sysv/linux/kernel-features.h
27100 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27101 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27102 [__NR_clock_getres]: Make code unconditional.
27103 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27104 (clock_getcpuclockid): Remove code left unreachable by removal of
27105 conditionals.
27106 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27107 code unconditional.
27108 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27109 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27110 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27111 Make code unconditional.
27112 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27113 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27114 * sysdeps/unix/sysv/linux/clock_settime.c
27115 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27116 conditional code.
27117 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27118 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27119
271202012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27121
27122 [BZ #14476]
27123 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27124 scripts/test-installation.pl.
27125
27126 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27127 and $ld_so_version if it is set.
27128
271292012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27130
27131 [BZ #14516]
27132 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27133 failure if reading from procfs failed.
27134 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27135
271362012-08-27 Joseph Myers <joseph@codesourcery.com>
27137
27138 * sysdeps/unix/sysv/linux/kernel-features.h
27139 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27140 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27141 Remove conditional code.
27142 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27143 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27144 Remove conditional code.
27145 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27146 * sysdeps/unix/sysv/linux/i386/fxstat.c
27147 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27148 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27149 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27150 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27151 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27152 * sysdeps/unix/sysv/linux/i386/lxstat.c
27153 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27154 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27155 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27156 Remove conditional code.
27157 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27158 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27159 Remove conditional code.
27160 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27161 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27162 <kernel-features.h>.
27163 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27164 Remove.
27165 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27166 Remove conditional code.
27167 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27168 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27169 Remove conditional.
27170
271712012-08-27 Mike Frysinger <vapier@gentoo.org>
27172
27173 [BZ #5400]
27174 * NEWS: Add fixed bug number.
27175
271762012-08-27 Joseph Myers <joseph@codesourcery.com>
27177
27178 [BZ #14519]
27179 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27180 underflowing exponent in case of negative sign.
27181 * stdlib/tst-strtod-round-data: Add more tests.
27182 * stdlib/tst-strtod-round.c (tests): Regenerated.
27183
27184 [BZ #3479]
27185 * stdlib/strtod_l.c (NDIG): Remove.
27186 (HEXNDIG): Likewise.
27187 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27188 smallest representable value.
27189 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27190 lie within an exact representation of 1/2 ulp of the result.
27191 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27192 unconditionally.
27193 (TENS_P9_IDX): Define unconditionally.
27194 (TENS_P9_SIZE): Likewise.
27195 (TENS_P10_IDX): Likewise.
27196 (TENS_P10_SIZE): Likewise.
27197 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27198 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27199 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27200 entries for 10^2^13 and 10^2^14.
27201 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27202 (TENS_P13_IDX): Define.
27203 (TENS_P13_SIZE): Likewise.
27204 (TENS_P14_IDX): Likewise.
27205 (TENS_P14_SIZE): Likewise.
27206 (_fpioconst_pow10): Change array size to
27207 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27208 unconditional.
27209 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27210 1024]: Add entries for 10^2^13 and 10^2^14.
27211 [LAST_POW10 > _LAST_POW10]: Remove #error.
27212 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27213 (_fpioconst_pow10): Change array size to
27214 FPIOCONST_POW10_ARRAY_SIZE.
27215 * stdlib/gen-fpioconst.c: New file.
27216 * stdlib/gen-tst-strtod-round.c: Likewise.
27217 * stdlib/tst-strtod-round-data: Likewise.
27218 * stdlib/tst-strtod-round.c: Likewise.
27219 * stdlib/Makefile (tests): Add tst-strtod-round.
27220
27221 [BZ #14459]
27222 * stdlib/strtod_l.c: Include <stdint.h>.
27223 (NDEBUG): Do not define.
27224 (round_and_return): Change EXPONENT parameter to type intmax_t.
27225 Rearrange calculations to avoid internal overflow possibilities.
27226 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27227 Rearrange calculations to avoid internal overflow possibilities.
27228 Assert that number fits inside MPNSIZE limbs.
27229 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27230 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27231 calculations and add assertions to avoid internal overflow
27232 possibilities. Add casts to avoid signed/unsigned operations.
27233 * stdlib/tst-strtod-overflow.c: New file.
27234 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27235
272362012-08-25 Marek Polacek <polacek@redhat.com>
27237
27238 * time/time.h: Fix some typos in comments.
27239
272402012-08-23 Roland McGrath <roland@hack.frob.com>
27241
27242 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27243 * posix/tst-rfc3484-2.c: Likewise.
27244 * posix/tst-rfc3484-3.c: Likewise.
27245
272462012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27247
27248 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27249 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27250
272512012-08-23 Joseph Myers <joseph@codesourcery.com>
27252
27253 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27254 #include of fxstatat64.c.
27255
272562012-08-22 Roland McGrath <roland@hack.frob.com>
27257
27258 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27259 * shadow/getspent_r.c: Likewise.
27260 * shadow/getspnam.c: Likewise.
27261 * shadow/getspnam_r.c: Likewise.
27262 * gshadow/getsgent.c: Likewise.
27263 * gshadow/getsgent_r.c: Likewise.
27264 * gshadow/getsgnam.c: Likewise.
27265 * gshadow/getsgnam_r.c: Likewise.
27266 * inet/getnetbyad.c: Likewise.
27267 * inet/getnetbyad_r.c: Likewise.
27268 * inet/getnetbynm.c: Likewise.
27269 * inet/getnetbynm_r.c: Likewise.
27270 * inet/getnetent.c: Likewise.
27271 * inet/getnetent_r.c: Likewise.
27272 * inet/getproto.c: Likewise.
27273 * inet/getproto_r.c: Likewise.
27274 * inet/getprtent.c: Likewise.
27275 * inet/getprtent_r.c: Likewise.
27276 * inet/getprtname.c: Likewise.
27277 * inet/getprtname_r.c: Likewise.
27278 * inet/getrpcbyname.c: Likewise.
27279 * inet/getrpcbyname_r.c: Likewise.
27280 * inet/getrpcbynumber.c: Likewise.
27281 * inet/getrpcbynumber_r.c: Likewise.
27282 * inet/getrpcent.c: Likewise.
27283 * inet/getrpcent_r.c: Likewise.
27284 * inet/getaliasent.c: Likewise.
27285 * inet/getaliasent_r.c: Likewise.
27286 * inet/getaliasname.c: Likewise.
27287 * inet/getaliasname_r.c: Likewise.
27288 * nscd/getgrgid_r.c: Likewise.
27289 * nscd/getgrnam_r.c: Likewise.
27290 * nscd/gethstbyad_r.c: Likewise.
27291 * nscd/gethstbynm3_r.c: Likewise.
27292 * nscd/getpwnam_r.c: Likewise.
27293 * nscd/getpwuid_r.c: Likewise.
27294 * nscd/getsrvbynm_r.c: Likewise.
27295 * nscd/getsrvbypt_r.c: Likewise.
27296 * nscd/gai.c: Likewise.
27297
27298 * configure.in (build_nscd): New substituted variable, set
27299 by --disable-build-nscd and defaults to $use_nscd.
27300 * configure: Regenerated.
27301 * config.make.in (build-nscd): New substituted variable.
27302 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27303 Change conditional to require [$(build-nscd) = yes] as well.
27304 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27305
27306 [BZ# 13696]
27307 * configure.in (use_nscd): New substituted variable, set by
27308 --disable-nscd. If enabled, define USE_NSCD.
27309 * configure: Regenerated.
27310 * config.h.in: Add USE_NSCD.
27311 * config.make.in (use-nscd): New substituted variable.
27312 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27313 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27314 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27315 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27316 (CFLAGS-getgrnam_r.c): Likewise.
27317 (CFLAGS-initgroups.c): Likewise.
27318 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27319 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27320 Variables removed.
27321 * inet/getnetgrent_r.c
27322 (nscd_setnetgrent): New function, broken out of ...
27323 (setnetgrent): ... here. Call it.
27324 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27325 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27326 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27327 * nscd/Makefile (routines, aux): Move definitions after include of
27328 Makeconfig. Conditionalize on [$(use-nscd) != no].
27329 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27330 Conditionalize on [USE_NSCD].
27331 (is_nscd, nscd_init_cb): Likewise.
27332 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27333 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27334 * nss/nss_db/db-init.c: Likewise.
27335 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27336 [USE_NSCD].
27337 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27338 (make_request): Use it.
27339 (cache_valid_p): New function.
27340 (__check_pf): Use it.
27341 * NEWS: Add item for --disable-nscd.
27342
273432012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27344
27345 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27346 to support sed >= 4.2.1-20-ga9bf076.
27347 * configure: Regenerated.
27348
273492012-08-22 Roland McGrath <roland@hack.frob.com>
27350
27351 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27352 Conditionalize whole body on [IREL].
27353
273542012-08-22 Jeff Law <law@redhat.com>
27355
27356 [BZ #14505]
27357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27358 if the family is PF_UNSPEC.
27359
273602012-08-22 Mike Frysinger <vapier@gentoo.org>
27361
27362 * Makerules (lib-version): Rename from V.
27363 (install-lib-nosubdir): Change V to lib-version.
27364
273652012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27366
27367 [BZ #14252]
27368 * powerpc32/power6/wcschr.c: New file.
27369 * powerpc32/power6/wcscpy.c: New file.
27370 * powerpc32/power6/wcsrchr.c: New file.
27371 * powerpc64/power6/wcschr.c: New file.
27372 * powerpc64/power6/wcscpy.c: New file.
27373 * powerpc64/power6/wcsrchr.c: New file.
27374
273752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27376
27377 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27378 (two_way_short_needle): Use it.
27379 * string/strstr.c (AVAILABLE1_USES_J): Define.
27380 * string/strcasestr.c: Likewise.
27381
27382 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27383 array references.
27384 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27385
27386 [BZ #11607]
27387 * NEWS: Add an entry.
27388 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27389 define their defaults.
27390 (two_way_short_needle): Detect end-of-string on-the-fly.
27391 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27392 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27393 * string/bug-strcasestr1.c: New test.
27394 * string/Makefile: Run it.
27395
273962012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27397
27398 [BZ #11607]
27399 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27400 the first character.
27401
274022012-08-21 Roland McGrath <roland@hack.frob.com>
27403
27404 * csu/elf-init.c (__libc_csu_irel): Function removed.
27405 * csu/libc-start.c (apply_irel): New function.
27406 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27407
274082012-08-21 Joseph Myers <joseph@codesourcery.com>
27409
27410 * sysdeps/unix/sysv/linux/kernel-features.h
27411 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27412 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27413 <kernel-features.h>.
27414 [__NR_fadvise64_64]: Make code unconditional.
27415 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27416 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27417 !__NR_fadvise64_64)]: Likewise.
27418 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27419 !__NR_fadvise64_64))]: Likewise.
27420 [__NR_fadvise64]: Make code unconditional.
27421 [!__NR_fadvise64]: Remove conditional code.
27422 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27423 <kernel-features.h>.
27424 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27425 unconditional.
27426 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27427 conditional code.
27428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27429 not include <kernel-features.h>.
27430 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27431 unconditional.
27432 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27433 conditional code.
27434 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27435 include <kernel-features.h>.
27436 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27437 unconditional.
27438 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27439 conditional code.
27440
274412012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27442
27443 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27444 slight instruction rearrangements per scrollpipe analysis.
27445 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27446
274472012-08-20 Roland McGrath <roland@hack.frob.com>
27448
27449 * manual/syslog.texi (syslog; vsyslog, closelog):
27450 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27451 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27452
27453 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27454 DSOCAPS to match condition on defining it.
27455
274562012-08-20 Joseph Myers <joseph@codesourcery.com>
27457
27458 * sysdeps/unix/sysv/linux/kernel-features.h
27459 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27461 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27462 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27464 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27465 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27467 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27468 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27469
27470 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27471 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27472
27473 * sysdeps/unix/sysv/linux/kernel-features.h
27474 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27475 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27476 unconditional.
27477 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27478 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27479 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27480 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27481 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27482 Make code unconditional.
27483 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27484 (__mmap64) [!__NR_mmap2]: Likewise.
27485 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27486 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27487 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27488 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27489 [__NR_mmap2]: Make code unconditional.
27490 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27491 (__mmap64) [!__NR_mmap2]: Likewise.
27492
274932012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27494
27495 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27496
274972012-08-18 Andreas Jaeger <aj@suse.de>
27498
27499 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27500
275012012-08-18 Mike Frysinger <vapier@gentoo.org>
27502
27503 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27504 * include/unistd.h (__have_sock_cloexec): Likewise.
27505 (__have_pipe2): Likewise.
27506 (__have_dup3): Likewise.
27507
275082012-08-18 Mike Frysinger <vapier@gentoo.org>
27509
27510 [BZ #9685]
27511 * include/unistd.h (__have_pipe2): Change define into an extern int.
27512 (__have_dup3): Likewise.
27513 * socket/have_sock_cloexec.c: Include fcntl.h.
27514 (__have_pipe2): New variable.
27515 (__have_dup3): Likewise.
27516
275172012-08-17 Mike Frysinger <vapier@gentoo.org>
27518
27519 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27520
275212012-08-17 Marek Polacek <polacek@redhat.com>
27522
27523 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27524 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27525
275262012-08-17 Roland McGrath <roland@hack.frob.com>
27527
27528 * configure.in: Add AC_SUBST for sysheaders.
27529 * configure: Regenerated.
27530 * config.make.in (sysheaders): New substituted variable.
27531
27532 * sysdeps/unix/mkfifo.c: Moved ...
27533 * sysdeps/posix/mkfifo.c: ... here.
27534 * sysdeps/unix/mkfifoat.c: Moved ...
27535 * sysdeps/posix/mkfifoat.c: ... here.
27536
27537 * sysdeps/unix/utime.c: Moved ...
27538 * sysdeps/posix/utime.c: ... here.
27539
27540 * sysdeps/unix/time.c: Moved ...
27541 * sysdeps/posix/time.c: ... here.
27542 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27543 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27544
27545 * sysdeps/unix/nice.c: Moved ...
27546 * sysdeps/posix/nice.c: ... here.
27547
27548 * sysdeps/unix/alarm.c: Moved ...
27549 * sysdeps/posix/alarm.c: ... here.
27550
27551 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27552
275532012-08-17 Jeff Law <law@redhat.com>
27554
27555 * intl/Makefile (codeset_mo): New variable.
27556 ($(codeset_mo)): New target.
27557 (tst-codeset.out): Depend on that. Remove explicit rule.
27558 (tst-gettext3.out, tst-gettext5.out): Likewise.
27559 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27560 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27561 * intl/tst-codeset.sh: Remove.
27562 * intl/tst-gettext3.sh: Likewise.
27563 * intl/tst-gettext5.sh: Likewise.
27564
275652012-08-17 Roland McGrath <roland@hack.frob.com>
27566
27567 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27568 * sysdeps/unix/syscalls.list: ... here.
27569
27570 * sysdeps/posix/getaddrinfo.c
27571 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27572 (gaiconf_init, gaiconf_reload): Use them.
27573 [!_STATBUF_ST_NSEC]
27574 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27575 Define using time_t rather than struct timespec.
27576
27577 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27578 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27579 Macros removed.
27580 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27581 [!NO_THREADS].
27582 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27583 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27584 Likewise.
27585
27586 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27587 __libc_cleanup_push argument.
27588
27589 * bits/param.h: New file.
27590 * misc/sys/param.h: New file.
27591 * include/sys/param.h: New file.
27592 * misc/Makefile (headers): Add bits/param.h.
27593 * sysdeps/generic/sys/param.h: File removed.
27594 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27595 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27596 * sysdeps/mach/hurd/bits/param.h: New file.
27597 * sysdeps/mach/hurd/sys/param.h: File removed.
27598
27599 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27600 last change.
27601
27602 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27603 [_IO_MTSAFE_IO].
27604 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27605 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27606 New macros.
27607
27608 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27609 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27610 rather than -D_IO_MTSAFE_IO conditionally.
27611 * stdio-common/Makefile (CPPFLAGS): Likewise.
27612 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27613 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27614 Use $(libio-mtsafe).
27615 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27616 of -D_IO_MTSAFE_IO.
27617 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27618 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27619 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27620 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27621 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27622 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27623 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27624 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27625 (CFLAGS-fread_u_chk.c): Likewise.
27626 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27627 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27628 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27629 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27630 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27631 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27632 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27633 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27634 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27635
27636 * libio/Makefile: Test [$(libc-reentrant) = yes]
27637 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27638
27639 * Makeconfig
27640 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27641 * sysdeps/pthread/configure: File removed.
27642 * sysdeps/pthread/Makeconfig: New file.
27643 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27644 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27645
276462012-08-16 Gary Benson <gbenson@redhat.com>
27647
27648 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27649 unmapping the first object in a namespace.
27650
276512012-08-16 Roland McGrath <roland@hack.frob.com>
27652
27653 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27654 (__internal_setnetgrent): ... this. Add internal_function to
27655 definition. Add libc_hidden_def.
27656 (setnetgrent): Update caller.
27657 (internal_endnetgrent): Renamed to ...
27658 (__internal_endnetgrent): ... this. Add internal_function to
27659 definition. Add libc_hidden_def.
27660 (endnetgrent): Update caller.
27661 (internal_getnetgrent_r): Renamed to ...
27662 (__internal_getnetgrent_r): ... this. Add internal_function to
27663 definition. Add libc_hidden_def.
27664 (__getnetgrent_r): Update caller.
27665 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27666
276672012-08-16 Joseph Myers <joseph@codesourcery.com>
27668
27669 * stdlib/longlong.h: Update from GCC.
27670
276712012-08-16 Roland McGrath <roland@hack.frob.com>
27672
27673 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27674 on _QL, which is set by umul_ppmm but never used.
27675 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27676 variables, which are set by GMP macros but never used.
27677 * stdio-common/_itowa.c (_itowa): Likewise.
27678 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27679 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27680
276812012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27682
27683 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27684 struct La_sh_regs is not constant.
27685 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27686 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27687 and struct La_sparc64_regs are not constant.
27688
276892012-08-16 Joseph Myers <joseph@codesourcery.com>
27690
27691 * sysdeps/unix/sysv/linux/kernel-features.h
27692 (__ASSUME_POSIX_TIMERS): Remove.
27693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27694 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27695 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27696 Make code unconditional.
27697 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27698 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27699 Make code unconditional.
27700 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27701 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27702 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27703 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27704 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27705 Make code unconditional.
27706 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27707 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27708 (__libc_missing_posix_timers): Remove.
27709
277102012-08-15 Roland McGrath <roland@hack.frob.com>
27711
27712 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27713 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27714
27715 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27716
27717 * elf/dl-sym.c: Include <stdlib.h>.
27718
27719 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27720 constants, which avoids warnings in 32-bit builds.
27721
27722 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27723 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27724
27725 * misc/lseek.c: File moved to ...
27726 * io/lseek.c: ... here.
27727
27728 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27729
27730 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27731 shifting LEN more than 31 bits at once.
27732
277332012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27734
27735 [BZ #14195]
27736 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27737 segmentation fault for a case of two empty input strings.
27738 * string/test-strncasecmp.c (check1): Renamed to...
27739 (bz12205): ...this.
27740 (bz14195): Add new testcase for two empty input strings and N > 0.
27741 (test_main): Call new testcase, adapt for renamed function.
27742
277432012-08-15 Andreas Jaeger <aj@suse.de>
27744
27745 [BZ #14090]
27746 * crypt/md5test2.c: New test, based on test supplied by Serge
27747 Belyshev <belyshev@depni.sinp.msu.ru>.
27748 * crypt/Makefile (xtests): Add md5test-giant..
27749 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27750
277512012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27752
27753 [BZ #14090]
27754 * crypt/md5.c (md5_process_block): Don't assume the buffer
27755 length is less than 2**32.
27756 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27757 length is less than 2**64.
27758
277592012-08-15 Roland McGrath <roland@hack.frob.com>
27760
27761 * string/str-two-way.h: Include <sys/param.h>.
27762 (MAX): Macro removed.
27763
27764 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27765 Move #define and #undef of memmove to just before and after
27766 including <string.h>.
27767
27768 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27769 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27770 and after including <string.h>. Move declarations of
27771 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27772 to before #include "string/memmove.c".
27773
27774 * include/dirent.h: Declare __getdirentries.
27775
27776 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27777 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27778
277792012-08-14 Mike Frysinger <vapier@gentoo.org>
27780
27781 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27782 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27783 * sysdeps/i386/configure: Regenerated.
27784 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27785 STABS_CURRENT_FILE, and STABS_FUN.
27786 (END): Remove call to STABS_FUN_END.
27787 (STABS_CURRENT_FILE1): Delete.
27788 (STABS_CURRENT_FILE): Likewise.
27789 (STABS_FUN): Likewise.
27790 (STABS_FUN_END): Likewise.
27791 (STABS_FUN2): Likewise.
27792 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27793 * sysdeps/x86_64/configure: Regenerated.
27794
277952012-08-14 Roland McGrath <roland@hack.frob.com>
27796
27797 * elf/dl-open.c: Include <atomic.h>.
27798 * elf/dl-lookup.c: Likewise.
27799
278002012-08-14 Joseph Myers <joseph@codesourcery.com>
27801
27802 * sysdeps/unix/sysv/linux/kernel-features.h
27803 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27804 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27805 unconditionally.
27806 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27807 unconditionally.
27808 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27809 condition on __ASSUME_CLONE_THREAD_FLAGS.
27810
278112012-08-14 Andreas Jaeger <aj@suse.de>
27812
27813 * sysdeps/i386/fpu/libm-test-ulps: Update.
27814
278152012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27816
27817 * include/atomic.h (atomic_exchange_and_add): Split into ...
27818 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27819 New atomic macros.
27820
278212012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27822
27823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27824
278252012-08-13 Jeff Law <law@redhat.com>
27826
27827 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27828 null byte in the output string.
27829
278302012-08-10 Joseph Myers <joseph@codesourcery.com>
27831
27832 * sysdeps/unix/sysv/linux/kernel-features.h
27833 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27834 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27835 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27836 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27837 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27838 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27839 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27840
278412012-08-09 Jeff Law <law@redhat.com>
27842
27843 [BZ #13939]
27844 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27845 When avoid_arena is set, don't retry in the that arena. Pick the
27846 next one, whatever it might be.
27847 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27848 (arena_lock): Pass in new parameter to arena_get2.
27849 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27850 arena_get2.
27851 (__libc_malloc): Unify retrying after main arena failure with
27852 __libc_memalign version.
27853 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27854
278552012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27856
27857 [BZ #14166]
27858 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27859 to __redirect_strstr.
27860 (__strstr_sse42): Use typeof __redirect_strstr.
27861 (__strstr_ia32): Likewise.
27862 (__libc_strstr): New prototype.
27863 (strstr): Renamed to ...
27864 (__libc_strstr): This.
27865 (strstr): New strong alias of __libc_strstr.
27866 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27867 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27868 __redirect_time.
27869 Include <time.h>.
27870 (__libc_time): New prototype.
27871 (time_ifunc): Replace time with __libc_time.
27872 (time): New strong alias and hidden definition of __libc_time.
27873 (__GI_time): Remove strong alias.
27874 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27875 Include <stddef.h>.
27876 (memmove): Redefined to __redirect_memmove.
27877 (__memmove_sse2): Use typeof __redirect_memmove.
27878 (__memmove_ssse3): Likewise.
27879 (__memmove_ssse3_back): Likewise.
27880 (__libc_memmove): New prototype.
27881 (memmove): Renamed to ...
27882 (__libc_memmove): This.
27883 (memmove): New strong alias of __libc_memmove.
27884
278852012-08-08 Mark Salter <msalter@redhat.com>
27886
27887 * elf/elf.h
27888 (R_MN10300_TLS_GD): Define.
27889 (R_MN10300_TLS_LD): Likewise.
27890 (R_MN10300_TLS_LDO): Likewise.
27891 (R_MN10300_TLS_GOTIE): Likewise.
27892 (R_MN10300_TLS_IE): Likewise.
27893 (R_MN10300_TLS_LE): Likewise.
27894 (R_MN10300_TLS_DTPMOD): Likewise.
27895 (R_MN10300_TLS_DTPOFF): Likewise.
27896 (R_MN10300_TLS_TPOFF): Likewise.
27897 (R_MN10300_SYM_DIFF): Likewise.
27898 (R_MN10300_ALIGN): Likewise.
27899 (R_MN10300_NUM): Update.
27900
279012012-08-08 Joseph Myers <joseph@codesourcery.com>
27902
27903 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27904 Remove.
27905
279062012-08-08 Roland McGrath <roland@hack.frob.com>
27907
27908 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27909
27910 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27911 sysdeps/unix -> sysdeps/posix move.
27912 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27913
279142012-08-07 Allan McRae <allan@archlinux.org>
27915
27916 [BZ #14303]
27917 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27918 (SUNOS_CPP): Likewise.
27919 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27920 not found.
27921 (open_input): Call CPP using execvp.
27922
279232012-08-07 Joseph Myers <joseph@codesourcery.com>
27924
27925 * sysdeps/unix/sysv/linux/kernel-features.h
27926 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27927 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27928 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27929 (__ASSUME_WAITID_SYSCALL): Likewise.
27930 * sysdeps/unix/sysv/linux/dl-execstack.c
27931 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27932 code unconditional.
27933 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27934 conditional code.
27935 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27936 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27937 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27938 code.
27939 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27940 unconditional.
27941 [__ASSUME_WAITID_SYSCALL]: Likewise.
27942 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27943
279442012-08-07 Roland McGrath <roland@hack.frob.com>
27945
27946 * sysdeps/unix/closedir.c: Renamed to ...
27947 * sysdeps/posix/closedir.c: ... here.
27948 * sysdeps/unix/dirfd.c: Renamed to ...
27949 * sysdeps/posix/dirfd.c: ... here.
27950 * sysdeps/unix/dirstream.h: Renamed to ...
27951 * sysdeps/posix/dirstream.h: ... here.
27952 * sysdeps/unix/fdopendir.c: Renamed to ...
27953 * sysdeps/posix/fdopendir.c: ... here.
27954 * sysdeps/unix/opendir.c: Renamed to ...
27955 * sysdeps/posix/opendir.c: ... here.
27956 * sysdeps/unix/readdir.c: Renamed to ...
27957 * sysdeps/posix/readdir.c: ... here.
27958 * sysdeps/unix/readdir_r.c: Renamed to ...
27959 * sysdeps/posix/readdir_r.c: ... here.
27960 * sysdeps/unix/rewinddir.c: Renamed to ...
27961 * sysdeps/posix/rewinddir.c: ... here.
27962 * sysdeps/unix/seekdir.c: Renamed to ...
27963 * sysdeps/posix/seekdir.c: ... here.
27964 * sysdeps/unix/telldir.c: Renamed to ...
27965 * sysdeps/posix/telldir.c: ... here.
27966 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27967 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27968 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27969 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27970
27971 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27972 * bits/fcntl.h: ... here.
27973
27974 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27975 not 0.
27976 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27977 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27978 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27979 (struct flock): Move l_start, l_len to the beginning.
27980 Use __pid_t for l_pid.
27981 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27982 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27983 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27984 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27985 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27986 [__USE_LARGEFILE64] (struct flock64): New type.
27987 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27988
27989 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27990 * bits/dirent.h: ... here.
27991
27992 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27993 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27994
279952012-08-07 Joseph Myers <joseph@codesourcery.com>
27996
27997 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27998 Change from 2.6.0 to 2.6.16.
27999 * sysdeps/unix/sysv/linux/configure: Regenerated.
28000 * sysdeps/unix/sysv/linux/kernel-features.h
28001 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28002 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28003 version.
28004 (__ASSUME_UTIMES): Likewise.
28005 (__ASSUME_CLONE_STOPPED): Remove.
28006 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28007 architectures, not kernel version.
28008 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28009 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28010 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28011 (__ASSUME_WAITID_SYSCALL): Likewise.
28012 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28013 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28014 * README: State 2.6.16 as minimum Linux kernel version. Do not
28015 refer to older versions.
28016
280172012-08-06 Roland McGrath <roland@hack.frob.com>
28018
28019 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28020 Define alphasort64 as an alias.
28021 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28022 Define versionsort64 as an alias.
28023 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28024 Define scandir64 as an alias.
28025 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28026 Define scandirat64 as an alias.
28027 * dirent/alphasort64.c (alphasort64):
28028 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28029 * dirent/versionsort64.c: Likewise.
28030 * dirent/scandir64.c: Likewise.
28031 * dirent/scandirat64.c: Likewise.
28032 * sysdeps/wordsize-64/alphasort.c: File removed.
28033 * sysdeps/wordsize-64/alphasort64.c: File removed.
28034 * sysdeps/wordsize-64/scandir.c: File removed.
28035 * sysdeps/wordsize-64/scandir64.c: File removed.
28036 * sysdeps/wordsize-64/scandirat.c: File removed.
28037 * sysdeps/wordsize-64/scandirat64.c: File removed.
28038 * sysdeps/wordsize-64/versionsort.c: File removed.
28039 * sysdeps/wordsize-64/versionsort64.c: File removed.
28040 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28041 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28042 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28043 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28044 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28045 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28046 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28047 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28048
28049 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28051 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28053 [defined __arch64__ || defined __sparcv9]
28054 (__INO_T_MATCHES_INO64_T): New macro.
28055 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28056 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28057 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28058 * sysdeps/unix/sysv/linux/bits/dirent.h
28059 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28060 (_DIRENT_MATCHES_DIRENT64): New macro.
28061
28062 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28063 Define lockf64 as an alias.
28064 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28065 Define fseeko64 as an alias.
28066 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28067 Define ftello64 as an alias.
28068 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28069 Define _IO_fgetpos64 and fgetpos64 as aliases.
28070 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28071 Define _IO_fsetpos64 and fsetpos64 as aliases.
28072 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28073 Conditionalize body on this.
28074 * libio/fseeko64.c: Likewise.
28075 * libio/ftello64.c: Likewise.
28076 * libio/iofgetpos64.c: Likewise.
28077 * libio/iofsetpos64.c: Likewise.
28078 * sysdeps/wordsize-64/lockf.c: File removed.
28079 * sysdeps/wordsize-64/lockf64.c: File removed.
28080 * sysdeps/wordsize-64/fseeko.c: File removed.
28081 * sysdeps/wordsize-64/fseeko64.c: File removed.
28082 * sysdeps/wordsize-64/ftello.c: File removed.
28083 * sysdeps/wordsize-64/ftello64.c: File removed.
28084 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28085 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28086 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28087 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28088 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28089 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28090 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28091 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28092 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28093 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28094 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28095 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28096 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28097 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28098
28099 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28101 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28103 [defined __arch64__ || defined __sparcv9]
28104 (__OFF_T_MATCHES_OFF64_T): New macro.
28105 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28106 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28108 (__OFF_T_MATCHES_OFF64_T): New macro.
28109
281102012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28111
28112 * stdlib/secure-getenv.c (__secure_getenv): Replace
28113 GLIBC_2_16 with GLIBC_2_17.
28114
281152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28116
28117 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28118 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28119
281202012-08-03 David S. Miller <davem@davemloft.net>
28121
28122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28123
281242012-08-03 Joseph Myers <joseph@codesourcery.com>
28125
28126 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28127 Remove.
28128 (__ASSUME_CORRECT_SI_PID): Likewise.
28129 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28130 (__ASSUME_TMPFS_NAME): Likewise.
28131 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28132 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28133 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28134 (HAVE_AUX_SECURE): Make definition unconditional.
28135 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28136 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28137
281382012-08-03 Roland McGrath <roland@hack.frob.com>
28139
28140 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28141 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28142 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28143 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28144 __eloop_threshold instead of SYMLOOP_MAX.
28145
28146 * sysdeps/generic/eloop-threshold.h: New file.
28147 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28148 of MAXSYMLINKS.
28149 * elf/chroot_canon.c (chroot_canon): Likewise.
28150
281512012-08-03 Joseph Myers <joseph@codesourcery.com>
28152
28153 [BZ #13717]
28154 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28155 Change to 2.6.0 everywhere.
28156 * sysdeps/unix/sysv/linux/configure: Regenerated.
28157 * sysdeps/unix/sysv/linux/kernel-features.h
28158 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28159 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28160 kernel versions.
28161 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28162 (__ASSUME_FUTEX_REQUEUE): Remove.
28163 (__ASSUME_STATFS64): Define unconditionally.
28164 (__ASSUME_AT_SECURE): Likewise.
28165 (__ASSUME_CORRECT_SI_PID): Likewise.
28166 (__ASSUME_TGKILL): Define without depending on kernel version for
28167 i386.
28168 (__ASSUME_UTIMES): Likewise.
28169 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28170 kernel version.
28171 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28172 (__ASSUME_TMPFS_NAME): Likewise.
28173 * README: Update reference to Linux kernel versions.
28174
281752012-08-02 Marek Polacek <polacek@redhat.com>
28176
28177 [BZ# 14150]
28178 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28179 libc_cv_asm_type_prefix with %.
28180 * configure: Regenerated.
28181 * include/libc-symbols.h: Remove comment about
28182 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28183 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28184 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28185 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28186 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28187 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28188 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28189 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28190 * elf/tst-unique2mod1.c: Likewise.
28191 * elf/tst-unique1mod2.c: Likewise.
28192 * elf/tst-unique1mod1.c: Likewise.
28193 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28194 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28195 Replace ASM_TYPE_DIRECTIVE with .type.
28196 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28197 * sysdeps/i386/sysdep.h: Likewise.
28198 * sysdeps/x86_64/sysdep.h: Likewise.
28199 * sysdeps/sh/sysdep.h: Likewise.
28200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28201 Do not define ASM_TYPE_DIRECTIVE.
28202 * sysdeps/powerpc/sysdep.h: Likewise.
28203 * sysdeps/powerpc/powerpc32/sysdep.h:
28204 Replace ASM_TYPE_DIRECTIVE with .type.
28205 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28206 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28207 * sysdeps/i386/fpu/e_powf.S: Likewise.
28208 * sysdeps/i386/fpu/e_expl.S: Likewise.
28209 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28210 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28211 * sysdeps/i386/fpu/e_pow.S: Likewise.
28212 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28213 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28214 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28215 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28216 * sysdeps/i386/fpu/e_log2.S: Likewise.
28217 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28218 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28219 * sysdeps/i386/fpu/e_powl.S: Likewise.
28220 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28221 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28222 * sysdeps/i386/fpu/e_logl.S: Likewise.
28223 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28224 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28225 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28226 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28227 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28228 * sysdeps/i386/fpu/e_log.S: Likewise.
28229 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28230 * sysdeps/i386/fpu/e_logf.S: Likewise.
28231 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28232 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28233 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28234 * sysdeps/i386/fpu/e_log10.S: Likewise.
28235 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28236 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28237 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28238 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28240 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28241 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28242 * sysdeps/i386/i686/strtok.S: Likewise.
28243 * sysdeps/i386/i386-mcount.S: Likewise.
28244 * sysdeps/i386/strtok.S: Likewise.
28245 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28246 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28247 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28248 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28249 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28250 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28251 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28252 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28253 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28254 * sysdeps/x86_64/_mcount.S: Likewise.
28255 * sysdeps/x86_64/strtok.S: Likewise.
28256 * sysdeps/sh/_mcount.S: Likewise.
28257
282582012-08-01 Roland McGrath <roland@hack.frob.com>
28259
28260 * libio/iofopen.c: Include <fcntl.h>.
28261 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28262 (_IO_fopen64, fopen64): Define as aliases.
28263 * libio/iofopen64.c: Include <fcntl.h>.
28264 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28265 Conditionalize body on this.
28266 * sysdeps/wordsize-64/iofopen.c: File removed.
28267 * sysdeps/wordsize-64/iofopen64.c: File removed.
28268
282692012-08-01 Marek Polacek <polacek@redhat.com>
28270
28271 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28272 Use dlfcn directly instead of a variable.
28273 (binfmt-subdir): Do not define.
28274 (dlfcn): Likewise.
28275
282762012-08-01 Joseph Myers <joseph@codesourcery.com>
28277
28278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28279 Remove all definitions.
28280 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28281 <kernel-features.h>.
28282 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28283 (miss_F_GETOWN_EX): Remove all definitions.
28284 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28285 macro definition.
28286 [!__ASSUME_FCNTL64]: Remove conditional code.
28287 [__ASSUME_FCNTL64]: Make code unconditional.
28288 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28289 <kernel-features.h>.
28290 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28291 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28292 (lockf64) [__NR_fcntl64]: Make code unconditional.
28293 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28294
28295 * sysdeps/unix/sysv/linux/kernel-features.h
28296 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28297 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28298 Make code unconditional.
28299 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28300 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28302 [__NR_vfork]: Make code unconditional.
28303 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28304 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28306 [__NR_vfork]: Make code unconditional.
28307 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28308 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28309
283102012-08-01 Roland McGrath <roland@hack.frob.com>
28311
28312 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28313 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28314
28315 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28316 Define mkstemp64 as an alias.
28317 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28318 Define mkstemps64 as an alias.
28319 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28320 Define mkostemp64 as an alias.
28321 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28322 Define mkostemps64 as an alias.
28323 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28324 Conditionalize body on this.
28325 * misc/mkostemp64.c: Likewise.
28326 * misc/mkostemps64.c: Likewise.
28327 * misc/mkstemps64.c: Likewise.
28328 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28329 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28330 * sysdeps/wordsize-64/mkostemp.c: File removed.
28331 * sysdeps/wordsize-64/mkstemp.c: File removed.
28332 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28333 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28334 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28335 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28336
28337 [BZ #14138]
28338 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28339 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28340 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28341 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28342
28343 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28344 compat_symbol macros from <shlib-compat.h> rather than the underlying
28345 default_symbol_version and symbol_version macros, so that DEFAULT
28346 lines in shlib-versions are respected.
28347 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28348
283492012-08-01 Florian Weimer <fweimer@redhat.com>
28350
28351 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28352 Declare with warn_unused_result.
28353 (setgid, setregid, setegid, setresgid): Likewise.
28354 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28355 Likewise.
28356 * WUR-REPORT: Remove set*id functions.
28357
283582012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28359
28360 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28361
283622012-07-31 Roland McGrath <roland@hack.frob.com>
28363
28364 [BZ #10191]
28365 * include/sys/socket.h (__libc_accept, __libc_accept4):
28366 Add attribute_hidden.
28367 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28368
28369 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28370 use of PTR_MANGLE.
28371 * inet/getnetgrent_r.c (setup): Likewise.
28372
28373 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28374
283752012-07-31 David S. Miller <davem@davemloft.net>
28376
28377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28378
283792012-07-31 Joseph Myers <joseph@codesourcery.com>
28380
28381 [BZ #13629]
28382 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28383 value between 1.0 and 2.0 and smaller part has absolute value less
28384 than 1.0.
28385 * math/s_clog10.c (__clog10): Likewise.
28386 * math/s_clog10f.c (__clog10f): Likewise.
28387 * math/s_clog10l.c (__clog10l): Likewise.
28388 * math/s_clogf.c (__clogf): Likewise.
28389 * math/s_clogl.c (__clogl): Likewise.
28390 * math/libm-test.inc (clog_test): Add more tests.
28391 (clog10_test): Likewise.
28392 * sysdeps/i386/fpu/libm-test-ulps: Update.
28393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28394
283952012-07-31 Florian Weimer <fweimer@redhat.com>
28396
28397 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28398 Exit with zero in case no suitable GID is found, and write a
28399 message to standard error.
28400
284012012-07-30 Roland McGrath <roland@hack.frob.com>
28402
28403 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28404 rather than to 1.
28405 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28406 (MAXPATHLEN): Removed.
28407 (NOGROUP, NODEV): New macros.
28408 (setbit, clrbit, isset, isclr): New macros.
28409 (howmany, roundup, powerof2): New macros.
28410 (DEV_BSIZE): New macro.
28411
28412 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28413 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28414
28415 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28416 definition on [!__NO_LONG_DOUBLE_MATH].
28417
28418 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28419 PTR_MANGLE and PTR_DEMANGLE.
28420
28421 * socket/accept4.c (accept4): Rename to __libc_accept4.
28422 Define accept4 as a weak alias.
28423
28424 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28425 on [_DIRENT_HAVE_D_TYPE].
28426 * io/ftw.c (ftw_dir): Likewise.
28427
28428 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28429
28430 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28431
28432 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28433 Use the BSD numbers rather than the arbitrary ones we had.
28434 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28435 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28436 (SIGXCPU, SIGXFSZ): New macros.
28437 (_NSIG): Now 32.
28438
28439 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28440 initializer on [_LIBC_REENTRANT].
28441
28442 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28443 definitions inside [_POSIX_MAPPED_FILES].
28444
28445 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28446
28447 * dirent/opendir.c: Include <fcntl.h>.
28448
28449 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28450 (__libc_getspecific): Likewise.
28451 (__libc_key_create): Likewise.
28452
28453 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28454 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28455 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28456 (tmpfile64): Define as alias.
28457 * sysdeps/wordsize-64/tmpfile.c: File removed.
28458 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28459 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28460 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28461
28462 * stdio-common/vfscanf.c: Include <stdbool.h>.
28463 * nss/makedb.c: Likewise.
28464 * stdio-common/_i18n_number.h: Likewise.
28465 * argp/argp-help.c: Likewise.
28466 * posix/wordexp.c: Likewise.
28467 * sysdeps/posix/spawni.c: Likewise.
28468 * nss/nss_files/files-initgroups.c: Likewise.
28469 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28470 * nss/nss_files/files-initgroups.c: Likewise.
28471 * nss/nss_db/db-netgrp.c: Likewise.
28472 * nss/nss_db/db-initgroups.c: Likewise.
28473 * io/fchmodat.c: Include <sys/stat.h>.
28474
28475 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28476 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28477
28478 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28479 [HAVE_MMAP].
28480
28481 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28482 Add multiple inclusion protection.
28483
284842012-07-27 David S. Miller <davem@davemloft.net>
28485
28486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28487
284882012-07-27 Gary Benson <gbenson@redhat.com>
28489
28490 [BZ #14298]
28491 * elf/rtld.c: Include <stap-probe.h>.
28492 (dl_main): Added static probes "init_start" and "init_complete".
28493 * elf/dl-load.c: Include <stap-probe.h>.
28494 (lose): Take new parameter "nsid".
28495 Added static probe "map_failed".
28496 (_dl_map_object_from_fd): Pass namespace id to lose.
28497 Added static probe "map_start".
28498 (open_verify): Pass namespace id to lose.
28499 * elf/dl-open.c: Include <stap-probe.h>.
28500 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28501 and "reloc_complete".
28502 * elf/dl-close.c: Include <stap-probe.h>.
28503 (_dl_close_worker): Added static probes "unmap_start" and
28504 "unmap_complete".
28505 * elf/rtld-debugger-interface.txt: New file documenting the above.
28506
285072012-07-26 Roland McGrath <roland@hack.frob.com>
28508
28509 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28510 rather than a string variable.
28511 * sunrpc/rpc_main.c (h_output): Likewise.
28512 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28513
285142012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28515
28516 * inet/check_native.c: New file.
28517
285182012-07-26 Joseph Myers <joseph@codesourcery.com>
28519
28520 [BZ #13629]
28521 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28522 if larger part has absolute value 1.0.
28523 * math/s_clog10.c (__clog10): Likewise.
28524 * math/s_clog10f.c (__clog10f): Likewise.
28525 * math/s_clog10l.c (__clog10l): Likewise.
28526 * math/s_clogf.c (__clogf): Likewise.
28527 * math/s_clogl.c (__clogl): Likewise.
28528 * math/libm-test.inc (clog_test): Add more tests.
28529 (clog10_test): Likewise.
28530 * sysdeps/i386/fpu/libm-test-ulps: Update.
28531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28532
28533 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28534 (pltexit): Likewise.
28535 (La_regs): Likewise.
28536 (La_retval): Likewise.
28537 (int_retval): Likewise.
28538 Update #error for removed macros to refer only to definitions in
28539 tst-audit.h.
28540 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28541 macro.
28542 (pltexit): Likewise.
28543 (La_regs): Likewise.
28544 (La_retval): Likewise.
28545 (int_retval): Likewise.
28546 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28547 macro.
28548 (pltexit): Likewise.
28549 (La_regs): Likewise.
28550 (La_retval): Likewise.
28551 (int_retval): Likewise.
28552 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28553 macro.
28554 (pltexit): Likewise.
28555 (La_regs): Likewise.
28556 (La_retval): Likewise.
28557 (int_retval): Likewise.
28558 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28559 macro.
28560 (pltexit): Likewise.
28561 (La_regs): Likewise.
28562 (La_retval): Likewise.
28563 (int_retval): Likewise.
28564 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28565 macro.
28566 (pltexit): Likewise.
28567 (La_regs): Likewise.
28568 (La_retval): Likewise.
28569 (int_retval): Likewise.
28570 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28571 macro.
28572 (pltexit): Likewise.
28573 (La_regs): Likewise.
28574 (La_retval): Likewise.
28575 (int_retval): Likewise.
28576 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28577 macro definitions in tst-audit.h.
28578 * sysdeps/i386/tst-audit.h: New file.
28579 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28580 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28581 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28582 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28583 * sysdeps/sh/tst-audit.h: Likewise.
28584 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28585 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28586 * sysdeps/x86_64/tst-audit.h: Likewise.
28587
285882012-07-26 Andreas Jaeger <aj@suse.de>
28589
28590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28591 ptrace.
28592
28593 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28594 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28595 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28596 PTRACE_O_MASK.
28597 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28598 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28599 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28600
28601 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28602 value.
28603
28604 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28605 _sigsys.
28606 (si_call_addr, si_syscall, si_arch): Define new macro.
28607 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28608 _sigsys.
28609 (si_call_addr, si_syscall, si_arch): Define new marcro.
28610 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28611 _sigsys.
28612 (si_call_addr, si_syscall, si_arch): Define new macro.
28613 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28614 _sigsys.
28615 (si_call_addr, si_syscall, si_arch): Define new macro.
28616
286172012-07-25 Joseph Myers <joseph@codesourcery.com>
28618
28619 [BZ #13717]
28620 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28621 Change to 2.4.21 where previously 2.4.1.
28622 * sysdeps/unix/sysv/linux/configure: Regenerated.
28623 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28624 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28625 Linux kernel version.
28626 (__ASSUME_STD_AUXV): Remove.
28627 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28628 kernel version.
28629 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28630 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28631 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28632 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28633 (__ASSUME_NETLINK_SUPPORT): Likewise.
28634 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28635 (__no_netlink_support): Remove conditional definition.
28636 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28637 Remove.
28638 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28639 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28640 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28641 (if_nameindex_ioctl): Remove.
28642 (if_nameindex_netlink): Do not handle __no_netlink_support.
28643 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28644 code.
28645 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28646 Remove conditional code.
28647 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28648 code.
28649 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28650 unconditional.
28651 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28652 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28653 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28654 Remove.
28655 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28656 [!__ASSUME_STD_AUXV]: Remove conditional code.
28657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28658 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28659 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28661 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28662 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28663 code.
28664 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28666 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28667 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28668 conditional code.
28669 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28671 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28672 code.
28673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28674 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28675 conditional code.
28676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28677 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28678 code unconditional.
28679 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28680 conditional code.
28681 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28682 unconditional.
28683 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28684 conditional code.
28685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28686 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28687 unconditional.
28688 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28689 conditional code.
28690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28691 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28692 code unconditional.
28693 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28694 conditional code.
28695 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28696 unconditional.
28697 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28698 conditional code.
28699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28700 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28701 code unconditional.
28702 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28703 conditional code.
28704 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28705 unconditional.
28706 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28707 conditional code.
28708
287092012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28710
28711 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28712 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28713 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28714 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28715 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28716 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28717 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28718 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28719 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28720 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28721 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28722 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28723 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28724 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28725 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28726 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28727 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28728 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28729 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28730 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28731 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28732 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28733 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28734
287352012-07-25 Florian Weimer <fweimer@redhat.com>
28736
28737 * Versions.def: Add GLIBC_2.17.
28738 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28739 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28740 Introduce __libc_secure_getenv.
28741 * stdlib/Versions (2.17): Add secure_getenv
28742 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28743 * stdlib/secure-getenv.c: Rename __secure_getenv to
28744 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28745 symbol __secure_getenv for GLIBC_2.0.
28746 * stdlib/tst-secure-getenv.c: New.
28747 * stdlib/Makefile (tests): Add testcase.
28748 * manual/startup.texi (Environment Access): Document
28749 secure_getenv.
28750 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28751 __libc_secure_getenv.
28752 * inet/ruserpass.c (ruserpass): Likewise.
28753 * malloc/mtrace.c (mtrace): Likewise.
28754 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28755 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28756 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28757 * sysdeps/posix/tempname.c: Likewise. Evaluate
28758 HAVE_SECURE_GETENV.
28759 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28760 __secure_getenv to __libc_secure_getenv.
28761 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28763 Likewise.
28764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28765 Likewise.
28766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28768 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28773
287742012-07-25 Joseph Myers <joseph@codesourcery.com>
28775
28776 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28777 (struct La_i86_retval): Likewise.
28778 (struct La_x86_64_regs): Likewise.
28779 (struct La_x86_64_retval): Likewise.
28780 (struct La_x32_regs): Likewise.
28781 (struct La_x32_retval): Likewise.
28782 (struct La_ppc32_regs): Likewise.
28783 (struct La_ppc32_retval): Likewise.
28784 (struct La_ppc64_regs): Likewise.
28785 (struct La_ppc64_retval): Likewise.
28786 (struct La_sh_regs): Likewise.
28787 (struct La_sh_retval): Likewise.
28788 (struct La_s390_32_regs): Likewise.
28789 (struct La_s390_32_retval): Likewise.
28790 (struct La_s390_64_regs): Likewise.
28791 (struct La_s390_64_retval): Likewise.
28792 (struct La_sparc32_regs): Likewise.
28793 (struct La_sparc32_retval): Likewise.
28794 (struct La_sparc64_regs): Likewise.
28795 (struct La_sparc64_retval): Likewise.
28796 (struct audit_ifaces): Remove architecture-specific pltenter and
28797 pltexit members.
28798 * sysdeps/i386/ldsodefs.h: New file.
28799 * sysdeps/powerpc/ldsodefs.h: Likewise.
28800 * sysdeps/s390/ldsodefs.h: Likewise.
28801 * sysdeps/sh/ldsodefs.h: Likewise.
28802 * sysdeps/sparc/ldsodefs.h: Likewise.
28803 * sysdeps/x86_64/ldsodefs.h: Likewise.
28804
288052012-07-25 Marek Polacek <polacek@redhat.com>
28806
28807 [BZ #6808]
28808 * math/libm-test.inc (yn_test): Add another test.
28809 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28810 to ERANGE when the result is +-Inf.
28811 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28812 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28813 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28814 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28815
288162012-07-24 Joseph Myers <joseph@codesourcery.com>
28817
28818 * conform/data/time.h-data (NULL): Use macro-constant. Require
28819 equal to 0.
28820 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28821 clock_t.
28822 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28823
288242012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28825
28826 * configure.in <sysdeps resolving>: Correct printing
28827 Implies_before.
28828 * configure: Regenerate.
28829
288302012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28831
28832 * math/w_ilogb.c: Include <limits.h>.
28833 * math/w_ilogbl.c: Likewise.
28834
288352012-07-20 Joseph Myers <joseph@codesourcery.com>
28836
28837 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28838 va_copy. Document allowing for unavailable va_copy only as
28839 pre-C99 compatibility.
28840 * manual/string.texi (Copying and Concatenation): Use va_copy
28841 instead of __va_copy in concat example.
28842
288432012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28844
28845 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28846 (__sendto): Use create_address_port. Initialize APORT and deallocate
28847 it if not null.
28848
28849 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28850 with O_NOLINK passed to __file_name_lookup.
28851
28852 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28853 with O_NOLINK passed to __file_name_lookup.
28854
28855 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28856 negative N or less than NGIDS.
28857
28858 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28859 type to string_t. Set ERANGE as errno and return it if NAME is not big
28860 enough. Use memcpy instead of strncpy.
28861
288622012-07-20 Joseph Myers <joseph@codesourcery.com>
28863
28864 * elf/Makefile (check-data): Remove.
28865 (localplt.data): New vpath directive.
28866 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28867 instead of $(check-data).
28868 * scripts/data/localplt-generic.data: Move to ...
28869 * sysdeps/generic/localplt.data: ... here.
28870 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28871 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28872 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28874 ... here.
28875 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28877 ... here.
28878 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28880 ... here.
28881 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28883 ... here.
28884 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28886 ... here.
28887 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28889 ... here.
28890
288912012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28892
28893 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28894 PPC32 and PPC64 files.
28895 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28896 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28897
288982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28899
28900 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28901 __makecontext_ret to ...
28902 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28903 ... here and call exit if uc_link is NULL. New file.
28904 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28905 __makecontext_ret.S.
28906 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28907 __makecontext_ret to ...
28908 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28909 ... here and call exit if uc_link is NULL. New file.
28910 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28911 __makecontext_ret.S.
28912
289132012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28914
28915 * elf/elf.h (R_390_IRELATIVE): New definition.
28916 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28917 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28918 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28919 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28920 (elf_machine_lazy_rel): Likewise.
28921 * sysdeps/s390/dl-irel.h: New file.
28922 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28923 * sysdeps/s390/s390-64/memset.S: New asm code.
28924 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28925 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28926 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28927 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28928 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28929 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28930 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28931 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28932 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28933 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28934 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28935 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28936 * sysdeps/s390/s390-32/memset.S: New asm code.
28937 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28938
289392012-07-17 Marek Polacek <polacek@redhat.com>
28940
28941 [BZ #14349]
28942 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28943 * sysdeps/s390/s390-64/configure.in: Likewise.
28944 * sysdeps/sparc/configure.in: Likewise.
28945 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28946 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28947 * sysdeps/i386/configure.in: Likewise.
28948 * sysdeps/x86_64/configure.in: Likewise.
28949 * sysdeps/sh/configure.in: Likewise.
28950 * sysdeps/s390/s390-32/configure: Regenerated.
28951 * sysdeps/s390/s390-64/configure: Likewise.
28952 * sysdeps/x86_64/configure: Likewise.
28953 * sysdeps/sh/configure: Likewise.
28954 * sysdeps/powerpc/powerpc64/configure: Likewise.
28955 * sysdeps/powerpc/powerpc32/configure: Likewise.
28956 * sysdeps/sparc/configure: Likwise.
28957 * sysdeps/i386/configure: Likewise.
28958
28959 * elf/dl-open.c: Comment fixes.
28960
289612012-07-17 Joseph Myers <joseph@codesourcery.com>
28962
28963 * Makefile [CXX] (check-data): Remove.
28964 [CXX] (c++-types.data): New vpath directive.
28965 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28966 vpath. Do not allow for C++ type data being missing.
28967 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28968 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28969 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28970 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28971 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28972 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28973 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28975 ... here.
28976 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28978 ... here.
28979 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28981 ... here.
28982 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28984 ... here.
28985 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28987 ... here.
28988 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28990 ... here.
28991 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28993 ... here.
28994 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28996
28997 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28998 definitions to architecture-specific files.
28999 (TLS_IE): Likewise.
29000 (TLS_LD): Likewise.
29001 (TLS_GD): Likewise.
29002 * sysdeps/i386/tls-macros.h: New file.
29003 * sysdeps/powerpc/tls-macros.h: Likewise.
29004 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29005 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29006 * sysdeps/sh/tls-macros.h: Likewise.
29007 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29008 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29009 * sysdeps/x86_64/tls-macros.h: Likewise.
29010
290112012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29012
29013 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29014 zero value for regular exit case.
29015
29016 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29017 (__start_context): Preserve zero value for regular exit case.
29018
290192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29020 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29021
29022 * manual/setjmp.texi (setcontext): Clarify normal process
29023 termination when uc_link is the null pointer.
29024 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29025 exit call.
29026
290272012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29028
29029 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29030 preprocessor. Test for each exception mask separately.
29031
290322012-07-16 Andreas Jaeger <aj@suse.de>
29033
29034 * po/ru.po: Update from translation team.
29035
290362012-07-15 Joseph Myers <joseph@codesourcery.com>
29037
29038 * conform/data/string.h-data (NULL): Use macro-constant. Require
29039 equal to 0.
29040 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29041 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29042 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29043 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29044 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29045
290462012-07-13 Andreas Jaeger <aj@suse.de>
29047
29048 * po/fr.po: Update from translation team.
29049
290502012-07-12 Marek Polacek <polacek@redhat.com>
29051
29052 [BZ #14173]
29053 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29054 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29055 loop condition.
29056
290572012-07-12 Joseph Myers <joseph@codesourcery.com>
29058
29059 [BZ #13717]
29060 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29061 Change to 2.4.1 where previously 2.4.0.
29062 * sysdeps/unix/sysv/linux/configure: Regenerated.
29063 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29064 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29065 version.
29066 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29067 (__ASSUME_AT_CLKTCK): Remove.
29068 (__ASSUME_AT_PAGESIZE): Likewise.
29069 (__ASSUME_AT_XID): Likewise.
29070 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29071 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29072 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29073 unconditionally.
29074 (HAVE_AUX_PAGESIZE): Likewise.
29075 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29076 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29077 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29078
290792012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29080
29081 [BZ #14307]
29082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29083 the temporary buffer used to invoke __gethostbyname2_r,
29084 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29085 host_data / struct gaih_addrtuple.
29086 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29087 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29088 header file nss/nsswitch.h.
29089 * nss/nsswitch.h (global scope): Add definition of implementation
29090 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29091 resolv/nss_dns/dns-host.c).
29092
290932012-07-11 Andreas Jaeger <aj@suse.de>
29094
29095 * po/fr.po: Update from translation team.
29096
29097 * po/sv.po: Update from translation team
29098 * po/fr.po: Another update from translation team.
29099
291002012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29101
29102 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29103 for subnormals or multiply small sinh result by itself.
29104 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29106
291072012-07-11 David S. Miller <davem@davemloft.net>
29108
29109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29110
291112012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29112
29113 [BZ #14347]
29114 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29115 (INTERNAL_MARK): Shift it here.
29116
291172012-07-10 Marek Polacek <polacek@redhat.com>
29118
29119 [BZ #14151]
29120 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29121 libc_cv_asm_global_directive with .globl.
29122 * configure: Regenerated.
29123 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29124 with .globl.
29125 * sysdeps/i386/configure: Regenerated.
29126 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29127 with .globl.
29128 * sysdeps/x86_64/configure: Regenerated.
29129 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29130 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29131 * elf/tst-unique2mod2.c: Likewise.
29132 * elf/tst-unique2mod1.c: Likewise.
29133 * elf/tst-unique1mod2.c: Likewise.
29134 * elf/tst-unique1mod1.c: Likewise.
29135 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29136 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29137 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29138 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29139 * sysdeps/mach/sysdep.h: Likewise.
29140 * sysdeps/i386/sysdep.h: Likewise.
29141 * sysdeps/i386/i386-mcount.S: Likewise.
29142 * sysdeps/x86_64/_mcount.S: Likewise.
29143 * sysdeps/x86_64/sysdep.h: Likewise.
29144 * sysdeps/sh/_mcount.S: Likewise.
29145 * sysdeps/sh/sysdep.h: Likewise.
29146 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29147 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29148 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29149 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29150 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29151 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29152 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29153 * locale/localeinfo.h: Likewise.
29154 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29155 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29156
291572012-07-09 Roland McGrath <roland@hack.frob.com>
29158
29159 [BZ #14336]
29160 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29161 system".
29162 * manual/message.texi (The Uniforum approach): Likewise.
29163 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29164 (glibc iconv Implementation): Likewise.
29165
291662012-07-09 Joseph Myers <joseph@codesourcery.com>
29167
29168 [BZ #14337]
29169 * math/s_clog.c (__clog): Avoid scaling a value down where that
29170 could result in underflow.
29171 * math/s_clog10.c (__clog10): Likewise.
29172 * math/s_clog10f.c (__clog10f): Likewise.
29173 * math/s_clog10l.c (__clog10l): Likewise.
29174 * math/s_clogf.c (__clogf): Likewise.
29175 * math/s_clogl.c (__clogl): Likewise.
29176 * math/libm-test.inc (clog_test): Add more tests.
29177 (clog10_test): Likewise.
29178 * sysdeps/i386/fpu/libm-test-ulps: Update.
29179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29180
291812012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29182
29183 [BZ #14283]
29184 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29185 by 7 not 8 to examine high bit of fractional part.
29186
29187 [BZ #14042]
29188 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29189 for call to __mcount_internal.
29190 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29191 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29192 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29193
291942012-07-06 Joseph Myers <joseph@codesourcery.com>
29195
29196 [BZ #14154]
29197 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29198 approximation for values within 0x1p-13f of an odd multiple of
29199 pi/4.
29200 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29201 exception. Add more tests.
29202 * sysdeps/i386/fpu/libm-test-ulps: Update.
29203
29204 [BZ #6778]
29205 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29206 inputs and return -1 for them. Do not check for +Inf in case not
29207 reachable for +Inf.
29208 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29209 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29210 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29211 and return -1 for them. Do not check for +Inf in case not
29212 reachable for +Inf.
29213 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29214 define.
29215 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29216 and return -1 for them. Do not check for +Inf in case not
29217 reachable for +Inf.
29218 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29219 spurious underflow.
29220 * sysdeps/i386/fpu/libm-test-ulps: Update.
29221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29222
292232012-07-06 Mike Frysinger <vapier@gentoo.org>
29224
29225 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29226
292272012-07-05 Joseph Myers <joseph@codesourcery.com>
29228
29229 [BZ #14157]
29230 [BZ #14331]
29231 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29232 could result in spurious underflow. Scale down values above
29233 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29234 * math/s_csqrtf.c (__csqrtf): Likewise.
29235 * math/s_csqrtl.c (__csqrtl): Likewise.
29236 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29237 spurious underflow.
29238 * sysdeps/i386/fpu/libm-test-ulps: Update.
29239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29240
292412012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29242
29243 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29244 xopen-msg.sed.
29245 * catgets/xopen-msg.awk: New file.
29246 * catgets/xopen-msg.sed: Removed.
29247
29248 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29249 po2text.sed.
29250 * intl/po2test.awk: New file.
29251 * intl/po2test.sed: Removed.
29252
292532012-07-04 Joseph Myers <joseph@codesourcery.com>
29254
29255 [BZ #14328]
29256 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29257 or multiply small sinh result by itself.
29258 * math/s_ctanf.c (__ctanf): Likewise.
29259 * math/s_ctanh.c (__ctanh): Likewise.
29260 * math/s_ctanhf.c (__ctanhf): Likewise.
29261 * math/s_ctanhl.c (__ctanhl): Likewise.
29262 * math/s_ctanl.c (__ctanl): Likewise.
29263 * math/libm-test.inc (ctan_test_tonearest): New function.
29264 (ctan_test_towardzero): Likewise.
29265 (ctan_test_downward): Likewise.
29266 (ctan_test_upward): Likewise.
29267 (ctanh_test_tonearest): Likewise.
29268 (ctanh_test_towardzero): Likewise.
29269 (ctanh_test_downward): Likewise.
29270 (ctanh_test_upward): Likewise.
29271 (main): Call these new functions.
29272 * sysdeps/i386/fpu/libm-test-ulps: Update.
29273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29274
292752012-07-03 Mike Frysinger <vapier@gentoo.org>
29276
29277 * .gitignore: Delete /ports entry.
29278
292792012-07-03 Andreas Jaeger <aj@suse.de>
29280
29281 * po/bg.po: Update from translation team.
29282 * po/cs.po: Likewise.
29283 * po/de.po: Likewise.
29284 * po/hr.po: Likewise.
29285 * po/nl.pl: Likewise.
29286 * po/pl.po: Likewise.
29287 * po/vi.po: Likewise.
29288
292892012-07-03 Joseph Myers <joseph@codesourcery.com>
29290
29291 * Makeconfig [!+link] (+link-before-libc): New variable.
29292 [!+link] (+link-after-libc): Likewise.
29293 [!+link] (+link-tests): Likewise.
29294 [!+link] (+link): Define in terms of $(+link-before-libc) and
29295 $(+link-after-libc).
29296 [!+link-static] (+link-static-before-libc): New variable.
29297 [!+link-static] (+link-static-after-libc): Likewise.
29298 [!+link-static] (+link-static-tests): Likewise.
29299 [!+link-static] (+link-static): Define in terms of
29300 $(+link-static-before-libc) and $(+link-static-after-libc).
29301 [build-shared] (link-libc-before-gnulib): New variable.
29302 [build-shared] (link-libc-tests): Likewise.
29303 [build-shared] (link-libc): Define in terms of
29304 $(link-libc-before-gnulib).
29305 [!build-shared] (link-libc-tests): New variable.
29306 (link-libc-static-tests): New variable.
29307 [!gnulib] (gnulib-arch): New variable.
29308 [!gnulib] (gnulib-tests): Likewise.
29309 [!gnulib] (static-gnulib-arch): Likewise.
29310 [!gnulib] (static-gnulib-tests): Likewise.
29311 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29312 Define with "=" instead of ":=".
29313 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29314 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29315 * Rules (binaries-all-notests): New variable.
29316 (binaries-all-tests): Likewise.
29317 (binaries-static-notests): Likewise.
29318 (binaries-static-tests): Likewise.
29319 (binaries-all): Define using $(binaries-all-notests) and
29320 $(binaries-all-tests).
29321 (binaries-static): Define using $(binaries-static-notests) and
29322 $(binaries-static-tests).
29323 (binaries-shared-tests): New variable.
29324 (binaries-shared-notests): Likewise.
29325 (binaries-shared): Remove variable.
29326 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29327 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29328 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29329 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29330 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29331 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29332 * elf/Makefile (sln-modules): New variable.
29333 (extra-objs): Add $(sln-modules:=.o).
29334 (ldconfig-modules): Add static-stubs.
29335 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29336 * elf/static-stubs.c: New file.
29337
29338 [BZ #14283]
29339 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29340 by 7 not 8 to examine high bit of fractional part. Use volatile
29341 variables when splitting into final array of floats if
29342 __FLT_EVAL_METHOD__ != 0.
29343 * math/libm-test.inc (cos_test): Add another test.
29344 (sin_test): Likewise.
29345 * sysdeps/i386/fpu/libm-test-ulps: Update.
29346
29347 [BZ #14273]
29348 * math/libm-test.inc (cosh_test): Add more tests.
29349
29350 * version.h (RELEASE): Set to "development".
29351 (VERSION): Set to "2.16.90".
29352
293532012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29354
29355 * NEWS: Update copyright. Remove last-updated date.
29356 Mention math library bug fixes and timezone data changes.
29357 * README: Mention GNU/Hurd, x32, and HPPA support status.
29358
293592012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29360
29361 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29362
293632012-06-27 Andreas Jaeger <aj@suse.de>
29364
29365 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29366
293672012-06-25 Andreas Jaeger <aj@suse.de>
29368
29369 * sysdeps/s390/fpu/libm-test-ulps: Update.
29370
293712012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29372 Thomas Schwinge <thomas@codesourcery.com>
29373
29374 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29375 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29377 fanotify_mark.
29378
293792012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29380
29381 * sysdeps/mach/start.c: Remove file.
29382 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29383 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29384 * sysdeps/sh/init-first.c: Likewise.
29385
29386 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29387 registers for frame unwinding purposes, add CFI directives.
29388 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29389 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29390 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29391 Likewise.
29392
29393 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29394 __fortify_fail returning.
29395 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29396
29397 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29398 sysdeps/sh/____longjmp_chk.S.
29399 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29400 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29401 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29402 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29403
29404 * sysdeps/sh/abort-instr.h: New file.
29405 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29406 process in case exit returns.
29407
29408 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29409 initialize the GOT register before use.
29410
29411 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29412 calculation of ARGC > 4.
29413
29414 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29415 meaningful names to some local labels.
29416
294172012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29418 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29419
29420 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29421 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29422 (__arch_compare_and_exchange_val_16_acq): Likewise.
29423 (__arch_compare_and_exchange_val_32_acq): Likewise.
29424 (atomic_exchange_and_add): Fix gUSA sequence.
29425 (atomic_add): Likewise.
29426 (atomic_add_negative): Likewise.
29427 (atomic_add_zero): Likewise.
29428 (atomic_bit_test_set): Likewise.
29429
294302012-06-22 Andreas Schwab <schwab@redhat.com>
29431
29432 [BZ #13579]
29433 * include/link.h (struct link_map): Add l_free_initfini.
29434 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29435 l_initfini.
29436 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29437 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29438 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29439 set.
29440
294412012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29442
29443 * configure.in: Use AC_LANG_SOURCE.
29444 * configure: Regenerate.
29445
294462012-06-22 Roland McGrath <roland@hack.frob.com>
29447
29448 * configure.in (libc_cv_localstatedir): New substituted variable.
29449 * configure: Regenerated.
29450 * config.make.in (localstatedir): New variable, substituted from
29451 libc_cv_localstatedir.
29452 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29453 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29454 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29455 * sysdeps/gnu/configure: Regenerated.
29456
294572012-06-21 Jeff Law <law@redhat.com>
29458
29459 [BZ #14277]
29460 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29461 free. Simplify list management for _LIBC case.
29462
294632012-06-21 Joseph Myers <joseph@codesourcery.com>
29464
29465 [BZ #14273]
29466 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29467 Clear sign bit of 64-bit integer value before comparing against
29468 overflow value.
29469
29470 * sysdeps/mach/configure: Regenerated.
29471
294722012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29473
29474 [BZ #14278]
29475 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29476
294772012-06-21 Jeff Law <law@redhat.com>
29478
29479 [BZ #13882]
29480 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29481 uint16_t for elements in the "seen" array to avoid char overflows.
29482 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29483 * elf/dl-open.c (dl_open_worker): Likewise.
29484
294852012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29486
29487 * scripts/list-sources.sh: Scan PORTS for translations.
29488 * po/libc.pot: Regenerated.
29489
294902012-06-21 Andreas Jaeger <aj@suse.de>
29491
29492 [BZ #12194]
29493 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29494 warning.
29495 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29496 * bits/byteswap-16.h (__bswap_16): Likewise.
29497 * bits/byteswap.h (__bswap_constant_16): Likewise.
29498
294992012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29500
29501 [BZ #14117]
29502 * sysdeps/i386/fpu_control.h: Removed.
29503 * sysdeps/x86_64/fpu_control.h: Moved to ...
29504 * sysdeps/x86/fpu_control.h: Here.
29505
29506 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29507 (_FPU_SETCW): Likewise.
29508
295092012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29510
29511 [BZ #14117]
29512 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29513 * sysdeps/x86/fpu/bits/mathinline.h: This.
29514 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29515
29516 [BZ #14050]
29517 [BZ #14117]
29518 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29519 functions if __x86_64__ is defined.
29520
295212012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29522
29523 * string/endian.h: Add !__ASSEMBLER__ condition for including
29524 conversion interfaces.
29525
295262012-06-15 Joseph Myers <joseph@codesourcery.com>
29527
29528 [BZ #14241]
29529 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29530 of ABS(x) in calculating zero to negative powers other than odd
29531 integers.
29532 * math/libm-test.inc (pow_test): Add more tests.
29533
295342012-06-15 Andreas Jaeger <aj@suse.de>
29535
29536 * manual/contrib.texi (Contributors): Update entry of Liubov
29537 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29538 Machado Filho.
29539
295402012-06-15 Cyril Hrubis <metan@ucw.cz>
29541
29542 * string/string.h: Add __wur to GNU version of strerror_r.
29543
295442012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29545
29546 [BZ #14229]
29547 * string/Makefile (tests): Add tst-strtok_r.
29548 * string/tst-strtok_r.c: New file.
29549 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29550 RAX_LP/RDX_LP on SAVE_PTR.
29551
295522012-06-14 Roland McGrath <roland@hack.frob.com>
29553
29554 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29555
295562012-06-14 Joseph Myers <joseph@codesourcery.com>
29557
29558 * libm_test.inc (csqrt_test): Allow more spurious underflow
29559 exceptions.
29560 (j0_test): Likewise.
29561 (j1_test): Likewise.
29562 (y0_test): Likewise.
29563 (y1_test): Likewise.
29564
295652012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29566
29567 * po/Makefile (libc.pot): Use UTF-8 charset.
29568
295692012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29570
29571 [BZ #14210]
29572 Suppress sign-conversion warning from FD_SET.
29573 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29574 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29575 not unsigned long int.
29576 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29577
295782012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29579
29580 [BZ #14050]
29581 [BZ #14117]
29582 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29583 __extern_always_inline instead of __extern_inline.
29584 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29585 (__signbit): Likewise.
29586 (__signbitl): Support C++ namespace.
29587 (lrintf): New inline function.
29588 (lrint): Likewise.
29589 (llrintf): Likewise.
29590 (llrint): Likewise.
29591 (fmaxf): Likewise.
29592 (fmax): Likewise.
29593 (fminf): Likewise.
29594 (fmin): Likewise.
29595 (rint): Likewise.
29596 (rintf): Likewise.
29597 (ceil): Likewise.
29598 (ceilf): Likewise.
29599 (floor): Likewise.
29600 (floorf): Likewise.
29601 (nearbyint): Likewise.
29602 (nearbyintf): Likewise.
29603
296042012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29605
29606 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29607 non-default versions.
29608
296092012-06-11 Roland McGrath <roland@hack.frob.com>
29610
29611 [BZ #14218]
29612 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29613
296142012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29615
29616 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29617 (FE_UPWARD, FE_DOWNWARD): Don't define.
29618 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29619 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29620
29621 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29622 reading it.
29623 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29624 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29625
296262012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29627
29628 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29630 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29631 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29632
296332012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29634
29635 [BZ #14117]
29636 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29637 * sysdeps/i386/fpu/Implies: New file.
29638 * sysdeps/x86_64/fpu/Implies: Likewise.
29639 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29640 * sysdeps/x86/fpu/bits/fenv.h: This.
29641
29642 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29643 __SSE_MATH__.
29644
296452012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29646
29647 [BZ #14134]
29648 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29649 character 0xffff that matches the last element of the
29650 conversion table.
29651
296522012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29653
29654 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29655 fmodl commit.
29656
296572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29658
29659 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29660 values higher than 25.6283.
29661
296622012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29663
29664 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29665 subnormal exponent extraction and add some __builtin_expect.
29666 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29667 Fix for subnormal mantissa calculation.
29668
296692012-06-04 Mike Frysinger <vapier@gentoo.org>
29670
29671 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29672 cpu2 is -1 and errno is not ENOSYS.
29673
296742012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29675
29676 [BZ #14117]
29677 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29678 * sysdeps/x86/bits/string.h: This.
29679 * sysdeps/x86_64/bits/string.h: Removed.
29680
29681 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29682 if not compiling for x86-64, but compiling for >= i486.
29683
29684 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29685 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29686
29687 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29688 New macro from Linux kernel 3.4.0.
29689 (FP_XSTATE_MAGIC2): Likewise.
29690 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29691 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29692 (struct _fpx_sw_bytes): New struct.
29693 (struct _xsave_hdr): Likewise.
29694 (struct _ymmh_state): Likewise.
29695 (struct _xstate): Likewise.
29696
29697 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29698 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29699 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29700 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29701 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29702 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29703
29704 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29705 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29706 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29707 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29708 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29709 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29710
297112012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29712
29713 [BZ #13743]
29714 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29715 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29716 (sysdep_headers): Include sys/platform/ppc.h.
29717 * sysdeps/powerpc/test-gettimebase.c: Test for
29718 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29719 * manual/Makefile (appendices): Include platform.texi.
29720 * manual/contrib.texi (Contributors): Update @node pointers.
29721 * manual/maint.texi (Maintenance): Likewise.
29722 (Platform): New node.
29723 * manual/platform.texi: New file. Document the new features.
29724
297252012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29726 Jakub Jelinek <jakub@redhat.com>
29727
29728 [BZ #14188]
29729 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29730 where __builtin_expect is unavailable.
29731
297322012-06-03 David S. Miller <davem@davemloft.net>
29733
29734 * stdlib/longlong.h: Updated from GCC.
29735
297362012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29737
29738 [BZ #14042]
29739 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29740 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29741 __mcount_internal.
29742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29743 (GLIBC_2.16): Likewise.
29744
297452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29746
29747 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29748
297492012-06-01 Joseph Myers <joseph@codesourcery.com>
29750
29751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29752 (default-abi): New variable.
29753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29754 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29755 variable.
29756 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29757 Likewise.
29758 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29759 Likewise.
29760 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29761 Likewise.
29762
29763 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29764 definition. Document in comment.
29765
297662012-06-01 David S. Miller <davem@davemloft.net>
29767
29768 * stdlib/longlong.h: Updated from GCC.
29769
297702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29771
29772 [BZ #14117]
29773 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29774 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29775 sys/debugreg.h sys/io.h here.
29776 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29777 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29778 sys/io.h.
29779 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29780 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29781 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29782 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29783 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29784 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29785
29786 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29787 Define only if __x86_64__ is defined.
29788
297892012-06-01 Joseph Myers <joseph@codesourcery.com>
29790
29791 [BZ #14048]
29792 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29793 Use int64_t for variable i.
29794 * math/libm-test.inc (fmod_test): Add more tests.
29795
29796 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29797 z computation is not scheduled after fetestexcept.
29798 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29799 Use math_force_eval instead of asm to ensure calculation scheduled
29800 before exception test.
29801 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29802 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29803
298042012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29805
29806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29807 computation is not scheduled after fetestexcept.
29808
298092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29810
29811 [BZ #14117]
29812 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29813 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29814
298152012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29816
29817 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29818 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29819
298202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29821
29822 [BZ #14117]
29823 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29824 <bits/wordsize.h>.
29825 (__WCHAR_MIN): Support __WORDSIZE == 64.
29826 (__WCHAR_MAX): Likewise.
29827
29828 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29829 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29830
29831 [BZ #14183]
29832 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29833 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29834
29835 [BZ #14117]
29836 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29837 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29838
29839 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29840 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29841
29842 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29843 Defined to 1 if __x86_64__ isn't defined.
29844 (_STAT_VER_LINUX_OLD): New.
29845 (st_atime): Remove duplicate.
29846 (st_mtime): Likewise.
29847 (st_ctime): Likewise.
29848
298492012-05-31 David S. Miller <davem@davemloft.net>
29850
29851 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29852 entries.
29853
298542012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29855
29856 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29857 gen-libm-test.pl.
29858
29859 [BZ #14132]
29860 * elf/dl-reloc.c: Include <_itoa.h>.
29861 (_dl_reloc_bad_type): Remove use of INTUSE.
29862 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29863 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29864 * stdio-common/psiginfo.c (psiginfo): Likewise.
29865 * stdio-common/psignal.c (psignal): Likewise.
29866 * string/strsignal.c (strsignal): Likewise.
29867 * include/signal.h (_sys_siglist): Declare hidden proto.
29868 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29869 INTVARDEF with libc_hidden_data_def.
29870 * stdio-common/itoa-udigits.c: Likewise.
29871 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29872 (_itoa_lower_digits_internal): Remove declaration.
29873 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29874 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29875 (_sys_sigabbrev_internal): Remove aliases.
29876 (_sys_siglist): Define hidden alias.
29877
298782012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29879
29880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29881 bits/sysctl.h.
29882
298832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29884
29885 [BZ #14117]
29886 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29887 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29888
29889 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29890 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29891 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29892 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29893 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29894 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29895
29896 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29897 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29898 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29899
29900 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29901 with __addr.
29902 (insw): Likewise.
29903 (insl): Likewise.
29904 (outsb): Likewise.
29905 (outsw): Likewise.
29906 (outsl): Likewise.
29907
29908 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29909 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29910 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29911
29912 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29913 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29914 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29915 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29916 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29917 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29918
29919 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29920 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29921
29922 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29923 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29924
29925 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29926 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29927 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29928
29929 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29930 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29931 to ...
29932 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29933
29934 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29935 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29936 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29937
29938 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29939 for x86-64.
29940 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29941
299422012-05-31 Joseph Myers <joseph@codesourcery.com>
29943
29944 * math/math.h (M_El): Use two more decimal places.
29945 (M_LOG2El): Likewise.
29946 (M_LOG10El): Likewise.
29947 (M_LN2l): Likewise.
29948 (M_LN10l): Likewise.
29949 (M_PIl): Likewise.
29950 (M_PI_2l): Likewise.
29951 (M_PI_4l): Likewise.
29952 (M_1_PIl): Likewise.
29953 (M_2_PIl): Likewise.
29954 (M_2_SQRTPIl): Likewise.
29955 (M_SQRT2l): Likewise.
29956 (M_SQRT1_2l): Likewise.
29957
299582012-05-31 David S. Miller <davem@davemloft.net>
29959
29960 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29961 values between float registers.
29962 * sysdeps/sparc/sparc64/memset.S: Likewise.
29963 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29964
299652012-05-31 Mike Frysinger <vapier@gentoo.org>
29966
29967 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29968 -D_FORTIFY_SOURCE=1.
29969 (CPPFLAGS-tst-longjmp_chk.c): Define.
29970 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29971 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29972 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29973 CFLAGS-tst-wchar-h.c.
29974
299752012-05-31 Marek Polacek <polacek@redhat.com>
29976
29977 [BZ #14132]
29978 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29979 __endmntent_internal): Remove declaration.
29980 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29981 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29982 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29983
299842012-05-30 David S. Miller <davem@davemloft.net>
29985
29986 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29987 (___Q_simulate_exceptions): Use real FP ops rather than writing
29988 into the %fsr.
29989 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29990 Likewise.
29991
299922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29993
29994 [BZ #14117]
29995 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29996 * sysdeps/x86/bits/xtitypes.h: This.
29997
29998 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29999 * sysdeps/x86/bits/wordsize.h: This.
30000
30001 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30002 * sysdeps/x86/bits/huge_vall.h: This.
30003
30004 * sysdeps/i386/bits/select.h: Removed.
30005 * sysdeps/x86_64/bits/select.h: Renamed to ...
30006 * sysdeps/x86/bits/select.h: This.
30007
30008 * sysdeps/i386/bits/setjmp.h: Removed.
30009 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30010 * sysdeps/x86/bits/setjmp.h: This.
30011
30012 * sysdeps/i386/bits/mathdef.h: Removed.
30013 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30014 * sysdeps/x86/bits/mathdef.h: This.
30015
300162012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30017
30018 [BZ #14132]
30019 * include/sys/socket.h (__connect_internal)
30020 (__libc_sa_len_internal): Remove declaration.
30021 (__connect, __libc_sa_len): Declare hidden_proto.
30022 (SA_LEN): Remove use of INTUSE.
30023 * socket/connect.c: Add libc_hidden_def.
30024 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30025 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30026 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30027 alias.
30028 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30029 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30030 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30031 of adding _internal alias.
30032
300332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30034
30035 [BZ #14117]
30036 * sysdeps/i386/bits/link.h: Removed.
30037 * sysdeps/i386/bits/linkmap.h: Likewise.
30038 * sysdeps/x86_64/bits/link.h: Renamed to ...
30039 * sysdeps/x86/bits/link.h: This.
30040 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30041 * sysdeps/x86/bits/linkmap.h: This.
30042
30043 * sysdeps/i386/bits/endian.h: Removed.
30044 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30045 * sysdeps/x86/bits/endian.h: This.
30046
30047 * sysdeps/i386/bits/byteswap.h: Removed.
30048 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30049 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30050 * sysdeps/x86/bits/byteswap.h: This.
30051 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30052 * sysdeps/x86/bits/byteswap-16.h: This.
30053 * sysdeps/i386/Implies: Add x86.
30054 * sysdeps/x86_64/Implies: Likewise.
30055
300562012-05-30 David S. Miller <davem@davemloft.net>
30057
30058 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30059 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30060 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30061 (FP_TRAPPING_EXCEPTIONS): Define.
30062 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30063 (FP_TRAPPING_EXCEPTIONS): Define.
30064 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30065 subnormals only when inexact has been signalled or underflow
30066 exceptions are enabled.
30067 (_FP_PACK_CANONICAL): Likewise.
30068
300692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30070
30071 [BZ #14183]
30072 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30073 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30074
300752012-05-30 Richard Henderson <rth@twiddle.net>
30076
30077 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30078 with #ifndef NOT_IN_libc.
30079
30080 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30081 marked to avoid plt entry.
30082
300832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30084
30085 [BZ #14112]
30086 * Makeconfig (default-abi): New macro.
30087 (abi-includes): Likewise.
30088 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30089 $(abi-$(default-abi)-lib-soname) for soname if defined.
30090 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30091 abi-variants.
30092 * Makefile (installed-stubs): Likewise.
30093 * include/stubs-biarch.h: Removed.
30094 * scripts/lib-names.awk: Only handle one library at a time.
30095 * scripts/soversions.awk: Remove WORDSIZE support.
30096 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30097 entries.
30098 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30099 Removed.
30100 (syscall-list-default-condition): Likewise.
30101 (syscall-list-default-condition): Likewise.
30102 (syscall-list-includes): Likewise.
30103 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30104 syscall-list-* with abi-*. Handle undefined abi-variants.
30105 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30106 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30107 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30108 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30109 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30110 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30111 Removed.
30112 (syscall-list-32-options): Likewise.
30113 (syscall-list-32-condition): Likewise.
30114 (syscall-list-64-options): Likewise.
30115 (syscall-list-64-condition): Likewise.
30116 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30117 macro.
30118 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30119 Renamed to ...
30120 (abi-*): This.
30121 (abi-64-ld-soname): New macro.
30122 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30123 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30124 Renamed to ...
30125 (abi-*): This.
30126 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30127 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30128
301292012-05-30 Joseph Myers <joseph@codesourcery.com>
30130
30131 * sysdeps/unix/sysv/linux/kernel-features.h
30132 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30133 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30134 include <kernel-features.h>.
30135 [!__NR_ftruncate64]: Remove conditional code.
30136 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30137 [__NR_ftruncate64]: Make code unconditional.
30138 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30139 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30140 include <kernel-features.h>.
30141 [!__NR_ftruncate64]: Remove conditional code.
30142 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30143 [__NR_ftruncate64]: Make code unconditional.
30144 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30146 include <kernel-features.h>.
30147 [!__NR_ftruncate64]: Remove conditional code.
30148 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30149 [__NR_ftruncate64]: Make code unconditional.
30150 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30152 include <kernel-features.h>.
30153 [!__NR_ftruncate64]: Remove conditional code.
30154 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30155 [__NR_ftruncate64]: Make code unconditional.
30156 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30157
30158 * configure.in (libc_cv_fpie): Weaken to a compile test using
30159 LIBC_TRY_CC_OPTION.
30160 * configure: Regenerated.
30161
301622012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30163
30164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30168 Refreshed.
30169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30175 Refreshed.
30176
301772012-05-27 David S. Miller <davem@davemloft.net>
30178
30179 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30180 (___Q_zero): New.
30181 (__Q_simulate_exceptions): Return void. Change to simulate
30182 exceptions by writing into the %fsr.
30183 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30184 (__Qp_handle_exceptions): Likewise.
30185 (numbers): Delete.
30186 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30187 __Qp_handle_exceptions.
30188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30189 __Qp_handle_exceptions.
30190 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30191 as unused and give dummy FP_RND_NEAREST initializer.
30192 (FP_INHIBIT_RESULTS): Define.
30193 (___Q_simulate_exceptions): Update declaration.
30194 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30195 formatting.
30196 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30197 as unused and give dummy FP_RND_NEAREST initializer.
30198 (__Qp_handle_exceptions): Update declaration.
30199 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30200 formatting.
30201
302022012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30203
30204 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30205 the temporary FPU control word.
30206 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30207 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30208 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30209 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30210 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30211 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30212 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30213 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30214 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30215 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30216 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30217
302182012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30219
30220 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30221 fields.
30222
302232012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30224
30225 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30226 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30227 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30228 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30229 Likewise.
30230 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30231 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30232 Likewise.
30233
302342012-05-27 Ulrich Drepper <drepper@gmail.com>
30235
30236 * po/h.po: Update from translation team.
30237
302382012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30239
30240 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30241
30242 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30243 handling of denormals.
30244 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30245 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30246 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30247 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30248 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30249 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30251 Likewise.
30252
302532012-05-26 Marek Polacek <polacek@redhat.com>
30254
30255 [BZ #14152]
30256 * math/libm-test.inc (fma_test): Don't always expect underflow
30257 exception.
30258
302592012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30260
30261 [BZ #12416]
30262 * elf/tst-execstack.c: Include stackinfo.h.
30263 (do_test): Adjust test case to ensure that pthread_getattr_np
30264 behaviour remains the same after marking stack executable.
30265
302662012-05-25 Joseph Myers <joseph@codesourcery.com>
30267
30268 * sysdeps/unix/sysv/linux/kernel-features.h
30269 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30270 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30271 kernel-features.h.
30272 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30273 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30274 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30275 kernel-features.h.
30276 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30277 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30278
302792012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30280
30281 * configure.in: Define the default includes to being none.
30282 * configure: Regenerated.
30283
302842012-05-25 Roland McGrath <roland@hack.frob.com>
30285
30286 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30287 * sysdeps/x86_64/setjmp.S: Likewise.
30288 * sysdeps/i386/bsd-setjmp.S: Likewise.
30289 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30290 * sysdeps/i386/setjmp.S: Likewise.
30291 * sysdeps/i386/__longjmp.S: Likewise.
30292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30293 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30294
30295 * include/stap-probe.h: New file.
30296 * configure.in: Handle --enable-systemtap.
30297 * configure: Regenerated.
30298 * config.h.in (USE_STAP_PROBE): New #undef.
30299 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30300 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30301 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30302
303032012-05-25 Joseph Myers <joseph@codesourcery.com>
30304
30305 [BZ #13717]
30306 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30307 to 2.4.0 where earlier.
30308 * sysdeps/unix/sysv/linux/configure: Regenerated.
30309 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30310 <kernel-features.h>.
30311 [__ASSUME_32BITUIDS]: Make code unconditional.
30312 [!__ASSUME_32BITUIDS]: Remove conditional code.
30313 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30314 <kernel-features.h>.
30315 [__ASSUME_32BITUIDS]: Make code unconditional.
30316 [!__ASSUME_32BITUIDS]: Remove conditional code.
30317 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30318 [__ASSUME_32BITUIDS]: Make code unconditional.
30319 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30320 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30321 <kernel-features.h>.
30322 [__ASSUME_32BITUIDS]: Make code unconditional.
30323 [!__ASSUME_32BITUIDS]: Remove conditional code.
30324 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30325 <kernel-features.h>.
30326 [__ASSUME_32BITUIDS]: Make code unconditional.
30327 [!__ASSUME_32BITUIDS]: Remove conditional code.
30328 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30329 <kernel-features.h>.
30330 [__ASSUME_32BITUIDS]: Make code unconditional.
30331 [!__ASSUME_32BITUIDS]: Remove conditional code.
30332 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30333 <kernel-features.h>.
30334 [__ASSUME_32BITUIDS]: Make code unconditional.
30335 [!__ASSUME_32BITUIDS]: Remove conditional code.
30336 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30337 <kernel-features.h>.
30338 [__ASSUME_32BITUIDS]: Make code unconditional.
30339 [!__ASSUME_32BITUIDS]: Remove conditional code.
30340 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30341 <kernel-features.h>.
30342 [__ASSUME_32BITUIDS]: Make code unconditional.
30343 [!__ASSUME_32BITUIDS]: Remove conditional code.
30344 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30345 <kernel-features.h>.
30346 [__ASSUME_32BITUIDS]: Make code unconditional.
30347 [!__ASSUME_32BITUIDS]: Remove conditional code.
30348 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30349 <kernel-features.h>.
30350 [__ASSUME_32BITUIDS]: Make code unconditional.
30351 [!__ASSUME_32BITUIDS]: Remove conditional code.
30352 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30353 <kernel-features.h>.
30354 [__ASSUME_32BITUIDS]: Make code unconditional.
30355 [!__ASSUME_32BITUIDS]: Remove conditional code.
30356 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30357 <kernel-features.h>.
30358 [__ASSUME_32BITUIDS]: Make code unconditional.
30359 [!__ASSUME_32BITUIDS]: Remove conditional code.
30360 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30361 <kernel-features.h>.
30362 [__NR_setresgid] (__setresgid): Do not declare.
30363 [__ASSUME_32BITUIDS]: Make code unconditional.
30364 [!__ASSUME_32BITUIDS]: Remove conditional code.
30365 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30366 <kernel-features.h>.
30367 [__NR_setresuid] (__setresuid): Do not declare.
30368 [__ASSUME_32BITUIDS]: Make code unconditional.
30369 [!__ASSUME_32BITUIDS]: Remove conditional code.
30370 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30371 <kernel-features.h>.
30372 [__ASSUME_32BITUIDS]: Make code unconditional.
30373 [!__ASSUME_32BITUIDS]: Remove conditional code.
30374 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30375 <kernel-features.h>.
30376 [__ASSUME_32BITUIDS]: Make code unconditional.
30377 [!__ASSUME_32BITUIDS]: Remove conditional code.
30378 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30379 <kernel-features.h>.
30380 [__ASSUME_32BITUIDS]: Make code unconditional.
30381 [!__ASSUME_32BITUIDS]: Remove conditional code.
30382 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30383 <kernel-features.h>.
30384 [__ASSUME_32BITUIDS]: Make code unconditional.
30385 [!__ASSUME_32BITUIDS]: Remove conditional code.
30386 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30387 <kernel-features.h>.
30388 [__ASSUME_32BITUIDS]: Make code unconditional.
30389 [!__ASSUME_32BITUIDS]: Remove conditional code.
30390 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30391 <kernel-features.h>.
30392 [__ASSUME_32BITUIDS]: Make code unconditional.
30393 [!__ASSUME_32BITUIDS]: Remove conditional code.
30394 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30395 <kernel-features.h>.
30396 [__ASSUME_32BITUIDS]: Make code unconditional.
30397 [!__ASSUME_32BITUIDS]: Remove conditional code.
30398 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30399 <kernel-features.h>.
30400 [__ASSUME_32BITUIDS]: Make code unconditional.
30401 [!__ASSUME_32BITUIDS]: Remove conditional code.
30402 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30403 <kernel-features.h>.
30404 [__ASSUME_32BITUIDS]: Make code unconditional.
30405 [!__ASSUME_32BITUIDS]: Remove conditional code.
30406 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30407 <kernel-features.h>.
30408 [__ASSUME_32BITUIDS]: Make code unconditional.
30409 [!__ASSUME_32BITUIDS]: Remove conditional code.
30410 * sysdeps/unix/sysv/linux/kernel-features.h
30411 (__ASSUME_SETRESUID_SYSCALL): Remove.
30412 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30413 (__ASSUME_32BITUIDS): Likewise.
30414 (__ASSUME_LDT_WORKS): Likewise.
30415 (__ASSUME_O_DIRECTORY): Likewise.
30416 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30417 architecture but not kernel version.
30418 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30419 (__ASSUME_MMAP2_SYSCALL): Likewise.
30420 (__ASSUME_STAT64_SYSCALL): Likewise.
30421 (__ASSUME_IPC64): Likewise.
30422 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30423 <kernel-features.h>.
30424 [__ASSUME_32BITUIDS]: Make code unconditional.
30425 [!__ASSUME_32BITUIDS]: Remove conditional code.
30426 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30427 <kernel-features.h>.
30428 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30429 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30430 132096]: Remove conditional code.
30431 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30432 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30433 <kernel-features.h>.
30434 [__ASSUME_32BITUIDS]: Make code unconditional.
30435 [!__ASSUME_32BITUIDS]: Remove conditional code.
30436 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30437 <kernel-features.h>.
30438 [__ASSUME_32BITUIDS]: Make code unconditional.
30439 [!__ASSUME_32BITUIDS]: Remove conditional code.
30440 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30441 <kernel-features.h>.
30442 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30443 unconditional.
30444 (__setresgid): Do not declare.
30445 [__ASSUME_32BITUIDS]: Make code unconditional.
30446 [!__ASSUME_32BITUIDS]: Remove conditional code.
30447 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30448 <kernel-features.h>.
30449 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30450 unconditional.
30451 (__setresuid): Do not declare.
30452 [__ASSUME_32BITUIDS]: Make code unconditional.
30453 [!__ASSUME_32BITUIDS]: Remove conditional code.
30454 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30455 <kernel-features.h>.
30456 [__ASSUME_32BITUIDS]: Make code unconditional.
30457 [!__ASSUME_32BITUIDS]: Remove conditional code.
30458 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30459 <kernel-features.h>.
30460 [__ASSUME_32BITUIDS]: Make code unconditional.
30461 [!__ASSUME_32BITUIDS]: Remove conditional code.
30462
304632012-05-25 Richard Henderson <rth@twiddle.net>
30464
30465 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30466 dl_hwcap to ifunc resolver.
30467 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30468 elf_ifunc_invoke.
30469 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30470 dl_hwcap to ifunc resolver.
30471 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30472
304732012-05-24 Joseph Myers <joseph@codesourcery.com>
30474
30475 [BZ #14153]
30476 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30477 for |x| <= 2**-26, not 2**-57.
30478 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30479 exception.
30480
304812012-05-24 Jeff Law <law@redhat.com>
30482
30483 * stdio-common/Makefile (tests): Add bug25.
30484 * stdio-common/bug25.c: New test.
30485
304862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30487
30488 [BZ #13576]
30489 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30490 multiple of MALLOC_ALIGNMENT in size.
30491 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30492
304932012-05-24 Joseph Myers <joseph@codesourcery.com>
30494
30495 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30496 Require >= 256.
30497 (FILENAME_MAX): Use macro-int-constant.
30498 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30499 (_IOFBF): Use macro-int-constant.
30500 (_IOLBF): Likewise.
30501 (_IONBF): Likewise.
30502 (SEEK_CUR): Likewise.
30503 (SEEK_END): Likewise.
30504 (SEEK_SET): Likewise.
30505 (TMP_MAX): Likewise.
30506 (EOF): Use macro-int-constant. Require < 0.
30507 (NULL): Use macro-constant. Require == 0.
30508 (stdin): Require type to be FILE *.
30509 (stdout): Likewise.
30510 (stderr): Likewise.
30511 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30512 macro-int-constant.
30513 (EXIT_SUCCESS): Likewise.
30514 (NULL): Use macro-constant. Require == 0.
30515 (RAND_MAX): Use macro-int-constant.
30516 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30517 [C99-based standards] (strtof): Require function.
30518 [C99-based standards] (strtold): Likewise.
30519 [C99-based standards] (strtoll): Likewise.
30520 [C99-based standards] (strtoull): Likewise.
30521 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30522 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30523 [ISO || ISO99 || ISO11] (math.h): Likewise.
30524 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30525 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30526 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30527
305282012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30529
30530 [BZ #14132]
30531 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30532 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30533 * intl/dgettext.c (DCGETTEXT): Likewise.
30534 * intl/gettext.c (DCGETTEXT): Likewise.
30535 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30536 * posix/regex_internal.h (gettext): Likewise.
30537 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30538 Remove declaration.
30539 * include/argz.h (__argz_count_internal)
30540 (__argz_stringify_internal): Remove declaration.
30541 (__argz_count, __argz_stringify): Declare hidden proto.
30542 * intl/dcgettext.c: Remove use of INTDEF.
30543 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30544 * string/argz-stringify.c: Likewise.
30545 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30546 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30547 Declare hidden proto.
30548 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30549 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30550 Declare hidden proto.
30551 * include/stdio.h (__asprintf_internal): Don't declare.
30552 (__asprintf): Don't define as macro. Declare hidden proto.
30553 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30554 (__fsetlocking): Declare hidden proto.
30555 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30556 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30557 hidden proto.
30558 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30559 (_IO_setlinebuf): Remove use of INTUSE.
30560 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30561 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30562 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30563 Remove declaration.
30564 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30565 (_IO_do_flush): Remove use of INTUSE.
30566 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30567 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30568 (_IO_adjust_column, _IO_least_wmarker)
30569 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30570 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30571 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30572 (_IO_default_doallocate, _IO_wdefault_doallocate)
30573 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30574 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30575 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30576 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30577 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30578 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30579 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30580 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30581 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30582 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30583 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30584 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30585 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30586 proto.
30587 (_IO_flush_all_internal, _IO_adjust_column_internal)
30588 (_IO_default_uflow_internal, _IO_default_finish_internal)
30589 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30590 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30591 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30592 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30593 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30594 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30595 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30596 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30597 (_IO_file_close_internal, _IO_file_close_it_internal)
30598 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30599 (_IO_file_init_internal, _IO_file_attach_internal)
30600 (_IO_file_fopen_internal, _IO_file_read_internal)
30601 (_IO_file_sync_internal, _IO_file_seek_internal)
30602 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30603 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30604 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30605 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30606 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30607 (_IO_list_all_internal, _IO_link_in_internal)
30608 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30609 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30610 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30611 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30612 (_IO_do_write_internal, _IO_padn_internal)
30613 (_IO_getline_info_internal, _IO_getline_internal)
30614 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30615 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30616 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30617 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30618 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30619 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30620 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30621 with libc_hidden_ver, remove use of INTUSE.
30622 * libio/genops.c: Likewise.
30623 * libio/freopen.c: Likewise.
30624 * libio/freopen64.c: Likewise.
30625 * libio/iofclose.c: Likewise.
30626 * libio/iofdopen.c: Likewise.
30627 * libio/iofflush.c: Likewise.
30628 * libio/iofflush_u.c: Likewise.
30629 * libio/iofgets.c: Likewise.
30630 * libio/iofgets_u.c: Likewise.
30631 * libio/iofopen.c: Likewise.
30632 * libio/iofopncook.c: Likewise.
30633 * libio/iofread.c: Likewise.
30634 * libio/iofread_u.c: Likewise.
30635 * libio/ioftell.c: Likewise.
30636 * libio/iofwrite.c: Likewise.
30637 * libio/iogetline.c: Likewise.
30638 * libio/iogets.c: Likewise.
30639 * libio/iogetwline.c: Likewise.
30640 * libio/iopadn.c: Likewise.
30641 * libio/iopopen.c: Likewise.
30642 * libio/ioseekoff.c: Likewise.
30643 * libio/ioseekpos.c: Likewise.
30644 * libio/iosetbuffer.c: Likewise.
30645 * libio/iosetvbuf.c: Likewise.
30646 * libio/ioungetc.c: Likewise.
30647 * libio/ioungetwc.c: Likewise.
30648 * libio/iovdprintf.c: Likewise.
30649 * libio/iovsprintf.c: Likewise.
30650 * libio/iovsscanf.c: Likewise.
30651 * libio/memstream.c: Likewise.
30652 * libio/obprintf.c: Likewise.
30653 * libio/oldfileops.c: Likewise.
30654 * libio/oldiofclose.c: Likewise.
30655 * libio/oldiofdopen.c: Likewise.
30656 * libio/oldiofopen.c: Likewise.
30657 * libio/oldiopopen.c: Likewise.
30658 * libio/oldstdfiles.c: Likewise.
30659 * libio/putc.c: Likewise.
30660 * libio/setbuf.c: Likewise.
30661 * libio/setlinebuf.c: Likewise.
30662 * libio/stdfiles.c: Likewise.
30663 * libio/strops.c: Likewise.
30664 * libio/vasprintf.c: Likewise.
30665 * libio/vscanf.c: Likewise.
30666 * libio/vsnprintf.c: Likewise.
30667 * libio/vswprintf.c: Likewise.
30668 * libio/wfiledoalloc.c: Likewise.
30669 * libio/wfileops.c: Likewise.
30670 * libio/wgenops.c: Likewise.
30671 * libio/wmemstream.c: Likewise.
30672 * libio/wstrops.c: Likewise.
30673 * libio/__fpurge.c: Likewise.
30674 * libio/__fsetlocking.c: Likewise.
30675 * assert/assert.c: Likewise.
30676 * debug/fgets_chk.c: Likewise.
30677 * debug/fgets_u_chk.c: Likewise.
30678 * debug/fread_chk.c: Likewise.
30679 * debug/fread_u_chk.c: Likewise.
30680 * debug/gets_chk.c: Likewise.
30681 * debug/obprintf_chk.c: Likewise.
30682 * debug/vasprintf_chk.c: Likewise.
30683 * debug/vdprintf_chk.c: Likewise.
30684 * debug/vsnprintf_chk.c: Likewise.
30685 * debug/vsprintf_chk.c: Likewise.
30686 * malloc/mtrace.c: Likewise.
30687 * misc/error.c: Likewise.
30688 * misc/syslog.c: Likewise.
30689 * stdio-common/asprintf.c: Likewise.
30690 * stdio-common/fxprintf.c: Likewise.
30691 * stdio-common/getw.c: Likewise.
30692 * stdio-common/isoc99_fscanf.c: Likewise.
30693 * stdio-common/isoc99_scanf.c: Likewise.
30694 * stdio-common/isoc99_vfscanf.c: Likewise.
30695 * stdio-common/isoc99_vscanf.c: Likewise.
30696 * stdio-common/isoc99_vsscanf.c: Likewise.
30697 * stdio-common/printf-prs.c: Likewise.
30698 * stdio-common/printf_fp.c: Likewise.
30699 * stdio-common/printf_fphex.c: Likewise.
30700 * stdio-common/printf_size.c: Likewise.
30701 * stdio-common/putw.c: Likewise.
30702 * stdio-common/scanf.c: Likewise.
30703 * stdio-common/sprintf.c: Likewise.
30704 * stdio-common/tmpfile.c: Likewise.
30705 * stdio-common/vfprintf.c: Likewise.
30706 * stdio-common/vfscanf.c: Likewise.
30707 * stdlib/strfmon_l.c: Likewise.
30708 * sunrpc/openchild.c: Likewise.
30709 * sunrpc/xdr_stdio.c: Likewise.
30710 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30711 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30712
307132012-05-24 Roland McGrath <roland@hack.frob.com>
30714
30715 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30716
30717 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30718 in the third column, to generate for the shared library an IFUNC
30719 that uses _dl_vdso_vsym.
30720 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30721 * Makeconfig (object-suffixes-noshared): New variable.
30722
30723 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30724 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30725 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30726 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30727
30728 [BZ #14132]
30729 * include/sys/time.h (__gettimeofday): Remove macro.
30730 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30731 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30732 Remove INTDEF.
30733 (__gettimeofday): Add libc_hidden_def.
30734 (gettimeofday): Add libc_hidden_weak.
30735 * sysdeps/mach/gettimeofday.c: Likewise.
30736 * sysdeps/posix/gettimeofday.c: Likewise.
30737 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30738 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30740 (__gettimeofday_internal): Remove strong_alias.
30741 (__gettimeofday): Add libc_hidden_def.
30742 (gettimeofday): Add libc_hidden_weak.
30743 * sysdeps/unix/syscalls.list (gettimeofday):
30744 Remove __gettimeofday_internal alias.
30745
307462012-05-24 Daniel Jacobowitz <drow@false.org>
30747 H.J. Lu <hongjiu.lu@intel.com>
30748
30749 [BZ #12495]
30750 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30751 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30752 (largebin_index_32_big): New.
30753 (largebin_index): Use it for 16-byte alignment.
30754 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30755 correction with front_misalign.
30756
307572012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30758
30759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30761 Likewise.
30762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30763 Likewise.
30764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30765 Likewise.
30766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30767 Likewise.
30768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30769 Likewise.
30770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30771 Likewise.
30772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30773 Likewise.
30774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30775 Likewise.
30776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30777 Likewise.
30778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30779 Likewise.
30780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30781 Likewise.
30782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30783 Likewise.
30784
30785 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30786 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30787
307882012-05-24 Joseph Myers <joseph@codesourcery.com>
30789
30790 [BZ #10846]
30791 [BZ #14036]
30792 * math/libm-test.inc (exp_test): Add test from bug 14036.
30793 (pow_test): Add test from bug 10846.
30794
30795 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30796 and other flags.
30797 (special_function): Do not include flags in test name.
30798 (parse_args): Likewise.
30799 * sysdeps/i386/fpu/libm-test-ulps: Update.
30800 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30801 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30802 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30804
30805 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30806 exceptions.
30807 * math/libm-test.inc ("Philosophy"): Update comment about
30808 exception testing.
30809 (UNDERFLOW_EXCEPTION): New macro.
30810 (UNDERFLOW_EXCEPTION_OK): Likewise.
30811 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30812 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30813 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30814 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30815 (INVALID_EXCEPTION_OK): Update value.
30816 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30817 (OVERFLOW_EXCEPTION_OK): Likewise.
30818 (IGNORE_ZERO_INF_SIGN): Likewise.
30819 (test_exceptions): Handle underflow exceptions.
30820 (acos_test): Update for underflow exception expectations.
30821 (cexp_test): Likewise.
30822 (clog_test): Likewise.
30823 (clog10_test): Likewise.
30824 (csqrt_test): Likewise.
30825 (ctan_test): Likewise.
30826 (ctanh_test): Likewise.
30827 (exp_test): Likewise.
30828 (exp10_test): Likewise.
30829 (exp2_test): Likewise.
30830 (expm1_test): Likewise.
30831 (fma_test): Likewise.
30832 (j0_test): Likewise.
30833 (jn_test): Likewise.
30834 (nexttoward_test): Likewise.
30835 (pow_test): Likewise.
30836 (scalbn_test): Likewise.
30837 (scalbln_test): Likewise.
30838 (tan_test): Likewise.
30839 (y1_test): Likewise.
30840 * sysdeps/i386/fpu/libm-test-ulps: Update.
30841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30842
308432012-05-23 David S. Miller <davem@davemloft.net>
30844
30845 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30846 (__libc_sigaction): Remove unused local variables.
30847
308482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30849
30850 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30851
308522012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30853
30854 mktime: avoid signed integer overflow
30855 * time/mktime.c (__mktime_internal): Do not mishandle the case
30856 where diff == INT_MIN.
30857
30858 mktime: simplify computation of average
30859 * time/mktime.c (ranged_convert): Use new time_t_avg function
30860 instead of rolling our own (probably-slower) code.
30861
30862 mktime: do not assume signed right shift propagates sign bit
30863 * time/mktime.c (isdst_differ): New static function.
30864 (__mktime_internal): No need to normalize tm_isdst now.
30865 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30866 tm_isdst values.
30867
30868 mktime: merge another wrapv change from gnulib
30869 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30870 from some compilers.
30871
30872 mktime: remove incorrect attempt at unusual arithmetics
30873 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30874 The code didn't really work on such machines anyway.
30875 (TYPE_MINIMUM): Assume two's complement.
30876 (twos_complement_arithmetic): Verify that long_int and time_t
30877 are two's complement (or unsigned, in the latter case).
30878
30879 mktime: check signed shifts on long_int and time_t, too
30880 * time/mktime.c (SHR): Check that shifts work as desired
30881 on the types long_int and time_t too, as SHR is used on
30882 such types.
30883
30884 mktime: do not assume 'long' is wide enough
30885 * time/mktime.c (verify): Move decl up.
30886 (long_int): New type.
30887 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30888 to remove assumption in the code that 'long' is wide enough to
30889 store year values. This assumption is not true on x32 and on
30890 some non-glibc platforms.
30891
30892 mktime: merge wrapv change from gnulib
30893 * time/mktime.c (WRAPV): New macro.
30894 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30895 (guess_time_tm, __mktime_internal): Do not assume that signed
30896 integer overflow wraps around; modern compilers generate code
30897 where this assumption is no longer valid.
30898
308992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30900
30901 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30902 Replace "jmp L(pseudo_end)" with "ret".
30903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30904 Likewise.
30905
309062012-05-23 Andreas Jaeger <aj@suse.de>
30907
30908 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30909 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30910
309112012-05-23 Andreas Jaeger <aj@suse.de>
30912 Maximilian Attems <max@stro.at>
30913
30914 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30915 New macros.
30916
309172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30918
30919 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30920 code so that pseudo_end is just ret and the stack pointer is
30921 correct also for static library in error case.
30922
309232012-05-23 Joseph Myers <joseph@codesourcery.com>
30924
30925 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30926 move to syscalls.list.
30927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30931
30932 * manual/install.texi (Running make install): Do not mention Linux
30933 kernel version for which pt_chown is not needed.
30934 (Linux): Do not mention problems with nscd with 2.0 kernels.
30935 * INSTALL: Regenerated.
30936
309372012-05-23 Andreas Jaeger <aj@suse.de>
30938
30939 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30940 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30941 macro.
30942 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30943 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30944 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30945 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30946 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30948 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30949 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30950 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30951 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30952 * sysdeps/unix/sysv/linux/bits/in.h
30953 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30954
309552012-05-22 Roland McGrath <roland@hack.frob.com>
30956
30957 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30958 (PREPARE_VERSION): Just use assert instead, it will be elided
30959 under [NDEBUG] anyway.
30960
309612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30962
30963 * sysdeps/unix/sysv/linux/Makefile: Include
30964 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
30965 (sysdep_routines): Remove sysctl.
30966 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30967 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30968 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30969 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30970 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30971
309722012-05-22 Andreas Jaeger <aj@suse.de>
30973
30974 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30975 that pseudo_end is just ret and the stack pointer is correct also
30976 for static library in error case.
30977
309782012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30979
30980 [BZ #14122]
30981 * nss/nsswitch.c (defconfig_entries): New variable.
30982 (__nss_database_lookup): Don't leak defconfig entries.
30983 (nss_parse_service_list): Don't leak on error paths.
30984 (free_database_entries): New function.
30985 (free_defconfig): New function.
30986 (free_mem): Move common code to free_database_entries.
30987
309882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30989
30990 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30991 Add arch_prctl.
30992 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30993
30994 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30995 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30997 New macro.
30998 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30999 (INTERNAL_SYSCALL_TYPES): Likewise.
31000 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31001 (LOAD_REGS_TYPES_[1-6]): Likewise.
31002 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31003 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31004
310052012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31006
31007 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31008 copysignl for GLIBC_2_0.
31009 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31010 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31011 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31012 logbl for GLIBC_2_0.
31013 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31014 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31015
310162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31017
31018 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31019 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31020
31021 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31022 Use "neg %eax".
31023
31024 * time/mktime.c: Update copyright years.
31025
310262012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31027
31028 mktime: merge comment-quoting-style change from gnulib
31029 * time/mktime.c: Quote 'like this' in comments.
31030 The GNU coding standards suggest that we no longer quote `like this',
31031 as "`" and "'" are typically rendered asymmetrically nowadays.
31032 The typical gnulib style is to quote 'like this' when quoting
31033 code, and "like this" when quoting English.
31034
31035 * time/mktime.c (compile-command): Add "-I.".
31036
31037 mktime: merge mktime-internal.h change from gnulib
31038 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31039
31040 mktime: merge time_r change from gnulib
31041 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31042
31043 mktime: merge DEBUG change from gnulib
31044 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31045 case system <time.h> has a #define.
31046
31047 mktime: merge <sys/types.h> change from gnulib
31048 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31049 since <time.t> is now guaranteed to define time_t.
31050
31051 mktime: merge HAVE_CONFIG_H change from gnulib
31052 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31053
310542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31055
31056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31057 Use "neg %eax".
31058
31059 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31060 __rlim_t cast.
31061 (struct rusage): Use anonymous union to pad each field to
31062 __syscall_slong_t.
31063
310642012-05-21 David S. Miller <davem@davemloft.net>
31065
31066 * Makefules (o-iterator): Remove .s cases.
31067 (compile-command.s): Delete.
31068 (COMPILE.s): Delete.
31069 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31070
310712012-05-21 Joseph Myers <joseph@codesourcery.com>
31072
31073 * configure.in (libc_cv_predef_stack_protector): Only consider
31074 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31075 * configure: Regenerated.
31076
310772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31078
31079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31080 New macro. Use R*LP on int and pointer.
31081 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31082 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31083 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31084 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31085
31086 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31087 [__WORDSIZE_TIME64_COMPAT32] instead of
31088 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31089 (struct utmp): Likewise.
31090 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31091 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31092 Renamed to ...
31093 (__WORDSIZE_TIME64_COMPAT32): This.
31094 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31095 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31096 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31097 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31098 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31099 (__WORDSIZE_TIME64_COMPAT32): New macro.
31100
311012012-05-21 Andreas Jaeger <aj@suse.de>
31102
31103 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31104 only if [SHARED]. Add prototype for __wcschr_ia32.
31105
311062012-05-21 Roland McGrath <roland@hack.frob.com>
31107
31108 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31109 of %rbp unmolested in the jmp_buf while mangling the low bits.
31110 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31111 unmolested high bits of %rbp while demangling the low bits.
31112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31113
311142012-05-21 Andreas Jaeger <aj@suse.de>
31115
31116 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31117 * sunrpc/svc_simple.c: Use it for registerrpc.
31118 * sunrpc/xcrypt.c: Use it for passwd2des.
31119
31120 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31121
311222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31123
31124 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31125 Don't define if [__SYSCALL_WORDSIZE != 32].
31126 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31127 New macro.
31128
311292012-05-21 Bruno Haible <bruno@clisp.org>
31130 Andreas Jaeger <aj@suse.de>
31131
31132 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31133 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31134 inptr and inend for must_buffer_ch.
31135 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31136 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31137 * stdio-common/Makefile (tests): Remove bug15.
31138 (bug15-ENV): Remove macro.
31139 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31140 anymore.
31141
311422012-05-19 Andreas Jaeger <aj@suse.de>
31143 Roland McGrath <roland@hack.frob.com>
31144
31145 * manual/contrib.texi: Completely rewritten. It contains now an
31146 alphabetical list of contributors and their contributions.
31147
311482012-05-21 Richard Henderson <rth@twiddle.net>
31149
31150 * misc/getauxval.c (__getauxval): Use unsigned long int.
31151 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31152 (getauxval): Use unsigned long int.
31153
311542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31155
31156 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31157
311582012-05-21 Roland McGrath <roland@hack.frob.com>
31159
31160 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31161 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31162 __alignof__ (long double).
31163
311642012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31165
31166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31167
311682012-05-20 Richard Henderson <rth@twiddle.net>
31169
31170 * misc/getauxval.c: New file.
31171 * misc/sys/auxv.h: New file.
31172 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31173 (routines): Add getauxval.
31174 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31175 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31176 * elf/dl-sysdep.c (_dl_auxv): Remove.
31177 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31178 * elf/dl-support.c (_dl_auxv): New variable.
31179 (_dl_aux_init): Initialize it.
31180 * manual/startup.texi (Auxiliary Vector): New node.
31181 * sysdeps/generic/bits/hwcap.h: New file.
31182 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31183 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31184 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31185 * sysdeps/sparc/sysdep.h: ... here. Include it.
31186 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31187 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31189 Update.
31190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31198
311992012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31200
31201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31202
312032012-05-19 David S. Miller <davem@davemloft.net>
31204
31205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31206
312072012-05-19 Joseph Myers <joseph@codesourcery.com>
31208
31209 [BZ #14123]
31210 * math/s_ccosh.c: Include <float.h>
31211 (__ccosh): Avoid internal overflow calculating sinh and cosh
31212 values before multiplying by sin and cos values.
31213 * math/s_ccoshf.c: Likewise.
31214 * math/s_ccoshl.c: Likewise.
31215 * math/s_csin.c: Likewise.
31216 * math/s_csinf.c: Likewise.
31217 * math/s_csinl.c: Likewise.
31218 * math/s_csinh.c: Likewise.
31219 * math/s_csinhf.c: Likewise.
31220 * math/s_csinhl.c: Likewise.
31221 * math/libm-test.inc (ccos_test): Add more tests.
31222 (ccosh_test): Likewise.
31223 (csin_test): Likewise.
31224 (csinh_test): Likewise.
31225 * sysdeps/i386/fpu/libm-test-ulps: Update.
31226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31227
312282012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31229
31230 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31231 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31232
31233 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31234
312352012-05-19 Joseph Myers <joseph@codesourcery.com>
31236
31237 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31238 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31239 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31240 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31241 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31242 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31243 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31244 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31245 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31246 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31247 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31248 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31249 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31250 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31251 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31252 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31253 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31254 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31255 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31256 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31257 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31258 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31259 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31260 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31261 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31262 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31263 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31264 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31265 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31266 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31267 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31268
312692012-05-18 Andreas Jaeger <aj@suse.de>
31270
31271 * csu/.gitignore: Delete.
31272
312732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31274
31275 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31276 (timex): Use __syscall_slong_t.
31277
312782012-05-18 Andreas Jaeger <aj@suse.de>
31279 Carlos O'Donell <carlos_odonell@mentor.com>
31280
31281 * manual/install.texi (Configuring and compiling): Update
31282 description about files modified in the source directory.
31283 * INSTALL: Regenerated.
31284
312852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31286
31287 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31288 value. Use "or" to set return value to -1.
31289 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31290 negate return value.
31291
312922012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31293
31294 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31295 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31296 failure if the compiler has Graphite support disabled.
31297 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31298 Likewise.
31299 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31300 (CFLAGS-memmove.c): Likewise.
31301 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31302 Likewise.
31303
313042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31305
31306 * sysdeps/x86_64/x32/_itoa.h: New file.
31307
31308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31309 getdents system call only if kernel and user dirents have the
31310 same d_ino and d_off.
31311
31312 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31313 LLONG_MAX != LONG_MAX.
31314 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31315 (_fitoa_word): Likewise.
31316
31317 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31318 years.
31319 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31320 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31321 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31322
31323 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31324 include <bits/wordsize.h>. Check __x86_64__ instead of
31325 __WORDSIZE.
31326 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31327 if __x86_64__ is defined. Use anonymous union on fpstate.
31328
31329 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31330 anonymous union.
31331
313322012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31333
31334 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31335 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31336 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31337 Refer to _rtld_local_ro instead of _rtld_global_ro.
31338 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31339 Likewise.
31340 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31341 Likewise.
31342 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31343 Likewise.
31344 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31345 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31346 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31347
31348 * sysdeps/powerpc/powerpc32/dl-machine.c
31349 (__elf_machine_runtime_setup) [PROF]: Don't reference
31350 _dl_prof_resolve.
31351
313522012-05-18 Andreas Jaeger <aj@suse.de>
31353
31354 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31355 function only available for GCCs before 3.4 since GCC 3.4
31356 introduced a builtin.
31357 (lrint): Likewise.
31358 (llrintf): Likewise.
31359 (llrint): Likewise.
31360 (fmaxf): Likewise.
31361 (fmax): Likewise.
31362 (fminf): Likewise.
31363 (fmin): Likewise.
31364 (rint): Likewise.
31365 (rintf): Likewise.
31366 (nearbyint): Likewise.
31367 (nearbyintf): Likewise.
31368 (ceil): Likewise.
31369 (ceilf): Likewise.
31370 (floor): Likewise.
31371 (floorf): Likewise.
31372
313732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31374
31375 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31376 on both fields and cast pointer to __syscall_ulong_t.
31377
31378 * bits/types.h (__fsword_t): New type.
31379 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31380 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31382 (__FSWORD_T_TYPE): Likewise.
31383 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31384 (__FSWORD_T_TYPE): Likewise.
31385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31386 (__FSWORD_T_TYPE): Likewise.
31387 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31388 (__FSWORD_T_TYPE): Likewise.
31389 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31390 __SWORD_TYPE with __fsword_t.
31391 (statfs64): Likewise.
31392
313932012-05-17 David S. Miller <davem@davemloft.net>
31394
31395 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31396
313972012-05-17 Andreas Jaeger <aj@suse.de>
31398
31399 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31400 warning.
31401
314022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31403
31404 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31405
314062012-05-17 Andreas Jaeger <aj@suse.de>
31407
31408 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31409 when it is used.
31410
314112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31412
31413 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31414
314152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31416
31417 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31418 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31419
314202012-05-17 Andreas Jaeger <aj@suse.de>
31421 Carlos O'Donell <carlos_odonell@mentor.com>
31422
31423 [BZ #14059]
31424 * sysdeps/x86_64/multiarch/init-arch.h
31425 (bit_YMM_Usable): Rename to...
31426 (bit_AVX_Usable): ... this.
31427 (bit_FMA4_Usable): New macro.
31428 (bit_XMM_state): New macro.
31429 (bit_YMM_state): New macro.
31430 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31431 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31432 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31433 (CPUID_OSXSAVE): New macro.
31434 (CPUID_AVX): New macro.
31435 (CPUID_FMA4): New macro.
31436 (index_YMM_Usable): Rename to...
31437 (index_AVX_Usable): ... this.
31438 (HAS_AVX): Use HAS_ARCH_FEATURE.
31439 (HAS_FMA4): Likewise.
31440 (HAS_YMM_USABLE): Remove.
31441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31442 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31443 are present.
31444 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31445 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31446 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31447 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31448 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31449
314502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31451
31452 * math/libm-test.c: Support platforms without multiple rounding modes.
31453 * math/bug-nextafter.c: Support platforms without FP exceptions.
31454 * math/bug-nexttoward.c: Likewise.
31455 * math/test-fenv.c: Likewise.
31456 * math/test-misc.c: Likewise.
31457 * stdlib/bug-getcontext.c: Likewise.
31458
314592012-05-17 Andreas Jaeger <aj@suse.de>
31460
31461 * manual/examples/search.c (critter_cmp): Change signature to
31462 avoid warnings.
31463 * manual/string.texi (Collation Functions): Likewise.
31464
314652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31466
31467 * bits/types.h: Fold copyright years.
31468 * bits/typesizes.h: Likewise.
31469 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31470 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31471 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31472 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31473 * time/time.h: Likewise.
31474
314752012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31476
31477 [BZ #208]
31478 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31479 in instead of returning them. Return void.
31480 (__libc_mallinfo): Accumulate over all arenas.
31481 (__malloc_stats): Adjust for change in int_mallinfo interface.
31482
314832012-05-16 Roland McGrath <roland@hack.frob.com>
31484
31485 [BZ #10375]
31486 * configure.in (NM): Add AC_CHECK_TOOL for it.
31487 (libc_extra_cflags): New substituted variable.
31488 Check for -fstack-protector being used implicitly.
31489 * configure: Regenerated.
31490 * config.make.in (config-extra-cflags): New variable,
31491 gets @libc_extra_cflags@.
31492 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31493
31494 [BZ #10375]
31495 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31496 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31497 * configure: Regenerated.
31498 * config.make.in (CPPUNDEFS): New substituted variable.
31499 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31500 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31501 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31502
315032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31504
31505 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31506 (mq_attr): Use __syscall_slong_t.
31507
315082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31509
31510 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31511 Check __x86_64__ instead of __WORDSIZE.
31512 (_STAT_VER_LINUX): Likewise.
31513 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31514 __syscall_ulong_t and __syscall_slong_t.
31515 (stat64): Likewise.
31516
315172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31518
31519 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31520
315212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31522
31523 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31524
315252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31526
31527 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31528 __syscall_ulong_t.
31529
31530 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31531 include <bits/wordsize.h>. Check __x86_64__ instead of
31532 __WORDSIZE.
31533 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31534 defined.
31535 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31536
31537 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31538 include <bits/wordsize.h>. Check __x86_64__ instead of
31539 __WORDSIZE.
31540 (user_regs_struct): Use "__extension__ unsigned long long"
31541 instead of "unsigned long" if __x86_64__ is defined.
31542 (user): Likewise. Pad after pointer field if __ILP32__ is
31543 defined.
31544
315452012-05-16 Joseph Myers <joseph@codesourcery.com>
31546
31547 * configure.in (makeinfo): Require version 4.5 or later. Allow
31548 versions 5 to 9.
31549 * configure: Regenerated.
31550 * manual/install.texi (texinfo): Increase version requirement to
31551 4.5 or later.
31552 * INSTALL: Regenerated.
31553
31554 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31555
315562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31557
31558 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31559
31560 * sysdeps/x86_64/x32/ffs.c: New file.
31561
31562 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31563 __syscall_ulong_t.
31564 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31565 defined. Use __syscall_ulong_t.
31566 (shminfo): Use __syscall_ulong_t.
31567 (shm_info): Likewise.
31568
31569 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31570 __syscall_ulong_t.
31571
31572 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31573 <bits/wordsize.h>.
31574 (msgqnum_t): Use __syscall_ulong_t.
31575 (msglen_t): Likewise.
31576 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31577 __syscall_ulong_t.
31578
31579 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31580 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31581
31582 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31583
31584 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31585 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31586
31587 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31588 __syscall_slong_t.
31589
31590 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31591 include <bits/wordsize.h>. Check __x86_64__ instead of
31592 __WORDSIZE.
31593
31594 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31595 "unsigned long long int" if __x86_64__ is defined.
31596 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31597
31598 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31599 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31600 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31601
31602 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31603 <stdint.h>.
31604 (GET_PC): Cast to uintptr_t first.
31605 (GET_FRAME): Likewise.
31606 (GET_STACK): Likewise.
31607
31608 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31609 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31610 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31611 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31612 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31613 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31614 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31615 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31616 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31617 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31618 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31619 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31620 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31621 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31622 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31623 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31624 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31625 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31626 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31627 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31628 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31629 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31630 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31631 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31632 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31633 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31634 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31635 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31636 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31637
316382012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31639
31640 * Makerules (+depfiles): Also collect depfiles from .oS in
31641 $(extra-objs).
31642 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31643 .oS, $(libnldbl-routines)).
31644
31645 * Makerules (native-compile-mkdep-flags): Define.
31646 * sunrpc/Makefile (extra-objs): Add $(addprefix
31647 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31648 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31649 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31650 calling $(make-target-directory).
31651
316522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31653
31654 * bits/types.h (__snseconds_t): Removed.
31655 * time/time.h (struct timespec): Replace __snseconds_t with
31656 __syscall_slong_t.
31657 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31658 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31659 Likewise.
31660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31661 (__SNSECONDS_T_TYPE): Likewise.
31662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31663 (__SNSECONDS_T_TYPE): Likewise.
31664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31665 (__SNSECONDS_T_TYPE): Likewise.
31666
316672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31668
31669 * sysdeps/mach/hurd/bits/typesizes.h
31670 (__SYSCALL_SLONG_TYPE): New macro.
31671 (__SYSCALL_ULONG_TYPE): Likewise.
31672
316732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31674
31675 * bits/types.h (__syscall_slong_t): New type.
31676 (__syscall_ulong_t): Likewise.
31677
31678 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31679 (__SYSCALL_ULONG_TYPE): Likewise.
31680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31681 (__SYSCALL_SLONG_TYPE): Likewise.
31682 (__SYSCALL_ULONG_TYPE): Likewise.
31683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31684 (__SYSCALL_SLONG_TYPE): Likewise.
31685 (__SYSCALL_ULONG_TYPE): Likewise.
31686 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31687 (__SYSCALL_SLONG_TYPE): Likewise.
31688 (__SYSCALL_ULONG_TYPE): Likewise.
31689
316902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31691
31692 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31693 Add sigaltstack-offsets.sym.
31694 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31695 <sigaltstack-offsets.h>.
31696 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31697 longjmp_msg pointer.
31698 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31699 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31700 signal stack.
31701 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31702
317032012-05-15 Joseph Myers <joseph@codesourcery.com>
31704
31705 * elf/stackguard-macros.h: Remove file.
31706 * sysdeps/generic/stackguard-macros.h: New file.
31707 * sysdeps/i386/stackguard-macros.h: Likewise.
31708 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31709 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31710 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31711 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31712 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31713 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31714 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31715 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31716 <elf/stackguard-macros.h>.
31717
31718 [BZ #14109]
31719 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31720 __aligned__ in attribute.
31721 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31722 (gregset_t): Likewise.
31723
317242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31725
31726 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31727 * sysdeps/x86_64/64/Implies-after: Here. New file.
31728 * sysdeps/x86_64/x32/Implies-after: New file.
31729
317302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31731
31732 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31733 and access return value for _dl_profile_fixup. Use R10_LP to
31734 load frame size.
31735
317362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31737
31738 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31739
317402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31741
31742 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31743 * sysdeps/x86_64/x32/sysdep.h: New file.
31744
317452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31746
31747 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31748 * sysdeps/x86_64/setjmp.S: Likewise.
31749
317502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31751
31752 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31753 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31754 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31755 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31756 remove unused global constant.
31757
317582012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31759
31760 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31761 include of <not-cancel.h>.
31762
317632012-05-15 Roland McGrath <roland@hack.frob.com>
31764
31765 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31766
317672012-05-15 Jeff Law <law@redhat.com>
31768 Andreas Jaeger <aj@suse.de>
31769
31770 [BZ #13594]
31771 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31772 out from...
31773 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31774 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31775 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31776 code changing __hst_map_handle.map.
31777
317782012-05-15 Roland McGrath <roland@hack.frob.com>
31779
31780 * configure.in (sysnames): Look for Implies-before and Implies-after
31781 files.
31782 * configure: Regenerated.
31783
317842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31785
31786 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31787 8-byte data alignment with LP_SIZE alignment.
31788
317892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31790
31791 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31792 into R10_LP.
31793
317942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31795
31796 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31797
317982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31799
31800 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31801 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31802 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31803 Likewise.
31804 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31805
318062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31807
31808 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31809 (stackinfo_sub_sp): Likewise.
31810
318112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31812
31813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31814 RAX_LP.
31815
318162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31817
31818 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31819 into R*_LP.
31820
318212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31822
31823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31824 sizes into R*_LP.
31825
318262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31827
31828 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31829
318302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31831
31832 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31833 into R11_LP and load __x86_64_shared_cache_size_half into
31834 R8_LP.
31835
318362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31837
31838 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31839 R8_LP.
31840
318412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31842
31843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31844 logb for POWER7.
31845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31846 logbf for POWER7.
31847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31848 logbl for POWER7.
31849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31850 powerpc32/power7/fpu/s_logb.c via #include.
31851 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31852 powerpc32/power7/fpu/s_logbf.c via #include.
31853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31854 powerpc32/power7/fpu/s_logbl.c via #include.
31855
318562012-05-15 Joseph Myers <joseph@codesourcery.com>
31857
31858 * README.libm: Remove file.
31859
318602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31861
31862 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31863 count for x32. Use R*_LP and omit operand-size suffix.
31864
318652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31866
31867 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31868 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31869 * sysdeps/x86_64/x32/shlib-versions: New file.
31870
318712012-05-14 Roland McGrath <roland@hack.frob.com>
31872
31873 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31874 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31875 Use _dl_fatal_printf instead.
31876
318772012-05-14 Joseph Myers <joseph@codesourcery.com>
31878
31879 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31880 set if not set by the user. Do not allow for being unset.
31881 * sysdeps/unix/sysv/linux/configure: Regenerated.
31882
318832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31884
31885 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31886 the `q' suffix from lea and replace .quad with ASM_ADDR.
31887
318882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31889
31890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31891 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31892 instead of $17.
31893 (PTR_DEMANGLE): Likewise.
31894
318952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31896
31897 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31898 (LP_OP): Likewise.
31899 (ASM_ADDR): Likewise.
31900 (RAX_LP): Likewise.
31901 (RBP_LP): Likewise.
31902 (RBX_LP): Likewise.
31903 (RCX_LP): Likewise.
31904 (RDI_LP): Likewise.
31905 (RSI_LP): Likewise.
31906 (RSP_LP): Likewise.
31907 (R8_LP): Likewise.
31908 (R9_LP): Likewise.
31909 (R10_LP): Likewise.
31910 (R10_LP): Likewise.
31911 (R11_LP): Likewise.
31912 (R12_LP): Likewise.
31913 (R13_LP): Likewise.
31914 (R14_LP): Likewise.
31915 (R15_LP): Likewise.
31916
319172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31918
31919 * sysdeps/x86_64/x32/dl-machine.h: New file.
31920
319212012-05-14 Andreas Jaeger <aj@suse.de>
31922
31923 * manual/Makefile (subdir): Remove export of subdir.
31924 (all): Remove target.
31925 (.PHONY): Remove all from list.
31926 (mkinstalldirs): Remove.
31927 (.PHONY): Remove installdirs from list.
31928 ($(inst_infodir)/libc.info): Use make-target-directory.
31929 (installdirs): Remove.
31930 (subdir_%): Remove.
31931 (glibc-targets): Remove.
31932 (lib): Remove.
31933 (stubs): Remove.
31934 ($(objpfx)stubs ../po/manual.pot): Remove.
31935 ($(objpfx)stamp%): Remove.
31936 (make-target-directory): Remove.
31937 (subdir_install): Remove.
31938 (routines): Remove.
31939 (aux): Remove.
31940 (sources): Remove.
31941 (objects): Remove.
31942 (headers): Remove.
31943
31944 [BZ #13750]
31945 * manual/.gitignore: Remove, it's not needed anymore.
31946 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31947 all files in it.
31948 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31949 directory.
31950 (texis): Renamed to $(objpfx)texis.
31951 (texis-path): New, contains path to generated files.
31952 (chapters.%): Use texis-path for complete path, add extra argument
31953 libc-texinfo.sh.
31954 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31955 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31956 (summary,texi, stamp-summary): Use complete path of
31957 files. Generate files in build dir.
31958 (dir-add.texi): Build in build dir.
31959 (libm-err.texi,stamp-libm-err): Likewise.
31960 (version.texi, stamp-version): Likewise.
31961 (.%c.texi): Likewise.
31962 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31963 (mostlyclean): Remove target.
31964 (realclean): Remove target.
31965 (generated): Add new variable with contents from mostlyclean and
31966 realclean, remove entries duplicated in common-mostlyclean, add
31967 stamp-libm-err and stamp-version.
31968 (generated-dirs): Add libc directory.
31969 ($(inst_infodir)/libc.info): Install files from build dir.
31970
31971 * manual/install.texi (Configuring and compiling): Adjust since
31972 the info files are not part of the tar ball anymore.
31973
319742012-05-14 Andreas Jaeger <aj@suse.de>
31975
31976 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31977 variable.
31978
319792012-05-14 Joseph Myers <joseph@codesourcery.com>
31980
31981 [BZ #13717]
31982 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31983 to 2.2.0 where earlier.
31984 * sysdeps/unix/sysv/linux/configure: Regenerated.
31985 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31986 Remove conditional code.
31987 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31988 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31989 Remove conditional code.
31990 [!__NR_lchown]: Likewise.
31991 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31992 [__NR_lchown]: Likewise.
31993 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31994 comment referencing __ASSUME_LCHOWN_SYSCALL.
31995 * sysdeps/unix/sysv/linux/i386/sigaction.c
31996 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31997 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31998 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31999 Remove conditional code.
32000 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32001 (__protocol_available): Remove #if 0 code.
32002 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32003 conditional code.
32004 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32005 * sysdeps/unix/sysv/linux/kernel-features.h
32006 (__ASSUME_GETCWD_SYSCALL): Don't define.
32007 (__ASSUME_REALTIME_SIGNALS): Likewise.
32008 (__ASSUME_PREAD_SYSCALL): Likewise.
32009 (__ASSUME_PWRITE_SYSCALL): Likewise.
32010 (__ASSUME_POLL_SYSCALL): Likewise.
32011 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32012 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32013 non-SPARC.
32014 (__ASSUME_SIOCGIFNAME): Don't define.
32015 (__ASSUME_MSG_NOSIGNAL): Likewise.
32016 (__ASSUME_SENDFILE): Define unconditionally.
32017 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32018 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32019 conditional code.
32020 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32021 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32022 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32023 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32024 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32025 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32026 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32028 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32031 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32034 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32037 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32040 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32043 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32044 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32046 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32049 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32050 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32051 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32052 Remove conditional code.
32053 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32054 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32055 Remove conditional code.
32056 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32057 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32058 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32059 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32060 Remove conditional code.
32061 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32062 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32063 Remove conditional code.
32064 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32065 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32066 Remove conditional code.
32067 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32068 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32069 Remove conditional code.
32070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32071 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32072 Remove conditional code.
32073 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32074 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32075 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32076 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32077 * sysdeps/unix/sysv/linux/sigaction.c
32078 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32079 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32080 * sysdeps/unix/sysv/linux/sigpending.c
32081 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32082 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32083 * sysdeps/unix/sysv/linux/sigprocmask.c
32084 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32085 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32086 * sysdeps/unix/sysv/linux/sigsuspend.c
32087 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32088 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32089 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32090 (__libc_missing_rt_sigs): Remove.
32091 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32092 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32093 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32094 Remove conditional code.
32095 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32096 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32097 return 1.
32098 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32099 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32100 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32101 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32102
321032012-05-14 Andreas Jaeger <aj@suse.de>
32104
32105 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32106 it's not used in glibc.
32107 (__coshm1): Likewise.
32108 (__acosh1p): Likewise.
32109 (__sgn): Likewise.
32110
32111 * manual/string.texi (Copying and Concatenation): Add missing
32112 variable in concat example.
32113 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32114
321152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32116
32117 [BZ #14103]
32118 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32119 __builtin_clzl with __builtin_clzll.
32120
321212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32122
32123 [BZ #14104]
32124 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32125 libc_freeres_ptr.
32126
321272012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32128
32129 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32130 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32131 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32132 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32133
321342012-05-14 Mike Frysinger <vapier@gentoo.org>
32135
32136 * NEWS: Update ia64 info.
32137
321382012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32139
32140 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32141 used as bcopy.
32142
321432012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32144
32145 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32146 * sysdeps/unix/syscalls.list (dup3): Likewise.
32147 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32148 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32149
321502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32151
32152 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32153 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32154
321552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32156
32157 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32158 thread pointer.
32159 (TLS_IE): Use mov/add instead of movq/addq to load thread
32160 pointer.
32161 (TLS_GD_PREFIX): New.
32162 (TLS_GD): Use it.
32163
321642012-05-11 David S. Miller <davem@davemloft.net>
32165
32166 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32167 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32168 (_FPU_SETCW): Likewise.
32169
321702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32171
32172 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32173 is 32-byte aligned.
32174
321752012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32176
32177 [BZ #11837]
32178 * iconvdata/gb18030.c: Update tables.
32179 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32180 characters specially.
32181 (BODY for TO_LOOP): Add encoding of missing ranges.
32182
321832012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32184
32185 [BZ #13673]
32186 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32187 * sysdeps/mach/hurd/dup3.c: Likewise.
32188 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32189 * sysdeps/powerpc/memmove.c:: Likewise.
32190
321912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32192
32193 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32194 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32195
321962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32197
32198 * elf/elf.h (R_X86_64_RELATIVE64): New.
32199 (R_X86_64_NUM): Updated.
32200 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32201 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32202 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32203 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32204 tst-quad1pie tst-quad2pie
32205 (modules-names): Add tst-quadmod1 tst-quadmod2.
32206 ($(objpfx)tst-quad1): New dependency.
32207 ($(objpfx)tst-quad2): Likewise.
32208 ($(objpfx)tst-quad1pie): Likewise.
32209 ($(objpfx)tst-quad2pie): Likewise.
32210 * sysdeps/x86_64/tst-quad1.c: New file.
32211 * sysdeps/x86_64/tst-quad1pie.c: New file.
32212 * sysdeps/x86_64/tst-quad2.c: Likewise.
32213 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32214 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32215 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32216 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32217 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32218
322192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32220
32221 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32222 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32223 * streams/stropts.h (t_scalar_t): Define type.
32224
32225 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32226 (_PATH_PRESERVE): Set to "/var/lib".
32227 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32228
32229 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32230 instead of int.
32231
32232 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32233 if __dir_mkfile succeeded.
32234
32235 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32236 checking for _hurd_dtablesize. Unlock it right after having
32237 finished _hurd_dtable allocation.
32238
322392012-05-10 Thomas Schwinge <thomas@schwinge.name>
32240
32241 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32242 * sysdeps/mach/hurd/configure: Regenerated.
32243 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32244 special-casing to...
32245 * sysdeps/gnu/configure.in: ... this new file.
32246 * sysdeps/unix/sysv/linux/configure: Regenerated.
32247 * sysdeps/gnu/configure: New generated file.
32248
32249 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32250 for Linux: use nsec instead of usec, as well as:
32251 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32252 members of type struct timespec.
32253 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32254 New macros.
32255 (struct stat64): Likewise.
32256 (_STATBUF_ST_NSEC): New macro.
32257 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32258
32259 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32260 __strtoul_internal rather than strtoul.
32261
322622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32263
32264 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32265 and reject them.
32266
322672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32268
32269 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32270 which preserves existing values.
32271 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32272
322732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32274
32275 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32276 TIMEOUT values. Return EINVAL for NFDS values either negative or
32277 greater than FD_SETSIZE.
32278
322792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32280
32281 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32282 allocated, call __vm_protect to finish enabling the existing space, and
32283 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32284 allocate the remainder.
32285
322862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32287
32288 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32289 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32290
322912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32292
32293 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32294 sysdeps/mach/hurd/readlink.c.
32295
32296 * posix/tst-sysconf.c (posix_options): Only use
32297 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32298 _POSIX_SYNCHRONIZED_IO when they are defined
32299 * sysdeps/mach/hurd/bits/posix_opt.h:
32300 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32301 (_XOPEN_REALTIME): Undefine macro.
32302 (_XOPEN_REALTIME_THREADS): Undefine macro.
32303 (_XOPEN_SHM): Undefine macro.
32304 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32305 macro to -1.
32306 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32307 macro to -1.
32308 (_POSIX_ASYNC_IO): Undefine macro.
32309 (_POSIX_PRIORITIZED_IO): Undefine macro.
32310 (_POSIX_SPIN_LOCKS): Define macro to -1.
32311
32312 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32313 SA_NODEFER, SA_RESETHAND.
32314 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32315 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32316 F_DUPFD_CLOEXEC.
32317
323182012-05-10 Thomas Schwinge <thomas@schwinge.name>
32319
32320 * elf/Makefile (pldd-modules): Define unconditionally.
32321
323222012-05-10 Thomas Schwinge <thomas@schwinge.name>
32323
32324 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32325
323262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32327
32328 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32329 Return ENOENT when name is empty.
32330 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32331
323322012-05-10 Thomas Schwinge <thomas@schwinge.name>
32333
32334 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32335
32336 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32337
323382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32339
32340 Fix mlock in all cases except non-readable pages.
32341 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32342 instead of VM_PROT_ALL as parameter to __vm_wire function.
32343
32344 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32345 (__mkdir): When path is `/', just fail with EEXIST.
32346 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32347
323482012-05-10 Thomas Schwinge <thomas@schwinge.name>
32349
32350 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32351 <sys/uio.h> (for writev).
32352 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32353 and <sys/param.h> (for MIN).
32354
323552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32356
32357 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32358 REQUESTED_TIME. Properly set the remaining time and return EINTR
32359 if interrupted.
32360
323612012-05-10 Thomas Schwinge <thomas@schwinge.name>
32362
32363 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32364 Depend on against $(link-rpcuserlibs).
32365
323662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32367
32368 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32369 (__libc_stack_end): Do not use attribute_relro.
32370 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32371 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32372 to libthread-provided value.
32373 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32374 attribute_relro.
32375
323762012-05-10 Thomas Schwinge <thomas@schwinge.name>
32377
32378 [BZ #3748]
32379 * bits/libc-lock.h (__libc_once_get): New macro.
32380 * sysdeps/mach/bits/libc-lock.h: Likewise.
32381 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32383 instead of using implementation details.
32384
32385 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32386 * libio/freopen.c: Likewise.
32387 * libio/freopen64.c: Likewise.
32388 * misc/syslog.c: Likewise.
32389 * nscd/connections.c: Likewise.
32390 * nscd/netgroupcache.c: Likewise.
32391 * sysdeps/posix/getcwd.c: Likewise.
32392
323932012-05-10 Roland McGrath <roland@hack.frob.com>
32394
32395 * math/w_ilogbf.c: Add #include <limits.h>.
32396
323972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32398
32399 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32400 path instead of returning without unlocking.
32401
32402 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32403 immediate-write ioctls.
32404 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32405
324062012-05-10 Thomas Schwinge <thomas@schwinge.name>
32407
32408 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32409 __builtin_frame_address instead of making assumptions about the
32410 location of the return address relative to DATA. Force early load of
32411 the return address.
32412 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32413 __builtin_frame_address.
32414
32415 dup3 for GNU Hurd.
32416 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32417 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32418 implement dup3 and do some further code clean-ups.
32419 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32420 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32421
324222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32423
32424 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32425
32426 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32427 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32428 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32429 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32430 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32431 d->port.lock.
32432
32433 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32434 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32435 when handler == SIG_ERR, not when handler != SIG_ERR.
32436
324372012-05-10 Thomas Schwinge <thomas@schwinge.name>
32438
32439 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32440 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32441 definitions.
32442
32443 accept4 for GNU Hurd.
32444 * include/sys/socket.h (__libc_accept4): New prototype.
32445 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32446 to implement __libc_accept4.
32447 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32448 __libc_accept4.
32449 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32450
32451 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32452 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32453 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32454 signal-defines.sym.
32455
324562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32457
32458 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32459
324602012-05-10 Thomas Schwinge <thomas@schwinge.name>
32461
32462 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32463 assertion on O_CLOEXEC flag.
32464 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32465 * hurd/intern-fd.c: Likewise.
32466 * hurd/port2fd.c: Likewise.
32467
324682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32469
32470 [BZ #3906]
32471 * bits/in.h (IPV6_PKTINFO): Define new macro.
32472 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32473
324742012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32475
32476 [BZ #13954]
32477 [BZ #13955]
32478 [BZ #13956]
32479 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32480 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32481 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32482 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32483 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32484 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32485 * math/libm-test.inc (logb_test) : Additional logb tests.
32486
324872012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32488 Andreas Jaeger <aj@suse.de>
32489
32490 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32491 * configure: Regenerated.
32492 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32493 * config.make.in (link-obsolete-rpc): New substituted variable.
32494 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32495 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32496 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32497 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32498 so that libc.a contains the symbols.
32499 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32500 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32501 * sunrpc/auth_none.c: Likewise.
32502 * sunrpc/auth_unix.c: Likewise.
32503 * sunrpc/authdes_prot.c: Likewise.
32504 * sunrpc/authuxprot.c: Likewise.
32505 * sunrpc/clnt_gen.c: Likewise.
32506 * sunrpc/clnt_perr.c: Likewise.
32507 * sunrpc/clnt_raw.c: Likewise.
32508 * sunrpc/clnt_simp.c: Likewise.
32509 * sunrpc/clnt_tcp.c: Likewise.
32510 * sunrpc/clnt_udp.c: Likewise.
32511 * sunrpc/clnt_unix.c: Likewise.
32512 * sunrpc/des_crypt.c: Likewise.
32513 * sunrpc/des_soft.c: Likewise.
32514 * sunrpc/get_myaddr.c: Likewise.
32515 * sunrpc/key_call.c: Likewise.
32516 * sunrpc/key_prot.c: Likewise.
32517 * sunrpc/netname.c: Likewise.
32518 * sunrpc/pm_getmaps.c: Likewise.
32519 * sunrpc/pm_getport.c: Likewise.
32520 * sunrpc/pmap_clnt.c: Likewise.
32521 * sunrpc/pmap_prot.c: Likewise.
32522 * sunrpc/pmap_prot2.c: Likewise.
32523 * sunrpc/pmap_rmt.c: Likewise.
32524 * sunrpc/publickey.c: Likewise.
32525 * sunrpc/rpc_cmsg.c: Likewise.
32526 * sunrpc/rpc_common.c: Likewise.
32527 * sunrpc/rpc_dtable.c: Likewise.
32528 * sunrpc/rpc_prot.c: Likewise.
32529 * sunrpc/rpc_thread.c: Likewise.
32530 * sunrpc/rtime.c: Likewise.
32531 * sunrpc/svc.c: Likewise.
32532 * sunrpc/svc_auth.c: Likewise.
32533 * sunrpc/svc_raw.c: Likewise.
32534 * sunrpc/svc_run.c: Likewise.
32535 * sunrpc/svc_tcp.c: Likewise.
32536 * sunrpc/svc_udp.c: Likewise.
32537 * sunrpc/svc_unix.c: Likewise.
32538 * sunrpc/svcauth_des.c: Likewise.
32539 * sunrpc/xcrypt.c: Likewise.
32540 * sunrpc/xdr.c: Likewise.
32541 * sunrpc/xdr_array.c: Likewise.
32542 * sunrpc/xdr_float.c: Likewise.
32543 * sunrpc/xdr_intXX_t.c: Likewise.
32544 * sunrpc/xdr_mem.c: Likewise.
32545 * sunrpc/xdr_rec.c: Likewise.
32546 * sunrpc/xdr_ref.c: Likewise.
32547 * sunrpc/xdr_sizeof.c: Likewise.
32548 * sunrpc/xdr_stdio.c: Likewise.
32549
325502012-05-10 Roland McGrath <roland@hack.frob.com>
32551
32552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32553 change. Update copyright years.
32554
325552012-05-10 Joseph Myers <joseph@codesourcery.com>
32556
32557 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32558
325592012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32560 Joseph Myers <joseph@codesourcery.com>
32561 Paul Pluzhnikov <ppluzhnikov@google.com>
32562
32563 [BZ #14012]
32564 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32565 requiring rpcgen.
32566 [cross-compiling] (extra-libs): Likewise.
32567 [cross-compiling] (extra-libs-others): Likewise.
32568 [cross-compiling] (librpcsvc-routines): Likewise.
32569 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32570 [cross-compiling] (omit-deps): Likewise.
32571 (sunrpc-CPPFLAGS): New variable.
32572 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32573 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32574 (cross-rpcgen-objs): New variable.
32575 (extra-objs): Append $(cross-rpcgen-objs).
32576 ($(cross-rpcgen-objs)): New rule.
32577 ($(objpfx)cross-rpcgen): Likewise.
32578 (rpcgen-cmd): Define to use $(built-program-file). Expand
32579 comment.
32580 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32581 ($(objpfx)x%.stmp): Likewise.
32582 * sunrpc/proto.h [IS_IN_build] (_): Define.
32583 [IS_IN_build] (_libc_intl_domainname): Likewise.
32584
325852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32586
32587 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32588 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32589 and R_X86_64_TPOFF64.
32590
325912012-05-10 Joseph Myers <joseph@codesourcery.com>
32592
32593 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32594 sysdeps/unix/sysv/syscalls.list.
32595 (stime): Likewise.
32596 (utime): Likewise.
32597 * sysdeps/unix/sysv/syscalls.list: Remove file.
32598
325992012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32600
32601 [BZ #3440]
32602 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32603 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32604 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32605 (__LC_IDENTIFICATION): Make these macros useful in #if
32606 expressions, as required by C99.
32607
326082012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32609
32610 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32611 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32612 after this.
32613
326142012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32615
32616 * stdlib/longlong.h: Updated from GCC.
32617
326182012-05-09 Andreas Jaeger <aj@suse.de>
32619
32620 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32621 default is first entry.
32622 (run_mode): Set type.
32623 (main): Remove informal message about syslog.
32624 (options): Fix typo.
32625
32626 [BZ #14053]
32627 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32628 to asm.
32629 (lrint): Likewise.
32630 (llrintf): Likewise.
32631 (llrint): Likewise.
32632 (rint): Likewise.
32633 (rintf): Likewise.
32634 (nearbyint): Likewise.
32635 (nearbyintf): Likewise.
32636
326372012-05-09 Andreas Jaeger <aj@suse.de>
32638 Pedro Alves <palves@redhat.com>
32639
32640 * nscd/nscd.c (run_mode): Use enum.
32641 (main): Cleanup coding style issue.
32642
326432012-05-09 Alexandre Oliva <aoliva@redhat.com>
32644 Andreas Jaeger <aj@suse.de>
32645
32646 * nscd/nscd.c (go_background): Replaced with...
32647 (run_mode): ... this.
32648 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32649 (options): Add -F --foreground.
32650 (main): Implement it.
32651 (parse_opt): Parse it.
32652
326532012-05-09 Andreas Jaeger <aj@suse.de>
32654
32655 [BZ #14083]
32656 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32657 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32658 -Wconversion warning.
32659 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32660 Likewise.
32661
326622012-05-09 Joseph Myers <joseph@codesourcery.com>
32663
32664 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32665 == 0.
32666 (LC_ALL): Use macro-int-constant.
32667 (LC_COLLATE): Likewise.
32668 (LC_CTYPE): Likewise.
32669 (LC_MESSAGES): Likewise.
32670 (LC_MONETARY): Likewise.
32671 (LC_NUMERIC): Likewise.
32672 (LC_TIME): Likewise.
32673 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32674 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32675 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32676 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32677 Specify type.
32678 [C99-based standards] (float_t): Expect type.
32679 [C99-based standards] (double_t): Expect type.
32680 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32681 type.
32682 [C99-based standards] (HUGE_VALL): Likewise.
32683 [C99-based standards] (INFINITY): Likewise.
32684 [C99-based standards] (NAN): Likewise.
32685 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32686 [C99-based standards] (FP_NAN): Likewise.
32687 [C99-based standards] (FP_NORMAL): Likewise.
32688 [C99-based standards] (FP_SUBNORMAL): Likewise.
32689 [C99-based standards] (FP_ZERO): Likewise.
32690 [C99-based standards] (FP_FAST_FMA): Use
32691 optional-macro-int-constant. Specify type. Require == 1.
32692 [C99-based standards] (FP_FAST_FMAF): Likewise.
32693 [C99-based standards] (FP_FAST_FMAL): Likewise.
32694 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32695 [C99-based standards] (FP_ILOGBNAN): Likewise.
32696 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32697 Specify type.
32698 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32699 [C99-based standards] (math_errhandling): Specify type.
32700 [ISO99 || ISO11] (signgam): Do not allow.
32701 [non-C99-based standards] (copysignf): Do not allow.
32702 [non-C99-based standards] (exp2f): Likewise.
32703 [non-C99-based standards] (log2f): Likewise.
32704 [non-C99-based standards] (modff): Allow.
32705 [non-C99-based standards] (erff): Do not allow.
32706 [non-C99-based standards] (erfcf): Likewise.
32707 [non-C99-based standards] (gammaf): Likewise.
32708 [non-C99-based standards] (hypotf): Likewise.
32709 [non-C99-based standards] (j0f): Likewise.
32710 [non-C99-based standards] (j1f): Likewise.
32711 [non-C99-based standards] (jnf): Likewise.
32712 [non-C99-based standards] (lgammaf): Likewise.
32713 [non-C99-based standards] (tgammaf): Likewise.
32714 [non-C99-based standards] (y0f): Likewise.
32715 [non-C99-based standards] (y1f): Likewise.
32716 [non-C99-based standards] (ynf): Likewise.
32717 [non-C99-based standards] (isnanf): Likewise.
32718 [non-C99-based standards] (acoshf): Likewise.
32719 [non-C99-based standards] (asinhf): Likewise.
32720 [non-C99-based standards] (atanhf): Likewise.
32721 [non-C99-based standards] (cbrtf): Likewise.
32722 [non-C99-based standards] (expm1f): Likewise.
32723 [non-C99-based standards] (ilogbf): Likewise.
32724 [non-C99-based standards] (log1pf): Likewise.
32725 [non-C99-based standards] (logbf): Likewise.
32726 [non-C99-based standards] (nextafterf): Likewise.
32727 [non-C99-based standards] (remainderf): Likewise.
32728 [non-C99-based standards] (rintf): Likewise.
32729 [non-C99-based standards] (scalbf): Likewise.
32730 [non-C99-based standards] (copysignl): Likewise.
32731 [non-C99-based standards] (exp2l): Likewise.
32732 [non-C99-based standards] (log2l): Likewise.
32733 [non-C99-based standards] (modfl): Allow.
32734 [non-C99-based standards] (erfl): Do not allow.
32735 [non-C99-based standards] (erfcl): Likewise.
32736 [non-C99-based standards] (gammal): Likewise.
32737 [non-C99-based standards] (hypotl): Likewise.
32738 [non-C99-based standards] (j0l): Likewise.
32739 [non-C99-based standards] (j1l): Likewise.
32740 [non-C99-based standards] (jnl): Likewise.
32741 [non-C99-based standards] (lgammal): Likewise.
32742 [non-C99-based standards] (tgammal): Likewise.
32743 [non-C99-based standards] (y0l): Likewise.
32744 [non-C99-based standards] (y1l): Likewise.
32745 [non-C99-based standards] (ynl): Likewise.
32746 [non-C99-based standards] (isnanl): Likewise.
32747 [non-C99-based standards] (acoshl): Likewise.
32748 [non-C99-based standards] (asinhl): Likewise.
32749 [non-C99-based standards] (atanhl): Likewise.
32750 [non-C99-based standards] (cbrtl): Likewise.
32751 [non-C99-based standards] (expm1l): Likewise.
32752 [non-C99-based standards] (ilogbl): Likewise.
32753 [non-C99-based standards] (log1pl): Likewise.
32754 [non-C99-based standards] (logbl): Likewise.
32755 [non-C99-based standards] (nextafterl): Likewise.
32756 [non-C99-based standards] (remainderl): Likewise.
32757 [non-C99-based standards] (rintl): Likewise.
32758 [non-C99-based standards] (scalbl): Likewise.
32759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32760 [non-C99-based standards] (FP_*): Do not allow.
32761 [C99-based standards] (FP_*): Change to
32762 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32763 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32764 allow.
32765 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32766 (SIG_ERR): Likewise.
32767 [X/Open-based standards] (SIG_HOLD): Likewise.
32768 (SIG_IGN): Likewise.
32769 (SIGABRT): Use macro-int-constant. Specify type. Require
32770 positive value.
32771 (SIGFPE): Likewise.
32772 (SIGILL): Likewise.
32773 (SIGINT): Likewise.
32774 (SIGSEGV): Likewise.
32775 (SIGTER): Likewise.
32776 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32777 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32778 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32779 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32780 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32781 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32782 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32783 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32784 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32785 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32786 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32787 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32788 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32789 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32790 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32791 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32792 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32793 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32794 [X/Open-based standards] (SIGTRAP): Likewise.
32795 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32796 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32797 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32798 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32799 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32800 allow.
32801
328022012-05-08 Ian Wienand <ianw@vmware.com>
32803
32804 [BZ #14080]
32805 * time/tzset.c (__tzset_parse_tz): Update default rules for
32806 daylight time changes in the Energy Policy Act of 2005.
32807
328082012-05-09 Andreas Jaeger <aj@suse.de>
32809
32810 [BZ #13983]
32811 * elf/ldconfig.c (parse_conf): Change string to make clear that
32812 ldconfig only issued a warning if ld.so.conf does not exist.
32813
328142012-05-08 David S. Miller <davem@davemloft.net>
32815
32816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32817 movxtod instead of popping the value on the stack.
32818
32819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32820
328212012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32822
32823 * config.h.in: Add HAVE_ARM_PCS_VFP.
32824
328252012-05-08 Roland Mc Grath <roland@hack.frob.com>
32826
32827 [BZ #13979]
32828 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32829 checking but the checks are disabled for any reason.
32830
328312012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32832
32833 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32834 and ELF64_R_TYPE with ELFW(R_TYPE).
32835
328362012-05-08 Joseph Myers <joseph@codesourcery.com>
32837
32838 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32839 (ulimit): Likewise.
32840
32841 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32842 (settimeofday): Likewise.
32843
328442012-05-08 Mike Frysinger <vapier@gentoo.org>
32845
32846 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32847 a struct th_u2 inside the union, and move tu_block/tu_code into
32848 a new th_u3 union of tu_block/tu_code inside of that. Move
32849 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32850 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32851 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32852 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32853 (th_stuff): Change to th_u1.tu_stuff.
32854 (th_data): Define.
32855 (th_msg): Change to th_u1.th_u2.tu_data.
32856
328572012-05-07 David S. Miller <davem@davemloft.net>
32858
32859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32860
32861 [BZ #14074]
32862 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32863 (SETUP_PIC_REG): Use it.
32864 (SETUP_PIC_REG_LEAF): Use it.
32865
328662012-05-07 Joseph Myers <joseph@codesourcery.com>
32867
32868 [BZ #13885]
32869 [BZ #13923]
32870 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32871 USE_AS_EXPM1L.
32872 (EXPL_FINITE): Likewise.
32873 (FLDLOG): Likewise.
32874 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32875 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32876 e_expl.S.
32877 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32878 USE_AS_EXPM1L.
32879 (EXPL_FINITE): Likewise.
32880 (FLDLOG): Likewise.
32881 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32882 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32883 e_expl.S.
32884 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32885 test of -max_value argument for long double.
32886 * sysdeps/i386/fpu/libm-test-ulps: Update.
32887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32888
328892012-05-06 David S. Miller <davem@davemloft.net>
32890
32891 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32892 quad soft-float symbols whose references which are compiler
32893 generated.
32894 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32895
328962012-05-06 Joseph Myers <joseph@codesourcery.com>
32897
32898 [BZ #13884]
32899 [BZ #13914]
32900 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32901 USE_AS_EXP10L.
32902 (EXPL_FINITE): Likewise.
32903 (FLDLOG): Likewise.
32904 (c0): Likewise.
32905 (c1): Likewise.
32906 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32907 Adjust comments for base varying.
32908 (__expl_finite): Change alias to EXPL_FINITE.
32909 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32910 e_expl.S.
32911 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32912 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32913 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32914 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32915 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32916 USE_AS_EXP10L.
32917 (EXPL_FINITE): Likewise.
32918 (FLDLOG): Likewise.
32919 (c0): Likewise.
32920 (c1): Likewise.
32921 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32922 Adjust comments for base varying.
32923 (__expl_finite): Change alias to EXPL_FINITE.
32924 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32925 tests for bugs.
32926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32927
32928 [BZ #14064]
32929 * math/libm-test.inc (check_float_internal): Correct ulp
32930 calculation for subnormal expected results.
32931
329322012-05-06 Andreas Jaeger <aj@suse.de>
32933
32934 * Makeconfig (+math-flags): New, set to -frounding-math.
32935 (+cflags): Add +math-flags so that all of glibc gets compiled with
32936 it.
32937
32938 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32939
329402012-05-05 Joseph Myers <joseph@codesourcery.com>
32941
32942 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32943 Disable one test.
32944
32945 [BZ #13787]
32946 [BZ #13922]
32947 [BZ #14036]
32948 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32949 (__ieee754_expl): Allow for and saturate large arguments.
32950 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32951 (u_threshold): Likewise.
32952 (__exp): Call __ieee754_exp before checking for overflow and
32953 underflow.
32954 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32955 (u_threshold): Likewise.
32956 (__expf): Call __ieee754_expf before checking for overflow and
32957 underflow.
32958 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32959 (u_threshold): Likewise.
32960 (__expl): Call __ieee754_expl before checking for overflow and
32961 underflow.
32962 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32963 (__ieee754_expl): Allow for and saturate large arguments.
32964 * math/libm-test.inc (exp_test): Add another test. Do not allow
32965 missing overflow exception on overflow.
32966 (expm1_test): Do not allow missing overflow exception on overflow.
32967
32968 * sysdeps/i386/fpu/e_expl.c: Move to ...
32969 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32970 rather than using inline asm.
32971 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32972 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32973 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32974
32975 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32976 (nice): Likewise.
32977 (poll): Likewise.
32978 (signal): Likewise.
32979 (time): Likewise.
32980 (times): Likewise.
32981
329822012-05-04 Joseph Myers <joseph@codesourcery.com>
32983
32984 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32985 sysdeps/unix/common/syscalls.list.
32986 (fchmod): Likewise.
32987 (fchown): Likewise.
32988 (ftruncate): Likewise.
32989 (getrusage): Likewise.
32990 (gettimeofday): Likewise.
32991 (setpgid): Likewise.
32992 (setregid): Likewise.
32993 (setreuid): Likewise.
32994 (sigaction): Likewise.
32995 (truncate): Likewise.
32996 (vhangup): Likewise.
32997 * sysdeps/unix/common/syscalls.list: Remove file.
32998 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32999 * sysdeps/unix/sysv/linux/Implies: Likewise.
33000
330012012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33002
33003 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33005 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33006 Moved to ...
33007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33008 Here.
33009 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33010 to ...
33011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33012 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33013 to ...
33014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33015 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33016 to ...
33017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33018 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33019 to ...
33020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33021 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33022 to ...
33023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33024 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33025 to ...
33026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33027 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33028 to ...
33029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33030 Here.
33031 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33032 to ...
33033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33034 Here.
33035 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33036 to ...
33037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33038 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33039 Moved to ...
33040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33041 Here.
33042 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33043 to ...
33044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33045
330462012-05-04 Joseph Myers <joseph@codesourcery.com>
33047
33048 * sysdeps/unix/common/bits/dirent.h: Remove file.
33049 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33050
33051 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33052 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33053 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33054 * sysdeps/unix/bsd/isatty.c: Likewise.
33055 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33056 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33057 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33058
330592012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33060
33061 [BZ #13563]
33062 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33063 long double comparison inaccuracies.
33064 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33066
330672012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33068
33069 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33070 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33071
330722012-05-04 Joseph Myers <joseph@codesourcery.com>
33073
33074 [BZ #14049]
33075 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33076 nonzero digits before rounding a hex value.
33077 * stdlib/tst-strtod.c (tests): Add another test.
33078
330792012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33080
33081 * sysdeps/s390/fpu/libm-test-ulps: Update.
33082
330832012-05-03 Andreas Jaeger <aj@suse.de>
33084
33085 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33086 does not get optimized out.
33087 (malloc_opt_barrier): New.
33088
330892012-05-03 Andreas Jaeger <aj@suse.de>
33090 Roland McGrath <roland@hack.frob.com>
33091
33092 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33093 intermediate file deletion.
33094 (generated): Add .symlist files.
33095
330962012-05-03 Joseph Myers <joseph@codesourcery.com>
33097
33098 [BZ #13775]
33099 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33100 Redirect under this condition.
33101 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33102 [__USE_GNU] (__dprintf_chk): Not under this condition.
33103 [__USE_GNU] (__vdprintf_chk): Likewise.
33104 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33105 under this condition.
33106 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33107 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33108 [__USE_XOPEN2K8] (vdprintf): Likewise.
33109 [__USE_GNU] (__dprintf_chk): Not under this condition.
33110 [__USE_GNU] (__vdprintf_chk): Likewise.
33111 [__USE_GNU] (dprintf): Likewise.
33112 [__USE_GNU] (vdprintf): Likewise.
33113
331142012-05-03 Roland McGrath <roland@hack.frob.com>
33115
33116 * elf/Makefile (common-generated): Set this instead of generated for
33117 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33118 $(all-built-dso)-derived lists.
33119
331202012-05-03 Andreas Jaeger <aj@suse.de>
33121
33122 * sysdeps/i386/fpu/libm-test-ulps: Update.
33123
33124 * FAQ: Removed.
33125 * FAQ.in: Likewise.
33126 * scripts/gen-FAQ.pl: Likewise.
33127 * manual/install.texi (Installation): Point to online location of
33128 FAQ.
33129 * Makefile (files-for-dist): Remove FAQ.
33130 (FAQ): Remove.
33131
331322012-05-02 Allan McRae <allan@archlinux.org>
33133
33134 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33135 (LDFLAGS-reldepmod5.so): Likewise.
33136 (LDFLAGS-reldep6mod1.so): Likewise.
33137 (LDFLAGS-reldep6mod4.so): Likewise.
33138 (LDFLAGS-reldep8mod3.so): Likewise.
33139 (LDFLAGS-unload4mod1.so): Likewise.
33140 (LDFLAGS-unload4mod2.so): Likewise.
33141 (LDFLAGS-tst-initorder): Likewise.
33142 (LDFLAGS-tst-initordera2.so): Likewise.
33143 (LDFLAGS-tst-initordera3.so): Likewise.
33144 (LDFLAGS-tst-initordera4.so): Likewise.
33145 (LDFLAGS-tst-initorderb2.so): Likewise.
33146 (LDFLAGS-noload): Likewise.
33147 (LDFLAGS-next): Likewise.
33148 (LDFLAGS-order2mod1.so): Likewise.
33149 (LDFLAGS-order2mod2.so): Likewise.
33150 (LDFLAGS-tst-initorder2): Likewise.
33151 (LDFLAGS-tst-initorder2a.so): Likewise.
33152 (LDFLAGS-tst-initorder2b.so): Likewise.
33153 (LDFLAGS-tst-initorder2c.so): Likewise.
33154 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33155
331562012-05-02 David S. Miller <davem@davemloft.net>
33157
33158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33159
331602012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33161
33162 [BZ #14055]
33163 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33164
331652012-05-02 Andreas Jaeger <aj@suse.de>
33166
33167 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33168 since we manipulate rounding mode.
33169 (CPPFLAGS-test-idouble.c): Likewise.
33170 (CPPFLAGS-test-ifloat.c): Likewise.
33171 (CFLAGS-test-ldouble.c): Likewise.
33172 (CFLAGS-test-double.c): Likewise.
33173 (CFLAGS-test-float.c): Likewise.
33174 (CFLAGS-test-misc.c): Likewise.
33175 (CFLAGS-test-test-fenv.c): Likewise.
33176
331772012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33178
33179 [BZ #2550]
33180 [BZ #2570]
33181 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33182 comparisons to determine direction to adjust input.
33183
331842012-05-01 Roland McGrath <roland@hack.frob.com>
33185
33186 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33187 output to the target.
33188
33189 * scripts/localplt.awk: New file.
33190 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33191 (check-localplt-CFLAGS): Variable removed.
33192 ($(all-built-dso:=.jmprel)): New static pattern rule.
33193 (generated): Add those targets.
33194 (localplt-built-dso): New variable.
33195 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33196
33197 * elf/check-localplt.c: File removed.
33198
33199 * scripts/check-execstack.awk: New file.
33200 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33201 (check-execstack-CFLAGS): Variable removed.
33202 ($(objpfx)check-execstack.h): Target removed.
33203 ($(objpfx)execstack-default): New target.
33204 (generated): Add that instead of check-execstack.h.
33205 ($(all-built-dso:=.phdr)): New static pattern rule.
33206 (generated): Add those targets.
33207 * elf/check-execstack.c: File removed.
33208
33209 * scripts/check-textrel.awk: New file.
33210 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33211 (check-textrel-CFLAGS): Variable removed.
33212 (all-built-dso): Use := to define.o
33213 ($(all-built-dso:=.dyn)): New static pattern rule.
33214 (generated): Add those targets.
33215 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33216 * config.make.in (READELF): New substituted variable.
33217 * elf/check-textrel.c: File removed.
33218
332192012-05-01 Joseph Myers <joseph@codesourcery.com>
33220
33221 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33222 allow.
33223 * conform/data/ctype.h-data [C99-based standards] (isblank):
33224 Expect function.
33225 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33226 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33228 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33229 Specify type. Require positive value.
33230 (EILSEQ): Likewise.
33231 (ERANGE): Likewise.
33232 [ISO || POSIX] (EILSEQ): Do not expect.
33233 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33234 Specify type. Require positive value.
33235 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33236 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33237 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33238 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33239 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33240 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33241 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33242 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33243 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33244 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33245 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33246 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33247 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33248 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33249 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33250 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33251 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33252 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33253 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33254 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33255 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33256 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33257 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33258 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33259 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33260 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33261 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33262 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33263 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33264 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33265 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33266 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33267 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33268 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33269 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33270 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33271 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33272 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33273 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33274 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33275 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33276 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33277 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33278 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33279 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33280 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33281 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33282 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33283 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33284 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33285 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33286 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33287 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33288 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33289 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33290 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33291 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33292 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33293 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33294 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33295 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33296 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33297 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33298 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33299 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33300 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33301 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33302 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33303 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33304 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33305 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33306 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33307 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33308 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33309 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33310 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33311 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33312 Require >= 2.
33313 (FLT_ROUNDS): Expect as macro, not constant.
33314 (FLT_MANT_DIG): Use macro-int-constant.
33315 (DBL_MANT_DIG): Likewise.
33316 (LDBL_MANT_DIG): Likewise.
33317 (FLT_DIG): Likewise.
33318 (DBL_DIG): Likewise.
33319 (LDBL_DIG): Likewise.
33320 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33321 (DBL_MIN_EXP): Likewise.
33322 (LDBL_MIN_EXP): Likewise.
33323 (FLT_MAX_EXP): Use macro-int-constant.
33324 (DBL_MAX_EXP): Likewise.
33325 (LDBL_MAX_EXP): Likewise.
33326 (FLT_MAX_10_EXP): Likewise.
33327 (DBL_MAX_10_EXP): Likewise.
33328 (LDBL_MAX_10_EXP): Likewise.
33329 (FLT_MAX): Use macro-constant.
33330 (DBL_MAX): Likewise.
33331 (LDBL_MAX): Likewise.
33332 (FLT_EPSILON): Use macro-constant. Give upper bound.
33333 (DBL_EPSILON): Likewise.
33334 (LDBL_EPSILON): Likewise.
33335 (FLT_MIN): Likewise.
33336 (DBL_MIN): Likewise.
33337 (LDBL_MIN): Likewise.
33338 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33339 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33340 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33341 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33342 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33343 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33344 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33345 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33346 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33347 [ISO11] (FLT_TRUE_MIN): Likewise.
33348 [ISO11] (LDBL_TRUE_MIN): Likewise.
33349 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33350 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33351 (SCHAR_MIN): Use macro-int-constant. Specify type.
33352 (SCHAR_MAX): Likewise.
33353 (UCHAR_MAX): Likewise.
33354 (CHAR_MIN): Likewise.
33355 (CHAR_MAX): Likewise.
33356 (MB_LEN_MAX): Use macro-int-constant.
33357 (SHRT_MIN): Use macro-int-constant. Specify type.
33358 (SHRT_MAX): Likewise.
33359 (USHRT_MAX): Likewise.
33360 (INT_MAX): Likewise.
33361 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33362 bound negative.
33363 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33364 bound with "U".
33365 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33366 bound with "L".
33367 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33368 bound negative. Suffix upper bound with "L".
33369 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33370 bound with "UL".
33371 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33372 Specify type.
33373 [C99-based standards] (LLONG_MAX): Likewise.
33374 [C99-based standards] (ULLONG_MAX): Likewise.
33375 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33376 == 0.
33377 [ISO11] (max_align_t): Require type.
33378 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33379
33380 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33381 from $CFLAGS, without defining away __attribute__ calls.
33382 (checknamespace): Use $CFLAGS_namespace.
33383
33384 * conform/conformtest.pl (@keywords): Only include C99 keywords
33385 for standards based on C99 or C11.
33386
33387 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33388 Disable tests.
33389 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33390 UNIX98]: Likewise.
33391
33392 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33393 usability of symbols in #if.
33394
33395 * conform/conformtest.pl: If macro or constant types start
33396 "promoted:", expect the symbol to be of the following type
33397 promoted by the integer promotions.
33398
33399 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33400 in one place. Also handle "macro-constant".
33401
33402 * conform/conformtest.pl: Only accept expected macro values with
33403 "==". Parse all "macro" lines in one place.
33404 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33405
33406 * conform/conformtest.pl: Handle braced types on "constant" lines
33407 instead of handling "typed-constant".
33408 * conform/data/signal.h-data: Use "constant" instead of
33409 "typed-constant".
33410
33411 * conform/conformtest.pl: Handle "optional-" at start of lines in
33412 one place rather than duplicating several cases. Handle each
33413 format of "macro" line with initial "optional-".
33414
33415 * conform/conformtest.pl: Only accept expected constant or
33416 optional-constant values with "==". Parse all "constant" lines in
33417 one place. Parse all "optional-constant" lines in one place.
33418 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33419 * conform/data/fmtmsg.h-data: Likewise.
33420 * conform/data/netinet/in.h-data: Likewise.
33421 * conform/data/tar.h-data: Likewise.
33422 * conform/data/limits.h-data: Use "==" form on "constant" and
33423 "optional-constant" lines.
33424
33425 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33426 Use -std=c99 for XOPEN2K.
33427 (@knownproblems): Remove.
33428 (newtoken): Don't check %isknown.
33429
33430 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33431 Do not expect macro.
33432 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33433 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33434 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33435 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33436 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33437 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33438 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33439 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33440 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33441 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33442 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33443 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33444 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33445 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33446 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33447 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33448 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33449 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33450 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33451 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33452 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33453 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33454 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33455 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33456 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33457 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33458 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33459 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33460 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33461 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33462 [XPG3] (acosh): Likewise.
33463 [XPG3] (asinh): Likewise.
33464 [XPG3] (atanh): Likewise.
33465 [XPG3] (cbrt): Likewise.
33466 [XPG3] (expm1): Likewise.
33467 [XPG3] (ilogb): Likewise.
33468 [XPG3] (log1p): Likewise.
33469 [XPG3] (logb): Likewise.
33470 [XPG3] (nextafter): Likewise.
33471 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33472 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33473 [XPG3] (remainder): Likewise.
33474 [XPG3] (rint): Likewise.
33475 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33476 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33477 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33478 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33479 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33480 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33481 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33482 [UNIX98 || XOPEN2K] (scalb): Expect.
33483 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33484 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33485 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33486 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33487 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33488 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33489 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33490 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33491 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33492 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33493 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33494 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33495 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33496 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33497 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33498 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33499 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33500 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33501 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33502 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33503 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33504 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33505 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33506 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33507 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33508 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33509 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33510 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33511 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33512 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33513 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33514 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33515 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33516 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33517 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33518 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33519 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33520 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33521 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33522 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33523 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33524 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33525 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33526 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33527 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33528 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33529 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33530 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33531 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33532 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33533 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33534 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33535 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33536 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33537 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33538 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33539 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33540 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33541 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33542 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33543 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33544 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33545 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33546 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33547 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33548 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33549 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33550 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33551 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33552 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33553 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33554 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33555 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33556 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33557 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33558 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33559 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33560 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33561 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33562 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33563 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33564 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33565 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33566 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33567 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33568 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33569 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33570 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33571 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33572 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33573 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33574 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33575 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33576 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33577 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33578 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33579 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33580 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33581 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33582 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33583 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33584 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33585 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33586 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33587 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33588 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33589 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33590 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33591 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33592 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33593 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33594 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33595 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33596 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33597 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33598 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33599 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33600 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33601 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33602 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33603 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33604 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33605 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33606 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33607 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33608 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33609 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33610 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33611 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33612 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33613 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33614 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33615 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33616 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33617 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33618 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33619 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33620
33621 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33622 _XOPEN_SOURCE_EXTENDED for XPG4.
33623
33624 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33625
33626 * Makeconfig (localtime): Remove variable.
33627 (inst_localtime-file): Likewise.
33628
336292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33630
33631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33632 Update.
33633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33634 Update.
33635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33636 Update.
33637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33638 Update.
33639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33640 Update.
33641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33642 Update.
33643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33644 Update.
33645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33646 Update.
33647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33648 Update.
33649
336502012-05-01 Joseph Myers <joseph@codesourcery.com>
33651
33652 [BZ #2550]
33653 [BZ #2570]
33654 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33655 comparisons to determine direction to adjust input.
33656 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33657 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33658 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33659 Likewise.
33660 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33661 Likewise.
33662 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33663 Likewise.
33664 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33665 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33666 Likewise.
33667 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33668 Likewise.
33669 * math/libm-test.inc (nexttoward_test): Add more tests.
33670
336712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33672
33673 [BZ #14040]
33674 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33675 in version GLIBC_2.1, not GLIBC_2.0.
33676 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33677 Likewise.
33678
336792012-04-30 Joseph Myers <joseph@codesourcery.com>
33680
33681 [BZ #13942]
33682 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33683 (1 - x) * (1 + x).
33684 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33685 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33686 * math/libm-test.inc (acos_test): Add more tests.
33687 (asin_test): Likewise.
33688 * sysdeps/i386/fpu/libm-test-ulps: Update.
33689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33690
33691 [BZ #14034]
33692 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33693 of square root.
33694 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33695 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33696 * math/libm-test.inc (acos_test_tonearest): New function.
33697 (acos_test_towardzero): Likewise.
33698 (acos_test_downward): Likewise.
33699 (acos_test_upward): Likewise.
33700 (asin_test_tonearest): Likewise.
33701 (asin_test_towardzero): Likewise.
33702 (asin_test_downward): Likewise.
33703 (asin_test_upward): Likewise.
33704 (main): Call the new functions.
33705 * sysdeps/i386/fpu/libm-test-ulps: Update.
33706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33707
33708 [BZ #13884]
33709 [BZ #13924]
33710 * math/e_exp10.c: Include <float.h>.
33711 (__ieee754_exp10): Handle underflow here rather than multiplying
33712 large negative argument by M_LN10.
33713 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33714 of __ieee754_expf.
33715 * math/e_exp10l.c: Include <float.h>.
33716 (__ieee754_exp10l): Handle underflow here rather than multiplying
33717 large negative argument by M_LN10l.
33718 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33719 spurious overflow exception on underflow.
33720
337212012-04-29 Marek Polacek <polacek@redhat.com>
33722
33723 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33724 (__fortify_function): New macro.
33725 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33726 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33727 __extern_always_inline.
33728 * libio/bits/stdio2.h: Likewise.
33729 * libio/bits/stdio.h: Likewise.
33730 * string/string.h: Likewise.
33731 * string/bits/string3.h: Likewise.
33732 * include/stdio.h: Likewise.
33733 * stdlib/bits/stdlib.h: Likewise.
33734 * stdlib/stdlib.h: Likewise.
33735 * rt/bits/mqueue2.h: Likewise.
33736 * rt/mqueue.h: Likewise.
33737 * posix/bits/unistd.h: Likewise.
33738 * posix/unistd.h: Likewise.
33739 * io/bits/poll2.h: Likewise.
33740 * io/bits/fcntl2.h: Likewise.
33741 * io/fcntl.h: Likewise.
33742 * io/sys/poll.h: Likewise.
33743 * misc/bits/syslog.h: Likewise.
33744 * misc/bits/syslog-ldbl.h: Likewise.
33745 * misc/sys/syslog.h: Likewise.
33746 * socket/bits/socket2.h: Likewise.
33747 * socket/sys/socket.h: Likewise.
33748 * debug/tst-chk1.c: Likewise.
33749 * wcsmbs/bits/wchar2.h: Likewise.
33750 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33751 * wcsmbs/wchar.h: Likewise.
33752
337532012-04-29 Andreas Jaeger <aj@suse.de>
33754
33755 * Makerules (tests): Remove enable-check-abi protection.
33756 (check-abi-warn): Remove.
33757 (check-abi-%): Remove check-abi-warn usage.
33758
33759 * configure.in: Remove check-abi configure option.
33760 * configure: Regenerated.
33761 * config.make.in (enable-check-abi): Remove.
33762
337632012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33764
33765 [BZ #14033]
33766 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33767 double functions to double *_finite functions.
33768
33769 [BZ #13941]
33770 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33771 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33772 LDBL_MIN_EXP.
33773 * stdio-common/Makefile (tests): Add tst-sprintf3.
33774 * stdio-common/tst-sprintf3.c: New file.
33775
33776 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33777 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33778
337792012-04-28 Joseph Myers <joseph@codesourcery.com>
33780
33781 * conform/conformtest.pl: Remove duplicate typed-constant
33782 handling.
33783
337842012-04-28 David S. Miller <davem@davemloft.net>
33785
33786 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33787 (check-abi-%): Remove AWK script prerequisite and explicit
33788 abilist directory.
33789 (check-abi): Rewrite to just diff the symlist with the abilist.
33790 (config-tls, config-abi-config): Delete, no longer used.
33791 (update-abi-%): Remove AWK script and explicit abilist directory.
33792 (update-abi): Rewrite to simply compare and conditionally copy the
33793 symlist and the sysdep abilist file. Remove update-abi-config
33794 checks.
33795 * abilist/ld.abilist: Remove.
33796 * abilist/libBrokenLocale.abilist: Remove.
33797 * abilist/libanl.abilist: Remove.
33798 * abilist/libcrypt.abilist: Remove.
33799 * abilist/libdl.abilist: Remove.
33800 * abilist/librt.abilist: Remove.
33801 * abilist/libthread_db.abilist: Remove.
33802 * abilist/libutil.abilist: Remove.
33803 * scripts/extract-abilist.awk: Remove.
33804 * scripts/merge-abilist.awk: Remove.
33805 * sysdeps/generic/libcidn.abilist: New file.
33806 * sysdeps/generic/libnss_compat.abilist: New file.
33807 * sysdeps/generic/libnss_db.abilist: New file.
33808 * sysdeps/generic/libnss_dns.abilist: New file.
33809 * sysdeps/generic/libnss_files.abilist: New file.
33810 * sysdeps/generic/libnss_hesiod.abilist: New file.
33811 * sysdeps/generic/libnss_nis.abilist: New file.
33812 * sysdeps/generic/libnss_nisplus.abilist: New file.
33813 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33814 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33815 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33816 file.
33817 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33818 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33819 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33820 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33821 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33822 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33823 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33824 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33825 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33826 file.
33827 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33828 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33829 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33830 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33831 file.
33832 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33833 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33834 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33835 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33836 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33837 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33838 file.
33839 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33840 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33841 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33842 file.
33843 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33845 New file.
33846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33847 New file.
33848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33849 New file.
33850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33851 New file.
33852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33853 New file.
33854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33855 New file.
33856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33857 New file.
33858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33859 New file.
33860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33861 New file.
33862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33863 New file.
33864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33865 New file.
33866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33867 New file.
33868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33869 New file.
33870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33871 file.
33872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33873 New file.
33874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33875 New file.
33876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33877 file.
33878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33879 New file.
33880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33881 New file.
33882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33883 file.
33884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33885 New file.
33886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33887 New file.
33888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33889 New file.
33890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33891 New file.
33892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33893 New file.
33894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33895 New file.
33896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33898 file.
33899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33900 New file.
33901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33902 file.
33903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33904 file.
33905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33906 file.
33907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33908 file.
33909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33910 file.
33911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33912 New file.
33913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33914 file.
33915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33916 file.
33917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33918 New file.
33919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33920 file.
33921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33923 file.
33924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33925 New file.
33926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33927 file.
33928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33929 file.
33930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33931 file.
33932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33933 file.
33934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33935 file.
33936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33937 New file.
33938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33939 file.
33940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33941 file.
33942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33943 New file.
33944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33945 file.
33946 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33947 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33948 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33949 file.
33950 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33951 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33952 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33953 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33954 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33955 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33956 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33957 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33958 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33959 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33962 file.
33963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33964 New file.
33965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33966 file.
33967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33968 file.
33969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33970 file.
33971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33972 file.
33973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33974 file.
33975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33976 New file.
33977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33978 New file.
33979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33980 file.
33981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33982 New file.
33983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33984 file.
33985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33987 file.
33988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33989 New file.
33990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33991 file.
33992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33993 file.
33994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33995 file.
33996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33997 file.
33998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33999 file.
34000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34001 New file.
34002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34003 New file.
34004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34005 file.
34006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34007 New file.
34008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34009 file.
34010
340112012-04-28 Joseph Myers <joseph@codesourcery.com>
34012
34013 * conform/conformtest.pl: Fix typo in handling typed-constant from
34014 allow-header.
34015
340162012-04-27 Joseph Myers <joseph@codesourcery.com>
34017
34018 * README: Cut down references to pre-2.6 Linux kernels and
34019 Linuxthreads. Update lists of configurations in libc and ports
34020 and sort alphabetically. Say "or newer" with Linux kernel version
34021 requirements.
34022
34023 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34024
340252012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34026
34027 [BZ #887]
34028 * math/libm-test.inc (logb_test_downward): New test to expose
34029 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34030 rounding mode.
34031
340322012-04-27 Joseph Myers <joseph@codesourcery.com>
34033
34034 [BZ #14027]
34035 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34036 to be done.
34037 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34038 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34039
340402012-04-26 Joseph Myers <joseph@codesourcery.com>
34041
34042 * sysdeps/unix/i386/brk.S: Remove file.
34043 * sysdeps/unix/i386/dl-brk.S: Likewise.
34044 * sysdeps/unix/i386/pipe.S: Likewise.
34045 * sysdeps/unix/i386/sigreturn.S: Likewise.
34046 * sysdeps/unix/i386/syscall.S: Likewise.
34047 * sysdeps/unix/i386/vfork.S: Likewise.
34048 * sysdeps/unix/i386/wait.S: Likewise.
34049
34050 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34051 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34052
34053 * configure.in (arm*-none*): Do not allow without
34054 --enable-hacker-mode.
34055 (netbsd*): Remove case setting base_os.
34056 (386bsd*): Likewise.
34057 (freebsd*): Likewise.
34058 (bsdi*): Likewise.
34059 (osf*): Likewise.
34060 (sunos*): Likewise.
34061 (ultrix*): Likewise.
34062 (newsos*): Likewise.
34063 (dynix*): Likewise.
34064 (*bsd*): Likewise.
34065 (sysv*): Likewise.
34066 (isc*): Likewise.
34067 (esix*): Likewise.
34068 (sco*): Likewise.
34069 (minix*): Likewise.
34070 (irix4*): Likewise.
34071 (irix6*): Likewise.
34072 (solaris[2-9]*): Likewise.
34073 (none): Likewise.
34074 * configure: Regenerated.
34075
340762012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34077
34078 [BZ #11521]
34079 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34080 overflow or cancellation in calculating denominator.
34081 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34082 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34083 down expression to avoid unexpected rounding in newer GCCs.
34084 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34085
340862012-04-26 David S. Miller <davem@davemloft.net>
34087
34088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34089 long-double compat symbols.
34090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34103
341042012-04-25 David S. Miller <davem@davemloft.net>
34105
34106 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34107 HWCAP_* values only after the memory barriers have been defined.
34108 (atomic_full_barrier): Define.
34109 (atomic_read_barrier): Define.
34110 (atomic_write_barrier): Define.
34111
341122012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34113
34114 * shlib-versions: Add libgcc_s version information.
34115 * sysdeps/generic/libgcc_s.h: Remove.
34116 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34117 libgcc_s.h.
34118 * sysdeps/gnu/unwind-resume.c: Likewise.
34119 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34120
341212012-04-25 David S. Miller <davem@davemloft.net>
34122
34123 * sysdeps/unix/sparc/brk.S: Delete.
34124 * sysdeps/unix/sparc/dl-brk.S: Delete.
34125 * sysdeps/unix/sparc/pipe.S: Delete.
34126 * sysdeps/unix/sparc/sysdep.S: Delete.
34127 * sysdeps/unix/sparc/sysdep.h: Delete.
34128 * sysdeps/unix/sparc/vfork.S: Delete.
34129 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34130 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34131 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34132 (ret_ERRVAL, r0, r1, MOVE): Define.
34133 (JUMPTARGET): Remove.
34134 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34135 sysdeps/unix/sparc/sysdep.h
34136 (ENTRY, END): Remove.
34137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34138
341392012-04-25 Joseph Myers <joseph@codesourcery.com>
34140
34141 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34142 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34143 -DIS_IN_build.
34144
34145 * timezone/README: Update upstream location and email address for
34146 tzcode and tzdata.
34147 * timezone/zdump.c: Update from tzcode 2012b.
34148 * timezone/zic.c: Likewise.
34149
34150 * configure.in (libc_cv_as_needed): Remove test.
34151 * configure: Regenerated.
34152 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34153 conditional definition.
34154 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34155 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34156 * config.make.in (have-as-needed): Remove variable.
34157
341582012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34159 Paul Pluzhnikov <ppluzhnikov@google.com>
34160
34161 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34162 strings correctly.
34163
341642012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34165
34166 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34167 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34168 * sysdeps/sh/strlen.S: Likewise.
34169
341702012-04-24 Joseph Myers <joseph@codesourcery.com>
34171
34172 * sysdeps/unix/fork.S: Remove file.
34173 * sysdeps/unix/i386/fork.S: Likewise.
34174 * sysdeps/unix/sparc/fork.S: Likewise.
34175
34176 * sysdeps/unix/system.c: Remove file.
34177 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34178
34179 * sysdeps/unix/getegid.S: Remove file.
34180 * sysdeps/unix/geteuid.S: Likewise.
34181
341822012-04-24 Roland McGrath <roland@hack.frob.com>
34183
34184 * scripts/check-localplt.awk: New file.
34185 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34186 of diff.
34187 * scripts/data/localplt-generic.data: Add a comment.
34188
34189 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34190 NODE when __dir_mkfile failed.
34191 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34192 Reported by Ludovic Courtès <ludo@gnu.org>.
34193
341942012-04-24 Andreas Jaeger <aj@suse.de>
34195
34196 * Makerules (common-clean): Also remove gen-as-const-headers
34197 files.
34198
341992012-04-24 Joseph Myers <joseph@codesourcery.com>
34200
34201 * Makerules (native-compile): Do not change working directory for
34202 build. Use $(OUTPUT_OPTION) in command.
34203 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34204
342052012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34206
34207 [BZ #13886]
34208 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34209 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34210 * math/libm-test.inc (floor_test): Add more tests.
34211 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34212
342132012-04-24 Joseph Myers <joseph@codesourcery.com>
34214
34215 * sysdeps/unix/getdents.c: Remove file.
34216 * sysdeps/unix/sysv/getdents.c: Likewise.
34217 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34218
34219 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34220 sysdeps/unix/mman/syscalls.list.
34221 (mmap): Likewise.
34222 (mprotect): Likewise.
34223 (msync): Likewise.
34224 (munmap): Likewise.
34225 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34226 * sysdeps/unix/mman/syscalls.list: Remove.
34227 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34228
34229 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34230 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34231 * configure: Regenerated.
34232 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34233 $(libgcc_s_suffix).
34234 * config.make.in (libgcc_s_suffix): Remove variable.
34235
342362012-04-23 Joseph Myers <joseph@codesourcery.com>
34237
34238 * sysdeps/unix/sysv/gethostname.c: Move to ...
34239 * sysdeps/posix/gethostname.c: ... here.
34240
34241 * sysdeps/unix/execve.S: Remove file.
34242
34243 * sysdeps/unix/_exit.S: Remove file.
34244
342452012-04-23 Andreas Jaeger <aj@suse.de>
34246
34247 [BZ #13739]
34248 * manual/Makefile: Remove make dist support, there's no
34249 need for a stand-alone documentation tar ball.
34250 (TEXI2DVI): Define always, it's not in Makeconfig.
34251 (dist): Removed.
34252 (tar-it): Removed.
34253 (edition): Removed.
34254 (glibc-doc-$(edition).tar): Removed
34255 (%.Z): Removed.
34256 (%.gz): Removed.
34257 (%.uu): Removed.
34258 (ETAGS): Remove, it's in Makeconfig.
34259 (move-if-change): Remove, it's in Makeconfig.
34260
342612012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34262
34263 [BZ #13970]
34264 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34265 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34266 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34267 (strtod_l, strtof_l, strtold_l): Remove __wur.
34268 It is not necessarily an error to ignore strtol's return value.
34269 One can reliably look at the stored endptr to decide whether
34270 the number had valid syntax.
34271
342722012-04-21 Andreas Jaeger <aj@suse.de>
34273
34274 [BZ #13739]
34275 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34276
342772012-04-21 Joseph Myers <joseph@codesourcery.com>
34278
34279 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34280 * sysdeps/unix/sysv/Versions: Remove file.
34281
342822012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34283
34284 [BZ #13927]
34285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34286
342872012-04-21 Nick Alcock <nick.alcock@oracle.com>
34288
34289 [BZ #7064]
34290 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34291 version from __vm86.
34292
342932012-04-20 Joseph Myers <joseph@codesourcery.com>
34294
34295 * sysdeps/unix/common/lxstat.c: Remove file.
34296 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34297
34298 * sysdeps/unix/sysv/Makefile: Remove file.
34299
34300 * sysdeps/unix/sysv/direct.h: Remove file.
34301
34302 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34303 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34304 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34305 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34306 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34307 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34308 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34309
34310 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34311
34312 * sysdeps/unix/xmknod.c: Remove file.
34313 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34314
34315 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34316
34317 * sysdeps/unix/sysv/i386/time.S: Remove file.
34318
34319 * sysdeps/unix/fxstat.c: Remove file.
34320 * sysdeps/unix/xstat.c: Likewise.
34321 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34322
34323 * sysdeps/unix/sysv/sigaction.c: Remove file.
34324
34325 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34326 (sysdep_headers): Remove variable.
34327 [termio.h not in sysdep_headers] (generated): Likewise.
34328 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34329 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34330 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34331 * sysdeps/unix/sysv/tcflow.c: Likewise.
34332 * sysdeps/unix/sysv/tcflush.c: Likewise.
34333 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34334 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34335 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34336 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34337 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34338
34339 * sysdeps/unix/siglist.c: Remove file.
34340
34341 * sysdeps/unix/getppid.S: Remove file.
34342
34343 * sysdeps/unix/mkdir.c: Remove file.
34344 * sysdeps/unix/rmdir.c: Likewise.
34345
343462012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34347
34348 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34349 ERR_MAX value.
34350 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34351 errlist-compat value.
34352
343532012-04-18 David S. Miller <davem@davemloft.net>
34354
34355 * sysdeps/generic/memcopy.h (reg_char): Delete.
34356 * debug/strcat_chk.c: Use char, not reg_char.
34357 * debug/strcpy_chk.c: Likewise.
34358 * debug/strncat_chk.c: Likewise.
34359 * debug/strncpy_chk.c: Likewise.
34360 * string/memchr.c: Likewise.
34361 * string/memrchr.c: Likewise.
34362 * string/rawmemchr.c: Likewise.
34363 * string/strcat.c: Likewise.
34364 * string/strchr.c: Likewise.
34365 * string/strchrnul.c: Likewise.
34366 * string/strcmp.c: Likewise.
34367 * string/strcpy.c: Likewise.
34368 * string/strncat.c: Likewise.
34369 * string/strncmp.c: Likewise.
34370 * string/strncpy.c: Likewise.
34371
343722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34373
34374 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34375 __builtin_memcopy is called when src and dest ranges are known to not
34376 overlap.
34377
343782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34379
34380 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34381 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34382 fwd_align_merge macro call.
34383 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34384 bwd_align_merge macro call.
34385 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34386
343872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34388
34389 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34390 bwd_align_merge macros.
34391 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34392 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34393 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34394
343952012-04-18 David S. Miller <davem@davemloft.net>
34396
34397 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34398
343992012-04-18 Andreas Jaeger <aj@suse.de>
34400
34401 [BZ# 6794]
34402 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34403 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34404 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34405
34406 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34407 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34408 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34409
34410 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34411 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34412 Adjust for changed ldbl-128 files.
34413
34414 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34415 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34416 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34417
344182012-04-17 David S. Miller <davem@davemloft.net>
34419
34420 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34421
344222012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34423
34424 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34425 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34426 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34427 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34428 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34429 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34430
344312012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34432
34433 [BZ #6794]
34434 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34435 * math/libm-test.inc: Add ilogb errno and exception tests.
34436 * math/w_ilogb.c: New file: ilogb wrapper.
34437 * math/w_ilogbf.c: New file: ilogbf wrapper.
34438 * math/w_ilogbl.c: New file: ilogbl wrapper.
34439 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34440 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34441 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34442 exception being thrown with 0.0 as argument.
34443 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34444 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34445 exception being thrown with 0.0 as argument.
34446 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34447 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34448 exception being thrown with 0.0 as argument.
34449 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34450 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34451 exception being thrown with 0.0 as argument.
34452 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34453 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34454 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34455 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34456 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34457 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34458 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34459 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34460 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34461
344622012-04-17 Petr Baudis <pasky@ucw.cz>
34463
34464 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34465 with altivec.
34466
344672012-04-16 Marek Polacek <polacek@redhat.com>
34468
34469 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34470
344712012-04-16 Marek Polacek <polacek@redhat.com>
34472
34473 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34474 operands of fdivp instruction.
34475
344762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34477
34478 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34479 * elf/tst-auditmod3b.c: Likewise.
34480 * elf/tst-auditmod4b.c: Likewise.
34481 * elf/tst-auditmod5b.c: Likewise.
34482 * elf/tst-auditmod6b.c: Likewise.
34483 * elf/tst-auditmod6c.c: Likewise.
34484 * elf/tst-auditmod7b.c: Likewise.
34485 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34486 * sysdeps/x86_64/preconfigure.in: Likewise.
34487 * sysdeps/x86_64/preconfigure: Regenerated.
34488
344892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34490
34491 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34492 __ILP32__.
34493
344942012-04-13 Antoine Balestrat <merkil33@gmail.com>
34495
34496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34497 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34498
344992012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34500
34501 [BZ #13973]
34502 * locale/iso-639.def: Fix gl language name. Spotted by
34503 Yaron Shahrabani.
34504
345052012-04-12 Roland McGrath <roland@hack.frob.com>
34506
34507 [BZ #2074]
34508 * libio/libio.h (__io_write_fn): Update comment.
34509
345102012-04-12 Petr Baudis <pasky@ucw.cz>
34511
34512 [BZ #2074]
34513 * stdio.texi (Hook Functions): The user provided writer function
34514 is not allowed to return -1.
34515
345162012-04-11 David S. Miller <davem@davemloft.net>
34517
34518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34519
345202012-04-11 Mike Frysinger <vapier@gentoo.org>
34521
34522 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34523 Add a leading slash to rtkaio.
34524
345252012-04-11 Jim Meyering <meyering@redhat.com>
34526
34527 [BZ #11959]
34528 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34529 It is not necessarily an error to ignore fwrite's return
34530 value. One can reliably use ferror to test for errors after
34531 the fact.
34532
345332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34534
34535 * bits/types.h (__snseconds_t): New type.
34536 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34537
34538 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34540 (__SNSECONDS_T_TYPE): Likewise.
34541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34542 (__SNSECONDS_T_TYPE): Likewise.
34543 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34544 (__SNSECONDS_T_TYPE): Likewise.
34545
345462012-04-10 Andreas Jaeger <aj@suse.de>
34547
34548 [BZ #2636]
34549 * manual/time.texi (Processor Time): Return type of times is
34550 elapsed real time since an arbitrary point in the past.
34551 (CPU Time): Move CLK_TCK from here...
34552 (Processor Time): ...to here. Correct description.
34553 * manual/conf.texi (Constants for Sysconf): Correct description of
34554 _SC_CLK_TCK.
34555
345562012-04-10 David S. Miller <davem@davemloft.net>
34557
34558 [BZ #13967]
34559 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34560 where the is a gap between DT_REL(A) and DT_JMPREL.
34561
345622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34563
34564 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34565 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34566 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34567
345682012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34569
34570 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34571 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34572 (dl_main): Handle --inhibit-cache.
34573 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34574 _dl_inhibit_cache.
34575 * elf/dl-load.c (_dl_map_object): Use it.
34576 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34577
345782012-04-09 Joseph Myers <joseph@codesourcery.com>
34579
34580 [BZ #13872]
34581 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34582 (__ieee754_powl): Saturate large exponents rather than testing for
34583 overflow of y*log2(x).
34584 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34585 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34586 exceptions.
34587
34588 [BZ #11521]
34589 * math/s_ctan.c: Include <float.h>.
34590 (__ctan): Avoid internal overflow or cancellation in calculating
34591 denominator.
34592 * math/s_ctanf.c: Likewise.
34593 * math/s_ctanl.c: Likewise.
34594 * math/s_ctanh.c: Likewise.
34595 * math/s_ctanhf.c: Likewise.
34596 * math/s_ctanhl.c: Likewise.
34597 * math/libm-test.inc (ctan_test): Add more tests.
34598 (ctanh_test): Likewise.
34599 * sysdeps/i386/fpu/libm-test-ulps: Update.
34600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34601
346022012-04-09 Andreas Jaeger <aj@suse.de>
34603
34604 [BZ #6894]
34605 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34606 is an optional BSD extension.
34607
34608 [BZ #10254]
34609 * manual/stdio.texi (Opening Streams): Document additional fopen
34610 parameters.
34611
346122012-04-09 Roland McGrath <roland@hack.frob.com>
34613
34614 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34615 %eax without telling the compiler.
34616
346172012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34618
34619 [BZ # 13963]
34620 * manual/install.texi: Use sourceware.org.
34621
346222012-04-09 Joseph Myers <joseph@codesourcery.com>
34623
34624 [BZ #13873]
34625 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34626 (__ieee754_pow): Generate overflow and underflow using huge*huge
34627 and tiny*tiny rather than just returning constant infinity or zero
34628 for large exponents.
34629 * math/libm-test.inc (pow_test): Require overflow exceptions for
34630 applicable cases of large exponents.
34631
34632 [BZ #706]
34633 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34634 (__ieee754_pow): Use iterative multiplication algorithm only for
34635 integer exponents with absolute value below 1024. Check for odd
34636 integer exponents when using algorithm for real exponents.
34637 * math/libm-test.inc (pow_test): Add more tests.
34638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34639
346402012-04-08 Joseph Myers <joseph@codesourcery.com>
34641
34642 [BZ #13705]
34643 * math/libm-test.inc (exp_test): Do not allow overflow exception
34644 on underflow test.
34645
346462012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34647
34648 [BZ #13705]
34649 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34650 instead of __kernel_standard_f.
34651
346522012-04-08 Mike Frysinger <vapier@gentoo.org>
34653
34654 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34655 * sysdeps/x86_64/memset_chk.S: Likewise.
34656
346572012-04-08 Andreas Jaeger <aj@suse.de>
34658
34659 [BZ #10153]
34660 * manual/startup.texi (Environment Access): Describe return value
34661 for putenv and setenv.
34662
34663 [BZ #6895]
34664 * manual/filesys.texi (Directory Entries): Add description for
34665 DT_LNK.
34666
34667 [BZ #6890]
34668 * manual/filesys.texi (Directory Entries): Clarify that it's file
34669 system not operating system in the description of DT_UNKNOWN.
34670
34671 [BZ #6578]
34672 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34673
346742012-04-08 Stephen Compall <s11@member.fsf.org>
34675
34676 [BZ #6649]
34677 * manual/llio.texi (Opening and Closing Files): Add cross
34678 reference to explain mode argument.
34679
346802012-04-07 Mike Frysinger <vapier@gentoo.org>
34681
34682 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34683 * sysdeps/x86_64/memset_chk.S: Likewise.
34684
346852012-04-07 David S. Miller <davem@davemloft.net>
34686
34687 * elf/elf.h (R_SPARC_WDISP10): Define.
34688 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34689 R_SPARC_SIZE32.
34690 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34691 R_SPARC_SIZE64 and R_SPARC_H34.
34692
346932012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34694
34695 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34696 conditions and remove no longer applicable assertion.
34697
346982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34699
34700 * bits/byteswap.h: Include <features.h>.
34701 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34702 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34703
347042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34705
34706 * bits/byteswap.h (__bswap_16): Removed.
34707 Include <bits/byteswap-16.h> to get __bswap_16.
34708 * sysdeps/i386/bits/byteswap.h: Likewise.
34709 * sysdeps/s390/bits/byteswap.h: Likewise.
34710 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34711 * bits/byteswap-16.h: New file.
34712 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34713 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34714 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34715 * string/Makefile (headers): Add bits/byteswap-16.h.
34716
347172012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34718
34719 [BZ #13895]
34720 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34721 extra indirection.
34722 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34723 * nss/tst-nss-static.c: New.
34724
347252012-04-06 Robert Millan <rmh@gnu.org>
34726
34727 [BZ #6486]
34728 * manual/llio.texi (File Position Primitive): lseek
34729 refers to WHENCE when it really means OFFSET.
34730
347312012-04-06 Andreas Jaeger <aj@suse.de>
34732
34733 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34734 strncmp declarations.
34735
34736 * abilist/libc.abilist: Add __poll and __ppoll.
34737
347382012-04-05 David S. Miller <davem@davemloft.net>
34739
34740 * scripts/check-local-headers.sh: Accept a host triplet in the
34741 path matched by the exclude regexp.
34742
34743 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34744 definition.
34745 * sysdeps/powerpc/powerpc32/dl-machine.h
34746 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34747 * sysdeps/s390/s390-32/dl-machine.h
34748 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34749 * sysdeps/sparc/sparc32/dl-machine.h
34750 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34751 * sysdeps/sparc/sparc64/dl-machine.h
34752 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34753
34754 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34755 lazy binding.
34756 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34757 undefined symbol errors.
34758
34759 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34760 DT_NEEDED entries.
34761
347622012-04-05 Michael Matz <matz@suse.de>
34763
34764 [BZ #13592]
34765 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34766
347672012-04-05 Andreas Jaeger <aj@suse.de>
34768
34769 [BZ #13908]
34770 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34771 comment.
34772
347732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34774
34775 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34776 which ROUND is no valid rounding mode.
34777
347782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34779
34780 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34781 read again.
34782 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34783
347842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34785
34786 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34787 an exception using FPU order intentionally.
34788
347892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34790
34791 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34792 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34793 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34794 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34795
347962012-04-05 Simon Josefsson <simon@josefsson.org>
34797
34798 [BZ #12340]
34799 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34800 EINVAL when BUFLEN is too smal.
34801
348022012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34803
34804 [BZ #13553]
34805 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34806 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34807
348082012-04-03 Andreas Jaeger <aj@suse.de>
34809
34810 [BZ #13938]
34811 * manual/setjmp.texi (System V contexts): Fix sentence.
34812
34813 [BZ #13926]
34814 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34815 New macro for this case.
34816 [!__GNUC__] (__bswap_64): New inline function for this case.
34817 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34818 * bits/byteswap.h: Likewise.
34819 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34820 ull, guard with __GLIBC_HAVE_LONG_LONG.
34821
34822 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34823 __GLIBC_HAVE_LONG_LONG.
34824
34825 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34826 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34827
348282012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34829
34830 [BZ #13691]
34831 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34832 inptr and inend, rather than using last_ch.
34833
348342012-04-02 David S. Miller <davem@davemloft.net>
34835
34836 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34837 * stdio-common/printf-parse.h (read_int): Change return type to
34838 'int', return -1 on INT_MAX overflow.
34839 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34840 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34841 overflows INT_MAX. Check for overflow of in-format-string precision
34842 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34843 SIZE_MAX not INT_MAX for integer overflow test.
34844 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34845 skip the construct in the format string but do not record anything.
34846 * stdio-common/bug22.c: Adjust to test both width/prevision
34847 INT_MAX overflow as well as total length INT_MAX overflow. Check
34848 explicitly for proper errno values.
34849
348502012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34851
34852 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34853 CHAR_MAX.
34854 * string/test-strcmp.c [! WIDE]: Likewise.
34855 * time/tst-mktime2.c: Likewise for INT_MAX.
34856 * string/test-string.h: #include <sys/param.h> for MIN.
34857
34858 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34859 * sysdeps/i386/init-first.c (init): Likewise.
34860 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34861 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34862 * sysdeps/sh/init-first.c (init): Likewise.
34863
348642012-04-01 Ulrich Drepper <drepper@gmail.com>
34865
34866 * po/ru.po: Update from translation team.
34867 * po/vi.po: Likewise.
34868
348692012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34870
34871 * resolv/nss_dns/dns-host.c: Merge copyright years.
34872
348732012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34874
34875 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34876 Optimize memcpy with prefetch if
34877 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34878 src, dst pointers have unequal 16 byte alignments.
34879
348802012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34881
34882 [BZ #13928]
34883 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34884 from a CNAME entry and return the minimum ttl for the query.
34885 (gaih_getanswer_slice): Likewise.
34886
348872012-03-30 Jeff Law <law@redhat.com>
34888
34889 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34890 due to long keys.
34891 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34892 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34893
34894 * resolv/nss_dns/dns-host.c: Update copyright year.
34895
348962012-03-30 Ulrich Drepper <drepper@gmail.com>
34897
34898 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34899 requests to save a system call. Fix check that all bytes are sent.
34900
34901 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34902 comments for sendmmsg.
34903
349042012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34905
34906 [BZ #13691]
34907 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34908 with only 1 character between 0x0041 and 0x01b0.
34909 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34910 * wcsmbs/tst-mbsnrtowcs.c: New file.
34911
349122012-03-29 David S. Miller <davem@davemloft.net>
34913
34914 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34915 small copies by hand.
34916
349172012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34918
34919 [BZ #13761]
34920 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34921 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34922 group memberships.
34923
349242012-03-28 David S. Miller <davem@davemloft.net>
34925
34926 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34927 that branches into memcpy.
34928 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34929 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34930 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34931 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34933 bits.
34934 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34935 implementation too.
34936 * sysdeps/sparc/mempcpy.S: New file.
34937
34938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34939 the IFUNC routine in the libc case.
34940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34941
34942 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34943 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34944 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34945 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34946 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34947 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34948 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34949 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34950
34951 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34952 loop to 256 bytes instead of 64 bytes and fix test signedness.
34953
34954 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34955 * sysdeps/sparc/sparc32/Makefile: rather than here...
34956 * sysdeps/sparc/sparc64/Makefile: and here.
34957
349582012-03-28 Ulrich Drepper <drepper@gmail.com>
34959
34960 * malloc/mallocbug.c: Avoid warnings about unused variables.
34961
349622012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34963
34964 [BZ #13760]
34965 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34966 in the right place. Discard and retry query if response is
34967 larger than input buffer size.
34968
349692012-03-28 Joseph Myers <joseph@codesourcery.com>
34970
34971 [BZ #369]
34972 [BZ #2678]
34973 [BZ #3866]
34974 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34975 x for large integer exponent.
34976 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34977 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34978 sign of result as needed afterwards.
34979 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34980 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34981 result for underflowing pow the same as for overflow.
34982 (__kernel_standard_l): Handle powl overflow and underflow here
34983 rather than calling __kernel_standard.
34984 * math/libm-test.inc (pow_test): Add more tests.
34985
34986 [BZ #3868]
34987 [BZ #13879]
34988 [BZ #13910]
34989 [BZ #13911]
34990 [BZ #13912]
34991 [BZ #13913]
34992 [BZ #13915]
34993 [BZ #13916]
34994 [BZ #13917]
34995 [BZ #13918]
34996 [BZ #13919]
34997 [BZ #13920]
34998 [BZ #13921]
34999 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35000 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35001 (__kernel_standard_l): New function.
35002 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35003 __kernel_standard.
35004 * math/w_acosl.c (__acosl): Likewise.
35005 * math/w_asinl.c (__asinl): Likewise.
35006 * math/w_atan2l.c (__atan2l): Likewise.
35007 * math/w_atanhl.c (__atanhl): Likewise.
35008 * math/w_coshl.c (__coshl): Likewise.
35009 * math/w_exp10l.c (__exp10l): Likewise.
35010 * math/w_exp2l.c (__exp2l): Likewise.
35011 * math/w_fmodl.c (__fmodl): Likewise.
35012 * math/w_hypotl.c (__hypotl): Likewise.
35013 * math/w_j0l.c (__j0l, __y0l): Likewise.
35014 * math/w_j1l.c (__j1l, __y1l): Likewise.
35015 * math/w_jnl.c (__jnl, __ynl): Likewise.
35016 * math/w_lgammal.c (__lgammal): Likewise.
35017 * math/w_log10l.c (__log10l): Likewise.
35018 * math/w_log2l.c (__log2l): Likewise.
35019 * math/w_logl.c (__logl): Likewise.
35020 * math/w_powl.c (__powl): Likewise.
35021 * math/w_remainderl.c (__remainderl): Likewise.
35022 * math/w_scalbl.c (sysv_scalbl): Likewise.
35023 * math/w_sinhl.c (__sinhl): Likewise.
35024 * math/w_sqrtl.c (__sqrtl): Likewise.
35025 * math/w_tgammal.c (__tgammal): Likewise.
35026 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35027 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35028 * math/libm-test.inc (acos_test): Add more tests.
35029 (acosh_test): Likewise.
35030 (asin_test): Likewise.
35031 (atanh_test): Likewise.
35032 (exp_test): Likewise.
35033 (exp10_test): Likewise.
35034 (exp2_test): Likewise.
35035 (expm1_test): Likewise.
35036 (lgamma_test): Likewise.
35037 (log_test): Likewise.
35038 (log10_test): Likewise.
35039 (log1p_test): Likewise.
35040 (log2_test): Likewise.
35041 (pow_test): Do not allow some spurious overflow exceptions.
35042 (sqrt_test): Add more tests.
35043 (tgamma_test): Likewise.
35044 (y0_test): Likewise.
35045 (y1_test): Likewise.
35046 (yn_test): Likewise.
35047
350482012-03-27 Anton Blanchard <anton@samba.org>
35049
35050 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35051 MAP_HUGETLB.
35052 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35053 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35054 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35055
350562012-03-27 David S. Miller <davem@davemloft.net>
35057
35058 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35059
35060 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35061 have-as-vis3 check.
35062
350632012-03-27 Andreas Jaeger <aj@suse.de>
35064
35065 * sysdeps/x86_64/elf/configure.in: Moved to ...
35066 * sysdeps/x86_64/configure.in: ... here.
35067 * sysdeps/x86_64/elf/start.S: Moved to ...
35068 * sysdeps/x86_64/start.S: ... here.
35069 * sysdeps/x86_64/elf/configure: Delete.
35070
35071 * sysdeps/x86_64/configure.in: Merge contents from
35072 sysdeps/i386/configure.in (without i686 check).
35073
35074 * sysdeps/i386/elf/Versions: Merge into ...
35075 * sysdeps/i386/Versions: ... this.
35076 * sysdeps/i386/elf/Versions: Delete file.
35077 * sysdeps/i386/elf/start.S: Moved to ...
35078 * sysdeps/i386/start.S: ...here.
35079 * sysdeps/i386/elf/configure.in: Merge into...
35080 * sysdeps/i386/configure.in: ...here.
35081 * sysdeps/i386/elf/configure.in: Delete file.
35082 * sysdeps/i386/elf/configure: Delete file.
35083
35084 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35085 * debug/backtracesyms.c: ... here.
35086 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35087 * debug/backtracesymsfd.c: ... here.
35088 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35089 * sysdeps/generic/ifunc-sel.h: ... here.
35090
35091 * sysdeps/unix/i386/start.c: Delete file.
35092 * sysdeps/unix/sparc/start.c: Delete file.
35093 * sysdeps/unix/start.c: Delete file.
35094
35095 * sysdeps/sh/elf/configure.in: Moved to ...
35096 * sysdeps/sh/configure.in: ... here.
35097 * sysdeps/sh/elf/start.S: Moved to ...
35098 * sysdeps/sh/start.S: ... here.
35099 * sysdeps/sh/elf/configure: Delete file.
35100
35101 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35102 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35103 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35104 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35105 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35106 * sysdeps/powerpc/powerpc64/start.S: here.
35107 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35108 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35109 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35110 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35111 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35112
35113 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35114 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35115 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35116 * sysdeps/powerpc/powerpc32/start.S: ... here.
35117 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35118 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35119 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35120
35121 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35122 * sysdeps/powerpc/ifunc-sel.h: ... here.
35123 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35124 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35125
35126 * sysdeps/sparc/elf/configure.in: Moved to ...
35127 * sysdeps/sparc/configure.in: ... here.
35128 * sysdeps/sparc/elf/configure: Delete file.
35129 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35130 * sysdeps/sparc/sparc32/start.S: ... here.
35131 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35132 * sysdeps/sparc/sparc64/start.S: ... here.
35133 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35134 * sysdeps/sparc/sparc32/Makefile: ... this.
35135 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35136 * sysdeps/sparc/sparc64/Makefile: ... this.
35137
35138 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35139 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35140 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35141 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35142 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35143 * sysdeps/s390/s390-32/setjmp.S: ... here.
35144 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35145 * sysdeps/s390/s390-32/configure.in: ... here.
35146 * sysdeps/s390/s390-32/elf/configure: Delete file.
35147 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35148 * sysdeps/s390/s390-32/start.S: ... here.
35149
35150 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35151 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35152 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35153 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35154 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35155 * sysdeps/s390/s390-64/setjmp.S: ... here.
35156 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35157 * sysdeps/s390/s390-64/configure.in: ... here
35158 * sysdeps/s390/s390-64/elf/configure: Delete file.
35159 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35160 * sysdeps/s390/s390-64/start.S: ... here.
35161 * sysdeps/s390/s390-64/elf/configure: Delete.
35162
35163 * configure.in: Remove support for elf directories in sysdeps.
35164
35165 * configure: Regenerated.
35166 * sysdeps/i386/configure: Regenerated.
35167 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35168 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35169 * sysdeps/s390/s390-32/configure: Regenerated.
35170 * sysdeps/s390/s390-64/configure: Regenerated.
35171 * sysdeps/sh/configure: Regenerated.
35172 * sysdeps/sparc/configure: Regenerated.
35173 * sysdeps/x86_64/configure: Regenerated.
35174
351752012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35176
35177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35178
35179 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35180 denormal result into account.
35181
351822012-03-25 Roland McGrath <roland@hack.frob.com>
35183
35184 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35185 Reported by Allan McRae <allan@archlinux.org>.
35186
351872012-03-23 Jeff Law <law@redhat.com>
35188
35189 * nss/getnssent.c (__nss_getent): Fix typo.
35190
351912012-03-23 David S. Miller <davem@davemloft.net>
35192
35193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35194
351952012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35196
35197 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35198 to pad to uint64_t for each field.
35199 (dl_tls_index): Replace unsigned long with uint64_t.
35200
352012012-03-23 Daniel Jacobowitz <dmj@google.com>
35202 Paul Pluzhnikov <ppluzhnikov@google.com>
35203
35204 [BZ #6528]
35205 * grp/Makefile (otherlibs): Don't set it.
35206 * inet/Makefile (otherlibs): Likewise.
35207 * login/Makefile (otherlibs): Likewise.
35208 * nscd/Makefile (otherlibs): Likewise.
35209 * posix/Makefile (otherlibs): Likewise.
35210 * pwd/Makefile (otherlibs): Likewise.
35211 * rt/Makefile (otherlibs): Likewise.
35212 * sunrpc/Makefile (otherlibs): Likewise.
35213 * nss/Makefile (otherlibs): Likewise.
35214 Add libnss_files to routines and static-only-routines.
35215 ($(objpfx)getent): Remove rule.
35216 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35217 static-only-routines.
35218
352192012-03-22 Joseph Myers <joseph@codesourcery.com>
35220
35221 [BZ #13892]
35222 * math/s_cexp.c: Include <float.h>.
35223 (__cexp): Handle exp result overflowing not necessarily
35224 overflowing both real and imaginary parts of result.
35225 * math/s_cexpf.c: Likewise.
35226 * math/s_cexpl.c: Likewise.
35227 * math/libm-test.inc (cexp_test): Add more tests.
35228 * sysdeps/i386/fpu/libm-test-ulps: Update.
35229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35230
352312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35232
35233 * include/link.h (ELFW): New macro.
35234 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35235 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35236
352372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35238
35239 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35240 with uint64_t.
35241
352422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35243
35244 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35245 declaration.
35246 (struct La_x32_retval): Likewise.
35247
352482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35249
35250 * sysdeps/x86_64/preconfigure.in: New file.
35251 * sysdeps/x86_64/preconfigure: New generated file.
35252
352532012-03-22 Joseph Myers <joseph@codesourcery.com>
35254
35255 [BZ #13824]
35256 * math/e_exp2l.c: Include <float.h>.
35257 (__ieee754_exp2l): Handle overflow and underflow cases
35258 separately. Only pass fractional part of argument to
35259 __ieee754_expl.
35260 * math/libm-test.inc (exp2_test): Add more tests.
35261
35262 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35263 negating x to take absolute value.
35264 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35265 Likewise.
35266 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35267 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35268 Likewise.
35269 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35270 computing low part if x was negated.
35271 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35272
352732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35274
35275 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35276 la_x32_gnu_pltexit.
35277 (pltexit): Cast int_retval to ptrdiff_t.
35278 * elf/tst-auditmod3b.c: Likewise.
35279 * elf/tst-auditmod4b.c: Likewise.
35280 * elf/tst-auditmod5b.c: Likewise.
35281 * elf/tst-auditmod6b.c: Likewise.
35282 * elf/tst-auditmod6c.c: Likewise.
35283 * elf/tst-auditmod7b.c: Likewise.
35284
35285 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35286 and x32_gnu_pltexit.
35287
35288 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35289 __ELF_NATIVE_CLASS.
35290 (La_x32_regs): New macro.
35291 (La_x32_retval): Likewise.
35292 (la_x32_gnu_pltenter): New function prototype.
35293 (la_x32_gnu_pltexit): Likewise.
35294
352952012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35296
35297 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35298 exponent.
35299
35300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35301
35302 * configure.in (libc_cv_cc_nofma): Check for option to disable
35303 generation of FMA instructions.
35304 * configure: Regenerate.
35305 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35306 * sysdeps/ieee754/dbl-64/Makefile: New file.
35307 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35308 Remove brandred-fma4.
35309 (CFLAGS-brandred-fma4.c): Remove.
35310 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35311 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35312 define.
35313 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35314 define.
35315
353162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35317
35318 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35319 LLONG_MAX != LONG_MAX.
35320 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35321 (_fitoa_word): Likewise.
35322 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35323 LLONG_MAX != LONG_MAX.
35324 * stdio-common/_itowa.h: Include <_itoa.h>.
35325 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35326 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35327 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35328 only if not defined.
35329 (_ITOA_WORD_TYPE): Likewise.
35330 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35331 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35332
353332012-03-21 David S. Miller <davem@davemloft.net>
35334
35335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35336
353372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35338
35339 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35340 of x86_64 when setting libc_cv_slibdir, libdir and
35341 libc_cv_localedir.
35342 * sysdeps/unix/sysv/linux/configure: Regenerated.
35343
353442012-03-21 Joseph Myers <joseph@codesourcery.com>
35345
35346 * manual/lang.texi (Old Varargs): Remove section.
35347 (How Variadic): Update menu.
35348 (va_start): Do not mention varargs.h.
35349
353502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35351 Joseph Myers <joseph@codesourcery.com>
35352
35353 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35354 link test.
35355 * configure: Regenerated.
35356
353572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35358
35359 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35360 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35361 conformtest.pl
35362
353632012-03-21 Joseph Myers <joseph@codesourcery.com>
35364
35365 * NOTES: Remove.
35366 * Makefile (files-for-dist): Remove NOTES.
35367 (NOTES): Remove rule.
35368 * README: Don't refer to NOTES.
35369 * manual/creature.texi: Don't include macros.texi.
35370 * manual/intro.texi (creature.texi): Remove comment referring to
35371 NOTES.
35372
35373 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35374 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35375 * configure: Regenerated.
35376 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35377 LIBC_TRY_CC_OPTION.
35378 (libc_cv_as_i686): Likewise.
35379 (libc_cv_cc_avx): Likewise.
35380 (libc_cv_cc_sse2avx): Likewise.
35381 (libc_cv_cc_fma4): Likewise.
35382 (libc_cv_cc_novzeroupper): Likewise.
35383 * sysdeps/i386/configure: Regenerated.
35384
35385 [BZ #13883]
35386 * sysdeps/i386/fpu/s_cexp.S: Remove.
35387 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35388 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35389 * math/libm-test.inc (cexp_test): Add more tests.
35390 * sysdeps/i386/fpu/libm-test-ulps: Update.
35391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35392
353932012-03-21 Allan McRae <allan@archlinux.org>
35394
35395 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35396
353972012-03-21 Joseph Myers <joseph@codesourcery.com>
35398
35399 [BZ #13871]
35400 * math/w_exp2.c: Do not include <float.h>.
35401 (o_threshold, u_threshold): Remove.
35402 (__exp2): Calculate result before checking finiteness and calling
35403 __kernel_standard.
35404 * math/w_exp2f.c: Likewise.
35405 * math/w_exp2l.c: Likewise.
35406 * math/libm-test.inc (exp2_test): Require overflow exception for
35407 1e6 input.
35408
35409 [BZ #3866]
35410 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35411 range of signed 64-bit integers before using fistpll. Remove
35412 checks for whether integers fit in mantissa bits.
35413 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35414 the range of signed 32-bit integers before using fistpl. Remove
35415 checks for whether integers fit in mantissa bits.
35416 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35417 (__ieee754_powl): Test for y outside the range of signed 64-bit
35418 integers before using fistpll. Reduce 64-bit values to 63-bit
35419 ones as needed.
35420 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35421 divide-by-zero is raised for zero to large negative powers.
35422 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35423 (__ieee754_powl): Test for y outside the range of signed 64-bit
35424 integers before using fistpll. Reduce 64-bit values to 63-bit
35425 ones as needed.
35426 * math/libm-test.inc (pow_test): Add more tests.
35427
354282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35429
35430 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35431 <stdio-common/_itoa.h>.
35432 * debug/segfault.c: Likewise.
35433 * elf/dl-cache.c: Likewise.
35434 * elf/dl-minimal.c: Likewise.
35435 * elf/dl-misc.c: Likewise.
35436 * elf/dl-sysdep.c: Likewise.
35437 * elf/dl-version.c: Likewise.
35438 * elf/rtld.c: Likewise.
35439 * hurd/hurdsock.c: Likewise.
35440 * hurd/lookup-retry.c: Likewise.
35441 * malloc/malloc.c: Likewise.
35442 * malloc/mtrace.c: Likewise.
35443 * nscd/nscd_getgr_r.c: Likewise.
35444 * nscd/nscd_getpw_r.c: Likewise.
35445 * nscd/nscd_getserv_r.c: Likewise.
35446 * posix/getopt_init.c: Likewise.
35447 * posix/wordexp.c: Likewise.
35448 * stdio-common/_itoa.c: Likewise.
35449 * stdio-common/printf_fphex.c: Likewise.
35450 * stdio-common/vfprintf.c: Likewise.
35451 * string/_strerror.c: Likewise.
35452 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35453 * sysdeps/i386/i686/hp-timing.h: Likewise.
35454 * sysdeps/mach/_strerror.c: Likewise.
35455 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35456 * sysdeps/mach/hurd/sethostid.c: Likewise.
35457 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35458 * sysdeps/mach/xpg-strerror.c: Likewise.
35459 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35460 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35461 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35462 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35463 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35464 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35465 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35466 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35467 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35468 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35469 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35470 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35471 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35472 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35473 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35474 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35475 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35476 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35477 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35478 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35479 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35480
35481 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35482
35483 * stdio-common/_itoa.h: Moved to ...
35484 * sysdeps/generic/_itoa.h: Here.
35485
35486 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35487
35488 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35489 instead of "_itoa.h" and "_itowa.h".
35490 * stdio-common/vfprintf.: Likewise.
35491
354922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35493
35494 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35495 <bits/wordsize.h>.
35496 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35497 (__signbit): Likwise.
35498 (llrintf): Likwise.
35499 (llrint): Likwise.
35500
355012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35502
35503 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35504 __WORDSIZE != 64.
35505
355062012-03-20 Joseph Myers <joseph@codesourcery.com>
35507
35508 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35509 OVERFLOW_EXCEPTION_OK.
35510 * math/libm-test.inc ("Philosophy"): Update comment about
35511 exception testing.
35512 (OVERFLOW_EXCEPTION): Define.
35513 (OVERFLOW_EXCEPTION_OK): Likewise.
35514 (INVALID_EXCEPTION_OK): Renumber.
35515 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35516 (IGNORE_ZERO_INF_SIGN): Likewise.
35517 (test_exceptions): Handle FE_OVERFLOW.
35518 (exp10_test): Expect overflow exceptions.
35519 (exp2_test): Likewise.
35520 (expm1_test): Likewise.
35521 (nextafter_test): Likewise.
35522 (pow_test): Likewise.
35523 (scalbn_test): Likewise.
35524 (scalbln_test): Likewise.
35525
355262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35527
35528 * sysdeps/x86_64/bits/atomic.h
35529 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35530 64bit integer.
35531 (atomic_exchange_acq): Likewise.
35532 (__arch_exchange_and_add_body): Likewise.
35533 (__arch_add_body): Likewise.
35534 (atomic_add_negative): Likewise.
35535 (atomic_add_zero): Likewise.
35536
355372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35538
35539 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35540 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35541
355422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35543
35544 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35545 Check __x86_64__ instead of __WORDSIZE.
35546
355472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35548
35549 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35550
355512012-03-19 David S. Miller <davem@davemloft.net>
35552
35553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35554
35555 * sysdeps/sparc/fpu/fenv_private.h: New file.
35556 * sysdeps/sparc/fpu/math_private.h: Use it.
35557 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35558 Remove.
35559 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35560 (libc_feholdexcept_setroundl): Remove.
35561 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35562 Remove.
35563 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35564 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35565
355662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35567
35568 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35569 int64_t instead of long int.
35570 (INSERT_WORDS64): Likwise.
35571
355722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35573
35574 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35575 _Unwind_GetCFA return to _Unwind_Ptr first.
35576
355772012-03-19 Joseph Myers <joseph@codesourcery.com>
35578
35579 [BZ #13629]
35580 * math/s_clog.c: Include <float.h>.
35581 (__clog): Scale large or subnormal inputs.
35582 * math/s_clogf.c: Likewise.
35583 * math/s_clogl.c: Likewise.
35584 * math/s_clog10.c: Include <float.h>.
35585 (M_LOG10_2): Define.
35586 (__clog10): Scale large or subnormal inputs.
35587 * math/s_clog10f.c: Likewise.
35588 * math/s_clog10l.c: Likewise.
35589 * math/libm-test.inc (clog_test): Add more tests.
35590 (clog10_test): Likewise.
35591 * sysdeps/i386/fpu/libm-test-ulps: Update.
35592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35593
35594 [BZ #11451]
35595 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35596 x and y.
35597 * math/libm-test.inc (atan2_test): Add another test.
35598
35599 * Makerules (common-objdir-compile): Remove.
35600 * sysdeps/unix/Makefile (config-generated): Do not add
35601 $(unix-generated) to variable.
35602 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35603 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35604 Remove rule.
35605 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35606 Likewise.
35607 [generic bits/local_lim.h] (before-compile): Do not append to
35608 variable.
35609 [generic bits/local_lim.h] (common-generated): Likewise.
35610 [generic sys/param.h] (before-compile): Do not append to variable.
35611 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35612 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35613 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35614 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35615 include.
35616 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35617 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35618 [generic sys/param.h] ($(addprefix
35619 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35620 [generic sys/param.h] (common-generated): Do not append to
35621 variable.
35622 [generic sys/param.h] (sysdep_headers): Likewise.
35623 [generic bits/errno.h] (before-compile): Do not append to
35624 variable.
35625 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35626 rule.
35627 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35628 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35629 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35630 [generic bits/errno.h] (common-generated): Do not append to
35631 variable.
35632 [generic bits/ioctls.h] (before-compile): Do not append to
35633 variable.
35634 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35635 rule.
35636 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35637 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35638 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35639 rule.
35640 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35641 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35642 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35643 [generic bits/ioctls.h] (common-generated): Do not append to
35644 variable.
35645 [generic sys/syscall.h] (syscall.h): Remove variable.
35646 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35647 rule.
35648 [generic sys/syscall.h] (before-compile): Do not append to
35649 variable.
35650 [generic sys/syscall.h] (common-generated): Likewise.
35651 * sysdeps/unix/errnos-tmpl.c: Remove file.
35652 * sysdeps/unix/errnos.awk: Likewise.
35653 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35654 * sysdeps/unix/ioctls.awk: Likewise.
35655 * sysdeps/unix/mk-local_lim.c: Likewise.
35656 * sysdeps/unix/snarf-ioctls: Likewise.
35657
356582012-03-19 Richard Henderson <rth@twiddle.net>
35659
35660 * sysdeps/i386/fpu/fenv_private.h: New file.
35661 * sysdeps/i386/fpu/math_private.h: Use it.
35662 (math_opt_barrier, math_force_eval): Remove.
35663 (libc_feholdexcept_setround_53bit): Remove.
35664 (libc_feupdateenv_53bit): Remove.
35665 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35666 (math_opt_barrier, math_force_eval): Remove.
35667 (libc_feholdexcept): Remove.
35668 (libc_feholdexcept_setround): Remove.
35669 (libc_fetestexcept, libc_fesetenv): Remove.
35670 (libc_feupdateenv_test): Remove.
35671 (libc_feupdateenv, libc_feholdsetround): Remove.
35672 (libc_feresetround): Remove.
35673
35674 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35675 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35676
35677 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35678 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35679 (libc_feupdateenv_testl): New.
35680 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35681 (libc_feupdateenv_testf): New.
35682 (libc_feupdateenv): Use libc_feupdateenv_test.
35683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35684 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35685
35686 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35687 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35688 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35689 (libc_feresetround_noex): New.
35690 (libc_feresetround_noexf): New.
35691 (libc_feresetround_noexl): New.
35692 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35693 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35694 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35695 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35696 SET_RESTORE_ROUND.
35697 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35698 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35699 (__cos): Likewise.
35700 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35701 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35702 SET_RESTORE_ROUND_NOEX.
35703 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35704 SET_RESTORE_ROUND_NOEXF.
35705 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35706 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35707 (libc_feholdsetroundf): New.
35708 (libc_feresetround, libc_feresetroundf): New.
35709
35710 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35711 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35712 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35713
35714 * sysdeps/generic/math_private.h: Include <fenv.h>.
35715 (default_libc_feholdexcept): New.
35716 (default_libc_feholdexcept_setround): New.
35717 (default_libc_fesetenv, default_libc_feupdateenv): New.
35718 (libc_feholdexcept): Only define if undefined.
35719 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35720 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35721 (libc_feholdexcept_setroundl): Likewise.
35722 (libc_feholdexcept_setround_53bit): Likewise.
35723 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35724 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35725 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35726 (libc_feupdateenv_53bit): Likewise.
35727 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35728 (libc_feholdexcept): Convert from macro to inline function.
35729 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35730 (libc_fesetenv, libc_feupdateenv): Likewise.
35731
35732 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35733 not previously defined.
35734 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35735 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35736 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35737 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35738 * sysdeps/ieee754/flt-32/math_private.h: New file.
35739 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35740 math_private.h below SET_FLOAT_WORD.
35741 (__isnan, __isinf_ns, __finite): Remove.
35742 (__isnanf, __isinf_nsf, __finitef): Remove.
35743
357442012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35745
35746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35747
357482012-03-17 David S. Miller <davem@davemloft.net>
35749
35750 [BZ #6471]
35751 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35752 for 2.16.
35753
357542012-03-16 David S. Miller <davem@davemloft.net>
35755
35756 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35757 warnings.
35758
35759 [BZ #6471]
35760 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35761 properly.
35762 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35763 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35764 sysdep_routines when subdir is sysvipc.
35765 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35766 __getshmlba helper.
35767
35768 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35769
357702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35771
35772 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35773 [__LP64__].
35774
357752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35776
35777 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35778 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35779 (__lround): Renamed to ...
35780 (__llround): This. Replace long int with long long int.
35781 Define lround functions as aliases of llround functions.
35782 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35783
357842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35785
35786 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35787 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35788 adresses to uintptr_t. Replace "long int" and "unsigned long
35789 int" with "greg_t" on va_arg.
35790
357912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35792
35793 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35794 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35795
35796 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35797 Move e_machine check before EI_CLASS check. Handle x32
35798 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35799 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35800 SKIP_EM_IA_64 and include
35801 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35802
35803 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35804 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35805 (add_system_dir): New macro.
35806
35807 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35808 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35809
358102012-03-16 Joseph Myers <joseph@codesourcery.com>
35811
35812 [BZ #2551]
35813 [BZ #2552]
35814 [BZ #2553]
35815 [BZ #2554]
35816 [BZ #2562]
35817 [BZ #2563]
35818 [BZ #2565]
35819 [BZ #2566]
35820 [BZ #2576]
35821 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35822 (y0): Likewise.
35823 * math/w_j0f.c (j0f): Likewise.
35824 (y0f): Likewise.
35825 * math/w_j0l.c (__j0l): Likewise.
35826 (__y0l): Likewise.
35827 * math/w_j1.c (j1): Likewise.
35828 (y1): Likewise.
35829 * math/w_j1f.c (j1f): Likewise.
35830 (y1f): Likewise.
35831 * math/w_j1l.c (__j1l): Likewise.
35832 (__y1l): Likewise.
35833 * math/w_jn.c (jn): Likewise.
35834 (yn): Likewise.
35835 * math/w_jnf.c (jnf): Likewise.
35836 (ynf): Likewise.
35837 * math/w_jnl.c (__jnl): Likewise.
35838 (__ynl): Likewise.
35839 * math/libm-test.inc (j0_test): Add more tests.
35840 (j1_test): Likewise.
35841 (jn_test): Likewise. Add trailing semicolon to existing test.
35842 (y0_test): Likewise.
35843 (y1_test): Likewise.
35844 * sysdeps/i386/fpu/libm-test-ulps: Update.
35845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35846
35847 [BZ #13851]
35848 [BZ #13854]
35849 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35850 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35851 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35852 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35853 (__tanl): Set errno for infinite argument.
35854 * sysdeps/i386/fpu/mptan.c: Remove.
35855 * sysdeps/i386/fpu/s_tan.S: Likewise.
35856 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35857 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35858 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35859 * math/libm-test.inc (tan_test): Add more tests and enable more
35860 tests for double and long double.
35861 * sysdeps/i386/fpu/libm-test-ulps: Update.
35862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35863
358642012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35865
35866 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35867 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35868
358692012-03-16 Roland McGrath <roland@hack.frob.com>
35870
35871 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35872 * configure.in: Use it for both main tree and add-ons.
35873 * configure: Regenerated.
35874
358752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35876
35877 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35878
358792012-03-16 Joseph Myers <joseph@codesourcery.com>
35880
35881 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35882 in comment.
35883
35884 [BZ #13851]
35885 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35886 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35887 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35888 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35890 infinite argument.
35891 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35892 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35893 != 0 for prec == 2.
35894 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35895 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35896 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35897 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35898 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35899 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35900 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35901 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35902 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35903 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35904 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35905 * math/libm-test.inc (cos_test): Add more tests and enable more
35906 tests for long double.
35907 (sin_test): Likewise.
35908 (sincos_test): Likewise.
35909 * sysdeps/i386/fpu/libm-test-ulps: Update.
35910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35911
359122012-03-16 David S. Miller <davem@davemloft.net>
35913
35914 * sysdeps/sparc/fpu/math_private.h: New file.
35915
359162012-03-15 David S. Miller <davem@davemloft.net>
35917
35918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35919 file.
35920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35922 file.
35923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35929 sysdep routines.
35930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35931
35932 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35933 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35934
35935 * sysdeps/sparc/sparc-ifunc.h: New file.
35936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35937 sparc-ifunc.h
35938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35940 Likewise.
35941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35942 Likewise.
35943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35947 Likewise.
35948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35953 Likewise.
35954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35955 Likewise.
35956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35963 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35974 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35976 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35977 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35978 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35979 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35980
359812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35982
35983 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35984 scaling.
35985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35986
359872012-03-15 Andreas Jaeger <aj@suse.de>
35988
35989 [BZ #13852]
35990 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35991 ieee754/flt-32 implementation for sin, cos and sincos.
35992 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35993 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35994 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35995 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35996 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35997 ieee754/flt-32 implementation for tan.
35998
35999 * math/libm-test.inc (cos_test): Enable some large input tests for
36000 float as well
36001 (sin_test): Likewise.
36002 (sincos_test): Likewise.
36003 (tan_test): Add tests for large input.
36004
36005 * sysdeps/i386/fpu/libm-test-ulps: Update.
36006
360072012-03-15 Andreas Jaeger <aj@suse.de>
36008
36009 [BZ #13658]
36010 * math/libm-test.inc (cos_test): Add more test cases.
36011 (sin_test): Likewise.
36012 (sincos_test): Likewise.
36013
360142012-03-15 Andreas Jaeger <aj@suse.de>
36015
36016 [BZ #13837]
36017 * math/libm-test.inc (cos_test): Add a test case for large input
36018 value.
36019 (sin_test): Likewise.
36020 (sincos_test): Likewise.
36021
360222012-03-15 Andreas Jaeger <aj@suse.de>
36023 Joseph Myers <joseph@codesourcery.com>
36024
36025 [BZ #13658]
36026 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36027 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36028 * sysdeps/i386/fpu/branred.c: Likewise.
36029 * sysdeps/i386/fpu/dosincos.c: Likewise.
36030 * sysdeps/i386/fpu/mpa.c: Likewise.
36031 * sysdeps/i386/fpu/s_cos.S: Likewise.
36032 * sysdeps/i386/fpu/s_sin.S: Likewise.
36033 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36034 * sysdeps/i386/fpu/sincos32.c: Likewise.
36035
36036 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36037 Define.
36038 (libc_feupdateenv_53bit): Define.
36039 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36040 Define.
36041 (libc_feupdateenv_53bit): Define.
36042
36043 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36044 53 bit (without extend i386 double precision).
36045
36046 * math/libm-test.inc (sincos_test): Add tests for large input.
36047 (sin): Likewise.
36048 (cos): Likewise.
36049
36050 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36051
360522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36053
36054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36055
360562012-03-15 David S. Miller <davem@davemloft.net>
36057
36058 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36059 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36060 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36061 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36074 file.
36075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36077 file.
36078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36080 file.
36081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36083 file.
36084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36085 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36086 fmin/fmax sysdep routines.
36087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36088
360892012-03-14 David S. Miller <davem@davemloft.net>
36090
36091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36114 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36117 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36119 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36120 routines.
36121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36122 file.
36123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36125 file.
36126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36128 file.
36129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36131 file.
36132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36134 file.
36135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36137 file.
36138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36139 file.
36140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36141 file.
36142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36143 file.
36144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36145 New file.
36146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36147 file.
36148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36149 file.
36150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36152 file.
36153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36155 file.
36156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36158 file.
36159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36161 VIS3 routines.
36162
36163 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36164 New file.
36165
36166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36167
36168 * sysdeps/sparc/configure.in: New file.
36169 * sysdeps/sparc/configure: Generate.
36170 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36171 * configure: Regenerate.
36172 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36173 * config.make.in (have-as-vis3): New.
36174 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36175 available use -Av9d instead of -Av9a.
36176 * sysdeps/sparc/sparc64/Makefile: Likewise.
36177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36179 New file.
36180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36181 file.
36182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36183 New file.
36184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36185 file.
36186 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36191
36192 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36193 fzeros/fnegs to load 0x80000000 into a float register instead of
36194 using the stack.
36195 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36196
361972012-03-14 Joseph Myers <joseph@codesourcery.com>
36198
36199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36200 bits/syscall.h.
36201 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36202 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36203 ($(inst_includedir)/bits/syscall.h): Remove rule.
36204 ($(objpfx)bits/syscall.d): Include instead of
36205 $(objpfx)syscall-list.d.
36206 (generated): Change syscall-list.h and syscall-list.d to
36207 bits/syscall.h and bits/syscall.d.
36208
362092012-03-14 Roland McGrath <roland@hack.frob.com>
36210
36211 [BZ #13846]
36212 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36213
362142012-03-14 Joseph Myers <joseph@codesourcery.com>
36215
36216 [BZ #13841]
36217 * math/s_csqrt.c: Include <float.h>.
36218 (__csqrt): Scale large or subnormal inputs.
36219 * math/s_csqrtf.c: Likewise.
36220 * math/s_csqrtl.c: Likewise.
36221 * math/libm-test.inc (csqrt_test): Add more tests.
36222 * sysdeps/i386/fpu/libm-test-ulps: Update.
36223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36224
36225 [BZ #13840]
36226 * math/libm-test.inc (hypot_test): Add more tests.
36227
362282012-03-13 David S. Miller <davem@davemloft.net>
36229
36230 [BZ #13840]
36231 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36232 double-precision for the calculation instead of scaling.
36233
362342012-03-13 Joseph Myers <joseph@codesourcery.com>
36235
36236 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36237 manipulate bits before adding and subtracting TWO52[sx].
36238 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36239 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36240 Likewise.
36241 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36242
362432012-03-13 David S. Miller <davem@davemloft.net>
36244
36245 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36246 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36248 rtld-global-offsets.h
36249 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36250
36251 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36252 large parameters.
36253
36254 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36255
36256 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36257 'err' in the ifdef scope in which it is actually used.
36258
36259 * nss/nss_db/db-init.c: Include string.h
36260
362612012-03-12 David S. Miller <davem@davemloft.net>
36262
36263 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36264 masking out of the most significant byte of random value used.
36265 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36266 Fix coding style in previous change.
36267
36268 * sysdeps/unix/sysv/linux/kernel-features.h
36269 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36270 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36271 expression.
36272 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36273 later.
36274
362752012-03-11 David S. Miller <davem@davemloft.net>
36276
36277 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36278 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36279 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36280 for 'resultvar' otherwise things get truncated on 64-bit.
36281
36282 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36283 Fix masking out of the most significant byte of random value used.
36284
36285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36286
362872012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36288
36289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36290
362912012-03-09 David S. Miller <davem@davemloft.net>
36292
36293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36294 variables with appropriate CPP guards.
36295 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36296 from the frame pointer, not the stack pointer. Correct layout
36297 comments. Fix test on resulting framesize and the management of
36298 the outregs buffer for pltexit. Preserve floating point return
36299 values across _dl_call_pltexit call.
36300 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36301 framesize and the management of the outregs buffer for pltexit.
36302 Preserve floating point return values across _dl_call_pltexit
36303 call.
36304 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36305 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36306 (la_sparc64_gnu_pltexit): New functions.
36307 (print_exit): Fix format string for return register value.
36308
363092012-03-10 Joseph Myers <joseph@codesourcery.com>
36310
36311 * sunrpc/Makefile (others): Add rpcgen.
36312 ($(objpfx)rpcgen): Remove special build rule and dependency on
36313 libc.
36314 * sunrpc/rpcgen.c: New file.
36315
363162012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36317
36318 [BZ #13673]
36319 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36320 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36321 * sysdeps/i386/crti.S: Likewise.
36322 * sysdeps/i386/crtn.S: Likewise.
36323 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36324 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36325 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36326 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36327 * sysdeps/sh/crti.S: Likewise.
36328 * sysdeps/sh/crtn.S: Likewise.
36329 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36330
36331 [BZ #13673]
36332 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36333 with URL.
36334 * locale/programs/locfile-kw.gperf: Likewise.
36335 * locale/programs/charmap-kw.h: Regenerated.
36336 * locale/programs/locfile-kw.h: Likewise.
36337
36338 [BZ #13673]
36339 * intl/plural.y: Replace FSF snail mail address with URL.
36340 * intl/plural.c: Regenerated.
36341
363422012-03-09 Richard Henderson <rth@twiddle.net>
36343
36344 * include/math_private.h: Remove file.
36345 * math/math_private.h: Move file ...
36346 * sysdeps/generic/math_private.h: ... here.
36347
36348 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36349 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36350 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36351
36352 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36353 and <math_private.h>.
36354 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36355 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36356 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36357 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36358 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36359 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36360 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36361 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36362 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36363 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36365 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36366 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36367 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36368 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36369 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36370 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36371 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36372 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36373 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36375 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36376 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36378 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36379 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36380 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36381 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36383 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36384 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36385 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36386 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36387 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36388 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36389 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36390 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36391 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36392 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36393 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36394 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36395 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36396 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36397 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36398 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36399 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36400 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36401 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36402 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36403 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36404 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36405 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36406 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36407 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36408 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36409 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36410 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36411 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36412 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36413 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36414 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36415 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36416 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36417 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36418 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36419 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36420 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36421 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36422 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36423 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36424 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36425 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36426 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36427 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36428 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36430 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36432 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36433 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36434 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36435 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36436 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36437 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36438 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36439 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36440 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36441 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36442 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36443 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36444 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36445 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36446 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36447 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36448 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36449 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36450 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36451 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36452 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36453 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36454 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36455 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36456 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36457 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36458 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36459 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36460 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36461 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36462 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36463 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36464 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36465 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36466 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36467 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36468 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36469 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36470 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36471 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36472 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36473 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36474 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36475 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36476 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36477 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36478 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36479 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36480 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36481 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36482 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36483 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36484 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36485 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36486 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36487 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36488 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36489 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36490 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36491 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36492 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36493 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36494 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36495 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36496 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36497 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36498 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36499 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36500 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36501 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36502 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36503 * sysdeps/ieee754/k_standard.c: Likewise.
36504 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36505 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36506 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36507 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36508 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36509 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36510 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36511 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36512 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36513 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36514 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36515 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36516 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36517 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36518 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36519 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36520 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36521 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36522 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36523 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36524 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36525 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36526 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36527 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36528 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36529 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36530 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36531 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36532 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36533 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36534 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36535 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36536 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36537 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36538 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36539 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36540 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36541 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36542 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36543 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36544 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36545 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36546 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36547 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36548 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36549 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36550 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36551 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36552 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36553 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36554 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36555 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36556 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36557 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36558 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36559 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36560 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36561 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36562 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36563 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36564 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36565 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36566 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36567 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36568 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36569 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36570 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36571 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36572 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36573 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36574 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36575 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36576 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36577 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36578 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36579 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36580 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36581 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36582 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36583 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36584 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36585 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36586 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36587 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36589 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36590 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36591 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36592 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36593 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36594 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36595 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36596 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36597 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36598 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36599 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36600 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36601 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36602 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36603 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36604 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36605 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36606 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36607 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36608 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36609 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36610 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36611 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36612 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36613 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36614 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36615 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36616 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36617 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36618 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36619 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36620 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36621 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36622 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36623 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36624 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36625 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36626 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36627 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36628 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36629 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36630 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36631 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36632 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36633 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36634 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36635 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36636 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36637 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36638 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36639 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36640 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36641 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36642 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36643 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36644 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36645 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36646 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36647 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36648 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36649 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36650 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36651 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36652 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36653 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36654 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36655 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36656 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36657 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36658 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36659 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36660 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36661 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36662 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36663 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36664 * sysdeps/ieee754/s_lib_version.c: Likewise.
36665 * sysdeps/ieee754/s_matherr.c: Likewise.
36666 * sysdeps/ieee754/s_signgam.c: Likewise.
36667 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36668 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36669 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36670 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36671 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36672 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36673 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36674 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36675 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36676 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36677 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36678 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36679 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36680 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36681 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36682 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36683 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36684 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36685 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36686 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36687 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36688
366892012-03-09 Joseph Myers <joseph@codesourcery.com>
36690
36691 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36692 * sunrpc/rpc_main.c: Likewise.
36693 * sunrpc/rpc_svcout.c: Likewise.
36694
366952012-03-09 David S. Miller <davem@davemloft.net>
36696
36697 * include/math_private.h: New file.
36698
366992012-03-09 Joseph Myers <joseph@codesourcery.com>
36700
36701 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36702 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36703 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36704 from <bits/socket_type.h>.
36705 (enum __socket_type): Don't define here.
36706 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36708 bits/socket_type.h.
36709
36710 [BZ #13566]
36711 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36712 checking __USE_GNU.
36713
36714 * Makerules ($(inst_includedir)/%.h): New rule.
36715 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36716 (install-others): Remove variable setting.
36717 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36718
367192012-03-08 Richard Henderson <rth@twiddle.net>
36720
36721 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36722 from macro to inline function; merge with the
36723 !__LIBC_INTERNAL_MATH_INLINES version.
36724 (__ieee754_sqrtf): Likewise.
36725
36726 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36727 to inline function.
36728 (__rintf, __floor, __floorf): Likewise.
36729
36730 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36731 macro to inline function.
36732 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36733
36734 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36735 not <math/math_private.h>.
36736
367372012-03-08 David S. Miller <davem@davemloft.net>
36738
36739 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36740 copyright year.
36741 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36742
367432012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36744
36745 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36746 normalization.
36747 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36748 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36749
367502012-03-08 Ulrich Drepper <drepper@gmail.com>
36751
36752 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36753 be defined individually, they must be defined as a block. Define
36754 S for printing a string instead of hidint the different by using a
36755 macro for adding the 'l'.
36756 * stdio-common/tst-fphex-wide.c: Adjust.
36757
367582012-03-07 Marek Polacek <polacek@redhat.com>
36759
36760 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36761
367622012-03-08 Marek Polacek <polacek@redhat.com>
36763
36764 [BZ #13806]
36765 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36766 * stdio-common/tst-fphex.c: Define a few macros to make the
36767 test reusable. Use them.
36768 * stdio-common/tst-fphex-wide.c: New file.
36769
367702012-03-08 Joseph Myers <joseph@codesourcery.com>
36771
36772 [BZ #6911]
36773 * manual/macros.texi (gnusystems): New macro.
36774 (nongnusystems): Likewise.
36775 (gnulinuxhurdsystems): Likewise.
36776 (gnuhurdsystems): Likewise..
36777 (gnulinuxsystems): Likewise.
36778 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36779 variants of the GNU system, not "GNU system".
36780 * manual/conf.texi: Likewise.
36781 * manual/errno.texi: Likewise. Update example of errno macro
36782 expansion.
36783 * manual/filesys.texi: Likewise.
36784 (getumask): Document as specific to GNU/Hurd.
36785 * manual/install.texi: Likewise. Reword some references to
36786 GNU/Linux.
36787 * manual/intro.texi: Likewise.
36788 * manual/io.texi: Likewise.
36789 (File Name Portability): Detail which constraints are inapplicable
36790 to all GNU systems and which are only inapplicable to GNU/Hurd.
36791 * manual/job.texi: Likewise.
36792 * manual/llio.texi: Likewise.
36793 (O_NOCTTY): Document as present on GNU/Linux.
36794 * manual/maint.texi: Likewise.
36795 * manual/memory.texi: Likewise.
36796 * manual/pattern.texi: Likewise.
36797 * manual/pipe.texi: Likewise.
36798 * manual/process.texi: Likewise.
36799 * manual/resource.texi: Likewise.
36800 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36801 child on GNU/Hurd.
36802 * manual/setjmp.texi: Likewise.
36803 * manual/signal.texi: Likewise.
36804 * manual/startup.texi: Likewise.
36805 * manual/stdio.texi: Likewise.
36806 * manual/terminal.texi: Likewise.
36807 (ONLCR): Document as POSIX.
36808 (OXTABS): Document availability on GNU/Linux as XTABS.
36809 (ONOEOT): Document availability separately from other bits.
36810 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36811 * manual/time.texi: Likewise.
36812 * manual/users.texi: Likewise.
36813 * INSTALL: Regenerated.
36814 * sysdeps/gnu/errlist.c: Regenerated.
36815
36816 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36817 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36818 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36819 puts.
36820 * configure: Regenerated.
36821
368222012-03-07 Joseph Myers <joseph@codesourcery.com>
36823
36824 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36825 default includes instead of AC_HEADER_CHECK.
36826 * sysdeps/i386/configure: Regenerated.
36827
36828 [BZ #10716]
36829 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36830 * math/s_cacoshf.c (__cacoshf): Likewise.
36831 * math/s_cacoshl.c (__cacoshl): Likewise.
36832 * math/s_casinh.c (__casinh): Set signs of result from argument.
36833 * math/s_casinhf.c (__casinhf): Likewise.
36834 * math/s_casinhl.c (__casinhl): Likewise.
36835 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36836 (casinh_test): Add more tests.
36837 * sysdeps/i386/fpu/libm-test-ulps: Update.
36838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36839
368402012-03-07 Ulrich Drepper <drepper@gmail.com>
36841
36842 * po/zh_TW.po: Update from translation team.
36843
36844 * login/Makefile (distribute): Remove variable.
36845 * catgets/Makefile: Likewise.
36846 * mach/Makefile: Likewise.
36847 * malloc/Makefile: Likewise.
36848 * misc/Makefile: Likewise.
36849 * iconv/Makefile: Likewise.
36850 * nscd/Makefile: Likewise.
36851 * hurd/Makefile: Likewise.
36852 * manual/Makefile: Likewise.
36853 * locale/Makefile: Likewise.
36854 * intl/Makefile: Likewise.
36855 * conform/Makefile: Likewise.
36856 * nss/Makefile: Likewise.
36857 * time/Makefile: Likewise.
36858 * soft-fp/Makefile: Likewise.
36859 * dirent/Makefile: Likewise.
36860 * gmon/Makefile: Likewise.
36861 * po/Makefile: Likewise.
36862 * rt/Makefile: Likewise.
36863 * socket/Makefile: Likewise.
36864 * math/Makefile: Likewise.
36865 * signal/Makefile: Likewise.
36866 * debug/Makefile: Likewise.
36867 * elf/Makefile: Likewise.
36868 * timezone/Makefile: Likewise.
36869 * stdlib/Makefile: Likewise.
36870 * iconvdata/Makefile: Likewise.
36871 * sunrpc/Makefile: Likewise.
36872 * io/Makefile: Likewise.
36873 * argp/Makefile: Likewise.
36874 * inet/Makefile: Likewise.
36875 * hesiod/Makefile: Likewise.
36876 * grp/Makefile: Likewise.
36877 * csu/Makefile: Likewise.
36878 * wctype/Makefile: Likewise.
36879 * crypt/Makefile: Likewise.
36880 * libio/Makefile: Likewise.
36881 * string/Makefile: Likewise.
36882 * nis/Makefile: Likewise.
36883 * resolv/Makefile: Likewise.
36884 * stdio-common/Makefile: Likewise.
36885 * wcsmbs/Makefile: Likewise.
36886 * dlfcn/Makefile: Likewise.
36887 * posix/Makefile: Likewise.
36888
36889 [BZ #6959]
36890 * timezone/Makefile: Don't install timezone files, just the programs
36891 and scripts.
36892
368932012-03-06 Ulrich Drepper <drepper@gmail.com>
36894
36895 * nss/databases.def: Add missing gshadow entry.
36896
36897 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36898
368992012-03-06 Marek Polacek <polacek@redhat.com>
36900
36901 [BZ #13726]
36902 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36903 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36904 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36905 * stdio-common/tst-long-dbl-fphex.c: New file.
36906
369072012-03-06 David S. Miller <davem@davemloft.net>
36908
36909 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36910 (set_obp_int): New function.
36911 (get_obp_int): New function.
36912 (__get_clockfreq_via_dev_openprom): Likewise.
36913 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36914 Avoid unused variable warnings on 'val' and use builtin_expect.
36915 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36916 __builtin_expect.
36917 (INLINE_CLONE_SYSCALL): Likewise.
36918
369192012-03-05 David S. Miller <davem@davemloft.net>
36920
36921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36922
369232012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36924
36925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36926
36927 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36928 only for |x| >= 40.
36929 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36930
369312012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36932
36933 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36934 Replace gettimeofday with __vdso_gettimeofday.
36935
36936 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36937 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36938 __vdso_clock_gettime and __vdso_getcpu.
36939
36940 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36941 time with __vdso_time.
36942
369432012-03-05 Joseph Myers <joseph@codesourcery.com>
36944
36945 * manual/lang.texi (size_t): Note types to which size_t may be
36946 equivalent with the GNU C Library, but do not describe when
36947 differences between them are significant.
36948
369492012-03-05 Andreas Jaeger <aj@suse.de>
36950
36951 * sysdeps/i386/fpu/libm-test-ulps: Update.
36952
369532012-03-05 Joseph Myers <joseph@codesourcery.com>
36954
36955 [BZ #3976]
36956 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36957 (__ieee754_pow): Save and restore rounding mode and use
36958 round-to-nearest for main computations.
36959 * math/libm-test.inc (pow_test_tonearest): New function.
36960 (pow_test_towardzero): Likewise.
36961 (pow_test_downward): Likewise.
36962 (pow_test_upward): Likewise.
36963 (main): Call the new functions.
36964 * sysdeps/i386/fpu/libm-test-ulps: Update.
36965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36966
36967 [BZ #3976]
36968 * math/libm-test.inc (cosh_test_tonearest): New function.
36969 (cosh_test_towardzero): Likewise.
36970 (cosh_test_downward): Likewise.
36971 (cosh_test_upward): Likewise.
36972 (sinh_test_tonearest): Likewise.
36973 (sinh_test_towardzero): Likewise.
36974 (sinh_test_downward): Likewise.
36975 (sinh_test_upward): Likewise.
36976 (main): Call the new functions.
36977 * sysdeps/i386/fpu/libm-test-ulps: Update.
36978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36979
369802012-03-05 Tom de Vries <tom@codesourcery.com>
36981
36982 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36983 default stack guard is set in last bytes.
36984 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36985
369862012-03-05 Kees Cook <keescook@chromium.org>
36987
36988 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
36989
36990 [BZ #13656]
36991 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36992 possibly allocate from heap instead of stack.
36993 * stdio-common/bug-vfprintf-nargs.c: New file.
36994 * stdio-common/Makefile (tests): Add nargs overflow test.
36995
369962012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36997
36998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36999
370002012-03-03 Marek Polacek <polacek@redhat.com>
37001
37002 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37003 * math/math_private.h: Likewise.
37004 * stdlib/tst-strtod.c: Likewise.
37005 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37006 * sysdeps/x86_64/bits/atomic.h: Likewise.
37007
370082012-03-02 David S. Miller <davem@davemloft.net>
37009
37010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37014 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37015 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37016 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37017 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37018
370192012-03-02 Roland McGrath <roland@hack.frob.com>
37020
37021 [BZ #13792]
37022 * manual/examples/README: New file, says the example source files
37023 can be used under GPL>=2.
37024 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37025 line containing just "*/".
37026 * manual/examples/add.c: Add copyright header (GPL>=2).
37027 * manual/examples/argp-ex1.c: Likewise.
37028 * manual/examples/argp-ex2.c: Likewise.
37029 * manual/examples/argp-ex3.c: Likewise.
37030 * manual/examples/argp-ex4.c: Likewise.
37031 * manual/examples/atexit.c: Likewise.
37032 * manual/examples/db.c: Likewise.
37033 * manual/examples/dir.c: Likewise.
37034 * manual/examples/dir2.c: Likewise.
37035 * manual/examples/execinfo.c: Likewise.
37036 * manual/examples/filecli.c: Likewise.
37037 * manual/examples/filesrv.c: Likewise.
37038 * manual/examples/fmtmsgexpl.c: Likewise.
37039 * manual/examples/genpass.c: Likewise.
37040 * manual/examples/inetcli.c: Likewise.
37041 * manual/examples/inetsrv.c: Likewise.
37042 * manual/examples/isockad.c: Likewise.
37043 * manual/examples/longopt.c: Likewise.
37044 * manual/examples/memopen.c: Likewise.
37045 * manual/examples/memstrm.c: Likewise.
37046 * manual/examples/mkfsock.c: Likewise.
37047 * manual/examples/mkisock.c: Likewise.
37048 * manual/examples/mygetpass.c: Likewise.
37049 * manual/examples/pipe.c: Likewise.
37050 * manual/examples/popen.c: Likewise.
37051 * manual/examples/rprintf.c: Likewise.
37052 * manual/examples/search.c: Likewise.
37053 * manual/examples/select.c: Likewise.
37054 * manual/examples/setjmp.c: Likewise.
37055 * manual/examples/sigh1.c: Likewise.
37056 * manual/examples/sigusr.c: Likewise.
37057 * manual/examples/stpcpy.c: Likewise.
37058 * manual/examples/strdupa.c: Likewise.
37059 * manual/examples/strftim.c: Likewise.
37060 * manual/examples/strncat.c: Likewise.
37061 * manual/examples/subopt.c: Likewise.
37062 * manual/examples/swapcontext.c: Likewise.
37063 * manual/examples/termios.c: Likewise.
37064 * manual/examples/testopt.c: Likewise.
37065 * manual/examples/testpass.c: Likewise.
37066 * manual/examples/timeval_subtract.c: Likewise.
37067
37068 [BZ #13792]
37069 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37070 function to ...
37071 * manual/timeval_subtract.c.texi: ... here, new file.
37072
370732012-03-02 David S. Miller <davem@davemloft.net>
37074
37075 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37076
370772012-03-02 Joseph Myers <joseph@codesourcery.com>
37078
37079 [BZ #3976]
37080 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37081 (__sin): Save and restore rounding mode and use round-to-nearest
37082 for all computations.
37083 (__cos): Save and restore rounding mode and use round-to-nearest
37084 for all computations.
37085 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37086 <fenv.h>.
37087 (tan): Save and restore rounding mode and use round-to-nearest for
37088 all computations.
37089 * math/libm-test.inc (cos_test_tonearest): New function.
37090 (cos_test_towardzero): Likewise.
37091 (cos_test_downward): Likewise.
37092 (cos_test_upward): Likewise.
37093 (sin_test_tonearest): Likewise.
37094 (sin_test_towardzero): Likewise.
37095 (sin_test_downward): Likewise.
37096 (sin_test_upward): Likewise.
37097 (tan_test_tonearest): Likewise.
37098 (tan_test_towardzero): Likewise.
37099 (tan_test_downward): Likewise.
37100 (tan_test_upward): Likewise.
37101 (main): Call the new functions.
37102 * sysdeps/i386/fpu/libm-test-ulps: Update.
37103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37104
37105 [BZ #10135]
37106 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37107 small n, then large n, before computing and testing k+n.
37108 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37109 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37110 Likewise.
37111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37112 Likewise.
37113 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37114 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37115 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37116 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37117 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37118 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37119 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37120 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37121 * math/libm-test.inc (scalbn_test): Add more tests.
37122 (scalbln_test): Likewise.
37123
37124 * manual/filesys.texi (mode_t): Describe constraints on size and
37125 signedness, not exact equivalence to a particular type.
37126 (ino_t): Likewise.
37127 (ino64_t): Likewise.
37128 (dev_t): Likewise.
37129 (nlink_t): Likewise.
37130 (blkcnt_t): Likewise.
37131 (blkcnt64_t): Likewise.
37132 * manual/llio.texi (off_t): Likewise.
37133
37134 [BZ #3976]
37135 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37136 (__ieee754_exp): Save and restore rounding mode and use
37137 round-to-nearest for all computations.
37138 * math/libm-test.inc (exp_test_tonearest): New function.
37139 (exp_test_towardzero): Likewise.
37140 (exp_test_downward): Likewise.
37141 (exp_test_upward): Likewise.
37142 (main): Call the new functions.
37143 * sysdeps/i386/fpu/libm-test-ulps: Update.
37144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37145
371462012-03-01 Chris Demetriou <cgd@google.com>
37147
37148 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37149 have predictable order.
37150
371512012-03-01 David S. Miller <davem@davemloft.net>
37152
37153 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37154
37155 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37156 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37157 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37158 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37159
37160 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37161 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37162 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37164 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37165 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37166 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37167 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37168 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37169
37170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37171
37172 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37173 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37174 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37175
37176 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37177 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37178 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37179 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37180 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37181 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37183 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37184 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37185 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37186 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37187 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37188 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37189 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37190 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37191 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37192 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37193 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37194 * sysdeps/sparc/elf/configure: Regenerated.
37195
371962012-03-01 Joseph Myers <joseph@codesourcery.com>
37197
37198 * configure.in (AS, LD): Require binutils 2.20 or later.
37199 * configure: Regenerated.
37200 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37201 as required minimum version.
37202 * INSTALL: Regenerated.
37203
37204 [BZ #2541]
37205 [BZ #4108]
37206 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37207 before squaring exponent.
37208 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37209 bottom long double and 27 bits of top long double before squaring
37210 exponent.
37211 * math/libm-test.inc (erfc_test): Add more tests.
37212 * sysdeps/i386/fpu/libm-test-ulps: Update.
37213 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37215
372162012-03-01 Kai Tietz <ktietz@redhat.com>
37217
37218 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37219 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37220 containing bit-fields.
37221 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37222 * soft-fp/single.h (_FP_UNION_S): Likewise.
37223 * soft-fp/double.h (_FP_UNION_D): Likewise.
37224
372252012-02-29 Joseph Myers <joseph@codesourcery.com>
37226
37227 [BZ #13786]
37228 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37229 not include ../strcmp.S.
37230 [USE_AS_STRNCASECMP_L]: Likewise.
37231 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37232 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37233 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37234 (__strncasecmp_l_ia32): Define as alias to
37235 __strncasecmp_l_nonascii.
37236
37237 [BZ #5794]
37238 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37239 * sysdeps/i386/fpu/libm-test-ulps: Update.
37240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37241
37242 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37244
372452012-02-29 Jeff Law <law@redhat.com>
37246
37247 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37248 out of bounds read.
37249
372502012-02-29 Marek Polacek <polacek@redhat.com>
37251
37252 [BZ #13706]
37253 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37254 * elf/Makefile: Add rules to run tst-unused-dep.out.
37255
372562012-02-28 David S. Miller <davem@davemloft.net>
37257
37258 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37259 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37260 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37261 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37262 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37263 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37264
372652012-02-29 Joseph Myers <joseph@codesourcery.com>
37266
37267 * math/libm-test.inc (llround_test): Move one test from
37268 lround_test. Use TEST_f_L in moved test.
37269 (lround_test): Move misplaced test to llround_test. Add testcase
37270 from bug 2561.
37271
372722012-02-28 Ulrich Drepper <drepper@gmail.com>
37273
37274 * sysdeps/x86_64/fpu/e_expf.S: New file.
37275 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37276
372772012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37278
37279 [BZ #13637]
37280 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37281 of remain_len that may cause incomplete multi-byte character and
37282 false match.
37283 * posix/bug-regex33.c: New file.
37284 * posix/Makefile (tests): Add bug-regex33.
37285
372862012-02-28 Joseph Myers <joseph@codesourcery.com>
37287
37288 * manual/macros.texi: New file.
37289 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37290 * manual/libc.texinfo: Include macros.texi.
37291 * manual/creatute.texi: Likewise.
37292 * manual/install.texi: Likewise.
37293 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37294 @glibcadj{} in references to the GNU C Library.
37295 * manual/charset.texi: Likewise.
37296 * manual/conf.texi: Likewise.
37297 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37298 when not using those macros.
37299 * manual/creature.texi: Likewise.
37300 * manual/crypt.texi: Likewise.
37301 * manual/errno.texi: Likewise.
37302 * manual/filesys.texi: Likewise.
37303 * manual/header.texi: Likewise.
37304 * manual/install.texi: Likewise.
37305 * manual/intro.texi: Likewise.
37306 * manual/io.texi: Likewise.
37307 * manual/job.texi: Likewise.
37308 * manual/lang.texi: Likewise.
37309 * manual/libc.texiinfo: Likewise.
37310 * manual/llio.texi: Likewise.
37311 * manual/locale.texi: Likewise.
37312 * manual/maint.texi: Likewise.
37313 * manual/math.texi: Likewise.
37314 * manual/memory.texi: Likewise.
37315 * manual/message.texi: Likewise.
37316 * manual/nss.texi: Likewise.
37317 * manual/pattern.texi: Likewise.
37318 * manual/process.texi: Likewise.
37319 * manual/resource.texi: Likewise.
37320 * manual/search.texi: Likewise.
37321 * manual/setjmp.texi: Likewise.
37322 * manual/signal.texi: Likewise.
37323 * manual/socket.texi: Likewise.
37324 * manual/startup.texi: Likewise.
37325 * manual/stdio.texi: Likewise.
37326 * manual/string.texi: Likewise.
37327 * manual/sysinfo.texi: Likewise.
37328 * manual/syslog.texi: Likewise.
37329 * manual/terminal.texi: Likewise.
37330 * manual/time.texi: Likewise.
37331 * manual/users.texi: Likewise.
37332 * INSTALL: Regenerated.
37333 * NOTES: Regenerated.
37334 * sysdeps/gnu/errlist.c: Regenerated.
37335
373362012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37337
37338 * include/dirent.h: Include <dirstream.h> before
37339 <dirent/dirent.h>.
37340
373412012-02-28 David S. Miller <davem@davemloft.net>
37342
37343 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37344 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37345 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37346 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37347
373482012-02-27 David S. Miller <davem@davemloft.net>
37349
37350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37352 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37353 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37354
37355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37356 frame pointer instead of stack pointer relative arg slot.
37357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37358 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37359 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37360
373612012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37362
37363 [BZ #3992]
37364 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37365
373662012-02-27 David S. Miller <davem@davemloft.net>
37367
37368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37372 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37373 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37374 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37375 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37376
373772012-02-27 Joseph Myers <joseph@codesourcery.com>
37378
37379 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37380 later. Allow versions 5-9.
37381 * configure: Regenerated.
37382 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37383 required minimum version and 4.6 as recommended version. Do not
37384 mention bugs in GCC 2.7 and 2.8.
37385 * INSTALL: Regenerated.
37386
373872012-02-27 David S. Miller <davem@davemloft.net>
37388
37389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37393 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37394 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37395 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37396 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37397
37398 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37399 manipulate bits before adding and subtracting TWO112[sx].
37400 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37401
374022012-02-27 Roland McGrath <roland@hack.frob.com>
37403
37404 [BZ #13775]
37405 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37406 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37407 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37408 being in POSIX, because they are in 1003.1-2008.
37409
37410 * rt/tst-aio.c: Include <fcntl.h>.
37411 * rt/tst-aio7.c: Likewise.
37412 * rt/tst-aio64.c: Likewise.
37413
37414 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37415
374162012-02-27 Joseph Myers <joseph@codesourcery.com>
37417
37418 * manual/install.texi (--with-headers): Describe headers as
37419 interface headers, not private headers.
37420 (Specific advice for GNU/Linux systems): Describe use of headers
37421 from "make headers_install", not private headers from older
37422 kernels.
37423 * INSTALL: Regenerated.
37424 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37425 Change to 2.6.19.
37426 * sysdeps/unix/sysv/linux/configure: Regenerated.
37427
37428 * manual/llio.texi (fclean): Remove documentation.
37429
37430 * manual/Makefile (libc-texi-generated): New variable. Include
37431 version.texi.
37432 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37433 $(libc-texi-generated), not duplicated list of files.
37434 (version.texi, stamp-version): New rules.
37435 (realclean): Remove $(libc-texi-generated), not individual files
37436 from that list. Do not remove dir-add.texinfo.
37437 * manual/libc.texinfo: Comment out uses of edition numbers and
37438 references to printed manual. Remove last-updated dates.
37439 (EDITION): Comment out.
37440 (ISBN): Likewise.
37441 (VERSION, UPDATED): Remove.
37442 (version.texi): Include.
37443
374442012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37445
37446 * sysdeps/posix/spawni.c: Include <signal.h>.
37447 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37448 * sysdeps/pthread/aio_fsync.c: Likewise.
37449
374502012-02-26 Ulrich Drepper <drepper@gmail.com>
37451
37452 * conform/Makefile (tests): Run only when not cross-compiling and
37453 when fast-check is not defined.
37454
37455 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37456 * conform/data/limits.h-data: Fixes for POSIX2008.
37457 * conform/run-conformtest.sh: Run all tests.
37458 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37459 headers.
37460 * include/bits/dlfcn.h: Likewise.
37461 * include/langinfo.h: Likewise.
37462 * include/monetary.h: Likewise.
37463 * include/sys/poll.h: Likewise.
37464
37465 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37466 for __USE_GNU.
37467 * posix/spawn.h: Define __need_sigset_t.
37468 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37469 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37470 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37471 to get sigevent_t only.
37472 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37473 only for __USE_GNU.
37474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37475 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37476 process_vm_writev only for __USE_GNU.
37477 * termios/termios.h: Declare tcgetsid also for POSIX2008.
37478
37479 * conform/Makefile: For now ignore errors from run-conformtest.
37480 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37481 POSIX to avoid namespace pollution. Don't prepend headers.
37482 * conform/data/aio.h-data: Fixes for POSIX testing.
37483 * conform/data/fcntl.h-data: Likewise.
37484 * conform/data/glob.h-data: Likewise.
37485 * conform/data/grp.h-data: Likewise.
37486 * conform/data/pthread.h-data: Likewise.
37487 * conform/data/pwd.h-data: Likewise.
37488 * conform/data/signal.h-data: Likewise.
37489 * conform/data/spawn.h-data: Likewise.
37490 * conform/data/stdio.h-data: Likewise.
37491 * conform/data/stdlib.h-data: Likewise.
37492 * conform/data/stropts.h-data: Likewise.
37493 * conform/data/sys/mman.h-data: Likewise.
37494 * conform/data/sys/stat.h-data: Likewise.
37495 * conform/data/sys/types.h-data: Likewise.
37496 * conform/data/sys/wait.h-data: Likewise.
37497 * conform/data/time.h-data: Likewise.
37498 * conform/data/unistd.h-data: Likewise.
37499 * conform/data/utime.h-data: Likewise.
37500
37501 * io/sys/stat.h: fchmod was always in POSIX.
37502 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37503 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37504 * rt/aio.h: Define __need_timespec before including <time.h>.
37505 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37506 struct. Add forward declaration of pthread_attr_t and use it in
37507 sigevent.
37508 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37509 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37510 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37511 always remove CLK_TCK definition.
37512
375132012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37514
37515 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37516
375172012-02-25 Ulrich Drepper <drepper@gmail.com>
37518
37519 * conform/run-conformtest.sh: New file.
37520 * conform/Makefile: Run run-conformtest for tests.
37521 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37522 support.
37523
37524 * conform/data/uchar.h-data: New file.
37525 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37526 * conform/data/arpa/inet.h-data: Likewise.
37527 * conform/data/assert.h-data: Likewise.
37528 * conform/data/complex.h-data: Likewise.
37529 * conform/data/cpio.h-data: Likewise.
37530 * conform/data/ctype.h-data: Likewise.
37531 * conform/data/dirent.h-data: Likewise.
37532 * conform/data/dlfcn.h-data: Likewise.
37533 * conform/data/errno.h-data: Likewise.
37534 * conform/data/fcntl.h-data: Likewise.
37535 * conform/data/float.h-data: Likewise.
37536 * conform/data/fmtmsg.h-data: Likewise.
37537 * conform/data/fnmatch.h-data: Likewise.
37538 * conform/data/ftw.h-data: Likewise.
37539 * conform/data/glob.h-data: Likewise.
37540 * conform/data/grp.h-data: Likewise.
37541 * conform/data/iconv.h-data: Likewise.
37542 * conform/data/inttypes.h-data: Likewise.
37543 * conform/data/langinfo.h-data: Likewise.
37544 * conform/data/libgen.h-data: Likewise.
37545 * conform/data/limits.h-data: Likewise.
37546 * conform/data/locale.h-data: Likewise.
37547 * conform/data/math.h-data: Likewise.
37548 * conform/data/monetary.h-data: Likewise.
37549 * conform/data/mqueue.h-data: Likewise.
37550 * conform/data/ndbm.h-data: Likewise.
37551 * conform/data/net/if.h-data: Likewise.
37552 * conform/data/netdb.h-data: Likewise.
37553 * conform/data/netinet/in.h-data: Likewise.
37554 * conform/data/nl_types.h-data: Likewise.
37555 * conform/data/poll.h-data: Likewise.
37556 * conform/data/pthread.h-data: Likewise.
37557 * conform/data/pwd.h-data: Likewise.
37558 * conform/data/regex.h-data: Likewise.
37559 * conform/data/sched.h-data: Likewise.
37560 * conform/data/search.h-data: Likewise.
37561 * conform/data/semaphore.h-data: Likewise.
37562 * conform/data/setjmp.h-data: Likewise.
37563 * conform/data/signal.h-data: Likewise.
37564 * conform/data/spawn.h-data: Likewise.
37565 * conform/data/stdarg.h-data: Likewise.
37566 * conform/data/stdio.h-data: Likewise.
37567 * conform/data/stdlib.h-data: Likewise.
37568 * conform/data/string.h-data: Likewise.
37569 * conform/data/strings.h-data: Likewise.
37570 * conform/data/stropts.h-data: Likewise.
37571 * conform/data/sys/ipc.h-data: Likewise.
37572 * conform/data/sys/mman.h-data: Likewise.
37573 * conform/data/sys/msg.h-data: Likewise.
37574 * conform/data/sys/resource.h-data: Likewise.
37575 * conform/data/sys/select.h-data: Likewise.
37576 * conform/data/sys/sem.h-data: Likewise.
37577 * conform/data/sys/shm.h-data: Likewise.
37578 * conform/data/sys/socket.h-data: Likewise.
37579 * conform/data/sys/stat.h-data: Likewise.
37580 * conform/data/sys/statvfs.h-data: Likewise.
37581 * conform/data/sys/time.h-data: Likewise.
37582 * conform/data/sys/timeb.h-data: Likewise.
37583 * conform/data/sys/times.h-data: Likewise.
37584 * conform/data/sys/types.h-data: Likewise.
37585 * conform/data/sys/uio.h-data: Likewise.
37586 * conform/data/sys/un.h-data: Likewise.
37587 * conform/data/sys/utsname.h-data: Likewise.
37588 * conform/data/sys/wait.h-data: Likewise.
37589 * conform/data/syslog.h-data: Likewise.
37590 * conform/data/tar.h-data: Likewise.
37591 * conform/data/termios.h-data: Likewise.
37592 * conform/data/utime.h-data: Likewise.
37593 * conform/data/utmpx.h-data: Likewise.
37594 * conform/data/varargs.h-data: Likewise.
37595 * conform/data/wchar.h-data: Likewise.
37596 * conform/data/wctype.h-data: Likewise.
37597 * conform/data/wordexp.h-data: Likewise.
37598
37599 * include/stropts.h: New file.
37600 * include/uchar.h: New file.
37601 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37602 * include/assert.h: Likewise.
37603 * include/ctype.h: Likewise.
37604 * include/dirent.h: Likewise.
37605 * include/dlfcn.h: Likewise.
37606 * include/fcntl.h: Likewise.
37607 * include/fnmatch.h: Likewise.
37608 * include/glob.h: Likewise.
37609 * include/grp.h: Likewise.
37610 * include/libio.h: Likewise.
37611 * include/locale.h: Likewise.
37612 * include/math.h: Likewise.
37613 * include/net/if.h: Likewise.
37614 * include/netdb.h: Likewise.
37615 * include/netinet/in.h: Likewise.
37616 * include/pthread.h: Likewise.
37617 * include/pwd.h: Likewise.
37618 * include/regex.h: Likewise.
37619 * include/sched.h: Likewise.
37620 * include/search.h: Likewise.
37621 * include/setjmp.h: Likewise.
37622 * include/signal.h: Likewise.
37623 * include/stdio.h: Likewise.
37624 * include/stdlib.h: Likewise.
37625 * include/string.h: Likewise.
37626 * include/sys/cdefs.h: Likewise.
37627 * include/sys/mman.h: Likewise.
37628 * include/sys/msg.h: Likewise.
37629 * include/sys/resource.h: Likewise.
37630 * include/sys/select.h: Likewise.
37631 * include/sys/socket.h: Likewise.
37632 * include/sys/stat.h: Likewise.
37633 * include/sys/statvfs.h: Likewise.
37634 * include/sys/time.h: Likewise.
37635 * include/sys/times.h: Likewise.
37636 * include/sys/uio.h: Likewise.
37637 * include/sys/utsname.h: Likewise.
37638 * include/sys/wait.h: Likewise.
37639 * include/termios.h: Likewise.
37640 * include/time.h: Likewise.
37641 * include/ulimit.h: Likewise.
37642 * include/unistd.h: Likewise.
37643 * include/utime.h: Likewise.
37644 * include/wchar.h: Likewise.
37645 * include/wctype.h: Likewise.
37646 * include/wordexp.h: Likewise.
37647
37648 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37649
37650 * time/time.h: TIME_UTC must be a macro.
37651 Make timespec_get available for ISO C11 only as well.
37652
376532012-02-24 Ulrich Drepper <drepper@gmail.com>
37654
37655 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37656 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37657
376582012-02-24 Joseph Myers <joseph@codesourcery.com>
37659
37660 * configure.in: Use -o not -a in test for unsupported multi-arch.
37661
376622012-02-24 Joseph Myers <joseph@codesourcery.com>
37663
37664 * manual/texinfo.tex: Update to version 2012-01-19.16.
37665
376662012-02-24 Joseph Myers <joseph@codesourcery.com>
37667
37668 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37669
376702012-02-24 Roland McGrath <roland@hack.frob.com>
37671
37672 [BZ #13738]
37673 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37674 * manual/fdl-1.3.texi: New file.
37675 * manual/fdl-1.1.texi: File removed.
37676
37677 [BZ #13738]
37678 * manual/libc.texinfo (FDL_VERSION): New @set.
37679 Use it for mention of FDL in cover text.
37680 (Documentation License): Use it in @include file name.
37681
376822012-02-22 Joseph Myers <joseph@codesourcery.com>
37683 Roland McGrath <roland@hack.frob.com>
37684
37685 [BZ #5461]
37686 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37687 (not LONG_LONG_MAX and LONG_LONG_MIN.
37688 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37689 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37690 name.
37691 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37692
376932012-02-22 Joseph Myers <joseph@codesourcery.com>
37694
37695 [BZ #2547]
37696 [BZ #11365]
37697 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37698 manipulate bits before adding and subtracting TWO23[sx].
37699 * math/libm-test.inc (nearbyint_test): Add more tests.
37700
377012012-02-22 Joseph Myers <joseph@codesourcery.com>
37702
37703 [BZ #2548]
37704 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37705 bits before adding and subtracting TWO23[sx].
37706 * math/libm-test.inc (rint_test): Add more tests.
37707 (rint_test_tonearest): Likewise.
37708 (rint_test_towardzero): Likewise.
37709 (rint_test_downward): Likewise.
37710 (rint_test_upward: Likewise.
37711
377122012-02-22 Joseph Myers <joseph@codesourcery.com>
37713
37714 [BZ #10110]
37715 * include/stdc-predef.h: New file. Extracted from features.h.
37716 * include/features.h: Include stdc-predef.h.
37717 * Makefile (headers): Add stdc-predef.h.
37718 * CONFORMANCE (Compiler limitations): Update.
37719
377202012-02-22 Joseph Myers <joseph@codesourcery.com>
37721
37722 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37723
377242012-02-21 David S. Miller <davem@davemloft.net>
37725
37726 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37727 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37728
377292012-02-20 David S. Miller <davem@davemloft.net>
37730
37731 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37732 using a normal save/restore sequence, rather than allocating a
37733 dummy stack frame just to store a frame pointer and restore.
37734 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37735
377362012-02-21 Joseph Myers <joseph@codesourcery.com>
37737
37738 * manual/install.texi: Fix stray word in line-wrapped comment.
37739
377402012-02-20 David S. Miller <davem@davemloft.net>
37741
37742 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37743 both binutils and gcc support GOTDATA.
37744
37745 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37746 "rd %pc" in the PIC register setup sequences.
37747
37748 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37749 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37750 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37751 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37752 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37754 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37755 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37757 (SYSCALL_ERROR_HANDLER): Likewise.
37758 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37759 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37761 (SYSCALL_ERROR_HANDLER): Likewise.
37762
37763 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37764 (HAVE_GCC_GOTDATA): New.
37765 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37766 relocation support in both binutils and gcc.
37767 * sysdeps/sparc/elf/configure: Regenerate.
37768
37769 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37770 * sysdeps/sparc/sparc32/elf/configure: Delete.
37771 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37772 * sysdeps/sparc/sparc64/elf/configure: Delete.
37773 * sysdeps/sparc/elf/configure.in: New file.
37774 * sysdeps/sparc/elf/configure: Generate.
37775
37776 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37777 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37778 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37779 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37780 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37781
377822012-02-21 Joseph Myers <joseph@codesourcery.com>
37783
37784 * manual/install.texi: Do not mention specific glibc version
37785 numbers.
37786 * manual/libc.texinfo (VERSION, UPDATED): Update.
37787 (@copying): Use @copyright{} and range of years.
37788
377892012-02-21 Joseph Myers <joseph@codesourcery.com>
37790
37791 [BZ #13695]
37792 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37793 [crti.S not in sysdirs] (generated): Do not append.
37794 [crti.S not in sysdirs] (omit-deps): Likewise.
37795 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37796 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37797 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37798 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37799 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37800 Likewise.
37801 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37802 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37803 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37804 * csu/defs.awk: Remove file.
37805 * sysdeps/generic/initfini.c: Likewise.
37806 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37807 variable.
37808 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37809 Likewise.
37810
378112012-02-20 Joseph Myers <joseph@codesourcery.com>
37812
37813 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37814 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37815 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37817 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37818 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37819 <bits/epoll.h>.
37820 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37821 (__EPOLL_PACKED): Define to empty if not defined by
37822 <bits/epoll.h>.
37823 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37825 bits/epoll.h.
37826
378272012-02-20 Joseph Myers <joseph@codesourcery.com>
37828
37829 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37830 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37831 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37832 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37833 <bits/timerfd.h>.
37834 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37836 bits/timerfd.h.
37837
378382012-02-20 Joseph Myers <joseph@codesourcery.com>
37839
37840 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37841 in C locale.
37842 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37843 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37844 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37846
378472012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37848
37849 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37850 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37851
378522012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37853
37854 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37855 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37856 defined.
37857 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37858 Likewise.
37859 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37860 entry for 2.16.
37861
378622012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37863
37864 * math/w_acos.c: Use non-signaling floating-point comparisons.
37865 * math/w_acosf.c: Likewise.
37866 * math/w_acosh.c: Likewise.
37867 * math/w_acoshf.c: Likewise.
37868 * math/w_acoshl.c: Likewise.
37869 * math/w_acosl.c: Likewise.
37870 * math/w_asin.c: Likewise.
37871 * math/w_asinf.c: Likewise.
37872 * math/w_asinl.c: Likewise.
37873 * math/w_atanh.c: Likewise.
37874 * math/w_atanhf.c: Likewise.
37875 * math/w_atanhl.c: Likewise.
37876 * math/w_exp2.c: Likewise.
37877 * math/w_exp2f.c: Likewise.
37878 * math/w_exp2l.c: Likewise.
37879 * math/w_j0.c: Likewise.
37880 * math/w_j0f.c: Likewise.
37881 * math/w_j0l.c: Likewise.
37882 * math/w_j1.c: Likewise.
37883 * math/w_j1f.c: Likewise.
37884 * math/w_j1l.c: Likewise.
37885 * math/w_jn.c: Likewise.
37886 * math/w_jnf.c: Likewise.
37887 * math/w_log.c: Likewise.
37888 * math/w_log10.c: Likewise.
37889 * math/w_log10f.c: Likewise.
37890 * math/w_log10l.c: Likewise.
37891 * math/w_log2.c: Likewise.
37892 * math/w_log2f.c: Likewise.
37893 * math/w_log2l.c: Likewise.
37894 * math/w_logf.c: Likewise.
37895 * math/w_logl.c: Likewise.
37896 * math/w_sqrt.c: Likewise.
37897 * math/w_sqrtf.c: Likewise.
37898 * math/w_sqrtl.c: Likewise.
37899 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37900 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37901 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37902 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37903 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37904
379052012-02-19 Joseph Myers <joseph@codesourcery.com>
37906
37907 [BZ #9739]
37908 * manual/string.texi (strnlen): Use correct parameter name in
37909 equivalent expression.
37910
379112012-02-19 Joseph Myers <joseph@codesourcery.com>
37912
37913 [BZ #11174]
37914 * manual/users.texi (seteuid): Consistently use neweuid for
37915 argument name.
37916
379172012-02-19 Joseph Myers <joseph@codesourcery.com>
37918
37919 [BZ #13704]
37920 * manual/nss.texi (Services in the NSS configuration): Correct
37921 list of services in example configuration file.
37922
379232012-02-19 Nick Bowler <nbowler@draconx.ca>
37924
37925 [BZ #11322]
37926 * manual/arith.texi: Remove statements about negative zero
37927 behaving identically to zero.
37928
379292012-02-18 Joseph Myers <joseph@codesourcery.com>
37930
37931 [BZ #5993]
37932 * manual/install.texi: Do not document upgrading from libc5.
37933
379342012-02-18 Joseph Myers <joseph@codesourcery.com>
37935
37936 [BZ #4596]
37937 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37938
379392012-02-18 David S. Miller <davem@davemloft.net>
37940
37941 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37942 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37943 %o7 across the call.
37944 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37945 instead.
37946 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37947 SETUP_PIC_REG_LEAF.
37948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37949 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37950 * sysdeps/sparc/crtn.S: Likewise.
37951
379522012-02-17 Ulrich Drepper <drepper@gmail.com>
37953
37954 * aout/Makefile: Remove.
37955
379562012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37957
37958 [BZ #13058]
37959 * manual/examples/argp-ex1.c (main): Format definition in GNU
37960 style.
37961 * manual/examples/argp-ex2.c (main): Likewise.
37962 * manual/examples/argp-ex3.c (main): Likewise.
37963 * manual/examples/argp-ex4.c (main): Likewise.
37964 * manual/examples/longopt.c (main): Use new-style prototype
37965 definition.
37966 * manual/examples/strncat.c (main): Specify return type and use
37967 (void) for arguments.
37968 * manual/examples/subopt.c (main): Use char **argv argument.
37969
379702012-02-17 Joseph Myers <joseph@codesourcery.com>
37971
37972 [BZ #5077]
37973 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37974 rounding modes.
37975
379762012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37977
37978 [BZ #6907]
37979 * manual/string.texi (strchr): Change when strchrnul is
37980 recommended.
37981
379822012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37983
37984 [BZ #174]
37985 * manual/locale.texi (setlocale): Document LOCPATH.
37986
379872012-02-17 Joseph Myers <joseph@codesourcery.com>
37988
37989 [BZ #10210]
37990 * manual/process.texi (execle): Move @dots{} before last argument.
37991
379922012-02-17 Paul Bolle <pebolle@tiscali.nl>
37993
37994 [BZ #12047]
37995 * manual/charset.texi (Generic Charset Conversion): Fix typo
37996 (LC_TYPE -> LC_CTYPE).
37997
379982012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37999
38000 [BZ #5805]
38001 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38002 (scalbnf): Likewise.
38003 (scalbnl): Likewise.
38004 (scalbln): Likewise.
38005 (scalblnf): Likewise.
38006 (scalblnl): Likewise.
38007 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38008 (vwarnx): Likewise.
38009 (verr): Likewise.
38010 (verrx): Likewise.
38011 * manual/filesys.texi (telldir): Use braces around return type.
38012 * manual/llio.texi (mmap): Add space after comma.
38013 (mmap64): Likewise.
38014 * manual/math.texi (jn): Use @var{} on parameter names.
38015 (jnf): Likewise.
38016 (jnl): Likewise.
38017 (yn): Likewise.
38018 (ynf): Likewise.
38019 (ynl): Likewise.
38020 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38021 line.
38022 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38023 "...".
38024 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38025 (sched_get_priority_max): Likewise.
38026 * manual/signal.texi (sigvec): Add space after comma.
38027 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38028 names.
38029 (if_indextoname): Likewise.
38030 (if_freenameindex): Likewise.
38031 (sendto): Use ',' instead of '.' in prototype.
38032 * manual/startup.texi (syscall): Use @dots{} instead of literal
38033 "...".
38034 * manual/stdio.texi (__fpending): Separate initial words of
38035 paragraph from @deftypefun line.
38036 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38037 "...".
38038 (vsyslog): Use @var{} on parameter names.
38039 * manual/terminal.texi (stty): Use @var{} on parameter names.
38040 * manual/users.texi (getutmp): Use @var{} on parameter names.
38041 (getutmpx): Likewise.
38042
380432012-02-17 Joseph Myers <joseph@codesourcery.com>
38044
38045 [BZ #6884]
38046 * manual/stdio.texi (fopen): Fix typos in description of
38047 ",ccs=STRING".
38048
380492012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38050
38051 [BZ #4026]
38052 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38053 get clock_id definition.
38054
380552012-02-17 Thomas Schwinge <thomas@schwinge.name>
38056
38057 [BZ #4822]
38058 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38059 (madvise): Cast every argument to void on its own.
38060
380612012-02-17 Joseph Myers <joseph@codesourcery.com>
38062
38063 [BZ #9902]
38064 * manual/startup.texi (Exit Status): Fix typo.
38065
380662012-02-17 Joseph Myers <joseph@codesourcery.com>
38067
38068 [BZ #10140]
38069 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38070 * manual/examples/argp-ex2.c: Likewise.
38071 * manual/examples/argp-ex3.c: Likewise.
38072
380732012-02-16 Richard Henderson <rth@redhat.com>
38074
38075 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38076 * sysdeps/s390/s390-32/initfini.c: Remove.
38077 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38078 * sysdeps/s390/s390-64/initfini.c: Remove.
38079
380802012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38081
38082 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38083 compiler output for sysdeps/generic/initfini.c.
38084 * sysdeps/sh/elf/initfini.c: Remove file.
38085
380862012-02-16 David S. Miller <davem@davemloft.net>
38087
38088 [BZ #11494]
38089 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38090
38091 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38092 * sysdeps/sparc/crti.S: New file.
38093 * sysdeps/sparc/crtn.S: New file.
38094 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38095 * sysdeps/sparc/sparc64/Makefile: Likewise.
38096
380972012-02-15 Mike Frysinger <vapier@gentoo.org>
38098
38099 [BZ #3335]
38100 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38101
381022012-02-15 Roland McGrath <roland@hack.frob.com>
38103
38104 [BZ #4822]
38105 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38106
38107 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38108 (write, read, close): Likewise.
38109 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38110
381112012-02-15 Joseph Myers <joseph@codesourcery.com>
38112
38113 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38114 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38115 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38116 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38117 <bits/signalfd.h>.
38118 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38120 bits/signalfd.h.
38121
381222012-02-14 Marek Polacek <polacek@redhat.com>
38123
38124 * sysdeps/x86_64/crti.S: New file.
38125 * sysdeps/x86_64/crtn.S: New file.
38126 * sysdeps/x86_64/elf/initfini.c: Remove file.
38127
381282012-02-13 Joseph Myers <joseph@codesourcery.com>
38129
38130 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38131 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38132 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38133 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38134 <bits/inotify.h>.
38135 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38137 bits/inotify.h.
38138
381392012-02-13 Joseph Myers <joseph@codesourcery.com>
38140
38141 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38142 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38143 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38144 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38145 <bits/eventfd.h>.
38146 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38148 bits/eventfd.h.
38149
381502012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38151
38152 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38153 __feraiseexcept instead of feraiseexcept.
38154
38155 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38156 nanosleep invocations.
38157 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38158 strings, and add error checking for a nanosleep invocations.
38159
381602012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38161
38162 Replace FSF snail mail address with URLs, as per GNU coding standards.
38163 Most of the snail mail addresses were wrong anyway, and omitting
38164 them makes the source code easier to maintain. Almost all of the
38165 changes are to license notices and to locale LC_IDENTIFICATION
38166 addresses, except for this one:
38167 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38168 not its snail mail address.
38169
381702012-02-09 Richard Henderson <rth@twiddle.net>
38171
38172 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38173 of kernel-features.h.
38174
38175 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38176
381772012-02-08 Marek Polacek <polacek@redhat.com>
38178
38179 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38180 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38181 * sysdeps/gnu/_G_config.h: Likewise.
38182 * sysdeps/generic/_G_config.h: Likewise.
38183
381842012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38185
38186 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38187 tests.
38188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38189
38190 * sysdeps/powerpc/powerpc32/crti.S: New file.
38191 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38192 * sysdeps/powerpc/powerpc64/crti.S: New file.
38193 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38194
38195 * Makeconfig (have-initfini): Don't set.
38196 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38197 * configure.in (nopic_initfini): Don't substitute.
38198 * config.h.in (HAVE_INITFINI): Don't #undef.
38199 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38200 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38201
382022012-02-08 Joseph Myers <joseph@codesourcery.com>
38203
38204 Support crti.S and crtn.S provided directly by architectures.
38205 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38206 [crti.S in sysdirs] (omit-deps): Likewise.
38207 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38208 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38209 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38210 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38211 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38212 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38213 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38214 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38215 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38216 compiler output for sysdeps/generic/initfini.c.
38217 * sysdeps/i386/elf/Makefile: Remove file.
38218 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38219
382202012-02-07 Marek Polacek <polacek@redhat.com>
38221
38222 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38223 * sysdeps/gnu/_G_config.h: Likewise.
38224 * sysdeps/mach/hurd/_G_config.h: Likewise.
38225
382262012-02-07 Marek Polacek <polacek@redhat.com>
38227
38228 * math/Makefile (tests): Add tst-CMPLX2.
38229 * math/tst-CMPLX2.c: New file.
38230
382312012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38232
38233 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38234
38235 * math/libm-test.inc (jn_test): Add missing L suffix.
38236
382372012-02-06 Marek Polacek <polacek@redhat.com>
38238
38239 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38240 * sysdeps/i386/fpu/e_powf.S: Likewise.
38241 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38242 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38243 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38244 * sysdeps/i386/fpu/e_pow.S: Likewise.
38245 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38246 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38247 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38248 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38249 * sysdeps/i386/fpu/e_log2.S: Likewise.
38250 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38251 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38252 * sysdeps/i386/fpu/e_powl.S: Likewise.
38253 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38254 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38255 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38256 * sysdeps/i386/fpu/e_logl.S: Likewise.
38257 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38258 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38259 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38260 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38261 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38262 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38263 * sysdeps/i386/fpu/e_log.S: Likewise.
38264 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38265 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38266 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38267 * sysdeps/i386/fpu/e_logf.S: Likewise.
38268 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38269 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38270 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38271 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38272 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38273 * sysdeps/i386/fpu/e_log10.S: Likewise.
38274 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38275 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38276 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38277 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38278 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38279 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38280 * sysdeps/i386/asm-syntax.h: Likewise.
38281 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38282 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38283 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38284 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38285 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38286 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38287 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38288 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38289 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38290 * sysdeps/powerpc/sysdep.h: Likewise.
38291 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38292 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38293
382942012-02-06 Joseph Myers <joseph@codesourcery.com>
38295
38296 [BZ #411]
38297 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38298
382992012-02-06 Joseph Myers <joseph@codesourcery.com>
38300
38301 * sysdeps/i386/sysdep.h: Include <features.h>.
38302 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38303 version.
38304
383052012-02-05 Joseph Myers <joseph@codesourcery.com>
38306
38307 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38308 Define.
38309 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38310 LOAD_PIC_REG_STR.
38311
383122012-02-03 Joseph Myers <joseph@codesourcery.com>
38313
38314 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38315 (SETUP_PIC_REG): Use GET_PC_THUNK.
38316 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38317 macro.
38318
383192012-02-03 Joseph Myers <joseph@codesourcery.com>
38320
38321 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38322 for non-PIC compilation.
38323 (SETUP_PIC_REG): Add .p2align directive.
38324 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38325 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38326 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38327 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38328 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38329 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38330 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38331 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38332 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38333 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38334 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38335 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38336 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38337 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38338 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38339 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38340 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38341 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38342 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38343 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38344 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38345 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38346 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38347 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38348 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38350 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38351 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38352 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38353 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38354 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38355 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38356 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38357 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38358 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38359 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38360 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38361 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38362 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38363 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38364 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38365
383662012-02-03 Joseph Myers <joseph@codesourcery.com>
38367
38368 * math/tst-CMPLX.c: Include <stdio.h>.
38369
383702012-01-31 Joseph Myers <joseph@codesourcery.com>
38371
38372 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38373 float.
38374 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38375 * sysdeps/sparc/bits/mathdef.h: Likewise.
38376
383772012-01-31 Marek Polacek <polacek@redhat.com>
38378
38379 * libio/libio.h: Don't define _PARAMS.
38380 * locale/programs/config.h: Don't define PARAMS.
38381 * stdlib/strtol_l.c: Likewise.
38382 (__strtol_l): Remove PARAMS from the prototype.
38383
383842012-01-31 Ulrich Drepper <drepper@gmail.com>
38385
38386 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38387 names. Just use the correct names. Remove unnecessary wrapper
38388 functions.
38389 * malloc/arena.c: Likewise.
38390 * malloc/hooks.c: Likewise.
38391
38392 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38393 ARENA_TEST says not to. Simplify test for creation of a new arena.
38394 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38395
383962012-01-30 Ulrich Drepper <drepper@gmail.com>
38397
38398 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38399 into tail calls.
38400 (update_get_addr): New function.
38401 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38402 GET_ADDR_MODULE parameter.
38403
384042012-01-30 Joseph Myers <joseph@codesourcery.com>
38405
38406 * crypt/cert.c: Remove __STDC__ conditionals.
38407 * crypt/crypt-entry.c: Likewise.
38408 * crypt/crypt_util.c: Likewise.
38409 * libio/filedoalloc.c: Likewise.
38410 * libio/fileops.c: Likewise.
38411 * libio/genops.c: Likewise.
38412 * libio/iofclose.c: Likewise.
38413 * libio/iofdopen.c: Likewise.
38414 * libio/iofopen.c: Likewise.
38415 * libio/iofopen64.c: Likewise.
38416 * libio/iogetdelim.c: Likewise.
38417 * libio/iopopen.c: Likewise.
38418 * libio/obprintf.c: Likewise.
38419 * libio/oldfileops.c: Likewise.
38420 * libio/oldiofclose.c: Likewise.
38421 * libio/oldiofdopen.c: Likewise.
38422 * libio/oldiofopen.c: Likewise.
38423 * libio/oldiopopen.c: Likewise.
38424 * libio/wfiledoalloc.c: Likewise.
38425 * libio/wgenops.c: Likewise.
38426 * locale/programs/xmalloc.c: Likewise.
38427 * misc/syslog.c: Likewise.
38428 * stdio-common/xbug.c: Likewise.
38429 * string/memchr.c: Likewise.
38430 * string/memcmp.c: Likewise.
38431 * string/memrchr.c: Likewise.
38432 * string/rawmemchr.c: Likewise.
38433 * sysdeps/posix/getcwd.c: Likewise.
38434 * time/strftime_l.c: Likewise.
38435
384362012-01-30 Joseph Myers <joseph@codesourcery.com>
38437
38438 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38439 * config.make.in (config-cflags-sse2avx): Define.
38440 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38441 Fix typo.
38442
384432012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38444
38445 * scripts/config.guess: Update from upstream config git repository.
38446 * scripts/config.sub: Likewise.
38447
384482012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38449
38450 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38451 (EM_NUM): Update.
38452 (R_TILEPRO_*, R_TILEGX_*): New macros.
38453
38454 * scripts/firstversions.awk: Fix bug in version range handling.
38455
38456 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38457
38458 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38459
38460 * include/sys/epoll.h: New file.
38461 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38462 libc_hidden_def.
38463
384642012-01-28 Ulrich Drepper <drepper@gmail.com>
38465
38466 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38467 Avoid unnecessary __WORDSIZE == 64 test.
38468 (fmaxf): Use VEX format if possible.
38469 (fmax): Likewise.
38470 (fminf): Likewise.
38471 (fmin): Likewise.
38472
38473 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38474 * math/math_private.h: Remove libc_fegetround* and
38475 libc_fesetround*.
38476 * sysdeps/i386/configure.in: Check for -msse2avx.
38477 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38478 also if SSE2AVX is defined.
38479 Remove libc_fegetround* and libc_fesetround*.
38480 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38481 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38482 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38483 of HAS_YMM_USABLE.
38484 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38485 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38486 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38487 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38488 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38489
38490 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38491
384922012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38493
38494 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38495 size is not set.
38496 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38497
384982012-01-27 Ulrich Drepper <drepper@gmail.com>
38499
38500 [BZ #13618]
38501 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38502 relocation.
38503 * Makeconfig (libm): Define.
38504 * elf/Makefile: Add rules to build and run tst-relsort1.
38505 * elf/tst-relsort1.c: New file.
38506 * elf/tst-relsort1mod1.c: New file.
38507 * elf/tst-relsort1mod2.c: New file.
38508
385092012-01-27 Joseph Myers <joseph@codesourcery.com>
38510
38511 * math/s_ldexp.c: Remove __STDC__ conditionals.
38512 * math/s_ldexpf.c: Likewise.
38513 * math/s_ldexpl.c: Likewise.
38514 * math/s_nextafter.c: Likewise.
38515 * math/s_nexttowardf.c: Likewise.
38516 * math/s_significand.c: Likewise.
38517 * math/s_significandf.c: Likewise.
38518 * math/s_significandl.c: Likewise.
38519 * math/w_jnl.c: Likewise.
38520 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38521 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38522 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38523 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38524 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38525 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38526 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38527 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38528 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38529 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38530 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38531 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38532 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38533 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38534 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38535 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38536 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38537 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38538 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38539 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38540 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38541 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38542 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38543 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38544 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38545 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38546 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38547 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38548 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38549 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38550 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38551 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38552 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38553 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38554 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38555 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38556 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38557 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38558 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38559 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38560 * sysdeps/ieee754/k_standard.c: Likewise.
38561 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38562 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38563 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38564 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38565 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38566 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38567 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38568 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38569 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38570 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38571 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38572 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38573 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38574 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38575 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38576 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38577 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38578 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38579 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38580 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38581 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38582 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38583 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38584 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38585 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38586 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38587 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38588 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38590 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38591 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38592 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38593 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38594 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38595 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38596 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38597 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38598 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38599 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38600 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38601 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38603 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38604 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38606 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38607 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38608 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38609 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38610 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38611 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38612 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38613 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38614 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38615 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38616 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38617 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38618 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38619 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38620 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38621 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38622 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38623 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38624 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38625 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38626 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38627 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38628 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38629 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38630 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38631 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38632 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38633 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38634 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38635 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38636 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38637 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38638 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38639 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38640 * sysdeps/ieee754/s_matherr.c: Likewise.
38641 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38642 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38643 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38644 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38645
386462012-01-26 Joseph Myers <joseph@codesourcery.com>
38647
38648 * crypt/md5.h: Remove __STDC__ conditionals.
38649 * libio/libioP.h: Likewise.
38650 * locale/programs/config.h: Likewise.
38651 * sysdeps/generic/sysdep.h: Likewise.
38652 * sysdeps/i386/asm-syntax.h: Likewise.
38653 * sysdeps/s390/asm-syntax.h: Likewise.
38654 * sysdeps/unix/sysdep.h: Likewise.
38655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38657
386582012-01-26 Joseph Myers <joseph@codesourcery.com>
38659
38660 * libio/libio.h: Remove __STDC__ conditionals.
38661 * malloc/obstack.h: Likewise.
38662 * math/complex.h: Likewise.
38663 * math/math.h: Likewise.
38664 * sysdeps/generic/_G_config.h: Likewise.
38665 * sysdeps/gnu/_G_config.h: Likewise.
38666 * sysdeps/mach/hurd/_G_config.h: Likewise.
38667 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38668 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38669 * sysdeps/sparc/bits/mathdef.h: Likewise.
38670
386712012-01-26 Ulrich Drepper <drepper@gmail.com>
38672
38673 [BZ #13583]
38674 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38675 Clean up HAS_* macros.
38676 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38677 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38678 possible.
38679 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38680 HAS_AVX.
38681 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38682 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38683 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38684 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38685 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38686
386872012-01-25 Joseph Myers <joseph@codesourcery.com>
38688
38689 * elf/tst-unique3.cc (gets): Remove declaration.
38690 * elf/tst-unique3lib.cc (gets): Likewise.
38691 * elf/tst-unique3lib2.cc (gets): Likewise.
38692 * elf/tst-unique4.cc (gets): Likewise.
38693
386942012-01-24 Ulrich Drepper <drepper@gmail.com>
38695
38696 * include/stdio.h: Add C++ protection. Add gets declarations and
38697 definitions.
38698 * debug/tst-chk1.c: Don't declare gets here.
38699 * stdio-common/tst-gets.c: Likewise.
38700
387012012-01-24 Joseph Myers <joseph@codesourcery.com>
38702
38703 * posix/glob: Remove directory.
38704
387052012-01-24 Joseph Myers <joseph@codesourcery.com>
38706
38707 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38708
387092012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38710
38711 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38712 of the non-standard EPFNOSUPPORT.
38713
387142011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38715
38716 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38717 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38718 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38719
387202012-01-21 Ulrich Drepper <drepper@gmail.com>
38721
38722 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38723
387242012-01-20 Ulrich Drepper <drepper@gmail.com>
38725
38726 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38727 transient errors.
38728 * nscd/grpcache.c (cache_addgr): Likewise.
38729 * nscd/hstcache.c (cache_addhst): Likewise.
38730 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38731 * nscd/pwdcache.c (cache_addpw): Likewise.
38732 * nscd/servicescache.c (cache_addserv): Likewise.
38733
387342012-01-16 Ulrich Drepper <drepper@gmail.com>
38735
38736 * malloc/malloc.c: Various cleanups.
38737 * malloc/hooks.c: Likewise.
38738
38739 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38740 * stdlib/bug-fmtmsg1.c: New file.
38741
38742 * stdlib/fmtmsg.c (init): Add missing unlock.
38743 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38744
387452012-01-12 Marek Polacek <polacek@redhat.com>
38746
38747 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38748 and _GNU_SOURCE.
38749
387502012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38751
38752 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38753 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38754 macro to ensure uniqueness of label name.
38755 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38756 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38757
387582012-01-11 Ulrich Drepper <drepper@gmail.com>
38759
38760 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38761
38762 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38763 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38764 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38766
387672012-01-10 Ulrich Drepper <drepper@gmail.com>
38768
38769 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38770
38771 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38772 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38773 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38774
38775 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38776
38777 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38778 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38779 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38780 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38781
38782 * math/bits/math-finite.h: Add ldexp support.
38783
387842012-01-10 Marek Polacek <polacek@redhat.com>
38785
38786 * locale/programs/localedef.h (show_archive_content): Add noreturn
38787 attribute.
38788
387892012-01-09 Ulrich Drepper <drepper@gmail.com>
38790
38791 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38792
387932012-01-08 Ulrich Drepper <drepper@gmail.com>
38794
38795 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38796
38797 * io/Makefile (headers): Add bits/poll2.h.
38798
387992011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38800
38801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38802 typo #include statement.
38803
388042012-01-08 Ulrich Drepper <drepper@gmail.com>
38805
38806 * include/sys/cdefs.h: Define __attribute_alloc_size.
38807 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38808 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38809 * elf/pldd.c: Likewise.
38810 * iconv/iconv_charmap.c: Likewise.
38811 * iconv/iconvconfig.c: Likewise.
38812 * iconv/strtab.c: Likewise.
38813 * locale/programs/locale.c: Likewise.
38814 * locale/programs/localedef.h: Likewise.
38815 * locale/programs/simple-hash.c: Likewise.
38816 * nscd/nscd.h: Likewise.
38817 * nss/makedb.c: Likewise.
38818 * sysdeps/generic/ldconfig.h: Likewise.
38819 * locale/programs/localedef.c: Remove xmalloc prototype.
38820 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38821
388222012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38823
38824 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38825 appropriate.
38826
388272012-01-08 Ulrich Drepper <drepper@gmail.com>
38828
38829 * math/Makefile (tests): Add tst-CMPLX.
38830 * math/tst-CMPLX.c: New file.
38831
38832 * math/complex.h (CMPLXL): Fix typo.
38833
38834 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38835 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38836 GLIBC_2.16.
38837 * debug/tst-chk1.c: Add poll and ppoll tests.
38838 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38839 * include/sys/poll.h: Add hidden proto for ppoll.
38840 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38841 * sysdeps/mach/hurd/ppoll.c: Likewise.
38842 * io/ppoll.c: Likewise.
38843 * debug/poll_chk.c: New file.
38844 * debug/ppoll_chk.c: New file.
38845 * include/bits/poll2.h: New file.
38846 * io/bits/poll2.h: New file.
38847
38848 [BZ #1350]
38849 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38850
38851 * configure.in: static is always set to yes. Remove.
38852 * config.make.in: Don't set build-static.
38853 * Makeconfig: Remove use of build-static.
38854 * dlfcn/Makefile: Likewise.
38855 * elf/Makefile: Likewise.
38856 * math/Makefile: Likewise.
38857 * misc/Makefile: Likewise.
38858 * nptl/Makefile: Likewise.
38859 * sysdeps/mach/hurd/Makefile: Likewise.
38860
38861 * configure.in: PWD_P is not used anymore.
38862 * config.make.in: Remove PWD_P entry.
38863
38864 * configure.in: Remove last remnants of RANLIB.
38865 No need to check for signed size_t anymore.
38866 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38867 and IA-64.
38868 Remove __builtin_expect test because we require at least gcc 3.4.
38869 * aclocal.m4: Likewise.
38870
38871 * wcsmbs/mbrtoc16.c: Implement using towc function.
38872 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38873 * wcsmbs/wcsmbsload.c: Likewise.
38874 * iconv/gconv_simple.c: Likewise.
38875 * iconv/gconv_int.h: Likewise.
38876 * iconv/gconv_builtin.h: Likewise.
38877 * iconv/iconv_prog.c: Remove CHAR16 handling.
38878
38879 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38880
38881 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38882
38883 * configure.in: Remove --with-elf and --enable-bounded options.
38884 Dont set base_machine for ia64. More non-ELF conditions removed.
38885 Remove testing and setting of leading underscore information.
38886 * config.make.in (build-bounded): Set to no.
38887 * config.h.in: Remove NO_UNDERSCORES entry.
38888 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38889 them.
38890 * csu/start.c: Remove !NO_UNDERSCORE code.
38891 * locale/localeinfo.h: Likewise.
38892 * sysdeps/generic/machine-gmon.h: Likewise.
38893 * sysdeps/generic/sysdep.h: Likewise.
38894 * sysdeps/i386/sysdep.h: Likewise.
38895 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38896 * sysdeps/mach/sysdep.h: Likewise.
38897 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38898 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38899 * sysdeps/sh/sysdep.h: Likewise.
38900 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38901 * sysdeps/unix/i386/sysdep.S: Likewise.
38902 * sysdeps/unix/sparc/start.c: Likewise.
38903 * sysdeps/unix/sparc/sysdep.S: Likewise.
38904 * sysdeps/unix/sparc/sysdep.h: Likewise.
38905 * sysdeps/unix/start.c: Likewise.
38906 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38907 * sysdeps/x86_64/sysdep.h: Likewise.
38908
389092012-01-07 Ulrich Drepper <drepper@gmail.com>
38910
38911 [BZ #13553]
38912 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38913 for non-gcc.
38914 * argp/argp-fmtstream.h: Use const instead __const.
38915 * argp/argp.h: Likewise.
38916 * assert/assert.h: Likewise.
38917 * bits/fenv.h: Likewise.
38918 * bits/sched.h: Likewise.
38919 * bits/sigset.h: Likewise.
38920 * bits/sigthread.h: Likewise.
38921 * catgets/nl_types.h: Likewise.
38922 * conform/data/pthread.h-data: Likewise.
38923 * crypt/crypt-private.h: Likewise.
38924 * crypt/crypt.h: Likewise.
38925 * crypt/crypt_util.c: Likewise.
38926 * ctype/ctype.h: Likewise.
38927 * debug/execinfo.h: Likewise.
38928 * debug/mbsnrtowcs_chk.c: Likewise.
38929 * debug/mbsrtowcs_chk.c: Likewise.
38930 * debug/wcsnrtombs_chk.c: Likewise.
38931 * debug/wcsrtombs_chk.c: Likewise.
38932 * debug/wcstombs_chk.c: Likewise.
38933 * dirent/dirent.h: Likewise.
38934 * dlfcn/dlfcn.h: Likewise.
38935 * elf/neededtest4.c: Likewise.
38936 * grp/grp.h: Likewise.
38937 * gshadow/gshadow.h: Likewise.
38938 * iconv/gconv.h: Likewise.
38939 * iconv/gconv_int.h: Likewise.
38940 * iconv/gconv_simple.c: Likewise.
38941 * iconv/iconv.h: Likewise.
38942 * iconv/loop.c: Likewise.
38943 * iconv/skeleton.c: Likewise.
38944 * include/aio.h: Likewise.
38945 * include/aliases.h: Likewise.
38946 * include/argz.h: Likewise.
38947 * include/arpa/inet.h: Likewise.
38948 * include/assert.h: Likewise.
38949 * include/dirent.h: Likewise.
38950 * include/dlfcn.h: Likewise.
38951 * include/execinfo.h: Likewise.
38952 * include/fcntl.h: Likewise.
38953 * include/fenv.h: Likewise.
38954 * include/glob.h: Likewise.
38955 * include/grp.h: Likewise.
38956 * include/libintl.h: Likewise.
38957 * include/mntent.h: Likewise.
38958 * include/netdb.h: Likewise.
38959 * include/pwd.h: Likewise.
38960 * include/rpc/netdb.h: Likewise.
38961 * include/sched.h: Likewise.
38962 * include/search.h: Likewise.
38963 * include/shadow.h: Likewise.
38964 * include/signal.h: Likewise.
38965 * include/stdio.h: Likewise.
38966 * include/stdlib.h: Likewise.
38967 * include/string.h: Likewise.
38968 * include/sys/socket.h: Likewise.
38969 * include/sys/stat.h: Likewise.
38970 * include/sys/statfs.h: Likewise.
38971 * include/sys/statvfs.h: Likewise.
38972 * include/sys/syslog.h: Likewise.
38973 * include/sys/time.h: Likewise.
38974 * include/sys/uio.h: Likewise.
38975 * include/time.h: Likewise.
38976 * include/unistd.h: Likewise.
38977 * include/utmp.h: Likewise.
38978 * include/wchar.h: Likewise.
38979 * include/wctype.h: Likewise.
38980 * inet/aliases.h: Likewise.
38981 * inet/arpa/inet.h: Likewise.
38982 * inet/netinet/ether.h: Likewise.
38983 * inet/netinet/in.h: Likewise.
38984 * intl/libintl.h: Likewise.
38985 * io/bits/fcntl2.h: Likewise.
38986 * io/fcntl.h: Likewise.
38987 * io/ftw.h: Likewise.
38988 * io/sys/poll.h: Likewise.
38989 * io/sys/stat.h: Likewise.
38990 * io/sys/statfs.h: Likewise.
38991 * io/sys/statvfs.h: Likewise.
38992 * io/utime.h: Likewise.
38993 * libio/bits/stdio.h: Likewise.
38994 * libio/bits/stdio2.h: Likewise.
38995 * libio/libio.h: Likewise.
38996 * libio/libioP.h: Likewise.
38997 * libio/stdio.h: Likewise.
38998 * locale/lc-ctype.c: Likewise.
38999 * locale/locale.h: Likewise.
39000 * login/utmp.h: Likewise.
39001 * malloc/arena.c: Likewise.
39002 * malloc/malloc.c: Likewise.
39003 * malloc/malloc.h: Likewise.
39004 * malloc/mcheck.c: Likewise.
39005 * malloc/mtrace.c: Likewise.
39006 * math/bits/mathcalls.h: Likewise.
39007 * math/fenv.h: Likewise.
39008 * math/math_private.h: Likewise.
39009 * misc/bits/error.h: Likewise.
39010 * misc/bits/syslog.h: Likewise.
39011 * misc/err.h: Likewise.
39012 * misc/error.h: Likewise.
39013 * misc/fstab.h: Likewise.
39014 * misc/mntent.h: Likewise.
39015 * misc/regexp.h: Likewise.
39016 * misc/search.h: Likewise.
39017 * misc/sgtty.h: Likewise.
39018 * misc/sys/mman.h: Likewise.
39019 * misc/sys/syslog.h: Likewise.
39020 * misc/sys/uio.h: Likewise.
39021 * misc/sys/xattr.h: Likewise.
39022 * misc/ttyent.h: Likewise.
39023 * nis/rpcsvc/ypclnt.h: Likewise.
39024 * nss/nss.h: Likewise.
39025 * posix/bits/unistd.h: Likewise.
39026 * posix/fnmatch.h: Likewise.
39027 * posix/glob.h: Likewise.
39028 * posix/sched.h: Likewise.
39029 * posix/spawn.h: Likewise.
39030 * posix/sys/wait.h: Likewise.
39031 * posix/unistd.h: Likewise.
39032 * posix/wordexp.h: Likewise.
39033 * pwd/pwd.h: Likewise.
39034 * resolv/netdb.h: Likewise.
39035 * resource/sys/resource.h: Likewise.
39036 * rt/aio.h: Likewise.
39037 * rt/bits/mqueue2.h: Likewise.
39038 * rt/mqueue.h: Likewise.
39039 * shadow/shadow.h: Likewise.
39040 * signal/signal.h: Likewise.
39041 * socket/send.c: Likewise.
39042 * socket/sendto.c: Likewise.
39043 * socket/sys/socket.h: Likewise.
39044 * stdio-common/printf.h: Likewise.
39045 * stdlib/bits/stdlib.h: Likewise.
39046 * stdlib/fmtmsg.h: Likewise.
39047 * stdlib/monetary.h: Likewise.
39048 * stdlib/stdlib.h: Likewise.
39049 * stdlib/ucontext.h: Likewise.
39050 * streams/stropts.h: Likewise.
39051 * string/argz.h: Likewise.
39052 * string/bits/string2.h: Likewise.
39053 * string/string.h: Likewise.
39054 * string/strings.h: Likewise.
39055 * sunrpc/rpc/auth.h: Likewise.
39056 * sunrpc/rpc/auth_des.h: Likewise.
39057 * sunrpc/rpc/clnt.h: Likewise.
39058 * sunrpc/rpc/netdb.h: Likewise.
39059 * sunrpc/rpc/pmap_clnt.h: Likewise.
39060 * sunrpc/rpc/xdr.h: Likewise.
39061 * sysdeps/generic/inttypes.h: Likewise.
39062 * sysdeps/generic/net/if.h: Likewise.
39063 * sysdeps/generic/sys/swap.h: Likewise.
39064 * sysdeps/gnu/net/if.h: Likewise.
39065 * sysdeps/gnu/utmpx.h: Likewise.
39066 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39067 * sysdeps/i386/i486/bits/string.h: Likewise.
39068 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39069 * sysdeps/s390/bits/string.h: Likewise.
39070 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39071 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39072 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39073 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39074 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39075 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39076 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39077 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39078 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39079 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39080 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39081 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39082 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39083 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39084 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39085 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39086 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39088 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39089 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39090 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39091 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39092 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39093 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39094 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39095 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39096 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39097 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39098 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39099 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39100 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39101 * sysvipc/sys/ipc.h: Likewise.
39102 * sysvipc/sys/msg.h: Likewise.
39103 * sysvipc/sys/sem.h: Likewise.
39104 * sysvipc/sys/shm.h: Likewise.
39105 * termios/termios.h: Likewise.
39106 * time/sys/time.h: Likewise.
39107 * time/time.h: Likewise.
39108 * wcsmbs/bits/wchar2.h: Likewise.
39109 * wcsmbs/uchar.h: Likewise.
39110 * wcsmbs/wchar.h: Likewise.
39111 * wctype/wctype.h: Likewise.
39112
39113 [BZ #13551]
39114 * Makeconfig: Remove all but ELF support including AIX support.
39115 * Makerules: Likewise.
39116 * config.h.in: Likewise.
39117 * config.make.in: Likewise.
39118 * configure: Likewise.
39119 * configure.in: Likewise.
39120 * csu/Makefile: Likewise.
39121 * csu/version.c: Likewise.
39122 * debug/Makefile: Likewise.
39123 * dlfcn/Makefile: Likewise.
39124 * elf/Makefile: Likewise.
39125 * extra-lib.mk: Likewise.
39126 * iconv/Makefile: Likewise.
39127 * include/libc-symbols.h: Likewise.
39128 * include/shlib-compat.h: Likewise.
39129 * resolv/Makefile: Likewise.
39130 * resolv/res_libc.c: Likewise.
39131 * rt/Makefile: Likewise.
39132 * sysdeps/i386/asm-syntax.h: Likewise.
39133 * sysdeps/i386/sysdep.h: Likewise.
39134 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39135 * sysdeps/mach/sysdep.h: Likewise.
39136 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39137 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39138 * sysdeps/s390/asm-syntax.h: Likewise.
39139 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39140 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39141 * sysdeps/sh/sysdep.h: Likewise.
39142 * sysdeps/unix/sparc/sysdep.h: Likewise.
39143 * sysdeps/wordsize-32/divdi3.c: Likewise.
39144 * sysdeps/x86_64/sysdep.h: Likewise.
39145
39146 * argp/Versions: Remove _argp_unlock_xxx.
39147
39148 [BZ #13559]
39149 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39150 * abilist/libBrokenLocale.abilist: Likewise.
39151 * abilist/libanl.abilist: Likewise.
39152 * abilist/libc.abilist: Likewise.
39153 * abilist/libcrypt.abilist: Likewise.
39154 * abilist/libdl.abilist: Likewise.
39155 * abilist/libm.abilist: Likewise.
39156 * abilist/libnsl.abilist: Likewise.
39157 * abilist/libpthread.abilist: Likewise.
39158 * abilist/libresolv.abilist: Likewise.
39159 * abilist/librt.abilist: Likewise.
39160 * abilist/libthread_db.abilist: Likewise.
39161 * abilist/libutil.abilist: Likewise.
39162 * abilist/libnss_db.abilist: New file.
39163
39164 * scripts/abilist.awk: Add support for indirect functions.
39165
39166 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39167
39168 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39169
39170 * shlib-versions: Remove entries for ports architectures.
39171
39172 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39173 files in ports.
39174 * elf/stackguard-macros.h: Remove support for IA-64.
39175 * elf/tst-auditmod1.c: Likewise.
39176 * sysdeps/generic/ldsodefs.h: Likewise.
39177
39178 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39179 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39180 configure files.
39181
39182 [BZ #13552]
39183 * configure.in: Remove --enable-omitfp support.
39184 * FAQ.in: Adjust.
39185 * config.make.in: Likewise.
39186 * Makeconfig: Likewise.
39187 * manual/install.texi: Likewise.
39188
39189 In case anyone cares, the IA-64 architecture could move to ports.
39190 * sysdeps/ia64/*: Removed.
39191 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39192 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39193
39194 [BZ #13555]
39195 * configure.in: Remove entries for unsupported architectures.
39196
39197 [BZ #13533]
39198 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39199 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39200 routines.
39201 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39202 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39203 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39204 fall back to using wcrtomb.
39205 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39206 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39207 renaming.
39208 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39209 * wcsmbs/tst-c16c32-1.c: New file.
39210
39211 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39212 local variable.
39213
39214 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39215
39216 * elf/tst-unique3.cc: Add explicit declaration of gets.
39217 * elf/tst-unique3lib.cc: Likewise.
39218 * elf/tst-unique3lib2.cc: Likewise.
39219 * elf/tst-unique4.cc: Likewise.
39220
39221 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39222
392232012-01-06 Joseph Myers <joseph@codesourcery.com>
39224
39225 [BZ #13566]
39226 * assert/assert.h (static_assert): Don't define for C++.
39227 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39228 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39229
392302012-01-03 Ulrich Drepper <drepper@gmail.com>
39231
39232 * iconv/loop.c (single loop): Fix assertion in storing of
39233 remaining bytes.
39234
39235 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39236
392372012-01-01 Ulrich Drepper <drepper@gmail.com>
39238
39239 * posix/getconf.c: Update copyright year.
39240 * nss/getent.c: Likewise.
39241 * nss/makedb.c: Likewise.
39242 * iconv/iconvconfig.c: Likewise.
39243 * iconv/iconv_prog.c: Likewise.
39244 * elf/ldconfig.c: Likewise.
39245 * elf/pldd.c: Likewise.
39246 * elf/sotruss.ksh: Likewise.
39247 * catgets/gencat.c: Likewise.
39248 * csu/version.c: Likewise.
39249 * elf/ldd.bash.in: Likewise.
39250 * elf/sprof.c (print_version): Likewise.
39251 * locale/programs/locale.c: Likewise.
39252 * locale/programs/localedef.c: Likewise.
39253 * login/programs/pt_chown.c: Likewise.
39254 * nscd/nscd.c (print_version): Likewise.
39255 * debug/xtrace.sh: Likewise.
39256 * malloc/memusage.sh: Likewise.
39257 * malloc/mtrace.pl: Likewise.
39258 * debug/catchsegv.sh: Likewise.
39259
392602011-12-30 Jakub Jelinek <jakub@redhat.com>
39261
39262 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39263 pure attribute.
39264
392652011-12-24 Ulrich Drepper <drepper@gmail.com>
39266
39267 [BZ #13533]
39268 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39269 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39270 transformations.
39271 * iconv/gconv_int.h: Likewise.
39272 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39273 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39274 from libc for GLIBC_2.16.
39275 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39276 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39277 * wcsmbs/uchar.h: Really define mbstate_t.
39278 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39279 * wcsmbs/c16rtomb.c: New file.
39280 * wcsmbs/mbrtoc16.c: New file.
39281 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39282 for C/POSIX locale.
39283 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39284 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39285
39286 * wcsmbs/wchar.h: Add missing __restrict.
39287
392882011-12-23 Ulrich Drepper <drepper@gmail.com>
39289
39290 [BZ #13532]
39291 * time/Makefile (routines): Add timespec_get.
39292 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39293 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39294 timespec for ISO C11.
39295 * time/timespec_get.c: New file.
39296 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39297 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39298
39299 [BZ #13531]
39300 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39301 * stdlib/stdlib.h: Declare aligned_alloc.
39302 * Versions.def: Add GLIBC_2.16 for libc.
39303 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39304
39305 [BZ 13527]
39306 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39307 ISO C11.
39308
39309 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39310 code.
39311
39312 [BZ #13528]
39313 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39314
39315 [BZ #13529]
39316 * assert/assert.h (static_assert): Define.
39317
39318 * version.h: Update for 2.16 development version.
39319
39320 [BZ #13526]
39321 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39322 _ISOC11_SOURCE.
39323
39324 * version.h (RELEASE): Bump for 2.15 release.
39325 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39326
39327 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39328 Patch by Marek Polacek <mpolacek@redhat.com>.
39329
39330 * bits/byteswap.h: Protect long long constants with __extension__.
39331 * sysdeps/i386/bits/byteswap.h: Likewise.
39332 * sysdeps/ia64/bits/byteswap.h: Likewise.
39333 * sysdeps/s390/bits/byteswap.h: Likewise.
39334 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39335
393362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39337
39338 [BZ #13540]
39339 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39340 destination buffer.
39341 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39342
393432011-12-23 Marek Polacek <polacek@redhat.com>
39344
39345 * elf/dl-addr.c (determine_info): Add inline keyword.
39346 * elf/tst-auditmod4b.c (check_avx): Likewise.
39347 * elf/tst-auditmod6b.c (check_avx): Likewise.
39348 * elf/tst-auditmod6c.c (check_avx): Likewise.
39349 * elf/tst-auditmod7b.c (check_avx): Likewise.
39350
393512011-12-23 Ulrich Drepper <drepper@gmail.com>
39352
39353 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39354 !__SSE_MATH__.
39355
393562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39357
39358 [BZ #13540]
39359 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39360 processing for last bytes.
39361
393622011-08-06 Bruno Haible <bruno@clisp.org>
39363
39364 [BZ #13061]
39365 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39366 U+0385, not to U+1FEE.
39367
39368 [BZ #13062]
39369 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39370 entry for U+00A5 U+0301.
39371
393722011-12-22 Ulrich Drepper <drepper@gmail.com>
39373
39374 [BZ #13166]
39375 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39376 buffer for the output is too small.
39377
39378 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39379 optimization.
39380
39381 [BZ #13185]
39382 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39383 SSE flags if possible.
39384
393852011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39386
39387 [BZ #13540]
39388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39389 processing for last bytes.
39390
393912011-12-22 Joseph Myers <joseph@codesourcery.com>
39392
39393 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39394 (syscall-list-default-options, syscall-list-default-condition)
39395 (syscall-list-includes): Define.
39396 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39397 list of ABIs and options and #if conditions for each ABI. Do not
39398 handle common syscalls between ABIs specially.
39399 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39400 Remove.
39401 (syscall-list-variants, syscall-list-32bit-options)
39402 (syscall-list-32bit-condition, syscall-list-64bit-options)
39403 (syscall-list-64bit-condition): Define.
39404 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39405 (syscall-list-variants, syscall-list-32bit-options)
39406 (syscall-list-32bit-condition, syscall-list-64bit-options)
39407 (syscall-list-64bit-condition): Define.
39408 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39409 Remove.
39410 (syscall-list-variants, syscall-list-32bit-options)
39411 (syscall-list-32bit-condition, syscall-list-64bit-options)
39412 (syscall-list-64bit-condition): Define.
39413 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39414 Remove.
39415 (syscall-list-variants, syscall-list-32bit-options)
39416 (syscall-list-32bit-condition, syscall-list-64bit-options)
39417 (syscall-list-64bit-condition): Define.
39418
394192011-12-22 Ulrich Drepper <drepper@gmail.com>
39420
39421 * locale/iso-639.def: Add brx entry.
39422
39423 [BZ #13328]
39424 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39425 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39426
39427 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39428 __feraiseexcept_renamed.
39429
394302011-12-21 Ulrich Drepper <drepper@gmail.com>
39431
39432 [BZ #13538]
39433 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39434 EPOLLET with unsigned values.
39435 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39437
39438 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39439 to large cancellation.
39440 * math/s_cacoshf.c: Likewise.
39441 * math/s_cacoshl.c: Likewise.
39442
394432011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39444
39445 [BZ #13305]
39446 [BZ #12786]
39447 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39448 * math/s_cacoshf.c: Likewise.
39449 * math/s_cacoshl.c: Likewise.
39450
394512011-12-21 Ulrich Drepper <drepper@gmail.com>
39452
39453 [BZ #13439]
39454 * iconv/gconv.h: Define __GCONV_SWAP.
39455 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39456 * iconvdata/utf-16.c: Likewise.
39457 * iconvdata/utf-32.c: Likewise.
39458
394592011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39460
39461 [BZ #13524]
39462 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39463 numerator after shifting it by one limb.
39464
394652011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39466
39467 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39468 under [__USE_EXTERN_INLINES].
39469
394702011-12-17 Ulrich Drepper <drepper@gmail.com>
39471
39472 [BZ #13446]
39473 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39474
394752011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39476
39477 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39478 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39479 optimized code.
39480 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39481 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39482 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39483 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39484 for strncasecmp/strncasecmp_l compilation.
39485 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39486 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39487
394882011-12-08 Marek Polacek <mpolacek@redhat.com>
39489
39490 [BZ #13484]
39491 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39492 of __asm__.
39493
394942011-12-17 Ulrich Drepper <drepper@gmail.com>
39495
39496 [BZ #13506]
39497 * time/tzfile.c (__tzfile_read): Check values from file header.
39498
394992011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39500
39501 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39502 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39503 * powerpc/powerpc32/dl-start.S: Likewise.
39504 * powerpc/powerpc32/elf/start.S: Likewise.
39505 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39506 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39507 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39508 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39509 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39510 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39511 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39512 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39513 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39514 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39515 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39516 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39517 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39518 * powerpc/powerpc32/memset.S: Likewise.
39519 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39520 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39521 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39522 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39523 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39524 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39525 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39526 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39527 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39528 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39529 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39530 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39531 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39532
395332011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39534
39535 * math/libm-test.inc: Added more nearbyint tests.
39536 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39537 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39538 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39539 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39540
395412011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39542
39543 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39544 FD_CLOEXEC.
39545
395462011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39547
39548 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39549 Add wcscpy-ssse3 wcscpy-c.
39550 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39551 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39552 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39553 * sysdeps/x86_64/wcschr.S: New file.
39554 * sysdeps/x86_64/wcsrchr.S: New file.
39555 * string/test-strcmp.c: Remove checking of wcscmp function for
39556 wrong alignments.
39557 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39558 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39559 wcsrchr-sse2 wcsrchr-c.
39560 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39561 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39562 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39563 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39564 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39565 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39566 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39567 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39568 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39569 * wcsmbc/wcschr.c (WCSCHR): New macro.
39570
395712011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39572
39573 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39574 * wcsmbs/test-wcsrchr.c: New file.
39575 * string/test-strrchr.c: Add wcsrchr support.
39576 (WIDE): New macro.
39577 * wcsmbs/test-wcscpy.c: New file.
39578 * string/test-strcpy.c: Add wcscpy support.
39579 (WIDE): New macro.
39580
395812011-12-10 Ulrich Drepper <drepper@gmail.com>
39582
39583 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39584 the inner loop.
39585
395862011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39587
39588 [BZ #13472]
39589 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39590
395912011-12-04 Ulrich Drepper <drepper@gmail.com>
39592
39593 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39594 Minor optimizations.
39595
39596 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39597 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39598 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39599
396002011-12-03 Ulrich Drepper <drepper@gmail.com>
39601
39602 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39603 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39604 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39605 for gcc to avoid warnings.
39606 * inet/Makefile (tests): Add tst-checks.
39607 * inet/tst-checks.c: New file.
39608
39609 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39610 warning.
39611
39612 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39613 __wmemcmp_sse2.
39614
39615 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39616 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39617
39618 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39619
396202011-12-02 Ulrich Drepper <drepper@gmail.com>
39621
39622 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39623 problem.
39624
39625 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39626
396272011-11-29 Joseph Myers <joseph@codesourcery.com>
39628
39629 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39630 conditional on GCC version.
39631 (__arch_compare_and_exchange_val_8_acq)
39632 (__arch_compare_and_exchange_val_16_acq)
39633 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39634 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39635 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39636
396372011-12-02 Joseph Myers <joseph@codesourcery.com>
39638
39639 * sysdeps/sh/backtrace.c: New file.
39640
396412011-12-02 Andreas Schwab <schwab@redhat.com>
39642
39643 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39644 parenthesis.
39645
396462011-12-01 Andreas Schwab <schwab@redhat.com>
39647
39648 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39649 falling back to utime.
39650
396512011-11-30 Andreas Schwab <schwab@redhat.com>
39652
39653 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39654 expectations for float.
39655
396562011-11-29 Andreas Schwab <schwab@redhat.com>
39657
39658 * locale/weight.h (findidx): Add parameter len.
39659 * locale/weightwc.h (findidx): Likewise.
39660 * posix/fnmatch_loop.c (FCT): Adjust caller.
39661 * posix/regcomp.c (build_equiv_class): Likewise.
39662 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39663 * posix/regexec.c (check_node_accept_bytes): Likewise.
39664 * string/strcoll_l.c (STRCOLL): Likewise.
39665 * string/strxfrm_l.c (STRXFRM): Likewise.
39666
396672011-11-17 Ulrich Drepper <drepper@gmail.com>
39668
39669 * Makefile.in: Remove CVSOPT handling.
39670 * configure.in: Remove use of AC_REVISION.
39671 * iconvdata/Makefile (distribute): No need to filter out CVS.
39672 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39673 handling.
39674
396752011-11-16 Andreas Schwab <schwab@redhat.com>
39676
39677 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39678 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39679 [USE_AS_STRNCASECMP_L]: Likewise.
39680 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39681 NO_TLS_DIRECT_SEG_REFS.
39682 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39683 Fix argument offsets for non-PIC.
39684 [USE_AS_STRNCASECMP_L]: Likewise.
39685 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39686 NO_TLS_DIRECT_SEG_REFS.
39687
396882011-11-15 Ulrich Drepper <drepper@gmail.com>
39689
39690 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39691 O_CLOEXEC.
39692 * locale/loadlocale.c (_nl_load_locale): Likewise.
39693
396942011-11-15 Andreas Schwab <schwab@redhat.com>
39695
39696 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39697 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39698 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39699 (SYSCALL_GETTIME): Set errno on error.
39700
39701 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39702 count references to noai6ai_cached.
39703
397042011-11-15 Ulrich Drepper <drepper@gmail.com>
39705
39706 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39707
39708 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39709 FD_CLOEXEC for /proc/self/maps.
39710
39711 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39712 FD_CLOEXEC for /proc/meminfo.
39713
39714 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39715 gai.conf.
39716
39717 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39718 FD_CLOEXEC for given file.
39719
39720 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39721
39722 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39723 FD_CLOEXEC for /etc/hosts.
39724 (_gethtent): Likewise.
39725
39726 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39727
39728 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39729 cancellation and set FD_CLOEXEC for /etc/netgroup.
39730
39731 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39732 reading /etc/publickey.
39733
39734 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39735 allow cancellation when reading /etc/group.
39736
39737 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39738 cancellation.
39739 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39740
39741 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39742 when using data file.
39743
39744 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39745
39746 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39747 (write_nis_obj): Use "c" and "e" in fopen.
39748
39749 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39750
39751 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39752
39753 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39754
39755 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39756
39757 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39758 locale.alias.
39759
39760 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39761
39762 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39763
39764 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39765
39766 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39767 file parsing and set FD_CLOEXEC.
39768
397692011-11-14 Ulrich Drepper <drepper@gmail.com>
39770
39771 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39772
397732011-11-14 Andreas Schwab <schwab@redhat.com>
39774
39775 * malloc/arena.c (arena_get2): Don't call reused_arena when
39776 _int_new_arena failed.
39777
397782011-11-14 Ulrich Drepper <drepper@gmail.com>
39779
39780 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39781 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39782 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39783 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39784 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39785 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39786 to compile strcasecmp and strncasecmp.
39787 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39788 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39789
39790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39791
397922011-11-13 Ulrich Drepper <drepper@gmail.com>
39793
39794 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39795 locale-defines.sym to gen-as-const-headers.
39796 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39797 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39799 to compile strcasecmp and strncasecmp.
39800 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39801 strcasecmp_l and strncasecmp_l.
39802 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39803 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39804 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39805 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39806 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39807 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39808 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39809 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39810 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39811 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39812 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39813
398142011-11-12 Ulrich Drepper <drepper@gmail.com>
39815
39816 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39817 result of SYSDEP_GETTIME_CPU to retval.
39818 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39819 parameter list to macro. Remove trailing semicolon. Adjust users.
39820
39821 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39822 variable.
39823
39824 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39825 mantissa words.
39826 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39827
39828 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39829 from unused variable.
39830
39831 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39832 DWARF definitions.
39833 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39834 for assembling.
39835
39836 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39837 over namespaces.
39838
39839 * sunrpc/rpc_prot.c (rejected): Fix case value.
39840
39841 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39842 unsigned long long int to avoid warnings in shift.
39843
39844 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39845 of use of trans.
39846 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39847 variable tmp.
39848
39849 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39850 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39851 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39852
39853 * nis/nis_table.c (nis_list): Use variable of correct type for
39854 result of __follow_path call.
39855
398562011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39857
39858 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39859 of math functions ceil, trunc, floor, round, and sqrt, when
39860 avaliable on the platform.
39861 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39862 name clash.
39863 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39864 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39865 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39866
398672011-10-30 Marek Polacek <mpolacek@redhat.com>
39868
39869 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39870 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39871
398722011-11-11 Roland McGrath <roland@hack.frob.com>
39873
39874 * include/unistd.h: Fix __readlink return type.
39875 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39876
398772011-11-11 Ulrich Drepper <drepper@gmail.com>
39878
39879 * stdlib/ucontext.h: Undo last change for makecontext.
39880
398812011-11-11 Andreas Schwab <schwab@redhat.com>
39882
39883 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39884
39885 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39886 * setjmp/setjmp.h: Mark functions as non-leaf.
39887 * setjmp/bits/setjmp2.h: Likewise.
39888 * stdlib/ucontext.h: Likewise.
39889
398902011-11-10 Andreas Schwab <schwab@redhat.com>
39891
39892 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39893 (reused_arena): Don't check arena limit.
39894 (arena_get2): Atomically check arena limit.
39895
398962011-11-08 Ulrich Drepper <drepper@gmail.com>
39897
39898 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39899 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39900
39901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39902 instructions.
39903
399042011-11-07 Andreas Schwab <schwab@redhat.com>
39905
39906 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39907 handler when locking.
39908
39909 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39910 Fix size of allocated buffer.
39911
399122011-11-04 Andreas Schwab <schwab@redhat.com>
39913
39914 [BZ #10103]
39915 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39916 declarations for long double functions.
39917 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39918
39919 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39920
399212011-11-03 Andreas Schwab <schwab@redhat.com>
39922
39923 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39924 installed.
39925
39926 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39927 is disabled.
39928
399292011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39930
39931 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39932
399332011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39934
39935 * include/alloca.h (stackinfo_alloca_round): Define.
39936 (extend_alloca): Use it.
39937 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39938 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39939 here.
39940
39941 * scripts/check-local-headers.sh: Ignore libaudit.h.
39942
39943 * nscd/Makefile (extra-objs): Make recursively expanded.
39944
399452011-11-01 Ulrich Drepper <drepper@gmail.com>
39946
39947 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39948 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39949
39950 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39951 * posix/tst-rfc3484-2.c: Likewise.
39952 * posix/tst-rfc3484-3.c: Likewise.
39953
39954 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39955 process_vm_writev.
39956 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39957 process_vm_writev.
39958 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39959 process_vm_writev from libc using GLIBC_2.15 version.
39960
39961 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39962
399632011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39964
39965 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39966 stack usage.
39967
399682011-10-31 Ulrich Drepper <drepper@gmail.com>
39969
39970 [BZ #13367]
39971 * nss/getent.c (initgroups_keys): Show error message in case no group
39972 names are given.
39973
39974 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39975 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39976 __bump_nl_timestamp.
39977 * nscd/connections (nscd_init): When host database is served open
39978 netlink socket and request notification about configuration changes.
39979 (main_loop_poll): Track netlink file descriptor and bump timestamp
39980 in case data becomes available.
39981 (main_loop_epoll): Likewise.
39982 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39983 (database_pers_head): Add extra_data fileds.
39984 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39985 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39986 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39987 Adjust caller.
39988 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39989 in6ai data, call __free_in6ai.
39990 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39991 Add -DHAVE_NETLINK.
39992 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39993 interface information. Reuse previous data if netlink timestamp
39994 is not changed.
39995 (__bump_nl_timestamp): New function.
39996 (__free_in6ai): New function.
39997
399982011-10-30 Ulrich Drepper <drepper@gmail.com>
39999
40000 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40001 close_not_cancel_no_status here.
40002 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40003
400042011-10-29 Ulrich Drepper <drepper@gmail.com>
40005
40006 [BZ #13276]
40007 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40008 return value.
40009
40010 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40011 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40012 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40013
400142011-07-03 Andreas Jaeger <aj@suse.de>
40015
40016 [BZ #10709]
40017 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40018 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40019 * math/libm-test.inc (sin_test): Add test case.
40020
400212011-10-29 Ulrich Drepper <drepper@gmail.com>
40022
40023 [BZ #13337]
40024 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40025 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40026
40027 * elf/chroot_canon.c (chroot_canon): Cleanups.
40028
40029 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40030
40031 [BZ #13335]
40032 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40033 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40034
40035 * string/test-strchr.c: Make usable for strchrnul testing.
40036 * string/test-strchrnul.c: New file.
40037 * string/Makefile (strop-tests): Add strchrnul.
40038
40039 * po/it.po: Update from translation team.
40040 * po/es.po: Likewise.
40041
400422011-10-28 Ulrich Drepper <drepper@gmail.com>
40043
40044 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40045 the three constants needed as parameters. Drop the others.
40046 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40047 __m128i_strloadu_tolower.
40048 Create and initialize variable zero and use it in all the places
40049 where _mm_setzero_si128 was used.
40050
40051 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40052 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40053 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40054 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40055 anymore.
40056 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40057 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40058 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40059 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40060 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40061 __mpranred, __mptan.
40062 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40063 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40064 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40065 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40066 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40067 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40068 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40069 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40070 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40071
400722011-10-28 Andreas Schwab <schwab@redhat.com>
40073
40074 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40075 redefine if SHARED.
40076 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40077
40078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40079 wide char related routines to wcsmbs subdir.
40080
400812011-10-27 Andreas Schwab <schwab@redhat.com>
40082
40083 [BZ #13344]
40084 * misc/sys/cdefs.h (__THROWNL): Define.
40085 * posix/unistd.h: Use __THREADNL instead of __THREAD
40086 for memory synchronization functions.
40087
400882011-10-26 Roland McGrath <roland@hack.frob.com>
40089
40090 [BZ #13349]
40091 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40092 doesn't exist.
40093 * manual/stdio.texi (Obstack Streams): Node removed.
40094
400952011-10-26 Andreas Schwab <schwab@redhat.com>
40096
40097 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40098 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40099 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40100
40101 * math/math_private.h (math_force_eval): Allow non-addressable
40102 arguments.
40103 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40104
401052011-10-25 Ulrich Drepper <drepper@gmail.com>
40106
40107 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40108 file is not needed.
40109
40110 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40111 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40112 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40113 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40114 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40115 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40116 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40117 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40118 Add AVX variants.
40119 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40120 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40121 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40122 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40123 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40124 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40125 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40126 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40127 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40128 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40129 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40130 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40131 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40132 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40133 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40134 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40135 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40136 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40137 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40138
40139 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40140 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40141
40142 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40143 place. Use VEX encoding when compiling for AVX.
40144
401452011-10-25 Andreas Schwab <schwab@redhat.com>
40146
40147 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40148 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40149
40150 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40151
401522011-10-25 Ulrich Drepper <drepper@gmail.com>
40153
40154 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40155 useless if() expression.
40156 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40157 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40158 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40159 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40160 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40161 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40162 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40163 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40164 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40165 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40166 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40167 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40168 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40169 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40170 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40171 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40172 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40173 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40174 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40175
40176 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40177
401782011-10-25 Andreas Schwab <schwab@redhat.com>
40179
40180 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40181 condition.
40182 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40183
401842011-10-25 Ulrich Drepper <drepper@gmail.com>
40185
40186 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40187 .text section. Avoid duplicate constants.
40188 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40190 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40192 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40194 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40196 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40197 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40198 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40199 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40200 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40201 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40202 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40203 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40204 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40205 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40206 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40207 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40208 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40209 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40210 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40211 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40212 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40213 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40214 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40215 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40216 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40217 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40218 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40219 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40220 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40221 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40222 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40223 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40224 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40225 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40226 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40227 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40228 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40229 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40230 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40231 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40232 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40233
402342011-10-24 Ulrich Drepper <drepper@gmail.com>
40235
40236 * sysdeps/x86_64/dla.h: Move to ...
40237 * sysdeps/x86_64/fpu/dla.h: ...here.
40238 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40239 situations. Use __builtin_fma only for gcc 4.6 and up.
40240
40241 * config.make.in: Add have-mfma4 entry.
40242 * configure.in: Substitute libc_cv_cc_fma4.
40243 * math/Makefile (dbl-only-routines): Add sincostab.
40244 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40245 Use __sincostab not sincos.
40246 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40247 name is a macro.
40248 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40249 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40250 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40251 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40252 using __copysign.
40253 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40254 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40255 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40256 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40257 and __inv.
40258 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40259 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40260 __copysign.
40261 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40262 define aliases when function name is a macro.
40263 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40264 sysdeps/ieee754/dbl-64/sincos.tbl.
40265 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40266 fma4-enabled routines.
40267 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40268 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40269 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40270 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40271 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40272 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40273 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40274 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40275 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40276 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40277 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40278 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40279 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40280 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40281 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40282 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40283 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40284 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40285 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40286 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40287 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40288 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40289 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40290 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40291 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40292 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40293 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40294 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40295 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40296 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40297
40298 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40299 rename.
40300 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40301 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40303 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40304 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40305 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40306 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40307 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40308
403092011-10-24 Andreas Schwab <schwab@redhat.com>
40310
40311 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40312
403132011-10-23 Ulrich Drepper <drepper@gmail.com>
40314
40315 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40316
40317 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40318 prediction.
40319 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40320
40321 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40322 Remove unused variable magic_bits.
40323 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40324
40325 * string/strnlen.c: Define and use STRNLEN macro.
40326 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40327 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40328 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40329 * wcsmbs/wcslen.c: Define and use WCSLEN.
40330 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40331 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40332 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40333 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40334 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40335 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40336 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40337
403382011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40339
40340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40341 strnlen-sse2-no-bsf.
40342 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40343 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40344 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40345 Add strnlen support.
40346 (USE_AS_STRNLEN): New macro.
40347 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40348 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40349 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40350 * sysdeps/x86_64/wcslen.S: New file.
40351
403522011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40353
40354 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40355 XMM-moves are used for copying on small sizes.
40356
403572011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40358
40359 * wcsmbs/Makefile (strop-tests): Add wcschr.
40360 * wcsmbs/test-wcschr.c: New file.
40361 * string/test-strchr.c: Update.
40362 Add wcschr support.
40363 (WIDE): New macro.
40364
403652011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40366
40367 * wcsmbs/Makefile (strop-tests): Add wcslen.
40368 * wcsmbs/test-wcslen.c: New file.
40369 * string/test-strlen.c: Update.
40370 Add wcslen support.
40371 (WIDE): New macro.
40372
403732011-10-23 Ulrich Drepper <drepper@gmail.com>
40374
40375 * po/it.po: Update from translation team.
40376
403772011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40378
40379 * sysdeps/x86_64/wcscmp.S: Update.
40380 Fix wrong comparison semantics.
40381 wcscmp shall use signed comparison not unsigned.
40382 Don't use substraction to avoid overflow bug.
40383 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40384 * wcsmbc/wcscmp.c: Likewise.
40385 * string/test-strcmp.c: Likewise.
40386 Add new tests to check cases with negative values.
40387
403882011-10-23 Ulrich Drepper <drepper@gmail.com>
40389
40390 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40391 * sysdeps/x86_64/dla.h: ...here. New file.
40392 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40393 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40394 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40395 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40396 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40397 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40400 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40401
404022011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40403
40404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40405 __ynl_finite aliases.
40406
404072011-10-22 Ulrich Drepper <drepper@gmail.com>
40408
40409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40410
40411 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40412 define DLA_FMA.
40413 [DLA_FMA] (EMULV): Use DLA_FMA.
40414 [DLA_FMA] (MUL12): Use EMULV.
40415 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40416 that are not needed.
40417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40421 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40422 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40423 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40424
404252011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40426
40427 * math/s_nan.c: Undef __nan.
40428 * math/s_nanf.c: Undef __nanf.
40429 * math/s_nanl.c: Undef __nanl.
40430 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40431 "math_private.h".
40432
404332011-10-22 Ulrich Drepper <drepper@gmail.com>
40434
40435 * math/s_catan.c: Add branch predictions.
40436 * math/s_catanf.c: Likewise.
40437 * math/s_catanh.c: Likewise.
40438 * math/s_catanhf.c: Likewise.
40439 * math/s_catanhl.c: Likewise.
40440 * math/s_catanl.c: Likewise.
40441 * math/s_cexp.c: Likewise.
40442 * math/s_cexpf.c: Likewise.
40443 * math/s_cexpl.c: Likewise.
40444 * math/s_clog.c: Likewise.
40445 * math/s_clog10.c: Likewise.
40446 * math/s_clog10f.c: Likewise.
40447 * math/s_clog10l.c: Likewise.
40448 * math/s_clogf.c: Likewise.
40449 * math/s_clogl.c: Likewise.
40450 * math/s_csqrt.c: Likewise.
40451 * math/s_csqrtf.c: Likewise.
40452 * math/s_csqrtl.c: Likewise.
40453 * math/s_ctanf.c: Likewise.
40454 * math/s_ctanh.c: Likewise.
40455 * math/s_ctanhf.c: Likewise.
40456 * math/s_ctanhl.c: Likewise.
40457 * math/s_ctanl.c: Likewise.
40458
40459 * math/math_private.h: Define __nan, __nanf, __nanl.
40460 * math/s_cacosh.c: Include <math_private.h>.
40461 * math/s_cacoshl.c: Likewise.
40462 * math/s_casinh.c: Likewise.
40463 * math/s_casinhf.c: Likewise.
40464 * math/s_casinhl.c: Likewise.
40465 * math/s_ccos.c: Rely entire on ccosh.
40466 * math/s_ccosf.c: Rely entire on ccoshf.
40467 * math/s_ccosl.c: Rely entirely on ccoshl.
40468 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40469 Remove tests for FE_INVALID.
40470 * math/s_ccoshf.c: Likewise.
40471 * math/s_ccoshl.c: Likewise.
40472 * math/s_csin.c: Likewise.
40473 * math/s_csinf.c: Likewise.
40474 * math/s_csinh.c Likewise.
40475 * math/s_csinhf.c: Likewise.
40476 * math/s_csinhl.c: Likewise.
40477 * math/s_csinl.c: Likewise.
40478 * math/s_ctan.c: Likewise.
40479 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40480 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40481 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40482
404832011-10-21 Ulrich Drepper <drepper@gmail.com>
40484
40485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40486 compilation problems.
40487
40488 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40489 __builtin_expect.
40490
404912011-10-20 Ulrich Drepper <drepper@gmail.com>
40492
40493 * sysdeps/i386/configure.in: Test for -mfma4 option.
40494 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40495 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40496 COMMON_CPUID_INDEX_80000001.
40497 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40498 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40499 use it if FMA3 is not supported.
40500 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40501
40502 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40503 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40504
405052011-10-20 Andreas Schwab <schwab@redhat.com>
40506
40507 [BZ #12892]
40508 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40509 it would create a cycle with a link time dependency.
40510
405112011-10-19 Ulrich Drepper <drepper@gmail.com>
40512
40513 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40514 instruction.
40515 * string/Makefile (strop-tests): Add rawmemchr.
40516 * string/test-rawmemchr.c: New file.
40517
40518 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40519 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40520 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40521 when compiling str{,n}casecmp and when AVX is available. Hook up
40522 new optimized code in initializers.
40523
405242011-10-19 Andreas Schwab <schwab@redhat.com>
40525
40526 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40527 __feraiseexcept instead of feraiseexcept.
40528
405292011-10-18 Ulrich Drepper <drepper@gmail.com>
40530
40531 * math/math_private.h: Define defaults for libc_fetestexcept and
40532 libc_feupdateenv.
40533 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40534 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40535 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40536 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40537 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40538 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40539 libc_fetestexcept and libc_feupdateenv.
40540
40541 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40542 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40543 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40544 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40545 libc_feholdexcept_setround.
40546
40547 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40548 Add s_nearbyint-c and s_nearbyintf-c.
40549 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40550 nearbyintf inlines.
40551 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40552 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40553 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40554 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40555
40556 * math/math_private.h: Define defaults for libc_fegetround,
40557 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40558 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40559 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40560 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40561 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40562 standard functions.
40563 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40564 Remove comments and hacks for old compiler versions.
40565 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40566 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40567 libc_feholdexceptl.
40568
405692011-10-18 Andreas Schwab <schwab@redhat.com>
40570
40571 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40572 (__feraiseexcept_renamed): Add __NTH.
40573 (feraiseexcept): Add __NTH. Rename local variables to fix
40574 namespace violations.
40575
405762011-10-17 Ulrich Drepper <drepper@gmail.com>
40577
40578 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40579
40580 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40581
40582 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40583 recently added interfaces.
40584 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40585
40586 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40587 about macro parameter expansion.
40588
40589 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40590 __NO_MATH_INLINES is defined. Cleanups.
40591
40592 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40593 and __floorf is target has SSE4.1.
40594 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40595 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40596 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40597 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40598
40599 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40600 name.
40601 (floorf): Likewise.
40602
40603 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40604
406052011-10-17 Andreas Schwab <schwab@redhat.com>
40606
40607 * misc/sys/cdefs.h: Fix last change.
40608
40609 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40610 database lookup.
40611
406122011-10-16 Ulrich Drepper <drepper@gmail.com>
40613
40614 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40615
40616 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40617 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40618 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40619 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40620 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40621 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40622 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40623 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40624 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40625 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40626 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40627 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40628 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40629 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40630 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40631 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40632 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40633 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40634 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40635 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40636 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40637 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40638
40639 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40640 ceil, ceilf, floor, floorf.
40641
40642 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40643 Perform IRELATIVE relocations last.
40644
40645 * elf/do-rel.h: Add another parameter nrelative, replacing the
40646 local variable with the same name. Change name of the function
40647 to end in Rel or Rela (uppercase).
40648 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40649 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40650 elf_dynamic_do_##reloc function.
40651
406522011-10-15 Ulrich Drepper <drepper@gmail.com>
40653
40654 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40655 is sufficient, at least on modern CPUs.
40656
40657 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40658
40659 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40660 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40661
40662 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40663 __expl_finite.
40664 * math/bits/math-finite.h: Add entries for exp.
40665 * math/e_expl.c: Add __*_finite alias.
40666 * sysdeps/i386/fpu/e_exp.S: Likewise.
40667 * sysdeps/i386/fpu/e_expf.S: Likewise.
40668 * sysdeps/i386/fpu/e_expl.c: Likewise.
40669 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40670 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40671 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40672 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40673 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40674 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40675 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40676
40677 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40678 is sufficient, at least on modern CPUs.
40679
40680 * ctype/ctype-info.c (__ctype_init): Define.
40681 * include/ctype.h (__ctype_init): Declare.
40682 (__ctype_b_loc): The variable is always initialized.
40683 (__ctype_toupper_loc): Likewise.
40684 (__ctype_tolower_loc): Likewise.
40685 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40686 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40687
406882011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40689
40690 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40691
40692 * configure.in: Also look in $cxxmachine/include for C++ system
40693 headers.
40694
406952011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40696
40697 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40698 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40699 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40700 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40701 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40702 (USE_AS_WMEMCMP): New macro.
40703 Fixing indents.
40704 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40705 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40706 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40707 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40709 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40710 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40711 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40712 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40713 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40714 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40715 (USE_AS_WMEMCMP): New macro.
40716 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40717 * sysdeps/string/test-memcmp.c: Update.
40718 Fix simple_wmemcmp.
40719 Add new tests.
40720 * wcsmbs/wmemcmp.c: Update.
40721 (WMEMCMP): New macro.
40722 Fix overflow bug.
40723
407242011-10-12 Andreas Jaeger <aj@suse.de>
40725
40726 [BZ #13268]
40727 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40728
407292011-10-15 Ulrich Drepper <drepper@gmail.com>
40730
40731 * libio/iofwide.c (do_length): Avoid warning.
40732
40733 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40734
407352011-10-14 Ulrich Drepper <drepper@gmail.com>
40736
40737 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40738
40739 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40740 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40741 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40742 * sysdeps/i386/i686/fpu/e_log.S: New file.
40743 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40744 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40745
40746 * ctype/ctype.h: Add support for inlined isXXX functions when
40747 compiling C++ code.
40748
407492011-10-14 Andreas Schwab <schwab@redhat.com>
40750
40751 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40752
40753 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40754
407552011-10-13 Roland McGrath <roland@hack.frob.com>
40756
40757 [BZ #13291]
40758 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40759
407602011-10-13 Andreas Schwab <schwab@redhat.com>
40761
40762 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40763 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40764 feraiseexcept.
40765
40766 * sysdeps/x86_64/memrchr.S: Check for zero size.
40767
40768 * string/stratcliff.c: Add memrchr tests.
40769
407702011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40771
40772 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40773 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40774 rawmemchr-sse2 rawmemchr-sse2-bsf.
40775 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40776 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40777 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40778 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40779 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40780 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40781 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40782 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40783 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40784 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40785 * string/memrchr.c (MEMRCHR): New macro.
40786
407872011-10-12 Ulrich Drepper <drepper@gmail.com>
40788
40789 Add integration with gcc's -ffinite-math-only and optimize wrapper
40790 functions in libm.
40791 * Versions.def: Define GLIBC_2.15 version for libm.
40792 * math/Makefile (headers): Add bits/math-finite.h.
40793 * math/bits/math-finite.h: New file.
40794 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40795 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40796 * math/e_acoshl.c: Add __*_finite alias.
40797 * math/e_acosl.c: Likewise.
40798 * math/e_asinl.c: Likewise.
40799 * math/e_atan2l.c: Likewise.
40800 * math/e_atanhl.c: Likewise.
40801 * math/e_coshl.c: Likewise.
40802 * math/e_exp10.c: Likewise.
40803 * math/e_exp10f.c: Likewise.
40804 * math/e_exp10l.c: Likewise.
40805 * math/e_exp2l.c: Likewise.
40806 * math/e_fmodl.c: Likewise.
40807 * math/e_gammal_r.c: Likewise.
40808 * math/e_hypotl.c: Likewise.
40809 * math/e_j0l.c: Likewise.
40810 * math/e_j1l.c: Likewise.
40811 * math/e_jnl.c: Likewise.
40812 * math/e_lgammal_r.c: Likewise.
40813 * math/e_log10l.c: Likewise.
40814 * math/e_log2l.c: Likewise.
40815 * math/e_logl.c: Likewise.
40816 * math/e_powl.c: Likewise.
40817 * math/e_sinhl.c: Likewise.
40818 * math/e_sqrtl.c: Likewise.
40819 * math/e_scalb.c: Completely rewritten and optimized.
40820 * math/e_scalbf.c: Likewise.
40821 * math/e_scalbl.c: Likewise.
40822 * math/w_acos.c: Likewise.
40823 * math/w_acosf.c: Likewise.
40824 * math/w_acosl.c: Likewise.
40825 * math/w_acosh.c: Likewise.
40826 * math/w_acoshf.c: Likewise.
40827 * math/w_acoshl.c: Likewise.
40828 * math/w_asin.c: Likewise.
40829 * math/w_asinf.c: Likewise.
40830 * math/w_asinl.c: Likewise.
40831 * math/w_atan2.c: Likewise.
40832 * math/w_atan2f.c: Likewise.
40833 * math/w_atan2l.c: Likewise.
40834 * math/w_atanh.c: Likewise.
40835 * math/w_atanhf.c: Likewise.
40836 * math/w_atanhl.c: Likewise.
40837 * math/w_exp10.c: Likewise.
40838 * math/w_exp10f.c: Likewise.
40839 * math/w_exp10l.c: Likewise.
40840 * math/w_fmod.c: Likewise.
40841 * math/w_fmodf.c: Likewise.
40842 * math/w_fmodl.c: Likewise.
40843 * math/w_j0.c: Likewise.
40844 * math/w_j0f.c: Likewise.
40845 * math/w_j0l.c: Likewise.
40846 * math/w_j1.c: Likewise.
40847 * math/w_j1f.c: Likewise.
40848 * math/w_j1l.c: Likewise.
40849 * math/w_jn.c: Likewise.
40850 * math/w_jnf.c: Likewise.
40851 * math/w_log.c: Likewise.
40852 * math/w_logf.c: Likewise.
40853 * math/w_logl.c: Likewise.
40854 * math/w_log10.c: Likewise.
40855 * math/w_log10f.c: Likewise.
40856 * math/w_log10l.c: Likewise.
40857 * math/w_log2.c: Likewise.
40858 * math/w_log2f.c: Likewise.
40859 * math/w_log2l.c: Likewise.
40860 * math/w_pow.c: Likewise.
40861 * math/w_powf.c: Likewise.
40862 * math/w_powl.c: Likewise.
40863 * math/w_remainder.c: Likewise.
40864 * math/w_remainderf.c: Likewise.
40865 * math/w_remainderl.c: Likewise.
40866 * math/w_scalb.c: Likewise.
40867 * math/w_scalbf.c: Likewise.
40868 * math/w_scalbl.c: Likewise.
40869 * math/w_sqrt.c: Likewise.
40870 * math/w_sqrtf.c: Likewise.
40871 * math/w_sqrtl.c: Likewise.
40872 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40873 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40874 used.
40875 * math/math_private.h: Declare __kernel_standard_f.
40876 * math/w_cosh.c: Remove cruft and optimize a bit.
40877 * math/w_coshf.c: Likewise.
40878 * math/w_coshl.c: Likewise.
40879 * math/w_exp2.c: Likewise.
40880 * math/w_exp2f.c: Likewise.
40881 * math/w_exp2l.c: Likewise.
40882 * math/w_hypot.c: Likewise.
40883 * math/w_hypotf.c: Likewise.
40884 * math/w_hypotl.c: Likewise.
40885 * math/w_lgamma.c: Likewise.
40886 * math/w_lgamma_r.c: Likewise.
40887 * math/w_lgammaf.c: Likewise.
40888 * math/w_lgammaf_r.c: Likewise.
40889 * math/w_lgammal.c: Likewise.
40890 * math/w_lgammal_r.c: Likewise.
40891 * math/w_sinh.c: Likewise.
40892 * math/w_sinhf.c: Likewise.
40893 * math/w_sinhl.c: Likewise.
40894 * math/w_tgamma.c: Likewise.
40895 * math/w_tgammaf.c: Likewise.
40896 * math/w_tgammal.c: Likewise.
40897 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40898 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40899 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40900 Minor optimizations. Pretty printing. Remove cruft.
40901 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40902 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40903 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40904 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40905 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40906 * sysdeps/i386/fpu/e_asin.S: Likewise.
40907 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40908 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40909 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40910 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40911 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40912 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40913 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40914 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40915 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40916 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40917 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40918 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40919 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40920 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40921 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40922 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40923 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40924 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40925 * sysdeps/i386/fpu/e_log.S: Likewise.
40926 * sysdeps/i386/fpu/e_log10.S: Likewise.
40927 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40928 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40929 * sysdeps/i386/fpu/e_log2.S: Likewise.
40930 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40931 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40932 * sysdeps/i386/fpu/e_logf.S: Likewise.
40933 * sysdeps/i386/fpu/e_logl.S: Likewise.
40934 * sysdeps/i386/fpu/e_pow.S: Likewise.
40935 * sysdeps/i386/fpu/e_powf.S: Likewise.
40936 * sysdeps/i386/fpu/e_powl.S: Likewise.
40937 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40938 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40939 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40940 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40941 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40942 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40943 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40944 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40945 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40946 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40947 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40949 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40950 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40951 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40952 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40953 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40954 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40955 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40956 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40957 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40958 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40959 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40960 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40961 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40962 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40963 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40964 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40965 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40966 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40967 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40968 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40969 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40970 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40971 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40972 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40973 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40974 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40975 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40976 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40977 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40978 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40979 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40980 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40981 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40982 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40983 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40984 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40985 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40986 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40987 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40988 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40989 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40990 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40991 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40992 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40993 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40994 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40995 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40996 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40997 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40998 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40999 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41000 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41001 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41002 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41003 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41004 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41005 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41007 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41008 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41009 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41010 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41011 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41012 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41013 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41014 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41015 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41016 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41017 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41018 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41020 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41021 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41022 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41023 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41024 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41025 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41026 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41027 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41028 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41029 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41030 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41031 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41032 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41034 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41036 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41037 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41038 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41039 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41040 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41041 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41042 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41043 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41044 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41045 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41046 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41047 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41048 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41049 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41050 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41051 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41052 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41053 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41054 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41055 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41056 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41057 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41058 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41059 (__isnanf): Likewise.
41060 (__isinf_ns): Likewise.
41061 (__isinf_nsf): Likewise.
41062 (__finite): Likewise.
41063 (__finitef): Likewise.
41064 (__ieee754_sqrt): Define as macro.
41065 (__ieee754_sqrtf): Define as macro.
41066 (__ieee754_sqrtl): Define as macro.
41067 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41068 inlined copy.
41069 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41070 __FINITE_MATH_ONLY__ consistent.
41071 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41072
410732011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41074
41075 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41076 of rawmemchr.
41077
41078 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41079
410802011-10-09 Ulrich Drepper <drepper@gmail.com>
41081
41082 * po/ja.po: Update from translation team.
41083
410842011-10-08 Roland McGrath <roland@hack.frob.com>
41085
41086 * locale/programs/locarchive.c (prepare_address_space): New function.
41087 (create_archive, enlarge_archive, open_archive): Use it.
41088
41089 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41090 inside [SHARED], where it is used.
41091
41092 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41093
41094 * nss/getent.c (netgroup_keys): Remove unused variable.
41095 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41096
410972011-10-08 Ulrich Drepper <drepper@gmail.com>
41098
41099 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41100 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41101 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41102 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41103 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41104 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41105 * math/Makefile (libm-calls): Add s_isinf_ns.
41106 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41107 * math/multc3.c: Likewise.
41108 * math/s_casin.c: Likewise.
41109 * math/s_casinf.c: Likewise.
41110 * math/s_casinl.c: Likewise.
41111 * math/s_ccos.c: Likewise.
41112 * math/s_ccosf.c: Likewise.
41113 * math/s_ccosl.c: Likewise.
41114 * math/s_ctan.c: Likewise.
41115 * math/s_ctanf.c: Likewise.
41116 * math/s_ctanh.c: Likewise.
41117 * math/s_ctanhf.c: Likewise.
41118 * math/s_ctanhl.c: Likewise.
41119 * math/s_ctanl.c: Likewise.
41120 * math/w_fmod.c: Likewise.
41121 * math/w_fmodf.c: Likewise.
41122 * math/w_fmodl.c: Likewise.
41123 * math/w_remainder.c: Likewise.
41124 * math/w_remainderf.c: Likewise.
41125 * math/w_remainderl.c: Likewise.
41126 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41127 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41128 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41129 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41130 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41131 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41132 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41133 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41134
41135 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41136 of the number.
41137 * stdio-common/printf_fphex.c: Likewise.
41138 * stdio-common/printf_size.c: Likewise.
41139
41140 * math/e_exp10.c: Include math_private.h using <...> not "...".
41141 * math/e_exp10f.c: Likewise.
41142 * math/e_exp10l.c: Likewise.
41143 * math/e_exp2l.c: Likewise.
41144 * math/e_j0l.c: Likewise.
41145 * math/e_j1l.c: Likewise.
41146 * math/e_jnl.c: Likewise.
41147 * math/e_lgammal_r.c: Likewise.
41148 * math/e_rem_pio2l.c: Likewise.
41149 * math/e_scalb.c: Likewise.
41150 * math/e_scalbf.c: Likewise.
41151 * math/e_scalbl.c: Likewise.
41152 * math/k_cosl.c: Likewise.
41153 * math/k_sinl.c: Likewise.
41154 * math/k_tanl.c: Likewise.
41155 * math/s_cacoshf.c: Likewise.
41156 * math/s_catan.c: Likewise.
41157 * math/s_catanf.c: Likewise.
41158 * math/s_catanh.c: Likewise.
41159 * math/s_catanhf.c: Likewise.
41160 * math/s_catanhl.c: Likewise.
41161 * math/s_catanl.c: Likewise.
41162 * math/s_ccosh.c: Likewise.
41163 * math/s_ccoshf.c: Likewise.
41164 * math/s_ccoshl.c: Likewise.
41165 * math/s_cexp.c: Likewise.
41166 * math/s_cexpf.c: Likewise.
41167 * math/s_cexpl.c: Likewise.
41168 * math/s_clog.c: Likewise.
41169 * math/s_clog10.c: Likewise.
41170 * math/s_clog10f.c: Likewise.
41171 * math/s_clog10l.c: Likewise.
41172 * math/s_clogf.c: Likewise.
41173 * math/s_clogl.c: Likewise.
41174 * math/s_csin.c: Likewise.
41175 * math/s_csinf.c: Likewise.
41176 * math/s_csinh.c: Likewise.
41177 * math/s_csinhf.c: Likewise.
41178 * math/s_csinhl.c: Likewise.
41179 * math/s_csinl.c: Likewise.
41180 * math/s_csqrt.c: Likewise.
41181 * math/s_csqrtf.c: Likewise.
41182 * math/s_csqrtl.c: Likewise.
41183 * math/s_ctan.c: Likewise.
41184 * math/s_ctanf.c: Likewise.
41185 * math/s_ctanh.c: Likewise.
41186 * math/s_ctanhf.c: Likewise.
41187 * math/s_ctanhl.c: Likewise.
41188 * math/s_ctanl.c: Likewise.
41189 * math/s_ldexp.c: Likewise.
41190 * math/s_ldexpf.c: Likewise.
41191 * math/s_ldexpl.c: Likewise.
41192 * math/s_significand.c: Likewise.
41193 * math/s_significandf.c: Likewise.
41194 * math/s_significandl.c: Likewise.
41195 * math/w_acos.c: Likewise.
41196 * math/w_acosf.c: Likewise.
41197 * math/w_acosh.c: Likewise.
41198 * math/w_acoshf.c: Likewise.
41199 * math/w_acoshl.c: Likewise.
41200 * math/w_acosl.c: Likewise.
41201 * math/w_asin.c: Likewise.
41202 * math/w_asinf.c: Likewise.
41203 * math/w_asinl.c: Likewise.
41204 * math/w_atan2.c: Likewise.
41205 * math/w_atan2f.c: Likewise.
41206 * math/w_atan2l.c: Likewise.
41207 * math/w_atanh.c: Likewise.
41208 * math/w_atanhf.c: Likewise.
41209 * math/w_atanhl.c: Likewise.
41210 * math/w_cosh.c: Likewise.
41211 * math/w_coshf.c: Likewise.
41212 * math/w_coshl.c: Likewise.
41213 * math/w_dremf.c: Likewise.
41214 * math/w_exp10.c: Likewise.
41215 * math/w_exp10f.c: Likewise.
41216 * math/w_exp10l.c: Likewise.
41217 * math/w_exp2.c: Likewise.
41218 * math/w_exp2f.c: Likewise.
41219 * math/w_fmod.c: Likewise.
41220 * math/w_fmodf.c: Likewise.
41221 * math/w_fmodl.c: Likewise.
41222 * math/w_hypot.c: Likewise.
41223 * math/w_hypotf.c: Likewise.
41224 * math/w_hypotl.c: Likewise.
41225 * math/w_j0.c: Likewise.
41226 * math/w_j0f.c: Likewise.
41227 * math/w_j0l.c: Likewise.
41228 * math/w_j1.c: Likewise.
41229 * math/w_j1f.c: Likewise.
41230 * math/w_j1l.c: Likewise.
41231 * math/w_jn.c: Likewise.
41232 * math/w_jnf.c: Likewise.
41233 * math/w_jnl.c: Likewise.
41234 * math/w_lgamma.c: Likewise.
41235 * math/w_lgamma_r.c: Likewise.
41236 * math/w_lgammaf.c: Likewise.
41237 * math/w_lgammaf_r.c: Likewise.
41238 * math/w_lgammal.c: Likewise.
41239 * math/w_lgammal_r.c: Likewise.
41240 * math/w_log.c: Likewise.
41241 * math/w_log10.c: Likewise.
41242 * math/w_log10f.c: Likewise.
41243 * math/w_log10l.c: Likewise.
41244 * math/w_log2.c: Likewise.
41245 * math/w_log2f.c: Likewise.
41246 * math/w_log2l.c: Likewise.
41247 * math/w_logf.c: Likewise.
41248 * math/w_logl.c: Likewise.
41249 * math/w_pow.c: Likewise.
41250 * math/w_powf.c: Likewise.
41251 * math/w_powl.c: Likewise.
41252 * math/w_remainder.c: Likewise.
41253 * math/w_remainderf.c: Likewise.
41254 * math/w_remainderl.c: Likewise.
41255 * math/w_scalb.c: Likewise.
41256 * math/w_scalbf.c: Likewise.
41257 * math/w_scalbl.c: Likewise.
41258 * math/w_sinh.c: Likewise.
41259 * math/w_sinhf.c: Likewise.
41260 * math/w_sinhl.c: Likewise.
41261 * math/w_sqrt.c: Likewise.
41262 * math/w_sqrtf.c: Likewise.
41263 * math/w_sqrtl.c: Likewise.
41264 * math/w_tgamma.c: Likewise.
41265 * math/w_tgammaf.c: Likewise.
41266 * math/w_tgammal.c: Likewise.
41267
41268 * po/ja.po: Update from translation team.
41269
412702011-09-29 Andreas Jaeger <aj@suse.de>
41271
41272 [BZ #13179]
41273 * sunrpc/netname.c (netname2host): Fix logic.
41274
41275 [BZ #6779]
41276 [BZ #6783]
41277 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41278 correctly.
41279 * math/w_remainder.c (__remainder): Likewise.
41280 * math/w_remainderf.c (__remainderf): Likewise.
41281 * math/libm-test.inc (remainder_test): Add test cases.
41282
412832011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41284
41285 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41286 sdiv_qrnnd.
41287
412882011-10-07 Ulrich Drepper <drepper@gmail.com>
41289
41290 * string/test-memcmp.c: Avoid unncessary #defines.
41291 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41292
412932011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41294
41295 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41296 Use new sse2 version for core i3 - i7 as it's faster
41297 than sse42 version.
41298 (bit_Prefer_PMINUB_for_stringop): New.
41299 * sysdeps/x86_64/rawmemchr.S: Update.
41300 Replace with faster SSE2 version.
41301 * sysdeps/x86_64/memrchr.S: New file.
41302 * sysdeps/x86_64/memchr.S: Update.
41303 Replace with faster SSE2 version.
41304
413052011-09-12 Marek Polacek <mpolacek@redhat.com>
41306
41307 * elf/dl-load.c (lose): Add cast to avoid warning.
41308
413092011-10-07 Ulrich Drepper <drepper@gmail.com>
41310
41311 * po/ca.po: Update from translation team.
41312
41313 * inet/getnetgrent_r.c: Hook up nscd.
41314 * nscd/Makefile (routines): Add nscd_netgroup.
41315 (nscd-modules): Add netgroupcache.
41316 (CFLAGS-netgroupcache.c): Define.
41317 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41318 (cache_search): Add const to second parameter.
41319 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41320 INNETGR.
41321 (dbs): Add netgrdb entry.
41322 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41323 (verify_persistent_db): Handle netgrdb.
41324 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41325 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41326 GETFDNETGR.
41327 (netgroup_response_header): Define.
41328 (innetgroup_response_header): Define.
41329 (datahead): Add netgroup_response_header and innetgroup_response_header
41330 elements.
41331 * nscd/nscd.conf: Add entries for netgroup cache.
41332 * nscd/nscd.h (dbtype): Add netgrdb.
41333 (_PATH_NSCD_NETGROUP_DB): Define.
41334 (netgroup_iov_disabled): Declare.
41335 (xmalloc, xcalloc, xrealloc): Move declarations here.
41336 (cache_search): Adjust prototype.
41337 Add netgroup-related prototypes.
41338 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41339 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41340 (__nscd_innetgr): Declare.
41341 * nscd/selinux.c (perms): Use access_vector_t as element type and
41342 add netgroup-related initializers.
41343 * nscd/netgroupcache.c: New file.
41344 * nscd/nscd_netgroup.c: New file.
41345 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41346 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41347 For four parameters use innetgr.
41348 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41349 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41350 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41351 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41352
41353 * nscd/connections.c (register_traced_file): Don't register file
41354 for disabled databases.
41355
413562011-10-06 Ulrich Drepper <drepper@gmail.com>
41357
41358 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41359
41360 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41361 from tree and freeing node.
41362
413632011-09-25 Jiri Olsa <jolsa@redhat.com>
41364
41365 * nss/nsswitch.c (__nss_database_lookup): Handle
41366 nss_parse_service_list out of memory case.
41367
413682011-09-15 Jiri Olsa <jolsa@redhat.com>
41369
41370 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41371 out of memory case.
41372
413732011-10-04 Andreas Schwab <schwab@redhat.com>
41374
41375 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41376 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41377 pass it down.
41378 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41379 elf_machine_rela, elf_machine_lazy_rel.
41380 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41381 (ELF_DYNAMIC_DO_REL): Likewise.
41382 (ELF_DYNAMIC_DO_RELA): Likewise.
41383 (ELF_DYNAMIC_RELOCATE): Likewise.
41384 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41385 to ELF_DYNAMIC_DO_REL.
41386 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41387 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41388 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41389 elf_machine_rela.
41390 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41391 skip_ifunc, don't call ifunc function if non-zero.
41392 (elf_machine_rela): Likewise.
41393 (elf_machine_lazy_rel): Likewise.
41394 (elf_machine_lazy_rela): Likewise.
41395 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41396 (elf_machine_lazy_rel): Likewise.
41397 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41398 Likewise.
41399 (elf_machine_lazy_rel): Likewise.
41400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41401 Likewise.
41402 (elf_machine_lazy_rel): Likewise.
41403 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41404 (elf_machine_lazy_rel): Likewise.
41405 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41406 (elf_machine_lazy_rel): Likewise.
41407 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41408 (elf_machine_lazy_rel): Likewise.
41409 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41410 (elf_machine_lazy_rel): Likewise.
41411 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41412 (elf_machine_lazy_rel): Likewise.
41413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41414 (elf_machine_lazy_rel): Likewise.
41415
414162011-09-28 Ulrich Drepper <drepper@gmail.com>
41417
41418 * nss/nss_files/files-init.c (_nss_files_init): Use static
41419 initialization for all the *_traced_file variables.
41420
414212011-09-28 Andreas Schwab <schwab@redhat.com>
41422
41423 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41424
414252011-09-27 Roland McGrath <roland@hack.frob.com>
41426
41427 [BZ #13226]
41428 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41429
414302011-09-27 Andreas Schwab <schwab@redhat.com>
41431
41432 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41433 Reread the line before reparsing it.
41434
414352011-09-26 Andreas Schwab <schwab@redhat.com>
41436
41437 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41438
414392011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41440 Maxim Kuvyrkov <maxim@codesourcery.com>
41441 Joseph Myers <joseph@codesourcery.com>
41442
41443 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41444 if needed for __stack_chk_guard.
41445
414462011-09-19 Roland McGrath <roland@hack.frob.com>
41447
41448 * sysdeps/posix/spawni.c (script_execute): Always define it.
41449 It will be optimized away if unused.
41450 (maybe_script_execute): New function.
41451 (__spawni): Call it.
41452
41453 * Makerules: Don't include tls.make.
41454 (config-tls): Always set to thread.
41455 * tls.make.c: File removed.
41456
414572011-09-19 Mike Frysinger <vapier@gentoo.org>
41458
41459 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41460 * config.make.in (CPPFLAGS-config): New substituted variable.
41461
414622011-09-15 Ulrich Drepper <drepper@gmail.com>
41463
41464 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41465
41466 [BZ #13192]
41467 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41468 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41469
414702011-09-15 Roland McGrath <roland@hack.frob.com>
41471
41472 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41473 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41475 (CALL_FAIL): Likewise.
41476 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41477 (CALL_FAIL): Macro removed.
41478 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41479
414802011-09-15 Ulrich Drepper <drepper@gmail.com>
41481
41482 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41483 for __FINITE_MATH_ONLY__ == 1.
41484
414852011-09-15 Andreas Schwab <schwab@redhat.com>
41486
41487 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41488 __ieee754_sqrt instead of sqrt.
41489 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41490 __ieee754_sqrtf instead of sqrtf.
41491 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41492 __floorf instead of floorf.
41493 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41494 __floorf, __truncf instead of floorf, truncf.
41495
414962011-09-14 Ulrich Drepper <drepper@gmail.com>
41497
41498 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41499
41500 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41501 __extern_always_inline.
41502 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41503 32-bit.
41504
415052011-09-14 Andreas Schwab <schwab@redhat.com>
41506
41507 * elf/rtld.c (dl_main): Also relocate in dependency order when
41508 doing symbol dependency testing.
41509
415102011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41511
41512 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41513 Always define `refsym'.
41514
415152011-09-13 Andreas Schwab <schwab@redhat.com>
41516
41517 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41518 (__FD_ELT): Renamed from __FDELT.
41519 * misc/bits/select2.h (__FD_ELT): Likewise.
41520 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41521 __FD_MASK instead of __FDELT, __FDMASK.
41522 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41523 Likewise.
41524 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41525 Likewise.
41526
41527 * elf/Makefile (gen-ldd): Fix pattern.
41528
41529 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41530 (init_tls): Likewise.
41531
415322011-09-12 Ulrich Drepper <drepper@gmail.com>
41533
41534 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41535
415362011-09-12 Andreas Schwab <schwab@redhat.com>
41537
41538 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41539 `struct cmsghdr *' instead of `void *'.
41540 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41541 Likewise.
41542
415432011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41544
41545 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41546 if non-absolute.
41547 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41548 ldd_rewrite_script.
41549
415502011-09-11 Ulrich Drepper <drepper@gmail.com>
41551
41552 * configure.in: Remove --with-tls option.
41553 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41554 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41555 out in case it is missing.
41556 * sysdeps/ia64/elf/configure.in: Likewise.
41557 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41558 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41559 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41560 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41561 * sysdeps/sh/elf/configure.in: Likewise.
41562 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41563 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41564 * sysdeps/x86_64/elf/configure.in: Likewise.
41565 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41566 * sysdeps/mach/hurd/tls.h: Likewise.
41567
41568 [BZ #13067]
41569 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41570
41571 [BZ #13090]
41572 * configure.in: Fix use of AC_INIT.
41573
41574 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41575
415762011-09-10 Ulrich Drepper <drepper@gmail.com>
41577
41578 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41579 __set_errno.
41580 * malloc/hooks.c: Likewise.
41581
41582 [BZ #11929]
41583 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41584 variables statically.
41585 (narenas): Initialize.
41586 (list_lock): Initialize.
41587 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41588 initializtion of main_arena and list_lock. Small cleanups.
41589 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41590 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41591 Add initializers to main_arena and mp_.
41592 (malloc_state): Remove pagesize member. Change all users to use
41593 GLRO(dl_pagesize).
41594
41595 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41596 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41597 is always initialized.
41598
41599 * malloc/malloc.c: Removed unused configurations and dead code.
41600 * malloc/arena.c: Likewise.
41601 * malloc/hooks.c: Likewise.
41602 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41603
41604 * include/tls.h: Removed. USE___THREAD must always be defined.
41605 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41606 * elf/dl-libc.c: Likewise.
41607 * elf/dl-tsd.c: Likewise.
41608 * include/errno.h: Likewise.
41609 * include/netdb.h: Likewise.
41610 * include/resolv.h: Likewise.
41611 * inet/herrno-loc.c: Likewise.
41612 * inet/herrno.c: Likewise.
41613 * malloc/arena.c: Likewise.
41614 * malloc/hooks.c: Likewise.
41615 * malloc/malloc.c: Likewise.
41616 * resolv/res-state.c: Likewise.
41617 * resolv/res_libc.c: Likewise.
41618 * sysdeps/i386/dl-machine.h: Likewise.
41619 * sysdeps/ia64/dl-machine.h: Likewise.
41620 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41621 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41622 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41623 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41624 * sysdeps/sh/dl-machine.h: Likewise.
41625 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41626 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41627 * sysdeps/unix/i386/sysdep.S: Likewise.
41628 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41629 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41630 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41632 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41633 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41634 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41635 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41636 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41638 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41639 * sysdeps/x86_64/dl-machine.h: Likewise.
41640 * tls.make.c: Likewise.
41641
41642 * configure.in: Remove --with-__thread option. Make tests for
41643 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41644 tls_model attribute fail if no support is available. Remove
41645 USE_IN_LIBIO.
41646 * Makeconfig: Adjust for dropped configure option. All features are
41647 now mandatory.
41648 * Makerules: Likewise.
41649 * Versions.def: Likewise.
41650 * argp/argp-fmtstream.c: Likewise.
41651 * argp/argp-fmtstream.h: Likewise.
41652 * argp/argp-help.c: Likewise.
41653 * assert/assert.c: Likewise.
41654 * config.h.in: Likewise.
41655 * config.make.in: Likewise.
41656 * configure: Likewise.
41657 * configure.in: Likewise.
41658 * csu/Versions: Likewise.
41659 * csu/init.c: Likewise.
41660 * elf/tst-audit2.c: Likewise.
41661 * elf/tst-tls10.c: Likewise.
41662 * elf/tst-tls10.h: Likewise.
41663 * elf/tst-tls11.c: Likewise.
41664 * elf/tst-tls12.c: Likewise.
41665 * elf/tst-tls14.c: Likewise.
41666 * elf/tst-tlsmod11.c: Likewise.
41667 * elf/tst-tlsmod12.c: Likewise.
41668 * elf/tst-tlsmod13.c: Likewise.
41669 * elf/tst-tlsmod13a.c: Likewise.
41670 * elf/tst-tlsmod14a.c: Likewise.
41671 * elf/tst-tlsmod15b.c: Likewise.
41672 * elf/tst-tlsmod16a.c: Likewise.
41673 * elf/tst-tlsmod16b.c: Likewise.
41674 * elf/tst-tlsmod7.c: Likewise.
41675 * elf/tst-tlsmod8.c: Likewise.
41676 * elf/tst-tlsmod9.c: Likewise.
41677 * gmon/gmon.c: Likewise.
41678 * grp/fgetgrent_r.c: Likewise.
41679 * grp/putgrent.c: Likewise.
41680 * hurd/fopenport.c: Likewise.
41681 * include/libc-symbols.h: Likewise.
41682 * include/tls.h: Likewise.
41683 * intl/gettextP.h: Likewise.
41684 * intl/loadinfo.h: Likewise.
41685 * locale/global-locale.c: Likewise.
41686 * locale/localeinfo.h: Likewise.
41687 * mach/devstream.c: Likewise.
41688 * malloc/arena.c: Likewise.
41689 * malloc/set-freeres.c: Likewise.
41690 * misc/err.c: Likewise.
41691 * misc/getttyent.c: Likewise.
41692 * misc/mntent_r.c: Likewise.
41693 * posix/getopt.c: Likewise.
41694 * posix/wordexp.c: Likewise.
41695 * pwd/fgetpwent_r.c: Likewise.
41696 * resolv/Versions: Likewise.
41697 * resolv/res_hconf.c: Likewise.
41698 * shadow/fgetspent_r.c: Likewise.
41699 * shadow/putspent.c: Likewise.
41700 * stdio-common/printf_fphex.c: Likewise.
41701 * stdio-common/tmpfile.c: Likewise.
41702 * stdlib/abort.c: Likewise.
41703 * stdlib/fmtmsg.c: Likewise.
41704 * sunrpc/auth_unix.c: Likewise.
41705 * sunrpc/clnt_perr.c: Likewise.
41706 * sunrpc/clnt_tcp.c: Likewise.
41707 * sunrpc/clnt_udp.c: Likewise.
41708 * sunrpc/clnt_unix.c: Likewise.
41709 * sunrpc/openchild.c: Likewise.
41710 * sunrpc/svc_simple.c: Likewise.
41711 * sunrpc/svc_tcp.c: Likewise.
41712 * sunrpc/svc_udp.c: Likewise.
41713 * sunrpc/svc_unix.c: Likewise.
41714 * sunrpc/xdr.c: Likewise.
41715 * sunrpc/xdr_array.c: Likewise.
41716 * sunrpc/xdr_rec.c: Likewise.
41717 * sunrpc/xdr_ref.c: Likewise.
41718 * sunrpc/xdr_stdio.c: Likewise.
41719
417202011-09-09 Ulrich Drepper <drepper@gmail.com>
41721
41722 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41723
417242011-07-03 Andreas Jaeger <aj@suse.de>
41725
41726 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41727 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41728 regenerate with gen-libm-tests.pl.
41729
417302010-05-12 Petr Baudis <pasky@suse.cz>
41731
41732 [BZ #11589]
41733 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41734 around j0() zero points by switching to j1().
41735 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41737 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41738 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41739
417402011-09-09 Ulrich Drepper <drepper@gmail.com>
41741
41742 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41743 instead of 0.
41744 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41745 instead of 0.
41746 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41747 Patch in part by Pavel Roskin <proski@gnu.org>.
41748
41749 [BZ #13138]
41750 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41751 realloc.
41752 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41753 Free memory block if necessary.
41754
41755 [BZ #12847]
41756 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41757 be NULL. Don't lock in this case.
41758
417592011-09-09 Roland McGrath <roland@hack.frob.com>
41760
41761 * elf/elf.h (ELFOSABI_GNU): New macro.
41762 (ELFOSABI_LINUX): Define to that.
41763
417642011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41765
41766 * string/strncat.c (strncat): Undef the symbol in case it has been
41767 defined in bits/string.h.
41768
417692011-09-09 Ulrich Drepper <drepper@gmail.com>
41770
41771 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41772
41773 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41774 link map.
41775
417762011-08-17 Andreas Jaeger <aj@suse.de>
41777
41778 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41779
417802011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41781 Ian Lance Taylor <iant@google.com>
41782
41783 * math/libm-test.inc (lround_test): New testcase.
41784 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41785
417862011-09-08 Ulrich Drepper <drepper@gmail.com>
41787
41788 * Makefile: Remove support for automatic cvs check-ins.
41789 * Makerules: Likewise.
41790 * config.make.in: Likewise.
41791 * configure.in: Likewise.
41792 * intl/Makefile: Likewise.
41793 * locale/Makefile: Likewise.
41794 * po/Makefile: Likewise.
41795 * posix/Makefile: Likewise.
41796 * sysdeps/gnu/Makefile: Likewise.
41797 * sysdeps/mach/hurd/Makefile: Likewise.
41798 * sysdeps/sparc/sparc32/Makefile: Likewise.
41799
41800 [BZ #13118]
41801 * posix/Makefile (bug-regex32-ENV): Define.
41802 Patch by John Stanley <jpsinthemix@verizon.net>.
41803
41804 * misc/Makefile (headers): Add bits/select2.h.
41805 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41806 * misc/bits/select2.h: New file.
41807 * include/bits/select2.h: New file.
41808 * debug/Makefile (routines): Add fdelt_chk.
41809 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41810 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41811 FD_ISSET.
41812 * debug/fdelt_chk.c: New file.
41813
41814 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41815 * wcsmbs/test-wmemcmp.c: Likewise.
41816 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41817 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41818
418192011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41820
41821 * string/Makefile (strop-tests): Add memcmp.
41822 * string/test-wmemcmp.c: New file.
41823 * string/test-memcmp.c: Add wmemcmp support.
41824
418252011-09-08 Roland McGrath <roland@hack.frob.com>
41826
41827 [BZ #13153]
41828 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41829 2011-07-19 change.
41830
41831 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41832 garbage value in a __mach_port_mod_refs call in the cases of the
41833 task-self and thread-self ports.
41834
418352011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41836
41837 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41838
418392011-09-08 Andreas Schwab <schwab@redhat.com>
41840
41841 * elf/dl-load.c (lose): Check for non-null L.
41842
418432011-09-07 Ulrich Drepper <drepper@gmail.com>
41844
41845 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41846
41847 * elf/dl-libc.c (dlerror_run): Pass back error code from
41848 dl_catch_error.
41849
41850 [BZ #13123]
41851 * elf/dl-load.c (lose): Free l_origin if it is valid.
41852
41853 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41854 names.
41855 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41856 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41857 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41858 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41859 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41860 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41861
418622011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41863
41864 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41865 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41866 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41867 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41868 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41869 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41870 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41871 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41872 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41873 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41874
418752011-08-15 Alan Modra <amodra@gmail.com>
41876
41877 [BZ #13092]
41878 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41879 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41880 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41881 ppc_mcount to static-only-routines.
41882 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41883 __mcount_internal.
41884 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41885 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41886
418872011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41888
41889 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41890 for finite and infinity parameters.
41891
418922011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41893
41894 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41895 and add nop instructions for throughput optimization.
41896 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41897
418982011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41899
41900 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41901 aligned copy for power7 with vector-scalar instructions.
41902 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41903
419042011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41905
41906 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41907 AVX check.
41908
419092011-09-07 Andreas Schwab <schwab@redhat.com>
41910
41911 [BZ #13144]
41912 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41913 last change.
41914
419152011-09-07 Ulrich Drepper <drepper@gmail.com>
41916
41917 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41918 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41919 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41920 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41921 clock_gettime.
41922
419232011-09-06 Ulrich Drepper <drepper@gmail.com>
41924
41925 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41926 Forgot to demangle the pointer.
41927
41928 * sysdeps/i386/sysdep.h: Define atom_text_section.
41929 * sysdeps/x86_64/sysdep.h: Likewise.
41930 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41931 section with atom_text_section.
41932 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41933 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41934 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41935 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41936 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41937
41938 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41939 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41940 already be defined. Change to take two parameters and don't assign
41941 result to variable. Adjust all users.
41942 Define INTERNAL_GETTIME if not already defined.
41943 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41944 call.
41945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41946 HAVE_CLOCK_GETTIME_VSYSCALL.
41947 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41948
41949 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41950 gettimeofday vsyscall, just use time.
41951
419522011-09-06 Andreas Schwab <schwab@redhat.com>
41953
41954 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41955 <errno.h>.
41956
419572011-09-06 Ulrich Drepper <drepper@gmail.com>
41958
41959 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41960 syscall on x86-64.
41961 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41962 syscall.
41963 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41964 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41965 syscall if possible.
41966
419672011-09-05 Ulrich Drepper <drepper@gmail.com>
41968
41969 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41970 e_ident. Don't pass to find_mapsXX.
41971 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41972
419732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41974
41975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41976 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41977 * sysdeps/x86_64/multiarch/strchr.S: Update.
41978 Check bit_slow_BSF bit.
41979 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41980 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41981 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41982
419832011-09-05 Ulrich Drepper <drepper@gmail.com>
41984
41985 [BZ #13134]
41986 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41987 before glibc 2.15.
41988 (tryshell): Define.
41989 (__spawni): Change last parameter to be flag. Test
41990 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41991 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41992 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41993 * posix/spawni.c: Likewise.
41994 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41995 * posix/spawnp.c: Likewise. Change normal version to use
41996 SPAWN_XFLAGS_USE_PATH.
41997 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41998 SPAWN_XFLAGS_TRY_SHELL.
41999
42000 [BZ #13150]
42001 * posix/glob.h: Remove gcc 1.x support.
42002
42003 [BZ #13068]
42004 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42005
420062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42007
42008 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42009 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42010 strrchr-sse2-bsf
42011 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42012 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42013 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42014 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42015 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42017
420182011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42019
42020 * sysdeps/x86_64/wcscmp.S: New file.
42021
42022 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42023 wcscmp-c wcscmp-sse2
42024 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42025 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42026 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42027 * wcsmbs/wcscmp.c: Allow renaming.
42028
420292011-09-05 David S. Miller <davem@davemloft.net>
42030
42031 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42032 stack slot, rather than the struct return pointer slot.
42033 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42034 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42036 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42037
420382011-09-05 Ulrich Drepper <drepper@gmail.com>
42039
42040 * po/ja.po: Update from translation team.
42041
42042 [BZ #13144]
42043 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42044 kernel in 64-bit binaries.
42045
420462011-09-01 David S. Miller <davem@davemloft.net>
42047
42048 * elf/elf.h (HWCAP_SPARC_*): Move to..
42049 * sysdeps/sparc/sysdep.h: this new file and add new values.
42050 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42051 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42052 _DL_HWCAP_COUNT to 24.
42053 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42054 entries.
42055 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42056 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42057 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42059 instead of magic constants.
42060 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42061
420622011-08-31 David S. Miller <davem@davemloft.net>
42063
42064 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42066 Reimplement to do errno handling inline.
42067 (SYSCALL_ERROR_HANDLER): New macro.
42068 (__SYSCALL_STRING): Do not do errno handling in asm.
42069 (__CLONE_SYSCALL_STRING): Delete.
42070 (__INTERNAL_SYSCALL_STRING): Delete.
42071 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42072 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42073 (PSEUDO): Reimplement to do errno handling inline.
42074 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42075 (SYSCALL_ERROR_HANDLER): New macro.
42076 (__SYSCALL_STRING): Do not do errno handling in asm.
42077 (__CLONE_SYSCALL_STRING): Delete.
42078 (__INTERNAL_SYSCALL_STRING): Delete.
42079 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42080 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42081 i386.
42082 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42083 (inline_syscall*): Add 'err' argument.
42084 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42085 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42086 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42087 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42088
42089 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42090 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42091
420922011-08-30 Andreas Schwab <schwab@redhat.com>
42093
42094 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42095
420962011-08-29 Jiri Olsa <jolsa@redhat.com>
42097
42098 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42099 directive.
42100
421012011-08-24 David S. Miller <davem@davemloft.net>
42102
42103 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42104
421052011-08-24 Andreas Schwab <schwab@redhat.com>
42106
42107 * elf/Makefile: Add rules to build and run unload8 test.
42108 * elf/unload8.c: New file.
42109 * elf/unload8mod1.c: New file.
42110 * elf/unload8mod1x.c: New file.
42111 * elf/unload8mod2.c: New file.
42112 * elf/unload8mod3.c: New file.
42113
42114 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42115 it wasn't used.
42116
421172011-08-23 David S. Miller <davem@davemloft.net>
42118
42119 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42120 subtract stack bias.
42121 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42122 %sp not %fp in calculations.
42123 (_JMPBUF_UNWINDS_ADJ): Likewise.
42124
42125 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42126 (aio_suspend): Call it to force an exception region around the
42127 AIO_MISC_WAIT() invocation.
42128
421292011-08-23 Andreas Schwab <schwab@redhat.com>
42130
42131 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42132 backslash.
42133
421342011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42135
42136 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42137 protection macro.
42138 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42139 and <dl-machine.h>.
42140 (Elf64_FuncDesc): Remove.
42141
421422011-08-22 David S. Miller <davem@davemloft.net>
42143
42144 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42145 sigaltstack check, add missing cfi directives.
42146 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42147 missing cfi directives, and sigaltstack handling.
42148
421492011-08-16 Andreas Schwab <schwab@redhat.com>
42150
42151 [BZ #11724]
42152 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42153 object is seen twice.
42154 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42155
42156 * elf/Makefile (distribute): Add tst-initorder2.c.
42157 (tests): Add tst-initorder2.
42158 (modules-names): Add tst-initorder2a tst-initorder2b
42159 tst-initorder2c tst-initorder2d. Add rules to build them.
42160 ($(objpfx)tst-initorder2.out): New rule.
42161 * elf/tst-initorder2.c: New file.
42162 * elf/tst-initorder2.exp: New file.
42163
421642011-08-22 Andreas Schwab <schwab@redhat.com>
42165
42166 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42167
42168 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42169 dependencies back to end of function.
42170
42171 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42172 $(elfobjdir)/ld.so.
42173
421742011-08-21 Ulrich Drepper <drepper@gmail.com>
42175
42176 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42177 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42179 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42180 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42181 of __vdso_gettimeofday.
42182 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42183 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42184 attribute_hidden.
42185 (_libc_vdso_platform_setup): Remove initialization of
42186 __vdso_gettimeofday and __vdso_time.
42187
421882011-08-20 Ulrich Drepper <drepper@gmail.com>
42189
42190 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42191 and fgetc_unlocked.
42192 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42193 getc_unlocked.
42194
42195 * elf/dl-open.c (add_to_global): Report additions to the global scope
42196 for LD_DEBUG=scopes.
42197 (dl_open_worker): Also print scope of newly loaded dependencies.
42198 (_dl_show_scope): Indicate if there is no scope.
42199
42200 [BZ #13114]
42201 * stdio-common/Makefile (tests): Add bug24.
42202 * stdio-common/bug24.c: New file.
42203
422042011-08-19 Andreas Jaeger <aj@suse.de>
42205
42206 [BZ #13114]
42207 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42208 non-existant file when using close-on-exec mode.
42209
422102011-08-20 Ulrich Drepper <drepper@gmail.com>
42211
42212 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42213 the very first instruction.
42214
42215 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42216 the CFI state in the end.
42217 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42218 inclusion of dl-trampoline.h.
42219 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42220
422212011-08-19 Andreas Schwab <schwab@redhat.com>
42222
42223 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42224 expectations for long double.
42225
42226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42227 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42228
422292011-08-14 David S. Miller <davem@davemloft.net>
42230
42231 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42232 artificual limit depends upon the system page size.
42233
422342011-08-17 Ulrich Drepper <drepper@gmail.com>
42235
42236 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42237 * resolv/Makefile: Define CFLAGS-libresolv.
42238
422392011-08-17 Andreas Schwab <schwab@redhat.com>
42240
42241 * nss/makedb.c (compute_tables): Make variables used in nested
42242 function static.
42243
422442011-08-17 Ulrich Drepper <drepper@gmail.com>
42245
42246 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42247 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42248 if buffer was too small.
42249
42250 * elf/pldd.c (main): Attach to all threads in the process.
42251 Rewrite /proc handling to use *at functions.
42252
422532011-08-16 Ulrich Drepper <drepper@gmail.com>
42254
42255 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42256 specifies first scope to show.
42257 (dl_open_worker): Update callers. Move printing scope of new
42258 object to before the relocation.
42259 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42260 * sysdeps/generic/ldsodefs.h: Update declaration.
42261
42262 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42263 string for the scope number.
42264
422652011-08-14 Ulrich Drepper <drepper@gmail.com>
42266
42267 * nscd/servicescache.c (cache_addserv): Make sure written is always
42268 initialized.
42269
422702011-08-14 Roland McGrath <roland@hack.frob.com>
42271
42272 * sysdeps/i386/i486/bits/atomic.h
42273 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42274 statement expression, so as to suppress "set but not used" warning.
42275 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42276
42277 * string/strncat.c (STRNCAT): Use prototype definition.
42278
42279 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42280 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42281 -Iprograms here.
42282 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42283 (localedef-modules): Add localedef.
42284 (locale-modules): Add locale.
42285
42286 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42287 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42288 to avoid a warning.
42289
422902011-08-14 David S. Miller <davem@davemloft.net>
42291
42292 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42293 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42294
422952011-08-13 Ulrich Drepper <drepper@gmail.com>
42296
42297 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42298 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42299 * elf/rtld.c (dl_main): Set l_name of vDSO.
42300 Call _dl_show_scope when DL_DEBUG_SCOPES.
42301 (process_dl_debug): Recognize scopes flag and also set it for all.
42302 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42303 Declare _dl_show_scope.
42304
42305 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42306 (do_dlopen): Pass caller_dlopen to dl_open.
42307 (__libc_dlopen_mode): Initialize caller_dlopen.
42308
42309 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42310 of libc. Make tolower call locale-independent. Optimize a bit by
42311 using isdigit instead of isalnum.
42312 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42313
423142011-08-12 Ulrich Drepper <drepper@gmail.com>
42315
42316 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42317 was a dependency or dynamically loaded.
42318
423192011-08-11 Ulrich Drepper <drepper@gmail.com>
42320
42321 * intl/l10nflist.c: Allow architecture-specific pop function.
42322 * sysdeps/x86_64/l10nflist.c: New file.
42323
42324 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42325 classification.
42326
423272011-08-10 Andreas Schwab <schwab@redhat.com>
42328
42329 * include/dirent.h: Add libc_hidden_proto for scandirat and
42330 scandirat64. Don't declare __scandirat64.
42331 * dirent/scandirat.c: Add libc_hidden_def.
42332 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42333 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42334
423352011-08-10 David S. Miller <davem@davemloft.net>
42336
42337 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42338 enum.
42339 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42340 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42341 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42342
423432011-08-09 Ulrich Drepper <drepper@gmail.com>
42344
42345 * Versions.def [libc]: Add GLIBC_2.15.
42346 * dirent/Makefile (routines): Add scandirat and scandirat64.
42347 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42348 GLIBC_2.15.
42349 * dirent/dirent.h: Declare scandirat and scandirat64.
42350 * dirent/scandirat.c: New file.
42351 * dirent/scandirat64.c: New file.
42352 * sysdeps/wordsize-64/scandirat.c: New file.
42353 * sysdeps/wordsize-64/scandirat64.c: New file.
42354 * dirent/opendir.c: Define opendirat.
42355 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42356 using scandirat.
42357 * dirent/scandir64.c: Adjust for scandir.c change.
42358 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42359 __scandirat64, and __scandir_cancel_handler.
42360 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42361 additional parameter and use openat instead of open (outside of ld.so).
42362 Add new __opendir as wrapper around __opendirat.
42363 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42364 here without requiring old scandirat implementation.
42365
423662011-08-08 Ulrich Drepper <drepper@gmail.com>
42367
42368 * dirent/scandir.c (cancel_handler): Renamed to
42369 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42370 defined. Adjust users.
42371 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42372 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42373
423742011-08-04 Ulrich Drepper <drepper@gmail.com>
42375
42376 * string/test-string.h (IMPL): Use __STRING to expand name and then
42377 stringify it.
42378
42379 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42380 of cleanups.
42381
423822011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42383
42384 * string/Makefile: Update.
42385 (strop-tests): Append strncat.
42386 * string/test-wcscmp.c: New file.
42387 New comprehensive test for wcscmp.
42388 * string/test-strcmp.c: Update.
42389 (WIDE): New define.
42390
423912011-07-22 Andreas Schwab <schwab@redhat.com>
42392
42393 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42394 line.
42395
423962011-07-26 Andreas Schwab <schwab@redhat.com>
42397
42398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42399 encoding to ACE if AI_IDN.
42400
424012011-08-01 Jakub Jelinek <jakub@redhat.com>
42402
42403 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42404 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42405
424062011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42407
42408 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42409 Fix overflow bug in strncat.
42410 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42411
42412 * string/test-strncat.c: Update.
42413 Add new tests for checking overflow bugs.
42414
424152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42416
42417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42418 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42419 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42420 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42421 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42422 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42423 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42424 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42425 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42426
42427 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42428 (USE_AS_STRCAT): Define.
42429 Add strcat and strncat support.
42430 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42431
424322011-07-25 Andreas Schwab <schwab@redhat.com>
42433
42434 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42435 __n bigger than INT_MAX+1.
42436 (__strncmp_g): Likewise.
42437
424382011-07-23 Ulrich Drepper <drepper@gmail.com>
42439
42440 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42441 * libio/stido.h: Likewise.
42442
42443 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42444 (AF_NFC): Define.
42445 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42446 (AF_NFC): Define.
42447
42448 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42449 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42450 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42451 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42452 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42453
42454 [BZ #13021]
42455 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42456 installed.
42457
42458 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42459 typo.
42460 (_dl_x86_64_save_sse): Likewise.
42461
424622011-07-22 Ulrich Drepper <drepper@gmail.com>
42463
42464 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42465 OSXSAVE.
42466 (_dl_x86_64_save_sse): Likewise.
42467
42468 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42469
42470 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42471
424722011-07-21 Andreas Schwab <schwab@redhat.com>
42473
42474 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42475 change.
42476 (_dl_x86_64_save_sse): Use correct AVX check.
42477
424782011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42479
42480 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42481 bug in strncpy/strncat.
42482 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42483
424842011-07-21 Ulrich Drepper <drepper@gmail.com>
42485
42486 * string/tester.c (test_strcat): Add tests for different alignments
42487 of source and destination.
42488 (test_strncat): Likewise.
42489
424902011-07-20 Ulrich Drepper <drepper@gmail.com>
42491
42492 [BZ #12852]
42493 * posix/glob.c (glob): Check passed in values before using them in
42494 expressions to avoid some overflows.
42495 (glob_in_dir): Likewise.
42496
42497 [BZ #13007]
42498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42499 check for AVX enablement so that we don't crash with old kernels and
42500 new hardware.
42501 * elf/tst-audit4.c: Add same checks here.
42502 * elf/tst-audit6.c: Likewise.
42503
42504 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42505
425062011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42507
42508 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42509
425102011-07-20 Ulrich Drepper <drepper@gmail.com>
42511
42512 * po/cs.po: Update from translation team.
42513 * po/bg.po: Likewise.
42514
425152011-07-12 Marek Polacek <mpolacek@redhat.com>
42516
42517 * misc/sys/cdefs.h: Add support for const attribute.
42518 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42519 to gnu_dev_{major,minor,makedev} functions.
42520
425212011-07-20 Marek Polacek <mpolacek@redhat.com>
42522
42523 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42524
425252011-07-20 Andreas Schwab <schwab@redhat.com>
42526
42527 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42528 strlen results.
42529
425302011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42531
42532 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42533 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42534 register in order to avoid conflicts with the soft frame pointer
42535 being held in r11 when necessary.
42536 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42537 (INTERNAL_VSYSCALL_NCS): Likewise.
42538
425392011-07-14 Marek Polacek <mpolacek@redhat.com>
42540
42541 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42542 * elf/dl-fini.c (_dl_fini): Adjust caller.
42543 * elf/dl-close.c (_dl_close_worker): Likewise.
42544 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42545
425462011-07-15 Marek Polacek <mpolacek@redhat.com>
42547
42548 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42549 "aux_cache->nlibs < 0".
42550
42551 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42552 in the reload-count case.
42553
425542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42555
42556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42557 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42558 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42559 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42560 * sysdeps/x86_64/multiarch/strcat.S: New file.
42561 * sysdeps/x86_64/multiarch/strncat.S: New file.
42562 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42563 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42564 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42565 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42566 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42567 (USE_AS_STRCAT): Define.
42568 Add strcat and strncat support.
42569 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42570 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42571 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42572 * string/strncat.c: Update.
42573 (USE_AS_STRNCAT): Define.
42574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42575 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42576 and i7.
42577 * sysdeps/x86_64/multiarch/init-arch.h
42578 (bit_Prefer_PMINUB_for_stringop): New.
42579 (index_Prefer_PMINUB_for_stringop): Likewise.
42580 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42581 bit_Prefer_PMINUB_for_stringop.
42582
425832011-07-19 Ulrich Drepper <drepper@gmail.com>
42584
42585 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42586 buffer64.
42587 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42588 of casting of buffer.
42589 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42590 buffer32 and buffer64.
42591 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42592 writes instead of casting of buffer.
42593 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42594 buffer32.
42595 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42596 casting of buffer.
42597
425982011-07-19 Andreas Schwab <schwab@redhat.com>
42599
42600 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42601
426022011-07-19 Ulrich Drepper <drepper@gmail.com>
42603
42604 * nscd/nscd.c (termination_handler): Don't do anything for a database
42605 if it has not yet been initialized.
42606
426072011-07-18 Ulrich Drepper <drepper@gmail.com>
42608
42609 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42610
426112011-07-15 Marek Polacek <mpolacek@redhat.com>
42612
42613 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42614
426152011-07-18 Ulrich Drepper <drepper@gmail.com>
42616
42617 * po/nl.po: Update from translation team.
42618 * po/sv.po: Likewise.
42619
426202011-07-16 Roland McGrath <roland@hack.frob.com>
42621
42622 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42623 now disallowed by GCC.
42624
42625 * configure.in (use-default-link): Default to yes if a test -shared
42626 link meets our qualifications.
42627 * configure: Regenerated.
42628
42629 * config.make.in (output-format): New variable.
42630 * configure.in: Check for ld --print-output-format support.
42631 * configure: Regenerated.
42632 * Makerules ($(common-objpfx)format.lds)
42633 [$(output-format) != unknown]: Just use $(output-format),
42634 instead of the linker-script munging.
42635
426362011-07-14 Roland McGrath <roland@hack.frob.com>
42637
42638 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42639 of $(common-objpfx)shlib.lds.
42640 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42641
42642 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42643 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42644
42645 * configure.in (-z relro check): Adjust test code to add a large
42646 writable data section after it.
42647 * configure: Regenerated.
42648
426492011-07-11 Roland McGrath <roland@hack.frob.com>
42650
42651 * configure.in (-z relro check): Fix test code to make the variable
42652 truly const.
42653 * configure: Regenerated.
42654
426552011-07-11 Ulrich Drepper <drepper@gmail.com>
42656
42657 * nscd/nscd.h (struct traced_file): Define.
42658 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42659 elements. Add traced_files.
42660 (inotify_fd): Declare.
42661 (register_traced_file): Declare.
42662 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42663 (inotify_fd): Export.
42664 (resolv_conf_descr): Remove.
42665 (nscd_init): Move inotify descriptor creation to main.
42666 Don't register files for notification here.
42667 (register_traced_file): New function.
42668 (invalidate_cache): Don't use reset_res to determine whether to call
42669 res_init, go through the list of registered files.
42670 (main_loop_poll): The inotify descriptors are now stored in the
42671 structures for the traced files.
42672 (main_loop_epoll): Likewise
42673 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42674 to __nss_disable_nscd.
42675 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42676 for a database anymore. Check the records for all the registered
42677 files instead.
42678 * nss/Makefile (libnss_files-routines): Add files-init.
42679 (libnss_db-routines): Add db-init.
42680 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42681 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42682 * nss/nss_db/db-init.c: New file.
42683 * nss/nss_files/files-init.c: New file.
42684 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42685 __nss_lookup_function.
42686 (__nss_lookup_function): Call nss_load_library.
42687 (nss_load_all_libraries): New function.
42688 (__nss_disable_nscd): Take parameter with callback function for files
42689 to register. Set is_nscd. Load all the DSOs for the NSS modules
42690 used for the cached services.
42691 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42692 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42693 options for features to all the files in nscd.
42694
42695 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42696
426972011-07-10 Roland McGrath <roland@hack.frob.com>
42698
42699 * csu/elf-init.c (__libc_csu_init): Comment typo.
42700
427012011-07-09 Ulrich Drepper <drepper@gmail.com>
42702
42703 * po/pl.po: Update from translation team.
42704 * po/ja.po: Likewise.
42705 * po/ru.po: Likewise.
42706 * po/ko.po: Likewise.
42707 * po/fr.po: Likewise.
42708
427092011-07-09 Roland McGrath <roland@hack.frob.com>
42710
42711 * configure.in (.ctors/.dtors header and trailer check):
42712 Use an empirical test on a built program.
42713 * configure: Regenerated.
42714
42715 * configure.in (-z relro check): Use an empirical test on a built DSO.
42716 Detect, but do not require, on ia64.
42717 * configure: Regenerated.
42718
42719 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42720 Update tests that use readelf to use $READELF instead.
42721 * configure: Regenerated.
42722
427232011-07-08 Ulrich Drepper <drepper@gmail.com>
42724
42725 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42726 if the result is not used.
42727
427282011-07-05 Andreas Jaeger <aj@suse.de>
42729
42730 [BZ#9696]
42731 * stdlib/tst-strtod.c: Add testcase.
42732
427332011-07-07 Ulrich Drepper <drepper@gmail.com>
42734
42735 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42736 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42737 The latter has a higher limit. Take additional parameter to pass to
42738 the new function.
42739 (__pathconf): Pass file to __statfs_link_max.
42740 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42741 __statfs_link_max.
42742 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42743 __statfs_link_max.
42744
42745 [BZ #12868]
42746 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42747 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42748 Handle Lustre.
42749 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42750 (__statfs_filesize_max): Likewise.
42751 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42752
427532011-07-05 Andreas Jaeger <aj@suse.de>
42754
42755 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42756
427572011-07-06 Marek Polacek <mpolacek@redhat.com>
42758
42759 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42760 `status' variable.
42761 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42762 Likewise.
42763
427642011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42765
42766 * Makefile (strop-tests): Add strncat.
42767 * string/test-strncat.c: New file.
42768
427692011-06-30 Marek Polacek <mpolacek@redhat.com>
42770
42771 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42772
427732011-06-21 Andreas Jaeger <aj@suse.de>
42774
42775 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42776 Copy rule from iconvdata/Makefile.
42777
427782011-07-06 Ulrich Drepper <drepper@gmail.com>
42779
42780 [BZ #12922]
42781 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42782 but no long options are defined, just return 'W'.
42783
427842011-06-22 Marek Polacek <mpolacek@redhat.com>
42785
42786 [BZ #9696]
42787 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42788
427892011-07-06 Ulrich Drepper <drepper@gmail.com>
42790
42791 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42792 netgroups to read.
42793 (innetgr): Likewise.
42794
427952011-07-05 Roland McGrath <roland@hack.frob.com>
42796
42797 * config.make.in (install_root): Default to $(DESTDIR).
42798
427992011-07-05 Ulrich Drepper <drepper@gmail.com>
42800
42801 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42802
428032011-07-02 Roland McGrath <roland@hack.frob.com>
42804
42805 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42806
42807 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42808 containing directory rather than embedding absolute directory names.
42809
42810 * scripts/check-local-headers.sh: Rewritten using awk.
42811 Match by word, not by line. Print error messages for matches.
42812 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42813
42814 * Makerules [shlib-lds-flags empty]:
42815 ($(common-objpfx)libc_pic.opts): New target.
42816 ($(common-objpfx)libc_pic.os.clean): New target.
42817 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42818
42819 * config.make.in (OBJCOPY): New variable.
42820 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42821 * configure: Regenerated.
42822
42823 * config.make.in (use-default-link): New variable.
42824 * configure.in (use_default_link): Grok --with-default-link to set it.
42825 * configure: Regenerated.
42826 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42827 (shlib-lds, shlib-lds-flags): Define to empty.
42828
42829 * Makerules (shlib-lds): New variable.
42830 (shlib-lds-flags): New variable.
42831 (build-shlib, build-moduile, build-module-asneeded): Use it.
42832 ($(common-objpfx)libc.so): Use $(shlib-lds).
42833 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42834 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42835
42836 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42837 DT_FLAGS/DT_FLAGS_1 with zero flags.
42838
42839 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42840 linker script munging.
42841
428422011-07-02 Ulrich Drepper <drepper@gmail.com>
42843
42844 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42845 as 128-bit value.
42846 * crypt/sha512.c (sha512_process_block): Perform total addition using
42847 128-bit if possible.
42848 (__sha512_finish_ctx): Likewise.
42849 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42850 as 64-bit value.
42851 * crypt/sha256.c (SWAP64): Define.
42852 (sha256_process_block): Perform total addition using 64-bit if
42853 possible.
42854 (__sha256_finish_ctx): Likewise.
42855
428562011-07-01 Ulrich Drepper <drepper@gmail.com>
42857
42858 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42859 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42860 * nscd/hstcache.c (cache_addhst): Likewise.
42861 * nscd/grpcache.c (cache_addgr): Likewise.
42862 * nscd/aicache.c (addhstaiX): Likewise
42863 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42864
428652011-07-01 Thorsten Kukuk <kukuk@suse.de>
42866
42867 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42868 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42869 * nscd/hstcache.c (cache_addhst): Likewise.
42870 * nscd/grpcache.c (cache_addgr): Likewise.
42871 * nscd/aicache.c (addhstaiX): Likewise
42872
428732011-07-01 Andreas Schwab <schwab@redhat.com>
42874
42875 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42876 domain only when needed.
42877
428782011-06-30 Andreas Schwab <schwab@redhat.com>
42879
42880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42881 is always restored.
42882
428832011-06-29 Ulrich Drepper <drepper@gmail.com>
42884
42885 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42886 are re-adding the entry.
42887 * nscd/servicescache.c (cache_addserv): Likewise.
42888
428892011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42890
42891 * sysdeps/generic/dl-irel.h: fix protection against multiple
42892 inclusions.
42893 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42894
428952011-06-28 Ulrich Drepper <drepper@gmail.com>
42896
42897 [BZ #12935]
42898 * malloc/memusage.sh: Fix quoting in message.
42899 * debug/xtrace.sh: Likewise.
42900
42901 * configure.in: Remove support for --experimental-malloc option, make
42902 it the default.
42903 * config.make.in: Likewise.
42904 * malloc/Makefile: Likewise.
42905
429062011-06-27 Andreas Schwab <schwab@redhat.com>
42907
42908 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42909 two-byte characters.
42910
429112011-06-27 Roland McGrath <roland@hack.frob.com>
42912
42913 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42914 AC_CACHE_CHECK invocation.
42915 * configure: Regenerated.
42916
42917 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42918
429192011-06-27 Ulrich Drepper <drepper@gmail.com>
42920
42921 [BZ #12350]
42922 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42923 bit from old_res_options.
42924
42925 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42926
42927 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42928 value type for setfct.
42929
429302011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42931
42932 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42933 __gettimeofday instead of gettimeofday.
42934
429352011-06-26 Ulrich Drepper <drepper@gmail.com>
42936
42937 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42938
429392011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42940
42941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42942
42943 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42944 info.
42945
429462011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42947
42948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42949 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42950 strcpy-sse2-unaligned strncpy-sse2-unaligned
42951 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42952 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42953 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42954 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42955 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42956 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42957 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42958 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42959 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42960 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42961 (STRCPY): Support SSE2 and SSSE3 versions.
42962
429632011-06-24 Ulrich Drepper <drepper@gmail.com>
42964
42965 [BZ #12874]
42966 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42967 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42968 kernels which artificially limit size of requests.
42969
429702011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42971
42972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42973 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42974 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42975 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42976 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42977 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42978 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42979 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42980 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42981 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42982 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42983 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42984 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42985 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42986 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42988 Enable unaligned load optimization for Intel Core i3, i5 and i7
42989 processors.
42990 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42991 Define.
42992 (index_Fast_Unaligned_Load): Define.
42993 (HAS_FAST_UNALIGNED_LOAD): Define.
42994
429952011-06-23 Marek Polacek <mpolacek@redhat.com>
42996
42997 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42998
429992011-06-22 Ulrich Drepper <drepper@gmail.com>
43000
43001 [BZ #12907]
43002 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43003 until it is clear that the information is realy needed.
43004 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43005
430062011-06-22 Andreas Schwab <schwab@redhat.com>
43007
43008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43009
430102011-06-22 Ulrich Drepper <drepper@gmail.com>
43011
43012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43013 /sys/devices/system/cpu/online if it is usable.
43014
43015 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43016 reading the information from the /proc filesystem to once a second.
43017
430182011-06-21 Andreas Jaeger <aj@suse.de>
43019
43020 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43021 NULL after inclusion of kernel headers.
43022
430232011-06-21 Ulrich Drepper <drepper@gmail.com>
43024
43025 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43026 calls to internal_setent.
43027
43028 [BZ #12885]
43029 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43030 addresses using gethostbyname4_r ignore IPv4 addresses.
43031
43032 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43033 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43034
43035 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43036
430372011-06-20 David S. Miller <davem@davemloft.net>
43038
43039 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43040 inclusions.
43041 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43042
43043 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43044 (elf_irel): Use it.
43045 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43046 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43047 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43048 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43049 * sysdeps/x86_64/dl-irel.h: Likewise.
43050
43051 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43052 * elf/dl-sym.c: Likewise.
43053
430542011-06-15 Ulrich Drepper <drepper@gmail.com>
43055
43056 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43057 need to dereference resplen2.
43058
430592011-06-14 Andreas Schwab <schwab@redhat.com>
43060
43061 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43062
430632011-06-15 Ulrich Drepper <drepper@gmail.com>
43064
43065 * Makeconfig: Define vardbdir and inst_vardbdir.
43066 * nss/Makefile: Add rules to install db-Makefile.
43067
43068 * nss/nss_db/db-XXX.c: Cleanup.
43069
43070 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43071 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43072 GLIBC_PRIVATE.
43073 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43074 * nss/makedb.c: Implement -g option to specify that value strings
43075 are generated and should not be added to table iterated over for
43076 get*ent calls.
43077 * nss/nss_db/db-initgroups.c: New file.
43078
43079 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43080 interface.
43081
43082 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43083 (internal_getgrouplist): Adjust to name change.
43084 Update use_initgroups_entry if this is not the first call.
43085 * nss/databases.def: Add initgroups entry.
43086
43087 * nss/makedb.c (compute_tables): Check result of multiple hash table
43088 sizes to minimize maximum chain length.
43089
430902011-06-14 Ulrich Drepper <drepper@gmail.com>
43091
43092 * Versions.def: Add entry for libnss_db.
43093 * shlib-versions: Likewise.
43094 * nss/Makefile: Add rules to build libnss_db.
43095 * nss/Versions: Add libnss_db information. Organize libnss_files
43096 entries better.
43097 * nss/db-Makefile: Add gshadow support. Change rules for the new
43098 makedb progra. Some minor improvements to generate smaller files.
43099 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43100 here from...
43101 * nss/makedb.c: ...here.
43102 Improve database format to be smaller and require less memory at
43103 runtime.
43104 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43105 db anymore.
43106 * nss/nss_db/db-netgrp.c: Likewise.
43107 * nss/nss_db/db-open.c: Likewise.
43108 * nss/nss_files/flies-XXX.x: Adjust comments.
43109 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43110 * nss/nss_files/files-grp.c: Likewise.
43111 * nss/nss_files/files-hosts.c: Likewise.
43112 * nss/nss_files/files-network.c: Likewise.
43113 * nss/nss_files/files-proto.c: Likewise.
43114 * nss/nss_files/files-pwd.c: Likewise.
43115 * nss/nss_files/files-rpc.c: Likewise.
43116 * nss/nss_files/files-service.c: Likewise.
43117 * nss/nss_files/files-sgrp.c: Likewise.
43118 * nss/nss_files/files-spwd.c: Likewise.
43119 * nss/nss_db/db-alias.c: Removed.
43120 * nss/nss_db/dummy-db.h: Removed.
43121
431222011-06-02 Ulrich Drepper <drepper@gmail.com>
43123
43124 * nss/makedb.c: Rewritten to not use database library.
43125 * nss/Makefile: Update to build new makedb program.
43126
431272011-06-14 Andreas Jaeger <aj@suse.de>
43128
43129 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43130 memset declaration.
43131
431322011-06-10 Andreas Schwab <schwab@redhat.com>
43133
43134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43135 tmpbuf.
43136
431372011-06-10 Roland McGrath <roland@hack.frob.com>
43138
43139 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43140 * elf/Makefile ($(objpfx)ld.so): Likewise.
43141
43142 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43143 Don't list ld.so twice in dependencies.
43144
43145 * posix/bug-regex31.c: Include <stdlib.h>.
43146
43147 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43148
43149 * nis/nss_compat/compat-spwd.c
43150 (getspent_next_nss_netgr): Remove unused variable.
43151 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43152
43153 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43154 nonmembers" output to use the right array.
43155
43156 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43157
43158 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43159
43160 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43161 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43162 * catgets/gencat.c (read_input_file): Likewise.
43163 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43164
43165 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43166 variable definition inside #if's controlling its use.
43167
43168 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43169
43170 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43171
43172 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43173
43174 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43175 unreachable code.
43176
43177 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43178
43179 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43180 * configure: Regenerated.
43181
43182 * Makerules: Revert last change.
43183 * elf/Makefile: Likewise.
43184
431852011-06-09 Roland McGrath <roland@hack.frob.com>
43186
43187 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43188 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43189 (reloc-link): Likewise.
43190
431912011-06-09 Ulrich Drepper <drepper@gmail.com>
43192
43193 * elf/Makefile: Add rules to build pldd.
43194 * elf/pldd.c: New file.
43195 * elf/pldd-xx.c: New file.
43196
431972011-06-07 Ulrich Drepper <drepper@gmail.com>
43198
43199 * version.h: Update for 2.15 development version.
43200
432012011-06-07 David S. Miller <davem@davemloft.net>
43202
43203 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43204 ifuncs.
43205 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43206 elf_machine_lazy_rel): Likewise.
43207 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43209 elf_machine_lazy_rel): Likewise.
43210 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43211 dl_hwcap via passed in argument.
43212 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43213 Likewise.
43214
432152011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43216
43217 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43218
432192011-06-06 Roland McGrath <roland@hack.frob.com>
43220
43221 [BZ #12849]
43222 * manual/fdl-1.1.texi: New file, verbatim from:
43223 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43224 * manual/lgpl-2.1.texi: New file, verbatim from:
43225 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43226 * manual/Makefile (licenses): New variable, list those new file names.
43227 (texis): Use it.
43228 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43229
43230 * manual/fdl.texi: File removed.
43231 * manual/lesser.texi: File removed.
43232 * manual/libc.texinfo (Copying, Documentation License):
43233 Use new @include file names, put @appendix directive before @include.
43234
432352011-06-04 Jakub Jelinek <jakub@redhat.com>
43236
43237 [BZ #12841]
43238 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43239 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43240 (mq_open): Add __NTH.
43241
432422011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43243
43244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43245 Assume Intel Core i3/i5/i7 processor if AVX is available.
43246
432472011-05-31 Ulrich Drepper <drepper@gmail.com>
43248
43249 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43250 typo.
43251
432522011-05-31 Andreas Schwab <schwab@redhat.com>
43253
43254 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43255 memory. Use alloca_account. Fix memory leak when retrying.
43256
432572011-05-31 Ulrich Drepper <drepper@gmail.com>
43258
43259 * version.h (RELEASE): Bump for 2.14 release.
43260 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43261
43262 * config.make.in (RANLIB): Remove entry.
43263
432642011-05-30 Ulrich Drepper <drepper@gmail.com>
43265
43266 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43267 (libc.pot): Work around missing support for .ksh extension in xgettext.
43268
43269 [BZ #12684]
43270 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43271 if both request failed.
43272 (send_dg): In case of server errors clear resplen or *resplen2.
43273
43274 [BZ #12454]
43275 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43276 when there are multiple maps.
43277 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43278 (_dl_fini): Remove test here.
43279
43280 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43281
432822011-05-29 Ulrich Drepper <drepper@gmail.com>
43283
43284 [BZ #12350]
43285 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43286 bit from old_res_options.
43287 (gaih_inet): Likewise.
43288
43289 [BZ #11099]
43290 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43291 as signed.
43292
43293 * resolv/res_init.c (res_setoptions): Make the code more compact.
43294
43295 [BZ #11558]
43296 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43297 set RES_USEVC.
43298
43299 [BZ #11634]
43300 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43301
43302 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43303
43304 [BZ #11781]
43305 * malloc/malloc.h: Declare malloc hook variables as volatile.
43306
43307 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43308 in last patch.
43309
43310 [BZ #11799]
43311 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43312 raise in the comment.
43313 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43314 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43315 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43316
433172011-05-28 Ulrich Drepper <drepper@gmail.com>
43318
43319 [BZ #12811]
43320 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43321 grow the buffers more if it already has to be sufficient.
43322 (build_wcs_upper_buffer): Likewise.
43323 * posix/regexec.c (check_matching): Likewise.
43324 (clean_state_log_if_needed): Likewise.
43325 (extend_buffers): Don't enlarge buffers beyond size of the input
43326 buffer.
43327 Patches mostly by Emil Wojak <emil@wojak.eu>.
43328 * posix/bug-regex32.c: New file.
43329 * posix/Makefile (tests): Add bug-regex32.
43330
43331 * locale/findlocale.c (_nl_find_locale): Return right away if
43332 _nl_explode_name failed.
43333 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43334
43335 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43336
43337 * debug/xtrace.sh: Unify messages.
43338 * malloc/memusage.sh: Likewise.
43339
43340 [BZ #12813]
43341 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43342 time symbol from vDSO. Substitute with vsyscall if not available.
43343 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43344 __vdso_time.
43345
43346 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43347 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43348 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43349 Add sendmmsg and internal_sendmmsg.
43350 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43351 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43352 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43353
43354 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43355 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43356 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43357
433582011-05-27 Ulrich Drepper <drepper@gmail.com>
43359
43360 [BZ #12813]
43361 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43362 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43363 available.
43364 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43365 __vdso_getcpu.
43366
43367 [BZ #12814]
43368 * iconvdata/Makefile (tests): Add bug-iconv9.
43369 * iconvdata/bug-iconv9.c: New file.
43370
433712011-05-27 Andreas Schwab <schwab@redhat.com>
43372
43373 [BZ #12814]
43374 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43375
433762011-05-25 Jakub Jelinek <jakub@redhat.com>
43377
43378 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43379 (struct user_regs_struct): Change intcs field back to cs.
43380
433812011-05-25 Ulrich Drepper <drepper@gmail.com>
43382
43383 * po/ja.po: Update from translation team.
43384
433852011-05-23 Ulrich Drepper <drepper@gmail.com>
43386
43387 [BZ #12795]
43388 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43389 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43390
433912011-05-20 Andreas Schwab <schwab@redhat.com>
43392
43393 * stdlib/longlong.h: Update from GCC.
43394
433952011-05-23 Andreas Schwab <schwab@redhat.com>
43396
43397 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43398 parameter name.
43399 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43400 Add parameter name.
43401 (__sysconf): Pass it down.
43402
434032011-05-22 Ulrich Drepper <drepper@gmail.com>
43404
43405 [BZ #12671]
43406 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43407 some situations.
43408 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43409 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43410 add in in __libc_use_alloca calls. Adjust callers.
43411 (glob): Use malloc in some situations.
43412
43413 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43414 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43415 pltexit.
43416
434172011-05-21 Ulrich Drepper <drepper@gmail.com>
43418
43419 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43420 and CLOCK_BOOTTIME_ALARM.
43421
43422 [BZ #12782]
43423 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43424 is returned.
43425
43426 * string/_strerror.c (__strerror_r): Print negative errors as signed
43427 numbers.
43428
43429 [BZ #12777]
43430 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43431 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43432 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43433
43434 * configure.in: Fix typo in redirection and correct removal of test
43435 files in two cases.
43436
43437 [BZ #12788]
43438 * locale/setlocale.c (new_composite_name): Fix test to check for
43439 identical name of all categories.
43440
43441 [BZ #12792]
43442 * libio/filedoalloc.c (local_isatty): New function.
43443 (_IO_file_doallocate): Use local_isatty.
43444 * stdio-common/perror.c (perror): In case a new stream is used
43445 forward the stream error.
43446 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43447 error flag.
43448
434492011-05-20 Ulrich Drepper <drepper@gmail.com>
43450
43451 [BZ #11869]
43452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43453 alloca.
43454 * include/alloca.h (extend_alloca_account): Define.
43455
43456 [BZ #11857]
43457 * posix/regex.h: Fix comments with documentation of user-accessible
43458 fields after compilation and describe correct free'ing of pattern
43459 after re_compile_pattern.
43460 Patch by Reuben Thomas <rrt@sc3d.org>.
43461
434622011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43463
43464 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43465 and -mno-altivec to prevent the compiler from using Altivec and/or
43466 VSX instructions when the corresponding registers are not available.
43467
434682011-05-19 Andreas Schwab <schwab@redhat.com>
43469
43470 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43471
434722011-05-19 Ulrich Drepper <drepper@gmail.com>
43473
43474 * libio/freopen.c (freopen): Use __dup2, not dup2.
43475 * libio/freopen64.c (freopen64): Likewise.
43476
434772011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43478
43479 [BZ #12775]
43480 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43481 * math/Makefile (tests): Add test-powl.
43482 (CFLAGS-test-powl.c): Define.
43483 * math/test-powl.c: New file.
43484
434852011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43486
43487 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43488
434892011-05-17 Ulrich Drepper <drepper@gmail.com>
43490
43491 [BZ #11837]
43492 * iconvdata/gb18030.c: Update to GB18020-2005.
43493
434942011-05-16 Ulrich Drepper <drepper@gmail.com>
43495
43496 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43497 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43498 Patch by Aharon Robbins <arnold@skeeve.com>.
43499
43500 [BZ #11892]
43501 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43502 on the stack.
43503
43504 [BZ #11895]
43505 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43506 through underflows.
43507
43508 [BZ #12766]
43509 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43510 point to strings before performing equality test for error_one_per_line
43511 mode.
43512
43513 [BZ #11697]
43514 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43515
43516 [BZ #11820]
43517 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43518 (struct user_fpregs_struct): Avoid __uint*_t types.
43519
43520 [BZ #6420]
43521 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43522 symbol info. Use it instead of calling _dl_addr locally.
43523 (lock_and_info): New function.
43524 (tr_freehook): Call lock_and_info and pass symbol info as additional
43525 parameter to tr_where.
43526 (tr_mallochook): Likewise.
43527 (tr_reallochook): Likewise.
43528 (tr_memalignhook): Likewise.
43529
43530 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43531 used and couldn't be at all thread-safe.
43532
435332011-05-15 Ulrich Drepper <drepper@gmail.com>
43534
43535 * libio/freopen.c (freopen): Don't close old file descriptor
43536 before the new one is opened. Instead dup the new file descriptor
43537 to the old one after the new stream is created.
43538 * libio/freopen64.c (freopen64): Likewise.
43539 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43540 * libio/fileops.c (_IO_new_file_close_it): Handle new
43541 _IO_FLAGS2_NOCLOSE flag.
43542 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43543 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43544 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43545 _IO_FLAGS2_NOCLOSE flag.
43546 * include/unistd.h: Add hidden_proto for dup3.
43547 Define __have_dup3.
43548 * io/dup3.c: Define hidden symbol.
43549 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43550
43551 [BZ #7101]
43552 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43553 when an incomplete long option is used.
43554 * posix/tst-getopt_long1.c: New file.
43555 * posix/Makefile (tests): Add tst-getopt_long1.
43556
43557 [BZ #10138]
43558 * scripts/config.guess: Update from autoconf-2.68.
43559 * scripts/config.sub: Likewise.
43560
43561 [BZ #10157]
43562 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43563 tests into ...
43564 (has_cpuclock): ...this. New function.
43565 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43566 macro here based on has_cpuclock code.
43567
43568 [BZ #10149]
43569 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43570 First byte (not low byte) is now always NUL.
43571 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43572
43573 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43574 Use non-cancelable interfaces.
43575
43576 [BZ #9809]
43577 * locale/iso-639.def: Add entry for Sorani.
43578
43579 [BZ #11901]
43580 * include/stdlib.h: Move include protection to the right place.
43581 Define abort_msg_s. Declare __abort_msg with it.
43582 * stdlib/abort.c (__abort_msg): Adjust type.
43583 * assert/assert.c (__assert_fail_base): New function. Majority
43584 of code from __assert_fail. Allocate memory for __abort_msg with
43585 mmap.
43586 (__assert_fail): Now call __assert_fail_base.
43587 * assert/assert-perr.c: Remove bulk of implementation. Use
43588 __assert_fail_base.
43589 * include/assert.hL Declare __assert_fail_base.
43590 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43591 mmap.
43592 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43593
435942011-05-14 Ulrich Drepper <drepper@gmail.com>
43595
43596 [BZ #11952]
43597 [BZ #12453]
43598 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43599 until all modules are registered in the DTV.
43600 * elf/Makefile: Add rules to build and run tst-tls19.
43601 * elf/tst-tls19.c: New file.
43602 * elf/tst-tls19mod1.c: New file.
43603 * elf/tst-tls19mod2.c: New file.
43604 * elf/tst-tls19mod3.c: New file.
43605 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43606
43607 [BZ #12083]
43608 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43609 correctly.
43610
43611 [BZ #12601]
43612 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43613 two-byte sequence errors.
43614 * iconvdata/Makefile (tests): Add bug-iconv8.
43615 * iconvdata/bug-iconv8.c: New file.
43616
43617 [BZ #12626]
43618 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43619 buf2 definition.
43620
43621 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43622
43623 [BZ #12432]
43624 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43625 (dummy_getcfa): New function.
43626 (init): Get _Unwind_GetCFA address, use dummy if not found.
43627 (backtrace_helper): In recursion check, also check whether CFA changes.
43628 (__backtrace): Completely initialize arg.
43629
43630 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43631 storing incomplete byte sequence in state object. Avoid testing for
43632 guaranteed too small input if we know there is enough data available.
43633
436342011-05-11 Andreas Schwab <schwab@redhat.com>
43635
43636 * Makeconfig (+link-pie): Indent.
43637 * Rules (binaries-pie): Define if $(have-fpie) and
43638 $(build-shared).
43639 (binaries-shared): Also filter out $(binaries-pie).
43640 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43641 * nscd/Makefile (others-pie): Add nscd.
43642 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43643 ($(objpfx)nscd): Remove command override.
43644 * login/Makefile (others-pie): Add pt_chown.
43645 ($(objpfx)pt_chown): Remove command override.
43646 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43647 remove command overrides.
43648
436492011-05-13 Ulrich Drepper <drepper@gmail.com>
43650
43651 * libio/tst_putwc.c: Fix error messages.
43652
43653 [BZ #12724]
43654 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43655 currently writing and seek to current position when not.
43656 * libio/Makefile (tests): Add bug-fclose1.
43657 * libio/bug-fclose1.c: New file.
43658
436592011-05-12 Ulrich Drepper <drepper@gmail.com>
43660
43661 [BZ #12511]
43662 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43663 don't set DF_1_NODELETE here.
43664 (do_lookup_x): When entering new entry test for copy relocation
43665 and if necessary set DF_1_NODELETE flag.
43666 * elf/tst-unique4.cc: New file.
43667 * elf/tst-unique4.h: New file.
43668 * elf/tst-unique4lib.cc: New file.
43669 * elf/Makefile: Add rules to build and run tst-unique4.
43670 Patch by Piotr Bury <pbury@goahead.com>.
43671
436722011-05-11 Ulrich Drepper <drepper@gmail.com>
43673
43674 [BZ #12052]
43675 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43676
43677 [BZ #12625]
43678 * misc/mntent_r.c (addmntent): Flush the stream after the output
43679
43680 [BZ #12393]
43681 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43682 (is_trusted_path_normalize): Skip initial colon. Append slash
43683 to empty buffer. Duplicate is_trusted_path code but allow
43684 constructed patch to be prefix.
43685 (is_dst): Allow $ORIGIN followed by /.
43686 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43687 Correct testing of result of is_trusted_path_normalize
43688 (decompose_rpath): Fix warning.
43689
436902011-05-10 Ulrich Drepper <drepper@gmail.com>
43691
43692 [BZ #11257]
43693 * grp/initgroups.c (internal_getgrouplist): When we found the service
43694 list through the initgroups entry in nsswitch.conf do not always
43695 continue on a successful lookup. Don't always use the
43696 __nss_group_database value if it is set.
43697 * nss/nsswitch.conf (initgroups): Change action for successful db
43698 lookup to continue for compatibility.
43699
437002011-05-09 Ulrich Drepper <drepper@gmail.com>
43701
43702 [BZ #11532]
43703 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43704 and CP774 modules.
43705 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43706 and CP774 modules.
43707 * iconvdata/tst-tables.sh: Likewise.
43708 * iconvdata/cp770.c: New file.
43709 * iconvdata/cp771.c: New file.
43710 * iconvdata/cp772.c: New file.
43711 * iconvdata/cp773.c: New file.
43712 * iconvdata/cp774.c: New file.
43713 * iconvdata/testdata/CP770: New file.
43714 * iconvdata/testdata/CP770..UTF8: New file.
43715 * iconvdata/testdata/CP771: New file.
43716 * iconvdata/testdata/CP771..UTF8: New file.
43717 * iconvdata/testdata/CP772: New file.
43718 * iconvdata/testdata/CP772..UTF8: New file.
43719 * iconvdata/testdata/CP773: New file.
43720 * iconvdata/testdata/CP773..UTF8: New file.
43721 * iconvdata/testdata/CP774: New file.
43722 * iconvdata/testdata/CP774..UTF8: New file.
43723
43724 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43725 END CHARMAP line.
43726 * iconvdata/gen-8bit-gap.sh: Likewise.
43727 * iconvdata/gen-8bit.sh: Likewise.
43728
43729 * locale/iso-639.def: Add ary entry.
43730
43731 [BZ #11258]
43732 * locale/C-translit.h.in: Add U20A1 transliteration.
43733
43734 [BZ #12178]
43735 * locale/iso-639.def: Add wae entry.
43736 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43737
43738 [BZ #12545]
43739 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43740 for n.
43741
43742 [BZ #12711]
43743 * locale/C-translit.h.in: Add entry for U20B9.
43744 Patch by pravin.d.s@gmail.com.
43745
437462011-05-08 Ulrich Drepper <drepper@gmail.com>
43747
43748 [BZ #12713]
43749 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43750 ENAMETOOLONG use generic getcwd.
43751 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43752 in rtld. Use *stat64.
43753 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43754 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43755 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43756 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43757 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43758 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43759 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43760 __fstatat64 macros.
43761 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43762 * dirent/rewinddir.c: Add libc_hidden_def.
43763 * sysdeps/mach/hurd/rewinddir.c: Likewise.
43764 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
43765
43766 * include/dirent.h (__alloc_dir): Add flags parameter.
43767 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43768 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43769 __alloc_dir.
43770 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43771 from fdopendir if O_CLOEXEC is already set.
43772
437732011-03-15 Alan Modra <amodra@gmail.com>
43774
43775 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43776 l_tls_firstbyte_offset non-zero. Save padding offset in
43777 l_tls_firstbyte_offset for later use.
43778 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43779 freeing static tls block.
43780
437812011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43782
43783 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43784 where #ifdef was intended. The intent is to prevent ARG_MAX from
43785 being defined by the kernel headers.
43786
437872011-05-07 Ulrich Drepper <drepper@gmail.com>
43788
43789 [BZ #12734]
43790 * resolv/resolv.h: Define RES_NOTLDQUERY.
43791 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43792 no-tld-query and set RES_NOTLDQUERY.
43793 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43794 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43795 modern BIND to search name as TLD unless forbidden.
43796
437972011-05-07 Petr Baudis <pasky@suse.cz>
43798 Ulrich Drepper <drepper@gmail.com>
43799
43800 [BZ #12393]
43801 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43802 (is_trusted_path): ...to here.
43803 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43804 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43805 using is_trusted_path_normalize() in setuid scripts.
43806
438072011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43808
43809 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43810 __BEGIN/__END_DECLS.
43811
438122011-05-06 Ulrich Drepper <drepper@gmail.com>
43813
43814 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43815 NSS_STATUS_NOTFOUND if no record was found.
43816
438172011-05-05 Andreas Schwab <schwab@redhat.com>
43818
43819 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43820 (headers-not-in-tirpc): Remove rpc/netdb.h
43821 * resolv/netdb.h: Revert last change.
43822
438232011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43824
43825 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43826 circular dependency between libgcc.a and libc.a.
43827
438282011-05-05 Andreas Schwab <schwab@redhat.com>
43829
43830 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43831 * nis/Makefile: Don't install rpcsvc/*.
43832 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43833 instead of <rpc/types.h>.
43834 (MAXHOSTNAMELEN): Define.
43835
438362011-05-03 Andreas Schwab <schwab@redhat.com>
43837
43838 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43839
438402011-04-28 Maciej Babinski <mbabinski@google.com>
43841
43842 [BZ #12714]
43843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43844 gethostbyname4_r when IPv6 results are possible.
43845
438462011-05-02 Ulrich Drepper <drepper@gmail.com>
43847
43848 [BZ #12723]
43849 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43850 _PC_PIPE_BUF handling.
43851
438522011-04-30 Bruno Haible <bruno@clisp.org>
43853
43854 [BZ #12717]
43855 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43856 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43857 to 'int'.
43858 * inet/getnameinfo.c (getnameinfo): Likewise.
43859
438602011-04-29 Ulrich Drepper <drepper@gmail.com>
43861
43862 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43863 to groups setting in database lookup.
43864 * nss/nsswitch.conf: Add initgroups entry.
43865
438662011-04-22 Ulrich Drepper <drepper@gmail.com>
43867
43868 [BZ #12685]
43869 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43870 mode string.
43871 Patch by Eric Blake <eblake@redhat.com>.
43872
438732011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43874
43875 * sunrpc/Makefile (need-export-routines): Add svc_run.
43876 (routines): Remove svc_run.
43877 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43878 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43879 * sunrpc/svc_run.c (svc_run): Likewise.
43880 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43881
438822011-04-21 Ulrich Drepper <drepper@gmail.com>
43883
43884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43885 problem in reallocation in last patch.
43886
438872011-04-20 Ulrich Drepper <drepper@gmail.com>
43888
43889 * sunrpc/Makefile: Move inclusion of Rules.
43890
438912011-04-19 Ulrich Drepper <drepper@gmail.com>
43892
43893 * nss/nss_files/files-initgroups.c: New file.
43894 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43895 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43896 _nss_files_initgroups_dyn.
43897
438982011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43899
43900 * elf/elf.h (R_ARM_IRELATIVE): Define.
43901
439022011-04-19 Ulrich Drepper <drepper@gmail.com>
43903
43904 * po/ru.po: Update from translation team.
43905
439062011-04-17 Ulrich Drepper <drepper@gmail.com>
43907
43908 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43909 dependencies.
43910
439112011-02-06 Mike Frysinger <vapier@gentoo.org>
43912
43913 [BZ #12653]
43914 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43915 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43916 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43917 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43918 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43919
439202011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43921
43922 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43923 differing bytes.
43924 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43925 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43926 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43927
439282011-04-17 Ulrich Drepper <drepper@gmail.com>
43929
43930 [BZ #12420]
43931 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43932 storing it.
43933 * stdlib/bug-getcontext.c: New file.
43934 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43935
439362011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43937
43938 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43939 instructions into .machine "z9-109".
43940 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43941 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43942
439432011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43944
43945 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43946 between environment variables and auxiliary vector.
43947
439482011-04-16 Ulrich Drepper <drepper@gmail.com>
43949
43950 * Makefile: Add rules to build linkobj/libc.so.
43951 * include/libc-symbols.h: Define libc_hidden_nolink.
43952 * include/rpc/auth.h: Mark functions which are to be hidden.
43953 * include/rpc/auth_des.h: Likewise.
43954 * include/rpc/auth_unix.h: Likewise.
43955 * include/rpc/clnt.h: Likewise.
43956 * include/rpc/des_crypt.h: Likewise.
43957 * include/rpc/key_prot.h: Likewise.
43958 * include/rpc/pmap_clnt.h: Likewise.
43959 * include/rpc/pmap_prot.h: Likewise.
43960 * include/rpc/pmap_rmt.h: Likewise.
43961 * include/rpc/rpc_msg.h: Likewise.
43962 * include/rpc/svc.h: Likewise.
43963 * include/rpc/svc_auth.h: Likewise.
43964 * include/rpc/xdr.h: Likewise.
43965 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43966 * nss/Makefile: Likewise.
43967 * sunrpc/Makefile: Don't install headers. Build library with normal
43968 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43969 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43970 for the compat linking library. Remove use of INTDEF/INTUSE.
43971 * sunrpc/auth_none.c: Likewise.
43972 * sunrpc/auth_unix.c: Likewise.
43973 * sunrpc/authdes_prot.c: Likewise.
43974 * sunrpc/authuxprot.c: Likewise.
43975 * sunrpc/clnt_gen.c: Likewise.
43976 * sunrpc/clnt_perr.c: Likewise.
43977 * sunrpc/clnt_raw.c: Likewise.
43978 * sunrpc/clnt_simp.c: Likewise.
43979 * sunrpc/clnt_tcp.c: Likewise.
43980 * sunrpc/clnt_udp.c: Likewise.
43981 * sunrpc/clnt_unix.c: Likewise.
43982 * sunrpc/des_crypt.c: Likewise.
43983 * sunrpc/des_soft.c: Likewise.
43984 * sunrpc/get_myaddr.c: Likewise.
43985 * sunrpc/key_call.c: Likewise.
43986 * sunrpc/key_prot.c: Likewise.
43987 * sunrpc/netname.c: Likewise.
43988 * sunrpc/pm_getmaps.c: Likewise.
43989 * sunrpc/pm_getport.c: Likewise.
43990 * sunrpc/pmap_clnt.c: Likewise.
43991 * sunrpc/pmap_prot.c: Likewise.
43992 * sunrpc/pmap_prot2.c: Likewise.
43993 * sunrpc/pmap_rmt.c: Likewise.
43994 * sunrpc/publickey.c: Likewise.
43995 * sunrpc/rpc_cmsg.c: Likewise.
43996 * sunrpc/rpc_common.c: Likewise.
43997 * sunrpc/rpc_dtable.c: Likewise.
43998 * sunrpc/rpc_prot.c: Likewise.
43999 * sunrpc/rpc_thread.c: Likewise.
44000 * sunrpc/rtime.c: Likewise.
44001 * sunrpc/svc.c: Likewise.
44002 * sunrpc/svc_auth.c: Likewise.
44003 * sunrpc/svc_authux.c: Likewise.
44004 * sunrpc/svc_raw.c: Likewise.
44005 * sunrpc/svc_run.c: Likewise.
44006 * sunrpc/svc_simple.c: Likewise.
44007 * sunrpc/svc_tcp.c: Likewise.
44008 * sunrpc/svc_udp.c: Likewise.
44009 * sunrpc/svc_unix.c: Likewise.
44010 * sunrpc/svcauth_des.c: Likewise.
44011 * sunrpc/xcrypt.c: Likewise.
44012 * sunrpc/xdr.c: Likewise.
44013 * sunrpc/xdr_array.c: Likewise.
44014 * sunrpc/xdr_float.c: Likewise.
44015 * sunrpc/xdr_intXX_t.c: Likewise.
44016 * sunrpc/xdr_mem.c: Likewise.
44017 * sunrpc/xdr_rec.c: Likewise.
44018 * sunrpc/xdr_ref.c: Likewise.
44019 * sunrpc/xdr_sizeof.c: Likewise.
44020 * sunrpc/xdr_stdio.c: Likewise.
44021
440222011-04-10 Ulrich Drepper <drepper@gmail.com>
44023
44024 [BZ #12650]
44025 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44026 * sysdeps/ia64/dl-tls.h: Likewise.
44027 * sysdeps/powerpc/dl-tls.h: Likewise.
44028 * sysdeps/s390/dl-tls.h: Likewise.
44029 * sysdeps/sh/dl-tls.h: Likewise.
44030 * sysdeps/sparc/dl-tls.h: Likewise.
44031 * sysdeps/x86_64/dl-tls.h: Likewise.
44032 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44033
440342011-03-14 Andreas Schwab <schwab@redhat.com>
44035
44036 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44037 rpath element also skip the following colon.
44038 (expand_dynamic_string_token): Add is_path parameter and pass
44039 down to DL_DST_REQUIRED and _dl_dst_substitute.
44040 (decompose_rpath): Call expand_dynamic_string_token with
44041 non-zero is_path. Ignore empty rpaths.
44042 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44043 with zero is_path.
44044
440452011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44046
44047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44048 Make cancelable.
44049
440502011-04-09 Ulrich Drepper <drepper@gmail.com>
44051
44052 [BZ #12655]
44053 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44054 Patch by Filipe David Manana <fdmanana@apache.org>.
44055
440562011-04-07 Andreas Schwab <schwab@redhat.com>
44057
44058 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44059 Maintain aligned stack.
44060 (CHECK_RSP): Remove unused macro.
44061
440622011-04-03 Ulrich Drepper <drepper@gmail.com>
44063
44064 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44065 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44066
440672011-04-02 Ulrich Drepper <drepper@gmail.com>
44068
44069 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44070
44071 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44072
440732011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44074
44075 [BZ #12518]
44076 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44077 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44078 * sysdeps/x86_64/memmove.c: New file.
44079 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44080 (memcpy): Renamed to ...
44081 (__new_memcpy): This.
44082 (memcpy): Provide GLIBC_2_14 memcpy.
44083 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44084 (memcpy): Provide GLIBC_2_2_5 memcpy.
44085
440862011-04-01 Ulrich Drepper <drepper@gmail.com>
44087
44088 [BZ #12631]
44089 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44090
440912011-03-30 Andreas Schwab <schwab@redhat.com>
44092
44093 * misc/syncfs.c: New file.
44094 * misc/Makefile (routines): Add syncfs.
44095 * posix/unistd.h: Declare syncfs.
44096 * sysdeps/unix/syscalls.list: Add syncfs.
44097
440982011-04-01 Andreas Schwab <schwab@redhat.com>
44099
44100 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44101 open_by_handle_at.
44102 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44103 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44104 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44105 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44107 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44108 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44109
441102011-04-01 Ulrich Drepper <drepper@gmail.com>
44111
44112 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44113 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44114 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44116 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44118 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44119
44120 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44121 sync_file_range.c with -fexceptions.
44122 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44123 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44124 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44125 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44126 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44127 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44129 sync_file_range as cancellation point
44130 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44131 now a wrapper around __call_sync_file_range with cancellation handling.
44132 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44133 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44134 function name to __call_sync_file_range.
44135 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44136 Add call_sync_file_range.
44137
441382011-04-01 Andreas Schwab <schwab@redhat.com>
44139
44140 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44141 bits/timex.h.
44142
441432011-04-01 Ulrich Drepper <drepper@gmail.com>
44144
44145 * iconv/iconv.h: Fix typo in comment.
44146 * io/fcntl.h: Likewise.
44147 * libio/stdio.h: Likewise.
44148 * posix/spawn.h: Likewise.
44149 * posix/unistd.h: Likewise.
44150 * stdlib/stdlib.h: Likewise.
44151 * time/time.h: Likewise.
44152 * wcsmbs/wchar.h: Likewise.
44153
44154 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44155 open_by_handle): Add.
44156 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44157 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44158 Augment a few comments.
44159 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44161 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44164 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44165 open_by_handle.
44166
44167 * io/fcntl.h (AT_EMPTY_PATH): Define.
44168
441692011-03-30 Ulrich Drepper <drepper@gmail.com>
44170
44171 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44172 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44173 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44174 to...
44175 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44176 * Versions.def: Add GLIBC_2.14.
44177 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44178 Export.
44179
441802011-03-22 Ulrich Drepper <drepper@gmail.com>
44181
44182 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44183 round counter.
44184 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44185
441862011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44187
44188 [BZ #12597]
44189 * string/test-strncmp.c (do_page_test): New function.
44190 (check2): Likewise.
44191 (test_main): Call check2.
44192 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44193
441942011-03-20 Ulrich Drepper <drepper@gmail.com>
44195
44196 [BZ #12587]
44197 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44198 Handle cache information in CPU leaf 4.
44199 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44200
442012011-03-18 Ulrich Drepper <drepper@gmail.com>
44202
44203 [BZ #12583]
44204 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44205 character representation.
44206 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44207
442082011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44209
44210 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44211 END(__isnan) to END(__isnanf) to match function entry point/label
44212 EALIGN(__isnanf,...).
44213
442142011-03-10 Jakub Jelinek <jakub@redhat.com>
44215
44216 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44217
442182011-03-10 Ulrich Drepper <drepper@gmail.com>
44219
44220 [BZ #12510]
44221 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44222 copy from the symbol referenced in the relocation to initialize the
44223 used variable.
44224 Patch by Piotr Bury <pbury@goahead.com>.
44225 * elf/Makefile: Add rules to build and tst-unique3.
44226 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44227 * elf/tst-unique3.cc: New file.
44228 * elf/tst-unique3.h: New file.
44229 * elf/tst-unique3lib.cc: New file.
44230 * elf/tst-unique3lib2.cc: New file.
44231
44232 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44233
442342011-03-10 Mike Frysinger <vapier@gentoo.org>
44235
44236 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44237 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44238 to _start.
44239
442402011-03-06 Ulrich Drepper <drepper@gmail.com>
44241
44242 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44243 to-be-loaded object along a path to loader is ld.so.
44244
442452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44246 Ulrich Drepper <drepper@gmail.com>
44247
44248 * sysdeps/x86_64/memset.S: After aligning destination, code
44249 branches to different locations depending on the value of
44250 misalignment, when multiarch is enabled. Fix this.
44251
442522011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44253
44254 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44255 Set _x86_64_preferred_memory_instruction for AMD processsors.
44256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44257 Set bit_Prefer_SSE_for_memop for AMD processors.
44258
442592011-03-04 Ulrich Drepper <drepper@gmail.com>
44260
44261 * libio/fmemopen.c (fmemopen): Optimize a bit.
44262
442632011-03-03 Andreas Schwab <schwab@redhat.com>
44264
44265 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44266
442672011-03-03 Roland McGrath <roland@redhat.com>
44268
44269 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44270
442712011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44272
44273 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44274 __bzero_ultra1 instead of __memset_ultra1.
44275
442762011-02-23 Andreas Schwab <schwab@redhat.com>
44277 Ulrich Drepper <drepper@gmail.com>
44278
44279 [BZ #12509]
44280 * include/link.h (struct link_map): Add l_orig_initfini.
44281 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44282 returning unsuccessfully.
44283 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44284 close of a file loaded at startup, restore the original l_initfini
44285 list.
44286 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44287 list, store the pointer.
44288 * elf/Makefile ($(objpfx)noload-mem): New rule.
44289 (noload-ENV): Define.
44290 (tests): Add $(objpfx)noload-mem.
44291 * elf/noload.c: Include <memcheck.h>.
44292 (main): Call mtrace. Close all opened handles.
44293
442942011-02-17 Andreas Schwab <schwab@redhat.com>
44295
44296 [BZ #12454]
44297 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44298 dependencies are missing.
44299
443002011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44301
44302 Fix __if_freereq crash: Unlike the generic version which uses free,
44303 Hurd needs munmap.
44304 * sysdeps/mach/hurd/ifreq.h: New file.
44305
443062011-01-27 Petr Baudis <pasky@suse.cz>
44307 Ulrich Drepper <drepper@gmail.com>
44308
44309 [BZ 12445]#
44310 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44311 to extend_alloca().
44312 * stdio-common/bug23.c: New file.
44313 * stdio-common/Makefile (tests): Add bug23.
44314
443152010-09-28 Andreas Schwab <schwab@redhat.com>
44316 Ulrich Drepper <drepper@gmail.com>
44317
44318 [BZ #12489]
44319 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44320 before performing relro protection. At old place add assertion
44321 to make sure nothing changed.
44322
443232011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44324 Glauber de Oliveira Costa <glommer@gmail.com>
44325
44326 * elf/elf.h: Add new ARM TLS relocs.
44327
443282011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44329
44330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44331 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44332 cast from r3.
44333 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44334 'tests' variable.
44335 * sysdeps/wordsize-64/tst-writev.c: New file.
44336
443372011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44338
44339 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44340 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44341 insns in _dl_start to prevent a TOC reference before relocs are
44342 resolved.
44343
443442011-02-15 Ulrich Drepper <drepper@gmail.com>
44345
44346 [BZ #12469]
44347 * Makeconfig: Remove RANLIB definition.
44348 * Makerules: Don't use RANLIB.
44349 * aclocal.m4: Remove ranlib test.
44350 * configure.in: No need to check for ranlib.
44351 * elf/rtld-Rules: Don't use RANLIB.
44352
443532011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44354
44355 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44356 protection macro.
44357 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44358 inclusion protection macro.
44359
44360 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44361 SIGRTMIN and SIGRTMAX and print information in that case only when
44362 SIGRTMIN is defined.
44363
443642011-02-11 Jakub Jelinek <jakub@redhat.com>
44365
44366 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44367 arginfo fn returning -1.
44368
44369 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44370 and thousands string is zero terminated.
44371
443722011-02-03 Andreas Schwab <schwab@redhat.com>
44373
44374 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44375 sysdeps/unix/sysv/linux/bits/socket.h.
44376
443772011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44378
44379 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44380 (__CPU_COUNT): Remove old macros.
44381 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44382 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44383 (__CPU_ALLOC, __CPU_FREE): Add macros.
44384 (__sched_cpualloc, __sched_cpufree): Add declarations.
44385
443862011-02-05 Ulrich Drepper <drepper@gmail.com>
44387
44388 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44389 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44390 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44391 (readdhstai): Return value of addhstaiX call.
44392 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44393 (addgrbyX): Return value returned by cache_addgr.
44394 (readdgrbyname): Return value returned by addgrbyX.
44395 (readdgrbygid): Likewise.
44396 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44397 (addpwbyX): Return value returned by cache_addpw.
44398 (readdpwbyname): Return value returned by addhstbyX.
44399 (readdpwbyuid): Likewise.
44400 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44401 (addservbyX): Return value returned by cache_addserv.
44402 (readdservbyname): Return value returned by addservbyX:
44403 (readdservbyport): Likewise.
44404 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44405 (addhstbyX): Return value returned by cache_addhst.
44406 (readdhstbyname): Return value returned by addhstbyX.
44407 (readdhstbyaddr): Likewise.
44408 (readdhstbynamev6): Likewise.
44409 (readdhstbyaddrv6): Likewise.
44410 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44411 (readdinitgroups): Return value returned by addinitgroupsX.
44412 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44413 (prune_cache): Keep track of timeout value of re-added entries.
44414 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44415 * nscd/nscd.h: Adjust prototypes of readd* functions.
44416
444172011-02-04 Roland McGrath <roland@redhat.com>
44418
44419 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44420 (nis_stats): Likewise.
44421 * nis/nis_modify.c (nis_modify): Likewise.
44422 * nis/nis_remove.c (nis_remove): Likewise.
44423 * nis/nis_add.c (nis_add): Likewise.
44424
44425 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44426
44427 * posix/fnmatch_loop.c: Add some consts.
44428
44429 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44430
444312011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44432
44433 [BZ #12460]
44434 * config.make.in (config-cflags-novzeroupper): Define.
44435 * configure.in: Substitute libc_cv_cc_novzeroupper.
44436 * elf/Makefile (AVX-CFLAGS): Define.
44437 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44438 (CFLAGS-tst-auditmod4a.c): Likewise.
44439 (CFLAGS-tst-auditmod4b.c): Likewise.
44440 (CFLAGS-tst-auditmod6b.c): Likewise.
44441 (CFLAGS-tst-auditmod6c.c): Likewise.
44442 (CFLAGS-tst-auditmod7b.c): Likewise.
44443 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44444
444452011-02-02 Ulrich Drepper <drepper@gmail.com>
44446
44447 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44448 function to the callback.
44449 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44450
444512011-02-02 Andreas Schwab <schwab@redhat.com>
44452
44453 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44454 of errno.
44455
444562011-01-19 Ulrich Drepper <drepper@gmail.com>
44457
44458 [BZ #11724]
44459 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44460 of constructors.
44461 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44462 of destructors.
44463 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44464
44465 [BZ #11724]
44466 * elf/Makefile: Add rules to build and run new test.
44467 * elf/tst-initorder.c: New file.
44468 * elf/tst-initorder.exp: New file.
44469 * elf/tst-initordera1.c: New file.
44470 * elf/tst-initordera2.c: New file.
44471 * elf/tst-initordera3.c: New file.
44472 * elf/tst-initordera4.c: New file.
44473 * elf/tst-initorderb1.c: New file.
44474 * elf/tst-initorderb2.c: New file.
44475 * elf/tst-order-a1.c: New file.
44476 * elf/tst-order-a2.c: New file.
44477 * elf/tst-order-a3.c: New file.
44478 * elf/tst-order-a4.c: New file.
44479 * elf/tst-order-b1.c: New file.
44480 * elf/tst-order-b2.c: New file.
44481 * elf/tst-order-main.c: New file.
44482 New test case by George Gensure <werkt0@gmail.com>.
44483
444842010-10-01 Andreas Schwab <schwab@redhat.com>
44485
44486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44487 decoding ACE if AI_CANONIDN.
44488
444892011-01-18 Ulrich Drepper <drepper@gmail.com>
44490
44491 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44492
444932011-01-17 Ulrich Drepper <drepper@gmail.com>
44494
44495 * version.h (RELEASE): Bump for 2.13 release.
44496 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44497
44498 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44499
44500 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44501 MADV_NOHUGEPAGE.
44502 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44503 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44504 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44505 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44506 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44507 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44508
44509 * posix/getconf.c: Update copyright year.
44510 * catgets/gencat.c: Likewise.
44511 * csu/version.c: Likewise.
44512 * debug/catchsegv.sh: Likewise.
44513 * debug/xtrace.sh: Likewise.
44514 * elf/ldconfig.c: Likewise.
44515 * elf/ldd.bash.in: Likewise.
44516 * elf/sprof.c (print_version): Likewise.
44517 * iconv/iconv_prog.c: Likewise.
44518 * iconv/iconvconfig.c: Likewise.
44519 * locale/programs/locale.c: Likewise.
44520 * locale/programs/localedef.c: Likewise.
44521 * malloc/memusage.sh: Likewise.
44522 * malloc/mtrace.pl: Likewise.
44523 * nscd/nscd.c (print_version): Likewise.
44524 * nss/getent.c: Likewise.
44525
44526 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44527 PF_CAIF, and PF_ALG.
44528 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44529
445302011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44531
44532 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44533 (modules-names): Use them.
44534 (ifunc-test-modules, ifunc-pie-tests): Define.
44535 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44536 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44537 (test-extras): Likewise.
44538 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44539 $(compile-command.c).
44540 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44541 (all-built-dso): Define.
44542 (check-textrel.out, check-execstack.out): Depend on it.
44543
44544 * configure.in: Don't override --enable-multi-arch.
44545
445462011-01-15 Ulrich Drepper <drepper@gmail.com>
44547
44548 [BZ #6812]
44549 * nscd/hstcache.c (tryagain): Define.
44550 (cache_addhst): Return tryagain not notfound for temporary errors.
44551 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44552 failed.
44553
445542011-01-14 Ulrich Drepper <drepper@gmail.com>
44555
44556 [BZ #10563]
44557 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44558 to make the syscall.
44559 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44560
44561 [BZ #12378]
44562 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44563 and fall back to matching as normal character if the string ends before
44564 the matching ']' is found. This is what POSIX requires.
44565 * posix/testfnm.c: Adjust test result.
44566 * posix/globtest.sh: Adjust test result. Add new test.
44567 * posix/tst-fnmatch.input: Likewise.
44568 * posix/tst-fnmatch2.c: Add new test.
44569
445702010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44571
44572 * elf/Makefile (check-execstack): Revert last change. Depend on
44573 check-execstack.h.
44574 (check-execstack.h): New target.
44575 (generated): Add check-execstack.h.
44576 * elf/check-execstack.c: Include "check-execstack.h".
44577 (main): Revert last change.
44578 (handle_file): Return zero if GNU_STACK is absent and
44579 DEFAULT_STACK_PERMS doesn't include PF_X.
44580
445812011-01-13 Ulrich Drepper <drepper@gmail.com>
44582
44583 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44584 in child fails because the descriptor is already closed.
44585 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44586 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44587 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44588
44589 [BZ #12397]
44590 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44591 syscall.
44592
44593 [BZ #10484]
44594 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44595 temporary buffer used to handle multi lookups locally.
44596 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44597
445982011-01-12 Ulrich Drepper <drepper@gmail.com>
44599
44600 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44601 loader is ld.so.
44602
446032011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44604
44605 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44606 alignment for SSE2.
44607
446082011-01-12 Ulrich Drepper <drepper@gmail.com>
44609
44610 [BZ #12394]
44611 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44612 characters. When rounding increased number of integer digits recompute
44613 number of groups.
44614 * stdio-common/tst-grouping.c: New file.
44615 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44616
446172011-01-09 Ulrich Drepper <drepper@gmail.com>
44618
44619 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44620 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44621
44622 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44623 void.
44624 * bits/select.h: Likewise.
44625
446262011-01-08 Ulrich Drepper <drepper@gmail.com>
44627
44628 * po/ja.po: Update from translation team.
44629
446302011-01-04 David S. Miller <davem@sunset.davemloft.net>
44631
44632 [BZ #11155]
44633 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44634 implementation just like for lxstat, fxstatat, et al.
44635
446362010-12-27 Jim Meyering <meyering@redhat.com>
44637
44638 [BZ #12348]
44639 * posix/regexec.c (build_trtable): Return failure indication upon
44640 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44641
446422010-12-25 Ulrich Drepper <drepper@gmail.com>
44643
44644 [BZ #12201]
44645 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44646 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44647 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44648 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44649
44650 [BZ #12207]
44651 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44652
44653 [BZ #12204]
44654 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44655 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44656
446572010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44658
44659 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44660 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44661 script has SORT_BY_INIT_PRIORITY.
44662 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44663 NO_CTORS_DTORS_SECTIONS is defined.
44664 * elf/soinit.c: Likewise.
44665 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44666 NO_CTORS_DTORS_SECTIONS is defined.
44667 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44668 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44669 * sysdeps/sh/init-first.c: Likewise.
44670 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44671
446722010-12-24 Ulrich Drepper <drepper@gmail.com>
44673
44674 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44675 always use the slow path.
44676
446772010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44678
44679 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44680 similar rule which adds the sysdep directories to the header search in
44681 order to pick up the correct platform stackinfo.h.
44682 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44683 perform test if it is, otherwise return successfully without testing.
44684 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44685 DEFAULT_STACK_PERMS define in stackinfo.h.
44686 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44687 defined in stackinfo.h.
44688 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44689 DEFAULT_STACK_PERMS defined in stackinfo.h.
44690 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44691 * sysdeps/ia64/stackinfo.h: Likewise.
44692 * sysdeps/s390/stackinfo.h: Likewise.
44693 * sysdeps/sh/stackinfo.h: Likewise.
44694 * sysdeps/sparc/stackinfo.h: Likewise.
44695 * sysdeps/x86_64/stackinfo.h: Likewise.
44696 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44697 PF_X for powerpc64. Retain PF_X for powerpc32.
44698
446992010-12-19 Ulrich Drepper <drepper@gmail.com>
44700
44701 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44702 accurately.
44703 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44704 GETDENTS_64BIT_ALIGNED.
44705
447062010-12-14 Ulrich Drepper <dreper@gmail.com>
44707
44708 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44709
447102010-12-10 Andreas Schwab <schwab@redhat.com>
44711
44712 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44713 _GNU_SOURCE.
44714
44715 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44716 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44717 Remove __restrict.
44718 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44719 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44720
447212010-12-09 Ulrich Drepper <drepper@gmail.com>
44722
44723 [BZ #11655]
44724 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44725 are initialized.
44726
447272010-12-09 Jakub Jelinek <jakub@redhat.com>
44728
44729 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44730
447312010-12-03 Ulrich Drepper <drepper@gmail.com>
44732
44733 * po/it.po: Update from translation team.
44734
447352010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44736
44737 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44738 unused codes.
44739
447402010-11-30 Ulrich Drepper <drepper@gmail.com>
44741
44742 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44743
447442010-11-24 Andreas Schwab <schwab@redhat.com>
44745
44746 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44747 specially.
44748 (gaih_getanswer_slice): Likewise.
44749
447502010-10-20 Jakub Jelinek <jakub@redhat.com>
44751
44752 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44753
447542010-05-31 Petr Baudis <pasky@suse.cz>
44755
44756 [BZ #11149]
44757 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44758 silently even in the chroot mode.
44759
447602010-11-22 Ulrich Drepper <drepper@gmail.com>
44761
44762 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44763 last patch a bit. Pretty printing
44764
447652010-05-31 Petr Baudis <pasky@suse.cz>
44766
44767 [BZ #10085]
44768 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44769 initialization of skip_initgroups_dyn.
44770
447712010-11-19 Ulrich Drepper <drepper@gmail.com>
44772
44773 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44774 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44775
447762010-11-16 Ulrich Drepper <drepper@gmail.com>
44777
44778 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44779
447802010-11-11 Andreas Schwab <schwab@redhat.com>
44781
44782 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44783 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44784 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44785 ($(objpfx)tst-fnmatch-mem): New rule.
44786 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44787 * posix/tst-fnmatch.c (main): Call mtrace.
44788
447892010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44790
44791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44792 Support Intel processor model 6 and model 0x2c.
44793
447942010-11-10 Luis Machado <luisgpm@br.ibm.com>
44795
44796 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44797 signed comparison.
44798
447992010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44800
44801 [BZ #12205]
44802 * string/test-strncasecmp.c (check_result): New function.
44803 (do_one_test): Use it.
44804 (check1): New function.
44805 (test_main): Use it.
44806 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44807 Support strcasecmp and strncasecmp.
44808
448092010-11-08 Ulrich Drepper <drepper@gmail.com>
44810
44811 [BZ #12194]
44812 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44813 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44814
448152010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44816
44817 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44818 IFUNC support.
44819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44820 memset-x86-64.
44821 * sysdeps/x86_64/multiarch/bzero.S: New file.
44822 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44823 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44824 * sysdeps/x86_64/multiarch/memset.S: New file.
44825 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44827 Set bit_Prefer_SSE_for_memop for Intel processors.
44828 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44829 Define.
44830 (index_Prefer_SSE_for_memop): Define.
44831 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44832
448332010-11-04 Luis Machado <luisgpm@br.ibm.com>
44834
44835 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44836 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44837
448382010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44839
44840 [BZ #12191]
44841 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44842 (__x86_64_raw_data_cache_size_half): Likewise.
44843 (__x86_64_raw_shared_cache_size): Likewise.
44844 (__x86_64_raw_shared_cache_size_half): Likewise.
44845
44846 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44847 (__x86_64_raw_data_cache_size_half): Likewise.
44848 (__x86_64_raw_shared_cache_size): Likewise.
44849 (__x86_64_raw_shared_cache_size_half): Likewise.
44850 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44851 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44852 and __x86_64_raw_shared_cache_size_half. Round
44853 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44854 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44855 to multiple of 256 bytes.
44856
448572010-11-03 Ulrich Drepper <drepper@gmail.com>
44858
44859 [BZ #12167]
44860 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44861 of inacessible symlinks. Verify result of symlink before returning it.
44862 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44863 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44864
448652010-10-28 Erich Ritz <erichritz@gmail.com>
44866
44867 * math/math.h (isinf): Fix typo in comment.
44868
448692010-11-01 Ulrich Drepper <drepper@gmail.com>
44870
44871 * po/da.po: Update from translation team.
44872
448732010-10-26 Ulrich Drepper <drepper@gmail.com>
44874
44875 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44876 is added to the list.
44877
448782010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44879 Ulrich Drepper <drepper@gmail.com>
44880
44881 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44882 the global list here. Move code to...
44883 (_dl_add_to_namespace_list): ...here. New function.
44884 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44885 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44886 * elf/dl-load.c (lose): Don't remove the element from the list.
44887 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44888 (_dl_map_object): Likewise.
44889
448902010-10-25 Ulrich Drepper <drepper@gmail.com>
44891
44892 [BZ #12159]
44893 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44894 into all bytes of SSE register.
44895 Patch by Richard Li <richardpku@gmail.com>.
44896
448972010-10-24 Ulrich Drepper <drepper@gmail.com>
44898
44899 [BZ #12140]
44900 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44901 perturbing.
44902
449032010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44904
44905 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44906 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44907 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44908 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44910 submachine.
44911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44912
449132010-10-22 Andreas Schwab <schwab@redhat.com>
44914
44915 * include/dlfcn.h (__RTLD_SECURE): Define.
44916 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44917 mode & __RTLD_SECURE instead.
44918 (open_path): Rename preloaded parameter to secure.
44919 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44920 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44921 * elf/dl-deps.c (openaux): Likewise.
44922 * elf/rtld.c (struct map_args): Remove is_preloaded.
44923 (map_doit): Don't use it.
44924 (dl_main): Likewise.
44925 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44926 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44927
449282010-09-09 Andreas Schwab <schwab@redhat.com>
44929
44930 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44931 (sysd-rules-targets): Remove duplicates.
44932 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44933 rtld-%.$o dependency.
44934
449352010-10-18 Andreas Schwab <schwab@redhat.com>
44936
44937 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44938 _dl_map_object do it.
44939
449402010-10-19 Ulrich Drepper <drepper@gmail.com>
44941
44942 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44943 fast fma builtins, define the macros in the C99 standard.
44944 (FP_FAST_FMAF): Likewise.
44945 (FP_FAST_FMAL): Likewise.
44946 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44947
44948 * bits/mathdef.h: Update copyright year.
44949 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44950
449512010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44952
44953 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44954 builtins, define the macros in the C99 standard.
44955 (FP_FAST_FMAF): Likewise.
44956 (FP_FAST_FMAL): Likewise.
44957 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44958 multiply/add.
44959 (FP_FAST_FMAF): Likewise.
44960
449612010-10-15 Jakub Jelinek <jakub@redhat.com>
44962
44963 [BZ #3268]
44964 * math/libm-test.inc (fma_test): Some new testcases.
44965 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44966 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44967 y and infinite z. Do multiplication by C already in long double.
44968 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44970 y and infinite z. Do bitwise or of inexact bit into u.d.
44971 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44972 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44973 * sysdeps/i386/fpu/s_fma.S: Removed.
44974 * sysdeps/i386/fpu/s_fmal.S: Removed.
44975
449762010-10-16 Jakub Jelinek <jakub@redhat.com>
44977
44978 [BZ #3268]
44979 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44981 computation is not scheduled after fetestexcept. Fix value
44982 of minimum denormal long double.
44983
449842010-10-14 Jakub Jelinek <jakub@redhat.com>
44985
44986 [BZ #3268]
44987 * math/libm-test.inc (fma_test): Add some more tests.
44988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44989 correctly.
44990
449912010-10-15 Andreas Schwab <schwab@redhat.com>
44992
44993 * scripts/data/localplt-s390-linux-gnu.data: New file.
44994 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44995
449962010-10-13 Jakub Jelinek <jakub@redhat.com>
44997
44998 [BZ #3268]
44999 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45000 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45001 instead of dbl-64.
45002 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45003 inlines.
45004 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45006 if one of x and y is very large and the other is subnormal.
45007 * sysdeps/s390/fpu/s_fmaf.c: New file.
45008 * sysdeps/s390/fpu/s_fma.c: New file.
45009 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45010 * sysdeps/powerpc/fpu/s_fma.S: New file.
45011 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45012 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45013 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45014
450152010-10-12 Jakub Jelinek <jakub@redhat.com>
45016
45017 [BZ #3268]
45018 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45019 fma tests.
45020 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45021 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45022 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45023 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45024 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45025 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45026 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45027
450282010-10-12 Ulrich Drepper <drepper@redhat.com>
45029
45030 [BZ #12078]
45031 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45032 * posix/bug-regex31.input: Add test case.
45033
450342010-10-11 Ulrich Drepper <drepper@gmail.com>
45035
45036 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45037 * posix/bug-regex31.input: New file.
45038
45039 [BZ #12078]
45040 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45041 (parse_sub_exp): Fix last change, use postorder.
45042
45043 * posix/bug-regex31.c: New file.
45044 * posix/Makefile: Add rules to build and run bug-regex31.
45045
45046 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45047
45048 [BZ #12078]
45049 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45050
45051 [BZ #12108]
45052 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45053 to have entries in sys_siglist.
45054
45055 [BZ #12093]
45056 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45057 be NULL.
45058
450592010-10-07 Jakub Jelinek <jakub@redhat.com>
45060
45061 [BZ #3268]
45062 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45063 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45064 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45065 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45066 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45067 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45068 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45069 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45070 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45071 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45072 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45073 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45074 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45075 * math/ftestexcept.c (fetestexcept): Likewise.
45076 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45077 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45078 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45079 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45080 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45081 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45082 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45083
450842010-10-11 Ulrich Drepper <drepper@gmail.com>
45085
45086 [BZ #12107]
45087 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45088 newline.
45089
450902010-10-06 Ulrich Drepper <drepper@gmail.com>
45091
45092 * string/bug-strstr1.c: New file.
45093 * string/Makefile: Add rules to build and run bug-strstr1.
45094
450952010-10-05 Eric Blake <eblake@redhat.com>
45096
45097 [BZ #12092]
45098 * string/str-two-way.h (two_way_long_needle): Always clear memory
45099 when skipping input due to the shift table.
45100
451012010-10-03 Ulrich Drepper <drepper@gmail.com>
45102
45103 [BZ #12005]
45104 * malloc/mcheck.c: Handle large requests.
45105
45106 [BZ #12077]
45107 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45108 for strncmp and strncasecmp.
45109 * string/stratcliff.c: Add tests for strcmp and strncmp.
45110 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45111
451122010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45113
45114 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45115 __set_fpscr.
45116
451172010-09-30 Andreas Jaeger <aj@suse.de>
45118
45119 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45120 (CGROUP_SUPER_MAGIC): Define.
45121 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45122 Handle btrfs and cgroup file systems.
45123 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45124 Likewise.
45125
451262010-09-27 Luis Machado <luisgpm@br.ibm.com>
45127
45128 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45129 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45130
451312010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45132
45133 [BZ #12067]
45134 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45135 trying to locate the ELF header.
45136
451372010-09-27 Andreas Schwab <schwab@redhat.com>
45138
45139 [BZ #11611]
45140 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45141 Mask out sign-bit copies when constructing f_fsid.
45142
451432010-09-24 Petr Baudis <pasky@suse.cz>
45144
45145 * debug/stack_chk_fail_local.c: Add missing licence exception.
45146 * debug/warning-nop.c: Likewise.
45147
451482010-09-15 Joseph Myers <joseph@codesourcery.com>
45149
45150 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45151 implementing getdents64 using getdents syscall, set d_type if
45152 __ASSUME_GETDENTS32_D_TYPE.
45153
451542010-09-16 Andreas Schwab <schwab@redhat.com>
45155
45156 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45157 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45158
451592010-09-21 Ulrich Drepper <drepper@redhat.com>
45160
45161 [BZ #12037]
45162 * posix/unistd.h: Undo change of feature selection for ftruncate from
45163 2010-01-11.
45164
451652010-09-20 Ulrich Drepper <drepper@redhat.com>
45166
45167 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45168 detection.
45169
451702010-09-20 Andreas Schwab <schwab@redhat.com>
45171
45172 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45173 fanotify_mark.
45174 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45175
451762010-09-14 Andreas Schwab <schwab@redhat.com>
45177
45178 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45179 variables after CHECK_SP call.
45180 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45181
451822010-09-13 Andreas Schwab <schwab@redhat.com>
45183 Ulrich Drepper <drepper@redhat.com>
45184
45185 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45186 re-relocationg ld.so.
45187 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45188 _dl_init_paths call.
45189 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45190 here anymore.
45191
451922010-09-14 Ulrich Drepper <drepper@redhat.com>
45193
45194 * resolv/res_init.c (__res_vinit): Count the default server we added.
45195
451962010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45197 Ulrich Drepper <drepper@redhat.com>
45198
45199 [BZ #11968]
45200 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45201 (____longjmp_chk): Use %ebx for saving value across system call.
45202 Add unwind info.
45203
452042010-09-06 Andreas Schwab <schwab@redhat.com>
45205
45206 * manual/Makefile: Don't mix pattern rules with normal rules.
45207
452082010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45209
45210 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45211 operation.
45212 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45213 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45214 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45215 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45216 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45217 Likewise.
45218
452192010-09-04 Ulrich Drepper <drepper@redhat.com>
45220
45221 [BZ #11979]
45222 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45223 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45224
452252010-09-02 Ulrich Drepper <drepper@redhat.com>
45226
45227 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45228 * sysdeps/x86_64/addmul_1.S: Likewise.
45229 * sysdeps/x86_64/lshift.S: Likewise.
45230 * sysdeps/x86_64/mul_1.S: Likewise.
45231 * sysdeps/x86_64/rshift.S: Likewise.
45232 * sysdeps/x86_64/sub_n.S: Likewise.
45233 * sysdeps/x86_64/submul_1.S: Likewise.
45234
452352010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45236
45237 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45238 Define __sched_param instead of SCHED_* and sched_param when
45239 <bits/sched.h> is included with __need_schedparam defined.
45240 * bits/sched.h [__need_schedparam]
45241 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45242 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45243 (__defined_schedparam): Define to 1.
45244 (__sched_param): New structure, identical to sched_param.
45245 (__need_schedparam): Undefine.
45246
452472010-08-31 Mike Frysinger <vapier@gentoo.org>
45248
45249 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45250 (epoll_create1): Declare.
45251
45252 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45253
452542010-08-31 Andreas Schwab <schwab@redhat.com>
45255
45256 [BZ #7066]
45257 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45258 shifting retval into place.
45259
452602010-09-01 Ulrich Drepper <drepper@redhat.com>
45261
45262 * nis/rpcsvc/nis.h: Update copyright notice.
45263 * nis/rpcsvc/nis.x: Likewise.
45264 * nis/rpcsvc/nis_callback.h: Likewise.
45265 * nis/rpcsvc/nis_callback.x: Likewise.
45266 * nis/rpcsvc/nis_object.x: Likewise.
45267 * nis/rpcsvc/nis_tags.h: Likewise.
45268 * nis/rpcsvc/yp.h: Likewise.
45269 * nis/rpcsvc/yp.x: Likewise.
45270 * nis/rpcsvc/ypupd.h: Likewise.
45271 * nis/yp_xdr.c: Likewise.
45272 * nis/ypupdate_xdr.c: Likewise.
45273
45274 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45275 mainly the body of pmap_getport. Add parameters to specify timeouts.
45276 (pmap_getport): Use __libc_rpc_getport.
45277 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45278 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45279 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45280
452812010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45282
45283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45284 fanotify_mark.
45285
452862010-08-27 Roland McGrath <roland@redhat.com>
45287
45288 * sysdeps/i386/i686/multiarch/Makefile
45289 (CFLAGS-varshift.c): New variable.
45290
452912010-08-27 Ulrich Drepper <drepper@redhat.com>
45292
45293 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45294 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45295
45296 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45297
45298 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45299
453002010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45301
45302 * sysdeps/x86_64/strlen.S: Unroll the loop.
45303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45304 strlen-sse2 strlen-sse2-bsf.
45305 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45306 __strlen_no_bsf if bit_Slow_BSF is set.
45307 (__strlen_sse42): Removed.
45308 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45309 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45310
453112010-08-25 Roland McGrath <roland@redhat.com>
45312
45313 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45314 * sysdeps/x86_64/multiarch/varshift.c: New file.
45315 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45316 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45317 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45318 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45319
453202010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45321
45322 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45323 strlen-sse2 strlen-sse2-bsf.
45324 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45325 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45326 (__strlen_sse2): Removed.
45327 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45328 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45330 bit_Slow_BSF for Atom.
45331 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45332 (index_Slow_BSF): Define.
45333 (HAS_SLOW_BSF): Define.
45334
453352010-08-25 Ulrich Drepper <drepper@redhat.com>
45336
45337 [BZ #10851]
45338 * resolv/res_init.c (__res_vinit): When no server address at all
45339 is given default to loopback.
45340
453412010-08-24 Roland McGrath <roland@redhat.com>
45342
45343 * configure.in: Remove config-name.h generation.
45344 * configure: Regenerated.
45345 * config-name.in: File removed.
45346 * scripts/config-uname.sh: New file.
45347 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45348 ($(objdir)config-name.h): New target.
45349
45350 * sunrpc/rpc_parse.h: Avoid nested comment.
45351
453522010-08-24 Richard Henderson <rth@redhat.com>
45353 Ulrich Drepper <drepper@redhat.com>
45354 H.J. Lu <hongjiu.lu@intel.com>
45355
45356 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45358 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45359 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45360 _mm_alignr_epi8 with _mm_loadu_si128.
45361 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45362 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45363 (__m128i_shift_right): Removed.
45364 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45365 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45366 * sysdeps/x86_64/multiarch/varshift.h: New file.
45367 * sysdeps/x86_64/multiarch/varshift.S: New file.
45368
453692010-08-21 Mike Frysinger <vapier@gentoo.org>
45370
45371 * configure.in: Move assembler checks to before sysdep dir checking.
45372
453732010-08-20 Petr Baudis <pasky@suse.cz>
45374
45375 * LICENSES: Sync the sunrpc license.
45376
453772010-08-19 Ulrich Drepper <drepper@redhat.com>
45378
45379 * sunrpc/auth_des.c: Update copyright notice once again.
45380 * sunrpc/auth_none.c: Likewise.
45381 * sunrpc/auth_unix.c: Likewise.
45382 * sunrpc/authdes_prot.c: Likewise.
45383 * sunrpc/authuxprot.c: Likewise.
45384 * sunrpc/bindrsvprt.c: Likewise.
45385 * sunrpc/clnt_gen.c: Likewise.
45386 * sunrpc/clnt_perr.c: Likewise.
45387 * sunrpc/clnt_raw.c: Likewise.
45388 * sunrpc/clnt_simp.c: Likewise.
45389 * sunrpc/clnt_tcp.c: Likewise.
45390 * sunrpc/clnt_udp.c: Likewise.
45391 * sunrpc/clnt_unix.c: Likewise.
45392 * sunrpc/des_crypt.c: Likewise.
45393 * sunrpc/des_soft.c: Likewise.
45394 * sunrpc/get_myaddr.c: Likewise.
45395 * sunrpc/getrpcport.c: Likewise.
45396 * sunrpc/key_call.c: Likewise.
45397 * sunrpc/key_prot.c: Likewise.
45398 * sunrpc/openchild.c: Likewise.
45399 * sunrpc/pm_getmaps.c: Likewise.
45400 * sunrpc/pm_getport.c: Likewise.
45401 * sunrpc/pmap_clnt.c: Likewise.
45402 * sunrpc/pmap_prot.c: Likewise.
45403 * sunrpc/pmap_prot2.c: Likewise.
45404 * sunrpc/pmap_rmt.c: Likewise.
45405 * sunrpc/rpc/auth.h: Likewise.
45406 * sunrpc/rpc/auth_unix.h: Likewise.
45407 * sunrpc/rpc/clnt.h: Likewise.
45408 * sunrpc/rpc/des_crypt.h: Likewise.
45409 * sunrpc/rpc/key_prot.h: Likewise.
45410 * sunrpc/rpc/netdb.h: Likewise.
45411 * sunrpc/rpc/pmap_clnt.h: Likewise.
45412 * sunrpc/rpc/pmap_prot.h: Likewise.
45413 * sunrpc/rpc/pmap_rmt.h: Likewise.
45414 * sunrpc/rpc/rpc.h: Likewise.
45415 * sunrpc/rpc/rpc_des.h: Likewise.
45416 * sunrpc/rpc/rpc_msg.h: Likewise.
45417 * sunrpc/rpc/svc.h: Likewise.
45418 * sunrpc/rpc/svc_auth.h: Likewise.
45419 * sunrpc/rpc/types.h: Likewise.
45420 * sunrpc/rpc/xdr.h: Likewise.
45421 * sunrpc/rpc_clntout.c: Likewise.
45422 * sunrpc/rpc_cmsg.c: Likewise.
45423 * sunrpc/rpc_common.c: Likewise.
45424 * sunrpc/rpc_cout.c: Likewise.
45425 * sunrpc/rpc_dtable.c: Likewise.
45426 * sunrpc/rpc_hout.c: Likewise.
45427 * sunrpc/rpc_main.c: Likewise.
45428 * sunrpc/rpc_parse.c: Likewise.
45429 * sunrpc/rpc_parse.h: Likewise.
45430 * sunrpc/rpc_prot.c: Likewise.
45431 * sunrpc/rpc_sample.c: Likewise.
45432 * sunrpc/rpc_scan.c: Likewise.
45433 * sunrpc/rpc_scan.h: Likewise.
45434 * sunrpc/rpc_svcout.c: Likewise.
45435 * sunrpc/rpc_tblout.c: Likewise.
45436 * sunrpc/rpc_util.c: Likewise.
45437 * sunrpc/rpc_util.h: Likewise.
45438 * sunrpc/rpcinfo.c: Likewise.
45439 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45440 * sunrpc/rpcsvc/key_prot.x: Likewise.
45441 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45442 * sunrpc/rpcsvc/mount.x: Likewise.
45443 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45444 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45445 * sunrpc/rpcsvc/rex.x: Likewise.
45446 * sunrpc/rpcsvc/rstat.x: Likewise.
45447 * sunrpc/rpcsvc/rusers.x: Likewise.
45448 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45449 * sunrpc/rpcsvc/spray.x: Likewise.
45450 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45451 * sunrpc/rtime.c: Likewise.
45452 * sunrpc/svc.c: Likewise.
45453 * sunrpc/svc_auth.c: Likewise.
45454 * sunrpc/svc_authux.c: Likewise.
45455 * sunrpc/svc_raw.c: Likewise.
45456 * sunrpc/svc_run.c: Likewise.
45457 * sunrpc/svc_simple.c: Likewise.
45458 * sunrpc/svc_tcp.c: Likewise.
45459 * sunrpc/svc_udp.c: Likewise.
45460 * sunrpc/svc_unix.c: Likewise.
45461 * sunrpc/svcauth_des.c: Likewise.
45462 * sunrpc/xcrypt.c: Likewise.
45463 * sunrpc/xdr.c: Likewise.
45464 * sunrpc/xdr_array.c: Likewise.
45465 * sunrpc/xdr_float.c: Likewise.
45466 * sunrpc/xdr_mem.c: Likewise.
45467 * sunrpc/xdr_rec.c: Likewise.
45468 * sunrpc/xdr_ref.c: Likewise.
45469 * sunrpc/xdr_sizeof.c: Likewise.
45470 * sunrpc/xdr_stdio.c: Likewise.
45471
45472 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45473 handling.
45474
454752010-08-19 Andreas Schwab <schwab@redhat.com>
45476
45477 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45478
454792010-08-19 Luis Machado <luisgpm@br.ibm.com>
45480
45481 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45482 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45483 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45484 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45485 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45486 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45487 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45488 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45489 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45490 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45491 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45492 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45493 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45494 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45495
454962010-07-26 Anton Blanchard <anton@samba.org>
45497
45498 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45499 * malloc/arena.c (heap_trim): Likewise.
45500
455012010-08-16 Ulrich Drepper <drepper@redhat.com>
45502
45503 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45504 here. Not...
45505 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45506 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45507
455082010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45509
45510 * sysdeps/i386/elf/Makefile: New file.
45511
455122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45513
45514 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45515 from fanotify_init.
45516 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45518
455192010-08-15 Ulrich Drepper <drepper@redhat.com>
45520
45521 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45522 of strncasecmp_l.
45523 * sysdeps/multiarch/strcmp.S: Likewise.
45524
455252010-08-14 Ulrich Drepper <drepper@redhat.com>
45526
45527 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45528 strncase_l-nonascii.
45529 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45530 Add strncase_l-ssse3.
45531 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45532 * sysdeps/x86_64/strcmp.S: Likewise.
45533 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45534 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45535 * sysdeps/x86_64/strncase.S: New file.
45536 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45537 * sysdeps/x86_64/strncase_l.S: New file.
45538 * string/Makefile (strop-tests): Add strncasecmp.
45539 * string/test-strncasecmp.c: New file.
45540
45541 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45542 warning.
45543
45544 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45545 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45546
455472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45548
45549 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45550
455512010-08-12 Ulrich Drepper <drepper@redhat.com>
45552
45553 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45554 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45555 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45556
455572010-05-01 Alan Modra <amodra@gmail.com>
45558
45559 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45560 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45561 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45562 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45563 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45564 tidying. Don't tail-call __sigjmp_save for static lib.
45565 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45566 save location.
45567 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45568 (CALL_MCOUNT): Add eh info, and nop after bl.
45569 (TAIL_CALL_SYSCALL_ERROR): New macro.
45570 (PSEUDO_RET): Use it.
45571 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45572 Correct save location of integer regs and cr.
45573 (_dl_profile_resolve): Correct cr save location. Delete nops
45574 after bl when SHARED. Reduce cfi size a little by better
45575 placement of cfi directives.
45576 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45577 make a stack frame. Instead use parm save area as a temp.
45578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45579 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45581 Don't make a stack frame for parent, use parm save area.
45582 Increase child stack frame to 112 bytes. Don't save unused reg,
45583 and adjust reg usage. Set up cfi on error recovery and
45584 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45586 (__makecontext): Add dummy nop after jump to exit.
45587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45588 Use correct parm save area and cr save, reduce stack frame.
45589 Correct cfi for possible PSEUDO_RET frame setup.
45590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45591 Branch to local label emitted by PSEUDO_RET rather than
45592 __syscall_error.
45593
455942010-08-12 Andreas Schwab <schwab@redhat.com>
45595
45596 [BZ #11904]
45597 * locale/programs/locale.c (print_assignment): New function.
45598 (show_locale_vars): Use it.
45599
456002010-08-11 Ulrich Drepper <drepper@redhat.com>
45601
45602 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45603 field.
45604 (struct statfs64): Likewise.
45605 (_STATFS_F_FLAGS): Define.
45606 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45607 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45608 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45609 (ST_VALID): Define locally.
45610 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45611 __statvfs_getflags, use the provided value.
45612 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45613 __ASSUME_STATFS_F_FLAGS.
45614
45615 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45616
45617 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45618 Add sys/fanotify.h.
45619 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45620 fanotify_mask for GLIBC_2.13.
45621 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45622 fanotify_init and fanotify_mark.
45623 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45624 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45625
45626 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45627 Add prlimit.
45628 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45629 prlimit64 for GLIBC_2.13.
45630 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45631 prlimit64.
45632 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45633 syscall.
45634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45635 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45636 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45637 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45639 add prlimit alias.
45640 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45641
45642 [BZ #11903]
45643 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45644 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45645
45646 * nss/Makefile: Add rules to build and run tst-nss-test1.
45647 * shlib-versions: Add entry for libnss_test1.
45648 * nss/nss_test1.c: New file.
45649 * nss/tst-nss-test1.c: New file.
45650
45651 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45652 (__nss_configure_lookup): Set appropriate entry in
45653 __nss_configure_lookup to true.
45654 * nss/nsswitch.h: Define enum with indeces of databases in
45655 databases and __nss_database_custom arrays. Declare
45656 __nss_database_custom.
45657 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45658 to avoid using nscd when custom rules are installed.
45659 * nss/getXXbyYY_r.c: Likewise.
45660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45661
45662 * nss/nss_files/files-parse.c: Whitespace fixes.
45663
456642010-08-09 Ulrich Drepper <drepper@redhat.com>
45665
45666 [BZ #11883]
45667 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45668 * posix/fnmatch_loop.c: Likewise.
45669
456702010-07-17 Andi Kleen <ak@linux.intel.com>
45671
45672 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45673 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45674 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45675 * Versions.def [GLIBC_2.13]: Add.
45676
456772010-08-06 Ulrich Drepper <drepper@redhat.com>
45678
45679 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45680 Also fail if tpwd after pwuid call is NULL.
45681
456822010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45683
45684 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45685 when converting to ms.
45686
456872010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45688
45689 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45690 EOPNOTSUPP errors with ENOTTY.
45691 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45692 EOPNOTSUPP errors with ENOTTY.
45693
456942010-07-31 Ulrich Drepper <drepper@redhat.com>
45695
45696 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45697 Add strcasecmp_l-ssse3.
45698 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45699 strcasecmp.
45700 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45701 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45702 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45703
457042010-07-30 Ulrich Drepper <drepper@redhat.com>
45705
45706 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45707
45708 * string/Makefile (strop-tests): Add strcasecmp.
45709 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45710 strcasecmp_l-nonascii.
45711 (gen-as-const-headers): Add locale-defines.sym.
45712 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45713 * sysdeps/x86_64/strcasecmp.S: New file.
45714 * sysdeps/x86_64/strcasecmp_l.S: New file.
45715 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45716 * sysdeps/x86_64/locale-defines.sym: New file.
45717 * string/test-strcasecmp.c: New file.
45718
45719 * string/test-strcasestr.c: Test both ends of the range of characters.
45720 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45721
457222010-07-29 Roland McGrath <roland@redhat.com>
45723
45724 [BZ #11856]
45725 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45726
457272010-07-27 Ulrich Drepper <drepper@redhat.com>
45728
45729 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45730 for ld.so.
45731
457322010-07-27 Andreas Schwab <schwab@redhat.com>
45733
45734 * manual/memory.texi (Malloc Tunable Parameters): Document
45735 M_PERTURB.
45736
457372010-07-26 Roland McGrath <roland@redhat.com>
45738
45739 [BZ #11840]
45740 * configure.in (-fgnu89-inline check): Set and substitute
45741 gnu89_inline, not libc_cv_gnu89_inline.
45742 * configure: Regenerated.
45743 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45744
457452010-07-26 Ulrich Drepper <drepper@redhat.com>
45746
45747 * string/test-strnlen.c: New file.
45748 * string/Makefile (strop-tests): Add strnlen.
45749 * string/tester.c (test_strnlen): Add a few more test cases.
45750 * string/tst-strlen.c: Better error reporting.
45751
45752 * sysdeps/x86_64/strnlen.S: New file.
45753
457542010-07-24 Ulrich Drepper <drepper@redhat.com>
45755
45756 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45757 lower-latency instructions.
45758
457592010-07-23 Ulrich Drepper <drepper@redhat.com>
45760
45761 * string/test-strcasestr.c: New file.
45762 * string/test-strstr.c: New file.
45763 * string/Makefile (strop-tests): Add strstr and strcasestr.
45764 * string/str-two-way.h: Don't undefine MAX.
45765 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45766
457672010-07-21 Andreas Schwab <schwab@redhat.com>
45768
45769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45770 strcasestr-nonascii.
45771 (CFLAGS-strcasestr-nonascii.c): Define.
45772 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45773 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45774 Remove unused attribute.
45775
457762010-07-20 Roland McGrath <roland@redhat.com>
45777
45778 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45779 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45780 ld.so.cache was broken. With it, there is no way to disable dsocaps
45781 like LD_HWCAP_MASK can disable hwcaps.
45782
457832010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45784
45785 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45786
457872010-07-16 Ulrich Drepper <drepper@redhat.com>
45788
45789 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45790 call in strcasestr.
45791 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45792 __strcasestr_sse42_nonascii.
45793 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45794 strcasestr-nonascii.c.
45795 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45796
457972010-06-15 Luis Machado <luisgpm@br.ibm.com>
45798
45799 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45800 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45801 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45802 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45803
458042010-07-09 Ulrich Drepper <drepper@redhat.com>
45805
45806 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45807 fcntl.
45808
458092010-07-06 Andreas Schwab <schwab@redhat.com>
45810
45811 [BZ #11577]
45812 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45813 dl_signal_cerror.
45814
458152010-07-06 Ulrich Drepper <drepper@redhat.com>
45816
45817 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45818 _PC_PIPE_BUF using F_GETPIPE_SZ.
45819
458202010-07-05 Roland McGrath <roland@redhat.com>
45821
45822 * manual/arith.texi (Rounding Functions): Fix rint description
45823 implicit in round description.
45824
458252010-07-02 Ulrich Drepper <drepper@redhat.com>
45826
45827 * elf/Makefile: Fix linking for a few tests to make recent linker
45828 happy.
45829
458302010-06-30 Andreas Schwab <schwab@redhat.com>
45831
45832 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45833 $(common-objpfx)libc_nonshared.a.
45834
458352010-06-21 Luis Machado <luisgpm@br.ibm.com>
45836
45837 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45838 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45839 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45840 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45841 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45842 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45843 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45844 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45859 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45860 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45861 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45862 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45863 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45864 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45865 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45866 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45867 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45868 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45869 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45870 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45885
458862010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45887
45888 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45889 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45890 * string/memmove.c (memmove): Renamed to ...
45891 (MEMMOVE): ...this. Default to memmove.
45892 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45893 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45894 (END_CHK): Define.
45895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45896 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45897 mempcpy-ssse3-back memmove-ssse3-back.
45898 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45899 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45900 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45901 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45902 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45903 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45904 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45905 * sysdeps/x86_64/multiarch/memmove.c: New file.
45906 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45907 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45908 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45909 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45910 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45911 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45912 Define.
45913 (index_Fast_Copy_Backward): Define.
45914 (HAS_ARCH_FEATURE): Define.
45915 (HAS_FAST_REP_STRING): Define.
45916 (HAS_FAST_COPY_BACKWARD): Define.
45917
459182010-06-21 Andreas Schwab <schwab@redhat.com>
45919
45920 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45921 Restore proper fallback handling.
45922
459232010-06-19 Ulrich Drepper <drepper@redhat.com>
45924
45925 [BZ #11701]
45926 * posix/group_member.c (__group_member): Correct checking loop.
45927
45928 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45929 OOM in getpwuid_r correctly. Return error number when the caller
45930 should return, otherwise -1.
45931 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45932 call returning > 0 value.
45933 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45934
459352010-06-07 Andreas Schwab <schwab@redhat.com>
45936
45937 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45938 libc_nonshared.a from targets in modules-names.
45939
459402010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45941
45942 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45943 requires it.
45944
459452010-06-10 Luis Machado <luisgpm@br.ibm.com>
45946
45947 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45948 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45949 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45950 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45951
459522010-06-02 Andreas Schwab <schwab@redhat.com>
45953
45954 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45955
459562010-06-14 Ulrich Drepper <drepper@redhat.com>
45957
45958 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45959 and F_GETPIPE_SZ.
45960 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45961 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45964 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45965 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45966
459672010-06-14 Roland McGrath <roland@redhat.com>
45968
45969 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45970
459712010-06-07 Jakub Jelinek <jakub@redhat.com>
45972
45973 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45974 __REDIRECT followed by __THROW.
45975 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45976 * posix/getopt.h (getopt): Likewise.
45977
459782010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45979
45980 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45981 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45982 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45983 in AT_FLAGS.
45984 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45985 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45986
459872010-05-28 Luis Machado <luisgpm@br.ibm.com>
45988
45989 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45990
459912010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45992
45993 [BZ #11640]
45994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45995 Properly check family and model.
45996
459972010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45998
45999 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46000
460012010-05-24 Luis Machado <luisgpm@br.ibm.com>
46002
46003 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46004
460052010-05-21 Ulrich Drepper <drepper@redhat.com>
46006
46007 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46008 symbol reference.
46009
460102010-05-19 Andreas Schwab <schwab@redhat.com>
46011
46012 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46013 symbol reference.
46014
460152010-05-21 Andreas Schwab <schwab@redhat.com>
46016
46017 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46018 and internal_recvmmsg.
46019 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46020 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46021 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46022 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46023
46024 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46025 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46026 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46027
460282010-05-20 Andreas Schwab <schwab@redhat.com>
46029
46030 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46031
460322010-05-17 Luis Machado <luisgpm@br.ibm.com>
46033
46034 POWER7 optimizations.
46035 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46036 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46037
460382010-05-19 Ulrich Drepper <drepper@redhat.com>
46039
46040 * version.h: Update for 2.13 development version.
46041
460422010-05-12 Andrew Stubbs <ams@codesourcery.com>
46043
46044 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46045 exceptions. Return 0.
46046
460472010-05-07 Roland McGrath <roland@redhat.com>
46048
46049 * elf/ldconfig.c (main): Add a const.
46050
460512010-05-06 Ulrich Drepper <drepper@redhat.com>
46052
46053 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46054 (args_options): Add no-idn option.
46055 (ahosts_keys_int): Add idn_flags to ai_flags.
46056 (parse_option): Handle 'i' option to clear idn_flags.
46057
46058 * malloc/malloc.c (_int_free): Possible race in the most recently
46059 added check. Only act on the data if no current modification
46060 happened.
46061
46062See ChangeLog.17 for earlier changes.