]> sourceware.org Git - glibc.git/blame - ChangeLog
Move SPARC code out of nptl/sysdeps/sparc/.
[glibc.git] / ChangeLog
CommitLineData
45262aee
RM
12014-06-12 Roland McGrath <roland@hack.frob.com>
2
e2682246
RM
3 * nptl/sysdeps/sparc/Makefile: Moved ...
4 * sysdeps/sparc/nptl/Makefile: ... here.
5 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7 * nptl/sysdeps/sparc/tls.h: Moved ...
8 * sysdeps/sparc/nptl/tls.h: ... here.
9 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
21 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
22 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
23 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
24 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27 Update #include.
28 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30 Update #include.
31 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33 Update #include.
34 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
36 Update #include.
37
b0725f43
RM
38 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39
b14368b8
RM
40 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
42
c5620eb3
RM
43 * sysdeps/pthread/posix-timer.h: Include <list.h>.
44 (struct list_links): Type removed.
45 (struct thread_node, struct timer_node): Replace struct list_links
46 with struct list_head.
47 (list_unlink_ip): Likewise.
48 * sysdeps/pthread/timer_routines.c
49 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50 (list_append, list_insbefore): Likewise.
51 (list_init): Function removed.
52 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
53 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
54 * sysdeps/pthread/Makefile: ... here, new file.
55
56 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
57 * sysdeps/nptl/Implies: ... here.
58 * sysdeps/unix/sysv/linux/Implies: Add nptl.
59 * nptl/sysdeps/pthread/list.h: Moved ...
60 * include/list.h: ... here.
61 * nptl/sysdeps/pthread/createthread.c: Moved ...
62 * nptl/createthread.c: ... here.
63 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
64 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
65 * nptl/pt-longjmp.c: ... here.
66 * nptl/sysdeps/pthread/Makefile: Moved ...
67 * sysdeps/nptl/Makefile: ... here.
68 * nptl/sysdeps/pthread/Subdirs: Moved ...
69 * sysdeps/nptl/Subdirs: ... here.
70 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
71 * sysdeps/nptl/aio_misc.h: ... here.
72 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
73 * sysdeps/nptl/bits/libc-lock.h: ... here.
74 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
75 * sysdeps/nptl/bits/libc-lockP.h: ... here.
76 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
77 * sysdeps/nptl/bits/stdio-lock.h: ... here.
78 * nptl/sysdeps/pthread/configure: Moved ...
79 * sysdeps/nptl/configure: ... here.
80 * nptl/sysdeps/pthread/configure.ac: Moved ...
81 * sysdeps/nptl/configure.ac: ... here.
82 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
83 * sysdeps/nptl/gai_misc.h: ... here.
84 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
85 * sysdeps/nptl/librt-cancellation.c: ... here.
86 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
87 * sysdeps/nptl/malloc-machine.h: ... here.
88 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
89 * sysdeps/nptl/pthread-functions.h: ... here.
90 * nptl/sysdeps/pthread/pthread.h: Moved ...
91 * sysdeps/nptl/pthread.h: ... here.
92 * nptl/sysdeps/pthread/setxid.h: Moved ...
93 * sysdeps/nptl/setxid.h: ... here.
94 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
95 * sysdeps/nptl/sigfillset.c: ... here.
96 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
97 * sysdeps/nptl/tcb-offsets.h: ... here.
98 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
99 * sysdeps/nptl/tst-mqueue8x.c: ... here.
100 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
101 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
102 * nptl/sysdeps/pthread/allocalim.h: Moved ...
103 * sysdeps/pthread/allocalim.h: ... here.
104 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
105 * sysdeps/pthread/bits/sigthread.h: ... here.
106 * nptl/sysdeps/pthread/flockfile.c: Moved ...
107 * sysdeps/pthread/flockfile.c: ... here.
108 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
109 * sysdeps/pthread/ftrylockfile.c: ... here.
110 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
111 * sysdeps/pthread/funlockfile.c: ... here.
112 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
113 * sysdeps/pthread/posix-timer.h: ... here.
114 * nptl/sysdeps/pthread/timer_create.c: Moved ...
115 * sysdeps/pthread/timer_create.c: ... here.
116 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
117 * sysdeps/pthread/timer_delete.c: ... here.
118 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
119 * sysdeps/pthread/timer_getoverr.c: ... here.
120 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
121 * sysdeps/pthread/timer_gettime.c: ... here.
122 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
123 * sysdeps/pthread/timer_routines.c: ... here.
124 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
125 * sysdeps/pthread/timer_settime.c: ... here.
126 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
127 * sysdeps/pthread/tst-timer.c: ... here.
128 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
129 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
130
e876b090
RM
131 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
132 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
133
f6b07b3d
RM
134 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
135 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
136 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
137 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
138 Update #include target.
139 * nptl/sysdeps/i386/i686/Makefile: Moved ...
140 * sysdeps/i386/i686/nptl/Makefile: ... here.
141 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
142 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
143 Update #include target.
144 * nptl/sysdeps/i386/i686/tls.h: Moved ...
145 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
146 * nptl/sysdeps/i386/Makefile: Moved ...
147 * sysdeps/i386/nptl/Makefile: ... here.
148 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
149 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
150 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
151 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
152 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
153 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
154 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
155 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
156 * sysdeps/i386/nptl/pthreaddef.h: ... here.
157 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
158 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
159 * nptl/sysdeps/i386/tls.h: Moved ...
160 * sysdeps/i386/nptl/tls.h: ... here.
161
45262aee
RM
162 * sysdeps/sh/Makefile [$(subdir) = csu]
163 (gen-as-const-headers): Add tcb-offsets.sym.
164 * nptl/sysdeps/sh/Makefile: File removed.
165 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
166 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
167 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
168 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
169 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
170 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
171 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
172 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
173 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
174 * sysdeps/sh/nptl/pthreaddef.h: ... here.
175 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
176 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
177 * nptl/sysdeps/sh/tls.h: Moved ...
178 * sysdeps/sh/nptl/tls.h: ... here.
179 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
180 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
181 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
182 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
183 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
184 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
185 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
186 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
187 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
188 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
189 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
190 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
191 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
192 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
193 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
194 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
195 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
196 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
197 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
198 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
199 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
200 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
201 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
202 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
203 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
204 Moved ...
205 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
206 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
207 Moved ...
208 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
209 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
210 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
211 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
212 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
213 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
214 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
215 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
216 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
217 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
218 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
219 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
220 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
221 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
222 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
223 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
224 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
225 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
226 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
227
35a5e3e3
SL
2282014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
229
230 * posix/spawn_faction_addopen.c: Include string.h.
231
14642b85
RM
2322014-06-11 Roland McGrath <roland@hack.frob.com>
233
234 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
235 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
236 * nptl/sysdeps/x86_64/Makefile: Moved ...
237 * sysdeps/x86_64/nptl/Makefile: ... here.
238 * nptl/sysdeps/x86_64/configure: Moved ...
239 * sysdeps/x86_64/nptl/configure: ... here.
240 * nptl/sysdeps/x86_64/configure.ac: Moved ...
241 * sysdeps/x86_64/nptl/configure.ac: ... here.
242 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
243 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
244 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
245 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
246 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
247 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
248 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
249 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
250 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
251 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
252 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
253 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
254 * nptl/sysdeps/x86_64/tls.h: Moved ...
255 * sysdeps/x86_64/nptl/tls.h: ... here.
256 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
257 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
258 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
259 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
260
261 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
262
31c44fea
AZ
2632014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
264
265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
266
e81a4f9a
JM
2672014-06-11 Joseph Myers <joseph@codesourcery.com>
268
269 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
270 type.
271 [POSIX] (off_t): Likewise.
272 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
273 [POSIX] (S_ISBLK): Require macro.
274 [POSIX] (S_ISCHR): Likewise.
275 [POSIX] (S_ISDIR): Likewise.
276 [POSIX] (S_ISFIFO): Likewise.
277 [POSIX] (S_ISREG): Likewise.
278 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
279 optional-macro.
280 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
281 type.
282 [POSIX] (time_t): Likewise.
283 [POSIX] (timer_t): Likewise.
284
89e435f3
FW
2852014-06-11 Florian Weimer <fweimer@redhat.com>
286
287 [BZ #17048]
288 * posix/spawn_int.h (struct __spawn_action): Make the path string
289 non-const to support deallocation.
290 * posix/spawn_faction_addopen.c
291 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
292 * posix/spawn_faction_destroy.c
293 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
294 path in all spawn_do_open actions.
295 * posix/tst-spawn.c (do_test): Exercise the copy operation in
296 posix_spawn_file_actions_addopen.
297
c3a2ebe1
CM
2982014-06-11 Chris Metcalf <cmetcalf@tilera.com>
299
300 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
301 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
302 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
303 conditional code always true.
304 (__libc_vfork): New alias.
305
9503784a
RM
3062014-06-11 Roland McGrath <roland@hack.frob.com>
307
c9cab3d2
RM
308 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
309 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
310
d3996c79
RM
311 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
312
ba5ec611
RM
313 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
314 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
315
f12b4814
RM
316 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
317 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
318
9503784a
RM
319 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
320 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
321
e23d3d26
VR
3222014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
323
324 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
325 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
326 multiarch strcmp for PPC64.
327 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
328 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
330 multiarch optimizations.
331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
332 (__libc_ifunc_impl_list): Likewise.
333
42b1161e
SP
3342014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
335
336 * benchtests/scripts/validate_benchout.py: New script.
337 * benchtests/Makefile (bench-func): Call it.
338 * benchtests/scripts/benchout.schema.json: New file.
339
2d0fc4dc
CM
3402014-06-10 Chris Metcalf <cmetcalf@tilera.com>
341
4a594c34
AZ
342 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
343 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
344 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
345 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
346 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
347 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
348 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
349 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
350 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
351 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
352 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
353 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
354 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
355 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
356 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
357 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 359 Moved ...
4a594c34 360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 361 ... here.
4a594c34 362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 363 Moved ...
4a594c34
AZ
364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 366 Moved ...
4a594c34 367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 368 ... here.
4a594c34 369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 370 Moved ...
4a594c34 371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 372 ... here.
4a594c34 373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 374 Moved ...
4a594c34
AZ
375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 377 Moved ...
4a594c34 378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 379 ... here.
4a594c34 380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 381 Moved ...
4a594c34 382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 383 ... here.
4a594c34 384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 385 Moved ...
4a594c34
AZ
386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 388 Moved ...
4a594c34 389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 390 ... here.
4a594c34 391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 392 Moved ...
4a594c34 393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 394 ... here.
4a594c34 395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 396 Moved ...
4a594c34 397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 398 ... here.
4a594c34 399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 400 Moved ...
4a594c34
AZ
401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 403 Moved ...
4a594c34 404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 405 ... here.
4a594c34 406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 407 Moved ...
4a594c34 408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 409 ... here.
4a594c34 410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 411 Moved ...
4a594c34 412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 413 ... here.
4a594c34 414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 415 Moved ...
4a594c34
AZ
416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 418 Moved ...
4a594c34 419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 420 ... here.
4a594c34 421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 422 Moved ...
4a594c34 423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 424 ... here.
4a594c34 425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 426 Moved ...
4a594c34
AZ
427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 429 Moved ...
4a594c34 430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 431 ... here.
4a594c34 432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 433 Moved ...
4a594c34
AZ
434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 436 Moved ...
4a594c34
AZ
437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 439 Moved ...
4a594c34 440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 441 ... here.
4a594c34 442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 443 Moved ...
4a594c34 444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 445 ... here.
4a594c34 446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 447 Moved ...
4a594c34 448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 449 ... here.
4a594c34 450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 451 Moved ...
4a594c34
AZ
452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 454 Moved ...
4a594c34 455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 456 ... here.
4a594c34 457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 458 Moved ...
4a594c34 459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 460 ... here.
4a594c34
AZ
461 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
462 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
463 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
464 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
465 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 466 Moved ...
4a594c34 467 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 468 ... here.
4a594c34
AZ
469 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
470 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
471 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
472 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
473 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
475 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
476 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
477 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
478 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
479 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
480 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
481 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 482 Moved ...
4a594c34
AZ
483 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
484 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 485 Moved ...
4a594c34
AZ
486 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
487 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
488 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
489 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 490 Moved ...
4a594c34
AZ
491 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
492 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
493 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
494 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
495 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
496 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
497 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 498
0570cfed
W
4992014-06-10 Wilco <wdijkstr@arm.com>
500
501 * math/test-fenv-return.c: New file.
502 * math/Makefile: Add new test test-fenv-return.
503
f8ba1b56
JM
5042014-06-10 Joseph Myers <joseph@codesourcery.com>
505
506 [BZ #17042]
507 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
508 when x - 1 is zero.
509 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
510 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
511 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
512 0.0L for an argument of 1.0L.
513 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
514 Likewise.
515 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
516 value when x - 1 is zero.
517 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
518 * sysdeps/i386/fpu/libm-test-ulps: Update.
519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
520
2c3520d9
BO
5212014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
522
523 [BZ #15119]
524 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
525
acaa4d24
RM
5262014-06-09 Roland McGrath <roland@hack.frob.com>
527
528 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
529 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
530
962b744d
RM
5312014-06-09 Roland McGrath <roland@hack.frob.com>
532
d752f0cc
RM
533 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
534 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
535
34eda6d1
RM
536 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
537 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
538
50f0a637
RM
539 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
540 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
541
08f41f04
RM
542 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
543 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
544
962b744d
RM
545 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
546 if not already defined.
547 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
548 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
549 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
550 (TLS_INIT_TP): Use it.
551 (TLS_DEFINE_INIT_TP): New macro.
552 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
553
09f19b05
JM
5542014-06-09 Joseph Myers <joseph@codesourcery.com>
555
556 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
557 constant.
558 [POSIX] (IXANY): Likewise.
559 [POSIX] (OLCUC): Likewise.
560 [POSIX || POSIX2008] (CBAUD): Do not allow.
561 [POSIX || POSIX2008] (DEFECHO): Likewise.
562 [POSIX || POSIX2008] (ECHOCTL): Likewise.
563 [POSIX || POSIX2008] (ECHOKE): Likewise.
564 [POSIX || POSIX2008] (ECHOPRT): Likewise.
565 [POSIX || POSIX2008] (EXTA): Likewise.
566 [POSIX || POSIX2008] (EXTB): Likewise.
567 [POSIX || POSIX2008] (FLUSHO): Likewise.
568 [POSIX || POSIX2008] (LOBLK): Likewise.
569 [POSIX || POSIX2008] (PENDIN): Likewise.
570 [POSIX || POSIX2008] (SWTCH): Likewise.
571 [POSIX || POSIX2008] (VDISCARD): Likewise.
572 [POSIX || POSIX2008] (VDSUSP): Likewise.
573 [POSIX || POSIX2008] (VLNEXT): Likewise.
574 [POSIX || POSIX2008] (VREPRINT): Likewise.
575 [POSIX || POSIX2008] (VSTATUS): Likewise.
576 [POSIX || POSIX2008] (VWERASE): Likewise.
577 (B*): Change to B[0123456789]*.
578 * conform/data/time.h-data [POSIX || UNIX98]
579 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
580 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
581 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
582 [POSIX] (tm_*): Do not allow.
583
686554bf
JM
5842014-06-07 Joseph Myers <joseph@codesourcery.com>
585
586 * Makefile (install): Don't set LANGUAGE.
587 * Makefile.in (install): Likewise.
588 * assert/Makefile (test-assert-ENV): Remove variable.
589 (test-assert-perr-ENV): Likewise.
590 * elf/Makefile (neededtest4-ENV): Likewise.
591 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
592 [$(cross-compiling) = no]: Don't set LANGUAGE.
593 * io/ftwtest-sh (LANG): Remove variable.
594 * libio/Makefile (tst-widetext-ENV): Likewise.
595 * manual/install.texi (Running make install): Don't refer to
596 environment settings for make install.
597 * INSTALL: Regenerated.
598 * nptl/tst-tls6.sh: Don't set LANG.
599 * posix/globtest.sh (LANG): Remove variable.
600 * string/Makefile (tester-ENV): Likewise.
601 (inl-tester-ENV): Likewise.
602 (noinl-tester-ENV): Likewise.
603 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
604 [$(cross-compiling) = no]: Don't set LANGUAGE.
605 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
606 without explicit environment settings.
607
68e6b6b1
RM
6082014-06-06 Roland McGrath <roland@hack.frob.com>
609
610 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
611 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
612 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
613 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
614
4d3ae034
CM
6152014-06-06 Chris Metcalf <cmetcalf@tilera.com>
616
617 * crypt/crypt-private.h [DOS]: Add some includes taken from the
618 other files in the crypt directory.
619 * crypt/crypt.c: Remove duplicate includes.
620 * crypt/crypt-entry.c: Likewise.
621 * crypt/crypt_util.c: Likewise.
622
8540f6d2
JM
6232014-06-06 Joseph Myers <joseph@codesourcery.com>
624
625 * Makeconfig (run-program-env): New variable.
626 (run-program-prefix-before-env): Likewise.
627 (run-program-prefix-after-env): Likewise.
628 (run-program-prefix): Define in terms of new variables.
629 (built-program-cmd-before-env): New variable.
630 (built-program-cmd-after-env): Likewise.
631 (built-program-cmd): Define in terms of new variables.
632 (test-program-prefix-before-env): New variable.
633 (test-program-prefix-after-env): Likewise.
634 (test-program-prefix): Define in terms of new variables.
635 (test-program-cmd-before-env): New variable.
636 (test-program-cmd-after-env): Likewise.
637 (test-program-cmd): Define in terms of new variables.
638 * Rules (make-test-out): Use $(run-program-env).
639 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
640 (help): Do not mention environment variables. Mention
641 --timeoutfactor option.
642 (timeoutfactor): New variable.
643 (blacklist_exports): Remove function.
644 (exports): Remove variable.
645 (command): Do not include ${exports}.
646 * manual/install.texi (Configuring and compiling): Do not mention
647 test wrappers preserving environment variables. Mention that last
648 assignment to a variable must take precedence.
649 * INSTALL: Regenerated.
650 * benchtests/Makefile (run-bench): Use $(run-program-env).
651 * catgets/Makefile ($(objpfx)test1.cat): Use
652 $(built-program-cmd-before-env), $(run-program-env) and
653 $(built-program-cmd-after-env).
654 ($(objpfx)test2.cat): Do not specify environment variables
655 explicitly.
656 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
657 $(run-program-env) and $(built-program-cmd-after-env).
658 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
659 $(run-program-env) and $(test-program-cmd-after-env).
660 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
661 explicitly.
662 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
663 run_program_env and test_program_cmd_after_env arguments.
664 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
665 * elf/tst-pathopt.sh: Use run_program_env argument.
666 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
667 $(test-wrapper-env) and $(run-program-env).
668 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
669 run_program_env arguments.
670 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
671 * intl/Makefile ($(objpfx)tst-gettext.out): Use
672 $(test-program-prefix-before-env), $(run-program-env) and
673 $(test-program-prefix-after-env).
674 ($(objpfx)tst-gettext2.out): Likewise.
675 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
676 run_program_env and test_program_prefix_after_env arguments.
677 * intl/tst-gettext2.sh: Likewise.
678 * intl/tst-gettext4.sh: Do not set environment variables
679 explicitly.
680 * intl/tst-gettext6.sh: Likewise.
681 * intl/tst-translit.sh: Likewise.
682 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
683 $(test-program-prefix-before-env), $(run-program-env) and
684 $(test-program-prefix-after-env).
685 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
686 run_program_env and test_program_prefix_after_env arguments.
687 * math/Makefile (run-regen-ulps): Use $(run-program-env).
688 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
689 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
690 explicitly with each use of ${test_wrapper_env}.
691 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
692 $(test-program-prefix-before-env), $(run-program-env) and
693 $(test-program-prefix-after-env).
694 * posix/tst-getconf.sh: Do not set environment variables
695 explicitly.
696 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
697 run_program_env and test_program_prefix_after_env arguments.
698 * stdio-common/tst-printf.sh: Do not set environment variables
699 explicitly.
700 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
701 $(test-program-prefix-before-env), $(run-program-env) and
702 $(test-program-prefix-after-env).
703 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
704 run_program_env and test_program_prefix_after_env arguments.
705 Split $test calls into $test_pre and $test.
706 * timezone/Makefile (build-testdata): Use
707 $(built-program-cmd-before-env), $(run-program-env) and
708 $(built-program-cmd-after-env).
709
ed36bfa1
AZ
7102014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
711
712 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
713 strlen for non SHARED builds.
714
fc75bf46
SP
7152014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
716
717 * nptl/allocatestack.c (check_list): Inlined function...
718 (__reclaim_stacks): ... here.
719
d89b3d80
OB
7202014-06-05 Ondřej Bílka <neleai@seznam.cz>
721
722 [BZ #15698]
723 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
724 memory overrun.
725
2bf18041
JM
7262014-06-05 Joseph Myers <joseph@codesourcery.com>
727
728 * Rules (make-test-out): Include
729 LOCPATH=$(common-objpfx)localedata in default environment.
730 * debug/Makefile (tst-chk1-ENV): Remove variable.
731 (tst-chk2-ENV): Likewise.
732 (tst-chk3-ENV): Likewise.
733 (tst-chk4-ENV): Likewise.
734 (tst-chk5-ENV): Likewise.
735 (tst-chk6-ENV): Likewise.
736 (tst-lfschk1-ENV): Likewise.
737 (tst-lfschk2-ENV): Likewise.
738 (tst-lfschk3-ENV): Likewise.
739 (tst-lfschk4-ENV): Likewise.
740 (tst-lfschk5-ENV): Likewise.
741 (tst-lfschk6-ENV): Likewise.
742 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
743 (tst-iconv7-ENV): Likewise.
744 * intl/Makefile (LOCPATH-ENV): Likewise.
745 (tst-codeset-ENV): Likewise.
746 (tst-gettext3-ENV): Likewise.
747 (tst-gettext5-ENV): Likewise.
748 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
749 (tst-fopenloc-ENV): Likewise.
750 (tst-fgetws-ENV): Remove variable.
751 (tst-ungetwc1-ENV): Likewise.
752 (tst-ungetwc2-ENV): Likewise.
753 (bug-ungetwc2-ENV): Likewise.
754 (tst-swscanf-ENV): Likewise.
755 (bug-ftell-ENV): Likewise.
756 (tst-fgetwc-ENV): Likewise.
757 (tst-fseek-ENV): Likewise.
758 (tst-ftell-partial-wide-ENV): Likewise.
759 (tst-ftell-active-handler-ENV): Likewise.
760 (tst-ftell-append-ENV): Likewise.
761 * posix/Makefile (tst-fnmatch-ENV): Likewise.
762 (tst-regexloc-ENV): Likewise.
763 (bug-regex1-ENV): Likewise.
764 (tst-regex-ENV): Likewise.
765 (tst-regex2-ENV): Likewise.
766 (bug-regex5-ENV): Likewise.
767 (bug-regex6-ENV): Likewise.
768 (bug-regex17-ENV): Likewise.
769 (bug-regex18-ENV): Likewise.
770 (bug-regex19-ENV): Likewise.
771 (bug-regex20-ENV): Likewise.
772 (bug-regex22-ENV): Likewise.
773 (bug-regex23-ENV): Likewise.
774 (bug-regex25-ENV): Likewise.
775 (bug-regex26-ENV): Likewise.
776 (bug-regex30-ENV): Likewise.
777 (bug-regex32-ENV): Likewise.
778 (bug-regex33-ENV): Likewise.
779 (bug-regex34-ENV): Likewise.
780 (bug-regex35-ENV): Likewise.
781 (tst-rxspencer-ENV): Likewise.
782 (tst-rxspencer-no-utf8-ENV): Likewise.
783 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
784 (tst-sscanf-ENV): Likewise.
785 (tst-swprintf-ENV): Likewise.
786 (tst-swscanf-ENV): Likewise.
787 (test-vfprintf-ENV): Likewise.
788 (scanf13-ENV): Likewise.
789 (bug14-ENV): Likewise.
790 (tst-grouping-ENV): Likewise.
791 * stdlib/Makefile (tst-strtod-ENV): Likewise.
792 (tst-strtod3-ENV): Likewise.
793 (tst-strtod4-ENV): Likewise.
794 (tst-strtod5-ENV): Likewise.
795 (testmb2-ENV): Likewise./
796 * string/Makefile (tst-strxfrm-ENV): Likewise.
797 (tst-strxfrm2-ENV): Likewise.
798 (bug-strcoll1-ENV): Likewise.
799 (test-strcasecmp-ENV): Likewise.
800 (test-strncasecmp-ENV): Likewise.
801 * time/Makefile (tst-strptime-ENV): Likewise.
802 (tst-ftime_l-ENV): Likewise.
803 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
804 (tst-mbrtowc-ENV): Likewise.
805 (tst-wcrtomb-ENV): Likewise.
806 (tst-mbrtowc2-ENV): Likewise.
807 (tst-c16c32-1-ENV): Likewise.
808 (tst-mbsnrtowcs-ENV): Likewise.
809
cd1fb604
OB
8102014-06-05 Ondřej Bílka <neleai@seznam.cz>
811
812 * manual/resource.texi (How to get information about the memory
813 subsystem?): Fix typo.
814 Reported by Peon de la Parra Ivan <peon@keba.com>
815
b42eca7d
GY
8162014-06-03 Guo Yixuan <culu.gyx@gmail.com>
817
818 [BZ #16882]
819 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
820 (pthread_spin_lock): Branch out of spin loop to proper location.
821 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
822 (pthread_spin_lock): Likewise.
823
902b71f9
DM
824 * nptl/tst-spin4.c: New test.
825 * nptl/Makefile (tests): Add tst-spin4.
826
f9d2d032
AS
8272014-06-03 Andreas Schwab <schwab@suse.de>
828
829 [BZ #15946]
830 * resolv/res_send.c (send_dg): Reload file descriptor after
831 calling reopen.
832
cf7bfd28
SL
8332014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
834
835 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
836
111cc714
RH
8372014-06-03 Richard Henderson <rth@redhat.com>
838
89b4bd6b
RH
839 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
840 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
841 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
842 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
843 in the SAVE_PID block.
844 (__libc_vfork): New alias.
71840409 845 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 846
111cc714
RH
847 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
848 child in registers, not on the stack. Remove RESET_PID conditionals.
849 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
850
ccc39911
MS
8512014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
852
853 * sysdeps/aarch64/libm-test-ulps: Regenerate.
854
693096cc
W
8552014-06-03 Wilco <wdijkstr@arm.com>
856
857 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
858 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
859 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
860 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
861 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
862 Likewise.
863
0b4366bc
W
8642014-06-03 Wilco <wdijkstr@arm.com>
865
866 * sysdeps/aarch64/fpu/math_private.h
867 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
868 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
869 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
870 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
871 Fix declarations.
872
8747cd03
KS
8732014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
874
875 * crypt/crypt-private.h: Include ufc-crypt.h.
876 (__b64_from_24bit): Declare extern.
877 * crypt/crypt_util.c(__b64_from_24bit): New function.
878 (b64t): New static const variable.
879 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
880 (b64t): Remove variable.
881 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
882 * crypt/sha256-crypt.c: Include crypt-private.h.
883 (b64t): Remove variable.
884 (__sha256_crypt_r): Remove b64_from_24bit and replace
885 with __b64_from_24bit.
886 * crypt/sha512-crypt.c: Likewise.
887
d936d379
RM
8882014-06-02 Roland McGrath <roland@hack.frob.com>
889
890 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
891 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
892 Label the code __libc_vfork rather than __vfork.
893 [!NOT_IN_libc] (vfork): Define as weak alias.
894 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
895 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
896 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
897
9fa76613
SP
8982014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
899
900 * malloc/malloc.c (malloc_info): Fix format specifier for
901 n_mmaps.
902
a88dadbe
W
9032014-06-02 Wilco <wdijkstr@arm.com>
904
905 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
906 FPCR write.
907
c95b3011
W
9082014-06-02 Wilco <wdijkstr@arm.com>
909
910 [BZ #17009]
911 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
912 Rewrite to reduce FPCR/FPSR accesses.
913
6b4d7a90
DM
9142014-06-01 David S. Miller <davem@davemloft.net>
915
916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
917
30f3d07c
DM
9182014-05-31 David S. Miller <davem@davemloft.net>
919
920 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
921 to occur in round to nearest mode when |x| >= 2.0
922
74f31c18
RH
9232014-05-30 Richard Henderson <rth@twiddle.net>
924
f0712b54
RH
925 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
926 (PSEUDO_RET_NOERRNO): Remove.
927 (ret): Don't redefine.
928 (ret_NOERRNO): Define in terms of ret.
929 (ret_ERRVAL): Likewise.
930
74f31c18
RH
931 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
932 use of PSEUDO_RET; perform the error check directly.
933
30477995
MM
9342014-05-30 Marko Myllynen <myllynen@redhat.com>
935
936 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
937 with __int128_t.
938
62a58816
SP
9392014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
940
941 * malloc/malloc (malloc_info): Fix formatting.
942
4d653a59
SP
9432014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
944 Roland McGrath <roland@hack.frob.com>
945
946 * malloc/malloc (malloc_info): Also print mmapped statistics.
947
5190c17f
RM
9482014-05-30 Roland McGrath <roland@hack.frob.com>
949
950 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
951 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
952
987c0269
OB
9532014-05-30 Ondřej Bílka <neleai@seznam.cz>
954
955 * malloc/malloc.c (malloc_info): Inline mi_arena.
956
af4e8ef9
RH
9572014-05-29 Richard Henderson <rth@twiddle.net>
958
1670e207
RH
959 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
960 Remove comma before expanding ASM_ARGS_##nr.
961 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
962 Make _x0 a strict output; make _x8 a strict input; adjust expansion
963 of ASM_ARGS_##nr.
964 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
965 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
966 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
967 (ASM_ARGS_1): Add leading comma.
968
11a28aee
RH
969 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
970 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
971 to __errno_location.
972 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
973 Remove the expected plt for __errno_location.
974
a17e5ffb 975 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 976 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
977 call to __read_tp.
978
b5be4597
RH
979 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
980 Always allocate 64 bytes of stack frame. Use ldp/stp to create
981 it and break it down.
982 (DOCARGS_0, DOCARGS_1): Do nothing.
983 (DOCARGS_2): Update to store into the new stack frame.
984 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
985 (UNDOCARGS_1): Update to restore from the new stack frame.
986 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
987 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
988
645d44ab
RH
989 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
990 (SINGLE_THREAD_P): New parameter for result regno.
991 (PSEUDO): Update to match; use cbz instead of beq.
992
a8b4f04a
RH
993 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
994 Use ENTRY to define the _nocancel entry point. Share the syscall
995 and syscall error check paths with the cancel path.
996 (PSEUDO_END): New.
997
af4e8ef9
RH
998 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
999 whitespace; tabs before and after asm mnemonics.
1000
26b0d2e1
EW
10012014-05-29 Eric Wong <normalperson@yhbt.net>
1002
1003 [BZ #15132]
1004 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1005 Call fstat64 or stat64 internally, depending on arguments passed.
1006 Replace stat buffer argument with file descriptor argument.
1007 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1008 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1009 Pass fd to __internal_statvfs instead of calling fstat64.
1010 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1011 Pass fd to __internal_statvfs64 instead of calling fstat64.
1012 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1013 Pass -1 to __internal_statvfs instead of calling stat64.
1014 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1015 Pass -1 to __internal_statvfs64 instead of calling stat64.
1016
1efe2bd9
RM
10172014-05-28 Roland McGrath <roland@hack.frob.com>
1018
0d3b7a19
RM
1019 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1020 that was previously under [RESET_PID].
1021 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1022
1efe2bd9
RM
1023 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1024 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1025
a6bea3ca
RM
10262014-05-27 Roland McGrath <roland@hack.frob.com>
1027
30b6629e
RM
1028 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1029
a6bea3ca
RM
1030 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1031 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1032
3dfb9a5c
OB
10332014-05-27 Ondřej Bílka <neleai@seznam.cz>
1034
1035 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1036
774f9285
AS
10372014-05-27 Andreas Schwab <schwab@suse.de>
1038
1039 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1040 TLS_INIT_TP macro.
1041 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1042 * elf/rtld.c (init_tls, dl_main): Likewise.
1043 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1044 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1045 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1046 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1047 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1048 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1049 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1050 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1051 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1052 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1053 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1054 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1055 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1056 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1057 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1058 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1059 * sysdeps/generic/tls.h: Update description.
1060
36ffe739
WN
10612014-05-27 Will Newton <will.newton@linaro.org>
1062
1063 [BZ #16990]
1064 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1065 and restore r2 rather than just restoring.
1066
2482ae43
SP
10672014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1068
1069 [BZ #16724]
1070 * libio/tst-ftell-append.c: New test case.
1071 * libio/Makefile (tests): Add test case.
1072 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1073 append mode.
1074 * libio/wfileops.c (do_ftell_wide): Likewise.
1075
3d1024e8
AZ
10762014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1077
bab90016
AZ
1078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1079
c7a8d667
AZ
1080 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1081 ...
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1084 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1085 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1086 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1087 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1088 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1089 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1091 Moved ...
1092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1094 Moved ...
1095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1096 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1097 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1098 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1099 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1100 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1101 ...
1102 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1103 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1104 Moved ...
1105 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1106 here.
1107 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1108 ...
1109 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1110 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1111 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1112
daee7851
AZ
1113 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1114 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1115 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1116 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1117
50a40819
AZ
1118 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1119 merge into ...
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1121 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1122 ...
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1125 ...
1126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1127 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1128 Moved ...
1129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1130 here.
1131 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1132 Moved ...
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1135 Moved ...
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1137
8464c2a1
AZ
1138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1139 conditional [RESET_PID].
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1142 removed.
1143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1144 removed.
1145
3d1024e8
AZ
1146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1147 <tcb-offsets.h>.
1148 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1149 (__libc_vfork): New strong alias.
1150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1151 removed.
1152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1153 Removed.
1154
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1156 <tcb-offsets.h>.
1157 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1158 (__libc_vfork): New strong alias.
1159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1160 removed.
1161 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1162 removed.
1163
fdfd175d
CD
11642014-05-26 Carlos O'Donell <carlos@redhat.com>
1165
1166 * malloc/malloc.c (mi_arena): New function.
1167 (malloc_info): Remove nested function mi_arena. Call non-nosted
1168 function mi_arena.
1169
d298c416
AZ
11702014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1171
1172 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1173 by insrwi.
1174 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1175 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1176 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1177 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1178 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1179 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1180 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1181
b60ea6ff
AS
11822014-05-26 Andreas Schwab <schwab@suse.de>
1183
1184 [BZ #16984]
1185 * locale/programs/repertoire.c (repertoire_read): Add slash
1186 between I18NPATH element and file name.
1187 * locale/programs/locfile.c (locfile_read): Likewise.
1188
67365926
SL
11892014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1190
1191 * nptl/pthread_mutexattr_settype.c
1192 (__pthread_mutexattr_settype):
1193 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1194
f8bdf1f0
SL
11952014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1196
1197 * nptl/tst-mutex5 (do_test):
1198 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1199
15eaf6ff
SP
12002014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1201
1202 * benchtests/README: Document 'init' directive.
1203 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1204 BENCH_INIT.
1205 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1206 (parse_file): Recognize 'init' directive.
1207
75f11331
KM
12082014-05-26 Kyle McMartin <kyle@redhat.com>
1209
1210 [BZ #16796]
1211 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1212 alignment of struct pthread.
1213
c3ec475c
SP
12142014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1215
1216 [BZ #16878]
1217 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1218 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1219 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1220 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1221
82aab97c
RH
12222014-05-25 Richard Henderson <rth@twiddle.net>
1223
aa2f176d
RH
1224 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1225 (SINGLE_THREAD_P_PIC): Remove.
1226 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1227 (SINGLE_THREAD_P_PIC): Remove.
1228
ca3cfa40
RH
1229 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1230 branch to syscall error ...
1231 (PSEUDO): ... here.
1232 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1233 from __local_syscall_error to .Lsyscall_error.
1234 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1235 (SYSCALL_ERROR): Update label name.
1236
6e6c2d01
RH
1237 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1238 Do not use DOARGS/UNDOARGS.
1239 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1240 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1241 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1242 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1243 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1244
c69abcee
RH
1245 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1246 block comment.
1247
82aab97c
RH
1248 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1249 define if !NOT_IN_libc.
1250 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1251 define with non-default symbol versions.
1252
8820e3ac
RH
12532014-05-23 Richard Henderson <rth@twiddle.net>
1254
900e445f
RH
1255 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1256 (vfork, __vfork): Define via compat_symbol.
1257
8820e3ac
RH
1258 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1259 [!HAVE_IFUNC] (vfork_compat): Remove.
1260 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1261
e59252a5
JM
12622014-05-23 Joseph Myers <joseph@codesourcery.com>
1263
1264 [BZ #16978]
1265 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1266 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1267 variable.
1268
132c7f5f
RH
12692014-05-23 Richard Henderson <rth@twiddle.net>
1270
bc89e962
RH
1271 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1272 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1273 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1274 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1275
1276 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1277 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1278 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1279 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1280 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1281 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1282 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1283 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1284 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1285 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1286 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1287 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1288 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1289 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1290 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1291 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1292 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1293 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1294 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1295 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1296 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1297 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1298 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1299 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1300 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1301 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1302 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1303 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1304 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1305 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1306 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1307 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1308 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1309 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1310 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1311 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1312 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1313 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1314 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1315 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1316 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1317 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1318 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1319 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1320 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1321 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1322 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1323 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1324 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1325 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1326 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1327 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1328 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1329 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1330 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1331 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1332
e2fa4bc2
RH
1333 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1334 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1335 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1336 before exiting on error.
1337 (__libc_vfork): New strong alias.
1338 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1339 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1340
279b24e2
RH
1341 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1342 that was previously under [RESET_PID].
1343 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1344
132c7f5f
RH
1345 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1346
b72592e7
JM
13472014-05-23 Joseph Myers <joseph@codesourcery.com>
1348
1349 [BZ #16977]
1350 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1351 value when x - 1 is zero.
1352 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1353 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1354 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1355 0.0L for an argument of 1.0L.
1356 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1357 Likewise.
1358 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1359 value when x - 1 is zero.
1360 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1361 * sysdeps/i386/fpu/libm-test-ulps: Update.
1362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1363
2302d679
RV
13642014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1365
1366 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1367 alphasort and versionsort.
1368
32999d63
AZ
13692014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1370
1371 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1372 macro.
1373 [copysignf]: Likewise.
1374
019324d0
SP
13752014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1376
1377 * crypt/md5-crypt.c: Fix formatting.
1378
34fff5c2
KS
13792014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1380
1381 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1382 (b64_from_24bit): New function.
1383
3d2badac
AZ
13842014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1385
1386 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1387 libc_hidden_builtin_def to ifunc.
1388 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1389 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1390
f7bb179f 13912014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
1392
1393 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1394 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1395
4134b50d
JM
13962014-05-21 Joseph Myers <joseph@codesourcery.com>
1397
bb7d0337
JM
1398 * nscd/Depend (linuxthreads): Remove.
1399 (nptl): Add.
1400 * resolv/Depend (linuxthreads): Remove.
1401 * rt/Depend (linuxthreads): Remove.
1402
4134b50d
JM
1403 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1404 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1405 $(common-objpfx)elf/.
1406 (link-libc-before-gnulib): Likewise.
1407 (elfobjdir): Remove variable.
1408 * Makefile (install): Use $(elf-objpfx) instead of
1409 $(common-objpfx)elf/.
1410 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1411 $(elfobjdir)/.
1412 (link-libc-deps): Likewise.
1413 ($(common-objpfx)libc.so): Likewise.
1414 ($(common-objpfx)linkobj/libc.so): Likewise.
1415 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1416 instead of $(common-objpfx)elf/.
1417 (symbolic-link-list): Likewise.
1418 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1419 [$(cross-compiling) = no]: Likewise.
1420 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1421 $(elfobjdir)/.
1422 (static-gnulib-arch): Likewise.
1423 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1424 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1425 $(common-objpfx)elf/.
1426
3612eb8f
RH
14272014-05-21 Richard Henderson <rth@redhat.com>
1428
a6b3657b
RH
1429 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1430 (SINGLE_THREAD_P): Use the correct width load. Fold
1431 into the ldr offset.
1432
3612eb8f
RH
1433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1434 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1435
175cef41
JM
14362014-05-20 Joseph Myers <joseph@codesourcery.com>
1437
1438 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1439 (libgcc_s_resume): Use __attribute_used__.
1440 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1441 Likewise.
1442
e13bccd3
AZ
14432014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1444
1445 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1446 optimization when used with float constants.
1447
7c112a38
AZ
1448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1449
ae75a883
AJ
14502014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1451
1452 [BZ #16915]
1453 * locale/nl_langinfo_l.c: Make direct reference to every
1454 _nl_current_CATEGORY symbol.
1455 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1456 (tests-static): Add tst-langinfo-static.
1457 (tests-special): Add tst-langinfo-static.out.
1458 ($(objpfx)tst-langinfo.out): Redirect output.
1459 ($(objpfx)tst-langinfo-static.out): New.
1460 * localedata/tst-langinfo.sh: Send output to stdout.
1461 * localedata/tst-langinfo-static.c: New file.
1462
4406c41c
AJ
1463 [BZ #16965]
1464 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1465 when the shift amount is modulo the limb size.
1466
4c0a1e63
RH
14672014-05-20 Richard Henderson <rth@redhat.com>
1468
de9d8f20
RH
1469 [BZ #16967]
1470 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1471 Change type of sa_flags from unsigned int to int.
1472
4c0a1e63
RH
1473 [BZ #16966]
1474 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
1475
1476 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1477
a60339aa
WN
14782014-05-20 Will Newton <will.newton@linaro.org>
1479
1480 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1481 Test the return value of the system call in the nocancel case.
1482
7d05a816
YR
14832014-05-20 Will Newton <will.newton@linaro.org>
1484 Yvan Roux <yvan.roux@linaro.org>
1485
1486 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1487 #include of asm/ptrace.h.
1488 (PTRACE_GET_THREAD_AREA): Remove #undef.
1489 (PTRACE_GETHBPREGS): Likewise.
1490 (PTRACE_SETHBPREGS): Likewise.
1491 (struct user_regs_struct): New structure.
1492 (struct user_fpsimd_struct): New structure.
1493 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1494 #include of asm/ptrace.h and second #include of sys/user.h.
1495 (PTRACE_GET_THREAD_AREA): Remove #undef.
1496 (PTRACE_GETHBPREGS): Likewise.
1497 (PTRACE_SETHBPREGS): Likewise.
1498 (ELF_NGREG): Use new struct user_regs_struct.
1499 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1500
af121e37
AZ
15012014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1502
1503 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1504 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1505
834caf06
JM
15062014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1507
1508 [BZ #16958]
1509 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1510 membar to avoid block loads/stores to overlap previous stores.
1511
e184a918
RH
15122014-05-17 Richard Henderson <rth@redhat.com>
1513
1514 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1515 Create the __##syscall_name##_nocancel entry point.
1516 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1517 Remove; let the sysdep-cancel.h code create it.
1518
f56c7a6a
DM
15192014-05-17 David S. Miller <davem@davemloft.net>
1520
1521 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1522 Protect with __USE_GNU.
1523 (TIOCSET_TEMPT): Likewise.
1524 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1525 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1526 these are already provided in bits/ioctl-types.h
1527
f75616b2
RM
15282014-05-16 Roland McGrath <roland@hack.frob.com>
1529
3edeca86
RM
1530 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1531 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1532
f75616b2
RM
1533 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1534 Use wait4 regardless of [__NR_waitpid].
1535
deb0f7f6
MR
15362014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1537
1538 PR libgcc/60166
1539 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1540 (_FP_NANSIGN_Q): Set the quiet bit.
1541
79520f4b
JM
15422014-05-16 Joseph Myers <joseph@codesourcery.com>
1543
1544 * benchtests/Makefile
1545 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1546 not $(common-objpfx)math/libm.so.
1547 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1548 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1549 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1550 $(common-objpfx)dlfcn/libdl.so.
1551 ($(objpfx)tst-audit8): Depend on $(libm), not
1552 $(common-objpfx)math/libm.so.
1553 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1554 not $(common-objpfx)dlfcn/libdl.so.
1555 * math/Makefile
1556 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1557 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1558 [$(build-shared) = yes].
1559 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1560 $(common-objpfx)nptl/libpthread.so.
1561 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1562 $(common-objpfx)math/libm.so$(libm.so-version) or
1563 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1564 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1565 $(common-objpfx)dlfcn/libdl.so.
1566 * setjmp/Makefile (link-libm): Remove variable.
1567 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1568 * stdio-common/Makefile (link-libm): Remove variable.
1569 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1570 * stdlib/Makefile (link-libm): Remove variable.
1571 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1572 ($(objpfx)tst-strtod-round): Likewise.
1573 ($(objpfx)tst-tininess): Likewise.
1574 ($(objpfx)tst-strtod-underflow): Likewise.
1575 ($(objpfx)tst-strtod6): Likewise.
1576 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1577 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1578 $(common-objpfx)dlfcn/libdl.so.
1579
026b0fe4
AZ
15802014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1581
1582 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1583 BSD terminal modes definitions.
1584
def4bcb2
RM
15852014-05-16 Roland McGrath <roland@hack.frob.com>
1586
fe39b021
RM
1587 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1588 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1589
1d1fc46e 1590 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1591 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1592 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1593 Don't do #include_next.
1594 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1595 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1596 Don't do #include_next.
1597 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1598 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1599 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1600 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1601
c72399fb
AM
16022014-05-16 Allan McRae <allan@archlinux.org>
1603
d51d659d
AM
1604 * po/sv.po: Update Swedish translation from translation project.
1605
c72399fb
AM
1606 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1607 in sed expression.
1608
d0583c40
AJ
16092014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1610
1611 [BZ #16917]
1612 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1613 errno if the TIOCGPTN ioctl fails with an error different than
1614 EINVAL.
1615 * login/tst-ptsname.c: New file.
1616 * login/Makefile (tests): Add tst-ptsname.
1617
d16e6ec7
AJ
1618 [BZ #16943]
1619 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1620 and prlimit64.
1621
cf26a0cb
SP
16222014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1623
1624 [BZ #16849]
1625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1626 herrno to return EAI_AGAIN.
1627
5675da1e
RM
16282014-05-14 Roland McGrath <roland@hack.frob.com>
1629
a5d87b3d
RM
1630 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1631 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1632 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1633 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1634 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1635 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1636 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1637 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1639 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1641 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1642 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1643 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1645 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1647 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1649 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1650 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1651 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1652 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1653 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1654 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1655 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1656 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1657 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1659 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1661 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1665 Moved ...
1666 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1668 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1670 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1672 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1674 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1676 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1678 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1680 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1682 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1684 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1686 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1688 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1690 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1694 Moved ...
1695 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1697 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1699 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1701 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1703 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1705 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1707 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1709 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1711 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1713 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1715 Moved ...
1716 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1718 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1719
039890a6
RM
1720 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1721 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1722 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1723 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1724 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1725 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1726 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1727 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1728 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1729 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1730 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1731 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1732 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1733 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1734 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1735 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1736 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1737 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1738 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1739 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1740 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1742 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1743 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1744 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1745 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1746 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1747 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1748 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1749 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1750 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1751
65c89320
RM
1752 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1753 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1754
348f8e8c
RM
1755 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1756 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1757 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1758 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1759 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1760 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1761 Moved ...
1762 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1763 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1764 Moved ...
1765 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1766 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1767 Moved ...
1768 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1769 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1770 Moved ...
1771 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1773 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1775 Moved ...
1776 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1777 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1778 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1779 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1780 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1781 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1782 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1783 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1784 Moved ...
1785 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1787 Moved ...
1788 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1789 ... here.
1790 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1791 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1792 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1793 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1794 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1795 Moved ...
1796 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1797 ... here.
1798 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1799 Moved ...
1800 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1801 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1802 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1803 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1804 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1805 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1806 Moved ...
1807 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1808 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1809 Moved ...
1810 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1811 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1812 Moved ...
1813 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1814 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1815 Moved ...
1816 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1817 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1818 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1820 Moved ...
1821 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1822 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1823 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1824 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1825 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1827 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1828 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1829 Moved ...
1830 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1831 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1832 Moved ...
1833 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1834 ... here.
1835 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1836 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1837 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1838 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1839 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1840 Moved ...
1841 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1842 ... here.
1843 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1844 Moved ...
1845 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1846 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1847 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1848 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1849 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1850 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1851 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1852 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1853 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1854 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1855 Moved ...
1856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1857 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1858 Moved ...
1859 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1860 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1861 Moved ...
1862 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1863 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1864 Moved ...
1865 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1866 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1867 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1869 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1870 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1871 Moved ...
1872 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1873 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1874 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1875 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1876 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1877 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1878 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1879 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1880 Moved ...
1881 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1882 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1883 Moved ...
1884 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1885 ... here.
1886 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1887 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1888 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1889 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1890 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1891 Moved ...
1892 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1893 ... here.
1894 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1895 Moved ...
1896 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1897 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1898 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1900 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1902 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1904 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1906 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1907
5085af05
RM
1908 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1909 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1910
708f0813
RM
1911 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1912 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1913
c96067bc
RM
1914 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1915 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1916 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1918 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1919 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1920 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1921 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1922 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1923 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1924 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1925 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1926 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1927 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1928 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1929 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1930 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1931 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1932 Moved ...
1933 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1934 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1935 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1937 Moved ...
1938 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1939 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1940 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1941 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1942 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1943 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1944 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1945 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1946 Moved ...
1947 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1949 Moved ...
1950 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1951 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1952 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1954 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1955 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1956 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1957 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1958 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1959 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1960 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1961 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1962 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1963 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1964 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1965 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1966 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1967
ec136444
RM
1968 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1969 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1970 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1971 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1972 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1973
2fbdf533
RM
1974 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1975 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1976 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1977 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1978 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1979 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1980 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1981 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1982 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1983 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1984
4c68138b
RM
1985 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1986 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1987
4eaae765
RM
1988 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1989 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
1990 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1991 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1992 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1993 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1994 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1995 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1996 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1997 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1998 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1999 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2000 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2001 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2002 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2003 Update #include.
2004 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2005 Likewise.
2006 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2007 Likewise.
2008 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2009 Likewise.
2010 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2011 Likewise.
2012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2013 Likewise.
2014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2015 Likewise.
2016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2017 Likewise.
2018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2019 Likewise.
2020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2021 Likewise.
4ef6befa
RM
2022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2023 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2025 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2027 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2028 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2029 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2030 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2031 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2032 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2033 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2034 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2035 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2036 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2037
941d7dfd
RM
2038 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2039 that was previously under [RESET_PID].
2040 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2041 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2042 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2043
1b731c35
RM
2044 * sysdeps/i386/nptl/Implies: New file.
2045 * sysdeps/x86_64/nptl/Implies: New file.
2046 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2047 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2049 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2050
e2787137
RM
2051 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2052 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2053 (__libc_vfork): New strong alias.
2054 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2055 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2056
2057 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2058 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2059 (__libc_vfork): New strong alias.
2060 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2061 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2062
5675da1e
RM
2063 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2064 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2065 (__libc_vfork): New strong alias.
2066 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2067 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2068 * nptl/pt-vfork.c: New file.
2069 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2070 (libpthread: GLIBC_2.20): New version set (empty).
2071
4f02e2b8
WN
20722014-05-14 Will Newton <will.newton@linaro.org>
2073
2074 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2075 rather than #if.
2076
0bf061d3
JM
20772014-05-14 Joseph Myers <joseph@codesourcery.com>
2078
1a84c3d6
JM
2079 [BZ #16564]
2080 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2081 arguments with exponent 65 or above.
2082 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2083 arguments 0x1p113L or above.
2084 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2085 to arguments 0x1p107L or above.
2086 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2087 positive arguments with exponent 65 or above.
2088 * math/auto-libm-test-in: Add more tests of log1p.
2089 * math/auto-libm-test-out: Regenerated.
2090
01dbacd2
JM
2091 [BZ #16928]
2092 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2093 non-finite arguments is +0.
2094 * math/s_cacosf.c (__cacosf): Likewise.
2095 * math/s_cacosl.c (__cacosl): Likewise.
2096 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2097 * sysdeps/i386/fpu/libm-test-ulps: Update.
2098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2099
913d03c8
JM
2100 [BZ #16927]
2101 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2102 value.
2103 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2104 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2105 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2106 for explicit high bit of mantissa when testing for argument equal
2107 to 1.
2108 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2109 * sysdeps/i386/fpu/libm-test-ulps: Update.
2110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2111
0bf061d3
JM
2112 [BZ #16516]
2113 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2114 (__erf): Scale by 16 instead of 8 in potentially underflowing
2115 case. Ensure exception if result actually underflows.
2116 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2117 (__erff): Scale by 16 instead of 8 in potentially underflowing
2118 case. Ensure exception if result actually underflows.
2119 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2120 (efx8): Remove variable.
2121 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2122 case. Ensure exception if result actually underflows.
2123 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2124 (efx8): Remove variable.
2125 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2126 case. Ensure exception if result actually underflows.
2127 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2128 (efx8): Remove variable.
2129 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2130 case. Ensure exception if result actually underflows.
2131 * math/auto-libm-test-in: Add more tests of erf.
2132 * math/auto-libm-test-out: Regenerated.
2133
73ba67cb
AS
21342014-05-14 Andreas Schwab <schwab@suse.de>
2135
3d8c8bff
AS
2136 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2137 Remove code conditionalized on USE___THREAD.
2138
73ba67cb
AS
2139 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2140 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2141 not definedness.
2142
5c521ecd
JM
21432014-05-14 Joseph Myers <joseph@codesourcery.com>
2144
5e7698c6
JM
2145 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2146 Define unconditionally.
2147 (__ASSUME_O_CLOEXEC): Likewise.
2148 (__ASSUME_SOCK_CLOEXEC): Likewise.
2149 (__ASSUME_IN_NONBLOCK): Likewise.
2150 (__ASSUME_PIPE2): Likewise.
2151 (__ASSUME_EVENTFD2): Likewise.
2152 (__ASSUME_SIGNALFD4): Likewise.
2153 (__ASSUME_DUP3): Likewise.
2154 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2155 (__ASSUME_DUP3): Do not define.
2156 (__ASSUME_EVENTFD2): Likewise.
2157 (__ASSUME_IN_NONBLOCK): Likewise.
2158 (__ASSUME_O_CLOEXEC): Likewise.
2159 (__ASSUME_PIPE2): Likewise.
2160 (__ASSUME_SIGNALFD4): Likewise.
2161 (__ASSUME_SOCK_CLOEXEC): Likewise.
2162 (__ASSUME_UTIMES): Undefine.
2163 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2164 (__ASSUME_UTIMES): Do not define.
2165 (__ASSUME_O_CLOEXEC): Likewise.
2166 (__ASSUME_SOCK_CLOEXEC): Likewise.
2167 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2168 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2169 0x020621].
2170 (__ASSUME_PIPE2): Likewise.
2171 (__ASSUME_EVENTFD2): Likewise.
2172 (__ASSUME_SIGNALFD4): Likewise.
2173 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2174 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2175 Do not define.
2176 (__ASSUME_EVENTFD2): Likewise.
2177 (__ASSUME_SIGNALFD4): Likewise.
2178 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2179 (__ASSUME_32BITUIDS): Likewise.
2180 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2181 (__ASSUME_IPC64): Likewise.
2182 (__ASSUME_ST_INO_64_BIT): Likewise.
2183 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2184 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2185 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2186 (__ASSUME_UTIMES): Do not define.
2187 (__ASSUME_PSELECT): Likewise.
2188 (__ASSUME_PPOLL): Likewise.
2189 (__ASSUME_O_CLOEXEC): Likewise.
2190 (__ASSUME_SOCK_CLOEXEC): Likewise.
2191 (__ASSUME_IN_NONBLOCK): Likewise.
2192 (__ASSUME_PIPE2): Likewise.
2193 (__ASSUME_EVENTFD2): Likewise.
2194 (__ASSUME_SIGNALFD4): Likewise.
2195 (__ASSUME_DUP3): Likewise.
2196 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2197 (__ASSUME_UTIMES): Likewise.
2198 (__ASSUME_O_CLOEXEC): Likewise.
2199 (__ASSUME_SOCK_CLOEXEC): Likewise.
2200 (__ASSUME_IN_NONBLOCK): Likewise.
2201 (__ASSUME_PIPE2): Likewise.
2202 (__ASSUME_EVENTFD2): Likewise.
2203 (__ASSUME_SIGNALFD4): Likewise.
2204 (__ASSUME_DUP3): Likewise.
2205 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2206 (__ASSUME_UTIMES): Likewise.
2207 (__ASSUME_O_CLOEXEC): Likewise.
2208 (__ASSUME_SOCK_CLOEXEC): Likewise.
2209 (__ASSUME_IN_NONBLOCK): Likewise.
2210 (__ASSUME_PIPE2): Likewise.
2211 (__ASSUME_EVENTFD2): Likewise.
2212 (__ASSUME_SIGNALFD4): Likewise.
2213 (__ASSUME_DUP3): Likewise.
2214 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2215 Likewise.
2216 (__ASSUME_UTIMES): Likewise.
2217 (__ASSUME_EVENTFD2): Likewise.
2218 (__ASSUME_SIGNALFD4): Likewise.
2219 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2220 (__ASSUME_O_CLOEXEC): Likewise.
2221 (__ASSUME_SOCK_CLOEXEC): Likewise.
2222 (__ASSUME_IN_NONBLOCK): Likewise.
2223 (__ASSUME_PIPE2): Likewise.
2224 (__ASSUME_EVENTFD2): Likewise.
2225 (__ASSUME_SIGNALFD4): Likewise.
2226 (__ASSUME_DUP3): Likewise.
2227 (__ASSUME_UTIMES): Undefine.
2228
5c521ecd
JM
2229 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2230 feclearexcept. Remove symbol versioning code.
2231 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2232 symbol versioning code.
2233 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2234 symbol versioning code.
2235 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2236 feupdateenv. Remove symbol versioning code.
2237 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2238 fegetexceptflag. Remove symbol versioning code.
2239 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2240 fesetexceptflag. Remove symbol versioning code.
2241 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2242 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2243 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2244 (__posix_fadvise64_l32): Remove prototype.
2245 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2246 code.
2247
5da9dfad
RM
22482014-05-13 Roland McGrath <roland@hack.frob.com>
2249
2250 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2251 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2252 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2253 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2254
893b4f37
SK
22552014-05-13 Sami Kerola <kerolasa@iki.fi>
2256
2257 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2258 current working directory
2259
e0db6517
RM
22602014-05-13 Roland McGrath <roland@hack.frob.com>
2261
58aa195d
RM
2262 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2263 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2264 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2265 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2266 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2267 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2268 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2269 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2270 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2271 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2272 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2273 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2274 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2275 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2276 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2279 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2280 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2281 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2282 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2283 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2284 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2285 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2286 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2287 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2288 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2289 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2290 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2291 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2292 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2293 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2294 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2295 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2296 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2297 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2298 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2299 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2300 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2301 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2302 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2303 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2304
8c6d01f0
RM
2305 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2306 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2307
2308 * sysdeps/unix/sysv/linux/arm/Makefile
2309 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2310 Add rt-aeabi_unwind_cpp_pr1.
2311 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2312 Add nptl-aeabi_unwind_cpp_pr1.
2313 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2314 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2315 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2316 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2317 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2318 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2319
2320 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2321 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2322 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2323 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2324
bba6da4e
RM
2325 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2326 Deconditionalize the code that was previously under [RESET_PID].
2327 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2328
e0db6517
RM
2329 * sysdeps/generic/exit-thread.h: New file.
2330 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2331 * include/unistd.h (__exit_thread): Remove declaration.
2332 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2333 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2334 * csu/libc-start.c: Include <exit-thread.h>.
2335 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2336 * nptl/pthread_create.c: Include <exit-thread.h>.
2337 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2338 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2339 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2340 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2341 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2342 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2343 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2344 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2345 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2346 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2347 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2348 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2349 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2350 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2351 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2352 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2353 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2354
01eb16fd
AS
23552014-05-13 Andreas Schwab <schwab@suse.de>
2356
2357 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2358
637461d9
JM
23592014-05-12 Joseph Myers <joseph@codesourcery.com>
2360
2361 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2362 (__ASSUME_UTIMES): Do not condition on kernel version.
2363 (__ASSUME_PSELECT): Define unconditionally.
2364 (__ASSUME_PPOLL): Likewise.
2365 (__ASSUME_ATFCTS): Likewise.
2366 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2367 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2368 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2369 (__ASSUME_UTIMENSAT): Define unconditionally.
2370 (__ASSUME_PRIVATE_FUTEX): Likewise.
2371 (__ASSUME_FALLOCATE): Likewise.
2372 (__ASSUME_O_CLOEXEC): Likewise.
2373 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2374 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2375 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2376 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2377 (__ASSUME_IN_NONBLOCK): Likewise.
2378 (__ASSUME_PIPE2): Likewise.
2379 (__ASSUME_EVENTFD2): Likewise.
2380 (__ASSUME_SIGNALFD4): Likewise.
2381 (__ASSUME_DUP3): Likewise.
2382 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2383 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2384 (__ASSUME_AT_RANDOM): Likewise.
2385 (__ASSUME_PREADV): Likewise.
2386 (__ASSUME_PWRITEV): Likewise.
2387 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2388 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2389 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2390 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2391 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2392 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2393 (__ASSUME_O_CLOEXEC): Define unconditionally.
2394 (__ASSUME_PSELECT): Do not undefine conditionally.
2395 (__ASSUME_PPOLL): Likewise.
2396 (__ASSUME_ATFCTS): Likewise.
2397 (__ASSUME_SET_ROBUST_LIST): Likewise.
2398 (__ASSUME_UTIMENSAT): Likewise.
2399 (__ASSUME_FDATASYNC): Define unconditionally.
2400 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2401 (__ASSUME_SIGFRAME_V2): Likewise.
2402 )__ASSUME_EVENTFD2): Likewise.
2403 (__ASSUME_SIGNALFD4): Likewise.
2404 (__ASSUME_PSELECT): Do not undefine conditionally.
2405 (__ASSUME_PPOLL): Likewise.
2406 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2407 (__ASSUME_PSELECT): Define unconditionally.
2408 (__ASSUME_PPOLL): Likewise.
2409 (__ASSUME_O_CLOEXEC): Likewise.
2410 (__ASSUME_SOCK_CLOEXEC): Likewise.
2411 (__ASSUME_IN_NONBLOCK): Likewise.
2412 (__ASSUME_PIPE2): Likewise.
2413 (__ASSUME_EVENTFD2): Likewise.
2414 (__ASSUME_SIGNALFD4): Likewise.
2415 (__ASSUME_DUP3): Likewise.
2416 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2417 (__ASSUME_O_CLOEXEC): Likewise.
2418 (__ASSUME_SOCK_CLOEXEC): Likewise.
2419 (__ASSUME_IN_NONBLOCK): Likewise.
2420 (__ASSUME_PIPE2): Likewise.
2421 (__ASSUME_EVENTFD2): Likewise.
2422 (__ASSUME_SIGNALFD4): Likewise.
2423 (__ASSUME_DUP3): Likewise.
2424 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2425 (__ASSUME_EVENTFD2): Likewise.
2426 (__ASSUME_SIGNALFD4): Likewise.
2427 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2428
315eb1d8
AS
24292014-05-12 Andreas Schwab <schwab@suse.de>
2430
2431 [BZ #16932]
2432 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2433 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2434 than maximum RPC packet size.
2435 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2436 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2437 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2438 (_nss_nis_getservbyport_r): Likewise.
2439
91df99f7
WN
24402014-05-12 Will Newton <will.newton@linaro.org>
2441
2442 * malloc/Makefile (tests): Add tst-mallopt.
2443 * malloc/tst-mallopt.c: New file.
2444
0a982a29
RM
24452014-05-09 Roland McGrath <roland@hack.frob.com>
2446
2447 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2448 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2449
0ded08a5
AZ
24502014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2451
2452 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2453 (tst-tlsmod6.so): Likewise.
2454
55d4d550
RM
24552014-05-09 Roland McGrath <roland@hack.frob.com>
2456
2457 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2458
77d08aca
JM
24592014-05-09 Joseph Myers <joseph@codesourcery.com>
2460
2461 [BZ #16064]
2462 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2463 and <dl-procinfo.h>.
2464 (__fegetenv): Save SSE state in envp->__eip if supported.
2465 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2466 envp->__eip if supported.
2467 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2468 and <dl-procinfo.h>.
2469 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2470 __data_offset and __data_selector in environment to 0. Set SSE
2471 state if supported.
2472 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2473 test-fenv-sse.
2474 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2475 -mfpmath=sse.
2476 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2477
28162f4d
WN
24782014-05-09 Will Newton <will.newton@linaro.org>
2479
2480 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2481 and libc_relro_required for ARM.
2482 * sysdeps/arm/preconfigure: Regenerate.
2483
5a414ff7
DV
24842014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2485 Stefan Liebler <stli@linux.vnet.ibm.com>
2486
2487 * config.make.in (enable-lock-elision): New Makefile variable.
2488 * configure.ac: Likewise.
2489 * configure: Regenerate.
2490 * sysdeps/s390/configure.ac:
2491 Add check for gcc transactions support.
2492 * sysdeps/s390/configure: Regenerate.
2493 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2494 Build elision files if enabled.
2495 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2496 Add lock elision support for s390.
2497 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2498 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2499 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2500 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2501 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2502 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2503 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2504 Likewise.
2505 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2506 Likewise.
2507 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2508 Likewise.
2509 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2510 Likewise.
2511 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2512 (__lll_timedlock_elision, __lll_lock_elision)
2513 (__lll_unlock_elision, __lll_trylock_elision)
2514 (lll_timedlock_elision, lll_lock_elision)
2515 (lll_unlock_elision, lll_trylock_elision): Add.
2516 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2517 (pthread_mutex_t): Add lock elision support for s390.
2518
1a2f40e5
W
25192014-05-14 Wilco <wdijkstr@arm.com>
2520
2521 * sysdeps/arm/fclrexcpt.c: Cleanup.
2522 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2523 * sysdeps/arm/feenablxcpt.c: Cleanup.
2524 * sysdeps/arm/fegetenv.c: Cleanup.
2525 * sysdeps/arm/fegetexcept.c: Cleanup.
2526 * sysdeps/arm/fegetround.c: Cleanup.
2527 * sysdeps/arm/feholdexcpt.c: Cleanup.
2528 * sysdeps/arm/fesetenv.c: Cleanup.
2529 * sysdeps/arm/fesetround.c: Cleanup.
2530 * sysdeps/arm/feupdateenv.c: Cleanup.
2531 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2532 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2533 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2534 * sysdeps/arm/ftestexcept.c: Cleanup.
2535 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2536 * sysdeps/arm/setfpucw.c: Cleanup.
2537
f63c86fe
WN
25382014-05-09 Will Newton <will.newton@linaro.org>
2539
2540 * sysdeps/arm/armv7/strcmp.S: New file.
2541 * NEWS: Mention addition of ARMv7 optimized strcmp.
2542
7a1a51b5
RM
25432014-05-08 Roland McGrath <roland@hack.frob.com>
2544
95afbbe5
RM
2545 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2546 look for %.ac rather than %.in.
2547
2548 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2549 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2550 * sysdeps/mach/hurd/configure: Regenerated.
2551 * sysdeps/unix/sysv/linux/configure: Regenerated.
2552
7a1a51b5
RM
2553 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2554
5057ad3b
SE
25552014-05-07 Steve Ellcey <sellcey@mips.com>
2556
2557 [BZ# 16922]
2558 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2559 (LONG_SUB): Ditto.
2560 (PTR_SUB): Ditto.
2561
8dc97517
AS
25622014-05-07 Andreas Schwab <schwab@suse.de>
2563
2564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2565 when skipping over non-matching result from nscd.
2566
ce0c5b8f
OB
25672014-05-07 Ondřej Bílka <neleai@seznam.cz>
2568
2569 [BZ #16876]
2570 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2571
a1189263
OB
2572 [BZ #16877]
2573 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2574 nscd security class.
ce0c5b8f 2575
0f58d252
RM
25762014-05-06 Roland McGrath <roland@hack.frob.com>
2577
2578 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2579 * sysdeps/arm/unwind.h: ... here.
2580
83df9ad0
AJ
25812014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2582
ce0c5b8f
OB
2583 [BZ# 16916]
2584 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2585 Define.
83df9ad0 2586
f360f94a
VR
25872014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2588
2589 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2590 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2591 multiarch strncpy for PPC64.
2592 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2593 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2595 multiarch optimizations.
2596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2597 (__libc_ifunc_impl_list): Likewise.
2598 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2599 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2600 multiarch stpncpy for PPC64.
2601 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2602 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2603
978a41c3
AS
26042014-05-06 Andreas Schwab <schwab@suse.de>
2605
2606 [BZ #16912]
2607 * gmon/mcount.c (_MCOUNT_DECL): Use
2608 atomic_compare_and_exchange_bool_acq instead of
2609 catomic_compare_and_exchange_bool_acq.
2610
eb1ed03d
RM
26112014-05-05 Roland McGrath <roland@hack.frob.com>
2612
fe658845
RM
2613 * elf/Makefile (others, install-bin): Remove pldd.
2614 (pldd-modules): Variable removed.
2615 ($(objpfx)pldd): Target removed.
2616 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2617 (others, install-bin): Append pldd here.
2618 ($(objpfx)pldd): New target.
2619
eb1ed03d
RM
2620 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2621 to 0, so the first #if test emitted later doesn't see it undefined.
2622 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2623 * sysdeps/gnu/errlist.c: Regenerated.
2624
19c4bec0
AZ
26252014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2626
2627 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2628 [libc_hidden_builtin_def]: Define to empty value.
2629 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2630 [libc_hidden_builtin_def]: Likewise.
2631 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2632 [libc_hidden_builtin_def]: Likewise.
2633 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2634 [libc_hidden_builtin_def]: Likewise.
2635 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2636 __redirect_memcpy and define ifunc as default hidden symbol.
2637 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2638 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2639
7776e669
AC
26402014-05-04 Adam Conrad <adconrad@0c3.net>
2641
2642 * locale/iso-4217.def: Reintroduce XDR currency.
2643
d69aeb12
AM
26442014-05-04 Allan McRae <allan@archlinux.org>
2645
2646 * po/eo.po: Update Esperanto translation from translation project.
2647
8f1df5cf
CD
26482014-05-02 Carlos O'Donell <carlos@redhat.com>
2649
2650 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2651 and FEATURE_INDEX_MAX to 1.
2652 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2653
13e402e7
SE
26542014-05-01 Steve Ellcey <sellcey@mips.com>
2655
2656 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2657 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2658 * iconvdata/big5.c (ONE_DIRECTION): Define.
2659 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2660 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2661 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2662 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2663 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2664 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2665 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2666 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2667 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2668 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2669 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2670 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2671 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2672 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2673 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2674 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2675 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2676 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2677 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2678 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2679 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2680 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2681 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2682 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2683 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2684 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2685 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2686 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2687 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2688 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2689 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2690 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2691 * iconvdata/johab.c (ONE_DIRECTION): Define.
2692 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2693 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2694 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2695 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2696 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2697 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2698 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2699 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2700 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2701 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2702
c727f032
RM
27032014-05-01 Roland McGrath <roland@hack.frob.com>
2704
8f2f08d0
RM
2705 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2706 (_IO_JUMPS_OFFSET): Define to 0.
2707
c727f032
RM
2708 * nptl/sysdeps/pthread/bits/libc-lock.h
2709 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2710 (__libc_lock_define_initialized_recursive): Always define using
2711 initializer. Modern compilers treat uninitialized (implicit zero) and
2712 explicit zero initializers the same (i.e. put the datum in bss).
2713
a849e800
AS
27142014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2715
2716 * nscd/nscd-client.h: Include <string.h>.
2717
5331255b
DM
27182014-05-01 David S. Miller <davem@davemloft.net>
2719
2720 [BZ #16885]
2721 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2722 multiple zero bytes exist at the end of a string.
2723 Reported by Aurelien Jarno <aurelien@aurel32.net>
2724
2725 * string/test-strcmp.c (check): Add explicit test for situations where
2726 there are multiple zero bytes after the first.
2727
4fdfe821
AS
27282014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2729
2730 [BZ #16890]
2731 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2732 when compiling wprintf.
2733 * stdio-common/tstdiomisc.c (t3): New function.
2734 (main): Call it.
2735
0cdddc25
SE
27362014-05-01 Steve Ellcey <sellcey@mips.com>
2737
2738 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2739 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2740 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2741 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2742
6426d77e
SE
27432014-05-01 Steve Ellcey <sellcey@mips.com>
2744
2745 * stdlib/longlong.h: Updated from GCC.
2746
6d96f5e4
WN
27472014-05-01 Will Newton <will.newton@linaro.org>
2748 Bernard Ogden <bernie.ogden@linaro.org>
2749
7470db0c
WN
2750 * NEWS: Update fixed bug list.
2751
6d96f5e4
WN
2752 [BZ #15119]
2753 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2754
211d653c
DM
27552014-04-30 David S. Miller <davem@davemloft.net>
2756
4fa262fa
DM
2757 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2758 (libc_feholdexcept_setround_sparc_ctx): New function.
2759 (libc_fesetenv_sparc_ctx): Likewise.
2760 (libc_feupdateenv_sparc_ctx): Likewise.
2761 (libc_feholdsetround_sparc_ctx): Likewise.
2762 (libc_feholdexcept_setround_ctx): Define.
2763 (libc_feholdexcept_setroundf_ctx): Likewise.
2764 (libc_feholdexcept_setroundl_ctx): Likewise.
2765 (libc_fesetenv_ctx): Likewise.
2766 (libc_fesetenvf_ctx): Likewise.
2767 (libc_fesetenvl_ctx): Likewise.
2768 (libc_feupdateenv_ctx): Likewise.
2769 (libc_feupdateenvf_ctx): Likewise.
2770 (libc_feupdateenvl_ctx): Likewise.
2771 (libc_feresetround_ctx): Likewise.
2772 (libc_feresetroundf_ctx): Likewise.
2773 (libc_feresetroundl_ctx): Likewise.
2774 (libc_feholdsetround_ctx): Likewise.
2775 (libc_feholdsetroundf_ctx): Likewise.
2776 (libc_feholdsetroundl_ctx): Likewise.
2777
1d3d93ef
DM
2778 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2779 with __USE_GNU instead of XOPEN cpp guards.
2780
8aa583c3
DM
2781 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2782 0.
2783
211d653c
DM
2784 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2785 with XOPEN cpp guards.
2786
60c8f1f6
JB
27872014-04-30 Julian Brown <julian@codesourcery.com>
2788
2789 [BZ #16888]
2790 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2791 handling.
2792
9a461d46
JM
27932014-04-30 Joseph Myers <joseph@codesourcery.com>
2794
d0f5b3f8
JM
2795 [BZ #9894]
2796 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2797 Change to 2.6.32.
2798 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2799 * sysdeps/unix/sysv/linux/configure: Regenerated.
2800 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2801 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2802 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2803 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2804 * README: Update reference to required Linux kernel version.
2805 * manual/install.texi (Linux): Update reference to required Linux
2806 kernel headers version.
2807 * INSTALL: Regenerated.
2808
9a461d46
JM
2809 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2810 header inclusion.
2811 [POSIX] (limits.h): Likewise.
2812 [POSIX] (math.h): Likewise.
2813 [POSIX] (sys/wait.h): Likewise.
2814 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2815 function.
2816 [POSIX] (stddef.h): Do not allow header inclusion.
2817
1775babf
AZ
28182014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2819
57f41c40 2820 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2821
8f630cca
YY
28222014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2823
2824 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2825 Return immediately after lll_futex_wake.
2826
1cdeb237
SP
28272014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2828
bc8f194c
SP
2829 [BZ #16791]
2830 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2831 structure.
2832 (datahead_init_pos): Call datahead_init_common early.
2833 (datahead_init_neg): Likewise.
2834
1cdeb237
SP
2835 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2836 datahead_init_neg): New functions.
2837 * nscd/aicache.c (addhstaiX): Use them.
2838 * nscd/grpcache.c (cache_addgr): Likewise.
2839 * nscd/hstcache.c (cache_addhst): Likewise.
2840 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2841 * nscd/netgroupcache.c (do_notfound): Likewise.
2842 (addgetnetgrentX): Likewise.
2843 (addinnetgrX): Likewise.
2844 * nscd/pwdcache.c (cache_addpw): Likewise.
2845 * nscd/servicescache.c (cache_addserv): Likewise.
2846
16b293a7
SP
28472014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2848 Atsushi Onoe <atsushi@onoe.org>
2849
2850 [BZ #14308]
2851 [BZ #12994]
2852 [BZ #13651]
2853 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2854 one response is valid.
2855 * resolv/res_send.c (send_dg): Check for validity of other
2856 response if the current response is a referral.
2857
a28a9b94
SE
28582014-04-29 Steve Ellcey <sellcey@mips.com>
2859
2860 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2861
2ca180e9
SL
28622014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2863
2864 [BZ #16823]
2865 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2866 Always divide by positive zero when computing -Inf result.
2867 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2868 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2869
18f2945a
AZ
28702014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2871
2872 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2873 FPSCR if value do not change.
2874 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2875 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2876 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2877 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2878 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2879 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2880 function.
2881
5abebba4
CD
28822014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2883
2884 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2885 * sysdeps/unix/sysv/linux/hppa: Move directory from
2886 ports/systeps/unix/sysv/linux/hppa.
2887 * README: Update listing for hppa-*-linux-gnu.
2888
f7ed60c2
OB
28892014-04-28 Ondřej Bílka <neleai@seznam.cz>
2890
fff763a5
OB
2891 [BZ #16754]
2892 * manual/stdio.texi (Hook functions): Fix types of stream hook
2893 functions.
f7ed60c2
OB
2894 [BZ #16854]
2895 * socket/sys/socket.h: Fix typo in comment.
2896
df639d73
WD
28972014-04-28 Wilco <wdijkstr@arm.com>
2898
f7ed60c2 2899 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2900 * sysdeps/arm/math_private.h: New file.
2901 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2902
48332d82
L
29032014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2904
2905 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2906 with __int128_t.
2907 (La_x86_64_retval): Likewise.
2908
e5e0d9a4
IB
29092014-04-24 Ian Bolton <ian.bolton@arm.com>
2910
2911 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2912 fpsr if value didn't change.
2913 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2914 to fpcr if value didn't change.
2915 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2916 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2917 fpsr or fpcr if value didn't change.
2918 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2919 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2920 fpcr if value didn't change.
2921 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2922 to fpsr if value didn't change.
2923
bacc75f7
SP
29242014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2925
2926 * nptl/tst-sem3.c: Use test-skeleton.c
2927 (main): Rename to do_test. Use return instead of
2928 exit.
2929 * nptl/tst-sem4.c: Use test-skeleton.c
2930 (main): Rename to do_test.
2931
a059d359
DM
29322014-04-22 David S. Miller <davem@davemloft.net>
2933
2934 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2935 (struct sigaction): New struct member __glibc_reserved0, change
2936 type of sa_flags to int.
2937
ea6c92f3
YZ
29382014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2939
2940 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2941 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2942
766c4a36
SP
29432014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2944
2945 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2946 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2947
140cc7ab
VK
29482014-04-22 Will Newton <will.newton@linaro.org>
2949 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2950
2951 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2952 (__longjmp): Add longjmp and longjmp_target SystemTap
2953 probes.
2954 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2955 (__sigsetjmp): Add setjmp SystemTap probe.
2956
c54e5cf7
CD
29572014-04-17 Carlos O'Donell <carlos@redhat.com>
2958
2959 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2960 match manual order.
2961
75ffb047
AZ
29622014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2963
2964 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2965
2cd925f7
AZ
2966 * sysdeps/powerpc/fpu/fenv_private.h
2967 (libc_feholdexcept_setroundl_ctx): Define to
2968 libc_feholdexcept_setround_ppc_ctx.
2969 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2970 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2971 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2972 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2973
39e6cd8d
IB
29742014-04-17 Ian Bolton <ian.bolton@arm.com>
2975
2976 * sysdeps/aarch64/math-tests.h: New file.
2977
f9281df9
SY
29782014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2979
2980 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2981 New.
2982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2983 Check and set bit_AVX2_Usable.
2984 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2985 macro.
2986 (bit_AVX2): Likewise.
2987 (index_AVX2_Usable): Likewise.
2988 (CPUID_AVX2): Likewise.
2989 (HAS_AVX2): Likewise.
2990
37d35007
WN
29912014-04-17 Will Newton <will.newton@linaro.org>
2992
7c677662
WN
2993 * manual/setjmp.texi (System V contexts): Add note that
2994 calling setcontext on a context created by a call to a
2995 signal handler is undefined. Update text to note that
2996 setcontext from a signal handler is possible but not
2997 recommended.
2998
37d35007 2999 [BZ #16629]
e04a4e9d
WN
3000 * stdlib/tst-setcontext.c: Include signal.h.
3001 (main): Check that the signal stack before and
3002 after swapcontext is the same.
3003
37d35007
WN
3004 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3005 Re-implement to restore registers in user code and avoid
3006 rt_sigreturn system call.
3007
423a7160
W
30082014-04-17 Wilco <wdijkstr@arm.com>
3009
3010 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3011 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3012 * math/test-fenv.c: Skip exception trap tests on targets which only
3013 support non-stop mode.
3014
bc93ab29
IB
30152014-04-17 Ian Bolton <ian.bolton@arm.com>
3016 Wilco Dijkstra <wilco.dijkstra@arm.com>
3017
3018 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3019 (libc_feholdsetround_aarch64_ctx)
3020 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3021 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3022 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3023 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3024 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3025 (libc_feresetround_noexl_ctx): Define.
3026
95fc5fa3
RH
30272014-04-16 Richard Henderson <rth@redhat.com>
3028
ddb04724
RH
3029 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3030
d77c0899
RH
3031 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3032 unwind tables.
3033
a3df56fc
RH
3034 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3035 const from the non-libc, non-ldso copy.
3036
95fc5fa3
RH
3037 * sysdeps/alpha/libm-test-ulps: Regenerate.
3038
7e0b6763
IB
30392014-04-16 Ian Bolton <ian.bolton@arm.com>
3040 Wilco Dijkstra <wilco.dijkstra@arm.com>
3041
3042 * sysdeps/aarch64/fpu/math_private.h: New file.
3043
a9ea2e0c
MS
30442014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3045
3046 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3047
ea8ba7cd
IZ
30482014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3049
3050 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3051 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3052 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3053 Intel MPX bound registers before _dl_profile_fixup.
3054 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3055 registers after _dl_profile_fixup. Save and restore bound
3056 registers bnd0/bnd1 when calling _dl_call_pltexit.
3057 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3058 (LR_BND_OFFSET): Likewise.
3059 (LRV_BND0_OFFSET): Likewise.
3060 (LRV_BND1_OFFSET): Likewise.
3061
9f2a4fbc
ST
30622014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3063
3064 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3065 to...
3066 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3067 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3068 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3069 fields.
9f2a4fbc 3070
fd15a59b
ST
30712014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3072
3073 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3074
f19dfa0a
SL
30752014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3076
3077 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3078
4fa8bc3b
SL
30792014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3080
3081 [BZ #14770]
3082 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3083 * sysdeps/s390/configure: Regenerate.
3084
8ea587db
SL
3085 [BZ #16824]
3086 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3087 Set round-to-nearest internally to reduce error accumulation.
3088
aa5f0ff1
AM
30892014-04-16 Alan Modra <amodra@gmail.com>
3090
3091 [BZ #16740]
3092 [BZ #16619]
3093 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3094 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3095 * NEWS: Update fixed bug list.
aa5f0ff1 3096
bb9c256f
SP
30972014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3098
3099 * benchtests/Makefile: Depend on libraries in build directory.
3100 (bench-math): Separate out math tests.
3101 (bench-pthread): Separate out pthread tests.
3102 (bench): Include math and pthread tests.
3103
f737dfd0
CD
31042014-04-14 Carlos O'Donell <carlos@redhat.com>
3105
3106 [BZ #16831]
3107 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3108 _dl_debug_initialize.
3109
0699f766
CD
3110 * configure.ac: Remove SELinux header check.
3111 * configure: Regenerate.
3112 * nscd/selinux.c (perms): Array of const char* to permission names.
3113 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3114 default policy. Call string_to_security_class and string_to_av_perm to
3115 translate strings. Enforce default policy and call avs_has_perm with
3116 results of translated strings.
3117
809bd45f
DM
31182014-04-13 David S. Miller <davem@davemloft.net>
3119
3120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3121
89e691f2
AM
31222014-04-12 Allan McRae <allan@archlinux.org>
3123
3124 [BZ #16838]
3125 * manual/string.texi (Collation Functions): Fix qsort argument
3126 order in example.
3127 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3128
9c9daaeb
CM
31292014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3130
3131 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3132 Make the test a no-op if there are no exceptions defined.
3133
95561fb9
PP
31342014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3135
fe8d072c 3136 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3137 enable-hardcoded-path-in-tests
3138
970c602a
WN
31392014-04-11 Will Newton <will.newton@linaro.org>
3140
3141 * benchtests/Makefile (extra-objs): Add json-lib.o.
3142 (bench-func): Tidy up JSON output.
3143 * benchtests/bench-skeleton.c: Include json-lib.h.
3144 (main): Use JSON library functions to do output of
3145 benchmark results.
3146 * benchtests/bench-timing-type.c (main): Output the
3147 timing type simply, leaving formatting to the user.
3148 * benchtests/json-lib.c: New file.
3149 * benchtests/json-lib.h: Likewise.
3150
36875b06
TR
31512014-04-11 Torvald Riegel <triegel@redhat.com>
3152
3153 [BZ #15215]
3154 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3155 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3156 memory barriers. Add comments.
3157 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3158 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3159 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3160 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3161 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3162 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3163
579db35a
SL
31642014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3165
3166 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3167 * sysdeps/s390/s390-64/configure.ac: ... this ...
3168 * sysdeps/s390/configure.ac: ... to here.
3169 * sysdeps/s390/s390-32/configure: Delete file.
3170 * sysdeps/s390/s390-64/configure: Delete file.
3171 * sysdeps/s390/configure: Regenerate.
3172
c12e9f37
JAPH
31732014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3174
3175 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3176
439bda32
WN
31772014-04-11 Will Newton <will.newton@linaro.org>
3178
3179 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3180 to zero if it is not defined elsewhere. (mtrim): Test
3181 the value of MALLOC_DEBUG with #if rather than #ifdef.
3182
6a5d6ea1
TR
31832014-04-10 Torvald Riegel <triegel@redhat.com>
3184
3185 * benchtests/pthread_once-inputs: New file.
3186 * benchtests/pthread_once-source.c: New file.
3187 * benchtests/README: Update documentation.
3188
a4c75cfd
IZ
31892014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3190 H.J. Lu <hongjiu.lu@intel.com>
3191
3192 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3193 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3194 * sysdeps/x86_64/configure: Regenerated.
3195 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3196 macro.
3197 (REGISTER_SAVE_RAX): Likewise.
3198 (REGISTER_SAVE_RCX): Likewise.
3199 (REGISTER_SAVE_RDX): Likewise.
3200 (REGISTER_SAVE_RSI): Likewise.
3201 (REGISTER_SAVE_RDI): Likewise.
3202 (REGISTER_SAVE_R8): Likewise.
3203 (REGISTER_SAVE_R9): Likewise.
3204 (REGISTER_SAVE_BND0): Likewise.
3205 (REGISTER_SAVE_BND1): Likewise.
3206 (REGISTER_SAVE_BND2): Likewise.
3207 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3208 bound registers when calling _dl_fixup.
3209
27822ce6
AZ
32102014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3211
3212 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3213 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3214 of its definition.
27822ce6
AZ
3215 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3216 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3217 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3218 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3219 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3220 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3221 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3222
a88ddc90
PTB
32232014-04-09 Peter Brett <peter@peter-b.co.uk>
3224
3225 [BZ #15514]
3226 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3227 pathconf(_PC_NAME_MAX).
3228
01f8eac2
AZ
32292014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3230
3231 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3232 Remove macro usage.
3233 (__PTHREAD_SPINS): Move definition to ...
3234 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3235 (__PTHREAD_SPINS): ... here.
3236 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3237 (__PTHREAD_SPIN): Likewise.
3238 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3239 (__PTHREAD_SPIN): Likewise.
3240 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3241 (__PTHREAD_SPIN): Likewise.
3242 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3243 (__PTHREAD_SPIN): Likewise.
3244 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3245 (__PTHREAD_SPIN): Likewise.
3246 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3247 (__PTHREAD_SPIN): Likewise.
3248 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3249 (__PTHREAD_SPIN): Likewise.
3250 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3251 (__PTHREAD_SPIN): Likewise.
3252 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3253 (__PTHREAD_SPIN): Likewise.
3254 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3255 (__PTHREAD_SPIN): Likewise.
3256 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3257 (__PTHREAD_SPIN): Likewise.
3258 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3259 (__PTHREAD_SPIN): Likewise.
3260
de21c33c
AZ
3261 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3262 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3263 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3264 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3265 imply folder.
3266 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3267 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3268 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3269 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3270 correct imply path.
3271 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3272 strlen symbol for non multi-arch builds.
3273 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3274 missing hidden_def and weak_alias.
3275
862c472e
CD
32762014-04-08 Carlos O'Donell <carlos@redhat.com>
3277
3278 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3279
8667f90e
WN
32802014-04-07 Will Newton <will.newton@linaro.org>
3281
3282 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3283 and contents. [!_LIBC] Remove #ifndef and contents.
3284 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3285 * string/memccpy.c (__memccpy): Use ANSI prototype.
3286 * string/memfrob.c (memfrob): Likewise.
3287 * string/strcoll.c (STRCOLL): Likewise.
3288 * string/strlen.c (strlen): Likewise.
3289 * string/strtok.c (STRTOK): Likewise.
3290 * string/strcat.c: Remove unused #include of memcopy.h.
3291 (strcat): Use ANSI prototype.
3292 * string/strchr.c: Remove unused #include of memcopy.h.
3293 (strchr): Use ANSI prototype.
3294 * string/strcmp.c: Remove unused #include of memcopy.h.
3295 (strcmp): Use ANSI prototype.
3296 * string/strcpy.c: Remove unused #include of memcopy.h.
3297 (strcpy): Use ANSI prototype.
3298
7ffa9423
AZ
32992014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3300
3301 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3302 * config.make.in (config-extra-cppflags): Set it from
3303 libc_extra_cppflags.
3304 * configure.ac (libc_extra_cflags): Make it accumulate over
3305 configure fragments.
3306 (libc_extra_cppflags): New flag.
3307 * configure. Regenerate.
3308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3309 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3310 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3312
8bd70862
AZ
3313 [BZ #16815]
3314 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3315 result for FE_DOWNWARD rounding mode.
3316 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3317 Likewise.
3318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3319
d42f3448
CM
33202014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3321
3322 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3323 in function argument name.
3324
1c21d115
DS
33252014-04-03 David Svoboda <svoboda@cert.org>
3326
3327 [BZ #5666]
3328 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3329 explicitly.
3330
fcccd512
RM
33312014-04-03 Roland McGrath <roland@hack.frob.com>
3332
3333 * elf/dl-unmap-segments.h: New file.
3334 * sysdeps/generic/ldsodefs.h
3335 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3336 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3337 * elf/dl-fptr.c: Likewise.
3338 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3339 * sysdeps/aarch64/tlsdesc.c: Likewise.
3340 * sysdeps/arm/tlsdesc.c: Likewise.
3341 * sysdeps/i386/tlsdesc.c: Likewise.
3342 * sysdeps/tile/dl-runtime.c: Likewise.
3343 * sysdeps/x86_64/tlsdesc.c: Likewise.
3344 * elf/dl-load.h: New file.
3345 * elf/dl-load.c: Include it.
3346 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3347 Macros moved to dl-load.h.
3348 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3349 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3350 Use _dl_unmap_segments in place of __munmap.
3351 Break out segment-mapping loop into ...
3352 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3353
f6488e2b
WN
33542014-04-03 Will Newton <will.newton@linaro.org>
3355
3356 * elf/dl-lookup.c (do_lookup_x): Remove comment
3357 referring to nested function and move variable
3358 declarations down to before first use.
3359
6f05bafe
JM
33602014-04-02 Joseph Myers <joseph@codesourcery.com>
3361
a84e78c8
JM
3362 [BZ #16799]
3363 [BZ #16800]
3364 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3365 with 0 numerator.
3366 * math/s_catanf.c (__catanf): Likewise.
3367 * math/s_catanh.c (__catanh): Likewise.
3368 * math/s_catanhf.c (__catanhf): Likewise.
3369 * math/s_catanhl.c (__catanhl): Likewise.
3370 * math/s_catanl.c (__catanl): Likewise.
3371 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3372 by positive zero when computing -Inf result.
3373 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3374 (catanh_test): Likewise.
3375 * sysdeps/i386/fpu/libm-test-ulps: Update.
3376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3377
6f05bafe
JM
3378 [BZ #16789]
3379 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3380 instead of using underflowing value in computing result.
3381 * math/s_clog10.c (__clog10): Likewise.
3382 * math/s_clog10f.c (__clog10f): Likewise.
3383 * math/s_clog10l.c (__clog10l): Likewise.
3384 * math/s_clogf.c (__clogf): Likewise.
3385 * math/s_clogl.c (__clogl): Likewise.
3386 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3387 (clog10_test): Likewise.
3388 * sysdeps/i386/fpu/libm-test-ulps: Update.
3389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3390
b0abbc21
AM
33912014-04-02 Alan Modra <amodra@gmail.com>
3392
3393 [BZ #16739]
3394 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3395 output when value is near a power of two. Use int64_t for lx and
3396 remove casts. Use decimal rather than hex exponent constants.
3397 Don't use long double multiplication when double will suffice.
3398 * math/libm-test.inc (nextafter_test_data): Add tests.
3399 * NEWS: Add 16739 and 16786 to bug list.
3400
af6b1797
AM
3401 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3402
483818d7
AM
3403 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3404
f6c55796
WN
34052014-04-01 Will Newton <will.newton@linaro.org>
3406
3407 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3408 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3409
13f7fe35
FW
34102014-04-01 Florian Weimer <fweimer@redhat.com>
3411
3412 [BZ #13347]
3413 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3414 * nptl/tst-setuid2.c: New file.
3415 * nptl/Makefile (xtests): Add tst-setuid2.
3416
c859b32e
AM
34172014-04-01 Alan Modra <amodra@gmail.com>
3418
3419 [BZ #16786]
3420 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3421
54fa2475
JM
34222014-03-31 Joseph Myers <joseph@codesourcery.com>
3423
8795b4a4
JM
3424 [BZ #6803]
3425 [BZ #6804]
3426 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3427 set errno as appropriate.
3428 * math/w_scalbf.c (__scalbf): Likewise.
3429 * math/w_scalbl.c (__scalbl): Likewise.
3430 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3431 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3432 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3433 Add more NaN tests.
3434
54fa2475
JM
3435 [BZ #16349]
3436 * math/w_atan2.c: Include <errno.h>.
3437 (__atan2): Set errno for result underflowing to zero.
3438 * math/w_atan2f.c: Include <errno.h>.
3439 (__atan2f): Set errno for result underflowing to zero.
3440 * math/w_atan2l.c: Include <errno.h>.
3441 (__atan2l): Set errno for result underflowing to zero.
3442 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3443 tests.
3444 * math/auto-libm-test-out: Regenerated.
3445
757d9dd5
AZ
34462014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3447
3448 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3449 Encode instruction correctly in little endian.
3450 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3451 Likewise.
3452 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3453 Likewise.
3454 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3455 Likewise.
3456 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3457 Likewise.
3458
d7a68734
JM
34592014-03-31 Joseph Myers <joseph@codesourcery.com>
3460
47c5adeb
JM
3461 [BZ #9894]
3462 * sysdeps/unix/sysv/linux/kernel-features.h
3463 [__sparc__ && !__arch64__ && !__sparc_v9__]
3464 (__ASSUME_SET_ROBUST_LIST): Do not define.
3465 [__sparc__ && !__arch64__ && !__sparc_v9__]
3466 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3467 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3468 Likewise.
3469 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3470 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3471 (__ASSUME_REQUEUE_PI): Likewise.
3472 (__ASSUME_SET_ROBUST_LIST): Likewise.
3473 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3474 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3475 Undefine.
3476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3477 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3478 Likewise.
3479 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3480 Likewise.
3481 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3482 Likewise.
3483 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3484 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3485 Undefine.
3486 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3487 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3488 Likewise.
3489
d7a68734
JM
3490 [BZ #16648]
3491 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3492 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3493 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3494
c760f5c2
WN
34952014-03-31 Will Newton <will.newton@linaro.org>
3496
3497 * benchtests/Makefile (bench): Add ffs and ffsll to list
3498 of tests.
3499 * benchtests/ffs-inputs: New file.
3500 * benchtests/ffsll-inputs: Likewise.
3501
ea6029b1
JM
35022014-03-29 Joseph Myers <joseph@codesourcery.com>
3503
3504 [BZ #16770]
3505 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3506 too large before casting to int.
3507 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3508 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3509 * math/libm-test.inc (scalb_test_data): Add more tests.
3510
cf806aff
SP
35112014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3512
56737508
SP
3513 * benchtests/Makefile (DETAILED_OPT): New make option.
3514 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3515 set.
3516 * benchtests/bench-skeleton.c: Include stdbool.h.
3517 (main): Store and print timings per input.
3518 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3519 member to each argument value.
3520 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3521 (_print_arg_data): Initialize per-input timing to 0.
3522
cb5e4aad
SP
3523 * benchtests/Makefile (timing-type): New binary.
3524 (bench-clean): Also remove bench-timing-type.
3525 (bench): New target for timing-type.
3526 (bench-func): Print output in JSON format.
3527 * benchtests/bench-skeleton.c (main): Print output in JSON
3528 format.
3529 * benchtests/bench-timing-type.c: New file.
3530 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3531 (TIMING_PRINT_STATS): Remove.
3532 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3533 name separately.
3534
cf806aff
SP
3535 * benchtests/bench-modf.c: Remove.
3536 * benchtests/modf-inputs: New inputs file.
3537
289e0779
JM
35382014-03-28 Joseph Myers <joseph@codesourcery.com>
3539
3540 [BZ #16362]
3541 * math/s_clog10.c (M_PI_LOG10E): New macro.
3542 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3543 imaginary parts are 0.
3544 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3545 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3546 imaginary parts are 0.
3547 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3548 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3549 imaginary parts are 0.
3550 * math/libm-test.inc (clog10_test_data): Update expected results
3551 for when real and imaginary parts are 0.
3552
277ae3f1
PP
35532014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3554
3555 * elf/dl-load.c: Finish conversion of __builtin_expect into
3556 __glibc_{un}likely.
3557
03a7091f
JM
35582014-03-27 Joseph Myers <joseph@codesourcery.com>
3559
3560 [BZ #16348]
3561 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3562 1+x for argument with exponent below -67.
3563 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3564 Likewise.
3565 * math/auto-libm-test-in: Add more tests of exp.
3566 * math/auto-libm-test-out: Regenerated.
3567
ea7d8b95
SP
35682014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3569
dd3022d7
SP
3570 [BZ #16759]
3571 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3572 (nscd_getnetgrent): Use it.
3573
ea7d8b95
SP
3574 [BZ #16760]
3575 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3576 of stpcpy.
3577
df5b85da
AK
35782014-03-27 Andi Kleen <ak@linux.intel.com>
3579
57f41c40
AS
3580 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3581 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3582 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3583 (lll_robust_unlock): Remove out of line section. Use cfi
3584 intrinsics.
df5b85da 3585 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3586 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3587 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3588 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3589 (lll_robust_unlock): Remove out of line section. Use cfi
3590 intrinsics.
df5b85da
AK
3591 (LLL_STUB_UNWIND_INFO*): Remove.
3592
fbd6b5a4
SP
35932014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3594
3595 [BZ #16758]
3596 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3597 blank values.
3598
1b26b855
PP
35992014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3600
3601 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3602
9be36fb8
JM
36032014-03-26 Joseph Myers <joseph@codesourcery.com>
3604
3605 [BZ #16198]
3606 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3607 fnstenv.
3608 * math/test-fenv-preserve.c: New file.
3609 * math/Makefile (tests): Add test-fenv-preserve.
3610
60a2f3c1
WN
36112014-03-26 Will Newton <will.newton@linaro.org>
3612
3613 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3614
a5e5f1e2
RM
36152014-03-25 Roland McGrath <roland@hack.frob.com>
3616
3617 * scripts/versionlist.awk: Partition the version sets and emit all
3618 GLIBC_* (sorted) before all others (sorted).
3619
00f4012a
JM
36202014-03-25 Joseph Myers <joseph@codesourcery.com>
3621
3622 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3623 GLIBC_2.2.5 version.
3624
7bc5a741
AZ
36252014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3626
3627 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3628 calls.
3629
7578473b
AZ
3630 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3631 previous change.
3632
f3f1dab3
AZ
3633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3634
6da36183
AS
36352014-03-25 Andreas Schwab <schwab@suse.de>
3636
3637 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3638 label to be used after in6ailist is initialized.
3639
f3f1dab3 36402014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3641
7578473b 3642 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3643 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3644
046651c1
JM
36452014-03-25 Joseph Myers <joseph@codesourcery.com>
3646
3647 [BZ #16357]
3648 [BZ #16599]
3649 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3650 min_plus_half.
3651 (fp_formats): Update initializers.
3652 (init_fp_formats): Initialize new field.
3653 (output_for_one_input_case): Allow underflow for results up to
3654 min_plus_half.
3655 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3656 * math/auto-libm-test-in: Don't mark some underflows from asin and
3657 atanh as spurious.
3658 * math/auto-libm-test-out: Regenerated.
3659 * sysdeps/i386/fpu/libm-test-ulps: Update.
3660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3661
003e49ed
AS
36622014-03-25 Andreas Schwab <schwab@suse.de>
3663
3664 * libio/Makefile (tst-ftell-partial-wide-ENV)
3665 (tst-ftell-active-handler-ENV): Define.
3666
de031874
SL
36672014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3668
3669 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3670
55a81e3b
PP
36712014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3672
3673 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3674
f3426898
JM
36752014-03-24 Joseph Myers <joseph@codesourcery.com>
3676
3677 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3678 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3679 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3680
a42faf59
PP
36812014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3682
3683 [BZ #16634]
a42faf59 3684 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3685 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3686 (open_path): Change from boolean 'secure' to complete flag 'mode'
3687 (_dl_map_object): Adjust.
a42faf59
PP
3688 * elf/Makefile (tests): Add tst-dlopen-aout.
3689 * elf/tst-dlopen-aout.c: New test.
3690
50936127
SL
36912014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3692
3693 [BZ #16714]
3694 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3695 (struct stat): Rename member pad0 to __glibc_reserved0.
3696
26011b5c
SL
3697 [BZ #16712]
3698 * sysdeps/s390/s390-32/bits/wordsize.h
3699 (__WORDSIZE32_SIZE_ULONG): New define.
3700 * sysdeps/s390/s390-64/bits/wordsize.h
3701 (__WORDSIZE32_SIZE_ULONG): Likewise.
3702 * sysdeps/generic/stdint.h (SIZE_MAX):
3703 Define as UL if __WORDSIZE32_SIZE_ULONG.
3704
a2d86bf1
SL
3705 [BZ #16713]
3706 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3707 (__glibc_reserved0): New variable.
3708 (sa_flags): Change type to int.
3709
78b6eebc
SL
3710 * posix/Makefile (before-compile): Use += before-compile instead
3711 of a :=.
3712
f1399b5a
SL
3713 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3714 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3715
a071766e
AS
37162014-03-20 Andreas Schwab <schwab@suse.de>
3717
3718 [BZ #16743]
3719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3720 non-matching result from nscd.
3721
27c673b8
SP
37222014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3723
3724 * scripts/bench.py: Moved to ...
3725 * benchtests/scripts/bench.py: ... here.
3726 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3727
44152e4b
AS
37282014-03-24 Andreas Schwab <schwab@suse.de>
3729
3730 [BZ #16002]
3731 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3732 alloca_account and account alloca use for struct in6ailist.
3733
b376a11a
JM
37342014-03-24 Joseph Myers <joseph@codesourcery.com>
3735
3736 [BZ #16284]
3737 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3738 rounding mode to recompute results that overflow to infinity or
3739 underflow to zero.
3740 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3741 bug 16284.
3742 * math/auto-libm-test-out: Regenerated.
3743 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3744 (ccosh_test): Likewise.
3745 (csin_test_data): Use plus_oflow.
3746 (csin_test): Use ALL_RM_TEST.
3747 (csinh_test_data): Use plus_oflow.
3748 (csinh_test): Use ALL_RM_TEST.
3749 * sysdeps/i386/fpu/libm-test-ulps: Update.
3750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3751
f7be7376
JM
37522014-03-21 Joseph Myers <joseph@codesourcery.com>
3753
1ca2d03e
JM
3754 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3755 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3756 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3757
f7be7376
JM
3758 [BZ #16731]
3759 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3760 when x - 1 is zero.
3761 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3762 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3763 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3765 argument is 1.
3766 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3767 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3768 zero.
3769 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3770 * sysdeps/i386/fpu/libm-test-ulps: Update.
3771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3772
fdf4534d
SP
37732014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3774
df26ea53
SP
3775 * scripts/bench.pl: Remove file.
3776 * scripts/bench.py: New benchmark script.
3777 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3778 * benchtests/README: Mention python dependency.
3779 * scripts/pylintrc: New file.
3780 * scripts/pylint: New file.
3781
fdf4534d
SP
3782 * bits/mathdef.h: Use #ifdef instead of #if.
3783 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3784 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3785 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3786 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3787 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3788 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3789
6f23d093
AZ
37902014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3791 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3792
3793 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3795 and strpbrk-ppc64 objects.
3796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3797 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3798 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3799 multiarch strpbrk for POWER7.
3800 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3801 multiarch strpbrk for PPC64.
3802 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3803 ifunc selector.
3804 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3805 strpbrk for POWER7.
3806
8c92dfff
JM
38072014-03-20 Joseph Myers <joseph@codesourcery.com>
3808
3809 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3810 (atan_test): Likewise.
3811 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3812 (atanh_test): Use ALL_RM_TEST.
3813 (atan2_test_data): Likewise.
3814 (cabs_test): Likewise.
3815 (cacosh_test): Likewise.
3816 (carg_test): Likewise.
3817 (casin_test): Likewise.
3818 (casinh_test): Likewise.
3819 (cbrt_test): Likewise.
3820 (csqrt_test): Likewise.
3821 (erf_test): Likewise.
3822 (erfc_test): Likewise.
3823 (pow10_test): Likewise.
3824 (exp2_test): Likewise.
3825 (hypot_test): Likewise.
3826 (j0_test): Likewise.
3827 (j1_test): Likewise.
3828 (lgamma_test): Likewise.
3829 (gamma_test): Likewise.
3830 (sincos_test): Likewise.
3831 (tanh_test): Likewise.
3832 (y0_test): Likewise.
3833 (y1_test): Likewise.
3834 * sysdeps/i386/fpu/libm-test-ulps: Update.
3835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3836
6eaf95cb
AZ
38372014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3838
a387428c
SP
3839 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3841 and strcspn-ppc64 objects.
3842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3843 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3844 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3845 multiarch strcspn for POWER7.
3846 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3847 multiarch strcspn for PPC64.
3848 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3849 ifunc selector.
3850 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3851 strcspn for POWER7.
3852
ae3a5dff
JM
38532014-03-20 Joseph Myers <joseph@codesourcery.com>
3854
3855 * math/gen-libm-test.pl (generate_testfile): Expect only function
3856 name as argument to AUTO_TESTS_* and pass results for all rounding
3857 modes to parse_args.
3858 (parse_auto_input): Separate inputs of automatic tests from
3859 outputs before storing in %auto_tests.
3860 * math/libm-test.inc (acos_test_data): Update call to
3861 AUTO_TESTS_f_f.
3862 (acos_test): Use ALL_RM_TEST.
3863 (acos_tonearest_test_data): Remove.
3864 (acos_test_tonearest): Likewise.
3865 (acos_towardzero_test_data): Likewise.
3866 (acos_test_towardzero): Likewise.
3867 (acos_downward_test_data): Likewise.
3868 (acos_test_downward): Likewise.
3869 (acos_upward_test_data): Likewise.
3870 (acos_test_upward): Likewise.
3871 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3872 (asin_test_data): Likewise.
3873 (asin_test): Use ALL_RM_TEST.
3874 (asin_tonearest_test_data): Remove.
3875 (asin_test_tonearest): Likewise.
3876 (asin_towardzero_test_data): Likewise.
3877 (asin_test_towardzero): Likewise.
3878 (asin_downward_test_data): Likewise.
3879 (asin_test_downward): Likewise.
3880 (asin_upward_test_data): Likewise.
3881 (asin_test_upward): Likewise.
3882 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3883 (atan_test_data): Likewise.
3884 (atanh_test_data): Likewise.
3885 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3886 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3887 (carg_test_data): Likewise.
3888 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3889 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3890 (ccosh_test_data): Likewise.
3891 (cexp_test_data): Likewise.
3892 (clog_test_data): Likewise.
3893 (clog10_test_data): Likewise.
3894 (cos_test_data): Update call to AUTO_TESTS_f_f.
3895 (cos_test): Use ALL_RM_TEST.
3896 (cos_tonearest_test_data): Remove.
3897 (cos_test_tonearest): Likewise.
3898 (cos_towardzero_test_data): Likewise.
3899 (cos_test_towardzero): Likewise.
3900 (cos_downward_test_data): Likewise.
3901 (cos_test_downward): Likewise.
3902 (cos_upward_test_data): Likewise.
3903 (cos_test_upward): Likewise.
3904 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3905 (cosh_test): Use ALL_RM_TEST.
3906 (cosh_tonearest_test_data): Remove.
3907 (cosh_test_tonearest): Likewise.
3908 (cosh_towardzero_test_data): Likewise.
3909 (cosh_test_towardzero): Likewise.
3910 (cosh_downward_test_data): Likewise.
3911 (cosh_test_downward): Likewise.
3912 (cosh_upward_test_data): Likewise.
3913 (cosh_test_upward): Likewise.
3914 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3915 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3916 (ctan_test_data): Likewise.
3917 (ctan_test): Use ALL_RM_TEST.
3918 (ctan_tonearest_test_data): Remove.
3919 (ctan_test_tonearest): Likewise.
3920 (ctan_towardzero_test_data): Likewise.
3921 (ctan_test_towardzero): Likewise.
3922 (ctan_downward_test_data): Likewise.
3923 (ctan_test_downward): Likewise.
3924 (ctan_upward_test_data): Likewise.
3925 (ctan_test_upward): Likewise.
3926 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3927 (ctanh_test): Use ALL_RM_TEST.
3928 (ctanh_tonearest_test_data): Remove.
3929 (ctanh_test_tonearest): Likewise.
3930 (ctanh_towardzero_test_data): Likewise.
3931 (ctanh_test_towardzero): Likewise.
3932 (ctanh_downward_test_data): Likewise.
3933 (ctanh_test_downward): Likewise.
3934 (ctanh_upward_test_data): Likewise.
3935 (ctanh_test_upward): Likewise.
3936 (erf_test_data): Update call to AUTO_TESTS_f_f.
3937 (erfc_test_data): Likewise.
3938 (exp_test_data): Likewise.
3939 (exp_test): Use ALL_RM_TEST.
3940 (exp_tonearest_test_data): Remove.
3941 (exp_test_tonearest): Likewise.
3942 (exp_towardzero_test_data): Likewise.
3943 (exp_test_towardzero): Likewise.
3944 (exp_downward_test_data): Likewise.
3945 (exp_test_downward): Likewise.
3946 (exp_upward_test_data): Likewise.
3947 (exp_test_upward): Likewise.
3948 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3949 (exp10_test): Use ALL_RM_TEST.
3950 (exp10_tonearest_test_data): Remove.
3951 (exp10_test_tonearest): Likewise.
3952 (exp10_towardzero_test_data): Likewise.
3953 (exp10_test_towardzero): Likewise.
3954 (exp10_downward_test_data): Likewise.
3955 (exp10_test_downward): Likewise.
3956 (exp10_upward_test_data): Likewise.
3957 (exp10_test_upward): Likewise.
3958 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3959 (expm1_test_data): Likewise.
3960 (expm1_test): Use ALL_RM_TEST.
3961 (expm1_tonearest_test_data): Remove.
3962 (expm1_test_tonearest): Likewise.
3963 (expm1_towardzero_test_data): Likewise.
3964 (expm1_test_towardzero): Likewise.
3965 (expm1_downward_test_data): Likewise.
3966 (expm1_test_downward): Likewise.
3967 (expm1_upward_test_data): Likewise.
3968 (expm1_test_upward): Likewise.
3969 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3970 (fma_test): Use ALL_RM_TEST.
3971 (fma_towardzero_test_data): Remove.
3972 (fma_test_towardzero): Likewise.
3973 (fma_downward_test_data): Likewise.
3974 (fma_test_downward): Likewise.
3975 (fma_upward_test_data): Likewise.
3976 (fma_test_upward): Likewise.
3977 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3978 (j0_test_data): Update call to AUTO_TESTS_f_f.
3979 (j1_test_data): Likewise.
3980 (jn_test_data): Update call to AUTO_TESTS_if_f.
3981 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3982 (log_test_data): Update call to AUTO_TESTS_f_f.
3983 (log10_test_data): Likewise.
3984 (log1p_test_data): Likewise.
3985 (log2_test_data): Likewise.
3986 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3987 (pow_tonearest_test_data): Likewise.
3988 (sin_test_data): Update call to AUTO_TESTS_f_f.
3989 (sin_test): Use ALL_RM_TEST.
3990 (sin_tonearest_test_data): Remove.
3991 (sin_test_tonearest): Likewise.
3992 (sin_towardzero_test_data): Likewise.
3993 (sin_test_towardzero): Likewise.
3994 (sin_downward_test_data): Likewise.
3995 (sin_test_downward): Likewise.
3996 (sin_upward_test_data): Likewise.
3997 (sin_test_upward): Likewise.
3998 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3999 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4000 (sinh_test): Use ALL_RM_TEST.
4001 (sinh_tonearest_test_data): Remove.
4002 (sinh_test_tonearest): Likewise.
4003 (sinh_towardzero_test_data): Likewise.
4004 (sinh_test_towardzero): Likewise.
4005 (sinh_downward_test_data): Likewise.
4006 (sinh_test_downward): Likewise.
4007 (sinh_upward_test_data): Likewise.
4008 (sinh_test_upward): Likewise.
4009 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4010 (sqrt_test): Use ALL_RM_TEST.
4011 (sqrt_tonearest_test_data): Remove.
4012 (sqrt_test_tonearest): Likewise.
4013 (sqrt_towardzero_test_data): Likewise.
4014 (sqrt_test_towardzero): Likewise.
4015 (sqrt_downward_test_data): Likewise.
4016 (sqrt_test_downward): Likewise.
4017 (sqrt_upward_test_data): Likewise.
4018 (sqrt_test_upward): Likewise.
4019 (tan_test_data): Update call to AUTO_TESTS_f_f.
4020 (tan_test): Use ALL_RM_TEST.
4021 (tan_tonearest_test_data): Remove.
4022 (tan_test_tonearest): Likewise.
4023 (tan_towardzero_test_data): Likewise.
4024 (tan_test_towardzero): Likewise.
4025 (tan_downward_test_data): Likewise.
4026 (tan_test_downward): Likewise.
4027 (tan_upward_test_data): Likewise.
4028 (tan_test_upward): Likewise.
4029 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4030 (tgamma_test_data): Likewise.
4031 (y0_test_data): Likewise.
4032 (y1_test_data): Likewise.
4033 (yn_test_data): Update call to AUTO_TESTS_if_f.
4034 (main): Do not call removed functions.
4035
d71aeee8
JM
40362014-03-19 Joseph Myers <joseph@codesourcery.com>
4037
4038 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4039 (ldexp_test_data): Remove.
4040 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4041 scalbn_test_data.
4042 (scalb_test): Use ALL_RM_TEST.
4043
baaf1ded
AS
40442014-03-19 Andreas Schwab <schwab@suse.de>
4045
4046 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4047
b1115e91
JM
40482014-03-19 Joseph Myers <joseph@codesourcery.com>
4049
4050 [BZ #16649]
4051 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4052 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4053 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4054 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4055 (__ASSUME_PREADV): Undefine.
4056 (__ASSUME_PWRITEV): Likewise.
4057
0283ecca
RM
40582014-03-18 Roland McGrath <roland@hack.frob.com>
4059
7d375303
RM
4060 * bits/mman-linux.h: Add comment about non-Linux use.
4061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4062 bits/mman-linux.h resting place.
4063
0283ecca
RM
4064 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4065 * bits/mman-linux.h: ... here.
4066
aebe1003
AZ
40672014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4068
4069 * conform/conformtest.pl: Add standard definition when calling C
4070 preprocessor on data files.
4071 (checknamespace): Remove unused variable.
4072
b29b6bb8
JM
40732014-03-18 Joseph Myers <joseph@codesourcery.com>
4074
4075 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4076 minus_oflow, plus_uflow and minus_uflow in expected results.
4077 * math/libm-test.inc (scalbn_test_data): Add more tests of
4078 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4079 minus_uflow.
4080 (scalbn_test): Use ALL_RM_TEST.
4081 (scalbln_test_data): Add more tests of negative arguments. Use
4082 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4083 (scalbln_test): Use ALL_RM_TEST.
4084
c8f8fa15
RM
40852014-03-18 Roland McGrath <roland@hack.frob.com>
4086
4087 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4088
fede7a5f
WN
40892014-03-18 Will Newton <will.newton@linaro.org>
4090
4091 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4092 inaccurate comment.
4093
80cf0a58
JM
40942014-03-18 Joseph Myers <joseph@codesourcery.com>
4095
4096 * Makerules [!subdir] (check-abi): Exit with error status if a
4097 test failed.
4098
b3620862
JM
40992014-03-17 Joseph Myers <joseph@codesourcery.com>
4100
4101 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4102 for rint. Include results for all rounding modes.
4103 (nearbyint_test): Use ALL_RM_TEST.
4104 (rint_test_data): Include all tests used for nearbyint.
4105
788bba36
WN
41062014-03-17 Will Newton <will.newton@linaro.org>
4107
04ec140a
WN
4108 * nptl/sysdeps/pthread/pthread.h: Revert previous
4109 change.
4110
7579d8d5
WN
4111 * sysdeps/generic/ldsodefs.h: Revert previous
4112 change.
4113
c15cf13a
WN
4114 * libio/genops.c: Revert previous change.
4115 * libio/libioP.h: Likewise.
4116 * stdio-common/vfprintf.c: Likewise.
4117
d0ac1324
WN
4118 * sysdeps/generic/math_private.h: Revert previous
4119 change.
4120
9290130a
WN
4121 * sysdeps/generic/math_private.h: Check whether
4122 HAVE_RM_CTX is defined with #ifdef rather
4123 than #if.
4124
afb466fc
WN
4125 * argp/argp-fmtstream.h: Check whether
4126 __STRICT_ANSI__ is defined with #ifdef rather
4127 than #if.
4128 * argp/argp.h: Likewise.
4129
f7efd7c3
WN
4130 * libio/genops.c: Check whether
4131 _IO_JUMPS_OFFSET is defined with #ifdef rather
4132 than #if.
4133 * libio/libioP.h: Likewise.
4134 * stdio-common/vfprintf.c: Likewise.
4135
53f1bed3
WN
4136 * sysdeps/generic/ldsodefs.h: Check whether
4137 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4138 than #if.
4139
788bba36
WN
4140 * nptl/sysdeps/pthread/pthread.h: Check
4141 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4142 its value.
4143
fcd89ebe
SP
41442014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4145
ae42bbc5
SP
4146 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4147 setting O_APPEND.
4148 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4149 test case.
4150
ea33158c
SP
4151 [BZ #16680]
4152 * libio/fileops.c (_IO_file_open): Seek to end of file but
4153 don't cache the offset.
4154 (get_file_offset): Remove function.
4155 (do_ftell): Use cached offset when available.
4156 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4157 don't cache the offset.
4158 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4159 case.
4160 (do_one_test): Call it.
4161 (do_ftell_test): Fix up expected old offset for a+ mode.
4162 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4163 available.
4164
b1dbb426
SP
4165 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4166 up test status with function return status.
4167 (do_write_test): Likewise.
4168 (do_append_test): Likewise.
4169
fcd89ebe
SP
4170 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4171 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4172 Remove.
4173
9962a2d3
JM
41742014-03-17 Joseph Myers <joseph@codesourcery.com>
4175
4176 * math/gen-libm-test.pl (parse_args): Handle results specified for
4177 each rounding mode separately.
4178 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4179 tests and results from lrint_tonearest_test_data,
4180 lrint_towardzero_test_data, lrint_downward_test_data and
4181 lrint_upward_test_data.
4182 (lrint_test): Use ALL_RM_TEST.
4183 (lrint_tonearest_test_data): Remove.
4184 (lrint_test_tonearest): Likewise.
4185 (lrint_towardzero_test_data): Likewise.
4186 (lrint_test_towardzero): Likewise.
4187 (lrint_downward_test_data): Likewise.
4188 (lrint_test_downward): Likewise.
4189 (lrint_upward_test_data): Likewise.
4190 (lrint_test_upward): Likewise.
4191 (llrint_test_data): Merge in per-rounding-mode tests and results
4192 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4193 llrint_downward_test_data and llrint_upward_test_data.
4194 (llrint_test): Use ALL_RM_TEST.
4195 (llrint_tonearest_test_data): Remove.
4196 (llrint_test_tonearest): Likewise.
4197 (llrint_towardzero_test_data): Likewise.
4198 (llrint_test_towardzero): Likewise.
4199 (llrint_downward_test_data): Likewise.
4200 (llrint_test_downward): Likewise.
4201 (llrint_upward_test_data): Likewise.
4202 (llrint_test_upward): Likewise.
4203 (rint_test_data): Merge in per-rounding-mode tests and results
4204 from rint_tonearest_test_data, rint_towardzero_test_data,
4205 rint_downward_test_data and rint_upward_test_data. Add
4206 per-rounding-mode results for tests not in those arrays.
4207 (rint_test): Use ALL_RM_TEST.
4208 (rint_tonearest_test_data): Remove.
4209 (rint_test_tonearest): Likewise.
4210 (rint_towardzero_test_data): Likewise.
4211 (rint_test_towardzero): Likewise.
4212 (rint_downward_test_data): Likewise.
4213 (rint_test_downward): Likewise.
4214 (rint_upward_test_data): Likewise.
4215 (rint_test_upward): Likewise.
4216 (main): Don't call removed functions.
4217
5006148e
RM
42182014-03-14 Roland McGrath <roland@hack.frob.com>
4219
4220 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4221 "Compiled on ..." crapola. It is anti-useful.
4222
d6fe5e58
JM
42232014-03-14 Joseph Myers <joseph@codesourcery.com>
4224
4225 * scripts/evaluate-test.sh: Handle fourth argument to determine
4226 whether test run should stop on failure.
4227 * Makeconfig (stop-on-test-failure): New variable.
4228 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4229 $(stop-on-test-failure).
4230 * Makefile (tests): Give a summary of results from testing and
4231 exit with failure status if they include an ERROR or FAIL.
4232 (xtests): Likewise.
4233 * manual/install.texi (Configuring and compiling): Mention
4234 stop-on-test-failure=y.
4235 * INSTALL: Regenerated.
4236
498a2233
RM
42372014-03-14 Roland McGrath <roland@hack.frob.com>
4238
22dbc19d
RM
4239 * scripts/versionlist.awk: New file.
4240 * Makerules [$(build-shared) = yes]
4241 (postclean-generated): Add Versions.def, not Versions.def.v and
4242 Versions.def.v.i.
4243 ($(common-objpfx)Versions.def.v.i): Target removed.
4244 ($(common-objpfx)Versions.def): New target.
4245 ($(common-objpfx)Versions.all): Depend on that rather that
4246 $(common-objpfx)Versions.def.v.
4247 * Versions.def: File removed.
4248
498a2233
RM
4249 * Makeconfig (+gccwarn): Add -Wundef.
4250 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4251 a dl-sysdep.h breaking its contract.
4252 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4253 * include/stackinfo.h: New file.
4254 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4255 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4256 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4257 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4258 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4259 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4260 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4261 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4262 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4263 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4264 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4265 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4266 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4267 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4268 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4269
c7de5025
AZ
42702014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4271
4272 [BZ #16707]
4273 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4274 implementation.
4275 * math/libm-test.inc (round_test_data): Add more tests.
4276
98fb27a3
AZ
4277 [BZ #16706]
4278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4279 implementation.
4280 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4281
374f7f61
AZ
4282 [BZ #16701]
4283 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4284 implementation.
4285 * math/libm-test.inc (ceil_test_data): Add more tests.
4286
4655c291
AZ
4287 * math/libm-test.inc (trunc_test_data): Add more tests related to
4288 BZ#16414.
4289
d7329d4b
RM
42902014-03-14 Roland McGrath <roland@hack.frob.com>
4291
4292 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4293 with #if rather than #ifdef.
4294 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4295
aa4de9ce
L
42962014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4297
4298 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4299 first. Disable AVX-512 GCC support if assembler doesn't support
4300 it.
4301 * sysdeps/x86_64/configure: Regenerated.
4302
2e03fae7
CD
43032014-03-13 Carlos O'Donell <carlos@redhat.com>
4304
4305 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4306 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4307 (__old_pthread_attr_setstack): Likewise.
4308 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4309 [!_STACK_GROWS_DOWN]: Likewise.
4310
43ca83ec
MF
43112014-03-13 Mike Frysinger <vapier@gentoo.org>
4312
4313 * config.make.in (have-bash2): Delete.
4314 * configure.ac (libc_cv_have_bash2): Delete.
4315 * configure: Regenerate.
4316 * elf/Makefile (common-ldd-rewrite): Rename to ...
4317 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4318 (sh-ldd-rewrite): Delete.
4319 (bash-ldd-rewrite): Delete.
4320 (have-bash2): Delete checks.
57f41c40
AS
4321 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4322 ldd-rewrite.
c66e48b4
MF
4323
4324 * config.make.in (have-ksh): Delete.
4325 (KSH): Delete.
4326 * configure.ac (libc_cv_have_ksh): Delete.
4327 * configure: Regenerate.
4328
b93834ef
MF
4329 * elf/Makefile: Delete $(have-ksh) check.
4330 ($(objpfx)sotruss): Change KSH to BASH.
4331 * elf/sotruss.ksh: Rename to ...
4332 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4333 function style to match POSIX. Drop ksh vim mode setting.
4334
f3a4632a
MF
4335 * manual/time.texi (Specifying the Time Zone with TZ): Change
4336 Tuesday to Thursday.
4337
5896c8bd
MF
4338 * debug/tst-longjmp_chk2.c: Update header comment.
4339 (stackoverflow_handler): Add comment. Call assert on pass value.
4340
2d63a517
IZ
43412014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4342
4343 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4344 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4345 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4346 (La_x86_64_vector): Add zmm.
4347 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4348 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4349 ($(objpfx)tst-audit10): New target.
4350 ($(objpfx)tst-audit10.out): Likewise.
4351 (tst-audit10-ENV): New.
4352 (AVX512-CFLAGS): Likewise.
4353 (CFLAGS-tst-audit10.c): Likewise.
4354 (CFLAGS-tst-auditmod10a.c): Likewise.
4355 (CFLAGS-tst-auditmod10b.c): Likewise.
4356 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4357 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4358 * sysdeps/x86_64/configure: Regenerated.
4359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4360 AVX-512 zmm register support.
4361 (_dl_x86_64_save_sse): Likewise.
4362 (_dl_x86_64_restore_sse): Likewise.
4363 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4364 size vector registers.
4365 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4366 (ZMM_SIZE): Likewise.
4367 * sysdeps/x86_64/tst-audit10.c: New file.
4368 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4369 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4370
44c4e5d5
RM
43712014-03-13 Roland McGrath <roland@hack.frob.com>
4372
4373 * configure.ac (HAVE_EHDR_START): New check.
4374 * configure: Regenerated.
4375 * config.h.in (HAVE_EHDR_START): New #undef.
4376 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4377 assuming the lowest-addressed segment maps the start of the file.
4378
acd6e389
JM
43792014-03-13 Joseph Myers <joseph@codesourcery.com>
4380
4381 * INSTALL: Regenerated.
4382
6f918f36
WN
43832014-03-13 Will Newton <will.newton@linaro.org>
4384
4385 * manual/setjmp.texi (System V contexts): Improve
4386 clarity and grammar of documentation.
4387
798212a0
PP
43882014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4389
4390 [BZ #16381]
798212a0 4391 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 4392 (tests-pie): Add tst-pie2.
798212a0
PP
4393 * elf/tst-pie2.c: New file.
4394 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4395 for ET_EXEC.
4396 * elf/rtld.c (map_doit): Load executable as lt_executable.
4397 (dl_main): Likewise.
4398
abe6d90c
JM
43992014-03-12 Joseph Myers <joseph@codesourcery.com>
4400
4401 [BZ #16642]
4402 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4403 (__ASSUME_PSELECT): Undefine.
4404
dd3946c6
AZ
44052014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4406
4407 [BZ #16689]
4408 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4409 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4410 static build.
4411 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4412 selector for static builds.
4413
c44496df
SP
44142014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4415
4416 [BZ #16695]
4417 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4418 key in the buffer.
4419
27c7220a
AZ
44202014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4421
57f41c40
AS
4422 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4423 IFUNC selector for static builds.
27c7220a 4424
600fa361
JM
44252014-03-11 Joseph Myers <joseph@codesourcery.com>
4426
76c96cf7
JM
4427 * sysdeps/mips/math_private.h [__mips_hard_float]
4428 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4429 libc_feresetround_mips_ctx.
4430 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4431 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4432 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4433
600fa361
JM
4434 [BZ #16677]
4435 * math/s_nextafter.c (__nextafter): Do not return value from
4436 overflowing computation.
4437 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4438 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4439 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4440 Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4442 Likewise.
4443 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4444 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4445
d7706c32
RM
44462014-03-11 Roland McGrath <roland@hack.frob.com>
4447
4448 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4449 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4450 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4451 the new mov targetting sp.
4452
4facea47
AZ
44532014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4454
4455 [BZ #16683]
4456 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4457 Define it for static builds as well.
4458 (NO_BZERO_IMPL): Likewise.
4459
e65caf1f
VR
44602014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4461
4462 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4463 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4464 multiarch strspn for PPC64.
4465 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4466 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4468 (__libc_ifunc_impl_list): Likewise.
4469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4470 multiarch optimizations
4471 * string/strspn.c (strspn): Using macro to redefine symbol name.
4472
ba9cc071
AZ
44732014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4474 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4475
4476 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4477 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4478 multiarch strncat for PPC64.
4479 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4480 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4482 (__libc_ifunc_impl_list): Likewise.
4483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4484 multiarch optimizations
4485
8b4ff974
SP
44862014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4487
4488 [BZ #16639]
4489 * nscd/nscd.service: Make service type forking.
4490
54b46a4b
AZ
44912014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4492
4493 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4494 sign in non default rounding modes.
4495 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4496
e9996ef7
JM
44972014-03-08 Joseph Myers <joseph@codesourcery.com>
4498
4499 * math/libm-test.inc (ALL_RM_TEST): New macro.
4500 (ceil_test): Use ALL_RM_TEST.
4501 (cimag_test): Likewise.
4502 (conj_test): Likewise.
4503 (copysign_test): Likewise.
4504 (cproj_test): Likewise.
4505 (creal_test): Likewise.
4506 (fabs_test): Likewise.
4507 (floor_test): Likewise.
4508 (fmax_test): Likewise.
4509 (fmin_test): Likewise.
4510 (fmod_test): Likewise.
4511 (fpclassify_test): Likewise.
4512 (frexp_test): Likewise.
4513 (ilogb_test): Likewise.
4514 (isfinite_test): Likewise.
4515 (finite_test): Likewise.
4516 (isgreater_test): Likewise.
4517 (isgreaterequal_test): Likewise.
4518 (isinf_test): Likewise.
4519 (isless_test): Likewise.
4520 (islessequal_test): Likewise.
4521 (islessgreater_test): Likewise.
4522 (isnan_test): Likewise.
4523 (isnormal_test): Likewise.
4524 (issignaling_test): Likewise.
4525 (isunordered_test): Likewise.
4526 (logb_test): Likewise.
4527 (logb_downward_test_data): Remove.
4528 (logb_test_downward): Likewise.
4529 (lround_test): Use ALL_RM_TEST.
4530 (llround_test): Likewise.
4531 (modf_test): Likewise.
4532 (nexttoward_test): Likewise.
4533 (remainder_test): Likewise.
4534 (drem_test): Likewise.
4535 (remainder_tonearest_test_data): Likewise.
4536 (remainder_test_tonearest): Likewise.
4537 (drem_test_tonearest): Likewise.
4538 (remainder_towardzero_test_data): Likewise.
4539 (remainder_test_towardzero): Likewise.
4540 (drem_test_towardzero): Likewise.
4541 (remainder_downward_test_data): Likewise.
4542 (remainder_test_downward): Likewise.
4543 (drem_test_downward): Likewise.
4544 (remainder_upward_test_data): Likewise.
4545 (remainder_test_upward): Likewise.
4546 (drem_test_upward): Likewise.
4547 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4548 (round_test): Use ALL_RM_TEST.
4549 (signbit_test): Likewise.
4550 (trunc_test): Likewise.
4551 (significand_test): Likewise.
4552 (main): Don't call removed functions.
4553
bc61d27c
JM
45542014-03-07 Joseph Myers <joseph@codesourcery.com>
4555
5c780849
JM
4556 [BZ #16674]
4557 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4558 || __USE_XOPEN2K8].
4559 (ILL_ILLOPN): Likewise.
4560 (ILL_ILLADR): Likewise.
4561 (ILL_ILLTRP): Likewise.
4562 (ILL_PRVOPC): Likewise.
4563 (ILL_PRVREG): Likewise.
4564 (ILL_COPROC): Likewise.
4565 (ILL_BADSTK): Likewise.
4566 (FPE_INTDIV): Likewise.
4567 (FPE_INTOVF): Likewise.
4568 (FPE_FLTDIV): Likewise.
4569 (FPE_FLTOVF): Likewise.
4570 (FPE_FLTUND): Likewise.
4571 (FPE_FLTRES): Likewise.
4572 (FPE_FLTINV): Likewise.
4573 (FPE_FLTSUB): Likewise.
4574 (SEGV_MAPERR): Likewise.
4575 (SEGV_ACCERR): Likewise.
4576 (BUS_ADRALN): Likewise.
4577 (BUS_ADRERR): Likewise.
4578 (BUS_OBJERR): Likewise.
4579 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4580 (TRAP_TRACE): Likewise.
4581 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4582 __USE_XOPEN2K8].
4583 (CLD_KILLED): Likewise.
4584 (CLD_DUMPED): Likewise.
4585 (CLD_TRAPPED): Likewise.
4586 (CLD_STOPPED): Likewise.
4587 (CLD_CONTINUED): Likewise.
4588 (POLL_IN): Likewise.
4589 (POLL_OUT): Likewise.
4590 (POLL_MSG): Likewise.
4591 (POLL_ERR): Likewise.
4592 (POLL_PRI): Likewise.
4593 (POLL_HUP): Likewise.
4594 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4595 Likewise.
4596 (ILL_ILLOPN): Likewise.
4597 (ILL_ILLADR): Likewise.
4598 (ILL_ILLTRP): Likewise.
4599 (ILL_PRVOPC): Likewise.
4600 (ILL_PRVREG): Likewise.
4601 (ILL_COPROC): Likewise.
4602 (ILL_BADSTK): Likewise.
4603 (FPE_INTDIV): Likewise.
4604 (FPE_INTOVF): Likewise.
4605 (FPE_FLTDIV): Likewise.
4606 (FPE_FLTOVF): Likewise.
4607 (FPE_FLTUND): Likewise.
4608 (FPE_FLTRES): Likewise.
4609 (FPE_FLTINV): Likewise.
4610 (FPE_FLTSUB): Likewise.
4611 (SEGV_MAPERR): Likewise.
4612 (SEGV_ACCERR): Likewise.
4613 (BUS_ADRALN): Likewise.
4614 (BUS_ADRERR): Likewise.
4615 (BUS_OBJERR): Likewise.
4616 (BUS_MCEERR_AR): Likewise.
4617 (BUS_MCEERR_AO): Likewise.
4618 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4619 (TRAP_TRACE): Likewise.
4620 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4621 __USE_XOPEN2K8].
4622 (CLD_KILLED): Likewise.
4623 (CLD_DUMPED): Likewise.
4624 (CLD_TRAPPED): Likewise.
4625 (CLD_STOPPED): Likewise.
4626 (CLD_CONTINUED): Likewise.
4627 (POLL_IN): Likewise.
4628 (POLL_OUT): Likewise.
4629 (POLL_MSG): Likewise.
4630 (POLL_ERR): Likewise.
4631 (POLL_PRI): Likewise.
4632 (POLL_HUP): Likewise.
4633 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4634 (ILL_ILLOPN): Likewise.
4635 (ILL_ILLADR): Likewise.
4636 (ILL_ILLTRP): Likewise.
4637 (ILL_PRVOPC): Likewise.
4638 (ILL_PRVREG): Likewise.
4639 (ILL_COPROC): Likewise.
4640 (ILL_BADSTK): Likewise.
4641 (FPE_INTDIV): Likewise.
4642 (FPE_INTOVF): Likewise.
4643 (FPE_FLTDIV): Likewise.
4644 (FPE_FLTOVF): Likewise.
4645 (FPE_FLTUND): Likewise.
4646 (FPE_FLTRES): Likewise.
4647 (FPE_FLTINV): Likewise.
4648 (FPE_FLTSUB): Likewise.
4649 (SEGV_MAPERR): Likewise.
4650 (SEGV_ACCERR): Likewise.
4651 (BUS_ADRALN): Likewise.
4652 (BUS_ADRERR): Likewise.
4653 (BUS_OBJERR): Likewise.
4654 (BUS_MCEERR_AR): Likewise.
4655 (BUS_MCEERR_AO): Likewise.
4656 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4657 (TRAP_TRACE): Likewise.
4658 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4659 __USE_XOPEN2K8].
4660 (CLD_KILLED): Likewise.
4661 (CLD_DUMPED): Likewise.
4662 (CLD_TRAPPED): Likewise.
4663 (CLD_STOPPED): Likewise.
4664 (CLD_CONTINUED): Likewise.
4665 (POLL_IN): Likewise.
4666 (POLL_OUT): Likewise.
4667 (POLL_MSG): Likewise.
4668 (POLL_ERR): Likewise.
4669 (POLL_PRI): Likewise.
4670 (POLL_HUP): Likewise.
4671 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4672 Likewise.
4673 (ILL_ILLOPN): Likewise.
4674 (ILL_ILLADR): Likewise.
4675 (ILL_ILLTRP): Likewise.
4676 (ILL_PRVOPC): Likewise.
4677 (ILL_PRVREG): Likewise.
4678 (ILL_COPROC): Likewise.
4679 (ILL_BADSTK): Likewise.
4680 (ILL_BADIADDR): Likewise.
4681 (ILL_BREAK): Likewise.
4682 (FPE_INTDIV): Likewise.
4683 (FPE_INTOVF): Likewise.
4684 (FPE_FLTDIV): Likewise.
4685 (FPE_FLTOVF): Likewise.
4686 (FPE_FLTUND): Likewise.
4687 (FPE_FLTRES): Likewise.
4688 (FPE_FLTINV): Likewise.
4689 (FPE_FLTSUB): Likewise.
4690 (FPE_DECOVF): Likewise.
4691 (FPE_DECDIV): Likewise.
4692 (FPE_DECERR): Likewise.
4693 (FPE_INVASC): Likewise.
4694 (FPE_INVDEC): Likewise.
4695 (SEGV_MAPERR): Likewise.
4696 (SEGV_ACCERR): Likewise.
4697 (SEGV_PSTKOVF): Likewise.
4698 (BUS_ADRALN): Likewise.
4699 (BUS_ADRERR): Likewise.
4700 (BUS_OBJERR): Likewise.
4701 (BUS_MCEERR_AR): Likewise.
4702 (BUS_MCEERR_AO): Likewise.
4703 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4704 (TRAP_TRACE): Likewise.
4705 (TRAP_BRANCH): Likewise.
4706 (TRAP_HWBKPT): Likewise.
4707 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4708 __USE_XOPEN2K8].
4709 (CLD_KILLED): Likewise.
4710 (CLD_DUMPED): Likewise.
4711 (CLD_TRAPPED): Likewise.
4712 (CLD_STOPPED): Likewise.
4713 (CLD_CONTINUED): Likewise.
4714 (POLL_IN): Likewise.
4715 (POLL_OUT): Likewise.
4716 (POLL_MSG): Likewise.
4717 (POLL_ERR): Likewise.
4718 (POLL_PRI): Likewise.
4719 (POLL_HUP): Likewise.
4720 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4721 (ILL_ILLOPN): Likewise.
4722 (ILL_ILLADR): Likewise.
4723 (ILL_ILLTRP): Likewise.
4724 (ILL_PRVOPC): Likewise.
4725 (ILL_PRVREG): Likewise.
4726 (ILL_COPROC): Likewise.
4727 (ILL_BADSTK): Likewise.
4728 (FPE_INTDIV): Likewise.
4729 (FPE_INTOVF): Likewise.
4730 (FPE_FLTDIV): Likewise.
4731 (FPE_FLTOVF): Likewise.
4732 (FPE_FLTUND): Likewise.
4733 (FPE_FLTRES): Likewise.
4734 (FPE_FLTINV): Likewise.
4735 (FPE_FLTSUB): Likewise.
4736 (SEGV_MAPERR): Likewise.
4737 (SEGV_ACCERR): Likewise.
4738 (BUS_ADRALN): Likewise.
4739 (BUS_ADRERR): Likewise.
4740 (BUS_OBJERR): Likewise.
4741 (BUS_MCEERR_AR): Likewise.
4742 (BUS_MCEERR_AO): Likewise.
4743 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4744 (TRAP_TRACE): Likewise.
4745 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4746 __USE_XOPEN2K8].
4747 (CLD_KILLED): Likewise.
4748 (CLD_DUMPED): Likewise.
4749 (CLD_TRAPPED): Likewise.
4750 (CLD_STOPPED): Likewise.
4751 (CLD_CONTINUED): Likewise.
4752 (POLL_IN): Likewise.
4753 (POLL_OUT): Likewise.
4754 (POLL_MSG): Likewise.
4755 (POLL_ERR): Likewise.
4756 (POLL_PRI): Likewise.
4757 (POLL_HUP): Likewise.
4758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4759 (ILL_ILLOPN): Likewise.
4760 (ILL_ILLADR): Likewise.
4761 (ILL_ILLTRP): Likewise.
4762 (ILL_PRVOPC): Likewise.
4763 (ILL_PRVREG): Likewise.
4764 (ILL_COPROC): Likewise.
4765 (ILL_BADSTK): Likewise.
4766 (FPE_INTDIV): Likewise.
4767 (FPE_INTOVF): Likewise.
4768 (FPE_FLTDIV): Likewise.
4769 (FPE_FLTOVF): Likewise.
4770 (FPE_FLTUND): Likewise.
4771 (FPE_FLTRES): Likewise.
4772 (FPE_FLTINV): Likewise.
4773 (FPE_FLTSUB): Likewise.
4774 (SEGV_MAPERR): Likewise.
4775 (SEGV_ACCERR): Likewise.
4776 (BUS_ADRALN): Likewise.
4777 (BUS_ADRERR): Likewise.
4778 (BUS_OBJERR): Likewise.
4779 (BUS_MCEERR_AR): Likewise.
4780 (BUS_MCEERR_AO): Likewise.
4781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4782 (TRAP_TRACE): Likewise.
4783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4784 __USE_XOPEN2K8].
4785 (CLD_KILLED): Likewise.
4786 (CLD_DUMPED): Likewise.
4787 (CLD_TRAPPED): Likewise.
4788 (CLD_STOPPED): Likewise.
4789 (CLD_CONTINUED): Likewise.
4790 (POLL_IN): Likewise.
4791 (POLL_OUT): Likewise.
4792 (POLL_MSG): Likewise.
4793 (POLL_ERR): Likewise.
4794 (POLL_PRI): Likewise.
4795 (POLL_HUP): Likewise.
4796 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4797 (ILL_ILLOPN): Likewise.
4798 (ILL_ILLADR): Likewise.
4799 (ILL_ILLTRP): Likewise.
4800 (ILL_PRVOPC): Likewise.
4801 (ILL_PRVREG): Likewise.
4802 (ILL_COPROC): Likewise.
4803 (ILL_BADSTK): Likewise.
4804 (FPE_INTDIV): Likewise.
4805 (FPE_INTOVF): Likewise.
4806 (FPE_FLTDIV): Likewise.
4807 (FPE_FLTOVF): Likewise.
4808 (FPE_FLTUND): Likewise.
4809 (FPE_FLTRES): Likewise.
4810 (FPE_FLTINV): Likewise.
4811 (FPE_FLTSUB): Likewise.
4812 (SEGV_MAPERR): Likewise.
4813 (SEGV_ACCERR): Likewise.
4814 (BUS_ADRALN): Likewise.
4815 (BUS_ADRERR): Likewise.
4816 (BUS_OBJERR): Likewise.
4817 (BUS_MCEERR_AR): Likewise.
4818 (BUS_MCEERR_AO): Likewise.
4819 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4820 (TRAP_TRACE): Likewise.
4821 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
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/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4835 (ILL_ILLOPN): Likewise.
4836 (ILL_ILLADR): Likewise.
4837 (ILL_ILLTRP): Likewise.
4838 (ILL_PRVOPC): Likewise.
4839 (ILL_PRVREG): Likewise.
4840 (ILL_COPROC): Likewise.
4841 (ILL_BADSTK): Likewise.
4842 (ILL_DBLFLT): Likewise.
4843 (ILL_HARDWALL): Likewise.
4844 (FPE_INTDIV): Likewise.
4845 (FPE_INTOVF): Likewise.
4846 (FPE_FLTDIV): Likewise.
4847 (FPE_FLTOVF): Likewise.
4848 (FPE_FLTUND): Likewise.
4849 (FPE_FLTRES): Likewise.
4850 (FPE_FLTINV): Likewise.
4851 (FPE_FLTSUB): Likewise.
4852 (SEGV_MAPERR): Likewise.
4853 (SEGV_ACCERR): Likewise.
4854 (BUS_ADRALN): Likewise.
4855 (BUS_ADRERR): Likewise.
4856 (BUS_OBJERR): Likewise.
4857 (BUS_MCEERR_AR): Likewise.
4858 (BUS_MCEERR_AO): Likewise.
4859 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4860 (TRAP_TRACE): Likewise.
4861 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4862 __USE_XOPEN2K8].
4863 (CLD_KILLED): Likewise.
4864 (CLD_DUMPED): Likewise.
4865 (CLD_TRAPPED): Likewise.
4866 (CLD_STOPPED): Likewise.
4867 (CLD_CONTINUED): Likewise.
4868 (POLL_IN): Likewise.
4869 (POLL_OUT): Likewise.
4870 (POLL_MSG): Likewise.
4871 (POLL_ERR): Likewise.
4872 (POLL_PRI): Likewise.
4873 (POLL_HUP): Likewise.
4874 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4875 (ILL_ILLOPN): Likewise.
4876 (ILL_ILLADR): Likewise.
4877 (ILL_ILLTRP): Likewise.
4878 (ILL_PRVOPC): Likewise.
4879 (ILL_PRVREG): Likewise.
4880 (ILL_COPROC): Likewise.
4881 (ILL_BADSTK): Likewise.
4882 (FPE_INTDIV): Likewise.
4883 (FPE_INTOVF): Likewise.
4884 (FPE_FLTDIV): Likewise.
4885 (FPE_FLTOVF): Likewise.
4886 (FPE_FLTUND): Likewise.
4887 (FPE_FLTRES): Likewise.
4888 (FPE_FLTINV): Likewise.
4889 (FPE_FLTSUB): Likewise.
4890 (SEGV_MAPERR): Likewise.
4891 (SEGV_ACCERR): Likewise.
4892 (BUS_ADRALN): Likewise.
4893 (BUS_ADRERR): Likewise.
4894 (BUS_OBJERR): Likewise.
4895 (BUS_MCEERR_AR): Likewise.
4896 (BUS_MCEERR_AO): Likewise.
4897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4898 (TRAP_TRACE): Likewise.
4899 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4900 __USE_XOPEN2K8].
4901 (CLD_KILLED): Likewise.
4902 (CLD_DUMPED): Likewise.
4903 (CLD_TRAPPED): Likewise.
4904 (CLD_STOPPED): Likewise.
4905 (CLD_CONTINUED): Likewise.
4906 (POLL_IN): Likewise.
4907 (POLL_OUT): Likewise.
4908 (POLL_MSG): Likewise.
4909 (POLL_ERR): Likewise.
4910 (POLL_PRI): Likewise.
4911 (POLL_HUP): Likewise.
4912 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4913 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4914
bc61d27c
JM
4915 [BZ #16670]
4916 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4917 before #include of <time.h>.
4918 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4919 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4920 (test-xfail-UNIX98/sched.h/conform): Likewise.
4921
302949e2
MS
49222014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4923
4924 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4925 error absence of trapping exception support.
4926 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4927
a00f522a
JM
49282014-03-07 Joseph Myers <joseph@codesourcery.com>
4929
6f99f280
JM
4930 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4931 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4932 * timezone/Makefile (testdata): Move definition above include of
4933 Rules.
4934 (test-zones): New variable.
4935 (tests-special): Add zone files.
4936 (build-testdata): Use $(evaluate-test).
4937
0b20a9e8
JM
4938 * elf/Makefile (tests-special): Rename tests to end with .out.
4939 ($(objpfx)noload-mem): Likewise.
4940 ($(objpfx)tst-leaks1-mem): Likewise.
4941 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4942 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4943 $(objpfx)test-iconvconfig.out.
4944 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4945 set -e inside subshell and redirect output to file.
4946 * iconvdata/Makefile (generated): Rename tests to end with .out.
4947 Correct type.
4948 (tests-special): Rename tests to end with .out.
4949 ($(objpfx)mtrace-tst-loading): Likewise.
4950 * intl/Makefile (generated): Likewise.
4951 (tests-special): Likewise.
4952 ($(objpfx)mtrace-tst-gettext): Likewise.
4953 * misc/Makefile (generated): Likewise.
4954 (tests-special): Likewise.
4955 ($(objpfx)tst-error1-mem): Likewise.
4956 * nptl/Makefile (tests-special): Likewise.
4957 ($(objpfx)tst-stack3-mem): Likewise.
4958 (generated): Likewise.
4959 * posix/Makefile (generated): Likewise.
4960 (tests-special): Likewise.
4961 (xtests-special): Likewise.
4962 ($(objpfx)tst-fnmatch-mem): Likewise.
4963 ($(objpfx)bug-regex2-mem): Likewise.
4964 ($(objpfx)bug-regex14-mem): Likewise.
4965 ($(objpfx)bug-regex21-mem): Likewise.
4966 ($(objpfx)bug-regex31-mem): Likewise.
4967 ($(objpfx)tst-vfork3-mem): Likewise.
4968 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4969 ($(objpfx)tst-pcre-mem): Likewise.
4970 ($(objpfx)tst-boost-mem): Likewise.
4971 ($(objpfx)bug-ga2-mem): Likewise.
4972 ($(objpfx)bug-glob2-mem): Likewise.
4973 * resolv/Makefile (generate): Likewise.
4974 (tests-special): Likewise.
4975 (xtests-special): Likewise.
4976 (generated): Likewise.
4977 ($(objpfx)mtrace-tst-leaks): Likewise.
4978 ($(objpfx)mtrace-tst-leaks2): Likewise.
4979
265d52ab
JM
4980 * scripts/merge-test-results.sh: New file.
4981 * Makefile (tests-special-notdir): New variable.
4982 (tests): Run merge-test-results.sh.
4983 (xtests): Likewise.
4984 * Rules (tests-special-notdir): New variable.
4985 (xtests-special-notdir): Likewise.
4986 (tests): Run merge-test-results.sh
4987 (xtests): Likewise.
4988
54ee292d
JM
4989 * Makeconfig (test-xfail-name): New variable.
4990 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4991 compute variable name for expected failures.
4992 * conform/Makefile (conformtest-headers-data): New variable.
4993 (conformtest-standards): Likewise.
4994 (conformtest-headers-ISO): Likewise.
4995 (conformtest-headers-ISO99): Likewise.
4996 (conformtest-headers-ISO11): Likewise.
4997 (conformtest-headers-POSIX): Likewise.
4998 (conformtest-headers-XPG3): Likewise.
4999 (conformtest-headers-XPG4): Likewise.
5000 (conformtest-headers-UNIX98): Likewise.
5001 (conformtest-headers-XOPEN2K): Likewise.
5002 (conformtest-headers-POSIX2008): Likewise.
5003 (conformtest-headers-XOPEN2K8): Likewise.
5004 (conformtest-header-list-base): Likewise.
5005 (conformtest-header-list-tests): Likewise.
5006 (conformtest-header-base): Likewise.
5007 (conformtest-header-tests): Likewise.
5008 (tests-special): Add $(conformtest-header-list-tests). If
5009 [$(fast-check) && !$(cross-compiling)], add
5010 $(conformtest-header-tests) instead of
5011 $(objpfx)run-conformtest.out.
5012 (generated): Add $(conformtest-header-list-base). If
5013 [$(fast-check) && !$(cross-compiling)], add
5014 $(conformtest-header-base). Remove previous setting.
5015 ($(conformtest-header-list-tests)): New target.
5016 (test-xfail-run-conformtest): Remove variable.
5017 ($(objpfx)run-conformtest.out): Remove target.
5018 (test-xfail-ISO11/complex.h/conform): New variable.
5019 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5020 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5021 (test-xfail-XPG3/varargs.h/conform): Likewise.
5022 (test-xfail-XPG4/varargs.h/conform): Likewise.
5023 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5024 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5025 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5026 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5027 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5028 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5029 (test-xfail-XPG3/ftw.h/conform): Likewise.
5030 (test-xfail-XPG3/grp.h/conform): Likewise.
5031 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5032 (test-xfail-XPG3/limits.h/conform): Likewise.
5033 (test-xfail-XPG3/pwd.h/conform): Likewise.
5034 (test-xfail-XPG3/search.h/conform): Likewise.
5035 (test-xfail-XPG3/signal.h/conform): Likewise.
5036 (test-xfail-XPG3/stdio.h/conform): Likewise.
5037 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5038 (test-xfail-XPG3/string.h/conform): Likewise.
5039 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5040 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5041 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5042 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5043 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5044 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5045 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5046 (test-xfail-XPG3/termios.h/conform): Likewise.
5047 (test-xfail-XPG3/time.h/conform): Likewise.
5048 (test-xfail-XPG3/unistd.h/conform): Likewise.
5049 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5050 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5051 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5052 (test-xfail-XPG4/netdb.h/conform): Likewise.
5053 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5054 (test-xfail-XPG4/signal.h/conform): Likewise.
5055 (test-xfail-XPG4/stdio.h/conform): Likewise.
5056 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5057 (test-xfail-XPG4/stropts.h/conform): Likewise.
5058 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5059 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5060 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5061 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5062 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5063 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5064 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5065 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5066 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5067 (test-xfail-XPG4/termios.h/conform): Likewise.
5068 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5069 (test-xfail-XPG4/unistd.h/conform): Likewise.
5070 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5071 (test-xfail-POSIX/sched.h/conform): Likewise.
5072 (test-xfail-POSIX/signal.h/conform): Likewise.
5073 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5074 (test-xfail-POSIX/tar.h/conform): Likewise.
5075 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5076 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5077 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5078 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5079 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5080 (test-xfail-UNIX98/sched.h/conform): Likewise.
5081 (test-xfail-UNIX98/signal.h/conform): Likewise.
5082 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5083 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5084 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5085 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5086 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5087 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5088 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5089 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5090 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5091 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5092 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5093 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5094 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5095 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5096 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5097 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5098 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5099 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5100 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5101 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5102 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5103 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5104 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5105 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5106 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5107 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5108 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5109 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5110 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5111 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5112 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5113 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5114 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5115 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5116 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5117 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5118 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5119 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5120 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5121 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5122 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5123 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5124 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5125 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5126 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5127 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5128 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5129 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5130 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5131 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5132 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5133 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5134 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5135 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5136 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5137 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5138 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5139 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5140 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5141 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5142 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5143 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5144 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5145 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5146 (conformtest-cc-flags): Likewise.
5147 ($(conformtest-header-tests): New target.
5148 * conform/check-header-lists.sh: New file.
5149 * conform/run-conformtest.sh: Remove.
5150
a00f522a
JM
5151 * conform/conformtest.pl: Allow ' and \ in values given for
5152 constants.
5153 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5154 inclusion.
5155 [POSIX] (sys/types.h): Likewise.
5156 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5157 inclusion.
5158 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5159 inclusion.
5160 * conform/data/signal.h-data (SIGIO): Remove expectation.
5161 [XPG3] (SIGBUS): Do not expect.
5162 [POSIX || XPG3] (SIGPOLL): Likewise.
5163 [POSIX || XPG3] (SIGPROF): Likewise.
5164 [POSIX || XPG3] (SIGSYS): Likewise.
5165 [XPG3] (SIGTRAP): Likewise.
5166 [POSIX || XPG3] (SIGURG): Likewise.
5167 [POSIX || XPG3] (SIGVTALRM): Likewise.
5168 [POSIX || XPG3] (SIGXCPU): Likewise.
5169 [POSIX || XPG3] (SIGXFSZ): Likewise.
5170 [POSIX] (SA_SIGINFO): Expect.
5171 [XPG3] (siginfo_t): Do not expect type or contents.
5172 [POSIX] (si_pid): Do not expect element.
5173 [POSIX] (si_uid): Likewise.
5174 [POSIX] (si_addr): Likewise.
5175 [POSIX] (si_status): Likewise.
5176 [POSIX] (si_band): Likewise.
5177 [XPG4] (si_value): Likewise.
5178 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5179 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5180 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5181 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5182 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5183 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5184 [POSIX || XPG3] (ILL_COPROC): Likewise.
5185 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5186 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5187 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5188 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5189 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5190 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5191 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5192 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5193 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5194 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5195 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5196 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5197 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5198 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5199 [POSIX || XPG3] (CLD_EXITED): Likewise.
5200 [POSIX || XPG3] (CLD_KILLED): Likewise.
5201 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5202 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5203 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5204 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5205 [POSIX || XPG3] (POLL_IN): Likewise.
5206 [POSIX || XPG3] (POLL_OUT): Likewise.
5207 [POSIX || XPG3] (POLL_MSG): Likewise.
5208 [POSIX || XPG3] (POLL_ERR): Likewise.
5209 [POSIX || XPG3] (POLL_PRI): Likewise.
5210 [POSIX || XPG3] (POLL_HUP): Likewise.
5211 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5212 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5213 (SIG*): Do not allow.
5214 [XPG3] (si_*): Likewise.
5215 [XPG3] (SI_*): Likewise.
5216 [XPG3 || XPG4] (sigev_*): Likewise.
5217 [XPG3 || XPG4] (SIGEV_*): Likewise.
5218 [XPG3 || XPG4] (sival_*): Likewise.
5219 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5220 [POSIX || XPG3] (BUS_*): Likewise.
5221 [POSIX || XPG3] (CLD_*): Likewise.
5222 [POSIX || XPG3] (FPE_*): Likewise.
5223 [POSIX || XPG3] (ILL_*): Likewise.
5224 [POSIX || XPG3] (POLL_*): Likewise.
5225 [POSIX || XPG3] (SEGV_*): Likewise.
5226 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5227 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5228 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5229 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5230 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5231 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5232 Specify type and value.
5233 (TVERSLEN): Likewise.
5234 (REGTYPE): Likewise.
5235 (AREGTYPE): Likewise.
5236 (LNKTYPE): Likewise.
5237 (SYMTYPE): Likewise.
5238 (CHRTYPE): Likewise.
5239 (BLKTYPE): Likewise.
5240 (DIRTYPE): Likewise.
5241 (FIFOTYPE): Likewise.
5242 (CONTTYPE): Likewise.
5243 (TSUID): Likewise.
5244 (TSGID): Likewise.
5245 (TSVTX): Likewise.
5246 (TUREAD): Likewise.
5247 (TUWRITE): Likewise.
5248 (TUEXEC): Likewise.
5249 (TGREAD): Likewise.
5250 (TGWRITE): Likewise.
5251 (TGEXEC): Likewise.
5252 (TOREAD): Likewise.
5253 (TOWRITE): Likewise.
5254 (TOEXEC): Likewise.
5255 [POSIX] (TSVTX): Expect constant.
5256
aa97dee1
JM
52572014-03-06 Joseph Myers <joseph@codesourcery.com>
5258
f214606a
JM
5259 * Makefile (tests): Change dependencies to ....
5260 (tests-special): ... additions to this variable.
5261 (tests): Depend on $(tests-special).
5262 * Makerules (check-abi-list): New variable.
5263 (check-abi): Depend on $(check-abi-list).
5264 [$(subdir) = elf] (tests-special): Add
5265 $(objpfx)check-abi-libc.out.
5266 [$(build-shared) = yes && subdir] (tests-special): Add
5267 $(check-abi-list).
5268 [$(build-shared) = yes && subdir] (tests): Do not depend on
5269 check-abi.
5270 * Rules (tests): Depend on $(tests-special).
5271 (xtests): Depend on $(xtests-special).
5272 * catgets/Makefile (tests): Change dependencies to ....
5273 (tests-special): ... additions to this variable.
5274 * conform/Makefile (tests): Change dependencies to ....
5275 (tests-special): ... additions to this variable.
5276 * elf/Makefile (tests): Change dependencies to ....
5277 (tests-special): ... additions to this variable.
5278 * grp/Makefile (tests): Change dependencies to ....
5279 (tests-special): ... additions to this variable.
5280 * iconv/Makefile (xtests): Change dependencies to ....
5281 (xtests-special): ... additions to this variable.
5282 * iconvdata/Makefile (tests): Change dependencies to ....
5283 (tests-special): ... additions to this variable.
5284 * intl/Makefile (tests): Change dependencies to ....
5285 (tests-special): ... additions to this variable. Also add
5286 $(objpfx)tst-gettext.out.
5287 * io/Makefile (tests): Change dependencies to ....
5288 (tests-special): ... additions to this variable.
5289 * libio/Makefile (tests): Change dependencies to ....
5290 (tests-special): ... additions to this variable.
5291 * malloc/Makefile (tests): Change dependencies to ....
5292 (tests-special): ... additions to this variable.
5293 * misc/Makefile (tests): Change dependencies to ....
5294 (tests-special): ... additions to this variable.
5295 * nptl/Makefile (tests): Change dependencies to ....
5296 (tests-special): ... additions to this variable.
5297 * nptl_db/Makefile (tests): Change dependencies to ....
5298 (tests-special): ... additions to this variable.
5299 * posix/Makefile (tests): Change dependencies to ....
5300 (tests-special): ... additions to this variable.
5301 (xtests): Change dependencies to ....
5302 (xtests-special): ... additions to this variable.
5303 * resolv/Makefile (tests): Change dependencies to ....
5304 (tests-special): ... additions to this variable.
5305 (xtests): Change dependencies to ....
5306 (xtests-special): ... additions to this variable.
5307 * stdio-common/Makefile (tests): Change dependencies to ....
5308 (tests-special): ... additions to this variable.
5309 (do-tst-unbputc): Remove target.
5310 (do-tst-printf): Likewise.
5311 * stdlib/Makefile (tests): Change dependencies to ....
5312 (tests-special): ... additions to this variable.
5313 * string/Makefile (tests): Change dependencies to ....
5314 (tests-special): ... additions to this variable.
5315 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5316 (tests-special): ... additions to this variable.
5317
81700b53
JM
5318 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5319 whole file.
5320 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5321 whole file.
5322 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5323 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5324
2ea18461
JM
5325 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5326 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5327 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5328 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5329 * conform/data/libgen.h-data [XPG3]: Likewise.
5330 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5331 * conform/data/ndbm.h-data [XPG3]: Likewise.
5332 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5333 * conform/data/netdb.h-data [XPG3]: Likewise.
5334 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5335 * conform/data/poll.h-data [XPG3]: Likewise.
5336 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5337 * conform/data/strings.h-data [XPG3]: Likewise.
5338 * conform/data/stropts.h-data [XPG3]: Likewise.
5339 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5340 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5341 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5342 Likewise.
5343 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5344 * conform/data/sys/time.h-data [XPG3]: Likewise.
5345 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5346 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5347 * conform/data/sys/un.h-data [XPG3]: Likewise.
5348 * conform/data/syslog.h-data [XPG3]: Likewise.
5349 * conform/data/ucontext.h-data [XPG3]: Likewise.
5350 * conform/data/utmpx.h-data [XPG3]: Likewise.
5351 * conform/data/varargs.h-data [UNIX98]: Enable file.
5352
355bc986
JM
5353 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5354
215db402
JM
5355 * math/libm-test.inc (struct test_f_f_data): Move expected results
5356 into structure for each rounding mode.
5357 (struct test_ff_f_data): Likewise.
5358 (struct test_ff_f_data_nexttoward): Likewise.
5359 (struct test_fi_f_data): Likewise.
5360 (struct test_fl_f_data): Likewise.
5361 (struct test_if_f_data): Likewise.
5362 (struct test_fff_f_data): Likewise.
5363 (struct test_c_f_data): Likewise.
5364 (struct test_f_f1_data): Likewise.
5365 (struct test_fF_f1_data): Likewise.
5366 (struct test_ffI_f1_data): Likewise.
5367 (struct test_c_c_data): Likewise.
5368 (struct test_cc_c_data): Likewise.
5369 (struct test_f_i_data): Likewise.
5370 (struct test_ff_i_data): Likewise.
5371 (struct test_f_l_data): Likewise.
5372 (struct test_f_L_data): Likewise.
5373 (struct test_fFF_11_data): Likewise.
5374 (RM_): New macro.
5375 (RM_FE_DOWNWARD): Likewise.
5376 (RM_FE_TONEAREST): Likewise.
5377 (RM_FE_TOWARDZERO): Likewise.
5378 (RM_FE_UPWARD): Likewise.
5379 (RUN_TEST_LOOP_f_f): Update references to expected results.
5380 (RUN_TEST_LOOP_2_f): Likewise.
5381 (RUN_TEST_LOOP_fff_f): Likewise.
5382 (RUN_TEST_LOOP_c_f): Likewise.
5383 (RUN_TEST_LOOP_f_f1): Likewise.
5384 (RUN_TEST_LOOP_fF_f1): Likewise.
5385 (RUN_TEST_LOOP_fI_f1): Likewise.
5386 (RUN_TEST_LOOP_ffI_f1): Likewise.
5387 (RUN_TEST_LOOP_c_c): Likewise.
5388 (RUN_TEST_LOOP_cc_c): Likewise.
5389 (RUN_TEST_LOOP_f_i): Likewise.
5390 (RUN_TEST_LOOP_f_i_tg): Likewise.
5391 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5392 (RUN_TEST_LOOP_f_b): Likewise.
5393 (RUN_TEST_LOOP_f_b_tg): Likewise.
5394 (RUN_TEST_LOOP_f_l): Likewise.
5395 (RUN_TEST_LOOP_f_L): Likewise.
5396 (RUN_TEST_LOOP_fFF_11): Likewise.
5397 * math/gen-libm-test.pl (parse_args): Output four copies of
5398 expected results for each test.
5399
67737b8f
JM
5400 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5401 (__ASSUME_UTIMES): Remove.
5402 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5403 (__ASSUME_UTIMES): Likewise.
5404
aa97dee1
JM
5405 * math/gen-auto-libm-tests.c: Update comment on output format.
5406 (output_for_one_input_case): Generate before-rounding and
5407 after-rounding information as conditions on output flags not
5408 floating-point format.
5409 * math/auto-libm-test-out: Regenerated.
5410 * math/gen-libm-test.pl (cond_value): New function.
5411 (or_cond_value): Use cond_value.
5412 (generate_testfile): Handle conditional exceptions.
5413
e6b6a857
JM
54142014-03-05 Joseph Myers <joseph@codesourcery.com>
5415
2f0a0f44
JM
5416 * math/libm-test.inc (max_valid_error): New variable.
5417 (init_max_error): Take new argument specifying whether function
5418 results are exactly determined. Set max_valid_error and bound
5419 other variables for errors based on this argument.
5420 (set_max_error): Do not record results above max_valid_error.
5421 (check_float_internal): Only accept errors of up to 0.5ulps if
5422 also at most max_valid_error.
5423 (START): Take new argument EXACT and pass it to init_max_error.
5424 (acos_test): Update call to START.
5425 (acos_test_tonearest): Likewise.
5426 (acos_test_towardzero): Likewise.
5427 (acos_test_downward): Likewise.
5428 (acos_test_upward): Likewise.
5429 (acosh_test): Likewise.
5430 (asin_test): Likewise.
5431 (asin_test_tonearest): Likewise.
5432 (asin_test_towardzero): Likewise.
5433 (asin_test_downward): Likewise.
5434 (asin_test_upward): Likewise.
5435 (asinh_test): Likewise.
5436 (atan_test): Likewise.
5437 (atanh_test): Likewise.
5438 (atan2_test): Likewise.
5439 (cabs_test): Likewise.
5440 (cacos_test): Likewise.
5441 (cacosh_test): Likewise.
5442 (carg_test): Likewise.
5443 (casin_test): Likewise.
5444 (casinh_test): Likewise.
5445 (catan_test): Likewise.
5446 (catanh_test): Likewise.
5447 (cbrt_test): Likewise.
5448 (ccos_test): Likewise.
5449 (ccosh_test): Likewise.
5450 (ceil_test): Likewise.
5451 (cexp_test): Likewise.
5452 (cimag_test): Likewise.
5453 (clog_test): Likewise.
5454 (clog10_test): Likewise.
5455 (conj_test): Likewise.
5456 (copysign_test): Likewise.
5457 (cos_test): Likewise.
5458 (cos_test_tonearest): Likewise.
5459 (cos_test_towardzero): Likewise.
5460 (cos_test_downward): Likewise.
5461 (cos_test_upward): Likewise.
5462 (cosh_test): Likewise.
5463 (cosh_test_tonearest): Likewise.
5464 (cosh_test_towardzero): Likewise.
5465 (cosh_test_downward): Likewise.
5466 (cosh_test_upward): Likewise.
5467 (cpow_test): Likewise.
5468 (cproj_test): Likewise.
5469 (creal_test): Likewise.
5470 (csin_test): Likewise.
5471 (csinh_test): Likewise.
5472 (csqrt_test): Likewise.
5473 (ctan_test): Likewise.
5474 (ctan_test_tonearest): Likewise.
5475 (ctan_test_towardzero): Likewise.
5476 (ctan_test_downward): Likewise.
5477 (ctan_test_upward): Likewise.
5478 (ctanh_test): Likewise.
5479 (ctanh_test_tonearest): Likewise.
5480 (ctanh_test_towardzero): Likewise.
5481 (ctanh_test_downward): Likewise.
5482 (ctanh_test_upward): Likewise.
5483 (erf_test): Likewise.
5484 (erfc_test): Likewise.
5485 (exp_test): Likewise.
5486 (exp_test_tonearest): Likewise.
5487 (exp_test_towardzero): Likewise.
5488 (exp_test_downward): Likewise.
5489 (exp_test_upward): Likewise.
5490 (exp10_test): Likewise.
5491 (exp10_test_tonearest): Likewise.
5492 (exp10_test_towardzero): Likewise.
5493 (exp10_test_downward): Likewise.
5494 (exp10_test_upward): Likewise.
5495 (pow10_test): Likewise.
5496 (exp2_test): Likewise.
5497 (expm1_test): Likewise.
5498 (expm1_test_tonearest): Likewise.
5499 (expm1_test_towardzero): Likewise.
5500 (expm1_test_downward): Likewise.
5501 (expm1_test_upward): Likewise.
5502 (fabs_test): Likewise.
5503 (fdim_test): Likewise.
5504 (floor_test): Likewise.
5505 (fma_test): Likewise.
5506 (fma_test_towardzero): Likewise.
5507 (fma_test_downward): Likewise.
5508 (fma_test_upward): Likewise.
5509 (fmax_test): Likewise.
5510 (fmin_test): Likewise.
5511 (fmod_test): Likewise.
5512 (fpclassify_test): Likewise.
5513 (frexp_test): Likewise.
5514 (hypot_test): Likewise.
5515 (ilogb_test): Likewise.
5516 (isfinite_test): Likewise.
5517 (finite_test): Likewise.
5518 (isgreater_test): Likewise.
5519 (isgreaterequal_test): Likewise.
5520 (isinf_test): Likewise.
5521 (isless_test): Likewise.
5522 (islessequal_test): Likewise.
5523 (islessgreater_test): Likewise.
5524 (isnan_test): Likewise.
5525 (isnormal_test): Likewise.
5526 (issignaling_test): Likewise.
5527 (isunordered_test): Likewise.
5528 (j0_test): Likewise.
5529 (j1_test): Likewise.
5530 (jn_test): Likewise.
5531 (ldexp_test): Likewise.
5532 (lgamma_test): Likewise.
5533 (gamma_test): Likewise.
5534 (lrint_test): Likewise.
5535 (lrint_test_tonearest): Likewise.
5536 (lrint_test_towardzero): Likewise.
5537 (lrint_test_downward): Likewise.
5538 (lrint_test_upward): Likewise.
5539 (llrint_test): Likewise.
5540 (llrint_test_tonearest): Likewise.
5541 (llrint_test_towardzero): Likewise.
5542 (llrint_test_downward): Likewise.
5543 (llrint_test_upward): Likewise.
5544 (log_test): Likewise.
5545 (log10_test): Likewise.
5546 (log1p_test): Likewise.
5547 (log2_test): Likewise.
5548 (logb_test): Likewise.
5549 (logb_test_downward): Likewise.
5550 (lround_test): Likewise.
5551 (llround_test): Likewise.
5552 (modf_test): Likewise.
5553 (nearbyint_test): Likewise.
5554 (nextafter_test): Likewise.
5555 (nexttoward_test): Likewise.
5556 (pow_test): Likewise.
5557 (pow_test_tonearest): Likewise.
5558 (pow_test_towardzero): Likewise.
5559 (pow_test_downward): Likewise.
5560 (pow_test_upward): Likewise.
5561 (remainder_test): Likewise.
5562 (drem_test): Likewise.
5563 (remainder_test_tonearest): Likewise.
5564 (drem_test_tonearest): Likewise.
5565 (remainder_test_towardzero): Likewise.
5566 (drem_test_towardzero): Likewise.
5567 (remainder_test_downward): Likewise.
5568 (drem_test_downward): Likewise.
5569 (remainder_test_upward): Likewise.
5570 (drem_test_upward): Likewise.
5571 (remquo_test): Likewise.
5572 (rint_test): Likewise.
5573 (rint_test_tonearest): Likewise.
5574 (rint_test_towardzero): Likewise.
5575 (rint_test_downward): Likewise.
5576 (rint_test_upward): Likewise.
5577 (round_test): Likewise.
5578 (scalb_test): Likewise.
5579 (scalbn_test): Likewise.
5580 (scalbln_test): Likewise.
5581 (signbit_test): Likewise.
5582 (sin_test): Likewise.
5583 (sin_test_tonearest): Likewise.
5584 (sin_test_towardzero): Likewise.
5585 (sin_test_downward): Likewise.
5586 (sin_test_upward): Likewise.
5587 (sincos_test): Likewise.
5588 (sinh_test): Likewise.
5589 (sinh_test_tonearest): Likewise.
5590 (sinh_test_towardzero): Likewise.
5591 (sinh_test_downward): Likewise.
5592 (sinh_test_upward): Likewise.
5593 (sqrt_test): Likewise.
5594 (sqrt_test_tonearest): Likewise.
5595 (sqrt_test_towardzero): Likewise.
5596 (sqrt_test_downward): Likewise.
5597 (sqrt_test_upward): Likewise.
5598 (tan_test): Likewise.
5599 (tan_test_tonearest): Likewise.
5600 (tan_test_towardzero): Likewise.
5601 (tan_test_downward): Likewise.
5602 (tan_test_upward): Likewise.
5603 (tanh_test): Likewise.
5604 (tgamma_test): Likewise.
5605 (trunc_test): Likewise.
5606 (y0_test): Likewise.
5607 (y1_test): Likewise.
5608 (yn_test): Likewise.
5609 (significand_test): Likewise.
5610
e6b6a857
JM
5611 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5612 individual tests in comment.
5613 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5614 (prev_max_error): New variable.
5615 (prev_real_max_error): Likewise.
5616 (prev_imag_max_error): Likewise.
5617 (compare_ulp_data): Don't refer to test names in comment.
5618 (find_test_ulps): Remove function.
5619 (find_function_ulps): Likewise.
5620 (find_complex_function_ulps): Likewise.
5621 (init_max_error): Take function name as argument. Look up ulps
5622 for that function.
5623 (print_ulps): Remove function.
5624 (print_max_error): Use prev_max_error instead of calling
5625 find_function_ulps.
5626 (print_complex_max_error): Use prev_real_max_error and
5627 prev_imag_max_error instead of calling find_complex_function_ulps.
5628 (check_float_internal): Take max_ulp parameter instead of calling
5629 find_test_ulps. Don't call print_ulps.
5630 (check_float): Update call to check_float_internal.
5631 (check_complex): Update calls to check_float_internal.
5632 (START): Pass argument to init_max_error.
5633 * math/gen-libm-test.pl (%results): Don't include "kind"
5634 information.
5635 (parse_ulps): Don't handle ulps of individual tests.
5636 (print_ulps_file): Likewise.
5637 (output_ulps): Likewise.
5638 * math/README.libm-test: Update.
5639 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5640 individual tests.
5641 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5642 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5643 * sysdeps/arm/libm-test-ulps: Likewise.
5644 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5645 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5646 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5647 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5648 * sysdeps/microblaze/libm-test-ulps: Likewise.
5649 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5650 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5651 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5652 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5653 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5654 * sysdeps/sh/libm-test-ulps: Likewise.
5655 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5656 * sysdeps/tile/libm-test-ulps: Likewise.
5657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5658
45adef3c
JM
56592014-03-04 Joseph Myers <joseph@codesourcery.com>
5660
5661 * math/libm-test.inc (print_complex_max_error): Check separately
5662 whether real and imaginary errors are within allowed range and
5663 pass 0 to print_complex_function_ulps instead of value within
5664 allowed range.
5665
000232b9
SP
56662014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5667
d4b17258
SP
5668 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5669 formatting.
5670 (get_handles_fopen): Likewise.
5671 (do_write_test): Likewise.
5672
091eff71
SP
5673 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5674
fa3cd248
SP
5675 * libio/fileops.c (do_ftell): Use cached offset when
5676 available.
5677 * libio/iofwide.c (do_ftell_wide): Likewise.
5678 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5679 _IO_file_attach.
5680 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5681
000232b9
SP
5682 [BZ #16532]
5683 * libio/libioP.h (get_file_offset): New function.
5684 * libio/fileops.c (get_file_offset): Likewise.
5685 (do_ftell): Likewise.
5686 (_IO_new_file_seekoff): Split out ftell logic.
5687 * libio/wfileops.c (do_ftell_wide): Likewise.
5688 (_IO_wfile_seekoff): Split out ftell logic.
5689 * libio/tst-ftell-active-handler.c: New test case.
5690 * libio/Makefile (tests): Add it.
5691
116f4d1a
RM
56922014-03-03 Roland McGrath <roland@hack.frob.com>
5693
5694 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5695 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5696
532a6035
SP
56972014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5698
5699 [BZ #16639]
5700 * nscd/connections.c (nscd_init): Call do_exit.
5701 (start_threads): Call do_exit and notify_parent.
5702 (begin_drop_privileges): Call do_exit.
5703 (finish_drop_privileges): Likewise.
5704 * nscd/selinux.c (preserve_capabilities): Likewise.
5705 (install_real_capabilities): Likewise.
5706 (nscd_selinux_enabled): Likewise.
5707 (avc_create_thread): Likewise.
5708 (avc_alloc_lock): Likewise.
5709 (nscd_avc_init): Likewise.
5710 * nscd/nscd.c (parent_fd): New static variable.
5711 (main): Create a pipe between parent and child processes.
5712 Skip closing parent_fd.
5713 (monitor_child): New function.
5714 (do_exit): Likewise.
5715 (notify_parent): Likewise.
5716 * nscd/nscd.h (notify_parent): Likewise.
5717 (do_exit): Likewise.
5718
d6285c9f
CD
57192014-03-03 Carlos O'Donell <carlos@redhat.com>
5720
5721 * malloc/malloc.c (__libc_calloc): Revert last change.
5722
2b85d2a0
AZ
57232014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5724
5725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5726
c7debbdf
RS
57272014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5728
5729 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5731 implementation.
5732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5733 (__libc_ifunc_impl_list): Likewise.
5734 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5735 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5736 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5737 * string/strrchr.c: Define STRRCHR.
5738
235eed86
OB
57392014-02-28 Ondřej Bílka <neleai@seznam.cz>
5740
5741 * benchtest/bench-strtok.c (simple_strtok): Delete.
5742 (strtok_string): Use as benchmark.
5743 * string/strtok (STRTOK): New macro.
5744
8e25d1e7
CD
57452014-02-28 Carlos O'Donell <carlos@redhat.com>
5746
ef563f92
CD
5747 * manual/threads.texi: Add header and standard comments to all
5748 functions.
5749
8e25d1e7
CD
5750 * elf/dl-lookup.c (check_match): New function.
5751 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5752 (do_lookup_x): Remove nested function check_match. Use non-nested
5753 function check_match.
5754
ff71cc37
RM
57552014-02-28 Roland McGrath <roland@hack.frob.com>
5756
f08e9a26
RM
5757 * csu/Makefile (generated, before-compile): Use += rather than =.
5758 * catgets/Makefile (generated, generated-dirs): Likewise.
5759 * debug/Makefile (generated): Likewise.
5760 * dlfcn/Makefile (generated): Likewise.
5761 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5762 * iconvdata/Makefile (before-compile, generated): Likewise.
5763 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5764 * libio/Makefile (generated): Likewise.
5765 * malloc/Makefile (generated): Likewise.
5766 * manual/Makefile (generated, generated-dirs): Likewise.
5767 * misc/Makefile (generated): Likewise.
5768 * posix/Makefile (generated): Likewise.
5769 * resolv/Makefile (generated): Likewise.
5770 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5771 * timezone/Makefile (generated, generated-dirs): Likewise.
5772
ff71cc37
RM
5773 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5774
fe13a20c
AZ
57752014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5776
57f41c40
AS
5777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5778 power8 implementation.
5779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5780 file: POWER8 llround ifunc implementation.
5781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5782 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5783 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5784 POWER8 llround implementation.
5785
57f41c40
AS
5786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5787 power8 implementation.
5788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5789 file: POWER8 llrint ifunc implementation.
5790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5791 Add POWER8 implementation.
1ad8950a
AZ
5792 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5793 POWER8 llrint implementation.
5794
57f41c40
AS
5795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5796 power8 implementation.
5797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5798 file: POWER8 finite ifunc implementation.
5799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5800 Add POWER8 implementation.
cac626d6
AZ
5801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5802 Likewise.
5803 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5804 POWER8 finite implementation.
5805 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5806
57f41c40
AS
5807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5808 power8 implementation.
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5810 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5812 POWER8 implementation.
5813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5814 Likewise.
57f41c40
AS
5815 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5816 isinf implementation.
4393fc11
AZ
5817 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5818
57f41c40
AS
5819 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5820 (INIT_ARCH): Add hwcap2 initialization.
5821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5822 power8 implementation.
5823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5824 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5826 POWER8 implementation.
5827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5828 Likewise.
57f41c40
AS
5829 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5830 isnan implementation.
487972ae
AZ
5831 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5832
7d92b787
JY
58332014-02-27 Joey Ye <joey.ye@arm.com>
5834
5835 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5836 (_FP_NANFRAC_Q): Set to zero.
5837
1cadc858
SP
58382014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5839
5840 [BZ #16623]
5841 * math/auto-libm-test-in: New test inputs.
5842 * math/auto-libm-test-out: Regenerate.
5843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5844 and DA.
5845 (__cos): Likewise.
5846 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5847
f8c17e79
JM
58482014-02-27 Joseph Myers <joseph@codesourcery.com>
5849
5850 * scripts/evaluate-test.sh: Take new argument indicating whether
5851 failure is expected.
5852 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5853 indicating whether failure is expected.
5854 * conform/Makefile (test-xfail-run-conformtest): New variable.
5855 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5856 level.
5857 * posix/Makefile (test-xfail-annexc): New variable.
5858 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5859
a5f891ac
JM
58602014-02-26 Joseph Myers <joseph@codesourcery.com>
5861
5862 * argp/Makefile: Include Makeconfig immediately after defining
5863 subdir.
5864 * assert/Makefile: Likewise.
5865 * benchtests/Makefile: Likewise.
5866 * catgets/Makefile: Likewise.
5867 * conform/Makefile: Likewise.
5868 * crypt/Makefile: Likewise.
5869 * csu/Makefile: Likewise.
5870 (all): Remove target.
5871 * ctype/Makefile: Include Makeconfig immediately after defining
5872 subdir.
5873 * debug/Makefile: Likewise.
5874 * dirent/Makefile: Likewise.
5875 * dlfcn/Makefile: Likewise.
5876 * gmon/Makefile: Likewise.
5877 * gnulib/Makefile: Likewise.
5878 * grp/Makefile: Likewise.
5879 * gshadow/Makefile: Likewise.
5880 * hesiod/Makefile: Likewise.
5881 * hurd/Makefile: Likewise.
5882 (all): Remove target.
5883 * iconvdata/Makefile: Include Makeconfig immediately after
5884 defining subdir.
5885 * inet/Makefile: Likewise.
5886 * intl/Makefile: Likewise.
5887 * io/Makefile: Likewise.
5888 * libio/Makefile: Likewise.
5889 (all): Remove target.
5890 * locale/Makefile: Include Makeconfig immediately after defining
5891 subdir.
5892 * login/Makefile: Likewise.
5893 * mach/Makefile: Likewise.
5894 (all): Remove target.
5895 * malloc/Makefile: Include Makeconfig immediately after defining
5896 subdir.
5897 (all): Remove target.
5898 * manual/Makefile: Include Makeconfig immediately after defining
5899 subdir.
5900 * math/Makefile: Likewise.
5901 * misc/Makefile: Likewise.
5902 * nis/Makefile: Likewise.
5903 * nss/Makefile: Likewise.
5904 * po/Makefile: Likewise.
5905 (all): Remove target.
5906 * posix/Makefile: Include Makeconfig immediately after defining
5907 subdir.
5908 * pwd/Makefile: Likewise.
5909 * resolv/Makefile: Likewise.
5910 * resource/Makefile: Likewise.
5911 * rt/Makefile: Likewise.
5912 * setjmp/Makefile: Likewise.
5913 * shadow/Makefile: Likewise.
5914 * signal/Makefile: Likewise.
5915 * socket/Makefile: Likewise.
5916 * soft-fp/Makefile: Likewise.
5917 * stdio-common/Makefile: Likewise.
5918 * stdlib/Makefile: Likewise.
5919 * streams/Makefile: Likewise.
5920 * string/Makefile: Likewise.
5921 * sunrpc/Makefile: Likewise.
5922 (all): Remove target.
5923 * sysvipc/Makefile: Include Makeconfig immediately after defining
5924 subdir.
5925 * termios/Makefile: Likewise.
5926 * time/Makefile: Likewise.
5927 * timezone/Makefile: Likewise.
5928 (all): Remove target.
5929 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5930 subdir.
5931 * wctype/Makefile: Likewise.
5932
5b456e9d
SE
59332014-02-26 Steve Ellcey <sellcey@mips.com>
5934
5935 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5936 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5937 (libc_feholdexcept_setround_mips): Ditto.
5938 (libc_feholdsetround): New.
5939 (libc_feholdsetroundf): New.
5940 (libc_feholdsetroundl): New.
5941 (libc_feupdateenv_test_mips): New.
5942 (libc_feupdateenv_test): New.
5943 (libc_feupdateenv_testf): New.
5944 (libc_feupdateenv_testl): New.
5945 (libc_feresetround): New.
5946 (libc_feresetroundf): New.
5947 (libc_feresetroundl): New.
5948 (libc_fetestexcept_mips): New.
5949 (libc_fetestexcept): New.
5950 (libc_fetestexceptf): New.
5951 (libc_fetestexceptl): New.
5952 (HAVE_RM_CTX): New.
5953 (libc_feholdexcept_setround_mips_ctx): New.
5954 (libc_feholdexcept_setround_ctx): New.
5955 (libc_feholdexcept_setroundf_ctx): New.
5956 (libc_feholdexcept_setroundl_ctx): New.
5957 (libc_fesetenv_mips_ctx): New.
5958 (libc_fesetenv_ctx): New.
5959 (libc_fesetenv_ctxf): New.
5960 (libc_fesetenv_ctxl): New.
5961 (libc_feupdateenv_mips_ctx): New.
5962 (libc_feupdateenv_ctx): New.
5963 (libc_feupdateenvf_ctx): New.
5964 (libc_feupdateenvl_ctx): New.
5965 (libc_feholdsetround_mips_ctx): New.
5966 (libc_feholdsetround_ctx): New.
5967 (libc_feholdsetroundf_ctx): New.
5968 (libc_feholdsetroundl_ctx): New.
5969 (libc_feresetround_mips_ctx): New.
5970 (libc_feresetround_ctx): New.
5971 (libc_feresetroundf_ctx): New.
5972 (libc_feresetroundl_ctx): New.
5973
085d0e35
CD
59742014-02-26 Carlos O'Donell <carlos@redhat.com>
5975
f067bf1f
CD
5976 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5977
085d0e35
CD
5978 * manual/ipc.texi: New file.
5979 * manual/Makefile (chapters): Add ipc.
5980 * manual/job.texi: Add "Inter-Process Communication" to next.
5981 * manual/process.texi: Add "Inter-Process Communication" to prev.
5982
86e58c08
AZ
59832014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5984
5985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5986
4248f0da
OB
59872014-02-26 Ondřej Bílka <neleai@seznam.cz>
5988
5989 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5990
cf822e3c
OB
5991 * manual/arith.texi: Fix spaces after sentences.
5992 * manual/charset.texi: Likewise.
5993 * manual/errno.texi: Likewise.
5994 * manual/install.texi: Likewise.
5995 * manual/llio.texi: Likewise.
5996 * manual/locale.texi: Likewise.
5997 * manual/maint.texi: Likewise.
5998 * manual/math.texi: Likewise.
5999 * manual/memory.texi: Likewise.
6000 * manual/message.texi: Likewise.
6001 * manual/probes.texi: Likewise.
6002 * manual/resource.texi: Likewise.
6003 * manual/signal.texi: Likewise.
6004 * manual/socket.texi: Likewise.
6005 * manual/stdio.texi: Likewise.
6006 * manual/string.texi: Likewise.
6007 * manual/time.texi: Likewise.
6008 * manual/users.texi: Likewise.
6009
ade40b10
CD
60102014-02-25 Carlos O'Donell <carlos@redhat.com>
6011
6012 [BZ #16632]
6013 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6014 _DEFAULT_SOURCE is defined.
6015
d0503676
CD
60162014-02-25 Ulrich Drepper <drepper@gmail.com>
6017 Carlos O'Donell <carlos@redhat.com>
6018
6019 [BZ #16613]
6020 * elf/dl-tls.c (_dl_count_modids): New function.
6021 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6022 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6023 audit library and increment generation counter.
6024 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6025 * elf/tst-audit9.c: New file.
6026 * elf/tst-auditmod9a.c: New file.
6027 * elf/tst-auditmod9b.c: New file.
6028 * elf/Makefile: Add rules to build and run tst-audit9.
6029
4cbf380c
FW
60302014-02-25 Florian Weimer <fweimer@redhat.com>
6031
6032 [BZ #15347]
6033 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6034
80a56cc3
WN
60352014-02-25 Will Newton <will.newton@linaro.org>
6036
6037 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6038 (__longjmp): Restore sp and lr before restoring callee
6039 saved registers. Add longjmp and longjmp_target
6040 SystemTap probe point.
6041 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6042 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6043 Define to zero to match jmpbuf layout.
6044 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6045 (__sigsetjmp): Save sp and lr before saving callee
6046 saved registers. Add setjmp SystemTap probe point.
6047
3ea0f74e
SL
60482014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6049
6050 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6051
b04acb26
AS
60522014-02-24 Andreas Schwab <schwab@suse.de>
6053
6054 [BZ #15804]
6055 * elf/pldd.c (wait_for_ptrace_stop): New function.
6056 (main): Call it after attaching.
6057
098ad55c
RM
60582014-02-22 Roland McGrath <roland@hack.frob.com>
6059
d4ec6ae1
RM
6060 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6061 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6062 Versions files is now verboten.
6063 * hurd/Versions (libc: GLIBC_2.0):
6064 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6065 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6066 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6067 * mach/Versions: Likewise.
6068
098ad55c
RM
6069 * csu/Versions: Remove unused %include.
6070 * resolv/Versions: Likewise.
6071
acd7f096
JM
60722014-02-21 Joseph Myers <joseph@codesourcery.com>
6073
f0881698
JM
6074 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6075 ($(objpfx)check-local-headers.out): Likewise.
6076 ($(objpfx)begin-end-check.out): Likewise.
6077 * Makerules (check-abi-%.out): Likewise.
6078 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6079 ($(objpfx)test2.cat): Likewise.
6080 ($(objpfx)de/libc.cat): Likewise.
6081 ($(objpfx)test-gencat.out): Likewise.
6082 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6083 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6084 ($(objpfx)noload-mem): Likewise.
6085 ($(objpfx)tst-pathopt.out): Likewise.
6086 ($(objpfx)tst-rtld-load-self.out): Likewise.
6087 ($(objpfx)tst-array1-cmp.out): Likewise.
6088 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6089 ($(objpfx)tst-array2-cmp.out): Likewise.
6090 ($(objpfx)tst-array3-cmp.out): Likewise.
6091 ($(objpfx)tst-array4-cmp.out): Likewise.
6092 ($(objpfx)tst-array5-cmp.out): Likewise.
6093 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6094 ($(objpfx)check-textrel.out): Likewise.
6095 ($(objpfx)check-execstack.out): Likewise.
6096 ($(objpfx)check-localplt.out): Likewise.
6097 ($(objpfx)order2-cmp.out): Likewise.
6098 ($(objpfx)tst-leaks1-mem): Likewise.
6099 ($(objpfx)tst-leaks1-static-mem): Likewise.
6100 ($(objpfx)tst-initorder-cmp.out): Likewise.
6101 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6102 ($(objpfx)tst-unused-dep.out): Likewise.
6103 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6104 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6105 * iconv/Makefile (test-iconvconfig): Likewise.
6106 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6107 ($(objpfx)iconv-test.out): Likewise.
6108 ($(objpfx)tst-tables.out): Likewise.
6109 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6110 ($(objpfx)tst-gettext.out): Likewise.
6111 ($(objpfx)tst-translit.out): Likewise.
6112 ($(objpfx)tst-gettext2.out): Likewise.
6113 ($(objpfx)tst-gettext4.out): Likewise.
6114 ($(objpfx)tst-gettext6.out): Likewise.
6115 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6116 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6117 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6118 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6119 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6120 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6121 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6122 ($(objpfx)wordexp-tst.out): Likewise.
6123 ($(objpfx)annexc.out): Likewise.
6124 ($(objpfx)tst-fnmatch-mem): Likewise.
6125 ($(objpfx)bug-regex2-mem): Likewise.
6126 ($(objpfx)bug-regex14-mem): Likewise.
6127 ($(objpfx)bug-regex21-mem): Likewise.
6128 ($(objpfx)bug-regex31-mem): Likewise.
6129 ($(objpfx)tst-vfork3-mem): Likewise.
6130 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6131 ($(objpfx)tst-pcre-mem): Likewise.
6132 ($(objpfx)tst-boost-mem): Likewise.
6133 ($(objpfx)tst-getconf.out): Likewise.
6134 ($(objpfx)bug-ga2-mem): Likewise.
6135 ($(objpfx)bug-glob2-mem): Likewise.
6136 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6137 ($(objpfx)mtrace-tst-leaks2): Likewise.
6138 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6139 ($(objpfx)tst-printf.out): Likewise.
6140 ($(objpfx)tst-setvbuf1.out): Likewise.
6141 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6142 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6143 ($(objpfx)tst-fmtmsg.out): Likewise.
6144 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6145 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6146
acd7f096
JM
6147 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6148 * bits/sigaction.h [__USE_MISC]: Likewise.
6149 * bits/waitstatus.h: Update #endif comments.
6150 * ctype/ctype.h: Likewise.
6151 * dirent/dirent.h: Likewise.
6152 [__USE_MISC]: Remove redundant conditionals.
6153 * grp/grp.h: Update #endif comments.
6154 [__USE_GNU]: Remove redundant conditionals.
6155 [__USE_MISC]: Likewise.
6156 * inet/netinet/in.h [__USE_GNU]: Likewise.
6157 * io/sys/stat.h [__USE_MISC]: Likewise.
6158 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6159 * libio/bits/stdio.h: Update #endif comments.
6160 [__USE_MISC]: Remove redundant conditionals.
6161 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6162 * libio/stdio.h: Update #endif comments.
6163 [__USE_MISC]: Remove redundant conditionals.
6164 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6165 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6166 * math/math.h: Update #else and #endif comments.
6167 [__USE_MISC]: Remove redundant conditionals.
6168 * misc/sys/uio.h: Update #endif comments.
6169 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6170 * posix/glob.h [__USE_MISC]: Likewise.
6171 * posix/sys/types.h: Update #endif comments.
6172 [__USE_MISC]: Remove redundant conditionals.
6173 * posix/sys/wait.h: Update #endif comments.
6174 [__USE_MISC]: Remove redundant conditionals.
6175 * posix/unistd.h: Update #endif comments.
6176 [__USE_MISC]: Remove redundant conditionals.
6177 * pwd/pwd.h [__USE_GNU]: Likewise.
6178 [__USE_MISC]: Likewise.
6179 * resolv/netdb.h [__USE_GNU]: Likewise.
6180 * signal/signal.h: Update #endif comments.
6181 [__USE_MISC]: Remove redundant conditionals.
6182 * stdlib/stdlib.h: Update #else and #endif comments.
6183 [__USE_MISC]: Remove redundant conditionals.
6184 [__USE_GNU]: Likewise.
6185 * string/bits/string2.h [__USE_MISC]: Likewise.
6186 * string/string.h: Update #endif comments.
6187 [__USE_MISC]: Remove redundant conditionals.
6188 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6189 Likewise.
6190 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6191 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6192 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6193 Likewise.
6194 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6195 Likewise.
6196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6197 comments.
6198 [__USE_MISC]: Remove redundant conditionals.
6199 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6200 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6201 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6202 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6203 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6204 Likewise.
6205 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6206 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6207 Likewise.
6208 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6209 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6210 Likewise.
6211 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6212 Likewise.
6213 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6214 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6215 Likewise.
6216 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6217 Likewise.
6218 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6219 * sysdeps/x86/bits/string.h: Update #endif comments.
6220 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6221 conditionals.
6222 * time/sys/time.h: Update #endif comments.
6223 * time/time.h: Likewise.
6224 [__USE_MISC]: Remove redundant conditionals.
6225
a5d82e4e
YG
62262014-02-21 Yury Gribov <y.gribov@samsung.com>
6227
6228 [BZ #16600]
6229 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6230
9a80491d
AS
62312014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6232
6233 * Versions.def (librt): Add GLIBC_2.17.
6234
105fa381
AC
62352014-02-21 Adam Conrad <adconrad@0c3.net>
6236
6237 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6238 synonym for _SYS_AUXV_H to allow direct inclusion.
6239 * sysdeps/sparc/bits/hwcap.h: Likewise.
6240 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6241 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6242 * sysdeps/sparc/sysdep.h: Likewise.
6243
b8cd1c4e
SP
62442014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6245
6246 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6247
bd939d23
RS
62482014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6249
6250 * benchtests/bench-strrchr.c: Print length instead of position.
6251
5d7b57ca
JM
62522014-02-20 Joseph Myers <joseph@codesourcery.com>
6253
bc688c10
JM
6254 [BZ #16611]
6255 * sysdeps/unix/sysv/linux/kernel-features.h
6256 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6257 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6258 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6259 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6260 Likewise.
6261 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6262 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6263 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6264 (__ASSUME_SENDMMSG): Define instead of using previous
6265 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6266 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6267 (__ASSUME_SENDMMSG_SYSCALL): Define.
6268 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6269 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6270 Likewise.
6271 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6272 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6273 Likewise.
6274 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6275 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6276 Likewise.
6277 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6278 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6279 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6280 [__ASSUME_SENDMMSG]: Change conditionals to
6281 [__ASSUME_SENDMMSG_SOCKETCALL].
6282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6283 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6284 Define.
6285 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6286 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6287 Likewise.
6288 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6289 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6290 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6291 [!__ASSUME_SENDMMSG]: Change conditional to
6292 [!__ASSUME_SENDMMSG_SOCKETCALL].
6293 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6294 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6295 Define.
6296
0e31b18c
JM
6297 [BZ #16610]
6298 * sysdeps/unix/sysv/linux/kernel-features.h
6299 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6300 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6301 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6302 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6303 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6304 [__i386__ || __sparc__]
6305 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6306 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6307 (__ASSUME_RECVMMSG): Define instead of using previous
6308 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6309 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6310 (__ASSUME_RECVMMSG_SYSCALL): Define.
6311 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6312 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6313 Likewise.
6314 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6316 Likewise.
6317 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6318 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6319 Likewise.
6320 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6321 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6322 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6323 [__ASSUME_RECVMMSG]: Change condition to
6324 [__ASSUME_RECVMMSG_SOCKETCALL].
6325 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6326 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6327 Define.
6328 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6329 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6330 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6331 Likewise.
6332 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6333 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6334 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6335 [!__ASSUME_RECVMMSG]: Change condition to
6336 [!__ASSUME_RECVMMSG_SOCKETCALL].
6337 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6338 (__ASSUME_RECVMMSG_SYSCALL): Define.
6339
dd481ccf
JM
6340 [BZ #16609]
6341 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6342 __powerpc__ || __s390__ || __sh__ || __sparc__]
6343 (__ASSUME_SOCKETCALL): Define.
6344 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6345 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6346 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6347 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6348 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6349 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6350 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6351 (__ASSUME_ACCEPT4): Define instead of using previous
6352 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6353 __powerpc__ || __sparc__ || __s390__)] condition.
6354 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6355 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6356 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6357 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6358 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6359 [!__ASSUME_ACCEPT4]: Change condition to
6360 [!__ASSUME_ACCEPT4_SOCKETCALL].
6361 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6362 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6363 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6364 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6365 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6366 __ASSUME_ACCEPT4_SYSCALL.
6367 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6368 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6369 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6370 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6371 __ASSUME_ACCEPT4_SYSCALL.
6372 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6373 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6374 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6375 [__ASSUME_ACCEPT4]: Change condition to
6376 [__ASSUME_ACCEPT4_SOCKETCALL].
6377 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6378 (__ASSUME_SOCKETCALL): Define.
6379 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6380 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6381 (__ASSUME_SOCKETCALL): Define.
6382 (__ASSUME_ACCEPT4): Remove.
6383 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6384 Define.
6385 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6386 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6387 Likewise.
6388 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6389 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6390
5d7b57ca
JM
6391 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6392 macro.
6393 (HWCAP_ARM_LPAE): Likewise.
6394 (HWCAP_ARM_EVTSTRM): Likewise.
6395 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6396 Add vpfd32, lpae and evtstrm.
6397 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6398 Increase to 22.
6399
63689d61
JM
64002014-02-19 Joseph Myers <joseph@codesourcery.com>
6401
6402 * math/auto-libm-test-in: Add tests of clog10.
6403 * math/auto-libm-test-out: Regenerated.
6404 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6405 * sysdeps/i386/fpu/libm-test-ulps: Update.
6406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6407
ab09bf61
AS
64082014-02-18 Andreas Schwab <schwab@suse.de>
6409
6410 [BZ #16574]
6411 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6412 Store non-zero if the second buffer was newly allocated.
6413 (send_dg): Likewise.
6414 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6415 to send_vc and send_dg.
6416 (res_nsend): Pass NULL for ansp2_malloced.
6417 * resolv/res_query.c (__libc_res_nquery): Add parameter
6418 answerp2_malloced and pass it down to __libc_res_nsend.
6419 (res_nquery): Pass additional NULL to __libc_res_nquery.
6420 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6421 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6422 second answer buffer if answerp2_malloced was set.
6423 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6424 (__libc_res_nquerydomain): Add parameter
6425 answerp2_malloced and pass it down to __libc_res_nquery.
6426 (res_nquerydomain): Pass additional NULL to
6427 __libc_res_nquerydomain.
6428 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6429 additional NULL to __libc_res_nsend and __libc_res_nquery.
6430 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6431 additional NULL to __libc_res_nsearch.
6432 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6433 parameter of __libc_res_nsearch to check for separately allocated
6434 second buffer.
6435 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6436 __libc_res_nquery.
6437 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6438 additional NULL to __libc_res_nquery.
6439 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6440 __libc_res_nsearch.
6441 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6442 * include/resolv.h: Update prototypes of __libc_res_nquery,
6443 __libc_res_nsearch, __libc_res_nsend.
6444
a4fb7861
JM
64452014-02-18 Joseph Myers <joseph@codesourcery.com>
6446
c6af2d89
JM
6447 * math/auto-libm-test-in: Add tests of fma.
6448 * math/auto-libm-test-out: Regenerated.
6449 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6450 (fma_towardzero_test_data): Likewise.
6451 (fma_downward_test_data): Likewise.
6452 (fma_upward_test_data): Likewise.
6453 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6454 mpc_mode.
6455 (rounding_modes): Add values for new field.
6456 (func_calc_method): Add value mpfr_fff_f.
6457 (func_calc_desc): Add mpfr_fff_f union field.
6458 (test_function): Add field exact_args.
6459 (FUNC): Add macro argument EXACT_ARGS.
6460 (FUNC_mpfr_f_f): Update call to FUNC.
6461 (FUNC_mpfr_f_f): Likewise.
6462 (FUNC_mpfr_ff_f): Likewise.
6463 (FUNC_mpfr_if_f): Likewise.
6464 (FUNC_mpc_c_f): Likewise.
6465 (FUNC_mpc_c_c): Likewise.
6466 (test_functions): Add fma. Update calls to FUNC.
6467 (handle_input_arg): Add argument exact_args.
6468 (add_test): Update call to handle_input_arg.
6469 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6470 (output_for_one_input_case): Update call to calc_generic_results.
6471 Recalculate exact zero results in each rounding mode.
6472
a4fb7861
JM
6473 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6474 non-negative before setting low bit.
6475 * math/auto-libm-test-in: Mark one asin test possibly having
6476 spurious underflow.
6477 * math/auto-libm-test-out: Regenerated.
6478 * sysdeps/i386/fpu/libm-test-ulps: Update.
6479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6480
ef114eaf
DH
64812014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6482
2b7f4f2c
SP
6483 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6484 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6485 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
6486 * README: Add missing listing for microblaze*-*-linux-gnu.
6487
c70a4b1d
MF
64882014-02-16 Mike Frysinger <vapier@gentoo.org>
6489
6490 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6491 * sysdeps/unix/sysv/linux/ia64: Move directory from
6492 ports/sysdeps/unix/sysv/linux/ia64.
6493 * README: Update listing for ia64-*-linux-gnu.
6494
591aeaf7
TD
64952014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6496 Joseph Myers <joseph@codesourcery.com>
6497
6498 * Makeconfig (test-name): New variable.
6499 (evaluate-test): Likewise.
6500 * Makerules (do-test-clean): Remove .test-result files.
6501 (common-mostlyclean): Likewise.
6502 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6503 * scripts/evaluate-test.sh: New file.
6504
6e89caf1
JM
65052014-02-14 Joseph Myers <joseph@codesourcery.com>
6506
7f98f180
JM
6507 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6508 separate $(objpfx)tst-fopenloc-cmp.out and
6509 $(objpfx)tst-fopenloc-mem.out targets.
6510 (tests): Update dependencies.
6511 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6512 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6513 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6514 (tst-rxspencer-no-utf8-ARGS): New variable.
6515 (tst-rxspencer-no-utf8-ENV): Likewise.
6516 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6517 instead of $(objpfx)tst-rxspencer-mem.
6518 ($(objpfx)tst-rxspencer-mem): Change target to
6519 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6520 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6521 * posix/tst-rxspencer-no-utf8.c: New file.
6522
6e89caf1
JM
6523 * elf/Makefile ($(objpfx)order.out): Remove rule.
6524 [$(run-built-tests) = yes] (tests): Depend on
6525 $(objpfx)order-cmp.out.
6526 ($(objpfx)order-cmp.out): New rule.
6527 [$(run-built-tests) = yes] (tests): Depend on
6528 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6529 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6530 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6531 $(objpfx)tst-array5-static-cmp.out.
6532 ($(objpfx)tst-array1.out): Remove rule.
6533 ($(objpfx)tst-array1-cmp.out): New rule.
6534 ($(objpfx)tst-array1-static.out): Remove rule.
6535 ($(objpfx)tst-array1-static-cmp.out): New rule.
6536 ($(objpfx)tst-array2.out): Remove rule.
6537 ($(objpfx)tst-array2-cmp.out): New rule.
6538 ($(objpfx)tst-array3.out): Remove rule.
6539 ($(objpfx)tst-array3-cmp.out): New rule.
6540 ($(objpfx)tst-array4.out): Remove rule.
6541 ($(objpfx)tst-array4-cmp.out): New rule.
6542 ($(objpfx)tst-array5.out): Remove rule.
6543 ($(objpfx)tst-array5-cmp.out): New rule.
6544 ($(objpfx)tst-array5-static.out): Remove rule.
6545 ($(objpfx)tst-array5-static-cmp.out): New rule.
6546 [$(run-built-tests) = yes] (tests): Depend on
6547 $(objpfx)order2-cmp.out.
6548 ($(objpfx)order2.out): Remove rule.
6549 ($(objpfx)order2-cmp.out): New rule.
6550 ($(objpfx)tst-initorder.out): Remove rule.
6551 [$(run-built-tests) = yes] (tests): Depend on
6552 $(objpfx)tst-initorder-cmp.out.
6553 ($(objpfx)tst-initorder-cmp.out): New rule.
6554 ($(objpfx)tst-initorder2.out): Remove rule.
6555 [$(run-built-tests) = yes] (tests): Depend on
6556 $(objpfx)tst-initorder2-cmp.out.
6557 ($(objpfx)tst-initorder2-cmp.out): New rule.
6558 [$(run-built-tests) = yes] (tests): Depend on
6559 $(objpfx)tst-unused-dep-cmp.out.
6560 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6561 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6562 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6563 on $(objpfx)tst-setvbuf1-cmp.out.
6564 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6565 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6566 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6567 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6568 ($(objpfx)tst-svc.out): Remove rule.
6569 ($(objpfx)tst-svc-cmp.out): New rule.
6570
ed9a38e2
JM
65712014-02-13 Joseph Myers <joseph@codesourcery.com>
6572
6573 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6574 * ctype/ctype.h [__USE_MISC]: Likewise.
6575 * dirent/dirent.h [__USE_MISC]: Likewise.
6576 * grp/grp.h [__USE_MISC]: Likewise.
6577 * io/fcntl.h [__USE_MISC]: Likewise.
6578 * io/sys/stat.h [__USE_MISC]: Likewise.
6579 * libio/stdio.h [__USE_MISC]: Likewise.
6580 * posix/unistd.h [__USE_MISC]: Likewise.
6581 * pwd/pwd.h [__USE_MISC]: Likewise.
6582 * stdlib.h [__USE_MISC]: Likewise.
6583 * string/bits/string2.h [__USE_MISC]: Likewise.
6584 * string/string.h [__USE_MISC]: Likewise.
6585 * time/time.h [__USE_MISC]: Likewise.
6586
d6680619
AS
65872014-02-13 Andreas Schwab <schwab@suse.de>
6588
6589 [BZ #16574]
6590 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6591 second answer buffer if it was separately allocated.
6592
ace614b8
JM
65932014-02-12 Joseph Myers <joseph@codesourcery.com>
6594
743151ae
JM
6595 * sysdeps/mips/math-tests.h: Include <features.h>.
6596 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6597 (ROUNDING_TESTS_long_double): Do not define.
6598 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6599 (EXCEPTION_TESTS_long_double): Likewise.
6600 * sysdeps/mips/mips64/libm-test-ulps: Update.
6601
498afc54
JM
6602 * include/features.h (__USE_BSD): Remove macro definitions.
6603 (__USE_SVID): Likewise.
6604 (_BSD_SOURCE): Likewise.
6605 (_SVID_SOURCE): Likewise.
6606 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6607 from definition of _DEFAULT_SOURCE.
6608 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6609 [_DEFAULT_SOURCE].
6610 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6611 * bits/mman.h [__USE_BSD]: Likewise.
6612 * bits/termios.h [__USE_BSD]: Likewise.
6613 * bits/waitstatus.h [__USE_BSD]: Likewise.
6614 * ctype/ctype.h [__USE_SVID]: Likewise.
6615 * dirent/dirent.h [__USE_BSD]: Likewise.
6616 * grp/grp.h [__USE_SVID]: Likewise.
6617 [__USE_BSD]: Likewise.
6618 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6619 * io/fcntl.h [__USE_BSD]: Likewise.
6620 * io/ftw.h [__USE_BSD]: Likewise.
6621 * io/sys/stat.h [__USE_BSD]: Likewise.
6622 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6623 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6624 * libio/stdio.h [__USE_SVID]: Likewise.
6625 [__USE_BSD]: Likewise.
6626 * math/math.h [__USE_SVID]: Likewise.
6627 [__USE_BSD]: Likewise.
6628 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6629 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6630 * misc/search.h [__USE_SVID]: Likewise.
6631 * misc/sys/mman.h [__USE_BSD]: Likewise.
6632 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6633 * misc/sys/uio.h [__USE_BSD]: Likewise.
6634 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6635 * posix/glob.h [__USE_BSD]: Likewise.
6636 * posix/regex.h [__USE_BSD]: Likewise.
6637 * posix/sys/types.h [__USE_BSD]: Likewise.
6638 [__USE_SVID]: Likewise.
6639 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6640 * posix/sys/wait.h [__USE_BSD]: Likewise.
6641 [__USE_SVID]: Likewise.
6642 * posix/unistd.h [__USE_BSD]: Likewise.
6643 [__USE_SVID]: Likewise.
6644 * pwd/pwd.h [__USE_SVID]: Likewise.
6645 * resolv/netdb.h [__USE_BSD]: Likewise.
6646 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6647 * signal/signal.h [__USE_BSD]: Likewise.
6648 [__USE_SVID]: Likewise.
6649 * socket/sys/socket.h [__USE_BSD]: Likewise.
6650 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6651 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6652 [__USE_SVID]: Likewise.
6653 * string/bits/string2.h [__USE_BSD]: Likewise.
6654 [__USE_SVID]: Likewise.
6655 * string/bits/string3.h [__USE_BSD]: Likewise.
6656 * string/endian.h [__USE_BSD]: Likewise.
6657 * string/string.h [__USE_SVID]: Likewise.
6658 [__USE_BSD]: Likewise.
6659 * string/strings.h [__USE_BSD]: Likewise.
6660 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6661 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6662 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6663 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6664 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6665 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6666 Likewise.
6667 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6668 Likewise.
6669 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6670 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6671 Likewise.
6672 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6673 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6674 Likewise.
6675 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6676 Likewise.
6677 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6678 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6679 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6680 Likewise.
6681 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6682 Likewise.
6683 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6684 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6685 * termios/termios.h [__USE_BSD]: Likewise.
6686 * time/sys/time.h [__USE_BSD]: Likewise.
6687 * time/time.h [__USE_BSD]: Likewise.
6688 [__USE_SVID]: Likewise.
6689
dd7b064c
JM
6690 * Makefile (subdir_targets): Remove subdir_lint.out.
6691
a2c4c199
JM
6692 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6693 (do-tst-printf): Likewise.
6694 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6695 $(objpfx)tst-printf.out.
6696
8756f740
JM
6697 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6698
1b6dd3f1
JM
6699 * Makerules (check-abi-%): Change target to
6700 $(objpfx)check-abi-%.out.
6701 (check-abi target): Update dependencies.
6702 (check-abi-pattern variable): Redirect output of diff to $@.
6703 (check-abi variable): Likewise.
6704 * elf/Makefile (check-abi): Update dependencies.
6705
ace614b8
JM
6706 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6707 unused.
6708 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6709 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6710 subnormal range.
6711 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6712 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6713 value has largest subnormal exponent.
6714 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6715 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6716 * sysdeps/aarch64/soft-fp/sfp-machine.h
6717 (_FP_TININESS_AFTER_ROUNDING): New macro.
6718 * sysdeps/alpha/soft-fp/sfp-machine.h
6719 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6720 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6721 Likewise.
6722 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6723 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6724 * sysdeps/mips/soft-fp/sfp-machine.h
6725 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6726 * sysdeps/powerpc/soft-fp/sfp-machine.h
6727 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6728 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6729 Likewise.
6730 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6731 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6732 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6733 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6734 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6735 Likewise.
6736
fbfdf9cb
DAS
67372014-02-12 Dylan Alex Simon <dylan@dylex.net>
6738
6739 [BZ #16545]
6740 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6741 model 1.
6742
68b7efaa
RH
67432014-02-12 Richard Henderson <rth@redhat.com>
6744
c70a4b1d 6745 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6746 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6747 * sysdeps/unix/sysv/linux/alpha: Move directory from
6748 ports/sysdeps/unix/sysv/linux/alpha.
6749 * README: Update listing for alpha-*-linux-gnu.
6750
cb4a2928
JM
67512014-02-11 Joseph Myers <joseph@codesourcery.com>
6752
c941736c
JM
6753 * include/features.h: Update comment documenting feature test
6754 macros.
6755 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6756 _DEFAULT_SOURCE.
6757 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6758 (_SVID_SOURCE): Likewise.
6759 (_DEFAULT_SOURCE): Update description of default features.
6760 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6761 with _GNU_SOURCE.
6762 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6763 (S_ISVTX): Likewise.
6764 * manual/math.texi (Mathematical Constants): Likewise.
6765 * manual/signal.texi (Interrupted Primitives): Likewise.
6766 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6767 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6768 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6769 Don't refer to _SVID_SOURCE in warning text.
6770
e8d8d7ec
JM
6771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6772
cb4a2928
JM
6773 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6774 already defined.
6775 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6776 * sysdeps/mips/dl-lookup.c: Remove.
6777 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6778
7e6424e3
AK
67792014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6780
6781 [BZ #16447]
6782 * math/auto-libm-test-in: Add testcase for expl.
6783 * math/auto-libm-test-out: Regenerate.
6784 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6785 calculation of unsafe.
6786 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6787
75eff3fe
MS
67882014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6789
6790 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6791 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6792 ports/sysdeps/unix/sysv/linux/aarch64.
6793 * README: Update listing for aarch64*-*-linux-gnu.
6794
d35f1e80
WN
67952014-02-11 Will Newton <will.newton@linaro.org>
6796
6797 * manual/probes.texi (Mathematical Function Probes): Use
6798 "triggered" instead of "hit".
6799
7b3436d4
WN
6800 * manual/probes.texi (Internal Probes): Add documentation
6801 of setjmp, longjmp and longjmp_target probes.
6802
b4f12ca3
WN
6803 * include/stap-probe.h: Add comment about probe argument
6804 format.
6805
c13a72b7
WN
6806 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6807 definition. (tr_where, tr_freehook, tr_mallochook,
6808 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6809
195b8165
DM
68102014-02-11 David S. Miller <davem@davemloft.net>
6811
6812 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6813 processing int_tests.
6814
2ad7600b
JM
68152014-02-10 Joseph Myers <joseph@codesourcery.com>
6816
6817 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6818 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6819 * sysdeps/unix/sysv/linux/mips: Move directory from
6820 ports/sysdeps/unix/sysv/linux/mips.
6821 * README: Update listing for mips-*-linux-gnu and
6822 mips64-*-linux-gnu.
6823
73588a72
AS
68242014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6825
6826 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6827 * sysdeps/unix/sysv/linux/m68k: Move directory from
6828 ports/sysdeps/unix/sysv/linux/m68k.
6829 * README: Update listing for m68k-*-linux-gnu.
6830
4372980f
CM
68312014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6832
6833 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6834 * sysdeps/unix/sysv/linux/generic: Move directory from
6835 ports/sysdeps/unix/sysv/linux/generic.
6836 * sysdeps/unix/sysv/linux/tile: Move directory from
6837 ports/sysdeps/unix/sysv/linux/tile.
6838 * README: Update listing for tile*-*-linux-gnu.
6839
a1ffb40e
OB
68402014-02-10 Ondřej Bílka <neleai@seznam.cz>
6841
57f41c40
AS
6842 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6843 __builtin_expect.
a1ffb40e
OB
6844 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6845 * catgets/open_catalog.c (__open_catalog): Likewise.
6846 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6847 * debug/confstr_chk.c: Likewise.
6848 * debug/fread_chk.c (__fread_chk): Likewise.
6849 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6850 * debug/getgroups_chk.c: Likewise.
6851 * debug/mbsnrtowcs_chk.c: Likewise.
6852 * debug/mbsrtowcs_chk.c: Likewise.
6853 * debug/mbstowcs_chk.c: Likewise.
6854 * debug/memcpy_chk.c: Likewise.
6855 * debug/memmove_chk.c: Likewise.
6856 * debug/mempcpy_chk.c: Likewise.
6857 * debug/memset_chk.c: Likewise.
6858 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6859 * debug/strcat_chk.c (__strcat_chk): Likewise.
6860 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6861 * debug/strncat_chk.c (__strncat_chk): Likewise.
6862 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6863 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6864 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6865 * debug/wcpncpy_chk.c: Likewise.
6866 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6867 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6868 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6869 * debug/wcsncpy_chk.c: Likewise.
6870 * debug/wcsnrtombs_chk.c: Likewise.
6871 * debug/wcsrtombs_chk.c: Likewise.
6872 * debug/wcstombs_chk.c: Likewise.
6873 * debug/wmemcpy_chk.c: Likewise.
6874 * debug/wmemmove_chk.c: Likewise.
6875 * debug/wmempcpy_chk.c: Likewise.
6876 * debug/wmemset_chk.c: Likewise.
6877 * dirent/scandirat.c (SCANDIRAT): Likewise.
6878 * dlfcn/dladdr1.c (dladdr1): Likewise.
6879 * dlfcn/dladdr.c (dladdr): Likewise.
6880 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6881 * dlfcn/dlerror.c (__dlerror): Likewise.
6882 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6883 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6884 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6885 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6886 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6887 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6888 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6889 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6890 Likewise.
6891 * elf/dl-conflict.c: Likewise.
6892 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6893 * elf/dl-dst.h: Likewise.
6894 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6895 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6896 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6897 * elf/dl-init.c (call_init, _dl_init): Likewise.
6898 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6899 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6900 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6901 Likewise.
a1ffb40e
OB
6902 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6903 Likewise.
6904 * elf/dl-minimal.c (__libc_memalign): Likewise.
6905 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6906 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6907 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6908 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
6909 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6910 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
6911 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6912 * elf/dl-writev.h (_dl_writev): Likewise.
6913 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
6914 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6915 (dl_main): Likewise.
a1ffb40e
OB
6916 * elf/setup-vdso.h (setup_vdso): Likewise.
6917 * grp/compat-initgroups.c (compat_call): Likewise.
6918 * grp/fgetgrent.c (fgetgrent): Likewise.
6919 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6920 * grp/putgrent.c (putgrent): Likewise.
6921 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6922 Likewise.
6923 * hurd/hurdinit.c: Likewise.
6924 * iconvdata/8bit-gap.c (struct): Likewise.
6925 * iconvdata/ansi_x3.110.c : Likewise.
6926 * iconvdata/big5.c : Likewise.
6927 * iconvdata/big5hkscs.c : Likewise.
6928 * iconvdata/cp1255.c: Likewise.
6929 * iconvdata/cp1258.c : Likewise.
6930 * iconvdata/cp932.c : Likewise.
6931 * iconvdata/euc-cn.c: Likewise.
6932 * iconvdata/euc-jisx0213.c : Likewise.
6933 * iconvdata/euc-jp.c: Likewise.
6934 * iconvdata/euc-jp-ms.c : Likewise.
6935 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6936 * iconvdata/gb18030.c : Likewise.
6937 * iconvdata/gbbig5.c (const): Likewise.
6938 * iconvdata/gbgbk.c: Likewise.
6939 * iconvdata/gbk.c : Likewise.
6940 * iconvdata/ibm1364.c : Likewise.
6941 * iconvdata/ibm930.c : Likewise.
6942 * iconvdata/ibm932.c: Likewise.
6943 * iconvdata/ibm933.c : Likewise.
6944 * iconvdata/ibm935.c : Likewise.
6945 * iconvdata/ibm937.c : Likewise.
6946 * iconvdata/ibm939.c : Likewise.
6947 * iconvdata/ibm943.c: Likewise.
6948 * iconvdata/iso_11548-1.c: Likewise.
6949 * iconvdata/iso-2022-cn.c : Likewise.
6950 * iconvdata/iso-2022-cn-ext.c : Likewise.
6951 * iconvdata/iso-2022-jp-3.c: Likewise.
6952 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6953 * iconvdata/iso-2022-kr.c : Likewise.
6954 * iconvdata/iso646.c (gconv_end): Likewise.
6955 * iconvdata/iso_6937-2.c : Likewise.
6956 * iconvdata/iso_6937.c : Likewise.
6957 * iconvdata/iso8859-1.c: Likewise.
6958 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6959 * iconvdata/shift_jisx0213.c : Likewise.
6960 * iconvdata/sjis.c : Likewise.
6961 * iconvdata/t.61.c : Likewise.
6962 * iconvdata/tcvn5712-1.c : Likewise.
6963 * iconvdata/tscii.c: Likewise.
6964 * iconvdata/uhc.c : Likewise.
6965 * iconvdata/unicode.c (gconv_end): Likewise.
6966 * iconvdata/utf-16.c (gconv_end): Likewise.
6967 * iconvdata/utf-32.c (gconv_end): Likewise.
6968 * iconvdata/utf-7.c (base64): Likewise.
6969 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6970 * iconv/gconv_close.c (__gconv_close): Likewise.
6971 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
6972 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6973 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6974 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6975 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6976 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
6977 * iconv/iconv.c (iconv): Likewise.
6978 * iconv/iconv_close.c: Likewise.
6979 * iconv/loop.c (SINGLE): Likewise.
6980 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6981 * include/atomic.h: Likewise.
6982 * inet/inet6_option.c (option_alloc): Likewise.
6983 * intl/bindtextdom.c (set_binding_values): Likewise.
6984 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6985 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6986 * intl/localealias.c (read_alias_file): Likewise.
6987 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
6988 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6989 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
6990 * libio/fmemopen.c (fmemopen): Likewise.
6991 * libio/iofgets.c (_IO_fgets): Likewise.
6992 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6993 * libio/iofgetws.c (fgetws): Likewise.
6994 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6995 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6996 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6997 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6998 * locale/findlocale.c (_nl_find_locale): Likewise.
6999 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7000 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7001 Likewise.
7002 * locale/setlocale.c (setlocale): Likewise.
7003 * login/programs/pt_chown.c (main): Likewise.
7004 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7005 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7006 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7007 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7008 * math/e_exp2l.c: Likewise.
7009 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7010 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7011 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7012 * math/s_catan.c (__catan): Likewise.
7013 * math/s_catanf.c (__catanf): Likewise.
7014 * math/s_catanh.c (__catanh): Likewise.
7015 * math/s_catanhf.c (__catanhf): Likewise.
7016 * math/s_catanhl.c (__catanhl): Likewise.
7017 * math/s_catanl.c (__catanl): Likewise.
7018 * math/s_ccosh.c (__ccosh): Likewise.
7019 * math/s_ccoshf.c (__ccoshf): Likewise.
7020 * math/s_ccoshl.c (__ccoshl): Likewise.
7021 * math/s_cexp.c (__cexp): Likewise.
7022 * math/s_cexpf.c (__cexpf): Likewise.
7023 * math/s_cexpl.c (__cexpl): Likewise.
7024 * math/s_clog10.c (__clog10): Likewise.
7025 * math/s_clog10f.c (__clog10f): Likewise.
7026 * math/s_clog10l.c (__clog10l): Likewise.
7027 * math/s_clog.c (__clog): Likewise.
7028 * math/s_clogf.c (__clogf): Likewise.
7029 * math/s_clogl.c (__clogl): Likewise.
7030 * math/s_csin.c (__csin): Likewise.
7031 * math/s_csinf.c (__csinf): Likewise.
7032 * math/s_csinh.c (__csinh): Likewise.
7033 * math/s_csinhf.c (__csinhf): Likewise.
7034 * math/s_csinhl.c (__csinhl): Likewise.
7035 * math/s_csinl.c (__csinl): Likewise.
7036 * math/s_csqrt.c (__csqrt): Likewise.
7037 * math/s_csqrtf.c (__csqrtf): Likewise.
7038 * math/s_csqrtl.c (__csqrtl): Likewise.
7039 * math/s_ctan.c (__ctan): Likewise.
7040 * math/s_ctanf.c (__ctanf): Likewise.
7041 * math/s_ctanh.c (__ctanh): Likewise.
7042 * math/s_ctanhf.c (__ctanhf): Likewise.
7043 * math/s_ctanhl.c (__ctanhl): Likewise.
7044 * math/s_ctanl.c (__ctanl): Likewise.
7045 * math/w_pow.c: Likewise.
7046 * math/w_powf.c: Likewise.
7047 * math/w_powl.c: Likewise.
7048 * math/w_scalb.c (sysv_scalb): Likewise.
7049 * math/w_scalbf.c (sysv_scalbf): Likewise.
7050 * math/w_scalbl.c (sysv_scalbl): Likewise.
7051 * misc/error.c (error_tail): Likewise.
7052 * misc/pselect.c (__pselect): Likewise.
7053 * nis/nis_callback.c (__nis_create_callback): Likewise.
7054 * nis/nis_call.c (__nisfind_server): Likewise.
7055 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7056 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7057 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7058 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7059 * nis/nis_lookup.c (nis_lookup): Likewise.
7060 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7061 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7062 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7063 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7064 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7065 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7066 * nis/nss_compat/compat-initgroups.c (add_group)
7067 (internal_getgrent_r): Likewise.
7068 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7069 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7070 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7071 (internal_getspnam_r): Likewise.
7072 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7073 (_nss_nis_getaliasbyname_r): Likewise.
7074 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7075 (_nss_nis_getntohost_r): Likewise.
7076 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7077 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7078 (_nss_nis_getgrgid_r): Likewise.
7079 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7080 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7081 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7082 (_nss_nis_gethostbyname4_r): Likewise.
7083 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7084 (initgroups_netid): Likewise.
a1ffb40e 7085 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7086 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7087 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7088 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7089 (_nss_nis_getprotobynumber_r): Likewise.
7090 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7091 (_nss_nis_getsecretkey): Likewise.
7092 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7093 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7094 (_nss_nis_getpwuid_r): Likewise.
7095 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7096 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7097 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7098 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7099 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7100 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7101 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7102 Likewise.
57f41c40
AS
7103 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7104 (_nss_nisplus_getntohost_r): Likewise.
7105 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7106 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7107 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7108 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7109 Likewise.
57f41c40
AS
7110 * nis/nss_nisplus/nisplus-initgroups.c
7111 (_nss_nisplus_initgroups_dyn): Likewise.
7112 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7113 (_nss_nisplus_getnetbyaddr_r): Likewise.
7114 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7115 (_nss_nisplus_getprotobynumber_r): Likewise.
7116 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7117 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7118 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7119 Likewise.
57f41c40
AS
7120 * nis/nss_nisplus/nisplus-service.c
7121 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7122 (_nss_nisplus_getservbyport_r): Likewise.
7123 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7124 (_nss_nisplus_getspnam_r): Likewise.
7125 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7126 Likewise.
a1ffb40e
OB
7127 * nscd/aicache.c (addhstaiX): Likewise.
7128 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7129 * nscd/connections.c (register_traced_file, send_ro_fd)
7130 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7131 (main_loop_epoll): Likewise.
a1ffb40e
OB
7132 * nscd/grpcache.c (addgrbyX): Likewise.
7133 * nscd/hstcache.c (addhstbyX): Likewise.
7134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7135 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7136 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7137 (addinnetgrX): Likewise.
7138 * nscd/nscd-client.h (__nscd_acquire_maplock)
7139 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7140 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7141 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7142 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7143 Likewise.
7144 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7145 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7146 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7147 (__nscd_get_map_ref): Likewise.
a1ffb40e 7148 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7149 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7150 Likewise.
a1ffb40e
OB
7151 * nscd/pwdcache.c (addpwbyX): Likewise.
7152 * nscd/selinux.c (preserve_capabilities): Likewise.
7153 * nscd/servicescache.c (addservbyX): Likewise.
7154 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7155 * posix/fnmatch.c (fnmatch): Likewise.
7156 * posix/getopt.c (_getopt_internal_r): Likewise.
7157 * posix/glob.c (glob, glob_in_dir): Likewise.
7158 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7159 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7160 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7161 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7162 * resolv/res_init.c: Likewise.
7163 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7164 * resolv/res_query.c (__libc_res_nquery): Likewise.
7165 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7166 Likewise.
7167 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7168 * stdio-common/perror.c (perror): Likewise.
7169 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7170 * stdio-common/tmpnam.c (tmpnam): Likewise.
7171 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7172 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7173 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7174 Likewise.
a1ffb40e
OB
7175 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7176 * stdlib/putenv.c (putenv): Likewise.
7177 * stdlib/setenv.c (__add_to_environ): Likewise.
7178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7179 * stdlib/strtol_l.c (INTERNAL): Likewise.
7180 * string/memmem.c (memmem): Likewise.
7181 * string/strerror.c (strerror): Likewise.
7182 * string/strnlen.c (__strnlen): Likewise.
7183 * string/test-memmem.c (simple_memmem): Likewise.
7184 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7185 * sunrpc/pm_getport.c (__get_socket): Likewise.
7186 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7187 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7188 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7189 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7190 Likewise.
7191 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7192 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7193 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7194 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7195 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7196 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7197 Likewise.
7198 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7199 Likewise.
a1ffb40e
OB
7200 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7201 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7202 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7203 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7204 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7206 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7207 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7208 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7209 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7210 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7211 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7212 Likewise.
7213 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7214 Likewise.
7215 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7216 Likewise.
7217 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7218 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7219 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7220 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7221 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7222 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7223 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7225 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7226 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7227 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7229 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7230 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7232 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7233 Likewise.
a1ffb40e
OB
7234 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7235 Likewise.
7236 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7237 Likewise.
7238 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7239 Likewise.
7240 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7242 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7243 Likewise.
7244 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7245 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7246 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7247 * sysdeps/posix/sleep.c: Likewise.
7248 * sysdeps/posix/tempname.c: Likewise.
7249 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7250 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7251 Likewise.
57f41c40
AS
7252 * sysdeps/powerpc/powerpc32/dl-machine.h
7253 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7254 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7255 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7256 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7257 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7258 Likewise.
7259 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7260 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7261 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7262 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7263 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7264 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7265 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7266 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7267 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7268 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7269 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7270 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7271 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7273 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7274 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7275 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7276 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7277 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7278 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7279 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7280 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7282 Likewise.
7283 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7284 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7285 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7286 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7287 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7288 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7289 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7290 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7291 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7292 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7293 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7294 Likewise.
7295 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7296 (__posix_fallocate64_l64): Likewise.
7297 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7298 (posix_fallocate): Likewise.
57f41c40
AS
7299 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7300 Likewise.
a1ffb40e 7301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7302 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7303 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7304 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7305 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7306 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7307 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7308 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7309 (__posix_fallocate64_l64): Likewise.
7310 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7311 Likewise.
7312 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7313 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7314 (__get_clockfreq): Likewise.
a1ffb40e
OB
7315 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7316 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7317 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7319 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7320 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7321 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7322 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7323 Likewise.
7324 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7325 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7326 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7327 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7328 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7329 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7330 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7331 Likewise.
7332 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7333 (posix_fallocate): Likewise.
7334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7335 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7336 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7337 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7338 (elf_machine_rela, elf_machine_rela_relative)
7339 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7340 * time/asctime.c (asctime_internal): Likewise.
7341 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7342 * time/tzset.c (__tzset_parse_tz): Likewise.
7343 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7344 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7345 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7346 * wcsmbs/wcsmbsload.h: Likewise.
7347
f3d338c9
OB
7348 [BZ #15894]
7349 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7350
57f41c40
AS
7351 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7352 (arena_get2): Remove THREAD_STATS conditionals.
7353 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7354 (__malloc_stats, int): Likewise.
bdfe308a 7355
d674667c
MF
73562014-02-08 Mike Frysinger <vapier@gentoo.org>
7357
7358 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7359 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7360
6349768c
MF
7361 * manual/setjmp.texi: Fix typos/grammar errors.
7362
0b7c7473
MF
7363 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7364 Only return early when n is <= 0. Delete unused return statement.
7365
ac8cc9e3
MF
7366 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7367 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7368 * debug/tst-longjmp_chk3.c: New file.
7369
c5bb8e23
MF
7370 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7371 (test_main): Replace code with set_fortify_handler call.
7372 * debug/test-strcpy_chk.c: Likewise.
7373 * debug/tst-chk1.c: Likewise.
7374 * debug/tst-longjmp_chk.c: Likewise.
7375 * test-skeleton.c: Include fcntl.h & paths.h
7376 (set_fortify_handler): Define.
7377
10444e42
MF
7378 * debug/tst-longjmp_chk.c: Add header comment and include
7379 ../test-skeleton.c.
7380 (do_test): Mark static.
7381 (TEST_FUNCTION): Define.
7382
1e805e8d
MF
7383 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7384 (IP_PMTUDISC_INTERFACE): Likewise.
7385 (IP_MULTICAST_IF): Likewise.
7386 (IP_MULTICAST_TTL): Likewise.
7387 (IP_MULTICAST_LOOP): Likewise.
7388 (IP_ADD_MEMBERSHIP): Likewise.
7389 (IP_DROP_MEMBERSHIP): Likewise.
7390 (IP_UNBLOCK_SOURCE): Likewise.
7391 (IP_BLOCK_SOURCE): Likewise.
7392 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7393 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7394 (IP_MSFILTER): Likewise.
7395 (MCAST_JOIN_GROUP): Likewise.
7396 (MCAST_BLOCK_SOURCE): Likewise.
7397 (MCAST_UNBLOCK_SOURCE): Likewise.
7398 (MCAST_LEAVE_GROUP): Likewise.
7399 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7400 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7401 (MCAST_MSFILTER): Likewise.
7402 (IP_MULTICAST_ALL): Likewise.
7403 (IP_UNICAST_IF): Likewise.
7404
73f79bb7
MF
7405 * timezone/Makefile: Delete $(have-ksh) check.
7406 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7407 * timezone/tzselect.ksh: Add +x mode bits.
7408
8da79b60
MF
7409 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7410 (ANON_INODE_FS_MAGIC): Likewise.
7411 (BDEVFS_MAGIC): Likewise.
7412 (BINFMTFS_MAGIC): Likewise.
7413 (BTRFS_TEST_MAGIC): Likewise.
7414 (CRAMFS_MAGIC_WEND): Likewise.
7415 (DEBUGFS_MAGIC): Likewise.
7416 (ECRYPTFS_SUPER_MAGIC): Likewise.
7417 (EXT3_SUPER_MAGIC): Likewise.
7418 (EXT4_SUPER_MAGIC): Likewise.
7419 (FUTEXFS_SUPER_MAGIC): Likewise.
7420 (HOSTFS_SUPER_MAGIC): Likewise.
7421 (HUGETLBFS_MAGIC): Likewise.
7422 (MINIX3_SUPER_MAGIC): Likewise.
7423 (MTD_INODE_FS_MAGIC): Likewise.
7424 (NILFS_SUPER_MAGIC): Likewise.
7425 (OPENPROM_SUPER_MAGIC): Likewise.
7426 (PIPEFS_MAGIC): Likewise.
7427 (PSTOREFS_MAGIC): Likewise.
7428 (QNX6_SUPER_MAGIC): Likewise.
7429 (RAMFS_MAGIC): Likewise.
7430 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7431 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7432 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7433 (SECURITYFS_MAGIC): Likewise.
7434 (SELINUX_MAGIC): Likewise.
7435 (SMACK_MAGIC): Likewise.
7436 (SOCKFS_MAGIC): Likewise.
7437 (SQUASHFS_MAGIC): Likewise.
7438 (STACK_END_MAGIC): Likewise.
7439 (TMPFS_MAGIC): Likewise.
7440 (USBDEVICE_SUPER_MAGIC): Likewise.
7441 (V9FS_MAGIC): Likewise.
7442 (XENFS_SUPER_MAGIC): Likewise.
7443 (CRAMFS_MAGIC): Fix typo in comment.
7444 (EXT2_SUPER_MAGIC): Update comment.
7445 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7446
464263cc
JM
74472014-02-08 Joseph Myers <joseph@codesourcery.com>
7448
c6bfe5c4
JM
7449 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7450 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7451 * sysdeps/unix/sysv/linux/arm: Move directory from
7452 ports/sysdeps/unix/sysv/linux/arm.
7453 * README: Update listing for arm-*-linux-gnueabi.
7454
464263cc
JM
7455 * README: Remove mention of am33.
7456
32749f6c
RM
74572014-02-07 Roland McGrath <roland@hack.frob.com>
7458
7459 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7460 than the comma operator, to avoid "rhs of comma has no effect"
7461 compiler warnings.
7462 (__sigfillset, __sigandset, __sigorset): Likewise.
7463 * include/signal.h (__sigemptyset): Likewise.
7464 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7465
d5b396c1
AM
74662014-02-07 Allan McRae <allan@archlinux.org>
7467
7468 * version.h (RELEASE): Set to "development".
7469 (VERSION): Set to "2.19.90"
7470 * NEWS: Add 2.20 section.
7471
3bfff2ed
CD
74722014-02-06 Carlos O'Donell <carlos@redhat.com>
7473
7474 [BZ #16529]
7475 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7476
ee7cc385
SP
74772014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7478
7479 * manual/contrib.texi: Update entry for Carlos O'Donell,
7480 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7481
f877c4f2
CD
74822014-02-05 Carlos O'Donell <carlos@rehdat.com>
7483
27e839f6
CD
7484 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7485
f877c4f2
CD
7486 * sysdeps/unix/sysv/linux/kernel-features.h
7487 [__LINUX_KERNEL_VERSION >= 0x020621]
7488 (__ASSUME_PROC_PID_TASK_COMM): Define.
7489
68159946
SP
74902014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7491
ba17cdbd
SP
7492 [BZ #16398]
7493 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7494 conversion when destination buffer does not have enough space.
7495 * libio/tst-ftell-partial-wide.c: New test case.
7496 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7497
68159946
SP
7498 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7499 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7500 Leonard and Allan McRae.
7501
2b528732
DM
75022014-02-04 David S. Miller <davem@davemloft.net>
7503
7504 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7505 32-bit.
7506
0ff82463
AZ
75072014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7508
57f41c40
AS
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7510 New file
c01603f7
AZ
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7512 New file
57f41c40
AS
7513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7514 New file.
7515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7516 New file.
c01603f7
AZ
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7518 New file.
57f41c40
AS
7519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7520 New file.
7521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7522 New file.
c01603f7
AZ
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7524 New file.
7525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7526 New file.
7527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7528 New file.
7529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7530 New file.
7531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7532 New file.
7533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7534 New file.
7535
75362014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7537
0ff82463
AZ
7538 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7539 * shlib-versions: Likewise.
7540
1695c773
AZ
75412014-02-04 Roland McGrath <roland@hack.frob.com>
7542 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7543
7544 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7545 (abilist-pattern): New variable, set to %-le.abilist.
7546
7547 * Makerules (abilist-pattern): New variable.
7548 (vpath): Use $(abilist-pattern) in place of %.abilist.
7549 (check-abi-% pattern rule): Likewise.
7550 (check-abi, update-abi): Likewise.
7551
6c0ce4b4
EW
75522014-02-04 Eric Wong <normalperson@yhbt.net>
7553
7554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7555
481e3524
CD
75562014-02-03 Carlos O'Donell <carlos@redhat.com>
7557
7558 * manual/startup.texi: Add next, previous, and top entries for
7559 the `Program Arguments' and `Environment Variables' nodes.
7560
375592d3
AO
75612014-02-03 Alexandre Oliva <aoliva@redhat.com>
7562
7563 * manual/macros.texi: Add comments before MTASC-safety macros.
7564
f54838ba
AO
7565 * manual/users.texi: Document MTASC-safety properties.
7566
57f41c40
AS
7567 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7568 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7569 @deftypefun, and add @safety note.
7570 * manual/signal.texi: Move comments that analyze the above
7571 functions to their home place.
7572
fd3daba4
AM
75732014-02-03 Allan McRae <allan@archlinux.org>
7574
7575 * po/sl.po: Update Slovenian translation from translation project.
7576
597636d7
AO
75772014-02-02 Alexandre Oliva <aoliva@redhat.com>
7578
7579 * manual/time.texi (timegm): Add missing blank after @c.
7580 Reported by Joseph Myers <joseph@codesourcery.com>.
7581
ee196e3c
AO
75822014-02-01 Alexandre Oliva <aoliva@redhat.com>
7583
7584 * manual/check-safety.sh: New.
7585 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7586
f8d529d5
AO
7587 * manual/terminal.texi: Document MTASC-safety properties.
7588
de55fdf4
AO
7589 * manual/filesys.texi: Document MTASC-safety properties.
7590
c3299c08
AO
7591 * manual/errno.texi: Document MTASC-safety properties.
7592
06e90b14
AO
7593 * manual/intro.texi: Document safety identifiers and
7594 conditionals.
7595
1acd4371
AO
7596 * manual/string.texi (wcstok): Fix prototype.
7597 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7598
23e5b8cb
AO
7599 * manual/time.texi: Document MTASC-safety properties.
7600
11087373
AO
7601 * manual/string.texi: Document MTASC-safety properties.
7602
5da2c93d
AO
7603 * manual/threads.texi: Document MTASC-safety properties.
7604
171e9210
AO
7605 * manual/stdio.texi: Document MTASC-safety properties.
7606
d9e02532
AO
7607 * manual/syslog.texi: Document MTASC-safety properties.
7608
6af8bab7
AO
7609 * manual/sysinfo.texi: Document MTASC-safety properties.
7610
663b02d7
AO
7611 * manual/startup.texi: Document MTASC-safety properties.
7612
973f180b
AO
7613 * manual/socket.texi: Document MTASC-safety properties.
7614
8f3c25c8
AO
7615 * manual/signal.texi: Document MTASC-safety properties.
7616
542210fb
AO
76172014-01-31 Alexandre Oliva <aoliva@redhat.com>
7618
7619 * manual/setjmp.texi: Document MTASC-safety properties.
7620
433c45a2
AO
7621 * manual/search.texi: Document MTASC-safety properties.
7622
c8ce789c
AO
7623 * manual/resource.texi: Document MTASC-safety properties.
7624
19f5d29c
AO
7625 * manual/process.texi: Document MTASC-safety properties.
7626
e2dfb7f4
AO
7627 * manual/platform.texi: Document MTASC-safety properties.
7628
8c1413f5
AO
7629 * manual/pipe.texi: Document MTASC-safety properties.
7630
03483ada
AO
7631 * manual/pattern.texi: Document MTASC-safety properties.
7632
29e7e2df
AO
7633 * manual/message.texi: Document MTASC-safety properties.
7634
9f529d7c
AO
7635 [BZ #12751]
7636 * manual/memory.texi: Document MTASC-safety properties.
7637
27aaa791
AO
7638 * manual/math.texi: Document MTASC-safety properties.
7639
f2d58726
AO
7640 * manual/locale.texi: Document MTASC-safety properties.
7641
2cc3615c
AO
7642 * manual/llio.texi: Document MTASC-safety properties.
7643
d9f0ec97
AO
7644 * manual/libdl.texi: New.
7645
e7c4409a
AO
7646 * manual/lang.texi: Document MTASC-safety properties.
7647
27bdc63c
AO
7648 * manual/job.texi: Document MTASC-safety properties.
7649
a7b90ea9
AO
7650 * manual/getopt.texi: Document MTASC-safety properties.
7651
c49130e3
AO
7652 * manual/ctype.texi: Document MTASC-safety properties.
7653
0d23a5c1
MR
76542014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7655
7656 [BZ #16046]
7657 * csu/libc-tls.c (static_map): Remove variable.
7658 (__libc_setup_tls): Use main executable's link map for TLS data.
7659 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7660 casing for LM_ID_BASE and GL(dl_nns).
7661 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7662 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7663 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7664 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7665 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7666 member.
7667 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7668 l_phnum members.
7669
0037bb60
AO
76702014-01-30 Alexandre Oliva <aoliva@redhat.com>
7671
7672 * manual/debug.texi: Document MTASC-safety properties.
7673
409e00bd
L
76742014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7675
7676 [BZ #16510]
7677 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7678 of __x86_64__ when disabling x87 inline functions.
7679
86e60666
AO
76802014-01-29 Alexandre Oliva <aoliva@redhat.com>
7681
7682 * manual/charset.texi: Document MTASC-safety properties.
7683
76167637
AO
7684 * manual/crypt.texi: Document MTASC-safety properties.
7685
e567f2a0
AO
7686 * manual/conf.texi: Document MTASC-safety properties.
7687
b719dafd
AO
7688 * manual/arith.texi: Document MTASC-safety properties.
7689
4a16c662
AO
7690 * manual/argp.texi: Document MTASC-safety properties.
7691
0a57b83e
AO
7692 * manual/macros.texi: Introduce macros to document multi
7693 thread, asynchronous signal and asynchronous cancellation
7694 safety properties.
7695 * manual/intro.texi: Introduce the properties themselves.
7696
feab2397
KK
76972014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7698
7699 * sysdeps/sh/sh4/Makefile: New file.
7700
1c0d11bc
AS
77012014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7702
7703 * math/gen-libm-test.pl ($srcdir): New variable.
7704 ($auto_input): Use it.
7705
af37a8a3
SP
77062014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7707
d7b00f98
SP
7708 [BZ #16506]
7709 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7710 access beyond array bounds when parsing netgroups file.
7711
af37a8a3
SP
7712 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7713 the old buffer before realloc.
7714
0c00f062
AM
77152014-01-27 Allan McRae <allan@archlinux.org>
7716
7717 * po/fr.po: Update French translation from translation project.
7718
7d69a1b0
KK
77192014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7720
7721 * sysdeps/sh/libm-test-ulps: Regenerate.
7722
6e697ff7
DM
77232014-01-24 David S. Miller <davem@davemloft.net>
7724
7725 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7726
9cadb35c
KK
77272014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7728
7729 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7730 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7731
5d41dadf
SP
77322013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7733
7734 [BZ #16474]
7735 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7736 string pointers after reallocation.
7737
0bad441c
KK
77382014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7739
7740 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7741 __SH4A__ instead of __SH_FPU_ANY__.
7742
7007c661
KK
77432014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7744
7745 * sysdeps/sh/fpu_control.h: New file.
7746 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7747 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7748 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7749 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7750 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7751 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7752 * sysdeps/sh/sys/ucontext.h: Remove.
7753 * sysdeps/sh/sys: Remove directory.
7754
0f0c35e4
AK
77552014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7756
7757 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7758 s390/sys/ucontext.h.
7759 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7760 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7761
4959e284
L
77622014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7763
7764 [BZ #15605]
7765 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7766
d98720e0
AZ
77672014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7768
7769 [BZ#16431]
7770 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7771 Adjust the vDSO correctly for internal calls.
7772 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7773
91cbd0bc
AM
77742014-01-20 Allan McRae <allan@archlinux.org>
7775
7776 * po/ca.po: Update Catalan translation from translation project.
7777
7a02cfad
MF
77782014-01-16 Mike Frysinger <vapier@gentoo.org>
7779
7780 * sysdeps/s390/sotruss-lib.c: New file.
7781
736c304a
AZ
77822014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7783
7784 [BZ#16430]
6e077ee5 7785 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7786 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7787 local calls issues by not having a PLT stub required for IFUNC calls.
7788 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7789
94d0cea0
JM
77902014-01-16 Joseph Myers <joseph@codesourcery.com>
7791
7792 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7793 * math/test-fpucw-static.c: Likewise.
7794
980cb518
SP
77952013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7796
7797 [BZ #16453]
7798 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7799
2393fc01
AZ
78002014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7801
7802 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7803 implementation for powerpc.
7804
d359bcc2
OB
78052014-01-15 Ondřej Bílka <neleai@seznam.cz>
7806
7807 [BZ #14782]
7808 * sysdeps/posix/system.c (__libc_system): Do not enable
7809 asynchronous cancellation.
7810
7beb48cb
AK
78112014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7812
7813 [BZ #16427]
7814 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7815 handling only for numbers special also in the IEEE case.
7816
c20d5bf5
AK
78172014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7818
7819 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7820
e83bd4ee
AM
78212014-01-11 Allan McRae <allan@archlinux.org>
7822
76d0ea69
AM
7823 * po/bg.po: Update Bulgarian translation from translation project.
7824
e83bd4ee
AM
7825 * po/de.po: Update German translation from translation project.
7826
bc2ba20a
RM
78272014-01-10 Roland McGrath <roland@hack.frob.com>
7828
7829 * sysdeps/generic/gcc-compat.h: New file.
7830
649ecea2
SP
78312014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7832
7833 * benchtests/asin-inputs: Correct slow inputs.
7834 * benchtests/acos-inputs: Likewise.
7835
1b19c006
AM
78362014-01-10 Allan McRae <allan@archlinux.org>
7837
a46dab08
AM
7838 * po:sv.po: Update Swedish translation from translation project.
7839
421df74a
AM
7840 * po/vi.po: Update Vietnamese translation from translation project.
7841
d61c51a7
AM
7842 * po/eo.po: Update Esperanto translation from translation project.
7843
0339a319
AM
7844 * po/cs.po: Update Czech translation from translation project.
7845
94ad3e99
AM
7846 * po/nl.po: Update Dutch translation from translation project.
7847
e349ca71
AM
7848 * po/pl.po: Update Polish translation from translation project.
7849
ddf930c1
AM
7850 * po/ru.po: Update Russian translation from translation project.
7851
1b19c006
AM
7852 * po/uk.po: Update Ukrainian translation from translation project.
7853
9f236c49
BM
78542014-01-08 Brooks Moses <bmoses@google.com>
7855
7856 * elf/dl-load.c: Fix comment typo.
7857
cd6701cf
CD
78582014-01-08 Carlos O'Donell <carlos@redhat.com>
7859
7860 * po/header.pot: Rename to...
7861 * po/pot.header: ... this.
7862 * po/Makefile: Use pot.header.
7863
66671c84
YK
78642014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7865 Maxim Kuvyrkov <maxim@kugelworks.com>
7866
7867 [BZ #16394]
cd6701cf
CD
7868 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7869 SRC and DEST against LEN.
66671c84 7870
38f34581
AZ
78712014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7872
7873 [BZ #16414]
7874 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7875 implementation.
7876 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7877
78782014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7879
7880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7881
4c327f2a
JM
78822014-01-08 Joseph Myers <joseph@codesourcery.com>
7883
7884 [BZ #16408]
7885 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7886 for large positive arguments.
7887
b821f414
JM
78882014-01-07 Joseph Myers <joseph@codesourcery.com>
7889
1f0f2067
JM
7890 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7891
a5a326f6
JM
7892 * math/auto-libm-test-in: Mark various tests with
7893 xfail-rounding:ldbl-128ibm.
7894 * math/auto-libm-test-out: Regenerated.
7895
b821f414
JM
7896 [BZ #16407]
7897 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7898 Increase overflow threshold.
7899
94c8a4bc
OB
79002014-01-07 Ondřej Bílka <neleai@seznam.cz>
7901
7902 [BZ #14286]
7903 * stdio-common/vfprintf.c: Check for integer overflow.
7904
87ded0c3
AK
79052014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7906
7907 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7908 the first argument and return value of __tls_get_addr_internal.
7909
c5eebdd0
AK
79102014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7911
7912 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7913 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7914
05d138ef
AK
79152014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7916
7917 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7918 * sysdeps/s390/rtld-global-offsets.sym: New file.
7919 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7920 GLIBC_2.19 symbol.
7921 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7922 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7923 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7924 ... this.
7925 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7926 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7927 ... this.
7928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7929 Regenerate.
7930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7931 Regenerate.
7932 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7933 halfs of GPRs for high_gprs contexts.
7934 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7935 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7936 field.
7937 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7938 uc_flags field.
7939 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7940 64 bit versions:
7941 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7942 for high GPRs (uc_high_gprs) and for future extensions
7943 (__reserved).
7944 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7945 for future extensions (__reserved).
7946 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7947 64 bit versions:
7948 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7949 SC_HIGHGPRS offset definition.
7950 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7951 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7952
93a45ff1
AK
7953 * Versions.def: Add GLIBC_2.19 for libpthread.
7954 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7955 siglongjmp for libpthread with GLIBC_2.19 symver.
7956 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7957 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7958 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7959 * sysdeps/s390/__longjmp.c: New file.
7960 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7961 * sysdeps/s390/longjmp.c: New file.
7962 * sysdeps/s390/setjmp.S: New file.
7963 * sysdeps/s390/sigjmp.S: New file.
7964 * sysdeps/s390/v1-longjmp.c: New file.
7965 * sysdeps/s390/v1-setjmp.h: New file.
7966 * sysdeps/s390/v1-sigjmp.c: New file.
7967 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7968 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7969 GLIBC_2.19 version.
7970 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7971 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7972 versioned symbols for ____longjmp_chk.
7973 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7974 Likewise.
7975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7976 Regenerate.
7977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7978 Regenerate.
7979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7980 Regenerate.
7981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7982 Regenerate.
7983 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7984 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7985 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7986 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7987 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7988 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7989 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7990 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7991 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7992 * sysdeps/s390/rtld-__longjmp.c: New file.
7993 * sysdeps/s390/rtld-setjmp.S: New file.
7994
eb3fc44b
JM
79952014-01-06 Joseph Myers <joseph@codesourcery.com>
7996
7997 [BZ #16400]
7998 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7999 Return -__logl (x) for small positive arguments without evaluating
8000 a polynomial.
8001
9341dde4
MF
80022014-01-06 Mike Frysinger <vapier@gentoo.org>
8003
8004 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8005 Rename to ...
8006 (__ptrace_peeksiginfo_args): ... this.
8007 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8008 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8009 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8010
4cff0293
AM
80112014-01-06 Allan McRae <allan@archlinux.org>
8012
8013 * inet/netinet/in.h: Fix typo in comment.
8014
75595dcf
AJ
80152014-01-05 Andreas Jaeger <aj@suse.de>
8016
8017 * sysdeps/i386/fpu/libm-test-ulps: Update.
8018
79c1e109
AM
80192014-01-05 Allan McRae <allan@archlinux.org>
8020
dd804818
AM
8021 * po/libc.pot: Regenerated.
8022
79c1e109
AM
8023 * malloc/memusagestat.c: Fix gettext call formatting.
8024
0c813d1f
SK
80252014-01-04 Sami Kerola <kerolasa@iki.fi>
8026
8027 * nscd/nscd.c: Improve usage() output.
8028
20f4a8d9
MF
80292014-01-04 Mike Frysinger <vapier@gentoo.org>
8030
8031 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8032 * sysdeps/unix/sysv/linux/configure: Regenerated.
8033 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8034 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8035
22562bb2
JM
80362014-01-03 Joseph Myers <joseph@codesourcery.com>
8037
8038 [BZ #16390]
8039 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8040 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8041
d7ad2d9b
AZ
80422014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8043
8044 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8045 extra tokens at end of #undef directive.
8046 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8047 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8048 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8049
7dd009d8
JM
80502014-01-03 Joseph Myers <joseph@codesourcery.com>
8051
24db925a
JM
8052 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8053
7dd009d8
JM
8054 * math/auto-libm-test-in: Mark various tests with
8055 xfail-rounding:ldbl-128ibm.
8056 * math/auto-libm-test-out: Regenerated.
8057
396e3ecf
JM
80582014-01-02 Joseph Myers <joseph@codesourcery.com>
8059
819e5d50
JM
8060 [BZ #16386]
8061 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8062 numbers with subnormal high part when calculating exponent.
8063
90b6a1e5
JM
8064 [BZ #16385]
8065 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8066 fabs.
8067
396e3ecf
JM
8068 [BZ #16384]
8069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8070 M_LN2l.
8071 (__ieee754_acoshl): Use __log1pl not __log1p.
8072
6c8dbf00
OB
80732013-01-02 Ondřej Bílka <neleai@seznam.cz>
8074
57f41c40
AS
8075 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8076 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8077 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8078 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8079 (reused_arena, arena_get2): Convert to GNU style.
8080 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8081 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8082 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8083 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8084 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8085 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8086 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8087 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8088 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8089 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8090 * malloc/malloc.h: Likewise.
57f41c40
AS
8091 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8092 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8093 * malloc/mcheck.h: Likewise.
57f41c40
AS
8094 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8095 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8096 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8097 * malloc/morecore.c (__default_morecore): Likewise.
8098 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8099 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8100 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8101 (print_and_abort): Likewise.
6c8dbf00
OB
8102 * malloc/obstack.h: Likewise.
8103 * malloc/set-freeres.c (__libc_freeres): Likewise.
8104 * malloc/tst-mallocstate.c (main): Likewise.
8105 * malloc/tst-mtrace.c (main): Likewise.
8106 * malloc/tst-realloc.c (do_test): Likewise.
8107
d4124212
SP
81082013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8109
9a3c6a6f
SP
8110 [BZ #16366]
8111 * nscd/netgroupcache.c (do_notfound): New function.
8112 (addgetnetgrentX): Use it.
8113
d4124212
SP
8114 [BZ # 16365]
8115 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8116 NSS_STATUS_NOTFOUND.
8117
97b9a009
JM
81182014-01-01 Joseph Myers <joseph@codesourcery.com>
8119
8120 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8122
d4697bc9
AM
81232014-01-01 Allan McRae <allan@archlinux.org>
8124
ddb3687f
AM
8125 * scripts/update-copyrights: Update configure input file suffix.
8126
88726d48
AM
8127 * NEWS: Update copyright year.
8128 * catgets/gencat.c: Likewise.
8129 * csu/version.c: Likewise.
8130 * debug/catchsegv.sh: Likewise.
8131 * debug/pcprofiledump.c: Likewise.
8132 * debug/xtrace.sh: Likewise.
8133 * elf/ldconfig.c: Likewise.
8134 * elf/ldd.bash.in: Likewise.
8135 * elf/pldd.c: Likewise.
8136 * elf/sotruss.ksh: Likewise.
8137 * elf/sprof.c: Likewise.
8138 * iconv/iconv_prog.c: Likewise.
8139 * iconv/iconvconfig.c: Likewise.
8140 * locale/programs/locale.c: Likewise.
8141 * locale/programs/localedef.c: Likewise.
8142 * login/programs/pt_chown.c: Likewise.
8143 * malloc/memusage.sh: Likewise.
8144 * malloc/memusagestat.c: Likewise.
8145 * malloc/mtrace.pl: Likewise.
8146 * manual/libc.texinfo: Likewise.
8147 * nscd/nscd.c: Likewise.
8148 * nss/getent.c: Likewise.
8149 * nss/makedb.c: Likewise.
8150 * posix/getconf.c: Likewise.
8151 * scripts/test-installation.pl: Likewise.
8152
d4697bc9
AM
8153 * All files with FSF copyright notices: Update copyright dates
8154 using scripts/update-copyrights.
8155 * intl/plural.c: Regenerated.
8156 * locale/programs/charmap-kw.h: Likewise.
8157 * locale/programs/locfile-kw.h: Likewise.
8158
c8590f9d
MF
81592013-12-31 Mike Frysinger <vapier@gentoo.org>
8160
8161 * sysdeps/unix/sysv/linux/configure: Regenerated.
8162 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8163 the linux/fanotify.h header.
8164 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8165 HAVE_LINUX_FANOTIFY_H is defined.
8166
b19221b9
SP
81672013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8168
dd1d85e5
SP
8169 * benchtests/cos-inputs: New inputs.
8170 * benchtests/sin-inputs: Likewise.
8171
1acbb90f
SP
8172 * benchtests/atan-inputs: New inputs. Fix name of multiple
8173 precision fallback inputs.
8174
4c012ed3
SP
8175 * benchtests/atanh-inputs: New inputs.
8176 * benchtests/tanh-inputs: Likewise.
8177
eff98324
SP
8178 * benchtests/acosh-inputs: New inputs.
8179 * benchtests/asinh-inputs: Likewise.
8180
ce641152
SP
8181 * benchtests/cosh-inputs: New inputs.
8182 * benchtests/sinh-inputs: Likewise.
8183
b19221b9
SP
8184 * benchtests/acos-inputs: Add more inputs.
8185 * benchtests/asin-inputs: Likewise.
8186
030a4976 81872013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8188
030a4976 8189 [BZ #16375]
9dcc8f11
VS
8190 * manual/arith.texi: Fix spelling.
8191 * manual/charset.texi: Likewise.
8192 * manual/errno.texi: Likewise.
8193 * manual/filesys.texi: Likewise.
8194 * manual/lang.texi: Likewise.
8195 * manual/llio.texi: Likewise.
8196 * manual/locale.texi: Likewise.
8197 * manual/message.texi: Likewise.
8198 * manual/resource.texi: Likewise.
8199 * manual/search.texi: Likewise.
8200 * manual/setjmp.texi: Likewise.
8201 * manual/stdio.texi: Likewise.
8202 * manual/string.texi: Likewise.
8203 * manual/sysinfo.texi: Likewise.
8204 * manual/time.texi: Likewise.
8205
11520a57
CD
82062013-12-27 Carlos O'Donell <carlos@redhat.com>
8207
8208 * po/sl.po: New file.
8209
471103ae
MF
82102013-12-27 Mike Frysinger <vapier@gentoo.org>
8211
8212 * .gitignore: Add core/.gdbinit/.gdb_history.
8213
6c9642ed
AM
82142013-12-27 Allan McRae <allan@archlinux.org>
8215
8216 [BZ #16369]
8217 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8218 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8219
3f637079
BM
82202013-12-24 Brooks Moses <bmoses@google.com>
8221
8222 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8223 all compilers that claim C++98 compliance, not just GCC.
8224 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8225 Likewise.
8226
abc26e99
MK
82272013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8228
8229 * NEWS: Restore accidentally deleted bug-fix entries.
8230
362b47fe
MK
82312013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8232 Ondřej Bílka <neleai@seznam.cz>
8233
8234 [BZ #15073]
8235 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8236 have_lock.
362b47fe 8237
b9bcbbcb
OB
82382013-12-23 Ondřej Bílka <neleai@seznam.cz>
8239
8240 [BZ #12986]
8241 * manual/stdio.texi (String Input Conversions): Clarify that character
8242 classes are not supported.
8243
fb55fcd2
AZ
82442013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8245
8246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8247
ef7344f0
JM
82482013-12-22 Joseph Myers <joseph@codesourcery.com>
8249
4f40e4b3
JM
8250 [BZ #16337]
8251 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8252 Calculate results for small negative arguments directly rather
8253 than using reflection formula with special underflow handling.
8254
ef7344f0
JM
8255 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8256 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8257 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8258 (fchflags): Likewise.
8259 (revoke): Likewise.
8260 (setlogin): Likewise.
8261 (sigaltstack): Likewise.
8262 (wait4): Likewise.
8263 (sigblock): Remove.
8264 (sigsetmask): Likewise.
8265 (wait3): Likewise.
8266 (waitpid): Likewise.
8267 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8268 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8269 file.
8270 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8271 * sysdeps/unix/bsd/Makefile: ... here.
8272 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8273 * sysdeps/unix/bsd/Versions: ... here.
8274 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8275 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8276 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8277 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8278 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8279 * sysdeps/unix/bsd/sigblock.c: ... here.
8280 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8281 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8282 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8283 * sysdeps/unix/bsd/sigvec.c: ... here.
8284 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8285 * sysdeps/unix/bsd/tcdrain.c: ... here.
8286 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8287 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8288 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8289 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8290 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8291 * sysdeps/unix/bsd/wait.c: ... here.
8292 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8293 * sysdeps/unix/bsd/wait3.c: ... here.
8294 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8295 * sysdeps/unix/bsd/waitpid.c: ... here.
8296
5b0626b9
JM
82972013-12-21 Joseph Myers <joseph@codesourcery.com>
8298
8299 [BZ #16356]
8300 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8301 round-to-nearest for [!USE_AS_EXPM1L].
8302 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8303 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8304 more tests of exp and exp10. Expect some exp10 tests to miss
8305 exceptions or fail in directed rounding modes.
8306 * math/auto-libm-test-out: Regenerated.
8307 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8308 (exp10_test_tonearest): New function.
8309 (exp10_towardzero_test_data): New array.
8310 (exp10_test_towardzero): New function.
8311 (exp10_downward_test_data): New array.
8312 (exp10_test_downward): New function.
8313 (exp10_upward_test_data): New array.
8314 (exp10_test_upward): New function.
8315 (main): Call the new functions.
8316 * sysdeps/i386/fpu/libm-test-ulps: Update.
8317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8318
7fda5682
JM
83192013-12-20 Joseph Myers <joseph@codesourcery.com>
8320
31e3a405
JM
8321 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8322 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8323 * math/auto-libm-test-out: Regenerated.
8324 * math/libm-test.inc (acosh_test_data): Add more tests.
8325 (atanh_test_data): Likewise.
8326 (ceil_test_data): Likewise.
8327 (copysign_test_data): Likewise.
8328 * sysdeps/i386/fpu/libm-test-ulps: Update.
8329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8330
85bff96a
JM
8331 * timezone/checktab.awk: Update from tzcode 2013i.
8332 * timezone/private.h: Likewise.
8333 * timezone/scheck.c: Likewise.
8334 * timezone/tzfile.h: Likewise.
8335 * timezone/tzselect.ksh: Likewise.
8336 * timezone/zdump.c: Likewise.
8337 * timezone/zic.c: Likewise.
8338
b7867a3b
JM
8339 * math/auto-libm-test-in: Add tests of cpow.
8340 * math/auto-libm-test-out: Regenerated.
8341 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8342 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
8343 mpc_cc_c.
8344 (func_calc_desc): Add mpc_cc_c union field.
8345 (test_functions): Add cpow.
8346 (special_fill_2pi): New function.
8347 (special_real_inputs): Add 2pi.
8348 (calc_generic_results): Handle mpc_cc_c.
8349 * sysdeps/i386/fpu/libm-test-ulps: Update.
8350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8351
7fda5682
JM
8352 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8353 csqrt, ctan and ctanh.
8354 * math/auto-libm-test-out: Regenerated.
8355 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8356 (TEST_COND_x86): Likewise.
8357 (ccos_test_data): Use AUTO_TESTS_c_c.
8358 (ccosh_test_data): Likewise.
8359 (cexp_test_data): Likewise.
8360 (clog_test_data): Likewise.
8361 (csqrt_test_data): Likewise.
8362 (ctan_test_data): Likewise.
8363 (ctan_tonearest_test_data): Likewise.
8364 (ctan_towardzero_test_data): Likewise.
8365 (ctan_downward_test_data): Likewise.
8366 (ctan_upward_test_data): Likewise.
8367 (ctanh_test_data): Likewise.
8368 (ctanh_tonearest_test_data): Likewise.
8369 (ctanh_towardzero_test_data): Likewise.
8370 (ctanh_downward_test_data): Likewise.
8371 (ctanh_upward_test_data): Likewise.
8372 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8373 mpc_c_c.
8374 (func_calc_desc): Add mpc_c_c union field.
8375 (FUNC_mpc_c_c): New macro.
8376 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8377 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8378 ctanh.
8379 (special_fill_min_subnorm_p120): New function.
8380 (special_real_inputs): Add min_subnorm_p120.
8381 (calc_generic_results): Handle mpc_c_c.
8382 * sysdeps/i386/fpu/libm-test-ulps: Update.
8383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8384
5ff8d60e
SP
83852013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8386
57f41c40
AS
8387 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8388 (do_sin_slow): New functions.
8389 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8390 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 8391
84ba214c
SP
8392 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8393 Use M to change sign of result instead of X. Assume X is
8394 positive.
8395 (csloww1): Likewise.
8396 (__sin): Adjust.
8397 (__cos): Adjust.
8398
975195e4
SP
8399 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8400 arguments A and DA.
8401 (__sin): Adjust.
8402 (__cos): Likewise.
8403
5ff8d60e
SP
8404 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8405 (__cos): Likewise.
8406 (sloww1): Don't adjust sign of DX.
8407 (csloww1): Likewise.
8408 (sloww2): Use X directly and don't adjust sign of DX.
8409 (csloww2): Likewise.
8410
eb983568
JM
84112013-12-19 Joseph Myers <joseph@codesourcery.com>
8412
64a17f1a
JM
8413 * math/auto-libm-test-in: Add tests of cabs and carg.
8414 * math/auto-libm-test-out: Regenerated.
8415 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8416 (carg_test_data): Likewise.
8417 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8418 mpc_c_f.
8419 (func_calc_desc): Add mpc_c_f union field.
8420 (test_functions): Add cabs and carg.
8421 (calc_generic_results): Handle mpc_c_f.
8422
eb983568
JM
8423 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8424 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8425 as a macro and a compat symbol.
8426 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8427 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8428 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8429 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8430 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8431 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8432 not use .hidden.
8433 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8434 Likewise.
8435 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8436 Likewise.
8437 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8438 Likewise.
8439 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8440 Likewise.
8441 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8442 Likewise.
8443 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8444 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8445 from GLIBC_2.3.2.
8446
6eeb678a
AZ
84472013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8448
8449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8450
6f6fc482
JM
84512013-12-19 Joseph Myers <joseph@codesourcery.com>
8452
21fea2e2
JM
8453 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8454 trailing whitespace removed.
8455 * scripts/config.guess: Update to version 2013-11-29.
8456 * scripts/config.sub: Update to version 2013-10-01.
8457
6f6fc482
JM
8458 * math/auto-libm-test-in: Add tests of sincos.
8459 * math/auto-libm-test-out: Regenerated.
8460 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8461 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8462 mpfr_f_11.
8463 (func_calc_desc): Add mpfr_f_11 union field.
8464 (test_functions): Add sincos.
8465 (calc_generic_results): Handle mpfr_f_11.
8466 * sysdeps/i386/fpu/libm-test-ulps: Update.
8467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8468
83f5c32d
AS
84692013-12-19 Andreas Schwab <schwab@suse.de>
8470
8471 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8472 CALL_MCOUNT.
8473 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8474 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8475 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8476
c688b419
JM
84772013-12-19 Joseph Myers <joseph@codesourcery.com>
8478
335ee092
JM
8479 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8480 * sysdeps/i386/fpu/libm-test-ulps: Update.
8481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8482
f88acd39
JM
8483 [BZ #16293]
8484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8485 round-to-nearest mode when using frndint.
8486 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8487 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8488 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8489 Likewise.
8490 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8491 sinh test to fail.
8492 * math/auto-libm-test-out: Regenerated.
8493 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8494 (TEST_COND_x86): Likewise.
8495 (expm1_tonearest_test_data): New array.
8496 (expm1_test_tonearest): New function.
8497 (expm1_towardzero_test_data): New array.
8498 (expm1_test_towardzero): New function.
8499 (expm1_downward_test_data): New array.
8500 (expm1_test_downward): New function.
8501 (expm1_upward_test_data): New array.
8502 (expm1_test_upward): New function.
8503 (main): Run the new test functions.
8504 * sysdeps/i386/fpu/libm-test-ulps: Update.
8505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8506
c688b419
JM
8507 * include/features.h: Update comment documenting feature test
8508 macros. Mention _DEFAULT_SOURCE in comment.
8509 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8510 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8511 _BSD_SOURCE and _SVID_SOURCE.
8512 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8513 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8514 !_SVID_SOURCE]: Likewise.
8515 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8516 (__USE_POSIX_IMPLICITLY): Define.
8517 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8518 (_POSIX_SOURCE): Undefine and redefine.
8519 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8520 (_POSIX_C_SOURCE): Likewise.
8521 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8522 (Feature Test Macros): Update documentation of default features.
8523
9f6e964c
RS
85242013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8525
8526 * benchtests/Makefile: Add bench-strtok.
8527 * benchtests/bench-strtok.c: New file: strtok benchtest.
8528
ee0a148a
AM
85292013-12-19 Allan McRae <allan@archlinux.org>
8530
8531 * manual/install.texi: Suppress menu for plain text output.
8532 * INSTALL: Regenerated.
8533
b9ab448f
BM
85342013-12-18 Brooks Moses <bmoses@google.com>
8535
8536 [BZ #15846]
8537 * misc/getauxval.c: Include errno.h.
8538 (__getauxval): Set errno to ENOENT if the requested type is not
8539 found.
8540 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8541 don't declare with __attribute_const__.
8542 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8543 * manual/startup.texi: Document that getauxval sets errno.
8544
23776487
JM
85452013-12-18 Joseph Myers <joseph@codesourcery.com>
8546
f889953b
JM
8547 * math/auto-libm-test-in: Add tests of jn and yn.
8548 * math/auto-libm-test-out: Regenerated.
8549 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8550 (yn_test_data): Likewise.
8551 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8552 mpfr_if_f.
8553 (func_calc_desc): Add mpfr_if_f union field.
8554 (FUNC_mpfr_if_f): New macro.
8555 (test_functions): Add jn and yn.
8556 (calc_generic_results): Assert type of second input for
8557 mpfr_ff_f. Handle mpfr_if_f.
8558 (output_for_one_input_case): Disable all checking for arguments
8559 fitting floating-point types in case of an integer argument.
8560 * sysdeps/i386/fpu/libm-test-ulps: Update.
8561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8562
23776487
JM
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8564 Don't expect fegetround reference in libm.so.
8565
cb756c6d
MS
85662013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8567
8568 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8569 $(config-cflags-nofma).
8570
2dec468f
JM
85712013-12-18 Joseph Myers <joseph@codesourcery.com>
8572
5953eb3a
JM
8573 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8574 * math/auto-libm-test-out: Regenerated.
8575
2dec468f
JM
8576 [BZ #16338]
8577 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8578 to determine exponent and adjust argument to have exponent of -1.
8579 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8580 log2.
8581 * math/auto-libm-test-out: Regenerated.
8582 * sysdeps/i386/fpu/libm-test-ulps: Update.
8583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8584
4d84e6ad
OB
85852013-12-18 Ondřej Bílka <neleai@seznam.cz>
8586
8587 * manual/probes.texi: Remove cases when per-thread arenas are
8588 disabled.
8589
1818483b
AS
85902013-12-18 Andreas Schwab <schwab@suse.de>
8591
8592 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8593 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8594 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8595 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8596 * sysdeps/i386/i686/multiarch/Makefile: Update.
8597 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8598
25de95bf
JM
85992013-12-17 Joseph Myers <joseph@codesourcery.com>
8600
8601 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8602 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8603
674762d9
PE
86042013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8605
ed27ed83 8606 [BZ #15968]
0748546f
PE
8607 Support TZ transition times < 00:00:00.
8608 This is needed for version-3 tz-format files; it supports time
8609 stamps past 2037 for America/Godthab (the only entry in the tz
8610 database for which this change is relevant).
8611 * manual/time.texi (TZ Variable): Document transition times
8612 from -167:59:59 through -00:00:01.
8613 * time/tzset.c (tz_rule): Time of day is now signed.
8614 (__tzset_parse_tz): Parse negative time of day.
8615
4480e934
PE
8616 Document TZ transition times >= 25:00:00.
8617 * manual/time.texi (TZ Variable): Document transition times from
8618 25:00:00 through 167:59:59. These are already supported, and this
8619 support will help with version-3 tz-format files.
8620
69947401
PE
8621 * manual/time.texi (TZ Variable): Modernize North America example
8622 to reflect current (i.e., 2007-and-later) daylight saving rules.
8623
674762d9
PE
8624 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8625
7011c262
JM
86262013-12-17 Joseph Myers <joseph@codesourcery.com>
8627
2fc6557e
JM
8628 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8629 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8632 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8633 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8634 * sysdeps/unix/bsd/clock.c: Likewise.
8635 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8636 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8637 * sysdeps/unix/bsd/init-posix.c: Likewise.
8638 * sysdeps/unix/bsd/poll.c: Likewise.
8639 * sysdeps/unix/bsd/ptsname.c: Likewise.
8640 * sysdeps/unix/bsd/seekdir.c: Likewise.
8641 * sysdeps/unix/bsd/setegid.c: Likewise.
8642 * sysdeps/unix/bsd/seteuid.c: Likewise.
8643 * sysdeps/unix/bsd/setgid.c: Likewise.
8644 * sysdeps/unix/bsd/setrgid.c: Likewise.
8645 * sysdeps/unix/bsd/setruid.c: Likewise.
8646 * sysdeps/unix/bsd/setsid.c: Likewise.
8647 * sysdeps/unix/bsd/setuid.c: Likewise.
8648 * sysdeps/unix/bsd/sigaction.c: Likewise.
8649 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8650 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8651 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8652 * sysdeps/unix/bsd/telldir.c: Likewise.
8653 * sysdeps/unix/bsd/times.c: Likewise.
8654 * sysdeps/unix/bsd/usleep.c: Likewise.
8655
029c7b25
JM
8656 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8657 ($(objpfx)libbsd-compat.a): Remove rule.
8658
7011c262
JM
8659 * include/features.h (__FAVOR_BSD): Do not define.
8660 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8661 features conflicting with POSIX.
8662 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8663 (_BSD_SOURCE): Remove description of not being a subset of other
8664 feature test macros.
8665 * manual/job.texi (getpgrp): Do not document BSD version.
8666 (getpgid): Do not document by reference to BSD getpgrp.
8667 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8668 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8669 * signal/signal.h [__FAVOR_BSD]: Likewise.
8670 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8671 instead of making contents conditional on [__FAVOR_BSD].
8672 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8673
affb6f78
AZ
86742013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8675
8676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8677
c88769dd
JM
86782013-12-17 Joseph Myers <joseph@codesourcery.com>
8679
6432a540
JM
8680 [BZ #16314]
8681 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8682 values below 2**-450, not 2**-500.
8683 * math/auto-libm-test-in: Don't allow spurious underflow from
8684 hypot.
8685 * math/auto-libm-test-out: Regenerated.
8686
c88769dd
JM
8687 [BZ #16316]
8688 [BZ #16330]
8689 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8690 values of ha and hb and sort them after adjusting subnormal
8691 arguments.
8692 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8693 Likewise.
8694 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8695 values of ea and eb and sort them after adjusting subnormal
8696 arguments.
8697 * math/auto-libm-test-in: Do not expect some hypot tests of
8698 subnormals to fail. Add more hypot tests.
8699 * math/auto-libm-test-out: Regenerated.
8700
29618f6b
KK
87012013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8702
8703 [BZ #13304]
8704 * sysdeps/sh/s_fma.c: New file.
8705 * sysdeps/sh/s_fmaf.c: New file.
8706 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8707 version.
8708 * sysdeps/sh/Implies: Add sh/soft-fp.
8709
eacfdfbf
RM
87102013-12-16 Roland McGrath <roland@hack.frob.com>
8711
8712 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8713 level of indirection to members `objname', `errstring', `malloced'.
8714 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8715 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8716 it as the __longjmp argument (just pass 1 instead).
8717 (_dl_catch_error): Initialize C with argument pointers and address of
8718 volatile local ERRCODE rather than copying values out of C at return.
8719
ff362e5b
JM
87202013-12-16 Joseph Myers <joseph@codesourcery.com>
8721
8722 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8723 * math/auto-libm-test-out: Regenerated.
8724 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8725 (hypot_test_data): Likewise.
8726 (pow_test_data): Likewise.
8727 (pow_tonearest_test_data): Likewise.
8728 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8729 mpfr_ff_f.
8730 (func_calc_desc): Add mpfr_ff_f union field.
8731 (FUNC_mpfr_ff_f): New macro.
8732 (test_functions): Add atan2, hypot and pow.
8733 (special_fill_min): New function.
8734 (special_fill_minus_min): Likewise.
8735 (special_fill_min_subnorm): Likewise.
8736 (special_fill_minus_min_subnorm): Likewise.
8737 (special_real_inputs): Add min, -min, min_subnorm and
8738 -min_subnorm.
8739 (calc_generic_results): Handle mpfr_ff_f.
8740 * sysdeps/i386/fpu/libm-test-ulps: Update.
8741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8742
5764c27f
WN
87432013-12-16 Will Newton <will.newton@linaro.org>
8744
8745 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8746 (Aligned Memory Blocks): Add documentation for aligned_alloc
8747 and suggest it as an alternative to posix_memalign.
8748 (Hooks for Malloc): Document __memalign_hook is also called
8749 for aligned_alloc. (Summary of Malloc): Add summary for
8750 aligned alloc. Document __memalign_hook is also called
8751 for aligned_alloc.
8752
0a096e44
WN
87532013-12-16 Will Newton <will.newton@linaro.org>
8754
8755 * manual/memory.texi (Malloc Examples): Clarify default
8756 alignment documentation. Suggest posix_memalign rather
8757 than memalign or valloc.
8758 (Aligned Memory Blocks): Remove suggestion to use memalign
8759 or valloc. Remove obsolete comment about BSD.
8760 Document memalign errno values and mark the function obsolete.
8761 Document posix_memalign returned error codes. Mark valloc
8762 as obsolete. (Hooks for Malloc): __memalign_hook is also
8763 called for posix_memalign and valloc.
8764 (Summary of Malloc): Add posix_memalign to function summary.
8765 __memalign_hook is also called for posix_memalign and valloc.
8766
8d561986
SP
87672013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8768
8769 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8770 TAYLOR_SIN.
8771 (__sin): Adjust.
8772 (__cos): Likewise.
8773 (sloww): Use mynumber union. Expand ternary operator into
8774 if-else statements.
8775 (cslow): use mynumber union.
8776
73616a74
AM
87772013-12-16 Allan McRae <allan@archlinux.org>
8778
9e8ac24b
AM
8779 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8780 * configure: Regenerated.
8781
6f8e37eb
AM
8782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8783
8894bad3
AM
8784 [BZ #14120]
8785 * configure.ac: Added --enable-maintainer-mode. Check for
8786 autoconf when enabled.
8787 * configure: Regenerated.
8788
73616a74
AM
8789 * nscd/nscd.service: New file.
8790 * nscd/nscd.tmpfiles: New file.
8791
584b18eb
OB
87922013-12-14 Ondřej Bílka <neleai@seznam.cz>
8793
8794 [BZ #12100]
8795 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8796 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8797 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8798 (strstr): Add __strstr_sse2_unaligned ifunc.
8799 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8800 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8801 (strcasestr): Remove __strcasestr_sse42 ifunc.
8802 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8805
8a5c7897
KK
88062013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8807
8808 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8809 * sysdeps/sh/bits/fenv.h: ... here.
8810 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8811
fd712ef3
AZ
88122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8813
8814 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8815
42fcb46c
AZ
8816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8817 hypotf multiarch implementations.
8818 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8819 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8820 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8821 multiarch hypot for PPC64.
8822 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8823 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8824 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8825 multiarch hypotf for PPC64.
8826
83efded4
AZ
8827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8828 modff multiarch implementations.
8829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8832 multiarch modf for PPC64.
8833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8836 multiarch modff for PPC64.
8837
43e246d2
AZ
8838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8839 and logl multiarch implementations.
8840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8843 multiarch logb for PPC64.
8844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8847 multiarch logb for PPC64.
8848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8851 multiarch logb for PPC64.
8852
8fdad123
AZ
8853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8854 isinff multiarch implementation.
8855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8856 file.
8857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8859 multiarch isinf for PPC64.
8860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8861 file.
8862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8863 multiarch isinff for PPC64.
8864
1481d706
AZ
8865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8866 finitef multiarch implementation.
8867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8868 file.
8869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8871 multiarch finite for PPC64.
8872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8873 file.
8874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8875 multiarch finitef for PPC64.
8876
5ccd5fc8
AZ
8877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8878 lrint multiarch implementation.
8879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8880 file.
8881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8883 multiarch llrint for PPC64.
8884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8885 multiarch lrint for PPC64.
8886
2568f3fa
AZ
8887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8888 copysignf multiarch implementation.
8889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8890 file.
8891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8892 file.
8893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8894 multiarch copysign for PPC64.
8895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8896 multiarch copysignf for PPC64.
8897
1cb341fd
AZ
8898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8899 multiarch implementation.
8900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8901 file.
8902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8903 file.
8904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8905 file.
8906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8907 file.
8908 multiarch llround for PPC64.
8909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8910 multiarch trunc for PPC64.
8911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8912 multiarch truncf for PPC64.
8913
59a3e194
AZ
8914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8915 multiarch implementation.
8916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8917 file.
8918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8919 file.
8920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8921 file.
8922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8923 file.
8924 multiarch llround for PPC64.
8925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8926 multiarch round for PPC64.
8927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8928 multiarch roundf for PPC64.
8929
357fd3b4
AZ
8930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8931 multiarch implementation.
8932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8933 file.
8934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8935 file.
8936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8937 file.
8938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8939 file.
8940 multiarch llround for PPC64.
8941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8942 multiarch floor for PPC64.
8943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8944 multiarch floorf for PPC64.
8945
96770f12
AZ
8946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8947 multiarch implementation.
8948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8949 file.
8950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8951 file.
8952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8953 file.
8954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8955 file.
8956 multiarch llround for PPC64.
8957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8958 multiarch ceil for PPC64.
8959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8960 multiarch ceilf for PPC64.
8961
c3627f6e
AZ
8962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8963 multiarch implementation.
8964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8965 file.
8966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8967 file.
8968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8969 file.
8970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8971 multiarch llround for PPC64.
8972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8973 multiarch lround for PPC64.
8974
b2284ad7
AZ
8975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8976 multiarch implementation.
8977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8980 file.
8981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8984 multiarch isnan for PPC64.
8985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8986 multiarch isnanf for PPC64.
8987
69bbc63d
AZ
8988 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8989 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8990 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8991 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8992 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8994
c24517c9
AZ
8995 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8996 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8997 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8999
a52374e8
AZ
9000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9001 multiarch implementations.
9002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9003 (__libc_ifunc_impl_list): Likewise.
9004 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9005 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9006 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9007 multiarch stpcpy for PPC64.
9008
7f5ec113
AZ
9009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9010 multiarch implementations.
9011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9012 (__libc_ifunc_impl_list): Likewise.
9013 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9014 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9015 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9016 multiarch strcpy for PPC64.
9017
e28bcd42
AZ
9018 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9019 redefine function name.
9020 (_wordcopy_fwd_dest_aligned): Likewise.
9021 (_wordcopy_bwd_aligned): Likewise.
9022 (_wordcopy_bwd_dest_aligned): Likewise.
9023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9024 multiarch implementations.
9025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9026 (__libc_ifunc_impl_list): Likewise.
9027 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9028 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9029 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9030 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9031 multiarch wcscpy for PPC64.
9032
92cacfce
AZ
9033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9034 multiarch implementations.
9035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9036 (__libc_ifunc_impl_list): Likewise.
9037 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9038 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9039 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9040 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9041 multiarch wcscpy for PPC64.
9042
7b714620
AZ
9043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9044 multiarch implementations.
9045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9046 (__libc_ifunc_impl_list): Likewise.
9047 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9048 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9049 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9050 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9051 multiarch wcsrchr for PPC64.
9052
16fd2ae3
AZ
9053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9054 multiarch implementations.
9055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9056 (__libc_ifunc_impl_list): Likewise.
9057 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9058 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9059 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9060 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9061 multiarch wcschr for PPC64.
9062
9ee2969b
AZ
9063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9064 multiarch implementations.
9065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9066 (__libc_ifunc_impl_list): Likewise.
9067 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9068 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9069 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9070 multiarch strchrnul for PPC64.
9071
372dc060
AZ
9072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9073 implementations.
9074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9075 (__libc_ifunc_impl_list): Likewise.
9076 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9077 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9078 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9079 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9080 strchr for PPC64.
9081
24c2c3b9
AZ
9082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9083 implementations.
9084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9085 (__libc_ifunc_impl_list): Likewise.
9086 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9087 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9088 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9089 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9090 strncmp for PPC64.
9091
1c92d9a0
AZ
9092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9093 multiarch implementations.
9094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9095 (__libc_ifunc_impl_list): Likewise.
9096 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9097 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9098 strncasecmp for PPC64.
9099 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9100 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9101 multiarch strncasecmp_l for PPC64.
9102
17de3ee3
AZ
9103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9104 multiarch implementations.
9105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9106 (__libc_ifunc_impl_list): Likewise.
9107 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9108 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9109 multiarch strcasecmp for PPC64.
9110 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9111 file.
9112 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9113 multiarch strcasecmp_l for PPC64.
9114
62982bf9
AZ
9115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9116 implementations.
9117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9118 (__libc_ifunc_impl_list): Likewise.
9119 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9120 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9121 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9122 strnlen for PPC64.
9123
a65f4904
AZ
9124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9125 implementations.
9126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9127 (__libc_ifunc_impl_list): Likewise.
9128 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9129 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9130 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9131 strlen for PPC64.
9132
1fd005ad
AZ
9133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9134 implementations.
9135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9136 (__libc_ifunc_impl_list): Likewise.
9137 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9138 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9139 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9140 rawmemrchr for PPC64.
9141
cd05ba91
AZ
9142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9143 implementation.
9144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9145 (__libc_ifunc_impl_list): Likewise.
9146 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9147 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9148 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9149 memrchr for PPC64.
9150
870f8676
AZ
9151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9152 implementation.
9153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9154 (__libc_ifunc_impl_list): Likewise.
9155 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9156 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9157 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9158 memchr for PPC64.
9159
f00be62b
AZ
9160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9161 implementation.
9162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9163 (__libc_ifunc_impl_list): Likewise.
9164 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9165 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9166 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9167 mempcpy for PPC64.
9168
8a29a3d0
AZ
9169 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9170 avoid cretion of __bzero symbol.
9171 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9172 Likewise.
9173 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9174 Likewise.
9175 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9176 Likewise.
9177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9178 multiarch implementations.
9179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9180 (__libc_ifunc_impl_list): Likewise.
9181 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9182 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9183 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9184 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9185 bzero for PPC32.
9186 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9187 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9188 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9189 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9190 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9191 memset for PPC64.
9192 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9193
07253fcf
AZ
9194 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9196 implementations.
9197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9198 (__libc_ifunc_impl_list): Likewise.
9199 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9200 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9201 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9202 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9203 memcmp for PPC64.
9204
b5beafbc
AZ
9205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9206 multiarch for POWER/PPC64.
9207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9208 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9209 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9210 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9212 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9213 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9214 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9215 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9216 memcpy for PPC64.
9217
5e6a4d4b
AZ
9218 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9219 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9220 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9221 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9222 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9223 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9224 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9225 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9226 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9227 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9228 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9229 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9230 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9231 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9232 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9240
ddfab6dc
KK
92412013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9242
9243 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9244
19b5525e
SP
92452013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9246
9247 * benchtests/Makefile (bench): Add exp2 and log2.
9248 (LDLIBS-bench-exp2): Add -lm.
9249 (LDLIBS-bench-log2): Likewise.
9250 * benchtests/exp2-inputs: New inputs file.
9251 * benchtests/log2-inputs: New inputs file.
9252 * benchtests/log-inputs: Add new inputs.
9253 * benchtests/tan-inputs: Likewise.
9254
196f7f5d
SP
92552013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9256
7a74607f
SP
9257 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9258 definition...
57f41c40
AS
9259 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9260 (csloww2): ... from here.
7a74607f 9261
196f7f5d
SP
9262 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9263 instead of structures.
9264 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9265 (POLYNOMIAL): Likewise.
9266 (TAYLOR_SLOW): Likewise.
9267 (__sin): Likewise.
9268 (__cos): Likewise.
9269 (slow1): Likewise.
9270 (slow2): Likewise.
9271 (sloww): Likewise.
9272 (sloww1); Likewise.
9273 (sloww2): Likewise.
9274 (bsloww1): Likewise.
9275 (bsloww2): Likewise.
9276 (cslow2): Likewise.
9277 (csloww): Likewise.
9278 (csloww1): Likewise.
9279 (csloww2): Likewise.
9280
0dfa665c
OB
92812013-12-10 Ondřej Bílka <neleai@seznam.cz>
9282
9283 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9284 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9285 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9286 * malloc/hooks.c (realloc_check): Likewise.
9287
5782a80f
OB
9288 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9289 * malloc/arena.c: Remove PER_THREAD conditional.
9290 [!PER_THREAD]: Remove code.
9291 (ptmalloc_unlock_all2): Likewise.
9292 (ptmalloc_init): Likewise.
9293 (_int_new_arena): Likewise.
9294 (arena_get2): Likewise.
9295 * malloc/hooks.c (__malloc_get_state): Likewise.
9296 (__malloc_set_state): Likewise.
9297 * malloc/malloc.c: Likewise.
9298 (struct malloc_state): Likewise.
9299 (struct malloc_par): Likewise.
9300 (__libc_realloc): Likewise.
9301 (__libc_mallopt): Likewise.
9302
aeb95445
AZ
93032013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9304
9305 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9306
e8349efd
OB
93072013-12-09 Ondřej Bílka <neleai@seznam.cz>
9308
9309 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9310 macro to a function. Check for zero perturb_byte.
9311 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9312
f3eeb3fc 9313 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9314 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9315 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9316 force_reg by atomic_forced_read.
9317 * malloc/arena.c (ptmalloc_init): Likewise.
9318 * malloc/hooks.c (top_check): Likewise.
9319
be2f9009
AZ
93202013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9321
9322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9323
e7b914bd
MT
93242013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9325
9326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9327
9f0be4f8
JM
93282013-12-08 Joseph Myers <joseph@codesourcery.com>
9329
9330 * math/auto-libm-test-in: Add tests of lgamma.
9331 * math/auto-libm-test-out: Regenerated.
9332 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9333 (M_LOG_2_SQRT_PIl): Likewise.
9334 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9335 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9336 mpfr_f_f1.
9337 (func_calc_desc): Add mpfr_f_f1 union field.
9338 (ARGS1): New macro.
9339 (ARGS2): Likewise.
9340 (ARGS3): Likewise.
9341 (ARGS4): Likewise.
9342 (RET1): Likewise.
9343 (RET2): Likewise.
9344 (CALC): Likewise.
9345 (FUNC): Likewise.
9346 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9347 (test_functions): Add lgamma.
9348 (calc_generic_results): Handle mpfr_f_f1.
9349 * sysdeps/i386/fpu/libm-test-ulps: Update.
9350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9351
24eeafdb
AZ
93522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9353
9354 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9355 __mpn_add_n for PowerPC64/POWER7.
9356 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9357 __mpn_sub_n for PowerPC64/POWER7.
9358
4a2c0fd4
AZ
9359 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9360 __mpn_addmul_1 for PowerPC64.
9361 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9362 __mpn_submul_1 for PowerPC64.
9363 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9364 for PowerPC64.
9365 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9366 for PowerPC64.
9367
4b5b548c
FS
93682013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9369
9370 [BZ #15089]
9371 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9372
0a3ac0aa
AZ
93732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9374
9375 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9376
ccdc8438
AZ
9377 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9378 add multiarch folders.
9379 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9380 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9381 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9382 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9383 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9384 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9385 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9386 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9387 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9388 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9389 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9396
2e973d99
AZ
9397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9398 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9400 New file.
9401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9402 New file.
9403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9404 multiarch __ieee754_hypot for PowerPC32.
9405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9406 New file.
9407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9408 New file.
9409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9410 multiarch __ieee754_hypotf for PowerPC32.
9411
2d9470b2
AZ
9412 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9413 long_double_symbol only if __logbl is defined.
9414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9415 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9417 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9418 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9419 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9421 path for implementation.
9422 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9423 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9425 logb, and logbl multiarch implementations for PowerPC32.
9426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9427 file.
9428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9429 file.
9430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9431 multiarch logb for PowerPC32.
9432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9433 file.
9434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9435 file.
9436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9437 multiarch logbf for PowerPC32.
9438 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9440 file.
9441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9442 multiarch logbl implementation for PowerPC32.
9443
5212ffce
AZ
9444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9445 and modff multiarch implementations.
9446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9447 New file.
9448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9449 New file.
9450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9451 multiarch modf for PowerPC32.
9452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9453 New file.
9454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9455 New file.
9456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9457 multiarch modff for PowerPC32.
9458
79dccf31
AZ
9459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9460 and lrintf multiarch implementations.
9461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9462 New file.
9463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9464 New file.
9465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9466 multiarch lrint for PowerPC32.
9467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9468 file: multiarch lrintf for PowerPC32.
9469
deb66480
AZ
9470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9471 and lroundf multiarch implementations.
9472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9473 New file.
9474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9475 New file.
9476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9477 New file.
9478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9479 multiarch lround for PowerPC32.
9480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9481 file: multiarch lroundf for PowerPC32.
9482
264b036b
AZ
9483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9484 copysign and copysignf multiarch implementations.
9485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9486 New file.
9487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9488 New file.
9489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9490 file: multiarch copysign for PowerPC32.
9491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9492 file: multiarch copysignf for PowerPC32.
9493
d47db6c9
AZ
9494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9495 and truncf multiarch implementations.
9496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9497 New file.
9498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9499 file.
9500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9501 multiarch trunc for PowerPC32.
9502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9503 New file.
9504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9505 New file.
9506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9507 multiarch truncf for PowerPC32.
9508
ddb60b5a
AZ
9509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9510 and roundf multiarch implementations.
9511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9512 New file.
9513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9514 file.
9515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9516 multiarch round for PowerPC32.
9517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9518 New file.
9519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9520 New file.
9521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9522 multiarch roundf for PowerPC32.
9523
bedcf49b
AZ
9524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9525 and floorf multiarch implementations.
9526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9527 New file.
9528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9529 file.
9530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9531 multiarch floor for PowerPC32.
9532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9533 New file.
9534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9535 New file.
9536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9537 multiarch floorf for PowerPC32.
9538
35ae5b40
AZ
9539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9540 and ceilf multiarch implementations.
9541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9542 New file.
9543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9544 file.
9545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9546 multiarch ceil for PowerPC32.
9547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9548 New file.
9549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9550 file.
9551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9552 multiarch ceilf for PowerPC32.
9553
ae1a4cd9
AZ
9554 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9555 is defined.
9556 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9557 FINITEF is defined.
9558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9559 and finitef multiarch implementations.
9560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9561 New file.
9562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9563 file.
9564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9565 multiarch finite for PowerPC32.
9566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9567 New file.
9568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9569 file: multiarch finitef for PowerPC32.
9570
64fffd65
AZ
9571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9572 and isinff multiarch implementations.
9573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9574 file.
9575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9576 file.
9577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9578 multiarch isinf for PowerPC32.
9579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9580 New file.
9581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9582 multiarch isinff for PowerPC32.
9583
8e4e7ba2
AZ
9584 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9585 alias when __isnan is defined.
9586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9587 and isnanf multiarch implementations.
9588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9589 file.
9590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9591 file.
9592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9593 file.
9594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9595 file.
9596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9597 multiarch isnan for PowerPC32.
9598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9599 New file.
9600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9601 New file.
9602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9603 multiarch isnanf for PowerPC32.
9604
ddba588e
AZ
9605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9606 and sqrtf multiarch implementations.
9607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9608 file.
9609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9610 file.
9611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9612 multiarch sqrt for PowerPC32.
9613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9614 file.
9615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9616 file.
9617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9618 multiarch sqrtf for PowerPC32.
9619
0f96a2f0
AZ
9620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9621 and llroundf multiarch implementations.
9622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9623 New file.
9624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9625 New file.
9626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9627 New file.
9628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9629 file: multiarch llround for PowerPC32.
9630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9631 file: multiarch llroundf for PowerPC32.
9632
c9b5d79e
AZ
9633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9634 multiarch PowerPC32 fpu implementations.
9635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9636 New file.
9637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9638 New file.
9639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9640 multiarch llrint for PowerPC32.
9641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9642 New file.
9643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9644 New file.
9645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9646 file.
9647
9cbb3aab
AZ
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9649
ea5a72f8
AZ
9650 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9651 file.
9652 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9653 file.
9654 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9655 file.
9656 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9657 multiarch wordcopy for PPC32.
9658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9659 wordcopy objects.
9660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9661 (__libc_ifunc_impl_list): Likewise.
9662 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9663 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9664 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9665 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9666 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9667 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9668
93be09e7
AZ
9669 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9671 file.
9672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9673 file.
9674 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9675 file.
9676 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9677 multiarch wcscpy for PPC32.
9678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9679 multiarch objects.
9680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9681 (__libc_ifunc_impl_list): Likewise.
9682 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9683 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9684 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9685 sysdeps/powerpc/power6/wcscpy.c.
9686
bb04e529
AZ
9687 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9689 file.
9690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9691 file.
9692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9693 file.
9694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9695 multiarch wcsrchr for PPC32.
9696 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9697 multiarch objects.
9698 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9699 (__libc_ifunc_impl_list): Likewise.
9700 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9701 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9702 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9703 sysdeps/powerpc/power6/wcsrchr.c.
9704
05b5cd1c
AZ
9705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9706 file.
9707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9708 file.
9709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9711 multiarch wcschr for PPc32.
9712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9713 multiarch objects.
9714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9715 (__libc_ifunc_impl_list): Likewise.
9716 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9717 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9718 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9719 sysdeps/powerpc/power6/wcschr.c.
9720
ba964147
AZ
9721 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9722 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9723 file.
9724 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9725 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9726 file: multiarch strchr for PPC32.
9727 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9728 multiarch objects.
9729 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9730 (__libc_ifunc_impl_list): Likewise.
9731
31c81aaa
AZ
9732 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9733 name.
9734 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9735 file.
9736 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9737 file.
9738 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9739 multiarch strchrnul for PPC32.
9740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9741 multiarch objects.
9742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9743 (__libc_ifunc_impl_list): Likewise.
9744
0d0607d9
AZ
9745 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9746 file.
9747 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9748 multiarch strncasecmp for PPC32.
9749 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9750 file.
9751 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9752 multiarch strncasecmp_l for PPC32.
9753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9754 strncasecmp multiarch objects.
9755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9756 (__libc_ifunc_impl_list): Likewise.
9757
4dfd5c86
AZ
9758 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9759 file.
9760 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9761 multiarch strncasecmp for PPC32.
9762 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9763 New file.
9764 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9765 multiarch strcasecmp_l for PPC32.
9766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9767 multiarch objects.
9768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9769 (__libc_ifunc_impl_list): Likewise.
9770
a19e01a3
AZ
9771 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9772 file.
9773 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9774 file.
9775 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9776 multiarch strncmp for PPC32.
9777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9778 multiarch objects.
9779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9780 (__libc_ifunc_impl_list): Likewise.
9781
ae9cf7a2
AZ
9782 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9783 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9784 file.
9785 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9786 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9788 multiarch objects.
9789 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9790 (__libc_ifunc_impl_list): Likewise.
9791
3148bb7d
AZ
9792 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9793 file.
9794 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9795 file.
9796 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9798 multiarch objects.
9799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9800 (__libc_ifunc_impl_list): Likewise.
9801
7af8b946
AZ
9802 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9803 file.
9804 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9805 file.
9806 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9807 multiarch rawmemchr for PPC32.
9808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9809 multiarch objects.
9810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9811 (__libc_ifunc_impl_list): Likewise.
9812
03a6aa6a
AZ
9813 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9814 file.
9815 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9816 file.
9817 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9818 file: memrchr multiarch for PPC32.
9819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9820 multiarch objects.
9821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9822 (__libc_ifunc_impl_list): Likewise.
9823
1c62e6d9
AZ
9824 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9825 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9826 file.
9827 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9828 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9829 multiarch memchr for PPC32.
9830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9831 multiarch objects.
9832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9833 (__libc_ifunc_impl_list): Likewise.
9834
87da8bdb
AZ
9835 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9836 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9837 file.
9838 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9839 file.
9840 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9841 file: multiarch mempcpy for PPC32.
9842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9843 multiarch objects.
9844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9845 (__libc_ifunc_impl_list): Likewise.
9846
20ed4714
AZ
9847 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9848 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9849 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9850 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9851 multiarch bzero for PPC32.
9852 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9853 file.
9854 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9855 file.
9856 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9857 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9858 file: multiarch memset for PPC32.
9859 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9861 memset multiarch objects.
9862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9863 (__libc_ifunc_impl_list): Likewise.
9864
ab3e3a46
AZ
9865 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9866 file.
9867 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9868 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9869 memcmp for PPC32.
9870 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9872 multiarch objects.
9873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9874 (__libc_ifunc_impl_list): Likewise.
9875
930de6f0
AZ
9876 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9877 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9878 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9879 file.
9880 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9881 file.
9882 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9883 file.
9884 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9885 multiarch memcpy for PPC32.
9886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9887 multiarch objects.
9888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9889 (__libc_ifunc_impl_list): Likewise.
9890
4c628e00
AZ
9891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9892 support multiarch for POWER/PPC32.
9893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9894 Likewise.
9895 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9897 Implies file to make multiarch folder appers before the fpu and
9898 default folder for power4 configuration.
9899
f4479220
SP
99002013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9901
9902 * scripts/bench.pl: Append volatile keyword to type.
9903
8517800f
KK
99042013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9905
9906 * sysdeps/sh/sotruss-lib.c: New file.
9907 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9908
180138f1
AZ
99092013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9910
9911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9912
bbf37bdc
JM
99132013-12-05 Joseph Myers <joseph@codesourcery.com>
9914
e47cc4e0
JM
9915 [BZ #6810]
9916 * math/w_tgamma.c: Include <errno.h>.
9917 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9918 * math/w_tgammaf.c: Include <errno.h>.
9919 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9920 * math/w_tgammal.c: Include <errno.h>.
9921 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9922 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9923 underflow. Add more tgamma tests.
9924 * math/auto-libm-test-out: Regenerated.
9925 * sysdeps/i386/fpu/libm-test-ulps: Update.
9926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9927
bbf37bdc
JM
9928 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9929 sin, sinh, tan, tanh, tgamma, y0 and y1.
9930 * math/auto-libm-test-out: Regenerated.
9931 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9932 (TEST_COND_x86): Likewise.
9933 (M_E2l): Remove macro.
9934 (M_E3l): Likewise.
9935 (M_2_SQRT_PIl): Likewise.
9936 (M_SQRT_PIl): Likewise.
9937 (M_1_DIV_El): Likewise.
9938 (log_test_data): Use AUTO_TESTS_f_f.
9939 (log10_test_data): Likewise.
9940 (log1p_test_data): Likewise.
9941 (log2_test_data): Likewise.
9942 (sin_test_data): Likewise.
9943 (sin_tonearest_test_data): Likewise.
9944 (sin_towardzero_test_data): Likewise.
9945 (sin_downward_test_data): Likewise.
9946 (sin_upward_test_data): Likewise.
9947 (sinh_test_data): Likewise.
9948 (sinh_tonearest_test_data): Likewise.
9949 (sinh_towardzero_test_data): Likewise.
9950 (sinh_downward_test_data): Likewise.
9951 (sinh_upward_test_data): Likewise.
9952 (tan_test_data): Likewise.
9953 (tan_tonearest_test_data): Likewise.
9954 (tan_towardzero_test_data): Likewise.
9955 (tan_downward_test_data): Likewise.
9956 (tan_upward_test_data): Likewise.
9957 (tanh_test_data): Likewise.
9958 (tgamma_test_data): Likewise.
9959 (y0_test_data): Likewise.
9960 (y1_test_data): Likewise.
9961 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9962 (special_real_inputs): Add pi/4.
9963 * sysdeps/i386/fpu/libm-test-ulps: Update.
9964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9965
eb5ad6b9
AZ
99662013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9967
9968 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9969 "longjmp_target" static probes.
9970 (__longjmp): Rename to __longjmp_symbol.
9971 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9972 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9973 on which longjmp to generate.
9974 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9975 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9976 probe.
9977 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9978 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9979 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9980 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9981 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9982 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9984 __longjmp_symbol based on which __longjmp to generate.
9985 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9986 probe.
9987 (setjmp): Rename to setjmp_symbol.
9988 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9989 (_setjmp): Rename to _setjmp_symbol.
9990 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9991 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9992 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9993 which setjmp to generate.
9994 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9995 "longjmp_target" static probes.
9996
d136c6dc
SP
99972013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9998
9298ecba
SP
9999 * benchtests/README: Add note about output arguments.
10000 * benchtests/bench-sincos.c: Remove file.
10001 * benchtests/sincos-inputs: New file.
10002 * scripts/bench.pl: Identify output arguments and define
10003 static variables for them.
10004
232983e9
SP
10005 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10006
d136c6dc
SP
10007 [BZ #15941]
10008 * Makefile (INSTALL): Add install-plain.texi as the primary
10009 dependency.
10010 * manual/install-plain.texi: New file.
10011 * manual/install.texi: Include node directive only for
10012 non-plaintext output.
10013
699ff837
JM
100142013-12-04 Joseph Myers <joseph@codesourcery.com>
10015
ab07cea8
JM
10016 * stdlib/longlong.h: Update from GCC.
10017
699ff837
JM
10018 [BZ #6807]
10019 [BZ #15901]
10020 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10021 * math/w_j0f.c (y0f): Likewise.
10022 * math/w_j0l.c (__y0l): Likewise.
10023 * math/w_j1.c (y1): Likewise.
10024 * math/w_j1f.c (y1f): Likewise.
10025 * math/w_j1l.c (__y1l): Likewise
10026 * math/w_jn.c (yn): Likewise.
10027 * math/w_jnf.c (ynf): Likewise.
10028 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10029 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10030 value for Bessel function domain errors outside _SVID_ mode.
10031 Adjust sign of return value for yn (negative integer, 0).
10032 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10033 by zero in return for negative x and set sign appropriately for
10034 negative n.
10035 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10036 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10037 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10038 expectations in error cases.
10039 (y1_test_data): Likewise.
10040 (yn_test_data): Likewise.
10041 * sysdeps/i386/fpu/libm-test-ulps: Update.
10042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10043
5b118558
UW
100442013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10045
10046 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10047 "64" to "64-v1". Add "64-v2".
10048 (abi-64-options): Rename to ...
10049 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10050 (abi-64-condition): Rename to ...
10051 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10052 (abi-64-ld-soname): Rename to ...
10053 (abi-64-v1-ld-soname): ... this.
10054 (abi-64-v2-options): Define.
10055 (abi-64-v2-condition): Likewise.
10056 (abi-64-v2-ld-soname): Likewise.
10057 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10058 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10062
61cd8fe4
UW
100632013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10064 Alan Modra <amodra@gmail.com>
10065
10066 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10067 New versions for use with the ELFv2 ABI.
10068 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10069 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10070 declaration.
10071 (struct La_ppc64v2_retval): Likewise.
10072 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10073 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10074 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10075 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10076 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10077 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10078 Do not save or restore CR.
10079 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10080 (_dl_profile_resolve): Do no save or restore CR. Support extended
10081 return values for ELFv2 ABI. Fix location of FPR return registers.
10082 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10083 updated values for _CALL_ELF == 2.
10084 (La_regs, La_retval, int_retval): Likewise.
10085
8b8a692c
UW
100862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10087
10088 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10089 (FRAME_MIN_SIZE_PARM): Likewise.
10090 (FRAME_BACKCHAIN): Likewise.
10091 (FRAME_CR_SAVE): Likewise.
10092 (FRAME_LR_SAVE): Likewise.
10093 (FRAME_TOC_SAVE): Likewise.
10094 (FRAME_PARM_SAVE): Likewise.
10095 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10096 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10097 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10098 (call_mcount_parm_offset): New macro.
10099 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10100 (PROF): Use symbolic stack frame offsets.
10101 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10102 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10103 Redefine in terms of FRAME_MIN_SIZE.
10104 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10105 (_dl_profile_resolve): Likewise. Update comment.
10106 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10107 symbols stack frame offsets.
10108 (__sigsetjmp): Likewise.
10109 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10110 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10111 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10112 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10113
10114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10115 (FRAME_BACKCHAIN): Remove.
10116 (FRAME_CR_SAVE): Likewise.
10117 (FRAME_LR_SAVE): Likewise.
10118 (FRAME_COMPILER_DW): Likewise.
10119 (FRAME_LINKER_DW): Likewise.
10120 (FRAME_TOC_SAVE): Likewise.
10121 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10122 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10123 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10124 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10126 (CHECK_SP): Use symbolic stack frame offsets.
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10128 zone" instead of caller's parameter save area for temp storage.
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10130 Likewise. Also, use symbolic stack frame offsets.
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10132 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10133 our own stack frame instead of the caller's.
10134 (__socket): Use symbolic stack frame offsets.
10135
122b66de
UW
101362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10137 Alan Modra <amodra@gmail.com>
10138
10139 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10140 Define.
57f41c40
AS
10141 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10142 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10143 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10144 New function.
10145 (elf_machine_fixup_plt): Call it.
10146 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10147 reloc arguments.
10148 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10149 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10150 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10151 r2 before calling target.
10152
696caf1d
UW
101532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10154 Alan Modra <amodra@gmail.com>
10155
10156 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10157 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10158 versions of macros to support ELFv2 ABI.
10159 (LOCALENTRY): New macro.
10160 (ENTRY, EALIGN): Use it.
10161 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10162 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10163 fall through into ENTRY entry point.
10164 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10165 Only define if _CALL_ELF != 2.
10166
10167 (elf_machine_matches_host): Verify ABI version matches.
10168 (RTLD_START): Use LOCALENTRY.
10169 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10170 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10171 (PLT_ENTRY_WORDS): New macro.
10172 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10173 (elf_machine_runtime_setup): Support ELFv2 ABI.
10174 (elf_machine_fixup_plt): Likewise.
10175 (elf_machine_plt_conflict): Likewise.
10176 (resolve_ifunc): Likewise.
10177 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10178 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10179 Likewise.
10180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10181 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10183 (makecontext): Support ELFv2 ABI.
10184 * elf/elf.h (EF_PPC64_ABI): Define.
10185
d31beafa
UW
101862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10187
57f41c40
AS
10188 * sysdeps/powerpc/powerpc64/sysdep.h
10189 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10190 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10191 (ENTRY) [ASSEMBLER]: ... but instead here ...
10192 (EALIGN) [ASSEMBLER]: ... and here.
10193 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10194 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10195 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10196 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10197 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10198 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10199 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10200 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10202 Use PPC64_LOAD_FUNCPTR.
10203
b525166b
UW
10204 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10205
7ec07d9a
AM
102062013-12-04 Alan Modra <amodra@gmail.com>
10207
10208 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10209 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10210 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10211 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10212
10213 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10214 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10215 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10216 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10217 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10218 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10219
5162e7dd
UW
102202013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10221
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10223 (__makecontext): Fix incorrect CFI when backtracing out of
10224 context created via makecontext.
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10226 (__setcontext): Fix incorrect CFI during switch to new context.
10227 (__novec_setcontext): Likewise.
10228
19e3372b
OB
102292013-12-04 Ondřej Bílka <neleai@seznam.cz>
10230
10231 [BZ #4772]
10232 * time/strptime_l.c (__strptime_internal): Allow modifiers
10233 in strptime.
10234 * time/tst-strptime.c (day_tests): Add testcase.
10235
ecaf142d
SP
102362013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10237
10238 * scripts/bench.pl: Skip over blank lines.
10239
fbf964ae
PE
102402013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10241
10242 [BZ #926]
10243 * manual/time.texi (Calendar Time): Clarify what timezone functions
10244 use.
10245
fa60a674
AZ
102462013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10247
10248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10249
d674f0ef
OB
102502013-12-04 Ondřej Bílka <neleai@seznam.cz>
10251
10252 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10253 implementation.
10254 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10255 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10256 * debug/memset_chk.c (__memset_chk): Likewise.
10257 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10258 * debug/strncpy_chk.c: Likewise.
10259
17dea188
JM
102602013-12-03 Joseph Myers <joseph@codesourcery.com>
10261
749008ff
JM
10262 [BZ #15268]
10263 [BZ #15425]
10264 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10265 (__ieee754_exp): For possibly underflowing results, check size of
10266 result and force underflow exception if required.
10267 * math/auto-libm-test-in: Add more tests of exp.
10268 * math/auto-libm-test-out: Regenerated.
10269 * sysdeps/i386/fpu/libm-test-ulps: Update.
10270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10271
17dea188
JM
10272 [BZ #16283]
10273 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10274 * math/w_exp2f.c (__exp2f): Likewise.
10275 * math/w_exp2l.c (__exp2l): Likewise.
10276 * math/auto-libm-test-in: Do not allow missing errno on exp2
10277 underflow.
10278 * math/auto-libm-test-out: Regenerated.
10279
b20de2c3
OB
102802013-12-03 Ondřej Bílka <neleai@seznam.cz>
10281
10282 [BZ #16274]
10283 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10284 handle filename validation.
10285 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10286 (do_open): Delete.
10287
d8e2dbe3
JM
102882013-12-03 Joseph Myers <joseph@codesourcery.com>
10289
34e16df5
JM
10290 [BZ #6786]
10291 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10292 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10293 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10294 <float.h>.
10295 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10296 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10297 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10298 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10299 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10301 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10302 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10303 Add more erfc tests.
10304 * math/auto-libm-test-out: Regenerated.
10305 * sysdeps/i386/fpu/libm-test-ulps: Update.
10306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10307
d8e2dbe3
JM
10308 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10309 exp2, expm1, j0 and j1.
10310 * math/auto-libm-test-out: Regenerated.
10311 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10312 (erfc_test_data): Likewise.
10313 (exp_test_data): Likewise.
10314 (exp_tonearest_test_data): Likewise.
10315 (exp_towardzero_test_data): Likewise.
10316 (exp_downward_test_data): Likewise.
10317 (exp_upward_test_data): Likewise.
10318 (exp10_test_data): Likewise.
10319 (exp2_test_data): Likewise.
10320 (expm1_test_data): Likewise.
10321 (j0_test_data): Likewise.
10322 (j1_test_data): Likewise.
10323 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10324 (input_flag_type): Add flag_xfail_rounding.
10325 (input_flags): Add xfail-rounding.
10326 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10327 (output_for_one_input_case): Handle flag_xfail_rounding.
10328 * sysdeps/i386/fpu/libm-test-ulps: Update.
10329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10330
18d14251
AJ
103312013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10332
3d2e6075 10333 [BZ #16289]
18d14251
AJ
10334 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10335 division by 0.
10336
520d437b
SP
103372013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10338
10339 [BZ #16195]
10340 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10341 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10342 (STAP_PROBE0): New macro.
10343 (STAP_PROBE1): Likewise.
10344 (STAP_PROBE2): Likewise.
10345 (STAP_PROBE3): Likewise.
10346 (STAP_PROBE4): Likewise.
10347
416e0145
OB
103482013-12-02 Ondřej Bílka <neleai@seznam.cz>
10349
10350 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10351
9d17796a
SE
103522013-12-02 Steve Ellcey <sellcey@mips.com>
10353
10354 * benchtests/Makefile (bench): Add sqrt.
10355 (LDLIBS-bench-sqrt): New.
10356 * benchtests/sqrt-input: New.
10357
f524d6a8
PS
103582013-12-02 Pavel Simerda <psimerda@redhat.com>
10359
639a0ef8
PS
10360 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10361 (GAIH_EAI): Likewise.
10362 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10363 (gaih_inet): Likewise.
10364 (getaddrinfo): Don't use GAIH_EAI.
10365
f524d6a8
PS
10366 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10367 (struct gaih): Remove definition.
10368
df3aedaf
SP
103692013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10370
10371 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10372 Use HERRNOP directly.
10373
1ab19dec
AZ
103742013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10375
b42ad38d 10376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 10377
176b0c79
JM
103782013-11-30 Joseph Myers <joseph@codesourcery.com>
10379
10380 * math/gen-auto-libm-tests.c (test_functions): Add more
10381 single-argument functions.
10382 (special_fill_pi_2): New function.
10383 (special_fill_minus_pi_2): Likewise.
10384 (special_fill_pi_6): Likewise.
10385 (special_fill_minus_pi_6): Likewise.
10386 (special_fill_pi_3): Likewise.
10387 (special_fill_2pi_3): Likewise.
10388 (special_fill_e): Likewise.
10389 (special_fill_1_e): Likewise.
10390 (special_fill_e_minus_1): Likewise.
10391 (special_real_inputs): Add more special inputs.
10392 (output_for_one_input_case): Do not require ERANGE on underflow to
10393 zero if round-to-nearest result does not underflow to zero, unless
10394 exact results required.
10395 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10396 atan, atanh, cbrt, cos and cosh.
10397 * math/auto-libm-test-out: Regenerated.
10398 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10399 (acos_tonearest_test_data): Likewise.
10400 (acos_towardzero_test_data): Likewise.
10401 (acos_downward_test_data): Likewise.
10402 (acos_upward_test_data): Likewise.
10403 (acosh_test_data): Likewise.
10404 (asin_test_data): Likewise.
10405 (asin_tonearest_test_data): Likewise.
10406 (asin_towardzero_test_data): Likewise.
10407 (asin_upward_test_data): Likewise.
10408 (asinh_test_data): Likewise.
10409 (atan_test_data): Likewise.
10410 (atanh_test_data): Likewise.
10411 (cbrt_test_data): Likewise.
10412 (cos_test_data): Likewise.
10413 (cos_tonearest_test_data): Likewise.
10414 (cos_towardzero_test_data): Likewise.
10415 (cos_downward_test_data): Likewise.
10416 (cos_upward_test_data): Likewise.
10417 (cosh_test_data): Likewise.
10418 (cosh_tonearest_test_data): Likewise.
10419 (cosh_towardzero_test_data): Likewise.
10420 (cosh_downward_test_data): Likewise.
10421 (cosh_upward_test_data): Likewise.
10422 * sysdeps/i386/fpu/libm-test-ulps: Update.
10423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10424
ffb536d0
JM
104252013-11-29 Joseph Myers <joseph@codesourcery.com>
10426
2a77a467
JM
10427 [BZ #6787]
10428 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10429 * math/w_exp10f.c (__exp10f): Likewise.
10430 * math/w_exp10l.c (__exp10l): Likewise.
10431 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10432 errno settings in existing tests.
10433
ea3bc4e8
JM
10434 [BZ #14032]
10435 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10436 precision control set to double precision.
10437 * sysdeps/i386/fpu/w_sqrt.c: New file.
10438 * math/auto-libm-test-in: Add more tests.
10439 * math/auto-libm-test-out: Update.
10440
0712c9d8
JM
10441 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10442 (sqrt_test_tonearest): New function.
10443 (sqrt_towardzero_test_data): New variable.
10444 (sqrt_test_towardzero): New function.
10445 (sqrt_downward_test_data): New variable.
10446 (sqrt_test_downward): New function.
10447 (sqrt_upward_test_data): New variable.
10448 (sqrt_test_upward): New function.
10449 (main): Call the new functions.
10450
ffb536d0
JM
10451 * math/gen-auto-libm-tests.c: New file.
10452 * math/auto-libm-test-in: Likewise.
10453 * math/auto-libm-test-out: New generated file.
10454 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10455 variables.
10456 (%beautify): Add generated representations of zero.
10457 (top level): Set $auto_input and call parse_auto_input.
10458 (beautify): Remove trailing "f" from hex float constants.
10459 (parse_args): Handle XFAIL_TEST.
10460 (convert_condition): New function.
10461 (or_value): Likewise.
10462 (or_cond_value): Likewise.
10463 (generate_testfile): Handle AUTO_TESTS_* lines.
10464 (parse_auto_input): New function.
10465 * math/libm-test.inc (XFAIL_TEST): New macro.
10466 (ERRNO_UNCHANGED): Update value.
10467 (ERRNO_EDOM): Likewise.
10468 (ERRNO_ERANGE): Likewise.
10469 (IGNORE_RESULT): Likewise.
10470 (TEST_COND_flt_32): New macro.
10471 (TEST_COND_dbl_64): Likewise.
10472 (TEST_COND_ldbl_96_intel): Likewise.
10473 (TEST_COND_ldbl_96_m68k): Likewise.
10474 (TEST_COND_ldbl_128): Likewise.
10475 (TEST_COND_ldbl_128ibm): Likewise.
10476 (TEST_COND_long32): Likewise.
10477 (TEST_COND_long64): Likewise.
10478 (TEST_COND_before_rounding): Likewise.
10479 (TEST_COND_after_rounding): Likewise.
10480 (enable_test): Handle XFAIL_TEST flag.
10481 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10482 with finite results.
10483 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10484 auto-libm-test-out.
10485
acd98a8e
AK
104862013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10487 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10488
10489 [BZ #16214]
10490 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10491 __tls_get_addr_internal instead of __tls_get_offset in order to
10492 avoid GOT pointer dependency. Make rtld export
10493 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10494 __tls_get_addr since we are a __tls_get_offset platform.
10495 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10496 GOT pointer being set up before.
10497 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10498
3c1c46a6
JM
104992013-11-28 Joseph Myers <joseph@codesourcery.com>
10500
7475aef5
JM
10501 * manual/math.texi (Errors in Math Functions): Document accuracy
10502 goals.
10503
8bca7cd8
JM
10504 [BZ #15004]
10505 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10506 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10509 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10511 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10513 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10514 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10516 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10517 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10521
91a1f3fe
JM
10522 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10523 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10524 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10525 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10526 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10527 Likewise.
10528 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10529 Likewise.
10530 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10531 Likewise.
10532 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10533 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10534 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10535 atomic-feupdateenv and flt-rounds.
10536 * sysdeps/powerpc/nofpu/Versions (libc): Add
10537 __atomic_feholdexcept, __atomic_feclearexcept,
10538 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10539 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10540 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10541 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10542 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10543 here.
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10545 Update.
10546
c5df7609
JM
10547 * manual/arith.texi (FP Exceptions): Document that exceptions may
10548 not be raised when matherr is used.
10549 (Math Error Reporting): Document overflow in directed rounding
10550 modes. Document that errno may not be set when finite values are
10551 returned on overflow. Document intent to set errno on underflow
10552 only for underflow to zero.
10553
3c1c46a6
JM
10554 [BZ #16271]
10555 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10556 round-to-nearest then adjust result for other rounding modes.
10557 * include/fenv.h (fegetround): Use libm_hidden_proto.
10558 * math/fegetround.c (fegetround): Use libm_hidden_def.
10559 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10560 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10561 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10562 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10563 Likewise.
10564 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10565 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10566 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10567 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10568
5a4c6d53
SP
105692013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10570
10571 [BZ #16077]
10572 * nss/Versions (libnss_files): Add
10573 _nss_files_gethostbyname3_r.
10574 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10575 New function.
10576 (HOST_DB_LOOKUP): Remove macro.
10577 (_nss_files_gethostbyname_r): Implement function without the
10578 HOST_DB_LOOKUP macro.
10579 (_nss_files_gethostbyname2_r): Likewise.
10580
897b98ba
OB
105812013-11-28 Ondřej Bílka <neleai@seznam.cz>
10582
10583 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10584
6f476861
UB
105852013-11-26 Uros Bizjak <ubizjak@gmail.com>
10586
10587 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10588 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10589 warning.
10590
bd12ab55
AZ
105912013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10592
10593 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10594 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10595 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10596 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10597 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10598 __fe_nomask_env_priv and attribute_hidden.
10599 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10600 (libc_feupdateenv_test_ppc): Likewise.
10601 (libc_feresetround_ppc): Likewise.
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10603 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10604 compat_symbol macro.
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10606 (__fe_nomask_env): Likewise.
10607 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10608
52bb6543
OB
106092013-11-26 Ondřej Bílka <neleai@seznam.cz>
10610
10611 * string/Makefile: Remove ifunc tests.
10612 * string/test-string.h: Define TEST_IFUNC.
10613 * string/test-bcopy-ifunc.c: Remove.
10614 * string/test-bzero-ifunc.c: Likewise.
10615 * string/test-memccpy-ifunc.c: Likewise.
10616 * string/test-memchr-ifunc.c: Likewise.
10617 * string/test-memcmp-ifunc.c: Likewise.
10618 * string/test-memcpy-ifunc.c: Likewise.
10619 * string/test-memmem-ifunc.c: Likewise.
10620 * string/test-memmove-ifunc.c: Likewise.
10621 * string/test-mempcpy-ifunc.c: Likewise.
10622 * string/test-memrchr-ifunc.c: Likewise.
10623 * string/test-memset-ifunc.c: Likewise.
10624 * string/test-rawmemchr-ifunc.c: Likewise.
10625 * string/test-stpcpy-ifunc.c: Likewise.
10626 * string/test-stpncpy-ifunc.c: Likewise.
10627 * string/test-strcasecmp-ifunc.c: Likewise.
10628 * string/test-strcasestr-ifunc.c: Likewise.
10629 * string/test-strcat-ifunc.c: Likewise.
10630 * string/test-strchr-ifunc.c: Likewise.
10631 * string/test-strchrnul-ifunc.c: Likewise.
10632 * string/test-strcmp-ifunc.c: Likewise.
10633 * string/test-strcpy-ifunc.c: Likewise.
10634 * string/test-strcspn-ifunc.c: Likewise.
10635 * string/test-strlen-ifunc.c: Likewise.
10636 * string/test-strncasecmp-ifunc.c: Likewise.
10637 * string/test-strncat-ifunc.c: Likewise.
10638 * string/test-strncmp-ifunc.c: Likewise.
10639 * string/test-strncpy-ifunc.c: Likewise.
10640 * string/test-strnlen-ifunc.c: Likewise.
10641 * string/test-strpbrk-ifunc.c: Likewise.
10642 * string/test-strrchr-ifunc.c: Likewise.
10643 * string/test-strspn-ifunc.c: Likewise.
10644 * string/test-strstr-ifunc.c: Likewise.
10645
ab260039 106462013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10647
10648 * benchtests/Makefile: Remove ifunc tests.
10649 * benchtests/bench-string.h: Define TEST_IFUNC.
10650 * benchtests/bench-bcopy-ifunc.c: Remove.
10651 * benchtests/bench-bzero-ifunc.c: Likewise.
10652 * benchtests/bench-memccpy-ifunc.c: Likewise.
10653 * benchtests/bench-memchr-ifunc.c: Likewise.
10654 * benchtests/bench-memcmp-ifunc.c: Likewise.
10655 * benchtests/bench-memcpy-ifunc.c: Likewise.
10656 * benchtests/bench-memmem-ifunc.c: Likewise.
10657 * benchtests/bench-memmove-ifunc.c: Likewise.
10658 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10659 * benchtests/bench-memrchr-ifunc.c: Likewise.
10660 * benchtests/bench-memset-ifunc.c: Likewise.
10661 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10662 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10663 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10664 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10665 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10666 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10667 * benchtests/bench-strcat-ifunc.c: Likewise.
10668 * benchtests/bench-strchr-ifunc.c: Likewise.
10669 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10670 * benchtests/bench-strcmp-ifunc.c: Likewise.
10671 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10672 * benchtests/bench-strcpy-ifunc.c: Likewise.
10673 * benchtests/bench-strcspn-ifunc.c: Likewise.
10674 * benchtests/bench-strlen-ifunc.c: Likewise.
10675 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10676 * benchtests/bench-strncat-ifunc.c: Likewise.
10677 * benchtests/bench-strncmp-ifunc.c: Likewise.
10678 * benchtests/bench-strncpy-ifunc.c: Likewise.
10679 * benchtests/bench-strnlen-ifunc.c: Likewise.
10680 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10681 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10682 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10683 * benchtests/bench-strspn-ifunc.c: Likewise.
10684 * benchtests/bench-strstr-ifunc.c: Likewise.
10685
106862013-11-26 Ondřej Bílka <neleai@seznam.cz>
10687
ab260039
OB
10688 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10689
d1d9eaf4 106902013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10691
d1d9eaf4
OB
10692 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10693 * rt/aio.h: Likewise.
10694 * sysdeps/gnu/bits/utmp.h: Likewise.
10695 * sysdeps/gnu/bits/utmpx.h: Likewise.
10696 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10697 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10698 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10699 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10700 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10701 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10702 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10703 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10704 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10705 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10706 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10707 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10708 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10710 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10711 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10712 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10713 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10714 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10715 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10716 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10717 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10718 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10719 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10720 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10722 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10723 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10724 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10725 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10726 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10727 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10728 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10729 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10730 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10731 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10732 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10733 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10734 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10735 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10736 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10737 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10738
a7624ed9
CD
107392013-11-25 Carlos O'Donell <carlos@redhat.com>
10740
10741 [BZ #16245]
10742 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10743 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10744
63cfe52b
JM
107452013-11-25 Joseph Myers <joseph@codesourcery.com>
10746
10747 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10748 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10749 Likewise.
10750
41e8926a
AZ
107512013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10752
10753 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10754 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10755 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10756 (__fesetround): Remove define.
10757 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10758 rounding and exceptions handling.
10759 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10760 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10761 (__fe_nomask_env): Likewise.
10762 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10763 __fegetround instead of fegetround.
10764 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10765 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10766
6851bd4d
RM
107672013-11-21 Roland McGrath <roland@hack.frob.com>
10768
070906ff
RM
10769 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10770 it's there.
10771
6851bd4d
RM
10772 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10773
84ae135d
MI
107742013-11-21 Meador Inge <meadori@codesourcery.com>
10775
10776 [BZ #11157]
10777 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10778 (encrypt_r): Likewise.
10779 * malloc/obstack.h (obstack_free): Likewise.
10780 * posix/unistd.h (encrypt): Likewise.
10781
daf75146
GM
107822013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10783
10784 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10785 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10786 DL_CALL_DT_FINI() that call the functions directly.
10787 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10788 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10789 * elf/dl-fini.c: Likewise.
10790
10ad46bc
OB
107912013-11-20 Ondřej Bílka <neleai@seznam.cz>
10792
10793 * malloc/hooks.c (memalign_check): Add alignment rounding.
10794 * malloc/malloc.c (_mid_memalign): New function.
10795 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10796 Implement by calling _mid_memalign.
10797 * manual/probes.texi (Memory Allocation Probes): Remove
10798 memory_valloc_retry and memory_pvalloc_retry.
10799
f3fd2628
SP
108002013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10801
4712799f
SP
10802 * locale/programs/locarchive.c (open_archive): Add const
10803 qualifier to ARCHIVEFNAME and copy default fname to
10804 DEFAULT_FNAME.
10805
0417b20f
SP
10806 [BZ #15601]
10807 * libio/tst-widetext.input: Rename Oriya to Odia.
10808 * locale/iso-639.def: Likewise.
10809
f3fd2628
SP
10810 * manual/probes.texi (Mathematical Function Probes): Add
10811 documentation for sin, cos, asin and acos probes.
10812 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10813 (__sin32): Add slowasin probe.
10814 (__cos32): Add slowacos probe.
10815 (__mpsin): Add slowsin probe.
10816 (__mpcos): Add slowcos probe.
10817
73c1ce4f
JM
108182013-11-19 Joseph Myers <joseph@codesourcery.com>
10819
10820 [BZ #15483]
10821 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10822 thread-local __sim_exceptions_thread and global
10823 __sim_exceptions_global.
10824 (__sim_disabled_exceptions): Change to thread-local
10825 __sim_disabled_exceptions_thread and global
10826 __sim_disabled_exceptions_global.
10827 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10828 and global __sim_round_mode_global.
10829 (__simulate_exceptions): Use thread-local floating-point state and
10830 set global state from it as needed.
10831 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10832 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10833 __sim_round_mode_thread.
10834 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10835 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10836 and global __sim_exceptions_global.
10837 (__sim_disabled_exceptions): Change to thread-local
10838 __sim_disabled_exceptions_thread and global
10839 __sim_disabled_exceptions_global.
10840 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10841 and global __sim_round_mode_global.
10842 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10843 (SIM_SET_GLOBAL): Likewise.
10844 * sysdeps/powerpc/soft-fp/sfp-machine.h
10845 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10846 __sim_round_mode_thread.
10847 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10848 __sim_disabled_exceptions_thread.
10849 (__sim_exceptions): Change to __sim_exceptions_thread.
10850 (__sim_disabled_exceptions): Change to
10851 __sim_disabled_exceptions_thread.
10852 (__sim_round_mode): Change to __sim_round_mode_thread.
10853 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10854 thread-local floating-point state and set global state from it as
10855 needed.
10856 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10857 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10858 (__sim_disabled_exceptions): Remove extern declaration.
10859 (feenableexcept): Use thread-local floating-point state and set
10860 global state from it as needed.
10861 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10862 extern declaration.
10863 (__sim_disabled_exceptions): Likewise.
10864 (__sim_round_mode): Likewise.
10865 (__fegetenv): Use thread-local floating-point state.
10866 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10867 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10868 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10869 floating-point state and set global state from it as needed.
10870 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10871 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10872 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10873 Likewise.
10874 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10875 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10876 Likewise.
10877 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10878 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10879 Use __sim_round_mode_thread.
10880 * math/test-fenv-tls.c: New file.
10881 * math/Makefile (tests): Add test-fenv-tls.
10882 ($(objpfx)test-fenv-tls): Depend on
10883 $(common-objpfx)nptl/libpthread.so.
10884
b5449b12
AS
108852013-11-19 Andreas Schwab <schwab@suse.de>
10886
10887 * locale/programs/locale.c (show_info): Decode wordarray elements.
10888 * locale/categories.def (LC_MONETARY): Add element for
10889 _NL_MONETARY_CRNCYSTR.
10890 * locale/C-monetary.c (conversion_rate): New variable.
10891 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10892 element.
10893
e186536b
CM
108942013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10895
10896 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10897 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10898
5c349950
PP
108992013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10900
10901 * elf/Makefile (tst-auxv): New test.
10902 * elf/tst-auxv.c: New
10903 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10904
699df45b
JM
109052013-11-18 Joseph Myers <joseph@codesourcery.com>
10906
10907 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10908 (hidden_proto): Caller changed.
10909 (hidden_tls_proto): New macro.
10910 (libc_hidden_tls_proto): Likewise.
10911 (rtld_hidden_tls_proto): Likewise.
10912 (libm_hidden_tls_proto): Likewise.
10913 (libresolv_hidden_tls_proto): Likewise.
10914 (librt_hidden_tls_proto): Likewise.
10915 (libdl_hidden_tls_proto): Likewise.
10916 (libnss_files_hidden_tls_proto): Likewise.
10917 (libnsl_hidden_tls_proto): Likewise.
10918 (libnss_nisplus_hidden_tls_proto): Likewise.
10919 (libutil_hidden_tls_proto): Likewise.
10920
b7589107
OB
109212013-11-18 Ondřej Bílka <neleai@seznam.cz>
10922
10923 [BZ #10253]
10924 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10925 (decompose_rpath): Defer expansion to fillin_rpath.
10926 (_dl_init_paths): Pass linkmap to fillin_rpath.
10927
250c23bd
RS
109282013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10929
10930 * benchtests/Makefile: Add strsep.
10931 * benchtests/bench-strsep.c: New file: strsep benchtest.
10932 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10933
a7931fcf
AS
109342013-11-18 Andreas Schwab <schwab@suse.de>
10935
10936 * locale/programs/locale.c (show_info) [case byte]: Check for
10937 '\377' instead of '\177'.
10938 * locale/C-monetary.c (not_available): Always use "\377".
10939 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10940 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10941 detect unavailable sign_posn locale elements.
10942 * locale/localeconv.c (__localeconv): For grouping and
10943 mon_grouping handle "\177" and "\377" like no grouping.
10944 (INT_ELEM): New macro. Use it to set all numeric members.
10945 * locale/programs/ld-monetary.c (monetary_read)
10946 <tok_mon_grouping>: Normalize single -1 to the empty string.
10947 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10948 Likewise.
10949
728dab0e
OB
109502013-11-07 Ondřej Bílka <neleai@seznam.cz>
10951
10952 [BZ #16055]
10953 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10954 when we match (nil).
10955 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10956
66294491
JM
109572013-11-16 Joseph Myers <joseph@codesourcery.com>
10958
ce665817
JM
10959 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10960 (NO_TEST_INLINE): Update value.
10961 (ERRNO_UNCHANGED): Likewise.
10962 (ERRNO_EDOM): Likewise.
10963 (ERRNO_ERANGE): Likewise.
10964 (IGNORE_RESULT): Likewise.
10965 (check_float_internal): Check signs of NaN results if
10966 TEST_NAN_SIGN used.
10967 (check_complex): Pass TEST_NAN_SIGN flag through to second
10968 check_float_internal call.
10969 (copysign_test_data): Add tests with quiet NaNs as second
10970 argument. Use TEST_NAN_SIGN.
10971 (fabs_test_data): Add test of negative quiet NaN argument. Use
10972 TEST_NAN_SIGN.
10973 (signbit_test_data): Add tests of quiet NaN argument.
10974 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10975
ee1466a9
JM
10976 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10977 $ignore_result.
10978 (parse_args): Handle function results specified as IGNORE.
10979 * math/libm-test.inc (IGNORE_RESULT): New macro.
10980 (check_float_internal): Do not check numerical result if flag
10981 IGNORE_RESULT set.
10982 (check_complex): Pass through IGNORE_RESULT to second
10983 check_float_internal call.
10984 (check_int): Do not check numerical result if flag IGNORE_RESULT
10985 set.
10986 (check_long): Likewise.
10987 (check_bool): Likewise.
10988 (check_longlong): Likewise.
10989 (lrint_test_data): Add tests of infinite and NaN arguments.
10990 (lrint_tonearest_test_data): Likewise.
10991 (lrint_towardzero_test_data): Likewise.
10992 (lrint_downward_test_data): Likewise.
10993 (lrint_upward_test_data): Likewise.
10994 (llrint_test_data): Likewise.
10995 (llrint_tonearest_test_data): Likewise.
10996 (llrint_towardzero_test_data): Likewise.
10997 (llrint_downward_test_data): Likewise.
10998 (llrint_upward_test_data): Likewise.
10999 (lround_test_data): Likewise.
11000 (llround_test_data): Likewise.
11001
14407b7e
JM
11002 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11003 (ERRNO_UNCHANGED): Update value.
11004 (ERRNO_EDOM): Likewise.
11005 (ERRNO_ERANGE): Likewise.
11006 (NO_TEST_INLINE_FLOAT): New macro.
11007 (NO_TEST_INLINE_DOUBLE): Likewise.
11008 (enable_test): New function.
11009 (RUN_TEST_f_f): Check enable_test before running test.
11010 (RUN_TEST_2_f): Likewise.
11011 (RUN_TEST_fff_f): Likewise.
11012 (RUN_TEST_c_f): Likewise.
11013 (RUN_TEST_f_f1): Likewise.
11014 (RUN_TEST_fF_f1): Likewise.
11015 (RUN_TEST_fI_f1): Likewise.
11016 (RUN_TEST_ffI_f1): Likewise.
11017 (RUN_TEST_c_c): Likewise.
11018 (RUN_TEST_cc_c): Likewise.
11019 (RUN_TEST_f_i): Likewise.
11020 (RUN_TEST_f_i_tg): Likewise.
11021 (RUN_TEST_ff_i_tg): Likewise.
11022 (RUN_TEST_f_b): Likewise.
11023 (RUN_TEST_f_b_tg): Likewise.
11024 (RUN_TEST_f_l): Likewise.
11025 (RUN_TEST_f_L): Likewise.
11026 (RUN_TEST_fFF_11): Likewise.
11027 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11028 conditionals.
11029 (cosh_test_data): Likewise.
11030 (exp_test_data): Likewise.
11031 (expm1_test_data): Likewise.
11032 (hypot_test_data): Likewise.
11033 (pow_test_data): Likewise.
11034 (sinh_test_data): Likewise.
11035 (tanh_test_data): Likewise.
11036 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11037 flags argument.
11038
ca07f197
JM
11039 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11040 tests with quiet NaN input and output.
11041 (acosh_test_data): Likewise.
11042 (asin_test_data): Likewise.
11043 (asinh_test_data): Likewise.
11044 (atan_test_data): Likewise.
11045 (atanh_test_data): Likewise.
11046 (atan2_test_data): Likewise.
11047 (cbrt_test_data): Likewise.
11048 (cos_test_data): Likewise.
11049 (cosh_test_data): Likewise.
11050 (erf_test_data): Likewise.
11051 (erfc_test_data): Likewise.
11052 (exp_test_data): Likewise.
11053 (exp10_test_data): Likewise.
11054 (exp2_test_data): Likewise.
11055 (expm1_test_data): Likewise.
11056 (hypot_test_data): Likewise.
11057 (j0_test_data): Likewise.
11058 (j1_test_data): Likewise.
11059 (jn_test_data): Likewise.
11060 (lgamma_test_data): Likewise.
11061 (log_test_data): Likewise.
11062 (log10_test_data): Likewise.
11063 (log1p_test_data): Likewise.
11064 (log2_test_data): Likewise.
11065 (pow_test_data): Likewise.
11066 (scalb_test_data): Likewise.
11067 (sin_test_data): Likewise.
11068 (sincos_test_data): Likewise.
11069 (sinh_test_data): Likewise.
11070 (tan_test_data): Likewise.
11071 (tanh_test_data): Likewise.
11072 (tgamma_test_data): Likewise.
11073 (y0_test_data): Likewise.
11074 (y1_test_data): Likewise.
11075 (yn_test_data): Likewise.
11076
66294491
JM
11077 [BZ #16167]
11078 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11079 argument being NaN and avoid computations with second argument in
11080 that case.
11081 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11082 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11083 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11084
1820b143
CL
110852013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11086
11087 * locale/iso-639.def: Add Chitwani Tharu (the).
11088
714bd261
AS
110892013-11-14 Andreas Schwab <schwab@suse.de>
11090
11091 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11092 word instead of empty string.
11093
7ab44563
AZ
110942013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11095
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11097 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11099 (__fe_nomask_env): Likewise.
11100
e8470ea2
SE
111012013-11-13 Steve Ellcey <sellcey@mips.com>
11102
11103 * benchtests/bench-timing.h: Include time.h.
11104
17c1d9f0
L
111052013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11106
11107 [BZ #15997]
11108 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11109 to 3.4.0 for x32.
11110 * sysdeps/unix/sysv/linux/configure: Regenerated.
11111
9310c284
JM
111122013-11-13 Joseph Myers <joseph@codesourcery.com>
11113
11114 [BZ #16151]
11115 * stdlib/strtod_l.c (round_and_return): Do not consider
11116 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11117 exponent one less than half the least subnormal exponent.
11118 * stdlib/test-strtod-round-data: Add more tests.
11119 * stdlib/tst-strtod-round.c (tests): Regenerated.
11120
7a2ad8cf
AZ
111212013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11122
11123 [BZ #14143]
11124 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11125 (__fe_mask_env): Likewise.
11126 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11127 libm_hidden_proto and add function prototype.
11128 (__fe_mask_env): Add function prototype.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11130 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11132 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11134 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11135
50727aa7
MS
111362013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11137
b2f386c1 11138 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11139 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11140
a615be46
MS
111412013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11142
11143 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11144 of htab_find_slot().
11145
7ddace62
DM
111462013-11-11 David S. Miller <davem@davemloft.net>
11147
11148 [BZ #16150]
11149 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11150 symbol in the non-vis3 case in static builds.
11151 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11152 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11153 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11154 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11155
9182aa67
JK
111562013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11157
11158 [BZ #387]
11159 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11160 it is empty.
11161
450a2e2d
AZ
111622013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11163
b2f386c1
SP
11164 * benchtests/Makefile: Add bench-strtod.
11165 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11166
8ec3f656
AS
111672013-11-11 Andreas Schwab <schwab@suse.de>
11168
11169 [BZ #16153]
11170 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11171 terminating NUL in key length.
11172
76a9b998
AZ
111732013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11174
11175 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11176 Add artificial ODP entry for vDSO symbol for PPC64.
11177 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11178 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11179
e4368156
OB
111802013-11-07 Ondřej Bílka <neleai@seznam.cz>
11181
11182 [BZ #15374]
11183 * nss/getent.c (services_keys): Recognize services starting with digit.
11184
8d6bb57c
DM
111852013-11-06 David S. Miller <davem@davemloft.net>
11186
11187 [BZ #15985]
11188 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11189 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11190
e256c421
WN
111912013-11-06 Will Newton <will.newton@linaro.org>
11192
11193 * manual/memory.texi (Malloc Examples): Remove register
11194 keyword from examples.
11195
f6e12daa 111962013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11197
f6e12daa 11198 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11199
9d880655
AS
112002013-11-04 Joseph Myers <joseph@codesourcery.com>
11201
fd2f9486 11202 [BZ #6981]
9d880655
AS
11203 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11204 depending on [__GCC_IEC_559 > 0].
11205 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11206 depending on [__GCC_IEC_559_COMPLEX > 0].
11207
ae129d3c
CL
112082013-11-03 Chris Leonard <cjl@sugarlabs.org>
11209
11210 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11211 to iso-639.def.
11212
4a15c2a4 112132013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11214
11215 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11216
8b35e35d
OB
112172013-11-01 Ondřej Bílka <neleai@seznam.cz>
11218
11219 [BZ #16112]
11220 * malloc/malloc (malloc_info): Do not handle first bin as
11221 special case.
11222
1d70fd6c
CL
112232013-11-01 Chris Leonard <cjl@sugarlabs.org>
11224
11225 * locale/iso-639.def: Add Central Nahuatl (nhn).
11226
8c5c2600
BH
112272013-11-01 Bruno Haible <bruno@clisp.org>
11228
11229 [BZ #7003]
11230 * manual/math.texi (BSD Random): Specify range upper bound as
11231 in POSIX.
11232
da5579c2
CL
112332013-10-31 Chris Leonard <cjl@sugarlabs.org>
11234
11235 * locale/iso-639.def: Add Meadow Mari (mhr).
11236
5d30d853
OB
112372013-10-31 Ondřej Bílka <neleai@seznam.cz>
11238
11239 [BZ #14752], [BZ #15763]
11240 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11241 Validate name.
11242 * rt/tst_shm.c: Add test for escaping directory.
11243
a4966c61
AS
112442013-10-31 Andreas Schwab <schwab@suse.de>
11245
8a43e768 11246 [BZ #15917]
a4966c61
AS
11247 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11248 followed by 'x' as part of digit sequence.
11249 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11250
28d708c4
MAP
112512013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11252
11253 [BZ #16037]
11254 * configure.ac: allow GNU Make 4.0 and greater.
11255 * configure: Regenerated.
11256
a56ee40b
WN
112572013-10-30 Will Newton <will.newton@linaro.org>
11258
11259 [BZ #16038]
11260 * malloc/hooks.c (memalign_check): Limit alignment to the
11261 maximum representable power of two.
11262 * malloc/malloc.c (__libc_memalign): Likewise.
11263 * malloc/tst-memalign.c (do_test): Add test for very
11264 large alignment values.
11265 * malloc/tst-posix_memalign.c (do_test): Likewise.
11266
c6e4925d
OB
112672013-10-30 Ondřej Bílka <neleai@seznam.cz>
11268
11269 [BZ #11087]
11270 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11271 (munmap_chunk): Likewise.
11272 (mremap_chunk): Likewise.
11273
112742013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11275
8a43e768 11276 [BZ #15799]
bbea82f7
OB
11277 * stdlib/div.c (div): Remove obsolete code.
11278 * stdlib/ldiv.c (ldiv): Likewise.
11279 * stdlib/lldiv.c (lldiv): Likewise.
11280
977f4b31
SP
112812013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11282
11283 [BZ #16071]
11284 * nss/nss_files/files-XXX.c (get_contents_ret): New
11285 enumerator.
11286 (get_contents): New function.
11287 (internal_getent): Use it. Expand size of LINEBUFLEN.
11288
cb8a6dbd
MF
112892013-10-30 Mike Frysinger <vapier@gentoo.org>
11290
11291 * configure.in: Moved to ...
11292 * configure.ac: ... here. Change reference to configure.in
11293 to configure.ac.
11294 * sysdeps/arm/preconfigure.ac: ... here.
11295 configure.in to configure.ac.
11296 * sysdeps/gnu/configure.in: Moved to ...
11297 * sysdeps/gnu/configure.ac: ... here.
11298 * sysdeps/i386/configure.in: Moved to ...
11299 * sysdeps/i386/configure.ac: ... here.
11300 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11301 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11302 * sysdeps/mach/configure.in: Moved to ...
11303 * sysdeps/mach/configure.ac: ... here.
11304 * sysdeps/mach/hurd/configure.in: Moved to ...
11305 * sysdeps/mach/hurd/configure.ac: ... here.
11306 * sysdeps/powerpc/configure.in: Moved to ...
11307 * sysdeps/powerpc/configure.ac: ... here.
11308 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11309 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11310 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11311 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11312 * sysdeps/s390/s390-32/configure.in: Moved to ...
11313 * sysdeps/s390/s390-32/configure.ac: ... here.
11314 * sysdeps/s390/s390-64/configure.in: Moved to ...
11315 * sysdeps/s390/s390-64/configure.ac: ... here.
11316 * sysdeps/sh/configure.in: Moved to ...
11317 * sysdeps/sh/configure.ac: ... here.
11318 * sysdeps/sparc/configure.in: Moved to ...
11319 * sysdeps/sparc/configure.ac: ... here.
11320 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11321 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11322 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11323 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11324 * sysdeps/x86_64/configure.in: Moved to ...
11325 * sysdeps/x86_64/configure.ac: ... here.
11326 * sysdeps/x86_64/preconfigure.in: Moved to ...
11327 * sysdeps/x86_64/preconfigure.ac: ... here.
11328 * aclocal.m4: Change reference to configure.in to configure.ac.
11329 * config.h.in: Likewise.
11330 * manual/install.texi: Likewise.
11331 * manual/maint.texi: Likewise.
11332 * Makefile: Likewise.
11333 * malloc/Makefile: Likewise.
11334 * nscd/Makefile: Likewise.
11335 * Makeconfig: Change reference to configure.in and
11336 preconfigure.in to configure.ac and preconfigure.ac
11337 respectively.
11338 * INSTALL: Regenerated.
11339 * configure: Likewise.
11340 * sysdeps/gnu/configure: Likewise.
11341 * sysdeps/i386/configure: Likewise.
11342 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11343 * sysdeps/mach/configure: Likewise.
11344 * sysdeps/mach/hurd/configure: Likewise.
11345 * sysdeps/powerpc/configure: Likewise.
11346 * sysdeps/powerpc/powerpc32/configure: Likewise.
11347 * sysdeps/powerpc/powerpc64/configure: Likewise.
11348 * sysdeps/s390/s390-32/configure: Likewise.
11349 * sysdeps/s390/s390-64/configure: Likewise.
11350 * sysdeps/sh/configure: Likewise.
11351 * sysdeps/sparc/configure: Likewise.
11352 * sysdeps/unix/sysv/linux/configure: Likewise.
11353 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11354 * sysdeps/x86_64/configure: Likewise.
11355 * sysdeps/x86_64/preconfigure: Likewise.
11356
36a4953a
AS
113572013-10-29 Andreas Schwab <schwab@suse.de>
11358
11359 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11360
c79a1204
SP
113612013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11362
dfa1b402
SP
11363 * benchtests/pow-inputs: Add new inputs.
11364
54f73d9c
SP
11365 * benchtests/exp-inputs: Add new inputs.
11366
c79a1204
SP
11367 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11368 conditional check for return value.
11369 (__cos32): Likewise.
11370
67beb545 113712013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
11372
11373 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11374 to provide a boost for large inputs with word alignment.
11375 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11376 implementation based on optimized PPC64 strcpy.
11377 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11378 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11379 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11380 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11381
151659f6
OB
113822013-10-25 Ondřej Bílka <neleai@seznam.cz>
11383
482a077e 11384 [BZ #2801]
151659f6
OB
11385 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11386
10b0f26b
OB
113872013-10-25 Ondřej Bílka <neleai@seznam.cz>
11388
11389 [BZ #14876]
11390 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11391 * time/tst-strptime.c (day_tests): Add testcase.
11392
ca42d35e
OB
113932013-10-25 Ondřej Bílka <neleai@seznam.cz>
11394
482a077e 11395 [BZ #14029]
ca42d35e
OB
11396 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11397
52e6d801
FB
113982013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11399
11400 [BZ #16074]
11401 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11402 MAP_FAILED on error.
11403
7cbcdb36
SP
114042013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11405
11406 [BZ #16072]
11407 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11408 heap for large requests.
11409
894f3f10
AM
114102013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11411
11412 [BZ #9954]
11413 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11414 result if the result has no associated interface.
11415 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11416 interface for all 127.X.Y.Z addresses.
11417
b85545a6
CL
114182013-10-24 Chris Leonard <cjl@sugarlabs.org>
11419
11420 * locale/iso-639.def: Add Ligurian (lij)
11421
d1f23d46
OB
114222013-10-21 Ondřej Bílka <neleai@seznam.cz>
11423
11424 [BZ #15825]
11425 * sunrpc/rpc_main.c: Document rpcgen -5.
11426
4db5b08f
MS
114272013-10-19 Michael Stahl <mstahl@redhat.com>
11428
11429 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11430
a471e96a
OB
114312013-10-19 Ondřej Bílka <neleai@seznam.cz>
11432
d1f23d46 11433 [BZ #10278]
a471e96a
OB
11434 * posix/glob.c: Match only directories when trailing slash is present.
11435 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11436 (main): Add testcase.
11437
45c30c61
OB
114382013-10-19 Ondřej Bílka <neleai@seznam.cz>
11439
11440 [BZ #15670]
11441 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11442
484c12fb
CD
114432013-10-18 Carlos O'Donell <carlos@redhat.com>
11444
3d7dc513
CD
11445 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11446 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11447 AUTH_DES and cindex for FIPS 140-2.
11448 (DES Encryption): Add cindex FIPS 46-3.
11449
484c12fb
CD
11450 * locale/locarchive.h (struct locarhandle): Add fname.
11451 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11452 if an optional argument was specified to --list-archive,
11453 otherwise NULL.
11454 * locale/programs/locarchive.c (show_archive_content): Take new
11455 argument fname and pass it via ah.fname to open_archive.
11456 * locale/programs/localedef.h: Update decl.
11457 (open_archive): If AH->fname is non-null, open that file
11458 rather than the default file name, and don't ignore ENOENT.
11459 (create_archive): Set AH.fname to NULL.
11460 (delete_locales_from_archive): Likewise.
11461 (add_locales_to_archive): Likewise.
11462 * locale/programs/locfile.c (write_all_categories): Likewise.
11463
3c8325fb
JM
114642013-10-18 Joseph Myers <joseph@codesourcery.com>
11465 Aldy Hernandez <aldyh@redhat.com>
11466
11467 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11468 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11469 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11470 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11471 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11472 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11473 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11474 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11475 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11476 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11477 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11478 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11479 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11480 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11481 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11482 Likewise.
11483 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11484 Likewise.
11485 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11486 Likewise.
11487 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11488 Likewise.
11489 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11490 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11491 Likewise.
11492 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11493 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11494 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11495 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11496 Likewise.
11497 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11498 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11499 * sysdeps/powerpc/preconfigure: Likewise.
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11501 Likewise.
11502 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11503 Replace contents of file by #include of <fenv_libc.h>.
11504 * sysdeps/powerpc/soft-fp/sfp-machine.h
11505 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11506 and <sys/prctl.h>.
11507 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11508 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11509 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11510 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11511 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11512 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11514 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11515 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11516 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11517 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11518 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11520 Allow copysignl PLT reference to be missing.
11521
5abe0682
RS
115222013-10-18 Richard Sandiford <richard@codesourcery.com>
11523 Joseph Myers <joseph@codesourcery.com
11524
11525 [BZ #15948]
11526 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11527 single character.
11528 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11529
c7738d08
SP
115302013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11531
11532 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11533 * elf/tst-tls1.c: Likewise.
11534 * elf/tst-tls10.h: Likewise.
11535 * elf/tst-tls14.c: Likewise.
11536 * elf/tst-tls2.c: Likewise.
11537 * elf/tst-tls3.c: Likewise.
11538 * elf/tst-tls4.c: Likewise.
11539 * elf/tst-tls5.c: Likewise.
11540 * elf/tst-tls6.c: Likewise.
11541 * elf/tst-tls7.c: Likewise.
11542 * elf/tst-tls8.c: Likewise.
11543 * elf/tst-tls9.c: Likewise.
11544 * elf/tst-tlsmod1.c: Likewise.
11545 * elf/tst-tlsmod13.c: Likewise.
11546 * elf/tst-tlsmod13a.c: Likewise.
11547 * elf/tst-tlsmod14a.c: Likewise.
11548 * elf/tst-tlsmod16a.c: Likewise.
11549 * elf/tst-tlsmod16b.c: Likewise.
11550 * elf/tst-tlsmod2.c: Likewise.
11551 * elf/tst-tlsmod3.c: Likewise.
11552 * elf/tst-tlsmod4.c: Likewise.
11553 * elf/tst-tlsmod5.c: Likewise.
11554 * elf/tst-tlsmod6.c: Likewise.
11555
0bfcf2c7
OB
115562013-10-18 Ondřej Bílka <neleai@seznam.cz>
11557
11558 [BZ #12486]
11559 * malloc/malloc.c: remove checks for statistics.
11560
264aad1e
OB
115612013-10-17 Ondřej Bílka <neleai@seznam.cz>
11562
11563 [BZ #15277]
11564 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11565 * inet/tst-network.c: Add testcase.
11566
b957ced8
AS
115672013-10-17 Andreas Schwab <schwab@suse.de>
11568
11569 [BZ #15218]
11570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11571 to determine canonical name.
11572
c5d5d574
OB
115732013-10-17 Ondřej Bílka <neleai@seznam.cz>
11574
11575 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11576 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11578 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11579 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11580 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11581 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11582 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11583 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11584 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11587 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11588 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11589 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11590 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11595 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11598 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11599 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11600 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11601 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11602 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11603 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11604 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11605 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11607 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11608 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11609 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11610 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11611 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11612 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11613 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11615 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11616 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11617 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11618 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11619 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11620 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11621 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11622 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11623 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11624 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11625 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11626 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11627 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11628 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11629 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11630 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11632 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11633
e5c2c2d0
JM
116342013-10-17 Joseph Myers <joseph@codesourcery.com>
11635
11636 [BZ #16041]
11637 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11638 make result into a quiet NaN.
11639
51ca9e29
JM
116402013-10-16 Joseph Myers <joseph@codesourcery.com>
11641
11642 * soft-fp/adddf3.c: Fix horizontal whitespace.
11643 * soft-fp/addsf3.c: Likewise.
11644 * soft-fp/addtf3.c: Likewise.
11645 * soft-fp/divdf3.c: Likewise.
11646 * soft-fp/divsf3.c: Likewise.
11647 * soft-fp/divtf3.c: Likewise.
11648 * soft-fp/double.h: Likewise.
11649 * soft-fp/eqdf2.c: Likewise.
11650 * soft-fp/eqsf2.c: Likewise.
11651 * soft-fp/eqtf2.c: Likewise.
11652 * soft-fp/extenddftf2.c: Likewise.
11653 * soft-fp/extended.h: Likewise.
11654 * soft-fp/extendsfdf2.c: Likewise.
11655 * soft-fp/extendsftf2.c: Likewise.
11656 * soft-fp/extendxftf2.c: Likewise.
11657 * soft-fp/fixdfdi.c: Likewise.
11658 * soft-fp/fixdfsi.c: Likewise.
11659 * soft-fp/fixdfti.c: Likewise.
11660 * soft-fp/fixsfdi.c: Likewise.
11661 * soft-fp/fixsfsi.c: Likewise.
11662 * soft-fp/fixsfti.c: Likewise.
11663 * soft-fp/fixtfdi.c: Likewise.
11664 * soft-fp/fixtfsi.c: Likewise.
11665 * soft-fp/fixtfti.c: Likewise.
11666 * soft-fp/fixunsdfdi.c: Likewise.
11667 * soft-fp/fixunsdfsi.c: Likewise.
11668 * soft-fp/fixunsdfti.c: Likewise.
11669 * soft-fp/fixunssfdi.c: Likewise.
11670 * soft-fp/fixunssfsi.c: Likewise.
11671 * soft-fp/fixunssfti.c: Likewise.
11672 * soft-fp/fixunstfdi.c: Likewise.
11673 * soft-fp/fixunstfsi.c: Likewise.
11674 * soft-fp/fixunstfti.c: Likewise.
11675 * soft-fp/floatdidf.c: Likewise.
11676 * soft-fp/floatdisf.c: Likewise.
11677 * soft-fp/floatditf.c: Likewise.
11678 * soft-fp/floatsidf.c: Likewise.
11679 * soft-fp/floatsisf.c: Likewise.
11680 * soft-fp/floatsitf.c: Likewise.
11681 * soft-fp/floattidf.c: Likewise.
11682 * soft-fp/floattisf.c: Likewise.
11683 * soft-fp/floattitf.c: Likewise.
11684 * soft-fp/floatundidf.c: Likewise.
11685 * soft-fp/floatundisf.c: Likewise.
11686 * soft-fp/floatunditf.c: Likewise.
11687 * soft-fp/floatunsidf.c: Likewise.
11688 * soft-fp/floatunsisf.c: Likewise.
11689 * soft-fp/floatunsitf.c: Likewise.
11690 * soft-fp/floatuntidf.c: Likewise.
11691 * soft-fp/floatuntisf.c: Likewise.
11692 * soft-fp/floatuntitf.c: Likewise.
11693 * soft-fp/fmadf4.c: Likewise.
11694 * soft-fp/fmasf4.c: Likewise.
11695 * soft-fp/fmatf4.c: Likewise.
11696 * soft-fp/gedf2.c: Likewise.
11697 * soft-fp/gesf2.c: Likewise.
11698 * soft-fp/getf2.c: Likewise.
11699 * soft-fp/ledf2.c: Likewise.
11700 * soft-fp/lesf2.c: Likewise.
11701 * soft-fp/letf2.c: Likewise.
11702 * soft-fp/muldf3.c: Likewise.
11703 * soft-fp/mulsf3.c: Likewise.
11704 * soft-fp/multf3.c: Likewise.
11705 * soft-fp/negdf2.c: Likewise.
11706 * soft-fp/negsf2.c: Likewise.
11707 * soft-fp/negtf2.c: Likewise.
11708 * soft-fp/op-1.h: Likewise.
11709 * soft-fp/op-2.h: Likewise.
11710 * soft-fp/op-4.h: Likewise.
11711 * soft-fp/op-8.h: Likewise.
11712 * soft-fp/op-common.h: Likewise.
11713 * soft-fp/quad.h: Likewise.
11714 * soft-fp/single.h: Likewise.
11715 * soft-fp/soft-fp.h: Likewise.
11716 * soft-fp/sqrtdf2.c: Likewise.
11717 * soft-fp/sqrtsf2.c: Likewise.
11718 * soft-fp/sqrttf2.c: Likewise.
11719 * soft-fp/subdf3.c: Likewise.
11720 * soft-fp/subsf3.c: Likewise.
11721 * soft-fp/subtf3.c: Likewise.
11722 * soft-fp/truncdfsf2.c: Likewise.
11723 * soft-fp/trunctfdf2.c: Likewise.
11724 * soft-fp/trunctfsf2.c: Likewise.
11725 * soft-fp/trunctfxf2.c: Likewise.
11726 * soft-fp/unorddf2.c: Likewise.
11727 * soft-fp/unordsf2.c: Likewise.
11728 * soft-fp/unordtf2.c: Likewise.
11729
9ebb0332
JM
117302013-10-15 Joseph Myers <joseph@codesourcery.com>
11731
11732 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11733 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11734
4b1a6d8b
OB
117352013-10-15 Ondřej Bílka <neleai@seznam.cz>
11736
11737 * elf/dl-libc.c: Clear initfini list after freeing.
11738
1e145589
JM
117392013-10-14 Joseph Myers <joseph@codesourcery.com>
11740
11741 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11742 * soft-fp/addsf3.c: Likewise.
11743 * soft-fp/addtf3.c: Likewise.
11744 * soft-fp/divdf3.c: Likewise.
11745 * soft-fp/divsf3.c: Likewise.
11746 * soft-fp/divtf3.c: Likewise.
11747 * soft-fp/double.h: Likewise.
11748 * soft-fp/eqdf2.c: Likewise.
11749 * soft-fp/eqsf2.c: Likewise.
11750 * soft-fp/eqtf2.c: Likewise.
11751 * soft-fp/extenddftf2.c: Likewise.
11752 * soft-fp/extended.h: Likewise.
11753 * soft-fp/extendsfdf2.c: Likewise.
11754 * soft-fp/extendsftf2.c: Likewise.
11755 * soft-fp/extendxftf2.c: Likewise.
11756 * soft-fp/fixdfdi.c: Likewise.
11757 * soft-fp/fixdfsi.c: Likewise.
11758 * soft-fp/fixdfti.c: Likewise.
11759 * soft-fp/fixsfdi.c: Likewise.
11760 * soft-fp/fixsfsi.c: Likewise.
11761 * soft-fp/fixsfti.c: Likewise.
11762 * soft-fp/fixtfdi.c: Likewise.
11763 * soft-fp/fixtfsi.c: Likewise.
11764 * soft-fp/fixtfti.c: Likewise.
11765 * soft-fp/fixunsdfdi.c: Likewise.
11766 * soft-fp/fixunsdfsi.c: Likewise.
11767 * soft-fp/fixunsdfti.c: Likewise.
11768 * soft-fp/fixunssfdi.c: Likewise.
11769 * soft-fp/fixunssfsi.c: Likewise.
11770 * soft-fp/fixunssfti.c: Likewise.
11771 * soft-fp/fixunstfdi.c: Likewise.
11772 * soft-fp/fixunstfsi.c: Likewise.
11773 * soft-fp/fixunstfti.c: Likewise.
11774 * soft-fp/floatdidf.c: Likewise.
11775 * soft-fp/floatdisf.c: Likewise.
11776 * soft-fp/floatditf.c: Likewise.
11777 * soft-fp/floatsidf.c: Likewise.
11778 * soft-fp/floatsisf.c: Likewise.
11779 * soft-fp/floatsitf.c: Likewise.
11780 * soft-fp/floattidf.c: Likewise.
11781 * soft-fp/floattisf.c: Likewise.
11782 * soft-fp/floattitf.c: Likewise.
11783 * soft-fp/floatundidf.c: Likewise.
11784 * soft-fp/floatundisf.c: Likewise.
11785 * soft-fp/floatunsidf.c: Likewise.
11786 * soft-fp/floatunsisf.c: Likewise.
11787 * soft-fp/floatuntidf.c: Likewise.
11788 * soft-fp/floatuntisf.c: Likewise.
11789 * soft-fp/floatuntitf.c: Likewise.
11790 * soft-fp/fmadf4.c: Likewise.
11791 * soft-fp/fmasf4.c: Likewise.
11792 * soft-fp/fmatf4.c: Likewise.
11793 * soft-fp/gedf2.c: Likewise.
11794 * soft-fp/gesf2.c: Likewise.
11795 * soft-fp/getf2.c: Likewise.
11796 * soft-fp/ledf2.c: Likewise.
11797 * soft-fp/lesf2.c: Likewise.
11798 * soft-fp/letf2.c: Likewise.
11799 * soft-fp/muldf3.c: Likewise.
11800 * soft-fp/mulsf3.c: Likewise.
11801 * soft-fp/multf3.c: Likewise.
11802 * soft-fp/negdf2.c: Likewise.
11803 * soft-fp/negsf2.c: Likewise.
11804 * soft-fp/negtf2.c: Likewise.
11805 * soft-fp/op-1.h: Likewise.
11806 * soft-fp/op-2.h: Likewise.
11807 * soft-fp/op-4.h: Likewise.
11808 * soft-fp/op-8.h: Likewise.
11809 * soft-fp/op-common.h: Likewise.
11810 * soft-fp/quad.h: Likewise.
11811 * soft-fp/single.h: Likewise.
11812 * soft-fp/soft-fp.h: Likewise.
11813 * soft-fp/sqrtdf2.c: Likewise.
11814 * soft-fp/sqrtsf2.c: Likewise.
11815 * soft-fp/sqrttf2.c: Likewise.
11816 * soft-fp/subdf3.c: Likewise.
11817 * soft-fp/subsf3.c: Likewise.
11818 * soft-fp/subtf3.c: Likewise.
11819 * soft-fp/truncdfsf2.c: Likewise.
11820 * soft-fp/trunctfdf2.c: Likewise.
11821 * soft-fp/trunctfsf2.c: Likewise.
11822 * soft-fp/trunctfxf2.c: Likewise.
11823 * soft-fp/unorddf2.c: Likewise.
11824 * soft-fp/unordsf2.c: Likewise.
11825 * soft-fp/unordtf2.c: Likewise.
11826
17c48a60
OB
118272013-10-14 Ondřej Bílka <neleai@seznam.cz>
11828
11829 [BZ #15672]
11830 * misc/error.c (error_tail): Fix possible buffer overflow.
11831
cabba934
OB
118322013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11833
11834 [BZ #13028]
11835 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11836 address.
11837
94bf958a
PM
118382013-10-14 P. J. McDermott <pj@pehjota.net>
11839
11840 [BZ #832]
11841 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11842 testing pipefail option.
11843
71b4dea7
JM
118442013-10-12 Joseph Myers <joseph@codesourcery.com>
11845
11846 * soft-fp/double.h: Indent preprocessor directives inside #if.
11847 * soft-fp/extended.h: Likewise.
11848 * soft-fp/op-2.h: Likewise.
11849 * soft-fp/op-4.h: Likewise.
11850 * soft-fp/op-common.h: Likewise.
11851 * soft-fp/quad.h: Likewise.
11852 * soft-fp/single.h: Likewise.
11853 * soft-fp/soft-fp.h: Likewise.
11854
55602758
YC
118552013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11856
11857 * iconv/iconv_prog.c: Fix typos.
11858 * stdio-common/psiginfo-data.h: Likewise.
11859
9cd83302
RT
118602013-10-12 Reuben Thomas <rrt@sc3d.org>
11861
11862 [BZ #15764]
11863 * locale/setlocale.c: Fix typo.
11864
99fd9f47
JM
118652013-10-12 Joseph Myers <joseph@codesourcery.com>
11866
b7ea74f0
JM
11867 [BZ #16036]
11868 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11869 signaling NaN arguments.
11870 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11871 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11872
8a509447
JM
11873 [BZ #14910]
11874 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11875 unordered operands.
11876 * soft-fp/gesf2.c (__gesf2): Likewise.
11877 * soft-fp/getf2.c (__getf2): Likewise.
11878 * soft-fp/ledf2.c (__ledf2): Likewise.
11879 * soft-fp/lesf2.c (__lesf2): Likewise.
11880 * soft-fp/letf2.c (__letf2): Likewise.
11881
98998e9f
JM
11882 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11883 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11884 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11885 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11886 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11887 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11888 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11889 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11890 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11891 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11892 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11893 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11894 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11895 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11896 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11897 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11898 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11899 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11900 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11901 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11902 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11903 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11904 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11905 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11906 * soft-fp/floattidf.c (__floattidf): Likewise.
11907 * soft-fp/floattisf.c (__floattisf): Likewise.
11908 * soft-fp/floattitf.c (__floattitf): Likewise.
11909 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11910 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11911 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11912 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11913 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11914 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11915 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11916 * soft-fp/gesf2.c (__gesf2): Likewise.
11917 * soft-fp/getf2.c (__getf2): Likewise.
11918 * soft-fp/ledf2.c (__ledf2): Likewise.
11919 * soft-fp/lesf2.c (__lesf2): Likewise.
11920 * soft-fp/letf2.c (__letf2): Likewise.
11921
8edc4a11
JM
11922 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11923 Undefine and redefine.
11924 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11925 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11926 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11927 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11928 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11929 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11930 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11931 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11932 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11933 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11934 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11935 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11936 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11937 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11938 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11939
8399acaf
JM
11940 [BZ #16032]
11941 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11942 without decrementing exponent if mantissa >= that for the
11943 denominator, not >.
11944 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11945 denominator, not >. Decrement exponent in < case instead of
11946 incrementing in >= case.
11947 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11948 without decrementing exponent if mantissa >= that for the
11949 denominator, not >.
11950
99fd9f47
JM
11951 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11952 computing saturated result for unsigned overflow.
11953
10e1cf6b
SP
119542013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11955 Jeff Law <law@redhat.com>
11956
11957 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11958 (atan2Mp): Add systemtap probe marker.
11959 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11960 (__ieee754_log): Add systemtap probe marker.
11961 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11962 (atanMp): Add systemtap probe marker.
11963 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11964 (tanMp): Add systemtap probe marker.
11965 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11966 (__slowexp): Add systemtap probe marker.
11967 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11968 (__slowpow): Add systemtap probe marker.
11969 * manual/probes.texi: Document probes.
11970
3d110c7c
EB
119712013-10-11 Eric Biggers <ebiggers3@gmail.com>
11972
11973 [BZ #15362]
11974 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11975 written.
11976 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11977 written.
11978 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11979 written to buffer but not flushed.
11980 * libio/iofwrite_u.c: Likewise.
11981 * libio/iopadn.c: Return bytes returned even if EOF was
11982 encountered.
11983 * libio/iowpadn.c: Likewise.
11984 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11985 if _IO_padn does not write the whole buffer.
11986 [!COMPILE_WPRINTF] (PAD): Likewise.
11987
75b4202a
DM
119882013-10-10 David S. Miller <davem@davemloft.net>
11989
11990 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11991 directory block.
11992
6c6352e6
JM
119932013-10-10 Joseph Myers <joseph@codesourcery.com>
11994
33b853c3
JM
11995 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11996 instead of FSF address.
11997 * soft-fp/fixdfti.c: Likewise.
11998 * soft-fp/fixsfti.c: Likewise.
11999 * soft-fp/fixtfti.c: Likewise.
12000 * soft-fp/fixunsdfti.c: Likewise.
12001 * soft-fp/fixunssfti.c: Likewise.
12002 * soft-fp/fixunstfti.c: Likewise.
12003 * soft-fp/floattidf.c: Likewise.
12004 * soft-fp/floattisf.c: Likewise.
12005 * soft-fp/floattitf.c: Likewise.
12006 * soft-fp/floatuntidf.c: Likewise.
12007 * soft-fp/floatuntisf.c: Likewise.
12008 * soft-fp/floatuntitf.c: Likewise.
12009 * soft-fp/trunctfxf2.c: Likewise.
12010
6c6352e6
JM
12011 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12012 * soft-fp/fixdfti.c: Likewise.
12013 * soft-fp/fixsfti.c: Likewise.
12014 * soft-fp/fixtfti.c: Likewise.
12015 * soft-fp/fixunsdfti.c: Likewise.
12016 * soft-fp/fixunssfti.c: Likewise.
12017 * soft-fp/fixunstfti.c: Likewise.
12018 * soft-fp/floattidf.c: Likewise.
12019 * soft-fp/floattisf.c: Likewise.
12020 * soft-fp/floattitf.c: Likewise.
12021 * soft-fp/floatuntidf.c: Likewise.
12022 * soft-fp/floatuntisf.c: Likewise.
12023 * soft-fp/floatuntitf.c: Likewise.
12024 * soft-fp/trunctfxf2.c: Likewise.
12025
3bf78b71
DM
120262013-10-10 David S. Miller <davem@davemloft.net>
12027
12028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12029
6f10289e
JM
120302013-10-10 Joseph Myers <joseph@codsourcery.com>
12031
bd878fc0
JM
12032 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12033 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12034 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12035 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12036 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12037 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12038 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12039
6f10289e
JM
12040 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12041 for NaNs before doing comparisons on argument.
12042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12043 Likewise.
12044
321e2684
WN
120452013-10-10 Will Newton <will.newton@linaro.org>
12046
12047 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12048 passed to _int_memalign does not overflow.
12049
40fefba1
TR
120502013-10-10 Torvald Riegel <triegel@redhat.com>
12051
12052 * scripts/bench.pl: Add include-sources directive.
12053 * benchtests/README: Update documentation.
12054
2ae21ed2
JM
120552013-10-10 Joseph Myers <joseph@codesourcery.com>
12056
dcc2dd3f
JM
12057 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12058 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12059 instead of FP_INIT_ROUNDMODE.
12060 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12061 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12062
2ae21ed2
JM
12063 [BZ #16034]
12064 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12065 copy class of input value.
12066 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12067 not handle exceptions.
12068 * soft-fp/negsf2.c (__negsf2): Likewise.
12069 * soft-fp/negtf2.c (__negtf2): Likewise.
12070 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12071
cb8f9562
JM
120722013-10-09 Joseph Myers <joseph@codesourcery.com>
12073
12074 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12075 semicolon. From Linux kernel.
12076
5b60c59d
AB
120772013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12078
12079 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12080
b86835ca
YC
120812013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12082
12083 [BZ #156]
12084 * manual/socket.texi: Added statement about buffer
12085 for gethostbyname2_r.
12086
e7044ea7
OB
120872013-10-08 Ondřej Bílka <neleai@seznam.cz>
12088
12089 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12090 Use .p2align directive instead, throughout.
12091 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12092 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12093 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12094 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12095 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12096 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12097 * sysdeps/x86_64/strchr.S: Likewise.
12098 * sysdeps/x86_64/strrchr.S: Likewise.
12099
09544cbc
SP
121002013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12101
88576635
SP
12102 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12103
e7b2d1dd
SP
12104 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12105
09544cbc
SP
12106 * sysdeps/generic/math_private.h (__mpsin1): Remove
12107 declaration.
12108 (__mpcos1): Likewise.
12109 (__mpsin): New argument __range_reduce.
12110 (__mpcos): Likewise.
12111 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12112 (slow): Use __mpsin and __mpcos.
12113 (slow1): Likewise.
12114 (slow2): Likewise.
12115 (sloww): Likewise.
12116 (sloww1): Likewise.
12117 (sloww2): Likewise.
12118 (bsloww): Likewise.
12119 (bsloww1): Likewise.
12120 (bsloww2): Likewise.
12121 (cslow2): Likewise.
12122 (csloww): Likewise.
12123 (csloww1): Likewise.
12124 (csloww2): Likewise.
12125 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12126 range_reduce. Merge in __mpsin1.
12127 (__mpcos): Likewise.
12128 (__mpsin1): Remove.
12129 (__mpcos1): Likewise.
12130
7602d070
JM
121312013-10-07 Joseph Myers <joseph@codesourcery.com>
12132
12133 * locale/loadlocale.c (_nl_intern_locale_data): Use
12134 LOCFILE_ALIGNED_P.
12135 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12136 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12137 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12138 obstack data is appropriately aligned.
12139 (obstack_int32_grow_fast): Likewise.
12140 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12141 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12142 (add_locale_uint32_array): Likewise.
12143
a357259b
SP
121442013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12145
12146 * benchtests/Makefile: Remove ARGLIST and RET variables.
12147 ($(objpfx)bench-%.c): Pass only function name to the script.
12148 * benchtests/README: Update documentation.
12149 * benchtests/acos-inputs: Add new directives.
12150 * benchtests/acosh-inputs: Likewise.
12151 * benchtests/asin-inputs: Likewise.
12152 * benchtests/asinh-inputs: Likewise.
12153 * benchtests/atan-inputs: Likewise.
12154 * benchtests/atanh-inputs: Likewise.
12155 * benchtests/cos-inputs: Likewise.
12156 * benchtests/cosh-inputs: Likewise.
12157 * benchtests/exp-inputs: Likewise.
12158 * benchtests/log-inputs: Likewise.
12159 * benchtests/pow-inputs: Likewise.
12160 * benchtests/rint-inputs: Likewise.
12161 * benchtests/sin-inputs: Likewise.
12162 * benchtests/sinh-inputs: Likewise.
12163 * benchtests/tan-inputs: Likewise.
12164 * benchtests/tanh-inputs: Likewise.
12165 * scripts/bench.pl: Add support for new directives.
12166
9ec1b13d
AM
121672013-10-07 Alan Modra <amodra@gmail.com>
12168
12169 * README: Fix careless merge.
12170
8b7d57cd
AM
121712013-10-05 Alan Modra <amodra@gmail.com>
12172
12173 * NEWS: Mention powerpc64le support and bugs fixed.
12174 * README: Both big-endian and little-endian powerpc64 supported.
12175
7b7bab13
ST
121762013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12177
57f41c40
AS
12178 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12179 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12180 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12181 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12182
d39baad1
RA
121832013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12184
12185 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12186 match prototype.
12187
cd78f7e7
JM
121882013-10-04 Joseph Myers <joseph@codesourcery.com>
12189
29d73d86
JM
12190 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12191 Move -mhard-float appending from
12192 ports/sysdeps/powerpc/powerpc32/Makefile.
12193 [$(with-fp) = yes] (ASFLAGS): Likewise.
12194 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12195 * sysdeps/powerpc/nofpu: Move directory from
12196 ports/sysdeps/powerpc/nofpu.
12197 * sysdeps/powerpc/soft-fp: Move directory from
12198 ports/sysdeps/powerpc/soft-fp.
12199 * sysdeps/powerpc/powerpc32/405: Move directory from
12200 ports/sysdeps/powerpc/powerpc32/405.
12201 * sysdeps/powerpc/powerpc32/440: Move directory from
12202 ports/sysdeps/powerpc/powerpc32/440.
12203 * sysdeps/powerpc/powerpc32/464: Move directory from
12204 ports/sysdeps/powerpc/powerpc32/464.
12205 * sysdeps/powerpc/powerpc32/476: Move directory from
12206 ports/sysdeps/powerpc/powerpc32/476.
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12208 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12210 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12212 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12214 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12216 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12217 * README: Update for powerpc-*-linux-gnu software floating point
12218 support in libc.
12219
e246b347
JM
12220 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12221 case to powerpc/powerpc32*.
12222 * sysdeps/unix/sysv/linux/configure: Regenerated.
12223
89c2003e
JM
12224 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12225 (_FPU_MASK_OM): Define as 0x04.
12226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12228 0x00c10080.
12229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12230 0x0000003c.
12231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12232
cd78f7e7
JM
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12234 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12235 getcontext_e500.
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12237 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12238 setcontext_e500.
12239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12240 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12241 and setcontext_e500.
12242
c755294d
CL
122432013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12244
12245 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12246
e16d221c
SP
122472013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12248
12249 * manual/threads.texi (Default Thread Attributes): Fix typo.
12250
215c7d43
WN
122512013-10-04 Will Newton <will.newton@linaro.org>
12252
12253 * malloc/Makefile: Add tst-memalign.
12254 * malloc/tst-memalign.c: New file.
12255
27d0461b
WN
12256 * malloc/tst-posix_memalign.c: Add comments.
12257 (do_test): Add comments and call free on all potentially
12258 allocated pointers. Add space after cast.
12259
1bc92709
WN
12260 * malloc/tst-pvalloc.c: Add comments.
12261 (do_test): Add comments and call free on all potentially
12262 allocated pointers. Remove duplicate check for NULL pointer.
12263 Add space after cast.
12264
66a9be9d
WN
12265 * malloc/tst-valloc.c: Add comments.
12266 (do_test): Add comments and call free on all potentially
12267 allocated pointers. Remove duplicate check for NULL pointer.
12268 Add space after cast.
12269
4cb81307
AM
122702013-10-04 Alan Modra <amodra@gmail.com>
12271
12272 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12273 Use stdint types in rather than __attribute__((mode())).
12274 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12275
f8e3e9f3
AM
122762013-10-04 Alan Modra <amodra@gmail.com>
12277
12278 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12279 Correct handling of unaligned relocs for little-endian.
12280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12281
8f9ebb08
AM
122822013-10-04 Alan Modra <amodra@gmail.com>
12283
12284 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12285 * configure: Regenerate.
12286 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12287 * shlib-versions: Likewise.
12288
0edf96c2
AM
122892013-10-04 Alan Modra <amodra@gmail.com>
12290
12291 * string/tester.c (test_memrchr): Increment reported test cycle.
12292
e0f7a380
AM
122932013-10-04 Alan Modra <amodra@gmail.com>
12294
12295 * string/test-memcpy.c (do_one_test): When reporting errors, print
12296 string address and don't overrun end of string.
12297
466b0393
AM
122982013-10-04 Alan Modra <amodra@gmail.com>
12299
12300 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12301 insrdi. Make better use of reg selection to speed exit slightly.
12302 Schedule entry path a little better. Remove useless "are we done"
12303 checks on entry to main loop. Handle wrapping around zero address.
12304 Correct main loop count. Handle single left-over word from main
12305 loop inline rather than by using loop_small. Remove extra word
12306 case in loop_small caused by wrong loop count. Add little-endian
12307 support.
12308 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12309 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12310 cache hint.
12311 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12312 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12313 support. Avoid rlwimi.
12314 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12315
3be87c77
AM
123162013-10-04 Alan Modra <amodra@gmail.com>
12317
12318 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12319 insrdi. Formatting.
3be87c77
AM
12320 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12321 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12322 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12323 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12324 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12325 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12326
759cfef3
AM
123272013-10-04 Alan Modra <amodra@gmail.com>
12328
12329 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12330 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12331 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12332 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12333 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12334 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12335 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12336 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12337 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12338 use of regs. Use power7 mtocrf. Tidy function tails.
12339
fe6e95d7
AM
123402013-10-04 Alan Modra <amodra@gmail.com>
12341
12342 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12343 Formatting. Consistently use rXXX register defines or rN defines.
12344 Use early exit labels that avoid restoring unused non-volatile regs.
12345 Make cr field use more consistent with rWORDn compares. Rename
12346 regs used as shift registers for unaligned loop, using rN defines
12347 for short lifetime/multiple use regs.
12348 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12349 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12350 addi 1,1,64 to pop stack frame. Simplify return value code.
12351 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12352
664318c3
AM
123532013-10-04 Alan Modra <amodra@gmail.com>
12354
12355 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12356 support. Correct typos, formatting. Optimize tail. Use insrdi
12357 rather than rlwimi.
12358 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12359 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12360 little-endian support. Correct typos.
12361 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12362 rather than rlwimi.
12363 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12364 in loop and entry code to keep "and." results.
12365 (strchr): Add little-endian support. Comment. Move cntlzd
12366 earlier in tail.
12367 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12368
43b84013
AM
123692013-10-04 Alan Modra <amodra@gmail.com>
12370
12371 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12372 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12373 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12374 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12375
8a7413f9
AM
123762013-10-04 Alan Modra <amodra@gmail.com>
12377
12378 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12379 (rTMP): Define as r11.
12380 (strcmp): Add little-endian support. Optimise tail.
12381 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12382 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12383 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12384 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12385 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12386 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12387 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12388
33ee81de
AM
123892013-10-04 Alan Modra <amodra@gmail.com>
12390
12391 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12392 little-endian support. Remove unnecessary "are we done" tests.
12393 Handle "s" wrapping around zero and extremely large "size".
12394 Correct main loop count. Handle single left-over word from main
12395 loop inline rather than by using small_loop. Correct comments.
12396 Delete "zero" tail, use "end_max" instead.
12397 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12398
db9b4570
AM
123992013-10-04 Alan Modra <amodra@gmail.com>
12400
12401 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12402 support. Don't branch over align.
12403 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12404 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12405 support. Rearrange tmp reg use to suit. Comment.
12406 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12407
f7c399cf
AM
124082013-10-04 Alan Modra <amodra@gmail.com>
12409
12410 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12411
0b2c2ace
AM
124122013-10-04 Alan Modra <amodra@gmail.com>
12413
12414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12415 conditional form of branch and link when obtaining pc.
12416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12417
02f04a6c
AM
124182013-10-04 Alan Modra <amodra@gmail.com>
12419
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12421 HIWORD/LOWORD.
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12424
9b874b2f
AM
124252013-10-04 Alan Modra <amodra@gmail.com>
12426
12427 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12428 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12429 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12430 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12431 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12432 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12433 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12434 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12435 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12436 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12437
be1e5d31
AB
124382013-10-04 Anton Blanchard <anton@au1.ibm.com>
12439 Alistair Popple <alistair@ozlabs.au.ibm.com>
12440 Alan Modra <amodra@gmail.com>
12441
12442 [BZ #15723]
12443 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12444 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12445 _dl_hwcap access for little-endian.
12446 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12447 destroy vmx regs when saving unaligned.
12448 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12449 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12450 destroy vmx regs when saving unaligned.
12451
fef13a78
AM
124522013-10-04 Alan Modra <amodra@gmail.com>
12453
12454 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12455 Don't use a union to pack hi/low value.
12456
76a66d51
AB
124572013-10-04 Anton Blanchard <anton@au1.ibm.com>
12458
12459 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12460 for little-endian.
12461 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12463 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12464 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12465 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12466
6a31fe7f
AM
124672013-10-04 Alan Modra <amodra@gmail.com>
12468
12469 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12470 constants to usual value for .cst8 section, and remove redundant
12471 high address load.
12472 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12473 constant for 0x1p52. Load little-endian words of double from
12474 correct stack offsets.
12475
7b88401f
AM
124762013-10-04 Alan Modra <amodra@gmail.com>
12477
12478 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12479 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12480 words of double from correct stack offsets.
12481 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12482 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12483 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12484 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12485 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12486 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12487 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12488 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12489 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12490 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12491 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12492 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12493 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12494 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12495 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12496 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12497 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12498
9c008155
AM
124992013-10-04 Alan Modra <amodra@gmail.com>
12500
12501 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12502 64-bit int/double union.
12503 (_FPU_SETCW): Likewise.
12504 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12505 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12506
da13146d
AM
125072013-10-04 Alan Modra <amodra@gmail.com>
12508
12509 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12510 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12511
603e8410
AM
125122013-10-04 Alan Modra <amodra@gmail.com>
12513
12514 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12515 use vector int constants.
12516 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12517
4a28b3ca
AB
125182013-10-04 Anton Blanchard <anton@au1.ibm.com>
12519
12520 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12521 array with long long.
12522 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12523 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12524 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12525 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12526 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12527 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12528 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12529 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12530 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12531 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12532 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12533 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12534 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12535
2ca85d2b
AB
125362013-10-04 Anton Blanchard <anton@au1.ibm.com>
12537
12538 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12539 (__signbit): Likewise. Correct for little-endian.
12540 (__signbitl): Call __signbit.
12541 (lrint): Correct for little-endian.
12542 (lrintf): Call lrint.
12543
62a728ae
AM
125442013-10-04 Alan Modra <amodra@gmail.com>
12545
12546 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12547 union 32-bit int array member with 64-bit int array.
12548 (t515, tm256): Double rather than long double.
12549 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12550
32c301df
AM
125512013-10-04 Alan Modra <amodra@gmail.com>
12552
12553 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12554 Delete.
12555 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12556 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12557 version of math_ldbl.h.
12558
650ef4bd
AM
125592013-10-04 Alan Modra <amodra@gmail.com>
12560
12561 [BZ #15734], [BZ #15735]
12562 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12563 all uses of ieee875 long double macros and unions. Simplify test
12564 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12565 ldbl_extract_mantissa value for ix,iy exponents. Properly
12566 normalize after ldbl_extract_mantissa, and don't add hidden bit
12567 already handled. Don't treat low word of ieee854 mantissa like
12568 low word of IBM long double and mask off bit when testing for
12569 zero.
12570 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12571 all uses of ieee875 long double macros and unions. Simplify tests
12572 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12573 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12574 two1022, instead use their values. Recognise that tests for large
12575 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12576 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12577 Rewrite all uses of ieee875 long double macros and unions. Simplify
12578 test for 0.0L and nan. Correct negation.
12579 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12580 ieee875 long double macros and unions. Correct output for large
12581 magnitude x. Correct absolute value calculation.
12582 (__erfcl): Likewise.
12583 * math/libm-test.inc: Add tests for errors discovered in IBM long
12584 double versions of fmodl, remainderl, erfl and erfcl.
12585
765714ca
AM
125862013-10-04 Alan Modra <amodra@gmail.com>
12587
12588 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12589 all uses of ieee854 long double macros and unions. Simplify tests
12590 for long doubles that are fully specified by the high double.
12591 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12592 Likewise.
12593 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12594 Remove dead code too.
12595 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12596 (__ieee754_ynl): Likewise.
12597 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12598 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12599 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12600 Remove dead code too.
12601 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12602 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12603 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12604 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12605 Simplify.
12606 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12607 Simplify.
12608 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12609 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12610 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12611 Comment on variable precision.
12612 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12613 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12614 Likewise.
12615 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12616 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12617 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12618 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12619 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12620
4ebd120c
AM
126212013-10-04 Alan Modra <amodra@gmail.com>
12622
12623 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12624 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12625 all uses of ieee854 long double macros and unions.
12626 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12627 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12628 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12629 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12631 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12632 Likewise.
12633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12634 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12635 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12636 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12637 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12639 Simplify sign and nan test too.
12640 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12641 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12642 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12643 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12644 Likewise.
12645 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12646 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12647 Likewise.
12648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12649 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12650 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12651 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12652 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12654
1b6adf88
AM
126552013-10-04 Alan Modra <amodra@gmail.com>
12656
12657 * stdio-common/printf_size.c (__printf_size): Don't use
12658 union ieee854_long_double in fpnum union.
12659 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12660 signbit macro to retrieve sign from long double.
12661 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12662 retrieve sign from long double.
12663 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12664 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12665 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12666 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12667 * math/test-misc.c (main): Don't use union ieee854_long_double.
12668
4cf69995
AM
126692013-10-04 Alan Modra <amodra@gmail.com>
12670
12671 [BZ #15680]
12672 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12673 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12674 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12675 calculation. Remove unnecessary test for denormal exponent.
12676 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12677 Correct handling of denormals. Avoid undefined shift behaviour.
12678 Correct normalisation of low mantissa when low double is denormal.
12679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12680 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12681 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12682 Correct normalisation of low mantissa. Test for overflow of high
12683 mantissa and normalise.
12684 (ldbl_nearbyint): Use more readable constant for two52.
12685 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12686 (__mpn_construct_long_double): Fix test for overflow of high
12687 mantissa and correct normalisation. Avoid undefined shift.
12688
9605ca6c
AM
126892013-10-04 Alan Modra <amodra@gmail.com>
12690
12691 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12692 (union ibm_extended_long_double): Define as an array of ieee754_double.
12693 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12694 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12695 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12696 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12697 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12704
975569d0
JM
127052013-10-03 Joseph Myers <joseph@codesourcery.com>
12706
d3d23756
JM
12707 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12708 page size instead of calling getpagesize.
12709
975569d0
JM
12710 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12711 (LOCFILE_ALIGN_MASK): Likewise.
12712 (LOCFILE_ALIGN_UP): Likewise.
12713 (LOCFILE_ALIGNED_P): Likewise.
12714 * locale/programs/ld-collate.c (collate_output): Use the new
12715 macros instead of __alignof__ (int32_t).
12716 * locale/weight.h (findidx): Likewise.
12717
b1fe1f2b
OB
127182013-10-03 Ondřej Bílka <neleai@seznam.cz>
12719
12720 [BZ #431]
12721 * manual/string.texi: Fix strncat and wcsncat.
12722
5f855e35
BM
127232013-10-03 Brooks Moses <bmoses@google.com>
12724
12725 [BZ #15915]
12726 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12727 * Makerules: ...here, and adjust associated comments.
12728
3cef6009
WN
127292013-10-02 Will Newton <will.newton@linaro.org>
12730
12731 * malloc/Makefile: Add tst-pvalloc.
12732 * malloc/tst-pvalloc.c: New file.
12733
7815420b
WN
127342013-10-02 Will Newton <will.newton@linaro.org>
12735
12736 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12737 improve test coverage.
12738
4868b204
WN
127392013-10-02 Will Newton <will.newton@linaro.org>
12740
12741 * malloc/Makefile: Add tst-posix_memalign.
12742 * malloc/tst-posix_memalign.c: New file.
12743
29c793b3
EB
127442013-10-01 Eric Blake <eblake@redhat.com>
12745
12746 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12747 Use __THROWNL rather than __THROW on static functions.
12748
fd967522
PM
127492013-09-30 Petr Machata <pmachata@redhat.com>
12750
12751 * elf/elf.h (R_AARCH64_ABS16): New macro.
12752 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12753 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12754 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12755 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12756 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12757 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12758 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12759 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12760 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12761 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12762 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12763 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12764 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12765 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12766 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12767 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12768 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12769 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12770 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12771 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12772 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12773 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12774 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12775 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12776 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12777 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12778 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12779 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12780 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12781 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12782 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12783 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12784 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12785 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12786 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12787 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12788 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12789 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12790 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12791 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12792 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12793 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12794 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12795 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12796 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12797 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12798 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12799 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12800 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12801 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12802 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12803 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12804 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12805 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12806 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12807 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12808 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12809 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12810 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12811 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12812 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12813 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12814 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12815 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12816 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12817 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12818 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12819 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12820 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12821 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12822 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12823 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12824 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12825 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12826 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12827 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12828 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12829 (R_AARCH64_TLSDESC_LDR): Likewise.
12830 (R_AARCH64_TLSDESC_ADD): Likewise.
12831 (R_AARCH64_TLSDESC_CALL): Likewise.
12832
b2179107
AS
128332013-09-30 Andreas Schwab <schwab@suse.de>
12834
12835 [BZ #15048]
12836 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12837 the nss database lookup.
12838 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12840
47f28d0a
MF
128412013-09-28 Mike Frysinger <vapier@gentoo.org>
12842
12843 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12844
128452013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12846
12847 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12848 ${Bash-specific parameter/pattern/string} parameter expansion.
12849 * sysdeps/unix/make-syscalls.sh: Likewise.
12850
f4518a17
KK
128512013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12852
12853 * sysdeps/sh/stackguard-macros.h: New file.
12854
dc1a95c7
OB
128552013-09-26 Ondřej Bílka <neleai@seznam.cz>
12856
12857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12859 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12860 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12861 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12862 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12863
5ebbff8f
AZ
128642013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12865
12866 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12867 Fix thread ID register.
12868
4fd2cf9f
JM
128692013-09-25 Joseph Myers <joseph@codesourcery.com>
12870
12871 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12872 [POSIX || UNIX98]: Require rather than permitting all symbols from
12873 <time.h>.
12874 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12875 element of struct sched_param.
12876 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12877 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12878 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12879 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12880 constant.
12881
12c22bc4
OL
128822013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12883
12884 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12885 argument calculation.
12886
a03d8ea7
JM
128872013-09-24 Joseph Myers <joseph@codesourcery.com>
12888
12889 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12890 Expect macro.
12891 [POSIX] (pthread_attr_t): Do not require type.
12892 [POSIX] (pthread_cond_t): Likewise.
12893 [POSIX] (pthread_condattr_t): Likewise.
12894 [POSIX] (pthread_key_t): Likewise.
12895 [POSIX] (pthread_mutex_t): Likewise.
12896 [POSIX] (pthread_mutexattr_t): Likewise.
12897 [POSIX] (pthread_once_t): Likewise.
12898 [POSIX] (pthread_t): Likewise.
12899 [POSIX-based standards] (pthread_atfork): Expect function.
12900
6055173a
JM
129012013-09-24 Joseph Myers <joseph@codesourcery.com>
12902 Richard Sandiford <richard@codesourcery.com>
12903
12904 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12905 (swap_endianness_p): New extern variable.
12906 (set_big_endian): New inline function.
12907 (maybe_swap_uint32): Likewise.
12908 (maybe_swap_uint32_array): Likewise.
12909 (maybe_swap_uint32_obstack): Likewise.
12910 * locale/programs/locfile.c: Include <stdbool.h>.
12911 (swap_endianness_p): New variable.
12912 (add_locale_uint32): Call maybe_swap_uint32.
12913 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12914 (write_locale_data): Call maybe_swap_uint32_array.
12915 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12916 maybe_swap_uint32.
12917 (obstack_int32_grow_fast): Likewise.
12918 (output_weightwc): Call maybe_swap_uint32_obstack.
12919 (collate_output): Likewise.
12920 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12921 (OPT_LITTLE_ENDIAN): Likewise.
12922 (options): Add --little-endian and --big-endian options.
12923 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12924 * locale/programs/locarchive.c: Include "locfile.h".
12925 (GET): New macro.
12926 (SET): Likewise.
12927 (INC): Likewise.
12928 (create_archive): Use the new macros to access fields of
12929 structures directly mapped from or written to locale archives.
12930 (oldlocrecentcmp): Likewise.
12931 (enlarge_archive): Likewise.
12932 (insert_name): Likewise.
12933 (add_alias): Likewise.
12934 (add_locale): Likewise.
12935 (delete_locales_from_archive): Likewise.
12936 (show_archive_content): Likewise.
12937 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12938 locale data.
12939
39bf0bb4
RM
129402013-09-24 Roland McGrath <roland@hack.frob.com>
12941
12942 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12943 http://www.gnu.org/doc/freemanuals.texi.
12944 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12945
f02eed10
WN
129462013-09-24 Will Newton <will.newton@linaro.org>
12947
12948 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12949 macro.
12950
a3a6c312
JM
129512013-09-23 Joseph Myers <joseph@codesourcery.com>
12952
12953 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12954 unsigned char.
12955
107375ac
MR
129562013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12957
12958 * manual/threads.texi (POSIX Threads): Fix a typo.
12959
141f3a77
SP
129602013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12961
303e567a
SP
12962 [BZ #14547]
12963 * string/tst-strcoll-overflow.c: New test case.
12964 * string/Makefile (xtests): Add tst-strcoll-overflow.
12965 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12966 cache if string sizes may cause integer overflow.
12967
141f3a77
SP
12968 [BZ #14547]
12969 * string/strcoll_l.c (coll_seq): New members rule, idx,
12970 save_idx and back_us.
12971 (get_next_seq_nocache): New function.
12972 (do_compare_nocache): New function.
12973 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12974 when malloc fails.
12975
c61b4d41
CD
129762013-09-23 Carlos O'Donell <carlos@redhat.com>
12977
0b1f8e35
CD
12978 [BZ #15754]
12979 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12980 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12981 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12982
c61b4d41
CD
12983 [BZ #15754]
12984 * elf/Makefile (tests): Add tst-ptrguard1.
12985 (tests-static): Add tst-ptrguard1-static.
12986 (tst-ptrguard1-ARGS): Define.
12987 (tst-ptrguard1-static-ARGS): Define.
12988 * elf/tst-ptrguard1.c: New file.
12989 * elf/tst-ptrguard1-static.c: New file.
12990 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12991 * sysdeps/i386/stackguard-macros.h: Likewise.
12992 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12993 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12994 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12995 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12996 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12997 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12998
129992013-09-23 Hector Marco <hecmargi@upv.es>
13000 Ismael Ripoll <iripoll@disca.upv.es>
13001 Carlos O'Donell <carlos@redhat.com>
13002
13003 [BZ #15754]
13004 * sysdeps/generic/stackguard-macros.h: Define
13005 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13006 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13007 Define __pointer_chk_guard_local.
13008 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13009 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13010
f5f4e7b4
VV
130112013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13012
13013 [BZ #15859]
13014 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13015
5bb43a43
AS
130162013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13017
13018 * include/string.h (__ffs): Declare as hidden.
13019 * string/ffs.c (__ffs): Define as hidden.
13020 * sysdeps/i386/ffs.c (__ffs): Likewise.
13021 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13022 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13023 * sysdeps/s390/ffs.c (__ffs): Likewise.
13024 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13025
3ea5be54
AO
130262013-09-20 Alexandre Oliva <aoliva@redhat.com>
13027
ffb89e53
AO
13028 * NEWS: Mention malloc probes.
13029
322dea08
AO
13030 * malloc/arena.c (new_heap): New memory_heap_new probe.
13031 (grow_heap): New memory_heap_more probe.
13032 (shrink_heap): New memory_heap_less probe.
13033 (heap_trim): New memory_heap_free probe.
13034 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13035 (systrim): New memory_sbrk_less probe.
13036 * manual/probes.texi: Document them.
13037
655673f3
AO
13038 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13039 * manual/probes.texi: Document it.
13040
35fed6f1
AO
13041 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13042 (__libc_realloc): Add memory_realloc_retry probe.
13043 (__libc_memalign): Add memory_memalign_retry probe.
13044 (__libc_valloc): Add memory_valloc_retry probe.
13045 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13046 (__libc_calloc): Add memory_calloc_retry probe.
13047 * manual/probes.texi: Document them.
13048
6999d38c
AO
13049 * malloc/arena.c (get_free_list): Add probe
13050 memory_arena_reuse_free_list.
13051 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13052 and memory_arena_reuse.
13053 (arena_get2) [!PER_THREAD]: Likewise.
13054 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13055 memory_arena_reuse_realloc.
13056 * manual/probes.texi: Document them.
13057
0653427f
AO
13058 * malloc/malloc.c (__libc_free): Add
13059 memory_mallopt_free_dyn_thresholds probe.
13060 (__libc_mallopt): Add multiple memory_mallopt probes.
13061 * manual/probes.texi: Document them.
13062
3ea5be54
AO
13063 * malloc/malloc.c: Include stap-probe.h.
13064 (__libc_mallopt): Add memory_mallopt probe.
13065 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13066 * manual/probes.texi: New.
13067 * manual/Makefile (chapters): Add probes.
13068 * manual/threads.texi: Set next node.
13069
e35696c3 130702013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13071
e35696c3
CL
13072 [BZ #15963, #13985]
13073 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13074 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13075 Add `Chinese' to `nan' entry name.
13076
4aafb73c
SP
130772013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13078
13079 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13080 (POLYNOMIAL): Likewise.
13081 (TAYLOR_SINCOS): Likewise.
13082 (TAYLOR_SLOW): Likewise.
13083 (__sin): Use TAYLOR_SINCOS.
13084 (__cos): Likewise.
13085 (slow): Use TAYLOR_SLOW.
13086 (sloww): Likewise.
13087 (bsloww): Likewise.
13088 (csloww): Likewise.
13089
d84f25c7
LD
130902013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13091
13092 * stdlib/strtod_l.c: Fix buffer overrun.
13093
5eea0404
SP
130942013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13095
7849ff93
SP
13096 * benchtests/Makefile (bench): Add sincos.
13097 * benchtests/bench-sincos.c: New file.
13098
cfa3c886
SP
13099 * math/libm-test.inc (cos_test_data): New test inputs.
13100 (sin_test_data): Likewise.
13101
b348e1e3
SP
13102 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13103 macro.
13104 (__sin): Use it.
13105 (__cos): Likewise.
13106 (slow1): Likewise.
13107 (slow2): Likewise.
13108 (sloww1): Likewise.
13109 (sloww2): Likewise.
13110 (bsloww1): Likewise.
13111 (bsloww2): Likewise.
13112 (cslow2): Likewise.
13113 (csloww1): Likewise.
13114 (csloww2): Likewise.
13115
6cce25f8
SP
13116 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13117 function.
13118 (__sin): Use it.
13119 (__cos): Likewise.
13120
5eea0404
SP
13121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13122 gotos.
13123 (__cos): Likewise.
13124
9c21573c
MR
131252013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13126
13127 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13128 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13129 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13130 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13131 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13132 * elf/cache.c (print_entry): Handle the new cache flags.
13133
24d22e65
JM
131342013-09-18 Joseph Myers <joseph@codesourcery.com>
13135 Aldy Hernandez <aldyh@redhat.com>
13136
13137 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13138 Change condition to [_SOFT_FLOAT].
13139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13142 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13151 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13154 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13155 declaration.
13156
d13ef066
JM
131572013-09-18 Joseph Myers <joseph@codesourcery.com>
13158
2e071de0
JM
13159 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13160 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13161 (__longjmp): Use LOAD_GP to load saved GPRs.
13162 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13163 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13164 (__sigsetjmp): Use SAVE_GP to save GPRs.
13165
d13ef066
JM
13166 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13167 Do not append -msoft-float.
13168 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13169
97a0650b
SP
131702013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13171
13172 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13173
11ca09e9
JM
131742013-09-17 Joseph Myers <joseph@codesourcery.com>
13175
13176 [BZ #15966]
13177 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13178 (_FPU_GETCW): Use initial "__" on variable and field names but not
13179 on macro parameter name.
13180 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13181 parentheses around reference to macro parameter.
13182
08ffcf34
RS
131832013-09-13 Richard Sandiford <richard@codesourcery.com>
13184
13185 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13186 prototype.
13187 (ctype_startup): Use uint32_t in cast and sizeof for
13188 ctype->charnames.
13189
ae7080d3
JL
131902013-09-11 Jia Liu <proljc@gmail.com>
13191
13192 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13193 __daddr_t_defined.
13194 [__FreeBSD__]: Likewise.
13195
5905e7b3
OB
131962013-09-11 Ondřej Bílka <neleai@seznam.cz>
13197
13198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13199 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13200 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13201 (strchr): Remove __strchr_sse42 ifunc selection.
13202 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13203 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13204
b987c776
WN
132052013-09-11 Will Newton <will.newton@linaro.org>
13206
13207 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13208 parameter to RES. Remove hardcoded 1000 value.
13209 * benchtests/bench-skeleton.c (main): Pass RES parameter
13210 to TIMING_INIT and multiply result by 1000.
13211
ddf985af
AZ
132122013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13213
13214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13215
ffdd3181
AS
132162013-09-11 Andreas Schwab <schwab@suse.de>
13217
13218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13219 if not defined.
13220 (O_TMPFILE) [__USE_GNU]: Define.
13221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13222 Define.
13223
b73ed247
WN
132242013-09-11 Will Newton <will.newton@linaro.org>
13225
13226 [BZ #15857]
13227 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13228 does not overflow.
13229
55e17aad
WN
132302013-09-11 Will Newton <will.newton@linaro.org>
13231
13232 [BZ #15856]
13233 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13234 does not overflow.
13235
1159a193
WN
132362013-09-11 Will Newton <will.newton@linaro.org>
13237
13238 [BZ #15855]
13239 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13240 does not overflow.
13241
5905e7b3 132422013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13243
13244 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13245 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13247 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13248 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13249
cdfc721b
AM
132502013-09-10 Allan McRae <allan@archlinux.org>
13251
aa04af00
AM
13252 [BZ #15748]
13253 * manual/arith.texi (Parsing of Floats): Clarify
13254 cross-reference.
13255
cdfc721b
AM
13256 [BZ #15849]
13257 * manual/install.texi (Running make install): Mention
13258 --enable-pt-chown.
13259 * INSTALL: Regenerated.
13260
95e7cf29
MR
132612013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13262
13263 * csu/init-first.c (_init): Remove the !SHARED condition around
13264 FPU control word initialization.
13265 * elf/dl-support.c (_dl_fpu_control): New variable.
13266 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13267 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13268 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13269 * math/test-fpucw-static.c: New file.
13270 * math/test-fpucw-ieee.c: New file.
13271 * math/test-fpucw-ieee-static.c: New file.
13272 * math/Makefile (tests): Add `test-fpucw-ieee' and
13273 `$(tests-static)'.
13274 (tests-static): New variable.
13275 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13276 dependency to...
13277 [($(build-shared),yes)]
13278 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13279 ... this.
13280 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13281 New dependency.
13282
83e43bf0
AM
132832013-09-09 Allan McRae <allan@archlinux.org>
13284
a9f5ce09
AM
13285 [BZ #15939]
13286 * manual/string.texi (Collation Functions): Fix typo in
13287 strcoll example.
13288 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13289
34829bc2
AM
13290 [BZ #15893]
13291 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13292
3932737d
AM
13293 [BZ #15892]
13294 * libio/memstream.c (open_memstream): Fix memory leak.
13295 * libio/wmemstream.c (open_wmemstream): Likewise.
13296
83e43bf0
AM
13297 [BZ #15895]
13298 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13299
0c66b8e9
WN
133002013-09-09 Will Newton <will.newton@linaro.org>
13301
13302 * malloc/Makefile: Add tst-realloc to tests.
13303 * malloc/tst-realloc.c: New file.
13304
f6b00fd1
AM
133052013-09-09 Allan McRae <allan@archlinux.org>
13306
13307 [BZ #15844]
13308 * COPYING: Update from GNU website to fix FSF address.
13309 * COPYING.LIB: Likewise.
13310
eec55e16
DM
133112013-09-06 David S. Miller <davem@davemloft.net>
13312
13313 * po/zh_TW.po: Update Chinese (traditional) translation from
13314 translation project.
13315
1ecbb381
RS
133162013-09-06 Richard Sandiford <richard@codesourcery.com>
13317 Joseph Myers <joseph@codesourcery.com>
13318
13319 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13320 "localeinfo.h".
13321 (obstack_chunk_alloc): New macro.
13322 (obstack_chunk_free): Likewise.
13323 (record_offset): New function.
13324 (init_locale_data): Likewise.
13325 (align_locale_data): Likewise.
13326 (add_locale_empty): Likewise.
13327 (add_locale_raw_data): Likewise.
13328 (add_locale_raw_obstack): Likewise.
13329 (add_locale_string): Likewise.
13330 (add_locale_wstring): Likewise.
13331 (add_locale_uint32): Likewise.
13332 (add_locale_uint32_array): Likewise.
13333 (add_locale_char): Likewise.
13334 (start_locale_structure): Likewise.
13335 (end_locale_structure): Likewise.
13336 (start_locale_prelude): Likewise.
13337 (end_locale_prelude): Likewise.
13338 (write_locale_data): Take locale_file structure rather than an
13339 iovec.
13340 * locale/programs/locfile.h: Include "obstack.h".
13341 (struct locale_file): Change to store locale file contents instead
13342 of header.
13343 (init_locale_data): New prototype.
13344 (align_locale_data): Likewise.
13345 (add_locale_empty): Likewise.
13346 (add_locale_raw_data): Likewise.
13347 (add_locale_raw_obstack): Likewise.
13348 (add_locale_string): Likewise.
13349 (add_locale_wstring): Likewise.
13350 (add_locale_uint32): Likewise.
13351 (add_locale_uint32_array): Likewise.
13352 (add_locale_char): Likewise.
13353 (start_locale_structure): Likewise.
13354 (end_locale_structure): Likewise.
13355 (start_locale_prelude): Likewise.
13356 (end_locale_prelude): Likewise.
13357 (write_locale_data): Update prototype.
13358 * locale/programs/3level.h (struct TABLE): Remove result field.
13359 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13360 Use new locale_file interface.
13361 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13362 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13363 * locale/programs/ld-address.c (address_output): Use new
13364 locale_file interface.
13365 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13366 NO_ADD_LOCALE.
13367 (collate_finish): Don't call collseq_table_finalize.
13368 (collate_output): Use new locale_file interface.
13369 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13370 in file.
13371 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13372 (TABLE): Move defines earlier in file.
13373 (ELEMENT): Likewise.
13374 (DEFAULT): Likewise.
13375 (wctrans_table_add): Move macro and inline function earlier in
13376 file.
13377 (struct wctype_table): Move type earlier in file.
13378 (add_locale_wctype_table): New static prototype.
13379 (struct locale_ctype_t): Use logical types instead of struct iovec
13380 pointers for members.
13381 (ctype_output): Use new locale_file interface.
13382 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13383 new locale_file interface.
13384 (allocate_arrays): Update for use of new locale_file interface.
13385 * locale/programs/ld-identification.c (identification_output): Use
13386 new locale_file interface.
13387 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13388 * locale/programs/ld-messages.c (messages_output): Likewise.
13389 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13390 * locale/programs/ld-name.c (name_output): Likewise.
13391 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13392 * locale/programs/ld-paper.c (paper_output): Likewise.
13393 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13394 * locale/programs/ld-time.c (time_output): Likewise.
13395
e029e2e5
AZ
133962013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13397
13398 * benchtests/Makefile: Add memrchr benchmark.
13399 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13400 benchmark as memrchr.
13401 * benchtests/bench-memrchr-ifunc.c: New file.
13402 * benchtests/bench-memrchr.c: New file.
13403
bbf6e8e4
WN
134042013-09-06 Will Newton <will.newton@linaro.org>
13405
13406 * benchtests/Makefile (string-bench): Add memcpy.
13407
6c82a2f8
CD
134082013-09-05 Carlos O'Donell <carlos@redhat.com>
13409 Cong Wang <amwang@redhat.com>
13410
e732c5f0 13411 [BZ #15850]
6c82a2f8
CD
13412 * sysdeps/unix/sysv/linux/bits/in.h
13413 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13414 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13415 before __USE_KERNEL_IPV6_DEFS uses.
13416 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13417 IPPROTO_BEETPH.
13418 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13419 sockaddr_in6, or ipv6_mreq.
13420
5430fc65
AZ
134212013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13422
13423 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13424 memory access for final bytes in some large inputs.
13425 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13426
4660856c
AZ
134272013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13428
13429 * string/test-memrchr.c: New file.
13430 * string/test-memrchr-ifunc.c: New file.
13431 * string/Makefile: Add new memrchr testcase.
13432
bb8ea713
MF
134332013-09-05 Mike Frysinger <vapier@gentoo.org>
13434
13435 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13436 fanotify_init returns EPERM.
13437
b92a20b5
JM
134382013-09-04 Joseph Myers <joseph@codesourcery.com>
13439
13440 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13441 errors.
13442 (top level): Treat second token from macro or constant entries for
13443 allowed headers as allowed.
13444 * include/complex.h: Condition internal declarations on
13445 [!_ISOMAC].
13446 * include/fenv.h: Condition include of <stdbool.h> and internal
13447 declarations on [!_ISOMAC].
7447ccd9
CL
13448
134492013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13450
3e181dda 13451 [BZ #15923]
7447ccd9
CL
13452 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13453
3f2e46a4
JM
134542013-09-04 Joseph Myers <joseph@codesourcery.com>
13455
13456 * configure.in (--enable-versioning): Remove configure option.
13457 (libc_cv_asm_symver_directive): Remove configure test.
13458 (libc_cv_ld_version_script_option): Likewise.
13459 (VERSIONING): Remove variable and AC_SUBST.
13460 (DO_VERSIONING): Remove AC_DEFINE.
13461 * configure: Regenerated.
13462 * config.h.in (DO_VERSIONING): Remove macro.
13463 * Makerules [$(versioning) = yes]: Change conditionals to
13464 [$(build-shared) = yes].
13465 * config.make.in (versioning): Remove variable.
13466 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13467 [$(build-shared) = yes].
13468 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13469 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13470 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13471 [$(build-shared) = yes].
13472 * extra-lib.mk [$(versioning) = yes]: Likewise.
13473 * hurd/Makefile [$(versioning) = yes]: Likewise.
13474 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13475 [SHARED].
13476 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13477 [SHARED].
13478 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13479 [SHARED && !NO_HIDDEN].
13480 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13481 [SHARED].
13482 [SHARED && DO_VERSIONING]: Likewise..
13483 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13484 [$(build-shared) = yes].
13485 * manual/install.texi (--disable-versioning): Remove
13486 documentation.
13487 * INSTALL: Regenerated.
13488 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13489 to [SHARED].
13490 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13491 [$(build-shared) = yes].
13492 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13493 * sysdeps/i386/i686/multiarch/strstr-c.c
13494 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13495 [SHARED && !NO_HIDDEN].
13496 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13497 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13498 * sysdeps/powerpc/powerpc32/dl-machine.c
13499 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13500 * sysdeps/powerpc/powerpc32/sysdep.h
13501 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13502 to [SHARED && PIC && !NO_HIDDEN].
13503 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13504 conditional to [SHARED].
13505
44558701
WN
135062013-09-04 Will Newton <will.newton@linaro.org>
13507
13508 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13509 * benchtests/bench-string.h: Include bench-timing.h instead
13510 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13511 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13512 call to HP_TIMING_DIFF_INIT.
13513 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13514 instead of hp-timing.h macros.
13515 * benchtests/bench-memchr.c: Likewise.
13516 * benchtests/bench-memcmp.c: Likewise.
13517 * benchtests/bench-memcpy.c: Likewise.
13518 * benchtests/bench-memmem.c: Likewise.
13519 * benchtests/bench-memmove.c: Likewise.
13520 * benchtests/bench-memset.c: Likewise.
13521 * benchtests/bench-rawmemchr.c: Likewise.
13522 * benchtests/bench-strcasecmp.c: Likewise.
13523 * benchtests/bench-strcasestr.c: Likewise.
13524 * benchtests/bench-strcat.c: Likewise.
13525 * benchtests/bench-strchr.c: Likewise.
13526 * benchtests/bench-strcmp.c: Likewise.
13527 * benchtests/bench-strcpy.c: Likewise.
13528 * benchtests/bench-strcpy_chk.c: Likewise.
13529 * benchtests/bench-strlen.c: Likewise.
13530 * benchtests/bench-strncasecmp.c: Likewise.
13531 * benchtests/bench-strncat.c: Likewise.
13532 * benchtests/bench-strncmp.c: Likewise.
13533 * benchtests/bench-strncpy.c: Likewise.
13534 * benchtests/bench-strnlen.c: Likewise.
13535 * benchtests/bench-strpbrk.c: Likewise.
13536 * benchtests/bench-strrchr.c: Likewise.
13537 * benchtests/bench-strspn.c: Likewise.
13538 * benchtests/bench-strstr.c: Likewise.
13539
cae16d66
WN
135402013-09-04 Will Newton <will.newton@linaro.org>
13541
13542 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13543
ffa3cd7f
JM
135442013-09-03 Joseph Myers <joseph@codesourcery.com>
13545
13546 [BZ #15427]
13547 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13548 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13549 * math/libm-test.inc (lgamma_test_data): Add more tests.
13550 * sysdeps/i386/fpu/libm-test-ulps: Update.
13551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13552
8f02859f
OB
135532013-09-03 Ondřej Bílka <neleai@seznam.cz>
13554
13555 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13557 Add ifunc.
13558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13559 Add strcmp-sse2-unaligned
13560 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13561
18d43716
MF
135622013-09-02 Mike Frysinger <vapier@gentoo.org>
13563
13564 * Versions.def (libc): Add GLIBC_2.19.
13565
ac444012
MF
135662013-09-02 Mike Frysinger <vapier@gentoo.org>
13567
13568 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13569 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13570
b7835e32
JM
135712013-09-02 Joseph Myers <joseph@codesourcery.com>
13572
13573 [BZ #14155]
13574 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13575 intermediate calculations in recurrence.
13576 (__ieee754_ynf): Likewise.
13577 * math/libm-test.inc (jn_test_data): Do not allow spurious
13578 underflow exception. Add more tests.
13579 (yn_test_data): Add more tests.
13580 * sysdeps/i386/fpu/libm-test-ulps: Update.
13581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13582
8220f4f0
OB
135832013-09-02 Ondřej Bílka <neleai@seznam.cz>
13584
13585 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13586
f24a6d08
OB
135872013-08-30 Ondřej Bílka <neleai@seznam.cz>
13588
13589 * csu/init-first.c: Fix then/than typos.
13590 * locale/programs/ld-collate.c: Likewise.
13591 * locale/programs/linereader.h: Likewise.
13592 * manual/charset.texi: Likewise.
13593 * manual/filesys.texi: Likewise.
13594 * manual/stdio.texi: Likewise.
13595 * manual/string.texi: Likewise.
13596 * stdlib/fmtmsg.c: Likewise.
13597 * sysdeps/i386/stpncpy.S: Likewise.
13598 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13599 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13600 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13601 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13602
382466e0
OB
136032013-08-30 Ondřej Bílka <neleai@seznam.cz>
13604
13605 * elf/dl-open.c: Fix typos.
13606 * iconvdata/gbbig5.c: Likewise.
13607 * iconvdata/iso-2022-jp.c: Likewise.
13608 * iconv/gconv_int.h: Likewise.
13609 * iconv/loop.c: Likewise.
13610 * nis/rpcsvc/nis.h: Likewise.
13611 * resolv/ns_name.c: Likewise.
13612 * stdio-common/vfscanf.c: Likewise.
13613 * streams/stropts.h: Likewise.
13614 * sunrpc/rpc_thread.c: Likewise.
13615 * sysdeps/i386/strpbrk.S: Likewise.
13616 * sysdeps/ieee754/k_standard.c: Likewise.
13617 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13619 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13620 * sysdeps/mach/hurd/profil.c: Likewise.
13621 * sysdeps/s390/dl-procinfo.h: Likewise.
13622 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13623 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13624 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13625 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13626 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13627
0186c6e9
OB
136282013-08-30 Ondřej Bílka <neleai@seznam.cz>
13629
13630 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13632
d4e16af1
OB
136332013-08-29 Ondřej Bílka <neleai@seznam.cz>
13634
13635 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13636 aix specific files.
13637 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13638 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13639 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13640 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13641 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13642 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13643 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13644 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13645
88335980
TS
136462013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13647 Roland McGrath <roland@hack.frob.com>
13648
13649 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13650 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13651
ed479b02
ST
136522013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13653
13654 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13655 __executable_start symbol instead of _start.
13656
f1cc4c86
TS
136572013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13658
d821f07c
TS
13659 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13660 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13661 Move macros to...
13662 * sysdeps/gnu/ldsodefs.h: ... this new file.
13663
c54290cf
TS
13664 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13665 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13666 instead of ELFOSABI_LINUX.
13667
0007fc9b 13668 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13669 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13670 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13671 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13672 Likewise.
13673 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13674 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13675 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13676 Likewise.
13677 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13678 (ibm_extended_long_double): Add ieee_nan member.
13679 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13680 (do_test): New function.
13681
f1cc4c86
TS
13682 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13683 TEST_TRUNC.
13684 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13685 functions, renamed from truncdfsf_test, trunctfsf_test,
13686 trunctfdf_test.
13687 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13688 functions.
13689 (do_test): Run all these.
13690
6f65e668
OB
136912013-08-29 Ondřej Bílka <neleai@seznam.cz>
13692
13693 * argp/argp-help.c: Fix typos.
13694 * argp/argp-parse.c: Likewise.
13695 * debug/backtracesyms.c: Likewise.
13696 * elf/elf.h: Likewise.
13697 * malloc/malloc.c: Likewise.
13698 * nis/nis_print.c: Likewise.
13699 * resolv/res_comp.c: Likewise.
13700 * stdlib/stdlib.h: Likewise.
13701 * sunrpc/clnt_tcp.c: Likewise.
13702 * sunrpc/clnt_udp.c: Likewise.
13703 * sunrpc/clnt_unix.c: Likewise.
13704 * sysdeps/unix/bsd/ptsname.c: Likewise.
13705 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13706 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13708 Likewise.
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13710 Likewise.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13712 Likewise.
6f65e668
OB
13713 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13714
3a309239
SP
137152013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13716
13717 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13719
3b813b29
MF
137202013-08-27 Mike Frysinger <vapier@gentoo.org>
13721
13722 [BZ #15897]
13723 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13724 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13725 ($(objpfx)bug-dl-leaf): New rule.
13726 ($(objpfx)bug-dl-leaf.so): Likewise.
13727 ($(objpfx)bug-dl-leaf.out): Likewise.
13728 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13729 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13730 * dlfcn/bug-dl-leaf.c: New test.
13731 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13732 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13733 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13734 (dlclose): Likewise.
13735 (dlmopen): Likewise.
13736
8cc3269f
RM
137372013-08-27 Roland McGrath <roland@hack.frob.com>
13738
7f9d0034
RM
13739 * include/netdb.h [!_ISOMAC]:
13740 Don't include <tls.h>.
13741 (h_errno, __libc_h_errno): Move declaration and macros out of
13742 [_LIBC_REENTRANT].
13743
fb431262
RM
13744 * include/resolv.h [_RESOLV_H_]:
13745 Don't include <tls.h>.
13746 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13747 * resolv/res_libc.c: Don't include <tls.h>.
13748 (_res): Use __attribute__ ((nocommon)) in place of
13749 __attribute__ ((section (".bss"))).
13750
bd81123a
RM
13751 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13752 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13753
c4e42566
RM
13754 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13755
f890a59b
RM
13756 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13757 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13758
13759 * resolv/res_mkquery.c: Include <sys/time.h>.
13760
5d1f0a09
RM
13761 * inet/ifreq.c: Moved to ...
13762 * sysdeps/unix/ifreq.c: ... here.
13763 * inet/ifreq.c: New file, true stub version.
13764
6fcf28b3
RM
13765 * socket/sa_len.c: New file.
13766 * socket/Makefile (aux): Add it.
13767 * sysdeps/unix/sysv/linux/Makefile
13768 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13769 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13770 and #include <socket/sa_len.c>.
13771 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13772 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13773
e041fb8b
RM
13774 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13775 * bits/socket.h: ... here.
13776
8cc3269f
RM
13777 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13778 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13779 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13780
5d228a43
AS
137812013-08-27 Andreas Schwab <schwab@suse.de>
13782
45b8accc
AS
13783 [BZ #15736]
13784 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13785 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13786 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13787 * string/test-strcasecmp.c (test_main): Run tests in several
13788 locales.
13789 * string/test-strncasecmp.c (test_main): Likewise.
13790
5d228a43
AS
13791 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13792 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13793 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13795 (__strncasecmp_ssse3) [PIC]: Likewise.
13796
59d112a4
RM
137972013-08-26 Roland McGrath <roland@hack.frob.com>
13798
53234cc3
RM
13799 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13800
59d112a4
RM
13801 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13802 instead of explicitly declaring xdecrypt.
13803 * nis/nss_nis/nis-publickey.c: Likewise.
13804
595aba70
SP
138052013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13806
13807 [BZ #15890]
13808 * nscd/aicache.c: Include res_hconf.h.
13809 (addhstaiX): Initialize res_hconf.
13810
ffabd393
AS
138112013-08-26 Andreas Schwab <schwab@suse.de>
13812
13813 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13814 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13815
e0a69f5c
SP
138162013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13817
13818 * nscd/aicache.c (addhstaiX): Fix indentation.
13819
8c12f01d
MF
138202013-08-25 Mike Frysinger <vapier@gentoo.org>
13821
13822 * configure.ac: Quote $build_pt_chown test.
13823 * configure: Regenerated.
13824
8fe89494
JM
138252013-08-23 Joseph Myers <joseph@codesourcery.com>
13826
13827 [BZ #15532]
13828 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13829 * math/s_cexpf.c (__cexpf): Likewise.
13830 * math/s_cexpl.c (__cexpl): Likewise.
13831 * math/libm-test.inc (cexp_test_data): Correct expected return
13832 value for NaN + i0. Add another test.
13833
75b181d6
DM
138342013-08-22 David S. Miller <davem@davemloft.net>
13835
13836 * po/ca.po: Update Catalan translation from translation project.
936241e4 13837 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13838
acd06bb1
JM
138392013-08-21 Joseph Myers <joseph@codesourcery.com>
13840
13841 [BZ #15797]
13842 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13843 is infinite, not alongside NaN test.
13844 * math/s_fdimf.c (__fdimf): Likewise.
13845 * math/s_fdiml.c (__fdiml): Likewise.
13846 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13847 errno is unchanged.
13848
c0c3f78a
OB
138492013-08-21 Ondřej Bílka <neleai@seznam.cz>
13850
13851 * argp/argp-help.c: Fix typos.
13852 * crypt/speeds.c: Likewise.
13853 * csu/check_fds.c: Likewise.
13854 * elf/dl-load.c: Likewise.
13855 * elf/dl-open.c: Likewise.
13856 * elf/reldep3.c: Likewise.
13857 * elf/reldep.c: Likewise.
13858 * elf/sprof.c: Likewise.
13859 * iconv/iconv_charmap.c: Likewise.
13860 * iconv/skeleton.c: Likewise.
13861 * iconv/strtab.c: Likewise.
13862 * io/lockf64.c: Likewise.
13863 * libio/libioP.h: Likewise.
13864 * resolv/gai_notify.c: Likewise.
13865 * resolv/ns_name.c: Likewise.
13866 * resolv/ns_samedomain.c: Likewise.
13867 * resolv/res_send.c: Likewise.
13868 * stdlib/random.c: Likewise.
13869 * sunrpc/rpc/xdr.h: Likewise.
13870 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13871 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13872 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13873 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13874 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13875 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13877 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13878 * sysdeps/mach/hurd/check_fds.c: Likewise.
13879 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13880 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13881 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13882 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13883 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13884 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13885 * sysdeps/pthread/aio_notify.c: Likewise.
13886 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13887 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13888 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13889 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13890 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13891
46ed1038
LD
138922013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13893
13894 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13895 version if bit_Slow_SSE4_2 is set.
13896 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13897 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13898
d400dcac
AZ
138992013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13900
13901 [BZ #15867]
13902 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13903 trampoline stack frame information.
13904 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13905 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13906 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13907 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13908 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13909 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13910 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13911 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13912 sa_flags value.
13913 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13914 interrupting a syscall and set with option SA_SIGINFO.
13915
42c8fdd8
JM
139162013-08-20 Joseph Myers <joseph@codesourcery.com>
13917
c980f2f4
JM
13918 [BZ #15531]
13919 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13920 argument is infinite.
13921 * math/s_cprojf.c (__cprojf): Likewise.
13922 * math/s_cprojl.c (__cprojl): Likewise.
13923 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13924 * math/libm-test.inc (cproj_test_data): Add more tests.
13925
0716c4fc
JM
13926 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13927
42c8fdd8
JM
13928 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13929 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13930 size. Use __ffs to determine corresponding shift.
13931
b31469d0
JM
139322013-08-20 Joseph Myers <joseph@codesourcery.com>
13933 Roland McGrath <roland@hack.frob.com>
13934
13935 * Makefile (INSTALL): Remove trailing blank lines from output of
13936 makeinfo.
13937
4e39af6e
AK
139382013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13939
13940 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13941 Align 32 bit compat elf_greg to 8 bytes.
13942
f315524e
AA
139432013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13944
13945 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13946
1326ba1a
SP
139472013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13948
13949 * string/strcoll_l.c (coll_seq): New structure.
13950 (get_next_seq_cached): New function.
13951 (get_next_seq): New function.
13952 (do_compare): New function.
13953 (STRCOLL): Use GNU style definition. Simplify implementation
13954 by using get_next_seq, get_next_seq_cached and do_compare.
13955
91ce4085
FW
139562013-08-16 Florian Weimer <fweimer@redhat.com>
13957
13958 [BZ #14699]
13959 CVE-2013-4237
13960 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13961 member.
13962 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13963 member.
13964 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13965 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13966 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13967 conditional.
13968 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13969 GETDENTS_64BIT_ALIGNED.
13970 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13971 * manual/filesys.texi (Reading/Closing Directory): Document
13972 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13973 strongly.
13974 * manual/conf.texi (Limits for Files): Add portability note to
13975 NAME_MAX, PATH_MAX.
13976 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13977
ca0a6bc4
AS
139782013-08-13 Andreas Schwab <schwab@suse.de>
13979
13980 [BZ #15749]
13981 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13982 of fabs.
13983 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13984 LDBL_MAX_EXP >= 16384]: Add tests for it.
13985
6c1fd795
DM
139862013-08-12 David S. Miller <davem@davemloft.net>
13987
13988 * version.h (RELEASE): Set to "development".
13989 (VERSION): Set to "2.18.90".
13990 * NEWS: Add 2.19 section.
13991
31ad488d
DM
139922013-08-03 David S. Miller <davem@davemloft.net>
13993
13994 * po/ko.po: Update Korean translation from translation project.
13995
db24e684
DM
139962013-08-01 David S. Miller <davem@davemloft.net>
13997
13998 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13999 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14000 Bilka.
14001
f723285b
DM
140022013-07-30 David S. Miller <davem@davemloft.net>
14003
14004 * po/fr.po: Update French translation from translation project.
14005
3cbc52db
DM
140062013-07-28 David S. Miller <davem@davemloft.net>
14007
30bbc0cc
DM
14008 * po/cs.po: Update Czech translation from translation project.
14009
3cbc52db
DM
14010 * po/sv.po: Update Swedish translation from translation project.
14011
d492e6d0
DM
140122013-07-27 David S. Miller <davem@davemloft.net>
14013
f1a7f492
DM
14014 * po/eo.po: Update Esperanto translation from translation project.
14015
90e62a4a
DM
14016 * po/vi.po: Update Vietnamese translation from translation project.
14017
d492e6d0
DM
14018 * po/de.po: Update German translation from translation project.
14019
d4baa62d
DM
140202013-07-26 David S. Miller <davem@davemloft.net>
14021
641aa7b4
DM
14022 * po/bg.po: Update Bulgarian translation from translation project.
14023
d4baa62d
DM
14024 * po/nl.po: Update Dutch translation from translation project.
14025 * po/pl.po: Update Polish translation from translation project.
14026 * po/ru.po: Update Russian translation from translation project.
14027
61a9dcb9
DM
140282013-07-24 David S. Miller <davem@davemloft.net>
14029
14030 * po/libc.pot: Update.
14031
7b1f8b58
AZ
140322013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14033
14034 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14035 variable page size.
14036 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14037 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14038 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14039
a8fc7a03
AK
140402013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14041
14042 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14043
e4608715
CD
140442013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14045 Andreas Schwab <schwab@suse.de>
14046 Roland McGrath <roland@hack.frob.com>
14047 Joseph Myers <joseph@codesourcery.com>
14048 Carlos O'Donell <carlos@redhat.com>
14049
14050 [BZ #15755]
14051 * config.h.in: Define HAVE_PT_CHOWN.
14052 * config.make.in (build-pt-chown): New variable.
14053 * configure.in (--enable-pt_chown): New configure option.
14054 * configure: Regenerate.
14055 * login/Makefile: Include Makeconfig. Build pt_chown only if
14056 build-pt-chown is enabled.
14057 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14058 pt_chown to fix pty ownership.
14059 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14060 CLOSE_ALL_FDS.
14061 * manual/install.texi (Configuring and compiling): Mention
14062 --enable-pt_chown. Add @findex for grantpt.
14063 * INSTALL: Regenerate.
14064
da2d62df
DM
140652013-07-20 David S. Miller <davem@davemloft.net>
14066
14067 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14068 difference between 32-bit and 64-bit.
14069
d7e06450
CD
140702013-07-15 Carlos O'Donell <carlos@redhat.com>
14071
14072 [BZ #15711]
14073 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14074 Avoid system header dependency with -ffreestanding.
14075 ($(objpfx)bits/syscall%d): Likewise.
14076
f959cfd7
DM
140772013-07-13 David S. Miller <davem@davemloft.net>
14078
14079 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14080 underflows from atanl/atan2l due to bug 15319.
14081 (casinh_test_data): Likewise.
14082
c61f8513
DM
140832013-07-07 David S. Miller <davem@davemloft.net>
14084
14085 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14086
72c90ed0
JA
140872013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14088
14089 * sysdeps/i386/fpu/libm-test-ulps: Update.
14090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14091
52dfbe13
SP
140922013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14093
14094 * configure.in (--enable-lock-elision): Fix message text.
14095 * INSTALL: Regenerate.
14096 * configure: Regenerate.
14097
3f169543
AZ
140982013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14099
14100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14101
521c6785
AJ
141022013-07-03 Andreas Jaeger <aj@suse.de>
14103
14104 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14105 define.
14106 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14107 (ptrace_peeksiginfo_args): Add.
14108 (__ptrace_peeksiginfo_flags): Add.
14109 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14111 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14112
d2cc15cb
AM
141132013-07-03 Allan McRae <allan@archlinux.org>
14114
14115 * sysdeps/i386/fpu/libm-test-ulps: Update.
14116
3aaeeca7
DM
141172013-07-02 David S. Miller <davem@davemloft.net>
14118
14119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14120
5314ed1a
MT
141212013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14122
14123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14124
67338156
JM
141252013-07-02 Joseph Myers <joseph@codesourcery.com>
14126
14127 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14129
1717da59
AK
141302013-07-02 Andi Kleen <ak@linux.intel.com>
14131
14132 * config.h.in (ENABLE_LOCK_ELISION): Add.
14133 * configure.in (--enable-lock-elision): Add option.
14134 * manual/install.texi: Document --enable lock elision.
14135 * configure: Regenerate
14136 * INSTALL: Regenerate.
14137
1c81621c
L
141382013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14139
14140 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14141 SSE4.2 strcasecmp for libc.a.
14142 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14143
77f01ab5
JM
141442013-07-02 Joseph Myers <joseph@codesourcery.com>
14145
14146 [BZ #13304]
14147 * soft-fp/op-common.h (_FP_FMA): New macro.
14148 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14149 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14150 (_FP_MUL_MEAT_1_imm): ... here.
14151 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14152 (_FP_MUL_MEAT_1_wide): ... here.
14153 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14154 (_FP_MUL_MEAT_1_hard): ... here.
14155 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14156 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14157 (_FP_MUL_MEAT_2_wide): ... here.
14158 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14159 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14160 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14161 (_FP_MUL_MEAT_2_gmp): ... here.
14162 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14163 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14164 (_FP_MUL_MEAT_4_wide): ... here.
14165 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14166 (_FP_MUL_MEAT_4_gmp): ... here.
14167 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14168 (_FP_WFRACBITS_DW_S): Likewise.
14169 (_FP_WFRACXBITS_DW_S): Likewise.
14170 (_FP_HIGHBIT_DW_S): Likewise.
14171 (FP_FMA_S): Likewise.
14172 (_FP_FRAC_HIGH_DW_S): Likewise.
14173 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14174 (_FP_WFRACBITS_DW_D): Likewise.
14175 (_FP_WFRACXBITS_DW_D): Likewise.
14176 (_FP_HIGHBIT_DW_D): Likewise.
14177 (FP_FMA_D): Likewise.
14178 (_FP_FRAC_HIGH_DW_D): Likewise.
14179 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14180 (_FP_WFRACBITS_DW_E): Likewise.
14181 (_FP_WFRACXBITS_DW_E): Likewise.
14182 (_FP_HIGHBIT_DW_E): Likewise.
14183 (FP_FMA_E): Likewise.
14184 (_FP_FRAC_HIGH_DW_E): Likewise.
14185 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14186 (_FP_WFRACBITS_DW_Q): Likewise.
14187 (_FP_WFRACXBITS_DW_Q): Likewise.
14188 (_FP_HIGHBIT_DW_Q): Likewise.
14189 (FP_FMA_Q): Likewise.
14190 (_FP_FRAC_HIGH_DW_Q): Likewise.
14191 * soft-fp/fmasf4.c: New file.
14192 * soft-fp/fmadf4.c: Likewise.
14193 * soft-fp/fmatf4.c: Likewise.
14194
6308fd9a
LD
141952013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14196
14197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14198 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14199 Silvermont.
14200 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14201 macro.
14202 (index_Slow_SSE4_2): Likewise.
14203 (index_Prefer_PMINUB_for_stringop): Likewise.
14204 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14205 bit_Slow_SSE4_2 is set.
14206 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14207 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14208
89cd9569
RA
142092013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14210
14211 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14212 rtld_global._dl_hwcap2.
14213 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14214 POWER8.
14215 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14216 POWER8 feature descriptions defined in _dl_hwcap2.
14217 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14218 string handling for POWER8 feature bits.
14219 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14220 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14221 _dl_powerpc_cap_flags.
14222 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14223 * sysdeps/powerpc/rtld-global-offsets.sym
14224 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14225 _dl_hwcap2 in the rtld_global_ro structure.
14226
1ae8bfe0
RA
142272013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14228
14229 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14230 hardware capabilities in support of AT_HWCAP2.
14231 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14232 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14233 GLRO(dl_hwcap2).
14234 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14235 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14236 explicitly the unknown a_type display mechanism is used.
14237 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14238 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14239 struct member.
14240 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14241 to macro prototype for AT_HWCAP2 support.
14242 * sysdeps/i386/dl-procinfo.h: Likewise.
14243 * sysdeps/s390/dl-procinfo.h: Likewise.
14244 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14245 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14246 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14247 return -1 for unknown a_type display fallback.
14248 * sysdeps/sparc/dl-procinfo.h: Likewise.
14249 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14250 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14251
8fbec010
JM
142522013-06-28 Joseph Myers <joseph@codesourcery.com>
14253
14254 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14255 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14256
0432680e
PY
142572013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14258
14259 [BZ #12492]
14260 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14261 mprotect making __stack_prot writable.
14262
ce61a2ad
NF
142632013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14264 Joseph Myers <joseph@codesourcery.com>
14265
14266 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14267 as being properly aligned.
14268
f91f1c0f
MR
142692013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14270
3d0f5d0c
MR
14271 * dlfcn/modstatic5.c: New file.
14272 * dlfcn/tststatic5.c: New file.
14273 * dlfcn/Makefile (tests): Add tststatic5.
14274 (tests-static): Likewise.
14275 (modules-names): Add modstatic5.
14276 (tststatic5-ENV): New variable.
14277 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14278
f91f1c0f
MR
14279 [BZ #15022]
14280 * elf/dl-support.c (_dl_main_map): New variable.
14281 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14282 (_dl_nns, _dl_load_adds): Set to 1.
14283 (_dl_initial_searchlist): Refer to _dl_main_map.
14284 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14285 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14286 call to _dl_get_origin.
14287 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14288 around call_map.
14289 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14290 * dlfcn/modstatic3.c: New file.
14291 * dlfcn/tststatic3.c: New file.
14292 * dlfcn/tststatic4.c: New file.
14293 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14294 (tests-static): Likewise.
14295 (modules-names): Add modstatic3.
14296 (tststatic3-ENV, tststatic4-ENV): New variables.
14297 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14298 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14299
cbe7d24b
JM
143002013-06-26 Joseph Myers <joseph@codesourcery.com>
14301
14302 * configure.in (CC): Require GCC version 4.4 or later.
14303 * configure: Regenerated.
14304 * manual/install.texi (Tools for Compilation): Update GCC version
14305 requirement.
14306 * INSTALL: Regenerated.
14307
11b8a0e1
LD
143082013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14309
14310 [BZ #15674]
bb5bb87c
L
14311 * string/test-memcmp.c (check2): New.
14312 (main): Call check2.
14313
11b8a0e1
LD
14314 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14315
b0037103
MR
143162013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14317
14318 [BZ #15022]
14319 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14320 over to...
14321 (dl_open_worker) [!SHARED]: ... here.
14322
c18c701d
RA
143232013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14324
14325 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14326
1d17fa5f
RH
143272013-06-25 Richard Henderson <rth@redhat.com>
14328
14329 * locale/programs/locarchive.c: Include <libc-internal.h>
14330
8fcb833a
JM
143312013-06-25 Joseph Myers <joseph@codesourcery.com>
14332
14333 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14334 trailing whitespace removed.
14335
17db6e8d
MF
143362013-06-24 Mike Frysinger <vapier@gentoo.org>
14337
14338 [BZ #10283]
17db6e8d
MF
14339 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14340 * locale/programs/locarchive.c: Include libc-mmap.h.
14341 (prepare_address_space): Take two new outputs (the mmap base and len).
14342 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14343 values.
14344 (create_archive): Declare new mmap base and len values for
14345 prepare_address_space, and store the result in ah.
14346 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14347 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14348 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14349 Declare new mmap base and len values for
14350 prepare_address_space, and store the result in new_ah.
14351 (open_archive): Declare new mmap base and len values for
14352 prepare_address_space, and store the result in ah.
14353 (close_archive): If ah->mmap_base is not NULL, use that and
14354 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14355 * sysdeps/generic/libc-mmap.h: New file.
14356
d605071e
MF
143572013-06-24 Mike Frysinger <vapier@gentoo.org>
14358
14359 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14360 (ALIGN_UP): Likewise.
14361 (PTR_ALIGN_DOWN): Likewise.
14362 (PTR_ALIGN_UP): Likewise.
14363
2f063a6e
RA
143642013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14365
14366 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14367 entry mapped to PPC_PLATFORM_POWER8.
14368 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14369 POWER8.
14370 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14371 (_dl_string_platform): Add case for exporting platform position for
14372 POWER8.
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14374 search path to sysdeps/powerpc/powerpc32/power8 directory.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14376 search path to sysdeps/powerpc/powerpc64/power8 directory.
14377 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14378 power7 directories.
14379 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14380 power7 directories.
14381
a31ee4b3
SP
143822013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14383
a74ca98f
SP
14384 * INSTALL: Regenerate.
14385
a31ee4b3
SP
14386 * nscd/connections.c (nscd_init): Fix comment.
14387
695c378f
JM
143882013-06-22 Joseph Myers <joseph@codesourcery.com>
14389
d8412221
JM
14390 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14391
695c378f
JM
14392 [BZ #15667]
14393 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14394 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14395
d1d54715
MR
143962013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14397
14398 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14399 DL_DST_REQ_STATIC.
14400 (DL_DST_REQ_STATIC): Remove macro.
14401
8fdda7af
JM
144022013-06-21 Joseph Myers <joseph@codesourcery.com>
14403
14404 [BZ #7006]
14405 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14406 with a shift of 0 bits.
14407
f3bc5e5a
MR
144082013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14409
14410 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14411 $(tststatic-ENV).
14412
be09e8c9
KK
144132013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14414
14415 [BZ #15655]
14416 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14417
85c2e611
AZ
144182013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14419
14420 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14421 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14422 accepts -fno-tree-loop-distribute-patterns.
14423 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14424 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14425 recursive call.
14426 * string/memset.c (memset): Likewise.
14427 * string/test-memmove.c (simple_memmove): Disable loop transformation
14428 to library calls.
14429 * string/test-memset.c (simple_memset): Likewise.
14430 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14431 * benchtests/bench-memset.c (simple_memset): Likewise.
14432 * configure: Regenerated.
14433
c91e0825
JM
144342013-06-20 Joseph Myers <joseph@codesourcery.com>
14435
b8c792af
JM
14436 * math/test-misc.c (main): Ignore fesetround failure when failures
14437 of subsequent rounding tests would be ignored.
14438
c91e0825
JM
14439 [BZ #15654]
14440 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14441 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14442 * math/fegetenv.c (__fegetenv): Return 0.
14443 * math/fegetexcept.c (fegetexcept): Return 0.
14444 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14445 FE_TONEAREST.
14446 * math/feholdexcpt.c (feholdexcept): Return 0.
14447 * math/fesetenv.c (__fesetenv): Return 0.
14448 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14449 argument FE_TONEAREST.
14450 * math/feupdateenv.c (__feupdateenv): Return 0.
14451 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14452
bfcacbde
RM
144532013-06-18 Roland McGrath <roland@hack.frob.com>
14454
14455 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14456 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14457 ($(objpfx)rtld-%.os rules): Use them.
14458
e55a9b25
AZ
144592013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14460
14461 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14462 fields.
14463
346d65b3
RM
144642013-06-17 Roland McGrath <roland@hack.frob.com>
14465
12086fb4
RM
14466 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14467 length of target pattern, then descending length of dependency pattern.
14468 * configure.in (AWK): Require gawk 3.1.2 or newer.
14469 * manual/install.texi (Tools for Compilation): Say that we do.
14470 * configure: Regenerated.
14471
346d65b3
RM
14472 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14473 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14474 * scripts/sysd-rules.awk: ... this new script.
14475 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14476 than a glob-style pattern.
14477
1a846317
JM
144782013-06-17 Joseph Myers <joseph@codesourcery.com>
14479
14480 * math/test-misc.c (main): Do not treat incorrectly rounded
14481 conversions as failure unless ROUNDING_TESTS passes.
14482
8fc75e6f
JM
144832013-06-15 Joseph Myers <joseph@codesourcery.com>
14484
3711a167
JM
14485 [BZ #15631]
14486 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14487 restore exception state around main square root computation, then
14488 check for inexactness explicitly.
14489
8fc75e6f
JM
14490 * math/libm-test.inc (fma_test_data): Add another test.
14491
61dd6208
SP
144922013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14493
adf23d2c
SP
14494 * manual/threads.texi (Non-POSIX Extensions): New document
14495 node. Document pthread_getattr_default_np and
14496 pthread_setattr_default_np.
14497
61dd6208
SP
14498 * Versions.def (libpthread): Add GLIBC_2.18.
14499 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14501 Likewise.
14502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14503 Likewise.
14504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14505 Likewise.
14506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14507 Likewise.
14508 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14509 Likewise.
14510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14511 Likewise.
14512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14513 Likewise.
14514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14515 Likewise.
14516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14517 Likewise.
14518
d086fc7b
LD
145192013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14520
14521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14522 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14523
747ef469
SP
145242013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14525 H.J. Lu <hjl.tools@gmail.com>
14526
14527 [BZ #15627]
14528 * sysdeps/x86_64/rtld-memset.c: Remove file.
14529 * sysdeps/x86_64/rtld-memset.S: New file.
14530
1b2feed2
JM
145312013-06-14 Joseph Myers <joseph@codesourcery.com>
14532
14533 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14534 (test_in_one_mode): Take arguments for whether the rounding mode
14535 is supported for each floating-point type.
14536 (do_test): Pass new arguments to test_in_one_mode using
14537 ROUNDING_TESTS.
14538
a58ad3f8
RM
145392013-06-13 Roland McGrath <roland@hack.frob.com>
14540
14541 * posix/tst-waitid.c (do_test): Distinguish different instances of
14542 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14543 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14544 before entering the kernel for waitpid.
14545
c204ab28
SP
145462013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14547
14548 * NEWS: Fix note on clock function precision. Text by Roland
14549 McGrath.
14550
f4a29fba
RM
145512013-06-13 Roland McGrath <roland@hack.frob.com>
14552
14553 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14554 it into place only when and if the sanity check passes.
14555
1f24b9ad
JM
145562013-06-13 Joseph Myers <joseph@codesourcery.com>
14557
14558 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14559 output for whether conversion result is exact. Take argument
14560 indicating whether type is IBM long double.
14561 (round_for_all): Change need_exact field to ibm_ld.
14562 * stdlib/tst-strtod-round.c (struct exactness): New type.
14563 (struct test): Change bool ld_ok field to struct exactness exact.
14564 (TEST): Update all definitions for change to field.
14565 (tests): Regenerate array contents.
14566 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14567 field value. Check for IBM long double here.
14568 (do_test): Update calls to test_in_one_mode.
14569
58206c68
SP
145702013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14571
14572 [BZ #12515]
14573 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14574 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14575
2d6f4c5b 145762013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14577
14578 [BZ #15605]
14579 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14580 generated by the compiler on loop optimizations.
14581 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14582 general definitions.
14583
94f2c076
JM
145842013-06-12 Joseph Myers <joseph@codesourcery.com>
14585
14586 * math/bug-nextafter.c: Include <math-tests.h>.
14587 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14588 the relevant type.
14589 * math/bug-nexttoward.c: Include <math-tests.h>.
14590 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14591 the relevant type.
14592 * math/test-misc.c: Include <math-tests.h>.
14593 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14594 the relevant type.
14595
e0e50a0a
AJ
145962013-06-12 Andreas Jaeger <aj@suse.de>
14597
14598 * po/ia.po: Update Interlingua translation from translation
14599 project.
14600
25061094
SP
146012013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14602
14603 * include/fenv.h: Include stdbool.h.
14604 (struct rm_ctx): New structure.
14605 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14606 Define macro.
14607 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14608 (SET_RESTORE_ROUNDF): Likewise.
14609 (SET_RESTORE_ROUNDL): Likewise.
14610 (SET_RESTORE_ROUND_NOEX): Likewise.
14611 (SET_RESTORE_ROUND_NOEXF): Likewise.
14612 (SET_RESTORE_ROUND_NOEXL): Likewise.
14613 (SET_RESTORE_ROUND_53BIT): Likewise.
14614 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14615 (libc_feresetround_noexf_ctx): Likewise.
14616 (libc_feresetround_noexl_ctx): Likewise.
14617 (libc_feholdsetround_53bit_ctx): Likewise.
14618 (libc_feresetround_53bit_ctx): Likewise.
14619 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14620 (libc_feholdexcept_setround_sse_ctx): New function.
14621 (libc_fesetenv_sse_ctx): Likewise.
14622 (libc_feupdateenv_sse_ctx): Likewise.
14623 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14624 (libc_feholdexcept_setround_387_ctx): Likewise.
14625 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14626 (libc_feholdsetround_387_prec_ctx): Likewise.
14627 (libc_feholdsetround_387_ctx): Likewise.
14628 (libc_feholdsetround_387_53bit_ctx): Likewise.
14629 (libc_feholdsetround_sse_ctx): Likewise.
14630 (libc_feresetround_sse_ctx): Likewise.
14631 (libc_feresetround_387_ctx): Likewise.
14632 (libc_feupdateenv_387_ctx): Likewise.
14633 (libc_feholdexcept_setroundf_ctx): Define macro.
14634 (libc_fesetenvf_ctx): Likewise.
14635 (libc_feupdateenvf_ctx): Likewise.
14636 (libc_feholdsetroundf_ctx): Likewise.
14637 (libc_feresetroundf_ctx): Likewise.
14638 (libc_feholdexcept_setround_ctx): Likewise.
14639 (libc_fesetenv_ctx): Likewise.
14640 (libc_feupdateenv_ctx): Likewise.
14641 (libc_feholdsetround_ctx): Likewise.
14642 (libc_feresetround_ctx): Likewise.
14643 (libc_feholdexcept_setroundl_ctx): Likewise.
14644 (libc_feupdateenvl_ctx): Likewise.
14645 (libc_feholdsetroundl_ctx): Likewise.
14646 (libc_feresetroundl_ctx): Likewise.
14647 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14648 (libc_feresetround_53bit_ctx): Likewise.
14649
59b30555
SP
146502013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14651
14652 * locale/iso-639.def: Convert to UTF-8.
14653
f1d73d30
JM
146542013-06-11 Joseph Myers <joseph@codesourcery.com>
14655
14656 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14657 (EXCEPTION_TESTS_double): Likewise.
14658 (EXCEPTION_TESTS_long_double): Likewise.
14659 (EXCEPTION_TESTS): Likewise.
14660 * math/libm-test.inc (test_exceptions): Only test exceptions if
14661 EXCEPTION_TESTS (FLOAT).
14662
94aca5e7
SP
146632013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14664
14665 * benchtests/Makefile (string-bench): Add strcpy_chk and
14666 stpcpy_chk.
14667 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14668 * benchtests/bench-stpcpy_chk.c: New file.
14669 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14670 * benchtests/bench-strcpy_chk.c: New file.
14671 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14672 code.
14673 (do_test): Likewise.
14674
fac0c5f2
RA
146752013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14676
14677 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14678 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14679 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14680 with tabs where appropriate.
14681 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14682 dl-procinfo.h.
14683 [PPC_PLATFORM_PPC440]: Likewise.
14684 [PPC_PLATFORM_PPC464]: Likewise.
14685 [PPC_PLATFORM_PPC476]: Likewise.
14686 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14687 ppc464, and ppc476 platform strings merging from ports/
14688 dl-procinfo.h.
14689
f22bc486
AS
146902013-06-11 Andreas Schwab <schwab@suse.de>
14691
14692 [BZ #14991]
14693 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14694 (from_ucs4_idx): Regenerate.
14695 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14696 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14697 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14698 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14699 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14700 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14701 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14702 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14703 from FROM_LOOP and TO_LOOP specific macros.
14704 (BODY): Handle combining characters.
14705 * iconvdata/BIG5HKSCS.irreversible: Update.
14706 * iconvdata/BIG5HKSCS.precomposed: New file.
14707 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14708 characters.
14709 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14710
c1f75dc3
SP
147112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14712
4eacded2
SP
14713 * include/sys/time.h: Fix indentation and add copyright header.
14714
fec799f8
SP
14715 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14716 (do_test): Likewise.
14717 * string/test-memchr.c (do_one_test): Likewise.
14718 (do_test): Likewise.
14719 * string/test-memcmp.c (do_one_test): Likewise.
14720 (do_test): Likewise.
14721 * string/test-memcpy.c (do_one_test): Likewise.
14722 (do_test): Likewise.
14723 * string/test-memmem.c (do_one_test): Likewise.
14724 (do_test): Likewise.
14725 (do_random_tests): Likewise.
14726 * string/test-memmove.c (do_one_test): Likewise.
14727 (do_test): Likewise.
14728 * string/test-memset.c (do_one_test): Likewise.
14729 (do_test): Likewise.
14730 * string/test-rawmemchr.c (do_one_test): Likewise.
14731 (do_test): Likewise.
14732 * string/test-strcasecmp.c (do_one_test): Likewise.
14733 (do_test): Likewise.
14734 * string/test-strcasestr.c (do_one_test): Likewise.
14735 (do_test): Likewise.
14736 * string/test-strcat.c (do_one_test): Likewise.
14737 (do_test): Likewise.
14738 * string/test-strchr.c (do_one_test): Likewise.
14739 (do_test): Likewise.
14740 * string/test-strcmp.c (do_one_test): Likewise.
14741 (do_test): Likewise.
14742 * string/test-strcpy.c (do_one_test): Likewise.
14743 (do_test): Likewise.
14744 * string/test-string.h: Likewise.
14745 (test_init): Likewise.
14746 * string/test-strlen.c (do_one_test): Likewise.
14747 (do_test): Likewise.
14748 * string/test-strncasecmp.c (do_one_test): Likewise.
14749 (do_test): Likewise.
14750 * string/test-strncat.c (do_one_test): Likewise.
14751 (do_test): Likewise.
14752 * string/test-strncmp.c (do_one_test): Likewise.
14753 (do_test_limit): Likewise.
14754 (do_test): Likewise.
14755 * string/test-strncpy.c (do_one_test): Likewise.
14756 (do_test): Likewise.
14757 * string/test-strnlen.c (do_one_test): Likewise.
14758 (do_test): Likewise.
14759 * string/test-strpbrk.c (do_one_test): Likewise.
14760 (do_test): Likewise.
14761 * string/test-strrchr.c (do_one_test): Likewise.
14762 (do_test): Likewise.
14763 * string/test-strspn.c (do_one_test): Likewise.
14764 (do_test): Likewise.
14765 * string/test-strstr.c (do_one_test): Likewise.
14766 (do_test): Likewise.
14767
97020474
SP
14768 * benchtests/Makefile (string-bench): Add string benchmarks.
14769 * benchtests/bench-bcopy-ifunc.c: New file.
14770 * benchtests/bench-bcopy.c: New file.
14771 * benchtests/bench-bzero-ifunc.c: New file.
14772 * benchtests/bench-bzero.c: New file.
14773 * benchtests/bench-memccpy-ifunc.c: New file.
14774 * benchtests/bench-memccpy.c: New file.
14775 * benchtests/bench-memchr-ifunc.c: New file.
14776 * benchtests/bench-memchr.c: New file.
14777 * benchtests/bench-memcmp-ifunc.c: New file.
14778 * benchtests/bench-memcmp.c: New file.
14779 * benchtests/bench-memmem-ifunc.c: New file.
14780 * benchtests/bench-memmem.c: New file.
14781 * benchtests/bench-memmove-ifunc.c: New file.
14782 * benchtests/bench-memmove.c: New file.
14783 * benchtests/bench-mempcpy-ifunc.c: New file.
14784 * benchtests/bench-mempcpy.c: New file.
14785 * benchtests/bench-memset-ifunc.c: New file.
14786 * benchtests/bench-memset.c: New file.
14787 * benchtests/bench-rawmemchr-ifunc.c: New file.
14788 * benchtests/bench-rawmemchr.c: New file.
14789 * benchtests/bench-stpcpy-ifunc.c: New file.
14790 * benchtests/bench-stpcpy.c: New file.
14791 * benchtests/bench-stpncpy-ifunc.c: New file.
14792 * benchtests/bench-stpncpy.c: New file.
14793 * benchtests/bench-strcasecmp-ifunc.c: New file.
14794 * benchtests/bench-strcasecmp.c: New file.
14795 * benchtests/bench-strcasestr-ifunc.c: New file.
14796 * benchtests/bench-strcasestr.c: New file.
14797 * benchtests/bench-strcat-ifunc.c: New file.
14798 * benchtests/bench-strcat.c: New file.
14799 * benchtests/bench-strchr-ifunc.c: New file.
14800 * benchtests/bench-strchr.c: New file.
14801 * benchtests/bench-strchrnul-ifunc.c: New file.
14802 * benchtests/bench-strchrnul.c: New file.
14803 * benchtests/bench-strcmp-ifunc.c: New file.
14804 * benchtests/bench-strcmp.c: New file.
14805 * benchtests/bench-strcpy-ifunc.c: New file.
14806 * benchtests/bench-strcpy.c: New file.
14807 * benchtests/bench-strcspn-ifunc.c: New file.
14808 * benchtests/bench-strcspn.c: New file.
14809 * benchtests/bench-strlen-ifunc.c: New file.
14810 * benchtests/bench-strlen.c: New file.
14811 * benchtests/bench-strncasecmp-ifunc.c: New file.
14812 * benchtests/bench-strncasecmp.c: New file.
14813 * benchtests/bench-strncat-ifunc.c: New file.
14814 * benchtests/bench-strncat.c: New file.
14815 * benchtests/bench-strncmp-ifunc.c: New file.
14816 * benchtests/bench-strncmp.c: New file.
14817 * benchtests/bench-strncpy-ifunc.c: New file.
14818 * benchtests/bench-strncpy.c: New file.
14819 * benchtests/bench-strnlen-ifunc.c: New file.
14820 * benchtests/bench-strnlen.c: New file.
14821 * benchtests/bench-strpbrk-ifunc.c: New file.
14822 * benchtests/bench-strpbrk.c: New file.
14823 * benchtests/bench-strrchr-ifunc.c: New file.
14824 * benchtests/bench-strrchr.c: New file.
14825 * benchtests/bench-strspn-ifunc.c: New file.
14826 * benchtests/bench-strspn.c: New file.
14827 * benchtests/bench-strstr-ifunc.c: New file.
14828 * benchtests/bench-strstr.c: New file.
14829
c1f75dc3
SP
14830 * benchtests/Makefile: Disable parallel execution of targets.
14831 (string-bench): Add memcpy.
14832 (benchset): New variable to store a list of benchmark sets.
14833 (bench-func): Renamed from bench.
14834 (bench-set): New target.
14835 (bench): Depend on bench-func and bench-set.
14836 * benchtests/README: Add section on benchmark sets.
14837 * benchtests/bench-memcpy-ifunc.c: New file.
14838 * benchtests/bench-memcpy.c: New file.
14839 * benchtests/bench-string.h: New file.
14840
50fd745b
AS
148412013-06-11 Andreas Schwab <schwab@suse.de>
14842
14843 [BZ #15577]
14844 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14845 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14846 values in the triple.
14847 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14848 terminator in the group key.
14849
3ee7e9fe
AJ
148502013-06-11 Andreas Jaeger <aj@suse.de>
14851
14852 * po/zh_TW.po: Update Chinese (traditional) translation from
14853 translation project.
14854
89fb6835
SP
148552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14856
14857 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14858 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14859 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14860 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14861 (clock_getcpuclockid): Likewise.
14862 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14863 Add weak_alias and libc_hidden_def.
14864 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14865 * rt/clock_gettime.c (clock_gettime): Rename to
14866 __clock_gettime. Add weak_alias and libc_hidden_def.
14867 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14868 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14869 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14870 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14871 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14872 Likewise.
14873 * rt/clock_settime.c (clock_settime): Rename to
14874 __clock_settime. Add weak_alias and libc_hidden_def.
14875 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14876
0efa6f8b
JM
148772013-06-10 Joseph Myers <joseph@codesourcery.com>
14878
b8c61b4b
JM
14879 * mach/err_boot.sub: Remove trailing whitespace.
14880 * mach/err_ipc.sub: Likewise.
14881 * mach/err_mach.sub: Likewise.
14882
0efa6f8b
JM
14883 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14884 (ROUNDING_TESTS_double): Likewise.
14885 (ROUNDING_TESTS_long_double): Likewise.
14886 (ROUNDING_TESTS): Likewise.
14887 * math/libm-test.inc: Include <math-tests.h>.
14888 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14889 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14890 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14891 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14892
50b818bf
SP
148932013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14894
14895 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14896 of assigning.
14897
60d2f8f3
JM
148982013-06-08 Joseph Myers <joseph@codesourcery.com>
14899
4902d2c3
JM
14900 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14901 otherwise empty TRANS lines.
14902 * sysdeps/gnu/errlist.c: Regenerated.
14903
60d2f8f3
JM
14904 * catgets/gencat.c (error_print): Use (void) in function
14905 definition.
14906 * crypt/crypt_util.c (__init_des): Likewise.
14907 * crypt/speeds.c (Stop): Likewise.
14908 (main): Likewise.
14909 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14910 * inet/ruserpass.c (token): Likewise.
14911 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14912 * intl/localealias.c (extend_alias_table): Likewise.
14913 * intl/plural-exp.c (init_germanic_plural): Likewise.
14914 * libio/fcloseall.c (__fcloseall): Likewise.
14915 * libio/genops.c (_IO_flush_all): Likewise.
14916 (_IO_flush_all_linebuffered): Likewise.
14917 (_IO_cleanup): Likewise.
14918 (_IO_iter_begin): Likewise.
14919 (_IO_iter_end): Likewise.
14920 (_IO_list_lock): Likewise.
14921 (_IO_list_unlock): Likewise.
14922 (_IO_list_resetlock): Likewise.
14923 * libio/getchar.c (getchar): Likewise.
14924 * libio/getchar_u.c (getchar_unlocked): Likewise.
14925 * libio/getwchar.c (getwchar): Likewise.
14926 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14927 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14928 * login/getpt.c (__getpt): Likewise.
14929 * login/tst-utmp.c (main): Likewise.
14930 * malloc/hooks.c (__malloc_check_init): Likewise.
14931 * malloc/malloc.c (__malloc_stats): Likewise.
14932 * malloc/mtrace.c (tr_break): Likewise.
14933 (mtrace): Likewise.
14934 (muntrace): Likewise.
14935 * misc/fstab.c (endfsent): Likewise.
14936 * misc/getclktck.c (__getclktck): Likewise.
14937 * misc/getdtsz.c (__getdtablesize): Likewise.
14938 * misc/gethostid.c (gethostid): Likewise.
14939 * misc/getpagesize.c (__getpagesize): Likewise.
14940 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14941 (__get_nprocs): Likewise.
14942 (__get_phys_pages): Likewise.
14943 (__get_avphys_pages): Likewise.
14944 * misc/getttyent.c (getttyent): Likewise.
14945 (setttyent): Likewise.
14946 (endttyent): Likewise.
14947 * misc/getusershell.c (getusershell): Likewise.
14948 (endusershell): Likewise.
14949 (setusershell): Likewise.
14950 (initshells): Likewise.
14951 * misc/hsearch.c (__hdestroy): Likewise.
14952 * misc/sync.c (sync): Likewise.
14953 * misc/syslog.c (closelog_internal): Likewise.
14954 (closelog): Likewise.
14955 * misc/ttyslot.c (ttyslot): Likewise.
14956 * misc/vhangup.c (vhangup): Likewise.
14957 * posix/fork.c (__fork): Likewise.
14958 * posix/getegid.c (__getegid): Likewise.
14959 * posix/geteuid.c (__geteuid): Likewise.
14960 * posix/getgid.c (__getgid): Likewise.
14961 * posix/getpid.c (__getpid): Likewise.
14962 * posix/getppid.c (__getppid): Likewise.
14963 * posix/getuid.c (__getuid): Likewise.
14964 * posix/pause.c (pause): Likewise.
14965 * posix/setpgrp.c (setpgrp): Likewise.
14966 * posix/setsid.c (__setsid): Likewise.
14967 * posix/test-vfork.c (noop): Likewise.
14968 * resolv/gethnamaddr.c (_endhtent): Likewise.
14969 (_gethtent): Likewise.
14970 (ht_endhostent): Likewise.
14971 (gethostent): Likewise.
14972 (dns_service): Likewise.
14973 * stdlib/drand48.c (drand48): Likewise.
14974 * stdlib/lrand48.c (lrand48): Likewise.
14975 * stdlib/mrand48.c (mrand48): Likewise.
14976 * stdlib/rand.c (rand): Likewise.
14977 * stdlib/random.c (__random): Likewise.
14978 * stdlib/setenv.c (clearenv): Likewise.
14979 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14980 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14981 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14982 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14983 (__get_nprocs): Likewise.
14984 (__get_phys_pages): Likewise.
14985 (__get_avphys_pages): Likewise.
14986 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14987 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14988 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14989 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14990 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14991 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14992 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14993 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14994 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14995 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14996 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14997 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14998 * sysdeps/posix/clock.c (clock): Likewise.
14999 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15000 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15001 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15002 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15003 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15004 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15005 (__get_nprocs_conf): Likewise.
15006 (__get_phys_pages): Likewise.
15007 (__get_avphys_pages): Likewise.
15008 * time/clock.c (clock): Likewise.
15009 * time/tzset.c (__tzname_max): Likewise.
15010
2e09a79a
JM
150112013-06-07 Joseph Myers <joseph@codesourcery.com>
15012
15013 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15014 (__bswap_32): Do not use "register".
15015 * crypt/crypt.c (_ufc_doit_r): Likewise.
15016 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15017 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15018 * gmon/gmon.c (__monstartup): Likewise.
15019 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15020 * hurd/hurdmalloc.c (more_memory): Likewise.
15021 (malloc): Likewise.
15022 (free): Likewise.
15023 (realloc): Likewise.
15024 (malloc_fork_prepare): Likewise.
15025 (malloc_fork_parent): Likewise.
15026 (malloc_fork_child): Likewise.
15027 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15028 (_svcauth_des): Likewise.
15029 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15030 * inet/inet_net.c (inet_network): Likewise.
15031 * inet/inet_netof.c (inet_netof): Likewise.
15032 * inet/rcmd.c (__validuser2_sa): Likewise.
15033 * io/fts.c (fts_open): Likewise.
15034 (fts_load): Likewise.
15035 (fts_close): Likewise.
15036 (fts_read): Likewise.
15037 (fts_children): Likewise.
15038 (fts_build): Likewise.
15039 (fts_stat): Likewise.
15040 (fts_sort): Likewise.
15041 (fts_alloc): Likewise.
15042 (fts_lfree): Likewise.
15043 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15044 (_IO_file_xsgetn): Likewise.
15045 (_IO_file_xsgetn_mmap): Likewise.
15046 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15047 (_IO_cookie_write): Likewise.
15048 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15049 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15050 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15051 * malloc/obstack.c (_obstack_begin): Likewise.
15052 (_obstack_begin_1): Likewise.
15053 (_obstack_newchunk): Likewise.
15054 (_obstack_allocated_p): Likewise.
15055 (obstack_free): Likewise.
15056 (_obstack_memory_used): Likewise.
15057 * misc/getttyent.c (getttynam): Likewise.
15058 (getttyent): Likewise.
15059 (skip): Likewise.
15060 (value): Likewise.
15061 * misc/getusershell.c (initshells): Likewise.
15062 * misc/syslog.c (__vsyslog_chk): Likewise.
15063 * misc/ttyslot.c (ttyslot): Likewise.
15064 * nis/nis_hash.c (__nis_hash): Likewise.
15065 * posix/fnmatch_loop.c (FCT): Likewise.
15066 * posix/getconf.c (print_all): Likewise.
15067 (main): Likewise.
15068 * posix/getopt.c (exchange): Likewise.
15069 * posix/glob.c (globfree): Likewise.
15070 (prefix_array): Likewise.
15071 (__glob_pattern_type): Likewise.
15072 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15073 (NS_GET32): Likewise.
15074 (NS_PUT16): Likewise.
15075 (NS_PUT32): Likewise.
15076 * resolv/gethnamaddr.c (getanswer): Likewise.
15077 (gethostbyname2): Likewise.
15078 (gethostbyaddr): Likewise.
15079 (_gethtent): Likewise.
15080 (_gethtbyname2): Likewise.
15081 (_gethtbyaddr): Likewise.
15082 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15083 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15084 * resolv/res_init.c (__res_vinit): Likewise.
15085 (net_mask): Likewise.
15086 * resolv/res_mkquery.c (outchar): Likewise.
15087 (PRINT): Likewise.
15088 * stdio-common/printf_fp.c (outchar): Likewise.
15089 (PRINT): Likewise.
15090 * stdio-common/printf_fphex.c (outchar): Likewise.
15091 (PRINT): Likewise.
15092 * stdio-common/printf_size.c (outchar): Likewise.
15093 (PRINT): Likewise.
15094 * stdio-common/test_rdwr.c (main): Likewise.
15095 * stdio-common/tfformat.c (matches): Likewise.
15096 * stdio-common/vfprintf.c (outchar): Likewise.
15097 (printf_unknown): Likewise.
15098 (buffered_vfprintf): Likewise.
15099 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15100 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15101 (ReadFile): Likewise.
15102 * stdlib/qsort.c (SWAP): Likewise.
15103 (_quicksort): Likewise.
15104 * stdlib/setenv.c (__add_to_environ): Likewise.
15105 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15106 * stdlib/strtol_l.c (__strtol_l): Likewise.
15107 * stdlib/tst-strtod.c (main): Likewise.
15108 * stdlib/tst-strtol.c (main): Likewise.
15109 * stdlib/tst-strtoll.c (main): Likewise.
15110 * string/bits/string2.h (__strcmp_cc): Likewise.
15111 (__strcmp_cg): Likewise.
15112 (__strcspn_c1): Likewise.
15113 (__strcspn_c2): Likewise.
15114 (__strcspn_c3): Likewise.
15115 (__strspn_c1): Likewise.
15116 (__strspn_c2): Likewise.
15117 (__strspn_c3): Likewise.
15118 (__strsep_1c): Likewise.
15119 (__strsep_2c): Likewise.
15120 (__strsep_3c): Likewise.
15121 * string/memccpy.c (__memccpy): Likewise.
15122 * string/stpcpy.c (__stpcpy): Likewise.
15123 * string/strcmp.c (strcmp): Likewise.
15124 * string/strrchr.c (strrchr): Likewise.
15125 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15126 Likewise.
15127 * sysdeps/mach/hurd/getcwd.c
15128 (_hurd_canonicalize_directory_name_internal): Likewise.
15129 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15130 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15131 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15132 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15133 Likewise, in both definitions.
15134 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15135 definitions.
15136 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15137 64] (__bswap_64): Likewise.
15138 * time/test_time.c (main): Likewise.
15139 * time/tzfile.c (__tzfile_read): Likewise.
15140 (__tzfile_compute): Likewise.
15141 * time/tzset.c (__tzset_parse_tz): Likewise.
15142 (tzset_internal): Likewise.
15143 (compute_change): Likewise.
15144 * wcsmbs/wcscat.c (__wcscat): Likewise.
15145 * wcsmbs/wcschr.c (wcschr): Likewise.
15146 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15147 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15148 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15149 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15150 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15151 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15152 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15153 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15154 * wcsmbs/wmemset.c (wmemset): Likewise.
15155
9e54314b
JM
151562013-06-06 Joseph Myers <joseph@codesourcery.com>
15157
15158 * scripts/config.guess: Update to version 2013-05-16.
15159 * scripts/config.sub: Update to version 2013-04-24.
15160 * scripts/install-sh: Update to version 2011-11-20.07.
15161 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15162 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15163
350635a5
OB
151642013-06-06 Ondřej Bílka <neleai@seznam.cz>
15165
15166 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15167 * elf/sln.c: Likewise.
15168 * hurd/hurd/ioctl.h: Likewise.
15169 * hurd/hurdmalloc.c: Likewise.
15170 * hurd/xattr.c: Likewise.
15171 * include/shlib-compat.h: Likewise.
15172 * inet/ruserpass.c: Likewise.
15173 * libio/iofgets_u.c: Likewise.
15174 * libio/iofgetws_u.c: Likewise.
15175 * locale/programs/ld-identification.c: Likewise.
15176 * locale/programs/ld-time.c: Likewise.
15177 * mach/msg-destroy.c: Likewise.
15178 * nss/nss_files/files-netgrp.c: Likewise.
15179 * resolv/res_data.c: Likewise.
15180 * soft-fp/op-1.h: Likewise.
15181 * soft-fp/op-2.h: Likewise.
15182 * soft-fp/op-4.h: Likewise.
15183 * soft-fp/op-common.h: Likewise.
15184 * stdio-common/printf_fphex.c: Likewise.
15185 * stdlib/strtod_l.c: Likewise.
15186 * sunrpc/rpc/clnt.h: Likewise.
15187 * sysdeps/generic/framestate.c: Likewise.
15188 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15189 * sysdeps/i386/bsd-setjmp.S: Likewise.
15190 * sysdeps/i386/__longjmp.S: Likewise.
15191 * sysdeps/i386/setjmp.S: Likewise.
15192 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15193 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15194 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15195 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15197 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15198 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15201 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15202 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15203 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15204 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15205 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15206 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15207 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15208 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15209 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15210 * sysdeps/ieee754/support.c: Likewise.
15211 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15212 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15213 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15214 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15215 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15216 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15217 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15218 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15219 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15220 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15221 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15222 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15223 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15224 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15225 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15226 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15227 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15229
44a988af
OB
152302013-06-05 Ondřej Bílka <neleai@seznam.cz>
15231
25506f09 15232 * posix/transbug.c: Remove executable mode.
44a988af 15233
9c84384c
JM
152342013-06-05 Joseph Myers <joseph@codesourcery.com>
15235
15236 * crypt/speeds.c: Remove trailing whitespace.
15237 * dlfcn/default.c: Likewise.
15238 * elf/ifuncdep2.c: Likewise.
15239 * elf/ifuncmain1.c: Likewise.
15240 * elf/ifuncmain1vis.c: Likewise.
15241 * elf/testobj.h: Likewise.
15242 * elf/tst-stackguard1.c: Likewise.
15243 * gmon/sys/gmon.h: Likewise.
15244 * hurd/hurdmsg.c: Likewise.
15245 * hurd/new-fd.c: Likewise.
15246 * hurd/ports-get.c: Likewise.
15247 * iconvdata/ibm1008_420.c: Likewise.
15248 * inet/tst-getni1.c: Likewise.
15249 * inet/tst-getni2.c: Likewise.
15250 * libio/ioungetc.c: Likewise.
15251 * libio/wfiledoalloc.c: Likewise.
15252 * manual/libm-err-tab.pl: Likewise.
15253 * math/w_dremf.c: Likewise.
15254 * misc/ftruncate.c: Likewise.
15255 * posix/bug-glob2.c: Likewise.
15256 * posix/tst-pcre.c: Likewise.
15257 * posix/wait4.c: Likewise.
15258 * resolv/README: Likewise.
15259 * resolv/res_debug.h: Likewise.
15260 * resolv/tst-inet_ntop.c: Likewise.
15261 * setjmp/bug269-setjmp.c: Likewise.
15262 * soft-fp/extended.h: Likewise.
15263 * soft-fp/op-1.h: Likewise.
15264 * soft-fp/op-2.h: Likewise.
15265 * soft-fp/op-4.h: Likewise.
15266 * soft-fp/op-8.h: Likewise.
15267 * soft-fp/testit.c: Likewise.
15268 * stdio-common/bug16.c: Likewise.
15269 * stdlib/random.c: Likewise.
15270 * sunrpc/rpcsvc/rquota.x: Likewise.
15271 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15272 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15273 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15274 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15275 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15276 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15277 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15278 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15279 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15280 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15281 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15282 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15283 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15284 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15285 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15286 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15287 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15288 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15289 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15290 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15291 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15292 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15293 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15294 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15295 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15296 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15297 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15298 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15299 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15300 * sysdeps/ieee754/s_lib_version.c: Likewise.
15301 * sysdeps/mach/hurd/check_fds.c: Likewise.
15302 * sysdeps/mach/hurd/getsockname.c: Likewise.
15303 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15304 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15305 * sysdeps/powerpc/bits/link.h: Likewise.
15306 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15307 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15308 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15309 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15310 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15311 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15312 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15313 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15314 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15315 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15316 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15317 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15318 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15319 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15320 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15321 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15322 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15323 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15324 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15325 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15326 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15327 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15328 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15329 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15330 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15331 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15332 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15333 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15334 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15335 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15336 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15337 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15338 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15339 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15340 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15341 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15342 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15343 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15344 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15345 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15346 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15347 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15348 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15349 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15350 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15351 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15352 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15353 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15354 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15355 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15356 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15357 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15358 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15359 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15360 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15361 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15362 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15363 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15364 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15365 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15366 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15367 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15368 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15369 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15370 * sysdeps/powerpc/sysdep.h: Likewise.
15371 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15372 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15373 * sysdeps/sh/dl-trampoline.S: Likewise.
15374 * sysdeps/sh/memset.S: Likewise.
15375 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15376 * sysdeps/sh/strlen.S: Likewise.
15377 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15378 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15379 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15380 * sysdeps/sparc/sparc32/rem.S: Likewise.
15381 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15382 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15383 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15384 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15385 * sysdeps/sparc/sparc32/urem.S: Likewise.
15386 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15387 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15388 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15389 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15390 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15391 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15392 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15393 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15394 * sysdeps/unix/bsd/times.c: Likewise.
15395 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15396 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15400 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15401 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15402 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15403 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15404 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15405 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15406 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15407 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15408 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15409 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15410 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15411 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15412 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15413 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15414 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15415 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15416 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15417 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15418 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15419 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15420 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15421 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15422 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15423 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15424 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15425 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15426 * sysdeps/x86_64/strcspn.S: Likewise.
15427
869378a5
RA
154282013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15429
15430 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15431 generated file. Regenerate properly from gen-translit.pl.
15432 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15433 locale/C-translit.h.
15434
840e2943
AS
154352013-06-05 Andreas Schwab <schwab@suse.de>
15436
15437 [BZ #15100]
15438 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15439 week as 6 instead of -1.
15440 * time/tst-strptime.c (day_tests): Add test case.
15441
4c60cb0c
SP
154422013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15443
15444 * sysdeps/generic/math_private.h
15445 (libc_feholdexcept_setround_53bit): Replace with
15446 libc_feholdsetround_53bit.
15447 (libc_feupdateenv_53bit): Replace with
15448 libc_feresetround_53bit.
15449 (SET_RESTORE_ROUND_53BIT): Adjust.
15450
d180203e
SP
154512013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15452
96df079a
SP
15453 * string/test-strchrnul.c: Add copyright header.
15454
d180203e
SP
15455 * posix/tst-getaddrinfo4.c: Increase test timeout.
15456
8b0ccb2d
CD
154572013-06-03 Carlos O'Donell <carlos@redhat.com>
15458
15459 [BZ #15536]
15460 * math/libm-test.inc (MAX_EXP): Remove
15461 (MIN_EXP): Define.
15462 (ulp): Use MIN_EXP - MANT_DIG.
15463 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15464
3b3c4d40
CD
154652013-05-31 Carlos O'Donell <carlos@redhat.com>
15466
15467 * po/be.po: Revert last change.
15468 * po/zh_CN.po: Likewise.
15469 * po/header.pot: Likewise.
15470
fab7ce3f
JM
154712013-05-31 Joseph Myers <joseph@codesourcery.com>
15472
15473 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15474 link-libc-deps to empty as target-specific variable.
15475 * Makerules (link-libc-args): New variable.
15476 (libc-for-link): Likewise.
15477 (link-libc-deps): Likewise.
15478 (lib%.so): Depend on $(link-libc-deps). Link with
15479 $(link-libc-args).
15480 (build-module): Link with $(link-libc-args).
15481 (build-module-asneeded): Likewise.
15482 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15483 list of objects.
15484 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15485 target-specific variable.
15486 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15487 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15488 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15489 libc.
15490 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15491 libc and ld.so.
15492 ($(objpfx)libpcprofile.so): Likewise.
15493 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15494 libc_nonshared.a.
15495 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15496 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15497 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15498 $(link-libc-deps).
15499 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15500 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15501 * login/Makefile ($(objpfx)libutil.so): Likewise.
15502 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15503 * math/Makefile ($(objpfx)libm.so): Likewise.
15504 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15505 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15506 variable instead of depending directly on libc.
15507 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15508 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15509 $(link-libc-deps).
15510 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15511 libc.
15512 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15513 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15514 ($(objpfx)libanl.so): Likewise.
15515 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15516 ld.so.
15517 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15518 $(link-libc-deps).
15519 * sysdeps/i386/fpu/Makefile: Remove file.
15520 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15521 ($(objpfx)libm.so): Remove dependency on ld.so.
15522
eca5920c
PF
155232013-05-30 Patsy Franklin <pfrankli@redhat.com>
15524
15525 [BZ # 15553]
15526 * nis/yp_xdr.c (XDRMAXNAME): Define.
15527 (XDRMAXRECORD): Define.
15528 (xdr_domainname): Use XDRMAXNAME.
15529 (xdr_mapname): Likewise.
15530 (xdr_peername): Likewise.
15531 (xdr_keydat): Use XDRMAXRECORD.
15532 (xdr_valdat): Likewise.
15533
155342013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15535
15536 [BZ #14256]
15537 * manual/errno.texi (ESTALE): Update to account for more than
15538 just NFS file systems.
15539 * sysdeps/gnu/errlist.c: Regenerated.
15540
b9375348
SP
155412013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15542
15543 [BZ #15465]
15544 * elf/Makefile (tests): Add tst-null-argv.
15545 (modules-names): Add tst-null-argv-lib.
15546 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15547 (tst-null-argv-ENV): Set environment for tst-null-argv.
15548 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15549 (RTLD_PROGNAME): New macro.
15550 * elf/tst-null-argv.c: New test case.
15551 * elf/tst-null-argv-lib.c: Library for test case.
15552 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15553 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15554 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15555 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15556 * elf/dl-init.c (call_init): Likewise.
15557 (_dl_init): Likewise.
15558 * elf/dl-load.c (print_search_path): Likewise.
15559 (_dl_map_object): Likewise.
15560 * elf/dl-lookup.c (do_lookup_x): Likewise.
15561 (add_dependency): Likewise.
15562 (_dl_lookup_symbol_x): Likewise.
15563 (_dl_debug_bindings): Likewise.
15564 * elf/dl-open.c (_dl_show_scope): Likewise.
15565 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15566 * elf/dl-version.c (match_symbol): Likewise.
15567 (_dl_check_map_versions): Likewise.
15568 * elf/rtld.c (dl_main): Likewise.
15569 (print_unresolved): Use RTLD_PROGNAME.
15570 (print_missing_version): Likewise.
15571 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15572 (elf_machine_rela): Likewise.
15573 * sysdeps/powerpc/powerpc32/dl-machine.c
15574 (__process_machine_rela): Likewise.
15575 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15576 Likewise.
15577 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15578 Likewise.
15579 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15580 Likewise.
15581 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15582 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15583 Likewise.
15584 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15585 Likewise.
15586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15587
8a9f20c8
CD
155882013-05-28 Carlos O'Donell <carlos@redhat.com>
15589
15590 * po/be.po: Add descriptive title.
15591 * po/zh_CN.po: Likewise.
15592 * po/header.pot: Likewise.
15593
0e60d68e
MF
155942013-05-28 Mike Frysinger <vapier@gentoo.org>
15595
15596 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15597 error message.
15598 (enlarge_archive): Likewise.
15599
56b672e9
BN
156002013-05-28 Ben North <ben@redfrontdoor.org>
15601
15602 * manual/arith.texi (frexp): It is the magnitude of the return
15603 value which lies in [0.5, 1), not the return value itself.
15604
5e056687
AZ
156052013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15606
15607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15608
2b66ef5d
TS
156092013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15610
528c2405
TS
15611 * stdio-common/bug26.c (main): Correct fscanf template.
15612
07b4c13d
TS
15613 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15614 declare _dl_skip_args.
15615
ec9dd97c
TS
15616 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15617 Don't declare.
15618
2b66ef5d
TS
15619 * manual/platform.texi: Add missing @end deftypefun.
15620
4f8dfe27
JM
156212013-05-24 Joseph Myers <joseph@codesourcery.com>
15622
0323d086
JM
15623 [BZ #15529]
15624 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15625 bit of mantissa of 2^16382.
15626 * math/libm-test.inc (hypot_test_data): Add more tests.
15627
dd4259b9
JM
15628 * math/libm-test.inc: Add drem and pow10 to list of tested
15629 functions.
15630 (pow10_test): New function.
15631 (drem_test): Likewise.
15632 (drem_test_tonearest): Likewise.
15633 (drem_test_towardzero): Likewise.
15634 (drem_test_downward): Likewise.
15635 (drem_test_upward): Likewise.
15636 (main): Call the new functions.
15637
4f8dfe27
JM
15638 * math/libm-test.inc (finite_test_data): Remove.
15639 (finite_test): Run tests from isfinite_test_data.
15640 (gamma_test_data): Remove.
15641 (gamma_test): Run tests from lgamma_test_data.
15642 * sysdeps/i386/fpu/libm-test-ulps: Update.
15643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15644
d116b7c4
AZ
156452013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15646
15647 * manual/platform.texi: Add PowerPC PPR function set documentation.
15648 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15649 implementation.
15650
e96e3767
CD
156512013-05-24 Carlos O'Donell <carlos@redhat.com>
15652
15653 * math/libm-test.inc (MAX_EXP): Define.
15654 (ULPDIFF): Define.
15655 (ulp): New function.
15656 (check_float_internal): Use ULPDIFF.
15657 (cpow_test): Disable failing test.
15658 (check_ulp): Test ulp() implemetnation.
15659 (main): Call check_ulp before starting tests.
15660
b679a606
JM
156612013-05-24 Joseph Myers <joseph@codesourcery.com>
15662
e8bdba36
JM
15663 * math/gen-libm-test.pl (generate_testfile): Do not handle
15664 START_DATA and END_DATA.
15665 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15666 END_DATA.
15667 (acos_tonearest_test_data): Likewise.
15668 (acos_towardzero_test_data): Likewise.
15669 (acos_downward_test_data): Likewise.
15670 (acos_upward_test_data): Likewise.
15671 (acosh_test_data): Likewise.
15672 (asin_test_data): Likewise.
15673 (asin_tonearest_test_data): Likewise.
15674 (asin_towardzero_test_data): Likewise.
15675 (asin_downward_test_data): Likewise.
15676 (asin_upward_test_data): Likewise.
15677 (asinh_test_data): Likewise.
15678 (atan_test_data): Likewise.
15679 (atanh_test_data): Likewise.
15680 (atan2_test_data): Likewise.
15681 (cabs_test_data): Likewise.
15682 (cacos_test_data): Likewise.
15683 (cacosh_test_data): Likewise.
15684 (carg_test_data): Likewise.
15685 (casin_test_data): Likewise.
15686 (casinh_test_data): Likewise.
15687 (catan_test_data): Likewise.
15688 (catanh_test_data): Likewise.
15689 (cbrt_test_data): Likewise.
15690 (ccos_test_data): Likewise.
15691 (ccosh_test_data): Likewise.
15692 (ceil_test_data): Likewise.
15693 (cexp_test_data): Likewise.
15694 (cimag_test_data): Likewise.
15695 (clog_test_data): Likewise.
15696 (clog10_test_data): Likewise.
15697 (conj_test_data): Likewise.
15698 (copysign_test_data): Likewise.
15699 (cos_test_data): Likewise.
15700 (cos_tonearest_test_data): Likewise.
15701 (cos_towardzero_test_data): Likewise.
15702 (cos_downward_test_data): Likewise.
15703 (cos_upward_test_data): Likewise.
15704 (cosh_test_data): Likewise.
15705 (cosh_tonearest_test_data): Likewise.
15706 (cosh_towardzero_test_data): Likewise.
15707 (cosh_downward_test_data): Likewise.
15708 (cosh_upward_test_data): Likewise.
15709 (cpow_test_data): Likewise.
15710 (cproj_test_data): Likewise.
15711 (creal_test_data): Likewise.
15712 (csin_test_data): Likewise.
15713 (csinh_test_data): Likewise.
15714 (csqrt_test_data): Likewise.
15715 (ctan_test_data): Likewise.
15716 (ctan_tonearest_test_data): Likewise.
15717 (ctan_towardzero_test_data): Likewise.
15718 (ctan_downward_test_data): Likewise.
15719 (ctan_upward_test_data): Likewise.
15720 (ctanh_test_data): Likewise.
15721 (ctanh_tonearest_test_data): Likewise.
15722 (ctanh_towardzero_test_data): Likewise.
15723 (ctanh_downward_test_data): Likewise.
15724 (ctanh_upward_test_data): Likewise.
15725 (erf_test_data): Likewise.
15726 (erfc_test_data): Likewise.
15727 (exp_test_data): Likewise.
15728 (exp_tonearest_test_data): Likewise.
15729 (exp_towardzero_test_data): Likewise.
15730 (exp_downward_test_data): Likewise.
15731 (exp_upward_test_data): Likewise.
15732 (exp10_test_data): Likewise.
15733 (exp2_test_data): Likewise.
15734 (expm1_test_data): Likewise.
15735 (fabs_test_data): Likewise.
15736 (fdim_test_data): Likewise.
15737 (finite_test_data): Likewise.
15738 (floor_test_data): Likewise.
15739 (fma_test_data): Likewise.
15740 (fma_towardzero_test_data): Likewise.
15741 (fma_downward_test_data): Likewise.
15742 (fma_upward_test_data): Likewise.
15743 (fmax_test_data): Likewise.
15744 (fmin_test_data): Likewise.
15745 (fmod_test_data): Likewise.
15746 (fpclassify_test_data): Likewise.
15747 (frexp_test_data): Likewise.
15748 (gamma_test_data): Likewise.
15749 (hypot_test_data): Likewise.
15750 (ilogb_test_data): Likewise.
15751 (isfinite_test_data): Likewise.
15752 (isgreater_test_data): Likewise.
15753 (isgreaterequal_test_data): Likewise.
15754 (isinf_test_data): Likewise.
15755 (isless_test_data): Likewise.
15756 (islessequal_test_data): Likewise.
15757 (islessgreater_test_data): Likewise.
15758 (isnan_test_data): Likewise.
15759 (isnormal_test_data): Likewise.
15760 (issignaling_test_data): Likewise.
15761 (isunordered_test_data): Likewise.
15762 (j0_test_data): Likewise.
15763 (j1_test_data): Likewise.
15764 (jn_test_data): Likewise.
15765 (ldexp_test_data): Likewise.
15766 (lgamma_test_data): Likewise.
15767 (lrint_test_data): Likewise.
15768 (lrint_tonearest_test_data): Likewise.
15769 (lrint_towardzero_test_data): Likewise.
15770 (lrint_downward_test_data): Likewise.
15771 (lrint_upward_test_data): Likewise.
15772 (llrint_test_data): Likewise.
15773 (llrint_tonearest_test_data): Likewise.
15774 (llrint_towardzero_test_data): Likewise.
15775 (llrint_downward_test_data): Likewise.
15776 (llrint_upward_test_data): Likewise.
15777 (log_test_data): Likewise.
15778 (log10_test_data): Likewise.
15779 (log1p_test_data): Likewise.
15780 (log2_test_data): Likewise.
15781 (logb_test_data): Likewise.
15782 (logb_downward_test_data): Likewise.
15783 (lround_test_data): Likewise.
15784 (llround_test_data): Likewise.
15785 (modf_test_data): Likewise.
15786 (nearbyint_test_data): Likewise.
15787 (nextafter_test_data): Likewise.
15788 (nexttoward_test_data): Likewise.
15789 (pow_test_data): Likewise.
15790 (pow_tonearest_test_data): Likewise.
15791 (pow_towardzero_test_data): Likewise.
15792 (pow_downward_test_data): Likewise.
15793 (pow_upward_test_data): Likewise.
15794 (remainder_test_data): Likewise.
15795 (remainder_tonearest_test_data): Likewise.
15796 (remainder_towardzero_test_data): Likewise.
15797 (remainder_downward_test_data): Likewise.
15798 (remainder_upward_test_data): Likewise.
15799 (remquo_test_data): Likewise.
15800 (rint_test_data): Likewise.
15801 (rint_tonearest_test_data): Likewise.
15802 (rint_towardzero_test_data): Likewise.
15803 (rint_downward_test_data): Likewise.
15804 (rint_upward_test_data): Likewise.
15805 (round_test_data): Likewise.
15806 (scalb_test_data): Likewise.
15807 (scalbn_test_data): Likewise.
15808 (scalbln_test_data): Likewise.
15809 (signbit_test_data): Likewise.
15810 (sin_test_data): Likewise.
15811 (sin_tonearest_test_data): Likewise.
15812 (sin_towardzero_test_data): Likewise.
15813 (sin_downward_test_data): Likewise.
15814 (sin_upward_test_data): Likewise.
15815 (sincos_test_data): Likewise.
15816 (sinh_test_data): Likewise.
15817 (sinh_tonearest_test_data): Likewise.
15818 (sinh_towardzero_test_data): Likewise.
15819 (sinh_downward_test_data): Likewise.
15820 (sinh_upward_test_data): Likewise.
15821 (sqrt_test_data): Likewise.
15822 (tan_test_data): Likewise.
15823 (tan_tonearest_test_data): Likewise.
15824 (tan_towardzero_test_data): Likewise.
15825 (tan_downward_test_data): Likewise.
15826 (tan_upward_test_data): Likewise.
15827 (tanh_test_data): Likewise.
15828 (tgamma_test_data): Likewise.
15829 (trunc_test_data): Likewise.
15830 (y0_test_data): Likewise.
15831 (y1_test_data): Likewise.
15832 (yn_test_data): Likewise.
15833 (significand_test_data): Likewise.
15834
b679a606
JM
15835 * math/gen-libm-test.pl (@functions): Remove variable.
15836 (generate_testfile): Don't handle START and END lines.
15837 * math/libm-test.inc (START): New macro.
15838 (END): Likewise.
15839 (END_COMPLEX): Likewise.
15840 (acos_test): Use END macro without arguments.
15841 (acos_test_tonearest): Likewise.
15842 (acos_test_towardzero): Likewise.
15843 (acos_test_downward): Likewise.
15844 (acos_test_upward): Likewise.
15845 (acosh_test): Likewise.
15846 (asin_test): Likewise.
15847 (asin_test_tonearest): Likewise.
15848 (asin_test_towardzero): Likewise.
15849 (asin_test_downward): Likewise.
15850 (asin_test_upward): Likewise.
15851 (asinh_test): Likewise.
15852 (atan_test): Likewise.
15853 (atanh_test): Likewise.
15854 (atan2_test): Likewise.
15855 (cabs_test): Likewise.
15856 (cacos_test): Use END_COMPLEX macro without arguments.
15857 (cacosh_test): Likewise.
15858 (carg_test): Use END macro without arguments.
15859 (casin_test): Use END_COMPLEX macro without arguments.
15860 (casinh_test): Likewise.
15861 (catan_test): Likewise.
15862 (catanh_test): Likewise.
15863 (cbrt_test): Use END macro without arguments.
15864 (ccos_test): Use END_COMPLEX macro without arguments.
15865 (ccosh_test): Likewise.
15866 (ceil_test): Use END macro without arguments.
15867 (cexp_test): Use END_COMPLEX macro without arguments.
15868 (cimag_test): Use END macro without arguments.
15869 (clog_test): Use END_COMPLEX macro without arguments.
15870 (clog10_test): Likewise.
15871 (conj_test): Likewise.
15872 (copysign_test): Use END macro without arguments.
15873 (cos_test): Likewise.
15874 (cos_test_tonearest): Likewise.
15875 (cos_test_towardzero): Likewise.
15876 (cos_test_downward): Likewise.
15877 (cos_test_upward): Likewise.
15878 (cosh_test): Likewise.
15879 (cosh_test_tonearest): Likewise.
15880 (cosh_test_towardzero): Likewise.
15881 (cosh_test_downward): Likewise.
15882 (cosh_test_upward): Likewise.
15883 (cpow_test): Use END_COMPLEX macro without arguments.
15884 (cproj_test): Likewise.
15885 (creal_test): Use END macro without arguments.
15886 (csin_test): Use END_COMPLEX macro without arguments.
15887 (csinh_test): Likewise.
15888 (csqrt_test): Likewise.
15889 (ctan_test): Likewise.
15890 (ctan_test_tonearest): Likewise.
15891 (ctan_test_towardzero): Likewise.
15892 (ctan_test_downward): Likewise.
15893 (ctan_test_upward): Likewise.
15894 (ctanh_test): Likewise.
15895 (ctanh_test_tonearest): Likewise.
15896 (ctanh_test_towardzero): Likewise.
15897 (ctanh_test_downward): Likewise.
15898 (ctanh_test_upward): Likewise.
15899 (erf_test): Use END macro without arguments.
15900 (erfc_test): Likewise.
15901 (exp_test): Likewise.
15902 (exp_test_tonearest): Likewise.
15903 (exp_test_towardzero): Likewise.
15904 (exp_test_downward): Likewise.
15905 (exp_test_upward): Likewise.
15906 (exp10_test): Likewise.
15907 (exp2_test): Likewise.
15908 (expm1_test): Likewise.
15909 (fabs_test): Likewise.
15910 (fdim_test): Likewise.
15911 (finite_test): Likewise.
15912 (floor_test): Likewise.
15913 (fma_test): Likewise.
15914 (fma_test_towardzero): Likewise.
15915 (fma_test_downward): Likewise.
15916 (fma_test_upward): Likewise.
15917 (fmax_test): Likewise.
15918 (fmin_test): Likewise.
15919 (fmod_test): Likewise.
15920 (fpclassify_test): Likewise.
15921 (frexp_test): Likewise.
15922 (gamma_test): Likewise.
15923 (hypot_test): Likewise.
15924 (ilogb_test): Likewise.
15925 (isfinite_test): Likewise.
15926 (isgreater_test): Likewise.
15927 (isgreaterequal_test): Likewise.
15928 (isinf_test): Likewise.
15929 (isless_test): Likewise.
15930 (islessequal_test): Likewise.
15931 (islessgreater_test): Likewise.
15932 (isnan_test): Likewise.
15933 (isnormal_test): Likewise.
15934 (issignaling_test): Likewise.
15935 (isunordered_test): Likewise.
15936 (j0_test): Likewise.
15937 (j1_test): Likewise.
15938 (jn_test): Likewise.
15939 (ldexp_test): Likewise.
15940 (lgamma_test): Likewise.
15941 (lrint_test): Likewise.
15942 (lrint_test_tonearest): Likewise.
15943 (lrint_test_towardzero): Likewise.
15944 (lrint_test_downward): Likewise.
15945 (lrint_test_upward): Likewise.
15946 (llrint_test): Likewise.
15947 (llrint_test_tonearest): Likewise.
15948 (llrint_test_towardzero): Likewise.
15949 (llrint_test_downward): Likewise.
15950 (llrint_test_upward): Likewise.
15951 (log_test): Likewise.
15952 (log10_test): Likewise.
15953 (log1p_test): Likewise.
15954 (log2_test): Likewise.
15955 (logb_test): Likewise.
15956 (logb_test_downward): Likewise.
15957 (lround_test): Likewise.
15958 (llround_test): Likewise.
15959 (modf_test): Likewise.
15960 (nearbyint_test): Likewise.
15961 (nextafter_test): Likewise.
15962 (nexttoward_test): Likewise.
15963 (pow_test): Likewise.
15964 (pow_test_tonearest): Likewise.
15965 (pow_test_towardzero): Likewise.
15966 (pow_test_downward): Likewise.
15967 (pow_test_upward): Likewise.
15968 (remainder_test): Likewise.
15969 (remainder_test_tonearest): Likewise.
15970 (remainder_test_towardzero): Likewise.
15971 (remainder_test_downward): Likewise.
15972 (remainder_test_upward): Likewise.
15973 (remquo_test): Likewise.
15974 (rint_test): Likewise.
15975 (rint_test_tonearest): Likewise.
15976 (rint_test_towardzero): Likewise.
15977 (rint_test_downward): Likewise.
15978 (rint_test_upward): Likewise.
15979 (round_test): Likewise.
15980 (scalb_test): Likewise.
15981 (scalbn_test): Likewise.
15982 (scalbln_test): Likewise.
15983 (signbit_test): Likewise.
15984 (sin_test): Likewise.
15985 (sin_test_tonearest): Likewise.
15986 (sin_test_towardzero): Likewise.
15987 (sin_test_downward): Likewise.
15988 (sin_test_upward): Likewise.
15989 (sincos_test): Likewise.
15990 (sinh_test): Likewise.
15991 (sinh_test_tonearest): Likewise.
15992 (sinh_test_towardzero): Likewise.
15993 (sinh_test_downward): Likewise.
15994 (sinh_test_upward): Likewise.
15995 (sqrt_test): Likewise.
15996 (tan_test): Likewise.
15997 (tan_test_tonearest): Likewise.
15998 (tan_test_towardzero): Likewise.
15999 (tan_test_downward): Likewise.
16000 (tan_test_upward): Likewise.
16001 (tanh_test): Likewise.
16002 (tgamma_test): Likewise.
16003 (trunc_test): Likewise.
16004 (y0_test): Likewise.
16005 (y1_test): Likewise.
16006 (yn_test): Likewise.
16007 (significand_test): Likewise.
16008
bae143d2
OB
160092013-05-24 Ondřej Bílka <neleai@seznam.cz>
16010
16011 [BZ #15381]
16012 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16013
9323d39b
EM
160142013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16015
d4ea44a0 16016 [BZ #14894]
9323d39b
EM
16017 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16018 __ppc_mdoio and __ppc_mdoom.
16019 * manual/platform.texi: Document new functions __ppc_yield,
16020 __ppc_mdoio and __ppc_mdoom.
16021
13e23af7
CD
160222013-05-22 Carlos O'Donell <carlos@redhat.com>
16023
16024 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16025 (main): Mention "tls" pseudo-hwcap is legacy.
16026 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16027
351fe550
JM
160282013-05-22 Joseph Myers <joseph@codesourcery.com>
16029
16030 * math/gen-libm-test.pl (parse_args): Output only string of
16031 arguments as text for test name, not full call or descriptions of
16032 tests for extra outputs.
16033 (generate_testfile): Do not pass function name to parse_args.
16034 Generate this_func variable from START.
16035 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16036 field to arg_str.
16037 (struct test_ff_f_data): Likewise.
16038 (test_ff_f_data_nexttoward): Likewise.
16039 (struct test_fi_f_data): Likewise.
16040 (struct test_fl_f_data): Likewise.
16041 (struct test_if_f_data): Likewise.
16042 (struct test_fff_f_data): Likewise.
16043 (struct test_c_f_data): Likewise.
16044 (struct test_f_f1_data): Likewise. Remove field extra_name.
16045 (struct test_fF_f1_data): Likewise.
16046 (struct test_ffI_f1_data): Likewise.
16047 (struct test_c_c_data): Rename test_name field to arg_str.
16048 (struct test_cc_c_data): Likewise.
16049 (struct test_f_i_data): Likewise.
16050 (struct test_ff_i_data): Likewise.
16051 (struct test_f_l_data): Likewise.
16052 (struct test_f_L_data): Likewise.
16053 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16054 and extra2_name.
16055 (COMMON_TEST_SETUP): New macro.
16056 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16057 (COMMON_TEST_CLEANUP): Likewise.
16058 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16059 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16060 macros.
16061 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16062 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16063 macros.
16064 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16065 (RUN_TEST_fff_f): Take argument string. Call new setup and
16066 cleanup macros.
16067 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16068 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16069 macros.
16070 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16071 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16072 macros.
16073 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16074 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16075 cleanup macros.
16076 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16077 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16078 cleanup macros.
16079 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16080 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16081 cleanup macros.
16082 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16083 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16084 macros.
16085 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16086 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16087 macros.
16088 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16089 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16090 macros.
16091 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16092 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16093 cleanup macros.
16094 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16095 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16096 cleanup macros.
16097 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16098 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16099 macros.
16100 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16101 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16102 cleanup macros.
16103 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16104 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16105 macros.
16106 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16107 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16108 macros.
16109 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16110 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16111 cleanup macros.
16112 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16113
85118d4d
EBM
161142013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16115
16116 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16117 to _sifields.sigfault.
16118 (si_addr_lsb): Define new macro.
16119 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16121 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16122
7a44c18f
CD
161232013-05-03 Carlos O'Donell <carlos at redhat.com>
16124
16125 [BZ #15441]
16126 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16127 returns -1.
16128 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16129 null return -1.
16130 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16131 loading the domain.
16132
b50a7181
JM
161332013-05-22 Joseph Myers <joseph@codesourcery.com>
16134
16135 * math/gen-libm-test.pl (parse_args): Do not include expected
16136 result in test name.
16137 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16138 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16139 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16140 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16141 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16143
051063c8
SP
161442013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16145
3ce9e010
SP
16146 * benchtests/Makefile: Sort function entries.
16147
051063c8
SP
16148 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16149 tanh, asinh, acosh, atanh.
16150 * benchtests/acos-inputs: New file.
16151 * benchtests/acosh-inputs: New file.
16152 * benchtests/asin-inputs: New file.
16153 * benchtests/asinh-inputs: New file.
16154 * benchtests/atanh-inputs: New file.
16155 * benchtests/cosh-inputs: New file.
16156 * benchtests/log-inputs: New file.
16157 * benchtests/sinh-inputs: New file.
16158 * benchtests/tanh-inputs: New file.
16159
47c22455
DL
161602013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16161
16162 [BZ #15339]
16163 * posix/tst-getaddrinfo4.c: New test.
16164 * posix/Makefile (tests): Add it.
16165
3d04f5db
SP
161662013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16167
16168 [BZ #15339]
16169 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16170 when no services were used.
16171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16172 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16173
d5dd6189
AS
161742013-05-21 Andreas Schwab <schwab@suse.de>
16175
16176 [BZ #15014]
16177 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16178 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16179 successful.
16180 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16181 redundant variable declarations and reallocation of buffer when
16182 parsing as IPv6 address. Always set NSS status when called from
16183 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16184 buffer too small. Correct computation of needed size.
16185 * nss/Makefile (tests): Add test-digits-dots.
16186 * nss/test-digits-dots.c: New test.
16187
fef94eab
SP
161882013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16189
16190 * benchtests/Makefile: Remove instructions for adding
16191 benchmark tests.
16192 * benchtests/README: New file to explain how to execute and
16193 enhance the benchmark tests.
16194
e39adf43
AS
161952013-05-21 Andreas Schwab <schwab@suse.de>
16196
16197 [BZ #15493]
16198 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16199 * setjmp/tst-sigsetjmp.c: New test.
16200
b2b671b6
OB
162012013-05-20 Ondřej Bílka <neleai@seznam.cz>
16202
16203 * sysdeps/x86_64/memset.S (memset): New implementation.
16204 (__bzero): Likewise.
16205 (__memset_tail): New function.
16206
2d48b41c
OB
162072013-05-20 Ondřej Bílka <neleai@seznam.cz>
16208
16209 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16210 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16211 __memcpy_sse2_unaligned ifunc selection.
16212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16213 Add memcpy-sse2-unaligned.S.
16214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16215 Add: __memcpy_sse2_unaligned.
16216
f16cc3eb
JM
162172013-05-19 Joseph Myers <joseph@codesourcery.com>
16218
3e694268
JM
16219 [BZ #15490]
16220 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16221 math_force_eval before restoring floating-point envrionment.
16222 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16223 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16224 Likewise.
16225 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16226 <math_private.h>.
16227 (__nearbyintl): Use math_force_eval before restoring
16228 floating-point environment.
16229 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16230
db62a907
JM
16231 * math/gen-libm-test.pl (special_functions): Remove.
16232 (parse_args): Don't handle TEST_extra. Handle functions with no
16233 return value.
16234 * math/libm-test.inc (struct test_sincos_data): Replace with
16235 struct test_fFF_11_data.
16236 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16237 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16238 (sincos_test_data): Change element type to struct
16239 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16240 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16241 RUN_TEST_LOOP_sincos.
16242 * math/README.libm-test: Don't mention special handling of
16243 individual functions.
16244 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16245 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16246 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16247 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16248 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16250
f16cc3eb
JM
16251 * math/gen-libm-test.pl (get_variable): Remove function.
16252 (parse_args): Don't show pointer parameters to call in test
16253 names. Use "extra output N" in test names for extra outputs
16254 rather than naming variables.
16255
3779b5b6
JM
162562013-05-18 Joseph Myers <joseph@codesourcery.com>
16257
2ee094ff
JM
16258 [BZ #15488]
16259 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16260 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16261 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16262 double tests.
16263 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16264 disable.
16265 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16266 check_long_double.
16267
3779b5b6
JM
16268 * math/gen-libm-test.pl (@tests): Remove variable.
16269 ($count): Likewise.
16270 (new_test): Remove function.
16271 (show_exceptions): New function.
16272 (special_functions): Use show_exceptions instead of new_test.
16273 (parse_args): Likewise.
16274 (generate_testfile): Pass only function name in generated call to
16275 print_max_error or print_complex_max_error.
16276 (get_ulps): Do not handle complex tests specially.
16277 (output_test): Rename to ...
16278 (get_all_ulps_for_test): ... this. Return a string rather than
16279 printing to a file. Require ulps to be present.
16280 (output_ulps): Generate arrays rather than #defines.
16281 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16282 (struct ulp_data): New type.
16283 (BUILD_COMPLEX_ULP): Remove macro.
16284 (compare_ulp_data): New function.
16285 (find_ulps): Likewise.
16286 (find_test_ulps): Likewise.
16287 (find_function_ulps): Likewise.
16288 (find_complex_function_ulps): Likewise.
16289 (print_max_error): Determine allowed ulps using
16290 find_function_ulps.
16291 (print_complex_max_error): Determine allowed ulps using
16292 find_complex_function_ulps.
16293 (check_float_internal): Determine max ulps using find_test_ulps.
16294 (check_float): Do not take max_ulp parameter. Update call to
16295 check_float_internal.
16296 (check_complex): Likewise.
16297 (check_int): Do not take max_ulp parameter.
16298 (check_long): Likewise.
16299 (check_bool): Likewise.
16300 (check_longlong): Likewise.
16301 (struct test_f_f_data): Remove max_ulp field.
16302 (struct test_ff_f_data): Likewise.
16303 (struct test_ff_f_data_nexttoward): Likewise.
16304 (struct test_fi_f_data): Likewise.
16305 (struct test_fl_f_data): Likewise.
16306 (struct test_if_f_data): Likewise.
16307 (struct test_fff_f_data): Likewise.
16308 (struct test_c_f_data): Likewise.
16309 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16310 (struct test_fF_f1_data): Likewise.
16311 (struct test_ffI_f1_data): Likewise.
16312 (struct test_c_c_data): Remove max_ulp field.
16313 (struct test_cc_c_data): Likewise.
16314 (struct test_f_i_data): Likewise.
16315 (struct test_ff_i_data): Likewise.
16316 (struct test_f_l_data): Likewise.
16317 (struct test_f_L_data): Likewise.
16318 (struct test_sincos_data): Likewise.
16319 (RUN_TEST_f_f): Do not handle ulps.
16320 (RUN_TEST_LOOP_f_f): Likewise.
16321 (RUN_TEST_2_f): Likewise.
16322 (RUN_TEST_LOOP_2_f): Likewise.
16323 (RUN_TEST_fff_f): Likewise.
16324 (RUN_TEST_LOOP_fff_f): Likewise.
16325 (RUN_TEST_c_f): Likewise.
16326 (RUN_TEST_LOOP_c_f): Likewise.
16327 (RUN_TEST_f_f1): Likewise.
16328 (RUN_TEST_LOOP_f_f1): Likewise.
16329 (RUN_TEST_fF_f1): Likewise.
16330 (RUN_TEST_LOOP_fF_f1): Likewise.
16331 (RUN_TEST_fI_f1): Likewise.
16332 (RUN_TEST_LOOP_fI_f1): Likewise.
16333 (RUN_TEST_ffI_f1): Likewise.
16334 (RUN_TEST_LOOP_ffI_f1): Likewise.
16335 (RUN_TEST_c_c): Likewise.
16336 (RUN_TEST_LOOP_c_c): Likewise.
16337 (RUN_TEST_cc_c): Likewise.
16338 (RUN_TEST_LOOP_cc_c): Likewise.
16339 (RUN_TEST_f_i): Likewise.
16340 (RUN_TEST_LOOP_f_i): Likewise.
16341 (RUN_TEST_f_i_tg): Likewise.
16342 (RUN_TEST_LOOP_f_i_tg): Likewise.
16343 (RUN_TEST_ff_i_tg): Likewise.
16344 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16345 (RUN_TEST_f_b): Likewise.
16346 (RUN_TEST_LOOP_f_b): Likewise.
16347 (RUN_TEST_f_b_tg): Likewise.
16348 (RUN_TEST_LOOP_f_b_tg): Likewise.
16349 (RUN_TEST_f_l): Likewise.
16350 (RUN_TEST_LOOP_f_l): Likewise.
16351 (RUN_TEST_f_L): Likewise.
16352 (RUN_TEST_LOOP_f_L): Likewise.
16353 (RUN_TEST_sincos): Likewise.
16354 (RUN_TEST_LOOP_sincos): Likewise.
16355
8269107f
JM
163562013-05-17 Joseph Myers <joseph@codesourcery.com>
16357
bb38759d
JM
16358 [BZ #15480]
16359 [BZ #15485]
16360 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16361 main case of finite arguments, set rounding mode to FE_TONEAREST
16362 and discard exceptions.
16363 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16364 exceptions.
16365 (remainder_tonearest_test_data): New variable.
16366 (remainder_test_tonearest): New function.
16367 (remainder_towardzero_test_data): New variable.
16368 (remainder_test_towardzero): New function.
16369 (remainder_downward_test_data): New variable.
16370 (remainder_test_downward): New function.
16371 (remainder_upward_test_data): New variable.
16372 (remainder_test_upward): New function.
16373 (main): Call the new test functions.
16374
a00bdcf0
JM
16375 * math/libm-test.inc (struct test_f_f1_data): Remove field
16376 extra_init.
16377 (struct test_fF_f1_data): Likewise.
16378 (struct test_ffI_f1_data): Likewise.
16379 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16380 based on value of EXTRA_EXPECTED.
16381 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16382 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16383 EXTRA_VAR based on value of EXTRA_EXPECTED.
16384 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16385 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16386 EXTRA_VAR based on value of EXTRA_EXPECTED.
16387 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16388 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16389 EXTRA_VAR based on value of EXTRA_EXPECTED.
16390 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16391 * math/gen-libm-test.pl (parse_args): Don't output initializers
16392 for extra output values.
16393
de407f79
JM
16394 * math/libm-test.inc (check_int): Expect result to be exactly
16395 equal to expected value and do not handle ulps.
16396 (check_long): Likewise.
16397 (check_longlong): Likewise.
16398
8269107f
JM
16399 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16400 exceptions.
16401 (cimag_test_data): Likewise.
16402 (conj_test_data): Likewise.
16403 (copysign_test_data): Likewise.
16404 (cproj_test_data): Likewise.
16405 (creal_test_data): Likewise.
16406 (fabs_test_data): Likewise.
16407 (fdim_test_data): Likewise.
16408 (finite_test_data): Likewise.
16409 (floor_test_data): Likewise.
16410 (fmax_test_data): Likewise.
16411 (fmin_test_data): Likewise.
16412 (fmod_test_data): Likewise.
16413 (fpclassify_test_data): Likewise.
16414 (frexp_test_data): Likewise.
16415 (ilogb_test_data): Likewise.
16416 (isfinite_test_data): Likewise.
16417 (isgreater_test_data): Likewise.
16418 (isgreaterequal_test_data): Likewise.
16419 (isinf_test_data): Likewise.
16420 (isless_test_data): Likewise.
16421 (islessequal_test_data): Likewise.
16422 (islessgreater_test_data): Likewise.
16423 (isnan_test_data): Likewise.
16424 (isnormal_test_data): Likewise.
16425 (issignaling_test_data): Likewise.
16426 (isunordered_test_data): Likewise.
16427 (ldexp_test_data): Likewise.
16428 (lrint_test_data): Likewise.
16429 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16430 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16431 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16432 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16433 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16434 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16435 test input.
16436 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16437 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16438 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16439 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16440 that test input.
16441 (lrint_downward_test_data): Test for "inexact" exceptions.
16442 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16443 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16444 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16445 test input.
16446 (lrint_upward_test_data): Test for "inexact" exceptions.
16447 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16448 test input.
16449 (llrint_test_data): Test for "inexact" exceptions.
16450 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16451 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16452 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16453 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16454 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16455 (llrint_downward_test_data): Test for "inexact" exceptions.
16456 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16457 (llrint_upward_test_data): Test for "inexact" exceptions.
16458 (logb_test_data): Likewise.
16459 (logb_downward_test_data): Likewise.
16460 (nextafter_test_data): Likewise.
16461 (nexttoward_test_data): Likewise.
16462 (remainder_test_data): Likewise.
16463 (remquo_test_data): Likewise.
16464 (scalbn_test_data): Likewise.
16465 (scalbln_test_data): Likewise.
16466 (signbit_test_data): Likewise.
16467 (sqrt_test_data): Likewise.
16468 (significand_test_data): Likewise.
16469
48a18de1
SP
164702013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16471
16472 [BZ #15424]
16473 * benchtests/bench-modf.c (struct args): Mark arg0 as
16474 volatile.
16475 * scripts/bench.pl: Mark members of struct args as volatile.
16476
13d3b41a
AZ
164772013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16478
68191c1d 16479 [BZ # 15497]
13d3b41a
AZ
16480 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16481 negative infinity on POWER6 or lower.
16482 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16483
2848b105
MR
164842013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16485
16486 [BZ #15442]
16487 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16488 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16489 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16490 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16491 (_FP_SETQNAN): New macro.
16492 (_FP_SETQNAN_SEMIRAW): Likewise.
16493 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16494 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16495 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16496 (FP_EXTEND): Use _FP_FRAC_SNANP.
16497 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16498 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16499 into account.
16500 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16501 New macro.
16502 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16503 Likewise.
16504
323e5cb7
JM
165052013-05-16 Joseph Myers <joseph@codesourcery.com>
16506
c58b274f
JM
16507 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16508 with DIVIDE_BY_ZERO_EXCEPTION.
16509 (gamma_test_data): Likewise.
16510 (lgamma_test_data): Likewise.
16511 (log_test_data): Likewise.
16512 (log10_test_data): Likewise.
16513 (log2_test_data): Likewise.
16514 (tgamma_test_data): Likewise.
16515
0ab34904
JM
16516 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16517 (acos_test_tonearest): Likewise.
16518 (acos_test_towardzero): Likewise.
16519 (acos_test_downward): Likewise.
16520 (acos_test_upward): Likewise.
16521 (acosh_test): Likewise.
16522 (asin_test): Likewise.
16523 (asin_test_tonearest): Likewise.
16524 (asin_test_towardzero): Likewise.
16525 (asin_test_downward): Likewise.
16526 (asin_test_upward): Likewise.
16527 (asinh_test): Likewise.
16528 (atan_test): Likewise.
16529 (atanh_test): Likewise.
16530 (atan2_test): Likewise.
16531 (cabs_test): Likewise.
16532 (cacos_test): Likewise.
16533 (cacosh_test): Likewise.
16534 (casin_test): Likewise.
16535 (casinh_test): Likewise.
16536 (catan_test): Likewise.
16537 (catanh_test): Likewise.
16538 (cbrt_test): Likewise.
16539 (ccos_test): Likewise.
16540 (ccosh_test): Likewise.
16541 (cexp_test): Likewise.
16542 (clog_test): Likewise.
16543 (clog10_test): Likewise.
16544 (cos_test): Likewise.
16545 (cos_test_tonearest): Likewise.
16546 (cos_test_towardzero): Likewise.
16547 (cos_test_downward): Likewise.
16548 (cos_test_upward): Likewise.
16549 (cosh_test): Likewise.
16550 (cosh_test_tonearest): Likewise.
16551 (cosh_test_towardzero): Likewise.
16552 (cosh_test_downward): Likewise.
16553 (cosh_test_upward): Likewise.
16554 (cpow_test): Likewise.
16555 (csin_test): Likewise.
16556 (csinh_test): Likewise.
16557 (csqrt_test): Likewise.
16558 (ctan_test): Likewise.
16559 (ctan_test_tonearest): Likewise.
16560 (ctan_test_towardzero): Likewise.
16561 (ctan_test_downward): Likewise.
16562 (ctan_test_upward): Likewise.
16563 (ctanh_test): Likewise.
16564 (ctanh_test_tonearest): Likewise.
16565 (ctanh_test_towardzero): Likewise.
16566 (ctanh_test_downward): Likewise.
16567 (ctanh_test_upward): Likewise.
16568 (erf_test): Likewise.
16569 (erfc_test): Likewise.
16570 (exp_test): Likewise.
16571 (exp_test_tonearest): Likewise.
16572 (exp_test_towardzero): Likewise.
16573 (exp_test_downward): Likewise.
16574 (exp_test_upward): Likewise.
16575 (exp10_test): Likewise.
16576 (exp2_test): Likewise.
16577 (expm1_test): Likewise.
16578 (fmod_test): Likewise.
16579 (gamma_test): Likewise.
16580 (hypot_test): Likewise.
16581 (j0_test): Likewise.
16582 (j1_test): Likewise.
16583 (jn_test): Likewise.
16584 (lgamma_test): Likewise.
16585 (log_test): Likewise.
16586 (log10_test): Likewise.
16587 (log1p_test): Likewise.
16588 (log2_test): Likewise.
16589 (logb_test_downward): Likewise.
16590 (pow_test): Likewise.
16591 (pow_test_tonearest): Likewise.
16592 (pow_test_towardzero): Likewise.
16593 (pow_test_downward): Likewise.
16594 (pow_test_upward): Likewise.
16595 (remainder_test): Likewise.
16596 (remquo_test): Likewise.
16597 (sin_test): Likewise.
16598 (sin_test_tonearest): Likewise.
16599 (sin_test_towardzero): Likewise.
16600 (sin_test_downward): Likewise.
16601 (sin_test_upward): Likewise.
16602 (sincos_test): Likewise.
16603 (sinh_test): Likewise.
16604 (sinh_test_tonearest): Likewise.
16605 (sinh_test_towardzero): Likewise.
16606 (sinh_test_downward): Likewise.
16607 (sinh_test_upward): Likewise.
16608 (sqrt_test): Likewise.
16609 (tan_test): Likewise.
16610 (tan_test_tonearest): Likewise.
16611 (tan_test_towardzero): Likewise.
16612 (tan_test_downward): Likewise.
16613 (tan_test_upward): Likewise.
16614 (tanh_test): Likewise.
16615 (tgamma_test): Likewise.
16616 (y0_test): Likewise.
16617 (y1_test): Likewise.
16618 (yn_test): Likewise.
16619
323e5cb7
JM
16620 * math/gen-libm-test.pl (adjust_arg): Remove function.
16621 (special_function): Remove argument $in_func. Only handle
16622 generating output for tables of tests, not inside functions.
16623 (parse_args): Likewise.
16624 (generate_testfile): Remove variable $in_func. Update call to
16625 parse_args.
16626 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16627 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16628 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16629 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16630 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16631 (MAX_VALUE_INIT): Rename macro to max_value.
16632 (MIN_VALUE_INIT): Rename macro to min_value.
16633 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16634 (plus_zero): Remove variable.
16635 (minus_zero): Likewise.
16636 (plus_infty): Likewise.
16637 (minus_infty): Likewise.
16638 (qnan_value): Likewise.
16639 (max_value): Likewise.
16640 (min_value): Likewise.
16641 (min_subnorm_value): Likewise.
16642
e054f494
RA
166432013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16644
16645 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16646 uint64_t or uint32_t usage.
16647 * crypt/sha256-block.c: Likewise.
16648 * crypt/sha256-crypt.c: Likewise.
16649 * crypt/sha256.c: Likewise.
16650 * crypt/sha512-block.c: Likewise.
16651 * crypt/sha512-crypt.c: Likewise.
16652 * crypt/sha512.c: Likewise.
16653 * debug/backtrace-tst.c: Likewise.
16654 * debug/pcprofiledump.c: Likewise.
16655 * elf/cache.c: Likewise.
16656 * elf/dl-cache.c: Likewise.
16657 * elf/dl-misc.c: Likewise.
16658 * elf/dl-profile.c: Likewise.
16659 * elf/dl-support.c: Likewise.
16660 * elf/ldconfig.c: Likewise.
16661 * elf/sprof.c: Likewise.
16662 * iconv/dummy-repertoire.c: Likewise.
16663 * iconv/iconv_charmap.c: Likewise.
16664 * iconv/skeleton.c: Likewise.
16665 * iconvdata/8bit-generic.c: Likewise.
16666 * iconvdata/cp737.h: Likewise.
16667 * iconvdata/cp775.h: Likewise.
16668 * iconvdata/ibm1008.h: Likewise.
16669 * iconvdata/ibm1025.h: Likewise.
16670 * iconvdata/ibm1046.h: Likewise.
16671 * iconvdata/ibm1097.h: Likewise.
16672 * iconvdata/ibm1112.h: Likewise.
16673 * iconvdata/ibm1122.h: Likewise.
16674 * iconvdata/ibm1123.h: Likewise.
16675 * iconvdata/ibm1124.h: Likewise.
16676 * iconvdata/ibm1129.h: Likewise.
16677 * iconvdata/ibm1130.h: Likewise.
16678 * iconvdata/ibm1132.h: Likewise.
16679 * iconvdata/ibm1133.h: Likewise.
16680 * iconvdata/ibm1137.h: Likewise.
16681 * iconvdata/ibm1140.h: Likewise.
16682 * iconvdata/ibm1141.h: Likewise.
16683 * iconvdata/ibm1142.h: Likewise.
16684 * iconvdata/ibm1143.h: Likewise.
16685 * iconvdata/ibm1144.h: Likewise.
16686 * iconvdata/ibm1145.h: Likewise.
16687 * iconvdata/ibm1146.h: Likewise.
16688 * iconvdata/ibm1147.h: Likewise.
16689 * iconvdata/ibm1148.h: Likewise.
16690 * iconvdata/ibm1149.h: Likewise.
16691 * iconvdata/ibm1153.h: Likewise.
16692 * iconvdata/ibm1154.h: Likewise.
16693 * iconvdata/ibm1155.h: Likewise.
16694 * iconvdata/ibm1156.h: Likewise.
16695 * iconvdata/ibm1157.h: Likewise.
16696 * iconvdata/ibm1158.h: Likewise.
16697 * iconvdata/ibm1160.h: Likewise.
16698 * iconvdata/ibm1161.h: Likewise.
16699 * iconvdata/ibm1162.h: Likewise.
16700 * iconvdata/ibm1163.h: Likewise.
16701 * iconvdata/ibm1164.h: Likewise.
16702 * iconvdata/ibm1166.h: Likewise.
16703 * iconvdata/ibm1167.h: Likewise.
16704 * iconvdata/ibm12712.h: Likewise.
16705 * iconvdata/ibm1390.h: Likewise.
16706 * iconvdata/ibm1399.h: Likewise.
16707 * iconvdata/ibm16804.h: Likewise.
16708 * iconvdata/ibm4517.h: Likewise.
16709 * iconvdata/ibm4899.h: Likewise.
16710 * iconvdata/ibm4909.h: Likewise.
16711 * iconvdata/ibm4971.h: Likewise.
16712 * iconvdata/ibm5347.h: Likewise.
16713 * iconvdata/ibm803.h: Likewise.
16714 * iconvdata/ibm856.h: Likewise.
16715 * iconvdata/ibm901.h: Likewise.
16716 * iconvdata/ibm902.h: Likewise.
16717 * iconvdata/ibm9030.h: Likewise.
16718 * iconvdata/ibm9066.h: Likewise.
16719 * iconvdata/ibm921.h: Likewise.
16720 * iconvdata/ibm922.h: Likewise.
16721 * iconvdata/ibm9448.h: Likewise.
16722 * iconvdata/isiri-3342.h: Likewise.
16723 * iconvdata/jis0201.h: Likewise.
16724 * include/link.h: Likewise.
16725 * include/netdb.h: Likewise.
16726 * inet/check_native.c: Likewise.
16727 * inet/check_pf.c: Likewise.
16728 * inet/getipv4sourcefilter.c: Likewise.
16729 * inet/getnameinfo.c: Likewise.
16730 * inet/getsourcefilter.c: Likewise.
16731 * inet/htonl.c: Likewise.
16732 * inet/setipv4sourcefilter.c: Likewise.
16733 * inet/setsourcefilter.c: Likewise.
16734 * inet/test-inet6_opt.c: Likewise.
16735 * inet/tst-network.c: Likewise.
16736 * locale/C-collate.c: Likewise.
16737 * locale/C-ctype.c: Likewise.
16738 * locale/C-time.c: Likewise.
16739 * locale/C-translit.h: Likewise.
16740 * locale/loadarchive.c: Likewise.
16741 * locale/programs/3level.h: Likewise.
16742 * locale/programs/charmap.c: Likewise.
16743 * locale/programs/charmap.h: Likewise.
16744 * locale/programs/ld-address.c: Likewise.
16745 * locale/programs/ld-collate.c: Likewise.
16746 * locale/programs/ld-ctype.c: Likewise.
16747 * locale/programs/ld-identification.c: Likewise.
16748 * locale/programs/ld-measurement.c: Likewise.
16749 * locale/programs/ld-messages.c: Likewise.
16750 * locale/programs/ld-monetary.c: Likewise.
16751 * locale/programs/ld-name.c: Likewise.
16752 * locale/programs/ld-numeric.c: Likewise.
16753 * locale/programs/ld-paper.c: Likewise.
16754 * locale/programs/ld-telephone.c: Likewise.
16755 * locale/programs/ld-time.c: Likewise.
16756 * locale/programs/linereader.c: Likewise.
16757 * locale/programs/locale.c: Likewise.
16758 * locale/programs/locarchive.c: Likewise.
16759 * locale/programs/locfile.h: Likewise.
16760 * locale/programs/repertoire.c: Likewise.
16761 * locale/programs/simple-hash.c: Likewise.
16762 * locale/programs/simple-hash.h: Likewise.
16763 * malloc/memusage.c: Likewise.
16764 * malloc/memusagestat.c: Likewise.
16765 * nis/nis_defaults.c: Likewise.
16766 * nis/nis_hash.c: Likewise.
16767 * nis/nis_print.c: Likewise.
16768 * nis/nis_xdr.c: Likewise.
16769 * nscd/connections.c: Likewise.
16770 * nscd/hstcache.c: Likewise.
16771 * nscd/nscd_gethst_r.c: Likewise.
16772 * nscd/nscd_getserv_r.c: Likewise.
16773 * nscd/nscd_helper.c: Likewise.
16774 * nscd/servicescache.c: Likewise.
16775 * nss/makedb.c: Likewise.
16776 * nss/nss_db/db-XXX.c: Likewise.
16777 * nss/nss_db/db-initgroups.c: Likewise.
16778 * nss/nss_db/db-netgrp.c: Likewise.
16779 * nss/nss_files/files-network.c: Likewise.
16780 * nss/nss_files/files-parse.c: Likewise.
16781 * posix/bug-regex5.c: Likewise.
16782 * posix/fnmatch_loop.c: Likewise.
16783 * posix/regcomp.c: Likewise.
16784 * posix/regexec.c: Likewise.
16785 * posix/tst-rfc3484-2.c: Likewise.
16786 * posix/tst-rfc3484-3.c: Likewise.
16787 * posix/tst-rfc3484.c: Likewise.
16788 * resolv/nss_dns/dns-canon.c: Likewise.
16789 * resolv/nss_dns/dns-network.c: Likewise.
16790 * resolv/res_init.c: Likewise.
16791 * resolv/res_mkquery.c: Likewise.
16792 * resolv/tst-aton.c: Likewise.
16793 * stdlib/cxa_atexit.c: Likewise.
16794 * stdlib/cxa_finalize.c: Likewise.
16795 * stdlib/gen-fpioconst.c: Likewise.
16796 * stdlib/strtol_l.c: Likewise.
16797 * string/tst-endian.c: Likewise.
16798 * sunrpc/auth_des.c: Likewise.
16799 * sunrpc/clnt_udp.c: Likewise.
16800 * sunrpc/rtime.c: Likewise.
16801 * sunrpc/svcauth_des.c: Likewise.
16802 * sunrpc/xdr.c: Likewise.
16803 * sunrpc/xdr_intXX_t.c: Likewise.
16804 * sunrpc/xdr_rec.c: Likewise.
16805 * sysdeps/generic/ldconfig.h: Likewise.
16806 * sysdeps/generic/ldsodefs.h: Likewise.
16807 * sysdeps/generic/memusage.h: Likewise.
16808 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16809 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16810 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16811 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16812 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16814 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16815 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16816 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16818 * sysdeps/posix/getaddrinfo.c: Likewise.
16819 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16820 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16821 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16822 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16823 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16824 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16825 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16826 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16827 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16828 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16829 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16830 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16831 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16832 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16833 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16834 * sysdeps/x86_64/dl-tls.h: Likewise.
16835 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16836 * time/alt_digit.c: Likewise.
16837 * time/era.c: Likewise.
16838 * wcsmbs/tst-c16c32-1.c: Likewise.
16839
8c75f674
JM
168402013-05-16 Joseph Myers <joseph@codesourcery.com>
16841
16842 * math/libm-test.inc (struct test_sincos_data): New type.
16843 (RUN_TEST_LOOP_sincos): New macro.
16844 (sincos_test_data): New variable.
16845 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16846
e6e49e59
RH
168472013-05-16 Richard Henderson <rth@redhat.com>
16848
16849 * math/atest-exp2.c (LIMB64): New macro.
16850 (CONSTSZ): New macro.
16851 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16852 (hexdig): Move ...
16853 (print_mpn_fp): ... to function scope.
16854 (read_mpn_hex): Remove.
16855 (get_log2): Remove.
16856 (exp2_mpn): Use mp_log2.
16857 (main): Use mp_exp1.
16858
15c7c18d
JM
168592013-05-16 Joseph Myers <joseph@codesourcery.com>
16860
105a07df
JM
16861 * math/libm-test.inc: Remove comment about not testing "inexact"
16862 exceptions.
16863 (INEXACT_EXCEPTION): New macro.
16864 (NO_INEXACT_EXCEPTION): Likewise.
16865 (INVALID_EXCEPTION_OK): Update value.
16866 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16867 (OVERFLOW_EXCEPTION_OK): Likewise.
16868 (UNDERFLOW_EXCEPTION_OK): Likewise.
16869 (IGNORE_ZERO_INF_SIGN): Likewise.
16870 (ERRNO_UNCHANGED): Likewise.
16871 (ERRNO_EDOM): Likewise.
16872 (ERRNO_ERANGE): Likewise.
16873 (test_exceptions): Handle testing "inexact" exceptions.
16874 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16875 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16876 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16877 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16878 INEXACT_EXCEPTION.
16879 (rint_towardzero_test_data): Likewise.
16880 (rint_downward_test_data): Likewise.
16881 (rint_upward_test_data): Likewise.
16882
e9eee333
JM
16883 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16884 with OVERFLOW_EXCEPTION.
16885 (exp10_test_data): Likewise.
16886 (exp2_test_data): Likewise.
16887 (expm1_test_data): Likewise.
16888 (lgamma_test_data): Likewise.
16889 (pow_test_data): Likewise.
16890 (tgamma_test_data): Likewise.
16891 (yn_test_data): Remove duplicate test of overflow.
16892
1c38ff73
JM
16893 * math/libm-test.inc (struct test_cc_c_data): New type.
16894 (RUN_TEST_LOOP_cc_c): New macro.
16895 (cpow_test_data): New variable.
16896 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16897
15c7c18d
JM
16898 * math/libm-test.inc (struct test_f_L_data): New type.
16899 (RUN_TEST_LOOP_f_L): New macro.
16900 (llrint_test_data): New variable.
16901 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16902 (llrint_tonearest_test_data): New variable.
16903 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16904 (llrint_towardzero_test_data): New variable.
16905 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16906 (llrint_downward_test_data): New variable.
16907 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16908 (llrint_upward_test_data): New variable.
16909 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16910 (llround_test_data): New variable.
16911 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16912
f137ff13
PC
169132013-05-13 Peter Collingbourne <pcc@google.com>
16914
16915 * math/atest-exp2.c (get_log2): Remove const attribute.
16916
3608cb24
JM
169172013-05-15 Joseph Myers <joseph@codesourcery.com>
16918
16919 * math/libm-test.inc (struct test_f_l_data): New type.
16920 (RUN_TEST_LOOP_f_l): New macro.
16921 (lrint_test_data): New variable.
16922 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16923 (lrint_tonearest_test_data): New variable.
16924 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16925 (lrint_towardzero_test_data): New variable.
16926 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16927 (lrint_downward_test_data): New variable.
16928 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16929 (lrint_upward_test_data): New variable.
16930 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16931 (lround_test_data): New variable.
16932 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16933
39b1f617
PC
169342013-05-15 Peter Collingbourne <pcc@google.com>
16935
1deff3dc
PC
16936 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16937 (EXTRACT_WORDS64) Use where appropriate.
16938 (INSERT_WORDS64) Likewise.
16939
791f3ba0
PC
16940 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16941 constraints with x constraints.
16942 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16943
39b1f617
PC
16944 * malloc/obstack.c (_obstack_compat): Add initializer.
16945
12fba011
EM
169462013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16947
16948 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16949 si_trapno and add si_addr_lsb to _sifields.sigfault.
16950 (si_trapno): Remove macro.
16951 (si_addr_lsb): Define new macro.
16952 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16953
d369f531
JM
169542013-05-15 Joseph Myers <joseph@codesourcery.com>
16955
b861c6c4
JM
16956 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16957 instead of TEST_f_l.
16958 (llrint_test_tonearest): Likewise.
16959 (llrint_test_towardzero): Likewise.
16960 (llrint_test_downward): Likewise.
16961 (llrint_test_upward): Likewise.
16962 (llround_test): Likewise.
16963
7abeee12
JM
16964 * math/libm-test.inc (struct test_f_i_data): Add comment.
16965 (RUN_TEST_LOOP_f_b): New macro.
16966 (RUN_TEST_LOOP_f_b_tg): Likewise.
16967 (finite_test_data): New variable.
16968 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16969 (isfinite_test_data): New variable.
16970 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16971 (isinf_test_data): New variable.
16972 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16973 (isnan_test_data): New variable.
16974 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16975 (isnormal_test_data): New variable.
16976 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16977 (issignaling_test_data): New variable.
16978 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16979 (signbit_test_data): New variable.
16980 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16981
cbe8c4d3
JM
16982 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16983 with INVALID_EXCEPTION.
16984 (acosh_test_data): Likewise.
16985 (asin_test_data): Likewise.
16986 (atanh_test_data): Likewise.
16987 (fmod_test_data): Likewise.
16988 (log_test_data): Likewise.
16989 (log10_test_data): Likewise.
16990 (log2_test_data): Likewise.
16991 (pow_test_data): Likewise.
16992 (sqrt_test_data): Likewise.
16993 (y0_test_data): Likewise.
16994 (y1_test_data): Likewise.
16995 (yn_test_data): Likewise.
16996
5575c0e5
JM
16997 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16998 function contents.
16999
d369f531
JM
17000 * math/libm-test.inc (struct test_ff_i_data): New type.
17001 (RUN_TEST_LOOP_ff_i_tg): New macro.
17002 (isgreater_test_data): New variable.
17003 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17004 (isgreaterequal_test_data): New variable.
17005 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17006 (isless_test_data): New variable.
17007 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17008 (islessequal_test_data): New variable.
17009 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17010 (islessgreater_test_data): New variable.
17011 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17012 (isunordered_test_data): New variable.
17013 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17014
781fd748
DM
170152013-05-14 David S. Miller <davem@davemloft.net>
17016
17017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17018
87aa21df
JM
170192013-05-14 Joseph Myers <joseph@codesourcery.com>
17020
5e908270
JM
17021 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17022
f71172e5
JM
17023 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17024 extra_test to int.
17025 (struct test_f_i_data): Change type of max_ulp to int.
17026
8cfa635a
JM
17027 * math/libm-test.inc (test_ffI_f1_data): New type.
17028 (RUN_TEST_LOOP_ffI_f1): New macro.
17029 (remquo_test_data): New variable.
17030 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17031
2bcb36b2
JM
17032 * setjmp/tst-setjmp-fp.c: New file.
17033 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17034 (link-libm): New variable.
17035 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17036
acbd839a
JM
17037 * math/libm-test.inc (struct test_f_i_data): New type.
17038 (RUN_TEST_LOOP_f_i): New macro.
17039 (RUN_TEST_LOOP_f_i_tg): Likewise.
17040 (fpclassify_test_data): New variable.
17041 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17042 (ilogb_test_data): New variable.
17043 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17044
e414d745
JM
17045 * math/libm-test.inc (scalbln_test): Correct function name in END
17046 call.
17047
d9c2a0fd
JM
17048 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17049 (RUN_TEST_LOOP_fI_f1): New macro.
17050 (frexp_test_data): New variable.
17051 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17052
9dc9095d
JM
17053 * math/libm-test.inc (struct test_fF_f1_data): New type.
17054 (RUN_TEST_LOOP_fF_f1): New macro.
17055 (modf_test_data): New variable.
17056 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17057
87aa21df
JM
17058 * math/libm-test.inc (struct test_f_f1_data): New type.
17059 (RUN_TEST_LOOP_f_f1): New macro.
17060 (gamma_test_data): New variable.
17061 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17062 (lgamma_test_data): New variable.
17063 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17064
141af660
CD
170652013-05-13 Carlos O'Donell <carlos@redhat.com>
17066
17067 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17068 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17069 (main): Comment "tls" pseudo-hwcap.
17070
6d33265c
JM
170712013-05-13 Joseph Myers <joseph@codesourcery.com>
17072
68fc074c
JM
17073 * math/libm-test.inc (struct test_fl_f_data): New type.
17074 (RUN_TEST_LOOP_fl_f): New variable.
17075 (scalbln_test_data): New variable.
17076 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17077
243216e1
JM
17078 * math/libm-test.inc (struct test_fi_f_data): New type.
17079 (RUN_TEST_LOOP_fi_f): New macro.
17080 (ldexp_test_data): New variable.
17081 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17082 (scalbn_test_data): New variable.
17083 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17084
6a1992e2
JM
17085 * math/libm-test.inc (struct test_c_f_data): New type.
17086 (RUN_TEST_LOOP_c_f): New macro.
17087 (cabs_test_data): New variable.
17088 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17089 (carg_test_data): New variable.
17090 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17091 (cimag_test_data): New variable.
17092 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17093 (creal_test_data): New variable.
17094 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17095
0e400df5
JM
17096 * math/libm-test.inc (struct test_if_f_data): New type.
17097 (RUN_TEST_LOOP_if_f): New macro.
17098 (jn_test_data): New variable.
17099 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17100 (yn_test_data): New variable.
17101 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17102
6d33265c
JM
17103 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17104
f98ece5f
AZ
171052013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17106
17107 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17108 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17109
0f7d347b
SP
171102013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17111
43fe811b
SP
17112 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17113 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17114 (bench-deps): Add bench-timing.h.
17115 * benchtests-bench-skeleton.c: Include bench-timing.h.
17116 (main): Use TIMING_* macros instead of clock_gettime.
17117 * benchtests/bench-timing.h: New file.
17118
0f7d347b
SP
17119 [BZ #14582]
17120 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17121 Renamed from _LIB_VERSION.
17122 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17123
601a3a5f
JM
171242013-05-12 Joseph Myers <joseph@codesourcery.com>
17125
4f184d30
JM
17126 * math/libm-test.inc (struct test_fff_f_data): New type.
17127 (RUN_TEST_LOOP_fff_f): New macro.
17128 (fma_test_data): New variable.
17129 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17130 (fma_towardzero_test_data): New variable.
17131 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17132 (fma_downward_test_data): New variable.
17133 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17134 (fma_upward_test_data): New variable.
17135 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17136
08198877
JM
17137 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17138 (struct test_c_c_data): New type.
17139 (RUN_TEST_LOOP_c_c): New macro.
17140 (cacos_test_data): New variable.
17141 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17142 (cacosh_test_data): New variable.
17143 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17144 (casin_test_data): New variable.
17145 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17146 (casinh_test_data): New variable.
17147 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17148 (catan_test_data): New variable.
17149 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17150 (catanh_test_data): New variable.
17151 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17152 (ccos_test_data): New variable.
17153 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17154 (ccosh_test_data): New variable.
17155 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17156 (cexp_test_data): New variable.
17157 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17158 (clog_test_data): New variable.
17159 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17160 (clog10_test_data): New variable.
17161 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17162 (conj_test_data): New variable.
17163 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17164 (cproj_test_data): New variable.
17165 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17166 (csin_test_data): New variable.
17167 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17168 (csinh_test_data): New variable.
17169 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17170 (csqrt_test_data): New variable.
17171 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17172 (ctan_test_data): New variable.
17173 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17174 (ctan_tonearest_test_data): New variable.
17175 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17176 (ctan_towardzero_test_data): New variable.
17177 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17178 (ctan_downward_test_data): New variable.
17179 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17180 (ctan_upward_test_data): New variable.
17181 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17182 (ctanh_test_data): New variable.
17183 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17184 (ctanh_tonearest_test_data): New variable.
17185 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17186 (ctanh_towardzero_test_data): New variable.
17187 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17188 (ctanh_downward_test_data): New variable.
17189 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17190 (ctanh_upward_test_data): New variable.
17191 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17192 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17193 of BUILD_COMPLEX.
17194
601a3a5f
JM
17195 * math/libm-test.inc (struct test_ff_f_data): New type.
17196 (struct test_ff_f_data_nexttoward): Likewise.
17197 (RUN_TEST_LOOP_2_f): New macro.
17198 (RUN_TEST_LOOP_ff_f): Likewise.
17199 (atan2_test_data): New variable.
17200 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17201 (copysign_test_data): New variable.
17202 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17203 (fdim_test_data): New variable.
17204 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17205 (fmax_test_data): New variable.
17206 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17207 (fmin_test_data): New variable.
17208 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17209 (fmod_test_data): New variable.
17210 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17211 (hypot_test_data): New variable.
17212 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17213 (nextafter_test_data): New variable.
17214 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17215 (nexttoward_test_data): New variable.
17216 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17217 (pow_test_data): New variable.
17218 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17219 (pow_tonearest_test_data): New variable.
17220 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17221 (pow_towardzero_test_data): New variable.
17222 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17223 (pow_downward_test_data): New variable.
17224 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17225 (pow_upward_test_data): New variable.
17226 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17227 (remainder_test_data): New variable.
17228 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17229 (scalb_test_data): New variable.
17230 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17231 * sysdeps/i386/fpu/libm-test-ulps: Update.
17232
74c57478
JM
172332013-05-11 Joseph Myers <joseph@codesourcery.com>
17234
8329e4da
JM
17235 * math/libm-test.inc (fma_test): Use max_value instead of local
17236 variable fltmax.
17237 (nextafter_test): Likewise.
17238
74c57478
JM
17239 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17240 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17241 (acos_downward_test_data): New variable.
17242 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17243 (acos_upward_test_data): New variable.
17244 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17245 (acosh_test_data): New variable.
17246 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17247 (asin_test_data): New variable.
17248 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17249 (asin_tonearest_test_data): New variable.
17250 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17251 (asin_towardzero_test_data): New variable.
17252 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17253 (asin_downward_test_data): New variable.
17254 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17255 (asin_upward_test_data): New variable.
17256 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17257 (asinh_test_data): New variable.
17258 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17259 (atan_test_data): New variable.
17260 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17261 (atanh_test_data): New variable.
17262 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17263 (cbrt_test_data): New variable.
17264 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17265 (ceil_test_data): New variable.
17266 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17267 (cos_test_data): New variable.
17268 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17269 (cos_tonearest_test_data): New variable.
17270 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17271 (cos_towardzero_test_data): New variable.
17272 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17273 (cos_downward_test_data): New variable.
17274 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17275 (cos_upward_test_data): New variable.
17276 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17277 (cosh_test_data): New variable.
17278 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17279 (cosh_tonearest_test_data): New variable.
17280 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17281 (cosh_towardzero_test_data): New variable.
17282 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17283 (cosh_downward_test_data): New variable.
17284 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17285 (cosh_upward_test_data): New variable.
17286 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17287 (erf_test_data): New variable.
17288 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17289 (erfc_test_data): New variable.
17290 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17291 (exp_test_data): New variable.
17292 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17293 (exp_tonearest_test_data): New variable.
17294 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17295 (exp_towardzero_test_data): New variable.
17296 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17297 (exp_downward_test_data): New variable.
17298 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17299 (exp_upward_test_data): New variable.
17300 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17301 (exp10_test_data): New variable.
17302 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17303 (exp2_test_data): New variable.
17304 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17305 (expm1_test_data): New variable.
17306 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17307 (fabs_test_data): New variable.
17308 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17309 (floor_test_data): New variable.
17310 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17311 (j0_test_data): New variable.
17312 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17313 (j1_test_data): New variable.
17314 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17315 (log_test_data): New variable.
17316 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17317 (log10_test_data): New variable.
17318 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17319 (log1p_test_data): New variable.
17320 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17321 (log2_test_data): New variable.
17322 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17323 (logb_test_data): New variable.
17324 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17325 (logb_downward_test_data): New variable.
17326 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17327 (nearbyint_test_data): New variable.
17328 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17329 (rint_test_data): New variable.
17330 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17331 (rint_tonearest_test_data): New variable.
17332 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17333 (rint_towardzero_test_data): New variable.
17334 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17335 (rint_downward_test_data): New variable.
17336 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17337 (rint_upward_test_data): New variable.
17338 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17339 (round_test_data): New variable.
17340 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17341 (sin_test_data): New variable.
17342 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17343 (sin_tonearest_test_data): New variable.
17344 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17345 (sin_towardzero_test_data): New variable.
17346 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17347 (sin_downward_test_data): New variable.
17348 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17349 (sin_upward_test_data): New variable.
17350 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17351 (sinh_test_data): New variable.
17352 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17353 (sinh_tonearest_test_data): New variable.
17354 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17355 (sinh_towardzero_test_data): New variable.
17356 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17357 (sinh_downward_test_data): New variable.
17358 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17359 (sinh_upward_test_data): New variable.
17360 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17361 (sqrt_test_data): New variable.
17362 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17363 (tan_test_data): New variable.
17364 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17365 (tan_tonearest_test_data): New variable.
17366 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17367 (tan_towardzero_test_data): New variable.
17368 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17369 (tan_downward_test_data): New variable.
17370 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17371 (tan_upward_test_data): New variable.
17372 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17373 (tanh_test_data): New variable.
17374 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17375 (tgamma_test_data): New variable.
17376 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17377 (trunc_test_data): New variable.
17378 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17379 (y0_test_data): New variable.
17380 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17381 (y1_test_data): New variable.
17382 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17383 (significand_test_data): New variable.
17384 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17385
7187d844
CG
173862013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17387
17388 [BZ #12387]
17389 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17390
f63fae73
PT
173912013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17392
17393 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17394
8a67a4b3
AJ
173952013-05-10 Andreas Jaeger <aj@suse.de>
17396
17397 [BZ #15448]
17398 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17399 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17400
51df539d
JM
174012013-05-10 Joseph Myers <joseph@codesourcery.com>
17402
17403 * math/gen-libm-test.pl (adjust_arg): New function.
17404 (special_functions): Handle generating output in both functions
17405 and arrays.
17406 (parse_args): Likewise.
17407 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17408 $in_func argument to parse_args.
17409 * math/libm-test.inc (struct test_f_f_data): New type.
17410 (IF_ROUND_INIT_): New macro.
17411 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17412 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17413 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17414 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17415 (ROUND_RESTORE_): Likewise.
17416 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17417 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17418 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17419 (ROUND_RESTORE_FE_UPWARD): Likewise.
17420 (RUN_TEST_LOOP_f_f): New macro.
17421 (acos_test_data): New variable.
17422 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17423 (acos_tonearest_test_data): New variable.
17424 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17425
5c637fe5
SP
174262013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17427
17428 * benchtests/bench-skeleton.c (startup): Fix coding style.
17429
ab2b9461
JM
174302013-05-10 Joseph Myers <joseph@codesourcery.com>
17431
17432 [BZ #6809]
17433 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17434 negative infinity argument.
17435 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17436 negative infinity argument.
17437 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17438 negative infinity argument.
17439 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17440 domain errors.
17441
4c0fe6fe
FW
174422013-05-10 Florian Weimer <fweimer@redhat.com>
17443
17444 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17445 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17446 * iconv/iconv_prog.c (main): Likewise.
17447 * locale/programs/charmap-dir.c (charmap_readdir)
17448 (fopen_uncompressed): Likewise.
17449 * locale/programs/locfile.c (siblings_uncached)
17450 (write_locale_data): Use lstat64 instead of lstat.
17451 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17452 stat.
17453
a3375d29
AJ
174542013-05-10 Andreas Jaeger <aj@suse.de>
17455
17456 [BZ #15395]
17457 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17458 localization.
17459 Include <locale.h>.
17460
36129722
CD
174612013-05-09 Carlos O'Donell <carlos@redhat.com>
17462
17463 * elf/dl-close.c (_dl_close_worker): Add comments.
17464
faa7f811
JM
174652013-05-09 Joseph Myers <joseph@codesourcery.com>
17466
ed41ffef
JM
17467 [BZ #15359]
17468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17469 high part of pi/2.
17470 (__ieee754_rem_pio2l): Update comments.
17471
d0213cd0
JM
17472 [BZ #15429]
17473 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17474 high part of pi/2.
17475 (__ieee754_rem_pio2l): Update comments.
17476
0d3e777a
JM
17477 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17478 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17479
24f56066
JM
17480 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17481 M_PI_4l.
17482
faa7f811
JM
17483 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17484 (M_PI_34_LOG10El): Likewise.
17485 (M_PI2_LOG10El): Likewise.
17486 (M_PI4_LOG10El): Likewise.
17487 (M_PI_LOG10El): Likewise.
17488
e9a5e0fd
AZ
174892013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17490
17491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17492
d8cd06db
JM
174932013-05-08 Joseph Myers <joseph@codesourcery.com>
17494
a0d9f9d7
JM
17495 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17496 (MINUS_ZERO_INIT): Likewise.
17497 (PLUS_INFTY_INIT): Likewise.
17498 (MINUS_INFTY_INIT): Likewise.
17499 (QNAN_VALUE_INIT): Likewise.
17500 (MAX_VALUE_INIT): Likewise.
17501 (MIN_VALUE_INIT): Likewise.
17502 (MIN_SUBNORM_VALUE_INIT): Likewise.
17503 (plus_zero): Initialize with PLUS_ZERO_INIT.
17504 (minus_zero): Initialize with MINUS_ZERO_INIT.
17505 (plus_infty): Initialize with PLUS_INFTY_INIT.
17506 (minus_infty): Initialize with MINUS_INFTY_INIT.
17507 (qnan_value): Initialize with QNAN_VALUE_INIT.
17508 (max_value): Initialize with MAX_VALUE_INIT.
17509 (min_value): Initialize with MIN_VALUE_INIT.
17510 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17511
ae08db3b
JM
17512 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17513 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17514 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17515 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17516
f44bf14a
JM
17517 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17518 (RUN_TEST_2_f): Likewise.
17519 (RUN_TEST_ff_f): Likewise.
17520 (RUN_TEST_fi_f): Likewise.
17521 (RUN_TEST_fl_f): Likewise.
17522 (RUN_TEST_fff_f): Likewise.
17523 (RUN_TEST_c_f): Likewise.
17524 (RUN_TEST_f_f1): Likewise.
17525 (RUN_TEST_fF_f1): Likewise.
17526 (RUN_TEST_fI_f1): Likewise.
17527 (RUN_TEST_ffI_f1): Likewise.
17528 (RUN_TEST_c_c): Likewise.
17529 (RUN_TEST_cc_c): Likewise.
17530 (RUN_TEST_f_i): Likewise.
17531 (RUN_TEST_f_i_tg): Likewise.
17532 (RUN_TEST_ff_i_tg): Likewise.
17533 (RUN_TEST_f_b): Likewise.
17534 (RUN_TEST_f_b_tg): Likewise.
17535 (RUN_TEST_f_l): Likewise.
17536 (RUN_TEST_f_L): Likewise.
17537 (RUN_TEST_sincos): Likewise.
17538 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17539 whether to show exceptions. Do not include ");\n" in return
17540 value.
17541 (special_functions): Output call to RUN_TEST_sincos instead of
17542 check_float calls. Update calls to new_test.
17543 (parse_args): Output call to single RUN_TEST_* macro instead of
17544 check_* calls and other assignments. Update calls to new_test.
17545
d8cd06db
JM
17546 [BZ #2546]
17547 [BZ #2560]
17548 [BZ #5159]
17549 [BZ #15426]
17550 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17551 input to result for tgamma overflow.
17552 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17553 (gamma_coeff): New variable.
17554 (NCOEFF): New macro.
17555 (gamma_positive): New function.
17556 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17557 underflow here. Use gamma_positive instead of exp (lgamma) for
17558 other arguments.
17559 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17560 (gamma_coeff): New variable.
17561 (NCOEFF): New macro.
17562 (gammaf_positive): New function.
17563 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17564 underflow here. Use gamma_positive instead of exp (lgamma) for
17565 other arguments.
17566 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17567 (gamma_coeff): New variable.
17568 (NCOEFF): New macro.
17569 (gammal_positive): New function.
17570 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17571 underflow here. Use gamma_positive instead of exp (lgamma) for
17572 other arguments.
17573 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17574 (gamma_coeff): New variable.
17575 (NCOEFF): New macro.
17576 (gammal_positive): New function.
17577 (__ieee754_gammal_r): Handle positive infinity, overflow and
17578 underflow here. Handle NaN the same as positive infinity. Remove
17579 check x < 0xffffffff for negative integers. Use gamma_positive
17580 instead of exp (lgamma) for other arguments.
17581 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17582 (gamma_coeff): New variable.
17583 (NCOEFF): New macro.
17584 (gammal_positive): New function.
17585 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17586 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17590 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17591 * sysdeps/generic/math_private.h (__gamma_productf): New
17592 prototype.
17593 (__gamma_product): Likewise.
17594 (__gamma_productl): Likewise.
17595 * math/Makefile (libm-calls): Add gamma_product.
17596 * math/libm-test.inc (tgamma_test): Add more tests.
17597 * sysdeps/i386/fpu/libm-test-ulps: Update.
17598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17599
bb7cf681
OB
176002013-05-08 Ondřej Bílka <neleai@seznam.cz>
17601
17602 * benchtests/bench-skeleton.c (main): Preheat CPU.
17603
ba853947
AJ
176042013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17605
17606 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17607
8347c74c
RM
176082013-05-07 Roland McGrath <roland@hack.frob.com>
17609
17610 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17611 and _dl_skip_args_internal.
17612
e8dd4791
CD
176132013-05-07 Carlos O'Donell <carlos@redhat.com>
17614
17615 * manual/message.texi (Message Translation): Talk about users.
17616 Message to key mapping impacts design.
17617
c7405830
RM
176182013-05-06 Roland McGrath <roland@hack.frob.com>
17619
a9173057
RM
17620 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17621
976e2f03
RM
17622 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17623
9723ffc5
RM
17624 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17625 * sysdeps/wordsize-64/glob64.c: ... here.
17626
962e6658
RM
17627 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17628 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17629 New macros.
17630
ee586a6d
RM
17631 * debug/getlogin_r_chk.c: Moved to ...
17632 * login/getlogin_r_chk.c: ... here.
17633 * debug/Makefile (routines): Move getlogin_r_chk to ...
17634 * login/Makefile (routines): ... here.
17635 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17636 * login/Versions (libc: GLIBC_2.4): ... here.
17637
355f9165
RM
17638 * io/poll.c (__poll): Renamed from poll.
17639 Add libc_hidden_def.
17640 (poll): Define as weak alias.
17641
bd9ffde6
RM
17642 * debug/ptsname_r_chk.c: Moved to ...
17643 * login/ptsname_r_chk.c: ... here.
17644 * debug/Makefile (routines): Move ptsname_r_chk to ...
17645 * login/Makefile (routines): ... here.
17646 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17647 * login/Versions (libc: GLIBC_2.4): ... here.
17648
8fb16a04
RM
17649 * posix/getlogin.c: Moved to ...
17650 * login/getlogin.c: ... here.
17651 * posix/getlogin_r.c: Moved to ...
17652 * login/getlogin_r.c: ... here.
17653 * posix/getlogin_r.c: Moved to ...
17654 * login/getlogin_r.c: ... here.
17655 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17656 * login/Makefile (routines): ... here.
17657 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17658 * login/Versions (libc: GLIBC_2.0): ... here.
17659
b99b892f
RM
17660 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17661 (setrlimit): Define as weak alias.
17662
c7405830
RM
17663 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17664 Call __ names for open, ftruncate, and close.
17665 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17666 (truncate): Define as weak alias.
17667
5bf96de5
JM
176682013-05-06 Joseph Myers <joseph@codesourcery.com>
17669
9ea3513c
JM
17670 * math/gen-libm-test.pl (parse_args): Initialize x before each
17671 test of frexp, modf and remquo.
17672
5bf96de5
JM
17673 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17674 test signgam value.
17675
16e616a7
AZ
176762013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17677
17678 [BZ #15418]
17679 [BZ #15419]
17680 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17681 internal tests.
17682 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17683
d5e82754
RM
176842013-05-06 Roland McGrath <roland@hack.frob.com>
17685
17686 * elf/dl-writev.h: New file.
17687 * elf/dl-misc.c: Include it.
17688 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17689 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17690
a7548d41
JM
176912013-05-04 Joseph Myers <joseph@codesourcery.com>
17692
b7dab1e4
JM
17693 * math/libm-test.inc (noXFails): Remove variable.
17694 (noXPasses): Likewise.
17695 (BUILD_COMPLEX_INT): Remove macro.
17696 (print_screen): Remove xfail argument.
17697 (print_screen_max_error): Likewise.
17698 (update_stats): Likewise.
17699 (print_max_error): Likewise. Update calls to other affected
17700 functions.
17701 (print_complex_max_error): Likewise.
17702 (test_single_exception): Update calls to print_screen.
17703 (test_single_errno): Likewise.
17704 (check_float_internal): Remove xfail argument. Update calls to
17705 other affected functions.
17706 (check_float): Likewise.
17707 (check_complex): Likewise.
17708 (check_int): Likewise.
17709 (check_long): Likewise.
17710 (check_bool): Likewise.
17711 (check_longlong): Likewise.
17712 (main): Don't print noXFails and noXPasses.
17713 * math/gen-libm-test.pl (top level): Don't mention expected
17714 failure handling in comment.
17715 (new_test): Don't handle expected failures.
17716 (parse_args): Don't mention expected failure handling in comment.
17717 (generate_testfile): Don't handle expected failures.
17718 (parse_ulps): Likewise.
17719 (print_ulps_file): Likewise.
17720 (get_failure): Remove function.
17721 (output_test): Don't handle expected failures.
17722 * make/README.libm-test: Don't mention expected failure handling.
17723
a7548d41
JM
17724 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17725 (minus_zero): Likewise.
17726 (plus_infty): Likewise.
17727 (minus_infty): Likewise.
17728 (qnan_value): Likewise.
17729 (max_value): Likewise.
17730 (min_value): Likewise.
17731 (min_subnorm_value): Likewise.
17732 (initialize): Do not initialize those variables dynamically.
17733
60bfd54c
RM
177342013-05-03 Roland McGrath <roland@hack.frob.com>
17735
cc0e6ed8
RM
17736 * io/open.c (__open_2): Moved to ...
17737 * io/open_2.c: ... this new file.
17738 * io/open64.c (__open64_2): Moved to ...
17739 * io/open64_2.c: ... this new file.
17740 * io/openat.c (__openat_2): Moved to ...
17741 * io/openat_2.c: ... this new file.
17742 * io/openat64.c (__openat64_2): Moved to ...
17743 * io/openat64_2.c: ... this new file.
17744 * io/Makefile (routines): Add them.
17745 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17746 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17747 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17748 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17749 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17750 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17751 (__openat64): Add hidden_ver.
17752 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17753 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17754
60bfd54c
RM
17755 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17756 Separately conditionalize setting of GLRO(dl_sysinfo) so
17757 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17758 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17759
83e7640f
AZ
177602013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17761
17762 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17763 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17764 definition.
17765 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17766 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17767 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17768 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17769 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17770
d5dc2af3
JM
177712013-05-03 Joseph Myers <joseph@codesourcery.com>
17772
c31a5b1e
JM
17773 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17774 test signgam value.
17775
d5dc2af3
JM
17776 * math/libm-test.inc (hypot_test): Do not use
17777 IGNORE_ZERO_INF_SIGN.
17778
164fd39d
AJ
177792013-05-03 Andreas Jaeger <aj@suse.de>
17780
17781 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17782 Linux 3.9.
17783 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17784 (PF_MAX): Adjust for VSOCK change.
17785
8237f48c
AZ
177862013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17787
17788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17789
9df02941
CD
177902013-05-02 Carlos O'Donell <carlos@redhat.com>
17791
17792 [BZ #15264]
17793 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17794 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17795 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17796
d422395e
DM
177972013-05-02 David S. Miller <davem@davemloft.net>
17798
17799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17800
a07c5731
OB
178012013-05-01 Ondřej Bílka <neleai@seznam.cz>
17802
17803 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17804
1324e37f
RM
178052013-05-01 Roland McGrath <roland@hack.frob.com>
17806
17807 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17808
0695940b
RS
178092013-05-01 Richard Smith <richard@metafoo.co.uk>
17810
bb5f27ad 17811 [BZ #14952]
0695940b
RS
17812 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17813 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17814 Use __attribute__ ((__gnu_inline__)).
17815 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17816 Don't use __attribute__ ((__gnu_inline__)).
17817
10de07f5
JM
178182013-05-01 Joseph Myers <joseph@codesourcery.com>
17819
17820 [BZ #15423]
17821 * math/s_catan.c (__catan): Handle small real or imaginary part of
17822 input specially to avoid spurious underflow.
17823 * math/s_catanf.c (__catanf): Likewise.
17824 * math/s_catanh.c (__catanh): Likewise.
17825 * math/s_catanhf.c (__catanhf): Likewise.
17826 * math/s_catanhl.c (__catanhl): Likewise.
17827 * math/s_catanl.c (__catanl): Likewise.
17828 * math/libm-test.inc (catan_test): Add more tests.
17829 (catanh_test): Likewise.
17830 * sysdeps/i386/fpu/libm-test-ulps: Update.
17831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17832
cb4d5414
AZ
178332013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17834
17835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17836
caf84319
JM
178372013-04-30 Joseph Myers <joseph@codesourcery.com>
17838
17839 [BZ #15416]
17840 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17841 accurately for denominator in atan2.
17842 * math/s_catanf.c (__catanf): Likewise.
17843 * math/s_catanh.c (__catanh): Likewise.
17844 * math/s_catanhf.c (__catanhf): Likewise.
17845 * math/s_catanhl.c (__catanhl): Likewise.
17846 * math/s_catanl.c (__catanl): Likewise.
17847 * math/libm-test.inc (catan_test): Add more tests.
17848 (catanh_test): Likewise.
17849 * sysdeps/i386/fpu/libm-test-ulps: Update.
17850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17851
d569c6ee
SP
178522013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17853
6dbe713d
SP
17854 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17855
f0ee064b
SP
17856 * benchtests/Makefile (bench): Remove slow benchmarks.
17857 * benchtests/atan-inputs: Add slow benchmark inputs.
17858 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17859 (BENCH_FUNC): Accept variant offset.
17860 (VARIANT): Define.
17861 * benchtests/bench-skeleton.c (main): Run benchmark for each
17862 variant.
17863 * benchtests/cos-inputs: Add slow benchmark inputs.
17864 * benchtests/exp-inputs: Likewise.
17865 * benchtests/pow-inputs: Likewise.
17866 * benchtests/sin-inputs: Likewise.
17867 * benchtests/slowatan-inputs: Remove.
17868 * benchtests/slowatan.c: Remove.
17869 * benchtests/slowcos-inputs: Remove.
17870 * benchtests/slowcos.c: Remove.
17871 * benchtests/slowexp-inputs: Remove.
17872 * benchtests/slowexp.c: Remove.
17873 * benchtests/slowpow-inputs: Remove.
17874 * benchtests/slowpow.c: Remove.
17875 * benchtests/slowsin-inputs: Remove.
17876 * benchtests/slowsin.c: Remove.
17877 * benchtests/slowtan-inputs: Remove.
17878 * benchtests/slowtan.c: Remove.
17879 * benchtests/tan-inputs: Add slow benchmark inputs.
17880 * scripts/bench.pl: Parse comments and directives.
17881
d569c6ee
SP
17882 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17883 in CPPFLAGS.
17884 ($(objpfx)bench-%.c): Remove *-ITER.
17885 * benchtests/bench-modf.c: Remove definition of ITER.
17886 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17887 (main): Loop for DURATION seconds instead of fixed number of
17888 iterations.
17889 * scripts/bench.pl: Don't expect iterations in parameters.
17890
a6a242fe
RM
178912013-04-29 Roland McGrath <roland@hack.frob.com>
17892
17893 * io/fchdir.c (__fchdir): Renamed from fchdir.
17894 (fchdir): Define as weak alias.
17895
f2da7793
JM
178962013-04-29 Joseph Myers <joseph@codesourcery.com>
17897
17898 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17899 (ERRNO_EDOM): Likewise.
17900 (ERRNO_ERANGE): Likewise.
17901 (noErrnoTests): New variable.
17902 (init_max_error): Set errno to 0.
17903 (test_single_errno): New function.
17904 (test_errno): Likewise.
17905 (check_float_internal): Call test_errno. Set errno to 0.
17906 (check_complex): Refer to errno tests in comment.
17907 (check_int): Call test_errno. Set errno to 0.
17908 (check_long): Likewise.
17909 (check_bool): Likewise.
17910 (check_longlong): Likewise.
17911 (cos_test): Use ERRNO_* flags for errno tests instead of
17912 check_int.
17913 (expm1_test): Likewise.
17914 (fmod_test): Likewise.
17915 (ilogb_test): Likewise.
17916 (lgamma_test): Likewise.
17917 (pow_test): Likewise.
17918 (remainder_test): Likewise.
17919 (sin_test): Likewise.
17920 (tan_test): Likewise.
17921 (yn_test): Likewise.
17922 (initialize): Set errno to 0.
17923 (main): Print number of errno tests.
17924 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17925
b1a36ceb
AJ
179262013-04-29 Andreas Jaeger <aj@suse.de>
17927
c3ed8088
AJ
17928 [BZ #15084]
17929 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17930 and RES_USEVC.
17931
f1a24198
AJ
17932 [BZ #15085]
17933 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17934 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17935 unimplemented.
17936
9ce3b2cb
AJ
17937 [BZ #15380]
17938 * stdlib/random.c (__initstate): Return NULL if
17939 __initstate fails.
17940
f1a24198 17941 [BZ #15086]
b1a36ceb
AJ
17942 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17943 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17944 RES_SNGLKUPREOP.
17945
7e7b6f36
AZ
179462013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17947
17948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17949
4d14f449
JM
179502013-04-29 Joseph Myers <joseph@codesourcery.com>
17951
17952 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17953 of individual tests.
17954 (casin_test): Likewise.
17955 (casinh_test): Likewise.
17956
5b4217d7
JM
179572013-04-27 Joseph Myers <joseph@codesourcery.com>
17958
17959 [BZ #15409]
17960 * math/s_catan.c (__catan): Handle arguments with large real or
17961 imaginary part separately without squaring.
17962 * math/s_catanf.c (__catanf): Likewise.
17963 * math/s_catanh.c (__catanh): Likewise.
17964 * math/s_catanhf.c (__catanhf): Likewise.
17965 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17966 and redefine.
17967 (__catanhl): Handle arguments with large real or imaginary part
17968 separately without squaring.
17969 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17970 and redefine.
17971 (__catanl): Handle arguments with large real or imaginary part
17972 separately without squaring.
17973 * math/libm-test.inc (catan_test): Add more tests.
17974 (catanh_test): Likewise.
17975 * sysdeps/i386/fpu/libm-test-ulps: Update.
17976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17977
4220c3ef
AJ
179782013-04-27 Andreas Jaeger <aj@suse.de>
17979
17980 [BZ #15007]
17981 * stdlib/stdlib.h: Update guards for qecvt.
17982 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17983 <stdlib.h>.
17984
4721b2d1
AM
179852013-04-27 Allan McRae <allan@archlinux.org>
17986
17987 * sysdeps/i386/fpu/libm-test-ulps: Update.
17988
f0302940
JM
179892013-04-26 Joseph Myers <joseph@codesourcery.com>
17990
9457fd95
JM
17991 [BZ #15406]
17992 * math/s_catan.c: Include <float.h>.
17993 (__catan): Ensure underflow exception occurs for underflowed
17994 result.
17995 * math/s_catanf.c: Include <float.h>.
17996 (__catanf): Ensure underflow exception occurs for underflowed
17997 result.
17998 * math/s_catanh.c: Include <float.h>.
17999 (__catanh): Ensure underflow exception occurs for underflowed
18000 result.
18001 * math/s_catanhf.c: Include <float.h>.
18002 (__catanhf): Ensure underflow exception occurs for underflowed
18003 result.
18004 * math/s_catanhl.c: Include <float.h>.
18005 (__catanhl): Ensure underflow exception occurs for underflowed
18006 result.
18007 * math/s_catanl.c: Include <float.h>.
18008 (__catanl): Ensure underflow exception occurs for underflowed
18009 result.
18010 * math/libm-test.inc (catan_test): Add more tests.
18011 (catanh_test): Likewise.
18012
f0302940
JM
18013 [BZ #15405]
18014 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18015 underflowed result.
18016 * math/s_ccoshf.c (__ccoshf): Likewise.
18017 * math/s_ccoshl.c (__ccoshl): Likewise.
18018 * math/s_csin.c (__csin): Likewise.
18019 * math/s_csinf.c (__csinf): Likewise.
18020 * math/s_csinh.c (__csinh): Likewise.
18021 * math/s_csinhf.c (__csinhf): Likewise.
18022 * math/s_csinhl.c (__csinhl): Likewise.
18023 * math/s_csinl.c (__csinl): Likewise.
18024 * math/libm-test.inc (ccos_test): Add more tests.
18025 (ccosh_test): Likewise.
18026 (csin_test): Likewise.
18027 (csinh_test): Likewise.
18028
aa630f59
AZ
180292013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18030
18031 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18032 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18033 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18034 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18035 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18036 powerpc/power5+/fpu folders.
18037 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18038
18039
1b835983
MT
180402013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18041
18042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18043
73709b26
JM
180442013-04-25 Joseph Myers <joseph@codesourcery.com>
18045
18046 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18047 additions to variable.
18048 [$(config-machine) = x86_64] (modules-names): Likewise.
18049 ($(objpfx)tst-audit3): Remove dependency.
18050 ($(objpfx)tst-audit3.out): Likewise.
18051 ($(objpfx)tst-audit4): Likewise.
18052 ($(objpfx)tst-audit4.out): Likewise.
18053 ($(objpfx)tst-audit5): Likewise.
18054 ($(objpfx)tst-audit5.out): Likewise.
18055 ($(objpfx)tst-audit6): Likewise.
18056 ($(objpfx)tst-audit6.out): Likewise.
18057 ($(objpfx)tst-audit7): Likewise.
18058 ($(objpfx)tst-audit7.out): Likewise.
18059 (tst-audit3-ENV): Remove variable.
18060 (tst-audit4-ENV): Likewise.
18061 (tst-audit5-ENV): Likewise.
18062 (tst-audit6-ENV): Likewise.
18063 (tst-audit7-ENV): Likewise.
18064 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18065 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18066 addition to variable.
18067 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18068 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18069 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18070 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18071 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18072 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18073 tst-audit3, tst-audit4 and tst-audit5.
18074 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18075 tst-audit6 and tst-audit7.
18076 [$(subdir) = elf] (modules-names): Add audit modules for those
18077 tests.
18078 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18079 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18080 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18081 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18082 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18083 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18084 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18085 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18086 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18087 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18088 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18089 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18090 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18091 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18092 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18093 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18094 Likewise.
18095 [$(subdir) = elf && $(config-cflags-avx) = yes]
18096 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18097 [$(subdir) = elf && $(config-cflags-avx) = yes]
18098 (CFLAGS-tst-auditmod4a.c): Likewise.
18099 [$(subdir) = elf && $(config-cflags-avx) = yes]
18100 (CFLAGS-tst-auditmod4b.c): Likewise.
18101 [$(subdir) = elf && $(config-cflags-avx) = yes]
18102 (CFLAGS-tst-auditmod6b.c): Likewise.
18103 [$(subdir) = elf && $(config-cflags-avx) = yes]
18104 (CFLAGS-tst-auditmod6c.c): Likewise.
18105 [$(subdir) = elf && $(config-cflags-avx) = yes]
18106 (CFLAGS-tst-auditmod7b.c): Likewise.
18107 * elf/tst-audit3.c: Move to ...
18108 * sysdeps/x86_64/tst-audit3.c: ... here.
18109 * elf/tst-audit4.c: Move to ...
18110 * sysdeps/x86_64/tst-audit4.c: ... here.
18111 * elf/tst-audit5.c: Move to ...
18112 * sysdeps/x86_64/tst-audit5.c: ... here.
18113 * elf/tst-audit6.c: Move to ...
18114 * sysdeps/x86_64/tst-audit6.c: ... here.
18115 * elf/tst-audit7.c: Move to ...
18116 * sysdeps/x86_64/tst-audit7.c: ... here.
18117 * elf/tst-auditmod3a.c: Move to ...
18118 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18119 * elf/tst-auditmod3b.c: Move to ...
18120 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18121 * elf/tst-auditmod4a.c: Move to ...
18122 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18123 * elf/tst-auditmod4b.c: Move to ...
18124 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18125 * elf/tst-auditmod5a.c: Move to ...
18126 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18127 * elf/tst-auditmod5b.c: Move to ...
18128 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18129 * elf/tst-auditmod6a.c: Move to ...
18130 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18131 * elf/tst-auditmod6b.c: Move to ...
18132 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18133 * elf/tst-auditmod6c.c: Move to ...
18134 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18135 * elf/tst-auditmod7a.c: Move to ...
18136 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18137 * elf/tst-auditmod7b.c: Move to ...
18138 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18139
1ef74943
PP
181402013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18141
18142 [BZ #15366]
18143 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18144 define unconditionally.
18145 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18146 define unconditionally.
18147 (INT8_C, INT16_C, etc.): Likewise.
18148
93fd48c5
MR
181492013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18150
ae9552cf
MR
18151 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18152 __ehdr_start with hidden visibility.
18153
93fd48c5
MR
18154 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18155
418601aa
CD
181562013-04-24 Carlos O'Donell <carlos@redhat.com>
18157
18158 * math/libm-test.inc (cos_test): Use accurate hex constants.
18159 (sincost_test): Likewise.
18160
2f38fbfe
JM
181612013-04-24 Joseph Myers <joseph@codesourcery.com>
18162
5e221800
JM
18163 * math/libm-test.inc (catan_test): Add more tests.
18164 (catanh_test): Likewise.
18165
77f143fd
JM
18166 * math/s_catanf.c (__catanf): Use suffixed floating-point
18167 constants.
18168 * math/s_catanhf.c (__catanhf): Likewise.
18169 * math/s_catanhl.c (__catanhl): Likewise.
18170 * math/s_catanl.c (__catanl): Likewise.
18171
2f38fbfe
JM
18172 [BZ #15394]
18173 * math/s_catan.c (__catan): Calculate imaginary part of result
18174 with log1p not log unless computing log of number close to 0.
18175 * math/s_catanf.c (__catanf): Likewise.
18176 * math/s_catanl.c (__catanl): Likewise.
18177 * math/s_catanh.c (__catanh): Calculate real part of result with
18178 log1p not log unless computing log of number close to 0.
18179 * math/s_catanhf.c (__catanhf): Likewise.
18180 * math/s_catanhl.c (__catanhl): Likewise.
18181 * math/libm-test.inc (catan_test): Add more tests.
18182 (catanh_test): Likewise.
18183 * sysdeps/i386/fpu/libm-test-ulps: Update.
18184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18185
45d69176
SP
181862013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18187
18188 * benchtests/Makefile: Mention files in which fast and slow
18189 paths of math functions are implemented.
18190
87f51853
RM
181912013-04-23 Roland McGrath <roland@hack.frob.com>
18192
18193 * sysdeps/posix/timespec_get.c: New file.
18194
3c026539
AZ
181952013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18196
18197 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18198 POWER.
18199 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18200 for POWER.
18201 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18202 powerpc/power5/fpu folders.
18203 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18204 * benchtests/Makefile: Add modf testcase.
18205 * benchtests/bench-modf.c: New file: Benchmark test for mo
18206
ff491d14
SP
182072013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18208
18209 [BZ #14888]
18210 * time/Makefile (tests): Add tst-strptime-whitespace.
18211 * time/strptime_l.c (get_number): Use ISSPACE.
18212 (__strptime_internal): Likewise.
18213 * time/tst-strptime-whitespace.c: New test case.
18214
7ed3f4e8
AS
182152013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18216
18217 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18218 member.
18219 (_nss_files_init): Set it here.
18220
5c95f7b6
HC
182212013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18222
18223 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18224 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18225 unsigned.
18226
d34c9158
JBG
182272013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18228
18229 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18230
2169712d
SP
182312013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18232
18233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18234 size just once.
18235
29c5de99
DM
182362013-04-21 David S. Miller <davem@davemloft.net>
18237
18238 * po/ru.po: Update Russion translation from translation project.
18239
ccdad15d
AC
182402013-04-17 Adam Conrad <adconrad@0c3.net>
18241
18242 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18243 and setfsgid.
18244
0f122b8d
CD
182452013-04-17 Carlos O'Donell <carlos@redhat.com>
18246
5c5b07da 18247 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18248 * configure: Regenerate.
5c5b07da 18249 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18250 Add example to error message.
18251 * sysdeps/i386/configure: Regenerate.
18252
037714dd
SP
182532013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18254
18255 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18256 slowtan.
18257 * benchtests/cos-inputs: New file.
18258 * benchtests/slowcos-inputs: New file.
18259 * benchtests/slowcos.c: New file.
18260 * benchtests/slowtan-inputs: New file.
18261 * benchtests/slowtan.c: New file.
18262 * benchtests/tan-inputs: New file.
18263
e913141d
RM
182642013-04-16 Roland McGrath <roland@hack.frob.com>
18265
18266 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18267 considered kosher.
18268
a2964074
SP
182692013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18270
4856bcd2
SP
18271 * benchtests/Makefile: Include cppflags-iterator.mk to add
18272 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18273
a2964074
SP
18274 * Makefile.in (bench-clean): New target.
18275 * benchtests/Makefile (bench-clean): Likewise.
18276
9fbf9aca
DH
182772013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18278
18279 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18280
207d1e2a
TS
182812013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18282
18283 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18284
306dfba9
AS
182852013-04-15 Andreas Schwab <schwab@suse.de>
18286
18287 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18288 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18289 * nscd/pwdcache.c (cache_addpw): Likewise.
18290 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18291 more than recsize.
18292
206a6699
SP
182932013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18294
18295 * benchtests/Makefile (bench): Write all output to
18296 bench-out.tmp together.
18297
0582f6b3
AS
182982013-04-15 Andreas Schwab <schwab@suse.de>
18299
18300 * nscd/nscd.c (main): Don't fork again after closing files.
18301
acb4325f
SP
183022013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18303
5cb26d0a
SP
18304 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18305
acb4325f
SP
18306 * benchtests/Rules (bench-deps): Collect dependencies into a
18307 single variable. Add Makefile to dependencies.
18308 ($(objpfx)bench-%.c): Depend on bench-deps.
18309
47792506
RM
183102013-04-12 Roland McGrath <roland@hack.frob.com>
18311 Xavier Roche <roche+kml2@exalead.com>
18312
18313 [BZ #15361]
18314 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18315 just that it's a file descriptor.
18316 * manual/llio.texi (Synchronizing AIO Operations): Update description
18317 for EBADF error from aio_fsync.
18318
8fc1bee5
SP
183192013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18320
18321 * Rules (bench): Move target definition...
18322 * benchtests/Makefile: ... here.
18323
aba5e333
CD
183242013-04-11 Carlos O'Donell <carlos@redhat.com>
18325
18326 * math/libm-test.inc (cos_test): Fix PI/2 test.
18327 (sincos_test): Likewise.
18328 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18329 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18330
273cdee8
AS
183312013-04-11 Andreas Schwab <schwab@suse.de>
18332
6ecec3b6
AS
18333 [BZ #13988]
18334 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18335 accept exponent character only when digits were seen.
18336 * stdio-common/Makefile (tests): Add bug26.
18337 * stdio-common/bug26.c: New file.
18338
273cdee8
AS
18339 [BZ #14293]
18340 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18341 non-freeable.
18342
8da491f5
SP
183432013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18344
01dc6df9
SP
18345 * Makeconfig (rtld-prefix): Define built linker prefix.
18346 * Rules (run-bench): Use it.
18347 * math/Makefile (run-regen-ulps): Likewise.
18348
8da491f5
SP
18349 * Rules (bench): Remove eval.
18350
abe7f530
SP
183512013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18352 Roland McGrath <roland@hack.frob.com>
18353 Ondrej Bilka <neleai@seznam.cz>
18354
18355 [BZ #15346]
18356 * time/getdate.c: Include ctype.h and alloca.h.
18357 (__getdate_r): Trim leading and trailing spaces of input.
18358 * time/tst-getdate.c (tests): Add tests with leading and
18359 trailing spaces.
18360
61c23e62
RM
183612013-04-08 Roland McGrath <roland@hack.frob.com>
18362
18363 [BZ #14280]
18364 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18365 when computing value.
18366
7208a313
CD
183672013-04-06 Carlos O'Donell <carlos@redhat.com>
18368
085b2d41
CD
18369 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18370 Use testrun.sh to run libm tests.
18371
7208a313
CD
18372 [BZ #15309]
18373 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18374
872c0acd
MM
183752013-04-06 Marko Myllynen <myllynen@redhat.com>
18376
18377 [BZ #15264]
18378 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18379
26510bdd
CD
183802013-04-06 Carlos O'Donell <carlos@redhat.com>
18381
18382 * Makefile.in (regen-ulps): New target.
18383 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18384 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18385 [ifneq (no,$(PERL)] (regen-ulps): New target.
18386 [ifeq (no,$(PERL)] (regen-ulps): New target.
18387 * math/libm-test.inc (ulps_file_name): Define.
18388 (output_dir): New variable.
18389 (options): Add "output-dir" option.
18390 (parse_opt): Handle 'o' case.
18391 (main): If output_dir is non-NULL use it as a prefix
18392 otherwise use "".
18393 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18394
a01f19c8
CD
183952013-04-06 Carlos O'Donell <carlos@redhat.com>
18396
18397 [BZ #10060, #10062]
18398 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18399 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18400 fail configure if __sync_val_compare_and_swap is not inlined.
18401 * sysdeps/i386/configure: Regenerate.
18402 * configure.in: Build for i686 when configured for i386.
18403 * configure: Regenerate.
18404 * README: Remove i386 reference.
18405
b7a329a5
CD
184062013-04-06 Carlos O'Donell <carlos@redhat.com>
18407
18408 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18409 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18410
bf0f50df
TS
184112013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18412
ee091edf
TS
18413 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18414 (lmsnanval): New variables.
18415 (F): Add conversion tests.
18416 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18417 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18418
a8b792d6
TS
18419 * stdio-common/tstdiomisc.c (F): Properly collect individual
18420 tests' results.
18421
a1cbf437
TS
18422 [BZ #14686, #15336]
18423 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18424 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18425 Instead, use input NaN values or generate a qNaN by arithmetic
18426 operation. Also fix bugs to comply with the standard.
18427 * math/libm-test.inc (remainder_test): Add more tests.
18428
8b43a0c9
TS
18429 [BZ #15335, #15342]
18430 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18432 input NaN values or generate a qNaN by arithmetic operation.
18433
d91da4ce
TS
18434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18435 unreachable code.
18436
bf0f50df
TS
18437 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18438 definitions.
18439
05e166c8
JM
184402013-04-03 Joseph Myers <joseph@codesourcery.com>
18441
18442 [BZ #14478]
18443 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18444 underflowed result.
18445 * math/s_cexpf.c (__cexpf): Likewise.
18446 * math/s_cexpl.c (__cexpl): Likewise.
18447 * math/libm-test.inc (cexp_test): Add more tests.
18448
1cef1b19
AS
184492013-04-03 Andreas Schwab <schwab@suse.de>
18450
18451 [BZ #15330]
18452 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18453 order arrays from heap if bigger than alloca cutoff.
18454
74d87055
TS
184552013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18456
18457 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18458 (SNAN_TESTS_double): Refer to GCC PR56831.
18459 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18460 GCC PR56828.
18461
d755bba4
SP
184622013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18463
90d5d5bb
SP
18464 * Rules (bench): Move bench.out after the run is complete.
18465
73e0cd5d
SP
18466 * Rules (bench): Echo currently running benchmark.
18467
64aabd4b
SP
18468 * benchtests/Makefile (bench): Add atan and slowatan.
18469 * benchtests/atan-inputs: New file.
18470 * benchtests/slowatan-inputs: New file.
18471 * benchtests/slowatan.c: New file.
18472
c871eccd
SP
18473 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18474 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18475 its value.
18476
d755bba4
SP
18477 [BZ #15305]
18478 * sysdeps/unix/sysv/linux/kernel-features.h
18479 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18480 __ASSUME_XFS_RESTRICTED_CHOWN.
18481 * sysdeps/unix/sysv/linux/pathconf.c
18482 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18483 Save and restore errno.
18484
52ce4860
JM
184852013-04-02 Joseph Myers <joseph@codesourcery.com>
18486
18487 [BZ #15327]
18488 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18489 arguments using __kernel_casinh.
18490 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18491 arguments using __kernel_casinhf.
18492 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18493 arguments using __kernel_casinhl.
18494 * math/libm-test.inc (cacosh_test): Add more tests.
18495 * sysdeps/i386/fpu/libm-test-ulps: Update.
18496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18497
81f311c2
SP
184982013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18499
e7906a47
SP
18500 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18502
92e3664b
SP
18503 * bench/Makefile (bench): Add sin and slowsin.
18504 * benchtests/sin-inputs: New file.
18505 * benchtests/slowsin-inputs: New file.
18506 * benchtests/slowsin.c: New file.
18507
81f311c2
SP
18508 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18509 (bench): Add slowexp and slowpow.
18510 (exp-ITER): Increase iterations.
18511 (pow-ITER): Likewise.
18512 * benchtests/exp-inputs: Change input.
18513 * benchtests/pow-inputs: Likewise.
18514 * benchtests/slowexp-inputs: New file.
18515 * benchtests/slowexp.c: New file.
18516 * benchtests/slowpow-inputs: New file.
18517 * benchtests/slowpow.c: New file.
18518
ab0f1aa9
AZ
185192013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18520
18521 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18522 instructions.
18523 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18524 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18525 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18526 * benchtests/Makefile: Add rint benchtest.
18527 * benchtests/rint-inputs: Input for rint benchtest.
18528
57267616
TS
185292013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18530
18531 * Versions.def (libm): Add GLIBC_2.18.
18532 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18533 hidden libm prototypes.
18534 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18535 * math/Makefile (libm-calls): Add s_issignaling.
18536 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18537 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18538 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18539 declaration.
18540 * math/math.h [__USE_GNU] (issignaling): New macro.
18541 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18542 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18543 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18544 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18545 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18546 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18547 * manual/arith.texi (issignaling): New section.
18548 * manual/libm-err-tab.pl (@all_functions): Update comment.
18549 * math/gen-libm-test.pl (parse_args): Apply special handling for
18550 issignaling.
18551 * math/libm-test.inc (print_float, issignaling_test): New
18552 functions.
18553 (check_float_internal): Add issignaling checks.
18554 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18555 default definition.
18556 * sysdeps/powerpc/math-tests.h: New file.
18557 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18558 tests.
18559 * math/test-snan.c (TEST_FUNC): Likewise.
18560
6142896d
DM
185612013-03-30 David S. Miller <davem@davemloft.net>
18562
18563 * po/de.po: Update from translation team.
18564
ccc8cadf
JM
185652013-03-30 Joseph Myers <joseph@codesourcery.com>
18566
18567 [BZ #10357]
18568 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18569 imaginary part less than 1.0 and real part less than 0.5
18570 specially.
18571 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18572 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18573 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18574 (cacos_test): Add more tests.
18575 (casin_test): Likewise.
18576 (casinh_test): Likewise.
18577 * sysdeps/i386/fpu/libm-test-ulps: Update.
18578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18579
0f6a8d4b
SP
185802013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18581
0d1029de
SP
18582 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18583 ONE with its value.
18584
c2d94018
SP
18585 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18586 (__pow_mp): Replace ONE and MONE with their values.
18587 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18588 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18589 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18590 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18591 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18592 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18593
27ec37f1
SP
18594 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18595
a64d7e0e
SP
18596 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18597 (__pow_mp): Replace ZERO and MZERO with their values.
18598 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18600 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18601 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18602 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18603 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18604 (__sqr): Likewise.
18605
d26dd3eb
SP
18606 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18607
0f6a8d4b
SP
18608 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18609
e57b0c61
RM
186102013-03-28 Roland McGrath <roland@hack.frob.com>
18611
18612 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18613 Declare with __attribute__ ((weak)).
18614 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18615 Call __call_tls_dtors only if it's not NULL.
18616
356b3480
RM
186172013-03-28 Roland McGrath <roland@hack.frob.com>
18618
288f7d79
RM
18619 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18620 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18621 magic __ehdr_start linker symbol if it's defined.
18622 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18623 them up here if it was already done.
18624
dc0a0263
RM
18625 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18626 (_dl_aux_init): Use const in cast when setting it.
18627 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18628 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18629 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18630
3d3436ae
RM
18631 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18632 Declare them here.
18633 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18634 * csu/libc-tls.c: Nor here.
18635 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18636
356b3480
RM
18637 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18638 (__libc_message): Never call vsyslog.
18639
b0f1246a
AM
186402013-03-28 Alan Modra <amodra@gmail.com>
18641
18642 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18643 Define as empty.
18644 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18645 Likewise.
18646
fbbe2b9a
AZ
186472013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18648
18649 [BZ #15214]
18650 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18651 underflow.
18652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18653
1728ab37
SP
186542013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18655
7a86be6e
SP
18656 [BZ #15304]
18657 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18658 Don't add gid passed as argument.
18659
1728ab37
SP
18660 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18661
3a7182a1
JM
186622013-03-27 Joseph Myers <joseph@codesourcery.com>
18663
18664 [BZ #15307]
18665 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18666 imaginary part between 1.0 and 1.5 and real part less than 0.5
18667 specially.
18668 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18669 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18670 * math/libm-test.inc (cacos_test): Add more tests.
18671 (casin_test): Likewise.
18672 (casinh_test): Likewise.
18673 * sysdeps/i386/fpu/libm-test-ulps: Update.
18674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18675
6f2e90e7
SP
186762013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18677
5739f705
SP
18678 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18679 constants.
18680 (norm): Likewise.
18681 (denorm): Likewise.
18682 (__dbl_mp): Likewise.
18683 (add_magnitudes): Likewise.
18684 (sub_magnitudes): Likewise.
18685 (__add): Likewise.
18686 (__sub): Likewise.
18687 (__mul): Likewise.
18688 (__sqr): Likewise.
18689 (__inv): Likewise.
18690 (__dvd): Likewise.
18691
e375e83d
SP
18692 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18693 commented code.
18694 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18695 (__dubcos): Likewise.
18696 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18697 (__ieee754_acos): Likewise.
18698 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18699 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18700 (__exp1): Likewise.
18701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18703 (log1): Likewise.
18704 (my_log2): Likewise.
18705 (checkint): Likewise.
18706 * sysdeps/ieee754/dbl-64/e_remainder.c
18707 (__ieee754_remainder): Likewise.
18708 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18710 (bsloww): Likewise.
18711 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18712
6f2e90e7
SP
18713 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18714 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18715 MANTISSA_STORE_T to store computations on mantissa. Use
18716 macros for rounding and division.
18717 (denorm): Likewise.
18718 (__dbl_mp): Likewise.
18719 (add_magnitudes): Likewise.
18720 (sub_magnitudes): Likewise.
18721 (__mul): Likewise.
18722 (__sqr): Likewise.
18723 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18724 powers of two in terms of TWOPOW macro.
18725 (mp_no): Make type of mantissa as MANTISSA_T.
18726 [!RADIXI]: Define RADIXI.
18727 [!TWO52]: Define TWO52.
18728 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18729
fce14d4e
AZ
187302013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18731
18732 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18733 llroundl symbol when building for PPC32.
18734
9ad027fb
MW
187352013-03-24 Mark H Weaver <mhw@netris.org>
18736
18737 * manual/arith.texi (Normalization Functions): Fix prototypes for
18738 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18739
e42a38dd
AZ
187402013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18741
18742 [BZ #13889]
18743 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18744 high value to check if expl overflow.
18745 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18746 to check for underflow and overflow.
18747 * math/libm-test.inc: Add exp test.
18748
2e0fb521
DL
187492013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18750
18751 [BZ #11120]
18752 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18753 with NOT_IN_libc.
18754
b5784d95
AZ
187552013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18756
18757 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18758 symbol.
18759
5aa4a1a1
TS
187602013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18761
bdef0be7
TS
18762 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18763 wrap blocks consisting of several statements.
18764
5aa4a1a1
TS
18765 * sysdeps/generic/math-tests.h: New file.
18766 * sysdeps/i386/fpu/math-tests.h: Likewise.
18767 * math/test-snan.c: Include it.
18768 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18769
98c48fe5
JM
187702013-03-21 Joseph Myers <joseph@codesourcery.com>
18771
18772 [BZ #15285]
18773 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18774 (__ieee754_j0l): Do not improve calculations using cos of twice
18775 input for inputs above LDBL_MAX / 2.0L.
18776 (__ieee754_y0l): Likewise.
18777 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18778 (__ieee754_j1l): Do not improve calculations using cos of twice
18779 input for inputs above LDBL_MAX / 2.0L.
18780 (__ieee754_y1l): Likewise.
18781 * math/libm-test.inc (j0_test): Add another test.
18782 (j1_test): Likewise.
18783 (y0_test): Likewise.
18784 (y1_test): Likewise.
18785 * sysdeps/i386/fpu/libm-test-ulps: Update.
18786
3775a8bc
SP
187872013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18788
18789 * Rules ($(objpfx)bench-%.c): Include code from a C source
18790 file.
18791
0a1b2ae6
JM
187922013-03-21 Joseph Myers <joseph@codesourcery.com>
18793
18794 [BZ #15287]
18795 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18796 imaginary part 1.0 and real part less than 0.5 specially.
18797 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18798 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18799 * math/libm-test.inc (cacos_test): Add more tests.
18800 (casin_test): Likewise.
18801 (casinh_test): Likewise.
18802 * sysdeps/i386/fpu/libm-test-ulps: Update.
18803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18804
b33d4ce4
SP
188052013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18806
18807 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18808 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18809
bef0b507
JM
188102013-03-20 Joseph Myers <joseph@codesourcery.com>
18811
18812 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18813 * config.make.in (config-cflags-sse4): Remove variable.
18814 (config-cflags-avx): Likewise.
18815 (config-cflags-sse2avx): Likewise.
18816 (config-cflags-novzeroupper): Likewise.
18817 (config-asflags-i686): Likewise.
18818 (have-mfma4): Likewise.
18819 (have-as-vis3): Likewise.
18820 (MIG): Likewise.
18821 * configure.in (MIG): Do not AC_SUBST.
18822 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18823 (libc_cv_cc_sse4): Do not AC_SUBST.
18824 (libc_cv_cc_avx): Likewise.
18825 (libc_cv_cc_sse2avx): Likewise.
18826 (libc_cv_cc_novzeroupper): Likewise.
18827 (libc_cv_cc_fma4): Likewise.
18828 (libc_cv_as_i686): Likewise.
18829 (libc_cv_sparc_as_vis3): Likewise.
18830 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18831 LIBC_CONFIG_VAR.
18832 (config-asflags-i686): Likewise.
18833 (config-cflags-avx): Likewise.
18834 (config-cflags-sse2avx): Likewise.
18835 (have-mfma4): Likewise.
18836 (config-cflags-novzeroupper): Likewise.
18837 * sysdeps/mach/configure.in (MIG): Likewise.
18838 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18839 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18840 LIBC_CONFIG_VAR.
18841 (config-cflags-avx): Likewise.
18842 (config-cflags-sse2avx): Likewise.
18843 (have-mfma4): Likewise.
18844 (config-cflags-novzeroupper): Likewise.
18845 * configure: Regenerated.
18846 * sysdeps/i386/configure: Likewise.
18847 * sysdeps/mach/configure: Likewise.
18848 * sysdeps/sparc/configure: Likewise.
18849 * sysdeps/x86_64/configure: Likewise.
18850
912cc4b3
RM
188512013-03-20 Roland McGrath <roland@hack.frob.com>
18852
18853 [BZ #14812]
18854 * locale/programs/localedef.c (options): Put N_ translation marker
18855 on argument names, not just descriptions.
18856
04eed2b0
MS
188572013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18858
18859 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18860
a065ceff
OB
188612013-03-20 Ondřej Bílka <neleai@seznam.cz>
18862
9bb2a810 18863 [BZ #14176]
a065ceff
OB
18864 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18865
a600e5ce
RM
188662013-03-19 Roland McGrath <roland@hack.frob.com>
18867
18868 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18869 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18870 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18871 [!BEFORE_ABORT] (before_abort): New function.
18872 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18873 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18874 (writev_for_fatal): New function.
18875 (WRITEV_FOR_FATAL): New macro; call that.
18876 (backtrace_and_maps): New function.
18877 (BEFORE_ABORT): New macro; call that.
18878 (struct str_list): Type removed.
18879 (__libc_message, __libc_fatal): Functions removed.
18880 Include <sysdeps/posix/libc_fatal.c> instead.
18881
6b18bea6
JM
188822013-03-19 Joseph Myers <joseph@codesourcery.com>
18883
18884 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18885 constants.
18886 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18887 double constants.
18888
aaa8cb4b
AS
188892013-03-19 Andreas Schwab <schwab@suse.de>
18890
44673770
AS
18891 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18892 * sysdeps/gnu/configure: Regenerate.
18893
aaa8cb4b
AS
18894 * configure.in: Substitute libc_cv_rtlddir.
18895 * configure: Regenerate.
18896 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18897 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18898 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18899 * elf/Makefile (install-others, CFLAGS-interp.c)
18900 (ldso_install, common-ldd-rewrite): Likewise.
18901 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18902 $(inst_slibdir)/$(rtld-installed-name).
18903 * scripts/rellns-sh: Add -p option.
18904 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18905 for source.
18906
d3cfc668
SP
189072013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18908
18909 * manual/nptl.texi: Renamed to ...
18910 * manual/threads.texi: ... this.
18911 * manual/Makefile (chapters): Update.
18912
0e2b9cdd
RM
189132013-03-18 Roland McGrath <roland@hack.frob.com>
18914
18915 [BZ #14812]
18916 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18917 on argument names, not just descriptions.
0e2b9cdd
RM
18918 * malloc/memusagestat.c (options): Likewise.
18919 * nss/getent.c (options): Likewise.
63270c24
RM
18920
189212013-03-18 Benno Schulenberg <bensberg@justemail.net>
18922
18923 [BZ #14812]
18924 * iconv/iconv_prog.c (options): Put N_ translation marker
18925 on argument names, not just descriptions.
18926 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 18927
b2e1393c
OB
189282013-03-18 Ondrej Bilka <neleai@seznam.cz>
18929
18930 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18931 implementation which is faster on all x86_64 architectures.
18932 Tested on AMD, Intel Nehalem, SNB, IVB.
18933 * sysdeps/x86_64/strnlen.S: Likewise.
18934
18935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18936 Remove all multiarch strlen and strnlen versions.
18937 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18938 Remove strlen and strnlen related parts.
18939
18940 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18941 Inline strlen part.
18942 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18943
18944 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18945 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18946 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18947 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18948 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18949 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18950
ec4ff04d
CD
189512013-03-17 Carlos O'Donell <carlos@redhat.com>
18952
18953 * manual/memory.texi (Malloc Tunable Parameters):
18954 Sort parameters alphabetically. Add comments for missing entries.
18955
cd18e90a
DM
189562013-03-17 David S. Miller <davem@davemloft.net>
18957
18958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18959
2a185d32
JM
189602013-03-16 Joseph Myers <joseph@codesourcery.com>
18961
d2f9799e
JM
18962 [BZ #15283]
18963 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18964 for arguments at most half maximum finite value.
18965 * math/libm-test.inc (j0_test): Add more tests.
18966 (j1_test): Likewise.
18967 (y0_test): Likewise.
18968 (y1_test): Likewise.
18969 * sysdeps/i386/fpu/libm-test-ulps: Update.
18970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18971
2a185d32
JM
18972 [BZ #14155]
18973 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18974 1 / x and functions P and Q for arguments above 0x1p256L.
18975 (__ieee754_y0l): Likewise.
18976 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18977 (__ieee754_y1l): Likewise.
18978 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18979 (j1_test): Likewise.
18980 (y0_test): Likewise.
18981 (y1_test): Likewise.
18982
6cbec759
TS
189832013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18984
18985 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18986 variable.
18987
bc16e260
RM
189882013-03-15 Roland McGrath <roland@hack.frob.com>
18989
aefc9b8c
RM
18990 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18991 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18992 zero since it's initialized to EXEC_PAGESIZE.
18993
bc16e260
RM
18994 * sysdeps/unix/sysv/linux/ldsodefs.h
18995 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18996 * sysdeps/generic/ldsodefs.h: ... here.
18997
a57da955
TS
189982013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18999
af00a34d
TS
19000 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19001
495ded2c
TS
19002 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19003 math/test-snan.c.
19004 * math/test-snan.c: Renamed from
19005 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19006 * math/Makefile (tests): Add test-snan.
19007 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19008 test-powerpc-snan.
19009
777b0332
TS
19010 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19011 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19012 functions.
19013 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19014 __builtin_nan family of functions.
19015 * math/libm-test.inc (initialize): Initialize qnan_value with
19016 __builtin_nan family of functions.
19017 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19018 Remove variables.
19019 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19020 Remove functions.
19021 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19022 storage class. Initialize qNaN_var and sNaN_var with
19023 __builtin_nan and __builtin_nans families of functions,
19024 respectively.
19025
64d063b8
TS
19026 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19027 (sqrt_test): Remove duplicate test with qNaN input.
19028 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19029 (round_test, signbit_test, significand_test): Note missing +/-Inf
19030 as well as qNaN tests.
19031
67e971f1
TS
19032 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19033 qNaN_var. Fix a few strings, too.
19034 * math/libm-test.inc (nan_value): Rename to qnan_value.
19035 * math/gen-libm-test.pl (%beautify): Adjust to that.
19036 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19037 * math/test-misc.c (main): Likewise.
19038 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19039 to __qnan_bytes, and __qnan_union, respectively.
19040 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19041 Likewise.
19042 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19043 and lqnanval, respectively.
19044 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19045 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19046 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19047 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19048
64487e12
TS
19049 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19050 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19051 doubles.
19052
e015e27b
TS
19053 * math/test-misc.c (main): Fix copy'n'pastos.
19054 * misc/tst-efgcvt.c (special): Likewise.
19055
a57da955
TS
19056 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19057 Remove declarations.
19058
1e380345
SP
190592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19060
19061 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19062 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19063 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19064 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19065
ef26eece
AZ
190662013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19067
19068 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19069 macro to return vdso values correctly in IFUNC implementations.
19070 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19071 Optimization by using IFUNC.
19072
8cfdb7e0
SP
190732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19074 Richard Henderson <rth@redhat.com>
19075 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19076
19077 * Makefile.in (bench): New target.
19078 * NEWS: Mention the benchmark framework.
19079 * Rules (bench): Likewise.
19080 (binaries-bench): Generate binaries for functions to
19081 benchmark.
19082 * benchtests/Makefile: New makefile for benchmark tests.
19083 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19084 programs.
19085 * benchtests/exp-inputs: New input file for EXP function.
19086 * benchtests/pow-inputs: New input file for POW function.
19087 * scripts/bench.pl: New script to generate source files for
19088 benchmark programs.
19089
bcda9880
SP
190902013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19091
d22ca8cd
SP
19092 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19093 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19094 computations on mantissa. Use macros for rounding and
19095 division.
19096 (denorm): Likewise.
19097 (__dbl_mp): Likewise.
19098 (add_magnitudes): Likewise.
19099 (sub_magnitudes): Likewise.
19100 (__mul): Likewise.
19101 (__sqr): Likewise.
19102 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19103 powers of two in terms of TWOPOW macro.
19104 (mp_no): Make type of mantissa as MANTISSA_T.
19105 [!RADIXI]: Define RADIXI.
19106 [!TWO52]: Define TWO52.
19107 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19108
bcda9880
SP
19109 * manual/nptl.texi (cindex): Modify threads to pthreads.
19110
06d5adfb
JM
191112013-03-15 Joseph Myers <joseph@codesourcery.com>
19112
19113 * sysdeps/x86_64/preconfigure: Regenerated.
19114
41c7328e
JM
191152013-03-14 Joseph Myers <joseph@codesourcery.com>
19116
19117 [BZ #14155]
19118 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19119 0x1p28 and above.
19120 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19121 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19122 0x1p28 and above.
19123 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19124 * math/libm-test.inc (j0_test): Do not allow one spurious
19125 underflow exception.
19126 (y1_test): Likewise.
19127
e25cfa60
SP
191282013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19129
0409959c
SP
19130 * manual/Makefile (chapters): Add nptl.
19131 * manual/debug.texi (Debugging Support): Add link to Threads
19132 chapter.
19133 * manual/nptl.texi: New file.
19134
e25cfa60
SP
19135 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19136
58a1335e
PB
191372013-03-14 Petr Baudis <pasky@ucw.cz>
19138
19139 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19140 for non-NULL pointer before the memory validity test. Pointed
19141 out by Holger Brunck <holger.brunck@keymile.com>.
19142
9dc7c64f
AS
191432013-03-13 Andreas Schwab <schwab@suse.de>
19144
19145 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19146 instead of .os.
19147
54206aa6
JM
191482013-03-13 Joseph Myers <joseph@codesourcery.com>
19149
19150 * timezone/zic.c: Update from tzcode 2013b.
19151
e98cdb38
CD
191522013-03-12 Carlos O'Donell <carlos@redhat.com>
19153
19154 * manual/install.texi (Configuring and compiling):
19155 Mention i686 and i586.
19156 * INSTALL: Regenerate.
19157
9967e003
RM
191582013-03-12 Roland McGrath <roland@hack.frob.com>
19159
19160 * sysdeps/init_array/elf-init.c: New file.
19161 * csu/elf-init.c
19162 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19163 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19164
19165 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19166 __gmon_start__ as global, but as static with a .preinit_array pointer.
19167 * sysdeps/init_array/gmon-start.c: New file. Use that.
19168 * sysdeps/init_array/crti.S: New file, empty except for comments.
19169 * sysdeps/init_array/crtn.S: Likewise.
19170
e6b5a293 191712013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19172
19173 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19174 definining bcopy.
80f844c9
OB
19175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19176 Remove Prefer_SSE_for_memop.
19177 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19178 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19179 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19181 memset-x86-64.
80f844c9 19182 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19183 Remove bzero, memset ifunc support.
80f844c9
OB
19184 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19185 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19186 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19187 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19188
fb6b0fcb
AS
191892013-03-11 Andreas Schwab <schwab@suse.de>
19190
19191 [BZ #15234]
19192 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19193 by SHLIB_COMPAT.
19194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19195 (GLIBC_2.16): Remove pthread_atfork.
19196
3e6bd4b1
PP
191972013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19198
19199 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19200 (ptestcases.h): Likewise.
19201
222d7f00
RM
192022013-03-08 Roland McGrath <roland@hack.frob.com>
19203
19204 * Makeconfig ($(common-objpfx)config.status): Depend on
19205 sysdeps/*/preconfigure{,.in} too.
19206
1ba4f030
JM
192072013-03-08 Joseph Myers <joseph@codesourcery.com>
19208
a222d91a
JM
19209 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19210 (__free_hook): Use void * instead of __malloc_ptr_t.
19211 (__malloc_hook): Likewise.
19212 (__realloc_hook): Likewise.
19213 (__memalign_hook): Likewise.
19214 (__after_morecore_hook): Likewise.
19215 * malloc/arena.c (save_malloc_hook): Likewise.
19216 (save_free_hook): Likewise.
19217 * malloc/hooks.c (malloc_hook_ini): Likewise.
19218 (realloc_hook_ini): Likewise.
19219 (memalign_hook_ini): Likewise.
19220 * malloc/malloc.c (malloc_hook_ini): Likewise.
19221 (realloc_hook_ini): Likewise.
19222 (memalign_hook_ini): Likewise.
19223 (__free_hook): Likewise.
19224 (__malloc_hook): Likewise.
19225 (__realloc_hook): Likewise.
19226 (__memalign_hook): Likewise.
19227 (__libc_malloc): Likewise.
19228 (__libc_free): Likewise.
19229 (__libc_realloc): Likewise.
19230 (__libc_memalign): Likewise.
19231 (__libc_valloc): Likewise.
19232 (__libc_pvalloc): Likewise.
19233 (__libc_calloc): Likewise.
19234 (__posix_memalign): Likewise.
19235 * malloc/morecore.c (__sbrk): Likewise.
19236 (__default_morecore): Likewise.
19237
5cc45e10
JM
19238 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19239
dd54b864
JM
19240 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19241 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19242 __malloc_ptrdiff_t.
19243
1ba4f030
JM
19244 * malloc/malloc.h (__malloc_size_t): Remove macro.
19245 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19246 __malloc_size_t.
19247 (old_memalign_hook): Likewise.
19248 (old_realloc_hook): Likewise.
19249 (struct hdr): Likewise.
19250 (flood): Likewise.
19251 (mallochook): Likewise.
19252 (memalignhook): Likewise.
19253 (reallochook): Likewise.
19254 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19255 (tr_old_realloc_hook): Likewise.
19256 (tr_old_memalign_hook): Likewise.
19257 (tr_mallochook): Likewise.
19258 (tr_reallochook): Likewise.
19259 (tr_memalignhook): Likewise.
19260
edf66e57
AZ
192612013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19262
19263 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19264 default_ldbl_pack and using as default implementation.
19265 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19266 implementation.
19267 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19268 redundant definition.
19269 (ldbl_insert_mantissa): Likewise.
19270 (ldbl_canonicalize): Likewise.
19271 (ldbl_nearbyint): Likewise.
19272 (ldbl_pack): Rename to ldbl_pack_ppc.
19273 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19274 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19275 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19276
6d9145d8
SP
192772013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19278
19279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19280 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19281 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19282 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19284 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19285 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19286 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19287
4dd4e157
AJ
192882013-03-07 Andreas Jaeger <aj@suse.de>
19289
19290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19291 bits/mman-linux.h.
19292
adbb8027
SP
192932013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19294
ce544b5b
SP
19295 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19296 Include mpa.h and declare __MPEXP.
19297 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19298 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19299 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19300 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19301 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19302 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19303 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19304
4cc149fd
SP
19305 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19306 (__slowpow): Use long double EXPL and LOGL functions to
19307 compute POW.
19308 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19309 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19310 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19311 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19312 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19313 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19314
e6ebd4a7
SP
19315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19316 intermediate variable to calculate exponent.
19317 (__sqr): Likewise.
19318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19319 Likewise.
19320 (__sqr): Likewise.
19321
82a9811d
SP
19322 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19323 [!NO__SQR]: Define __sqr.
19324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19325 and NO__SQR. Remove all code except __mul and __sqr. Include
19326 sysdeps/ieee754/dbl-64/mpa.c.
19327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19328
adbb8027
SP
19329 [BZ #12723]
19330 * posix/Makefile (tests): Add tst-pathconf.
19331 * posix/tst-pathconf.c: New test case.
19332 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19333 _PC_PIPE_BUF.
19334 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19335
39120df9
PF
193362013-03-06 Patsy Franklin <pfrankli@redhat.com>
19337
19338 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19339
67525cb8
AJ
193402013-03-06 Andreas Jaeger <aj@suse.de>
19341
664a9ce4
AJ
19342 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19343 definition via __MAP_ANONYMOUS.
19344
8e39047d
AJ
19345 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19346 it's not part of Linux headers.
19347
67525cb8
AJ
19348 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19349 (MAP_HUGE_MASK): Define.
19350
19351 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19352 Define.
19353 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19355 Define.
19356 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19357 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19358 Define.
19359 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19360 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19361 Define.
19362 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19363
19364 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19365 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19366 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19367 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19368 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19369 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19370
19371 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19372 Handle f2fs.
19373
19374 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19375 Handle f2fs and efivarfs.
19376
19377 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19378 f2fs.
19379
19380 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19381 (EFIVARFS_MAGIC): Add.
19382 (F2FS_LINK_MAX): Add.
19383
e1b42695
PP
193842013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19385
19386 * stdio-common/vfprintf.c: Replace __builtin_expect with
19387 __glibc_unlikely.
19388
2d67d91a
JM
193892013-03-06 Joseph Myers <joseph@codesourcery.com>
19390
19391 [BZ #13550]
19392 * sysdeps/generic/bp-sym.h: Remove file.
19393 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19394 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19395 <bp-sym.h> and <bp-asm.h>.
19396 (__longjmp): Don't use BP_SYM.
19397 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19398 and <bp-asm.h>.
19399 (memcpy): Don't use BP_SYM.
19400 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19401 <bp-sym.h> and <bp-asm.h>.
19402 (memcpy): Don't use BP_SYM.
19403 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19404 <bp-asm.h>.
19405 (memcpy): Don't use BP_SYM.
19406 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19407 <bp-asm.h>.
19408 (memset): Don't use BP_SYM.
19409 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19410 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19411 (__bzero): Don't use BP_SYM.
19412 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19413 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19414 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19415 <bp-sym.h> and <bp-asm.h>.
19416 (memcmp): Don't use BP_SYM. Remove comment about bounded
19417 pointers.
19418 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19419 <bp-sym.h> and <bp-asm.h>.
19420 (memcpy): Don't use BP_SYM.
19421 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19422 <bp-sym.h> and <bp-asm.h>.
19423 (memset): Don't use BP_SYM.
19424 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19425 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19426 (__bzero): Don't use BP_SYM.
19427 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19428 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19429 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19430 <bp-sym.h> and <bp-asm.h>.
19431 (strncmp): Don't use BP_SYM. Remove comment about bounded
19432 pointers.
19433 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19434 <bp-sym.h> and <bp-asm.h>.
19435 (memcpy): Don't use BP_SYM.
19436 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19437 <bp-sym.h> and <bp-asm.h>.
19438 (memset): Don't use BP_SYM.
19439 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19440 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19441 (__bzero): Don't use BP_SYM.
19442 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19443 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19444 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19445 <bp-sym.h> and <bp-asm.h>.
19446 (__memchr): Don't use BP_SYM.
19447 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19448 <bp-sym.h> and <bp-asm.h>.
19449 (memcmp): Don't use BP_SYM. Remove comment about bounded
19450 pointers.
19451 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19452 <bp-sym.h> and <bp-asm.h>.
19453 (memcpy): Don't use BP_SYM.
19454 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19455 <bp-sym.h> and <bp-asm.h>.
19456 (__mempcpy): Don't use BP_SYM.
19457 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19458 <bp-sym.h> and <bp-asm.h>.
19459 (__memrchr): Don't use BP_SYM.
19460 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19461 <bp-sym.h> and <bp-asm.h>.
19462 (memset): Don't use BP_SYM.
19463 (__bzero): Likewise.
19464 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19465 <bp-sym.h> and <bp-asm.h>.
19466 (__rawmemchr): Don't use BP_SYM.
19467 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19468 <bp-sym.h> and <bp-asm.h>.
19469 (__STRCMP): Don't use BP_SYM.
19470 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19471 <bp-sym.h> and <bp-asm.h>.
19472 (strchr): Don't use BP_SYM.
19473 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19474 <bp-sym.h> and <bp-asm.h>.
19475 (__strchrnul): Don't use BP_SYM.
19476 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19477 <bp-sym.h> and <bp-asm.h>.
19478 (strlen): Don't use BP_SYM.
19479 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19480 <bp-sym.h> and <bp-asm.h>.
19481 (strncmp): Don't use BP_SYM. Remove comment about bounded
19482 pointers.
19483 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19484 <bp-sym.h> and <bp-asm.h>.
19485 (__strnlen): Don't use BP_SYM.
19486 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19487 <bp-sym.h> and <bp-asm.h>.
19488 (__GI__setjmp): Don't use BP_SYM.
19489 (_setjmp): Likewise.
19490 (__sigsetjmp): Likewise.
19491 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19492 (L(start_addresses)): Don't use BP_SYM.
19493 (_start): Likewise.
19494 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19495 <bp-asm.h>.
19496 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19497 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19498 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19499 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19500 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19501 <bp-asm.h>.
19502 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19503 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19504 about bounded pointers.
19505 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19506 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19507 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19508 <bp-asm.h>.
19509 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19510 about bounded pointers. Remove GKM FIXME comments.
19511 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19512 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19513 <bp-asm.h>.
19514 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19515 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19516 Remove GKM FIXME comments.
19517 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19518 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19519 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19520 <bp-asm.h>.
19521 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19522 about bounded pointers. Remove GKM FIXME comment.
19523 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19524 and <bp-asm.h>.
19525 (strncmp): Don't use BP_SYM. Remove comment about bounded
19526 pointers.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19528 <bp-sym.h> and <bp-asm.h>.
19529 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19531 <bp-sym.h> and <bp-asm.h>.
19532 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19533 comment.
19534
cdcf361f
PP
195352013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19536
19537 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19538 call free(NULL).
19539
3c4a2b15
DM
195402013-03-05 David S. Miller <davem@davemloft.net>
19541
19542 * po/es.po: Update from translation team.
19543
cdcf361f 195442013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19545
19546 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19547 <bits/mman-linux.h>.
19548 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19549 is fine.
19550 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19551 <bits/mman-linux.h> to end of file.
19552 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19553 is fine.
19554 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19555 <bits/mman-linux.h> to end of file.
19556 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19557 is fine.
19558 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19559 <bits/mman-linux.h> to end of file.
19560
19561 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19562 (MCL_CURRENT, MCL_FUTURE): Define here.
19563
5f67c04f
AK
195642013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19565
8a4473cc 19566 [BZ #15232]
5f67c04f
AK
19567 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19568 attribute_hidden.
19569 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19570
c3e94a95
AK
195712013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19572
19573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19574 fourth parameter needed for rt_sigprocmask syscall.
19575 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19576 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19577 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19578 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19579 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19580 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19581
cfb6382a
JM
195822013-03-04 Joseph Myers <joseph@codesourcery.com>
19583
19584 [BZ #13550]
19585 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19586 comment about bounded pointers.
19587 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19588 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19589
539d8e01
AJ
195902013-03-04 Andreas Jaeger <aj@suse.de>
19591
19592 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19593 common definitions.
19594
19595 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19596 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19597 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19598 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19599 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19600 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19601
2e167a70 196022013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19603
19604 [BZ #15055]
19605 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19606 __ieee754_sqrl instead of __sqrl.
19607
68508633
JM
196082013-03-01 Joseph Myers <joseph@codesourcery.com>
19609
19610 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19611 * sysdeps/powerpc/fpu_control.h: ... here.
19612 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19613 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19614 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19615 * sysdeps/powerpc/bits/mathinline.h: ... here.
19616
7775448e
RM
196172013-03-01 Roland McGrath <roland@hack.frob.com>
19618
19619 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19620 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19621 to just [NEED_DL_SYSINFO_DSO].
19622 * elf/dl-support.c: Likewise.
19623 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19624 * elf/rtld.c (dl_main): Likewise.
19625 * elf/setup-vdso.h (setup_vdso): Likewise.
19626 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19627 * sysdeps/unix/sysv/linux/dl-sysdep.c
19628 (_dl_discover_osversion): Likewise.
19629
4e9b5995
CD
196302013-03-01 Carlos O'Donell <carlos@redhat.com>
19631
19632 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19633 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19634
e23872c8
SP
196352013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19636
e5c74c63
SP
19637 * NEWS: Mention libm performance improvements and non-x86 PI
19638 futex support.
19639
e23872c8
SP
19640 * csu/libc-start.c (__pthread_initialize_minimal): Change
19641 function arguments.
19642 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19643
b5510883
JM
196442013-02-28 Joseph Myers <joseph@codesourcery.com>
19645
19646 [BZ #13550]
19647 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19648 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19649 <bp-sym.h> and <bp-asm.h>.
19650 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19651 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19652 and <bp-asm.h>.
19653 (memcpy): Don't use BP_SYM.
19654 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19655 <bp-asm.h>.
19656 (__mpn_add_n): Don't use BP_SYM.
19657 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19658 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19659 and <bp-asm.h>.
19660 (__mpn_addmul_1): Don't use BP_SYM.
19661 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19662 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19663 <bp-sym.h>.
19664 (_setjmp): Don't use BP_SYM.
19665 (__novmx_setjmp): Likewise.
19666 (__GI__setjmp): Likewise.
19667 (__vmx_setjmp): Likewise.
19668 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19669 <bp-sym.h>.
19670 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19671 (__bzero): Don't use BP_SYM.
19672 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19673 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19674 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19675 <bp-sym.h> and <bp-asm.h>.
19676 (memcpy): Don't use BP_SYM.
19677 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19678 <bp-sym.h> and <bp-asm.h>.
19679 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19680 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19681 <bp-sym.h> and <bp-asm.h>.
19682 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19683 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19684 <bp-asm.h>.
19685 (__mpn_lshift): Don't use BP_SYM.
19686 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19687 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19688 <bp-asm.h>.
19689 (memset): Don't use BP_SYM.
19690 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19691 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19692 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19693 <bp-asm.h>.
19694 (__mpn_mul_1): Don't use BP_SYM.
19695 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19696 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19697 <bp-sym.h> and <bp-asm.h>.
19698 (memcmp): Don't use BP_SYM.
19699 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19700 <bp-sym.h> and <bp-asm.h>.
19701 (memcpy): Don't use BP_SYM.
19702 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19703 <bp-sym.h> and <bp-asm.h>.
19704 (memset): Don't use BP_SYM.
19705 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19706 <bp-sym.h> and <bp-asm.h>.
19707 (strncmp): Don't use BP_SYM.
19708 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19709 <bp-sym.h> and <bp-asm.h>.
19710 (memcpy): Don't use BP_SYM.
19711 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19712 <bp-sym.h> and <bp-asm.h>.
19713 (memset): Don't use BP_SYM.
19714 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19715 <bp-sym.h> and <bp-asm.h>.
19716 (__memchr): Don't use BP_SYM.
19717 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19718 <bp-sym.h> and <bp-asm.h>.
19719 (memcmp): Don't use BP_SYM.
19720 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19721 <bp-sym.h> and <bp-asm.h>.
19722 (memcpy): Don't use BP_SYM.
19723 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19724 <bp-sym.h> and <bp-asm.h>.
19725 (__mempcpy): Don't use BP_SYM.
19726 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19727 <bp-sym.h> and <bp-asm.h>.
19728 (__memrchr): Don't use BP_SYM.
19729 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19730 <bp-sym.h> and <bp-asm.h>.
19731 (memset): Don't use BP_SYM.
19732 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19733 <bp-sym.h> and <bp-asm.h>.
19734 (__rawmemchr): Don't use BP_SYM.
19735 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19736 <bp-sym.h> and <bp-asm.h>.
19737 (__STRCMP): Don't use BP_SYM.
19738 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19739 <bp-sym.h> and <bp-asm.h>.
19740 (strchr): Don't use BP_SYM.
19741 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19742 <bp-sym.h> and <bp-asm.h>.
19743 (__strchrnul): Don't use BP_SYM.
19744 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19745 <bp-sym.h> and <bp-asm.h>.
19746 (strlen): Don't use BP_SYM.
19747 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19748 <bp-sym.h> and <bp-asm.h>.
19749 (strncmp): Don't use BP_SYM.
19750 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19751 <bp-sym.h> and <bp-asm.h>.
19752 (__strnlen): Don't use BP_SYM.
19753 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19754 <bp-asm.h>.
19755 (__mpn_rshift): Don't use BP_SYM.
19756 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19757 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19758 <bp-sym.h> and <bp-asm.h>.
19759 (__sigsetjmp): Don't use BP_SYM.
19760 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19761 (L(start_addresses)): Don't use BP_SYM.
19762 (_start): Likewise.
19763 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19764 <bp-asm.h>.
19765 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19766 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19767 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19768 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19769 <bp-asm.h>.
19770 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19771 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19772 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19773 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19774 <bp-asm.h>.
19775 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19776 comments.
19777 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19778 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19779 <bp-asm.h>.
19780 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19781 FIXME comments.
19782 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19783 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19784 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19785 <bp-asm.h>.
19786 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19787 comment.
19788 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19789 and <bp-asm.h>.
19790 (strncmp): Don't use BP_SYM,
19791 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19792 <bp-asm.h>.
19793 (__mpn_sub_n): Don't use BP_SYM.
19794 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19795 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19796 and <bp-asm.h>.
19797 (__mpn_submul_1): Don't use BP_SYM.
19798 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19800 <bp-sym.h> and <bp-asm.h>.
19801 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19803 <bp-sym.h> and <bp-asm.h>.
19804 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19805 comment.
19806
8d19fe64
SP
198072013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19808
19809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19810 Use ZK to minimize writes to Z.
19811 (sub_magnitudes): Simplify code a bit.
19812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19813 Use ZK to minimize writes to Z.
19814 (sub_magnitudes): Simplify code a bit.
19815
85bd816a
RM
198162013-02-27 Roland McGrath <roland@hack.frob.com>
19817
19818 * csu/gmon-start.c: Add special exception to license text.
19819
b5977bf2
RH
198202013-02-27 Richard Henderson <rth@redhat.com>
19821
19822 * scripts/config.guess: Update from config.git.
19823 * scripts/config.sub: Likewise.
19824
11d6e2f2
SP
198252013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19826
09c14ed2
SP
19827 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19828
a688864e
SP
19829 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19830
6295157a
SP
19831 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19832
b8de2202
SP
19833 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19834
11d6e2f2
SP
19835 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19836
7e80ddb8
RM
198372013-02-26 Roland McGrath <roland@hack.frob.com>
19838
19839 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19840 [$(build-shared = yes].
7e80ddb8 19841
7da6d9ed
SP
198422013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19843
45f05884
SP
19844 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19845 (__mul): Reduce iterations for calculating mantissa.
19846
2236d359
SP
19847 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19848 MPTWO.
19849 (__mpranred): Likewise.
19850
7da6d9ed
SP
19851 [BZ #15160]
19852 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19853 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19854
b7688c42
PE
198552013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19856
19857 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19858 Define __attribute__.
19859
53a5c423
SP
198602013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19861
19862 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19863 unused.
19864 * posix/regex_internal.h (__attribute): Remove.
19865 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19866 (re_string_context_at): Likewise.
19867 (bitset_not): Use __attribute__ and mark function as possibly
19868 unused.
19869 (bitset_merge): Likewise.
19870 (bitset_mask): Likewise.
19871 (re_string_char_size_at): Likewise.
19872 (re_string_wchar_at): Likewise.
19873 (re_string_elem_size_at): Likewise.
19874
60f5a8b5
SP
198752013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19876
2a983a2e
SP
19877 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19878 code.
19879 (cc32): Likewise.
19880
e69804d1
SP
19881 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19882 (__acr): Likewise.
19883 (__cpy): Likewise.
19884 (norm): Likewise.
19885 (denorm): Likewise.
19886 (__dbl_mp): Likewise.
19887 (add_magnitudes): Likewise.
19888 (sub_magnitudes): Likewise.
19889 (__mul): Likewise.
19890 (__inv): Likewise.
19891
2f22a1e8
SP
19892 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19893 style.
19894
8930ddc7
SP
19895 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19896 style.
19897
dc60cb11
SP
19898 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19899 code.
19900
60f5a8b5
SP
19901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19902 up changes with default code.
19903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19904 Likewise.
19905
b4d1fd33
AM
199062013-02-24 Allan McRae <allan@archlinux.org>
19907
faf6f8bc
AM
19908 * manual/socket.texi (The Internet Namespace): Order menu items
19909 to match that in the file.
19910
b4d1fd33
AM
19911 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19912 node listing of the info page menu.
19913
2366713d
JM
199142013-02-21 Joseph Myers <joseph@codesourcery.com>
19915
19916 [BZ #13550]
19917 * sysdeps/i386/bp-asm.h: Remove file.
19918 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19919 (PARMS): Do not use macros from bp-asm.h.
19920 (S1): Likewise.
19921 (S2): Likewise.
19922 (SIZE): Likewise.
19923 (__mpn_add_n): Do not use BP_SYM
19924 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19925 "bp-asm.h".
19926 (PARMS): Do not use macros from bp-asm.h.
19927 (S1): Likewise.
19928 (SIZE): Likewise.
19929 (__mpn_addmul_1): Do not use BP_SYM
19930 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19931 "bp-asm.h".
19932 (PARMS): Do not use macros from bp-asm.h.
19933 (SIGMSK): Likewise.
19934 (_setjmp): Likewise. Do not use BP_SYM.
19935 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19936 "bp-asm.h".
19937 (PARMS): Do not use macros from bp-asm.h.
19938 (SIGMSK): Likewise.
19939 (setjmp): Likewise. Do not use BP_SYM.
19940 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19941 "bp-asm.h".
19942 (PARMS): Do not use macros from bp-asm.h.
19943 (__frexp): Do not use BP_SYM.
19944 (frexp): Likewise.
19945 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19946 "bp-asm.h".
19947 (PARMS): Do not use macros from bp-asm.h.
19948 (__frexpf): Do not use BP_SYM.
19949 (frexpf): Likewise.
19950 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19951 "bp-asm.h".
19952 (PARMS): Do not use macros from bp-asm.h.
19953 (__frexpl): Do not use BP_SYM.
19954 (frexpl): Likewise.
19955 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19956 "bp-asm.h".
19957 (PARMS): Do not use macros from bp-asm.h.
19958 (__remquo): Do not use BP_SYM.
19959 (remquo): Likewise.
19960 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19961 "bp-asm.h".
19962 (PARMS): Do not use macros from bp-asm.h.
19963 (__remquof): Do not use BP_SYM.
19964 (remquof): Likewise.
19965 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19966 "bp-asm.h".
19967 (PARMS): Do not use macros from bp-asm.h.
19968 (__remquol): Do not use BP_SYM.
19969 (remquol): Likewise.
19970 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19971 "bp-asm.h".
19972 (PARMS): Do not use macros from bp-asm.h.
19973 (DEST): Likewise.
19974 (SRC): Likewise.
19975 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19976 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19977 "bp-asm.h".
19978 (PARMS): Do not use macros from bp-asm.h.
19979 (strlen): Do not use BP_SYM.
19980 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19981 "bp-asm.h".
19982 (PARMS): Do not use macros from bp-asm.h.
19983 (S1): Likewise.
19984 (S2): Likewise.
19985 (SIZE): Likewise.
19986 (__mpn_add_n): Do not use BP_SYM.
19987 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19988 "bp-asm.h".
19989 (PARMS): Do not use macros from bp-asm.h.
19990 (S1): Likewise.
19991 (SIZE): Likewise.
19992 (__mpn_addmul_1): Do not use BP_SYM.
19993 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19994 weak_alias.
19995 (bzero): Likewise.
19996 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19997 "bp-asm.h".
19998 (PARMS): Do not use macros from bp-asm.h.
19999 (S): Likewise.
20000 (SIZE): Likewise.
20001 (__mpn_lshift): Do not use BP_SYM.
20002 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20003 "bp-asm.h".
20004 (PARMS): Do not use macros from bp-asm.h.
20005 (DEST): Likewise.
20006 (SRC): Likewise.
20007 (LEN): Likewise.
20008 (memcpy): Likewise. Do not use BP_SYM.
20009 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20010 libc_hidden_def and weak_alias.
20011 (mempcpy): Do not use BP_SYM in weak_alias.
20012 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20013 "bp-asm.h".
20014 (PARMS): Do not use macros from bp-asm.h.
20015 (DEST): Likewise.
20016 (LEN): Likewise.
20017 [!BZERO_P] (CHR): Likewise.
20018 (memset): Likewise. Do not use BP_SYM.
20019 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20020 "bp-asm.h".
20021 (PARMS): Do not use macros from bp-asm.h.
20022 (S1): Likewise.
20023 (SIZE): Likewise.
20024 (__mpn_mul_1): Do not use BP_SYM.
20025 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20026 "bp-asm.h".
20027 (PARMS): Do not use macros from bp-asm.h.
20028 (S): Likewise.
20029 (SIZE): Likewise.
20030 (__mpn_rshift): Do not use BP_SYM.
20031 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20032 "bp-asm.h".
20033 (PARMS): Do not use macros from bp-asm.h.
20034 (STR): Likewise.
20035 (CHR): Likewise.
20036 (strchr): Likewise. Do not use BP_SYM.
20037 (index): Do not use BP_SYM in weak_alias.
20038 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20039 "bp-asm.h".
20040 (PARMS): Do not use macros from bp-asm.h.
20041 (DEST): Likewise.
20042 (SRC): Likewise.
20043 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20044 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20045 "bp-asm.h".
20046 (PARMS): Do not use macros from bp-asm.h.
20047 (strlen): Do not use BP_SYM.
20048 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20049 "bp-asm.h".
20050 (PARMS): Do not use macros from bp-asm.h.
20051 (S1): Likewise.
20052 (S2): Likewise.
20053 (SIZE): Likewise.
20054 (__mpn_sub_n): Do not use BP_SYM.
20055 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20056 "bp-asm.h".
20057 (PARMS): Do not use macros from bp-asm.h.
20058 (S1): Likewise.
20059 (SIZE): Likewise.
20060 (__mpn_submul_1): Do not use BP_SYM.
20061 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20062 "bp-asm.h".
20063 (PARMS): Do not use macros from bp-asm.h.
20064 (S1): Likewise.
20065 (S2): Likewise.
20066 (SIZE): Likewise.
20067 (__mpn_add_n): Do not use BP_SYM.
20068 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20069 weak_alias.
20070 (bzero): Likewise.
20071 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20072 "bp-asm.h".
20073 (PARMS): Do not use macros from bp-asm.h.
20074 (BLK2): Likewise.
20075 (LEN): Likewise.
20076 (memcmp): Do not use BP_SYM.
20077 (bcmp): Do not use BP_SYM in weak_alias.
20078 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20079 "bp-asm.h".
20080 (PARMS): Do not use macros from bp-asm.h.
20081 (DEST): Likewise.
20082 (SRC): Likewise.
20083 (LEN): Likewise.
20084 (memcpy): Likewise. Do not use BP_SYM.
20085 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20086 "bp-asm.h".
20087 (PARMS): Do not use macros from bp-asm.h.
20088 (DEST): Likewise.
20089 (SRC): Likewise.
20090 (LEN): Likewise.
20091 (memmove): Likewise. Do not use BP_SYM.
20092 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20093 "bp-asm.h".
20094 (PARMS): Do not use macros from bp-asm.h.
20095 (DEST): Likewise.
20096 (SRC): Likewise.
20097 (LEN): Likewise.
20098 (__mempcpy): Likewise. Do not use BP_SYM.
20099 (mempcpy): Do not use BP_SYM in weak_alias.
20100 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20101 "bp-asm.h".
20102 (PARMS): Do not use macros from bp-asm.h.
20103 (DEST): Likewise.
20104 (LEN): Likewise.
20105 [!BZERO_P] (CHR): Likewise.
20106 (memset): Likewise. Do not use BP_SYM.
20107 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20108 "bp-asm.h".
20109 (PARMS): Do not use macros from bp-asm.h.
20110 (STR2): Likewise.
20111 (strcmp): Do not use BP_SYM.
20112 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20113 "bp-asm.h".
20114 (PARMS): Do not use macros from bp-asm.h.
20115 (STR): Likewise.
20116 (DELIM): Likewise.
20117 [USE_AS_STRTOK_R] (SAVE): Likewise.
20118 (FUNCTION): Likewise. Do not use BP_SYM.
20119 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20120 aliases.
20121 (strtok_r): Likewise.
20122 (__GI___strtok_r): Likewise.
20123 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20124 (PARMS): Do not use macros from bp-asm.h.
20125 (S): Likewise.
20126 (SIZE): Likewise.
20127 (__mpn_lshift): Do not use BP_SYM.
20128 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20129 (PARMS): Do not use macros from bp-asm.h.
20130 (STR): Likewise.
20131 (CHR): Likewise.
20132 (__memchr): Do not use BP_SYM.
20133 (memchr): Do not use BP_SYM in weak_alias.
20134 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20135 (PARMS): Do not use macros from bp-asm.h.
20136 (BLK2): Likewise.
20137 (LEN): Likewise.
20138 (memcmp): Do not use BP_SYM.
20139 (bcmp): Do not use BP_SYM in weak_alias.
20140 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20141 (PARMS): Do not use macros from bp-asm.h.
20142 (S1): Likewise.
20143 (SIZE): Likewise.
20144 (__mpn_mul_1): Do not use BP_SYM.
20145 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20146 "bp-asm.h".
20147 (PARMS): Do not use macros from bp-asm.h.
20148 (STR): Likewise.
20149 (CHR): Likewise.
20150 (__rawmemchr): Do not use BP_SYM.
20151 (rawmemchr): Do not use BP_SYM in weak_alias.
20152 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20153 (PARMS): Do not use macros from bp-asm.h.
20154 (S): Likewise.
20155 (SIZE): Likewise.
20156 (__mpn_rshift): Do not use BP_SYM.
20157 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20158 (PARMS): Do not use macros from bp-asm.h.
20159 (SIGMSK): Likewise.
20160 (__sigsetjmp): Likewise. Do not use BP_SYM.
20161 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20162 (_start): Do not use BP_SYM.
20163 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20164 (PARMS): Do not use macros from bp-asm.h.
20165 (DEST): Likewise.
20166 (SRC): Likewise.
20167 (__stpcpy): Likewise. Do not use BP_SYM.
20168 (stpcpy): Do not use BP_SYM in weak_alias.
20169 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20170 "bp-asm.h".
20171 (PARMS): Do not use macros from bp-asm.h.
20172 (DEST): Likewise.
20173 (SRC): Likewise.
20174 (LEN): Likewise.
20175 (__stpncpy): Likewise. Do not use BP_SYM.
20176 (stpncpy): Do not use BP_SYM in weak_alias.
20177 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20178 (PARMS): Do not use macros from bp-asm.h.
20179 (STR): Likewise.
20180 (CHR): Likewise.
20181 (strchr): Likewise. Do not use BP_SYM.
20182 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20183 "bp-asm.h".
20184 (PARMS): Do not use macros from bp-asm.h.
20185 (STR): Likewise.
20186 (CHR): Likewise.
20187 (__strchrnul): Likewise. Do not use BP_SYM.
20188 (strchrnul): Do not use BP_SYM in weak_alias.
20189 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20190 "bp-asm.h".
20191 (PARMS): Do not use macros from bp-asm.h.
20192 (STOP): Likewise.
20193 (strcspn): Do not use BP_SYM.
20194 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20195 "bp-asm.h".
20196 (PARMS): Do not use macros from bp-asm.h.
20197 (STR): Likewise.
20198 (STOP): Likewise.
20199 (strpbrk): Likewise. Do not use BP_SYM.
20200 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20201 "bp-asm.h".
20202 (PARMS): Do not use macros from bp-asm.h.
20203 (STR): Likewise.
20204 (CHR): Likewise.
20205 (strrchr): Likewise. Do not use BP_SYM.
20206 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20207 (PARMS): Do not use macros from bp-asm.h.
20208 (SKIP): Likewise.
20209 (strspn): Do not use BP_SYM.
20210 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20211 (PARMS): Do not use macros from bp-asm.h.
20212 (STR): Likewise.
20213 (DELIM): Likewise.
20214 (SAVE): Likewise.
20215 (FUNCTION): Likewise. Do not use BP_SYM.
20216 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20217 aliases.
20218 (strtok_r): Likewise.
20219 (__GI___strtok_r): Likewise.
20220 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20221 (PARMS): Do not use macros from bp-asm.h.
20222 (S1): Likewise.
20223 (S2): Likewise.
20224 (SIZE): Likewise.
20225 (__mpn_sub_n): Do not use BP_SYM.
20226 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20227 "bp-asm.h".
20228 (PARMS): Do not use macros from bp-asm.h.
20229 (S1): Likewise.
20230 (SIZE): Likewise.
20231 (__mpn_submul_1): Do not use BP_SYM.
20232 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20233 <bp-sym.h>.
20234 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20235 and <bp-asm.h>.
20236 (PARMS): Do not use macros from bp-asm.h.
20237 (FLAGS): Likewise.
20238 (PTID): Likewise.
20239 (TLS): Likewise.
20240 (CTID): Likewise.
20241 (__clone): Do not use BP_SYM.
20242 (clone): Do not use BP_SYM in weak_alias.
20243 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20244 and <bp-asm.h>.
20245 (PARMS): Do not use macros from bp-asm.h.
20246 (LEN): Likewise.
20247 (__mmap64): Do not use BP_SYM.
20248 (mmap64): Do not use BP_SYM in weak_alias.
20249 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20250 <bp-sym.h> and <bp-asm.h>.
20251 (PARMS): Do not use macros from bp-asm.h.
20252 (__posix_fadvise64_l64): Do not use BP_SYM.
20253 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20254 (PARMS): Do not use macros from bp-asm.h.
20255 (NSOPS): Likewise.
20256 (semtimedop): Do not use BP_SYM.
20257 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20258 and <bp-asm.h>.
20259
582a3cff
AM
202602013-02-21 Allan McRae <allan@archlinux.org>
20261
20262 * manual/message.texi (Charset conversion in gettext):
20263 Move @end statement to beginning of line.
20264
bab8a695
SP
202652013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20266
80945231
SP
20267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20268 static.
20269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20270 Likewise.
20271
bab8a695
SP
20272 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20273 (denorm): Likewise.
20274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20276
e21d7aa7
AK
202772013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20278
20279 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20280 tail-call to the resolved function if pltexit isn't needed.
20281
4c7a4263
SP
202822013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20283
20284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20285 or Y being zero as being unlikely.
20286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20287 Likewise.
20288
41f49342
CD
202892013-02-20 Carlos O'Donell <carlos@redhat.com>
20290
20291 * manual/nss.texi (System Databases and Name Service Switch):
20292 Remove frobnicate @pxref.
20293
50022a93
TS
202942013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20295
20296 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20297 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20298
08cbd996
PM
202992013-02-20 Petr Machata <pmachata@redhat.com>
20300
20301 * elf/elf.h (R_ARM_TARGET1): New macro.
20302 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20303 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20304 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20305 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20306 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20307 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20308 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20309 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20310 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20311 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20312 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20313 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20314 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20315 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20316 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20317 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20318 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20319 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20320 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20321 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20322 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20323 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20324 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20325 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20326 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20327 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20328 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20329 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20330 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20331 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20332 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20333 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20334 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20335 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20336 (R_ARM_THM_GOT_BREL12): Likewise.
20337 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20338 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20339 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20340 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20341 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20342 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20343 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20344 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20345 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20346
c7b275d6
TS
203472013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20348
20349 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20350 __attribute_used__ to __attribute__ ((unused)).
20351
20cd7fb3
SP
203522013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20353
20354 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20355 powerpc mpa.c.
20356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20357 comment formatting.
20358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20359
92945b52
JM
203602013-02-19 Joseph Myers <joseph@codesourcery.com>
20361
20362 [BZ #13550]
20363 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20364 Remove macro.
20365 (ENTER): Remove both macro definitions.
20366 (LEAVE): Likewise.
20367 (CHECK_BOUNDS_LOW): Likewise.
20368 (CHECK_BOUNDS_HIGH): Likewise.
20369 (CHECK_BOUNDS_BOTH): Likewise.
20370 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20371 (RETURN_BOUNDED_POINTER): Likewise.
20372 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20373 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20374 (POP_ERRNO_LOCATION_RETURN): Likewise.
20375 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20376 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20377 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20378 macros.
20379 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20380 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20381 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20382 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20383 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20384 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20385 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20386 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20387 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20388 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20389 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20390 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20391 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20392 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20393 removed macros.
20394 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20395 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20396 macros.
20397 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20398 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20399 * sysdeps/i386/i586/memset.S (memset): Likewise.
20400 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20401 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20402 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20403 macros.
20404 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20405 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20406 Change uses of L(2) to L(out).
20407 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20408 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20409 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20410 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20411 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20412 removed macros.
20413 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20414 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20415 macros.
20416 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20417 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20418 (RETURN): Do not use macro LEAVE.
20419 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20420 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20421 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20422 * sysdeps/i386/i686/memset.S (memset): Likewise.
20423 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20424 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20425 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20426 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20427 Likewise.
20428 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20429 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20430 L(1_2) and L(1_3) into L(1).
20431 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20432 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20433 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20434 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20435 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20436 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20437 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20438 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20439 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20440 macros.
20441 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20442 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20443 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20444 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20445 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20446 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20447 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20448 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20449 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20450 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20451 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20452 * sysdeps/i386/strspn.S (strspn): Likewise.
20453 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20454 conditional code.
20455 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20456 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20457 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20458 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20459 L(1_3) into L(1_1).
20460 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20461 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20462 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20463 macros.
20464 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20465
2389741a
JJ
204662013-02-19 Jakub Jelinek <jakub@redhat.com>
20467
20468 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20469 macro.
20470
2016b3cd
SP
204712013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20472
e4f22324
SP
20473 * math/atest-exp.c (exp_mpn): Remove ROUND.
20474 * math/atest-exp2.c (exp_mpn): Likewise.
20475 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20476
2016b3cd
SP
20477 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20478 * stdlib/tst-tls-atexit-lib.c: Likewise.
20479 * stdlib/tst-tls-atexit.c: Likewise.
20480
4be9b544
MF
204812013-02-18 Mike Frysinger <vapier@gentoo.org>
20482
20483 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20484 and __attribute_alloc_size__.
20485
2f62b9ee
MF
204862013-02-18 Mike Frysinger <vapier@gentoo.org>
20487
20488 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20489 __attribute_alloc_size__.
20490 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20491 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20492
6ff444c4
MF
204932013-02-18 Mike Frysinger <vapier@gentoo.org>
20494
20495 * include/programs/xmalloc.h: New file.
20496 * catgets/gencat.c: Include it.
20497 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20498 * elf/pldd.c: Likewise.
20499 * iconv/iconv_charmap.c: Likewise.
20500 * iconv/iconvconfig.c: Likewise.
20501 * iconv/strtab.c: Likewise.
20502 * locale/programs/locale.c: Likewise.
20503 * locale/programs/localedef.h: Likewise.
20504 * locale/programs/simple-hash.c: Likewise.
20505 * nscd/nscd.h: Likewise.
20506 * nss/makedb.c: Likewise.
20507 * sysdeps/generic/ldconfig.h: Likewise.
20508
be179c8a
SP
205092013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20510
ba384f6e
SP
20511 * Versions.def: Add GLIBC_2.18.
20512 * include/link.h (struct link_map): New member l_tls_dtor_count.
20513 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20514 (__call_tls_dtors): Likewise.
20515 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20516 __cxa_thread_atexit_impl.
20517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20518 Likewise.
20519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20520 Likewise.
20521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20522 Likewise.
20523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20524 Likewise.
20525 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20527 Likewise.
20528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20529 Likewise.
20530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20532 Likewise.
20533 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20534 (tests): Add test case tst-tls-atexit.
20535 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20536 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20537 (GLIBC_PRIVATE): Add __call_tls_dtors.
20538 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20539 for libstdc++.
20540 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20541 * stdlib/tst-tls-atexit.c: New test case.
20542 * stdlib/tst-tls-atexit-lib.c: New test case.
20543
ffaa74cf 20544 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20545
be179c8a
SP
20546 * elf/Versions (ld): Add _dl_find_dso_for_object.
20547 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20548 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20549 (dl_open_worker): Use _dl_find_dso_for_object.
20550 * elf/dl-sym.c (do_sym): Likewise.
20551 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20552
f78b5caa
AK
205532013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20554
20555 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20556 Syntactic changes only.
20557 (_dl_runtime_profile): Do a tail-call to the resolved function.
20558
29691210
JM
205592013-02-17 Joseph Myers <joseph@codesourcery.com>
20560
20561 [BZ #13550]
20562 * sysdeps/x86_64/bp-asm.h: Remove file.
20563 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20564 <bp-sym.h> and <bp-asm.h>.
20565 (__clone): Do not use BP_SYM.
20566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20567 <bp-sym.h> and <bp-asm.h>.
20568 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20569 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20570 "bp-asm.h".
20571 (_setjmp): Do not use BP_SYM.
20572 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20573 "bp-asm.h".
20574 (setjmp): Do not use BP_SYM.
20575 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20576 libc_hidden_def.
20577 (mempcpy): Do not use BP_SYM in weak_alias.
20578 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20579 "bp-asm.h".
20580 (strchr): Do not use BP_SYM.
20581 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20582 "bp-asm.h".
20583 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20584 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20585 (_start): Do not use BP_SYM.
20586 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20587 "bp-asm.h".
20588 (strcat): Do not use BP_SYM.
20589 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20590 "bp-asm.h".
20591 (STRCMP): Do not use BP_SYM.
20592 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20593 "bp-asm.h".
20594 (STRCPY): Do not use BP_SYM.
20595 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20596 "bp-asm.h".
20597 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20598 "bp-asm.h".
20599 (FUNCTION): Do not use BP_SYM.
20600 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20601 weak_alias.
20602 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20603
f238fd19
AJ
206042013-02-17 Andreas Jaeger <aj@suse.de>
20605
20606 * time/Versions: Sort entries.
20607 * string/Versions: Likewise.
20608 * resolv/Versions: Likewise.
20609 * posix/Versions: Likewise.
20610 * iconv/Versions: Likewise.
20611 * elf/Versions: Likewise.
20612 * wcsmbs/Versions: Likewise.
20613
bd07f23c 206142013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20615
22af19f9
SP
20616 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20617 loop termination condition.
20618
4709fe76
SP
20619 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20620 variable to calculate EZ.
20621 (__sqr): Likewise.
2d0e0f29
SP
20622
20623 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20624 the lower precision input.
20625
daaa7713
JM
206262013-02-15 Joseph Myers <joseph@codesourcery.com>
20627
20628 [BZ #13550]
20629 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20630 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20631 (run-via-rtld-prefix): Do not handle %-bp tests.
20632 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20633 (all-object-suffixes): Remove .ob.
20634 (bppfx): Remove variable.
20635 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20636 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20637 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20638 [$(build-bounded) = yes] (libtype.ob): Likewise.
20639 * Makerules (elide-routines.ob): Remove variable.
20640 (do-tests-clean): Do not handle *-bp.out.
20641 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20642 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20643 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20644 (tests): Do not include $(tests-bp.out).
20645 (xtests): Do not include $(xtests-bp.out).
20646 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20647 [$(build-bounded) = yes] ($(addprefix
20648 $(objpfx),$(binaries-bounded))): Remove rule.
20649 ($(objpfx)%-bp.out): Remove rule.
20650 * config.make.in (build-bounded): Remove variable.
20651 * crypt/Makefile [$(build-bounded) = yes]
20652 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20653 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20654 append to variable.
20655 [$(build-bounded) = yes] (install-lib): Likewise.
20656 [$(build-bounded) = yes] (generated): Likewise.
20657 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20658 Remove rule.
20659 * intl/Makefile [$(build-bounded) = yes]
20660 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20661 * math/Makefile [$(build-bounded) = yes]
20662 ($(tests:%=$(objpfx)%-bp): Likewise.
20663 * misc/Makefile [$(build-bounded) = yes]
20664 ($(objpfx)tst-tsearch-bp): Likewise.
20665 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20666 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20667 Remove dependency.
20668 * string/Makefile (o-objects.ob): Remove variable.
20669 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20670 (CFLAGS-.ob): Remove variable.
20671 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20672 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20673 both definitions of variable.
20674 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20675 (ASFLAGS-.ob): Remove variable.
20676
e97ed6dd
JM
206772013-02-14 Joseph Myers <joseph@codesourcery.com>
20678
2bdd4ca6
JM
20679 [BZ #13550]
20680 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20681 Remove __BOUNDED_POINTERS__ from condition.
20682 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20683 * string/bits/string2.h [!__NO_STRING_INLINES &&
20684 !__BOUNDED_POINTERS__]: Likewise.
20685 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20686 Likewise.
20687 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20688 Remove conditional code.
20689 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20690 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20691 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20692 condition.
20693
e97ed6dd
JM
20694 [BZ #13550]
20695 * csu/libc-start.c: Do not include <bp-sym.h>.
20696 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20697 * elf/dl-open.c: Do not include <bp-sym.h>.
20698 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20699 * math/fegetenv.c: Do not include <bp-sym.h>.
20700 (fegetenv): Do not use BP_SYM in versioned symbols.
20701 * nptl/sysdeps/pthread/bits/libc-lockP.h
20702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20703 <bp-sym.h>.
20704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20705 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20707 (__pthread_mutex_destroy): Likewise.
20708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20709 (__pthread_mutex_lock): Likewise.
20710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20711 (__pthread_mutex_trylock): Likewise.
20712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20713 (__pthread_mutex_unlock): Likewise.
20714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20715 (__pthread_mutexattr_init): Likewise.
20716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20717 (__pthread_mutexattr_destroy): Likewise.
20718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20719 (__pthread_mutexattr_settype): Likewise.
20720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20721 (__pthread_rwlock_init): Likewise.
20722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20723 (__pthread_rwlock_destroy): Likewise.
20724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20725 (__pthread_rwlock_rdlock): Likewise.
20726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20727 (__pthread_rwlock_tryrdlock): Likewise.
20728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20729 (__pthread_rwlock_wrlock): Likewise.
20730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20731 (__pthread_rwlock_trywrlock): Likewise.
20732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20733 (__pthread_rwlock_unlock): Likewise.
20734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20735 (__pthread_key_create): Likewise.
20736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20737 (__pthread_setspecific): Likewise.
20738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20739 (__pthread_getspecific): Likewise.
20740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20741 Likewise.
20742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20743 (_pthread_cleanup_push_defer): Likewise.
20744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20745 (_pthread_cleanup_pop_restore): Likewise.
20746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20747 (pthread_setcancelstate): Likewise.
20748 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20749 <bp-sym.h>.
20750 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20751 (memchr): Do not use BP_SYM in weak_alias.
20752 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20753 (fegetenv): Do not use BP_SYM in versioned symbols.
20754 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20755 (fesetenv): Do not use BP_SYM in versioned symbols.
20756 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20757 (feupdateenv): Do not use BP_SYM in versioned symbols.
20758 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20759 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20760 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20761 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20762 (open64): Do not use BP_SYM in weak_alias.
20763 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20764 (fegetenv): Do not use BP_SYM in versioned symbols.
20765 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20766 (fesetenv): Do not use BP_SYM in versioned symbols.
20767 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20768 (feupdateenv): Do not use BP_SYM in versioned symbols.
20769 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20770 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20771 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20772 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20773 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20774 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20775 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20776 <bp-sym.h>.
20777 (__libc_start_main): Do not use BP_SYM.
20778
d6752ccd
SP
207792013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20780
cb57ce60
SP
20781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20782 redundant return line.
20783 (norm): Likewise.
20784 (denorm): Likewise.
20785 (dbl_mp): Likewise.
20786 (sub_magnitudes): Likewise.
20787 (__add): Likewise.
20788 (__sub): Likewise.
20789 (__mul): Likewise.
20790 (__inv): Likewise.
20791 (__dvd): Likewise.
20792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20793 (norm): Likewise.
20794 (denorm): Likewise.
20795 (dbl_mp): Likewise.
20796 (sub_magnitudes): Likewise.
20797 (__add): Likewise.
20798 (__sub): Likewise.
20799 (__mul): Likewise.
20800 (__inv): Likewise.
20801 (__dvd): Likewise.
20802
f414520d
SP
20803 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20804 instead of __mul.
20805 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20806 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20807 (cc32): Likewise.
20808
d6752ccd
SP
20809 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20810 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20811 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20812 of __mul for squares.
20813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20814 function
20815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20816 Likewise.
20817 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20819
70d9946a
JM
208202013-02-13 Joseph Myers <joseph@codesourcery.com>
20821
20822 [BZ #13550]
20823 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20824 code.
20825 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20826 prototype or function definition. Rename ubp_* variables and
20827 parameters. Remove argv definitions conditional on
20828 [__BOUNDED_POINTERS__].
20829 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20830 * elf/dl-runtime.c (_dl_fixup): Likewise.
20831 * include/set-hooks.h (RUN_HOOK): Likewise.
20832 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20833 definition.
20834 * string/strcpy.c (strcpy): Do not use __unbounded.
20835 * sysdeps/generic/frame.h (struct layout): Likewise.
20836 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20837 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20838 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20839 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20840 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20841 (__backtrace): Likewise.
20842 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20843 use __ptrvalue.
20844 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20845 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20846 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20847 Likewise.
20848 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20849 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20850 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20851 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20852 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20853 Do not use __unbounded.
20854 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20855 Rename __unboundedrlimits parameter to rlimits in prototype.
20856 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20857 Do not use __unbounded.
20858 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20859 not use __ptrvalue.
20860 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20861 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20862 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20863 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20864 __ptrvalue or __unbounded.
20865 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20866 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20867 use __unbounded.
20868 (__new_msgctl): Do not use __ptrvalue.
20869 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20870 __unbounded.
20871 (__libc_msgrcv): Do not use __ptrvalue.
20872 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20873 startup_info): Do not use __unbounded.
20874 (__libc_start_main): Likewise. Rename ubp_* variables and
20875 parameters. Remove argv definitions conditional on
20876 [__BOUNDED_POINTERS__].
20877 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20878 __ptrvalue.
20879 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20880 use __unbounded.
20881 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20882 or __ptrvalue.
20883 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20884 use __unbounded.
20885 (__new_shmctl): Do not use __ptrvalue.
20886 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20887 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20888 Likewise.
20889 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20890 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20891 (__libc_sigaction): Likewise.
20892 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20893 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20894 Likewise.
20895 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20896
cc7834d6
OB
208972013-02-13 Ondřej Bílka <neleai@seznam.cz>
20898
ffb1ec7b 20899 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20900
20901 * string/mempcpy.c: Implement by calling memcpy.
20902
bdf02814
SP
209032013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20904
c2af38aa
SP
20905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20906
4e92d59e
SP
20907 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20908 evaluation.
20909
909279a5
SP
20910 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20911 values in the mantissa.
20912
bdf02814
SP
20913 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20914 minimize writes to Z.
20915 (sub_magnitudes): Simplify code a bit.
20916
cd525923
RM
209172013-02-12 Roland McGrath <roland@hack.frob.com>
20918
20919 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20920 from the message. The linker prefixes all warnings with that already.
20921
7e2f0d2d
AS
209222013-02-12 Andreas Schwab <schwab@suse.de>
20923
a445af0b
AS
20924 [BZ #15078]
20925 * posix/regexec.c (extend_buffers): Add parameter min_len.
20926 (check_matching): Pass minimum needed length.
20927 (clean_state_log_if_needed): Likewise.
20928 (get_subexp): Likewise.
20929 * posix/Makefile (tests): Add bug-regex34.
20930 (bug-regex34-ENV): Define.
20931 * posix/bug-regex34.c: New file.
20932
7e2f0d2d
AS
20933 [BZ #11561]
20934 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20935 elements compare against the byte sequence of it, not its name.
20936 * posix/Makefile (tests): Add bug-regex35.
20937 (bug-regex35-ENV): Define.
20938 * posix/bug-regex35.c: New file.
20939
a175b684
TV
209402013-02-11 Tom de Vries <tom@codesourcery.com>
20941
20942 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20943 comment.
20944 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20945 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20946 (CHECK_EOL): Add undef.
20947
310998fe 209482013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
20949
20950 * bits/stdlib-bsearch.h: New file.
20951 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 20952 * stdlib/stdlib.h: Likewise.
41eda41d 20953
8ded91fb
RM
209542013-02-11 Roland McGrath <roland@hack.frob.com>
20955
20956 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20957 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20958 declaration.
20959 * manual/search.texi (Array Search Function): Add missing const in
20960 lfind prototype.
20961 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20962 declaration to use rlim_t.
20963 (Basic Scheduling Functions): Remove erroneous const from
20964 sched_getparam prototype. Remove erroneous * from
20965 sched_get_priority_max and sched_get_priority_min prototypes.
20966 (Resource Usage): Fix summary @comment on vtimes to refer to
20967 sys/vtimes.h rather than vtimes.h.
20968 Add missing *s in vtimes prototype.
20969 (Limits on Resources): Fix ulimit prototype to return long int.
20970 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20971 prototypes to use long int rather than double.
20972 (BSD Random): Fix initstate and setstate to use char *, not void *.
20973 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20974 prototype to make second argument 'struct aiocb64 *const[]'.
20975 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20976 (Status of AIO Operations): Remove erroneous const in aio_return and
20977 aio_return64 prototypes.
20978 (Synchronizing I/O): Fix sync prototype to return void.
20979 * manual/startup.texi (Suboptions): Remove an erroneous const in
20980 getsubopt prototype.
20981 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20982 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20983 use size_t rather than int.
20984 (Scanning All Users): Likewise for getpwent_r.
20985 (Setting Groups): Add missing const to setgroups prototype.
20986 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20987 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20988 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20989 'const void *' rather than 'const char *'.
20990 (Host Address Functions): Likewise for inet_ntop.
20991 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20992 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20993 ssize_t for return value.
20994 (Sending Data): Likewise for send, sendto, sendmsg.
20995 (Socket Option Functions): Add a missing const in setsockopt prototype.
20996 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20997 use wchar_t for the argument.
20998 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20999 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21000 take no arguments.
21001 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21002 double/float/long double for second argument.
21003 Fix return types of significand, significandf, significandl.
21004 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21005 argument in fchmod prototype.
21006 (File Owner): Use uid_t and gid_t in fchown prototype.
21007 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21008 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21009 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21010 use 'const struct dirent **' as argument types to CMP function pointer
21011 argument.
21012 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21013 (File Times): Fix summary magic @comment for struct utimbuf and utime
21014 to refer to utime.h, not time.h.
21015 * manual/string.texi (Argz Functions): Add missing const in
21016 argz_extract and argz_next prototypes.
21017 (Finding Tokens in a String): Likewise for basename.
21018 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21019 (Copying and Concatenation): Fix typo in wmemmove prototype.
21020 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21021 (Signal Stack): Remove erroneous const in sigstack prototype.
21022 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21023 prototype.
21024 (Simple Calendar Time): Likewise for stime.
21025 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21026 prototype.
21027 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21028 say sys/sysctl.h instead.
21029 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21030 and vsyslog prototypes.
21031
fe77fe6d
TV
210322013-02-11 Tom de Vries <tom@codesourcery.com>
21033
21034 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21035 Remove.
21036
3a09b620
RM
210372013-02-11 Roland McGrath <roland@hack.frob.com>
21038
21039 * misc/sys/mman.h: Fix typo in mremap comment.
21040
550a0b89
RM
210412013-02-08 Roland McGrath <roland@hack.frob.com>
21042
21043 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21044 the '\0' terminator.
21045
a2da1673
JM
210462013-02-08 Joseph Myers <joseph@codesourcery.com>
21047
21048 [BZ #13550]
21049 * debug/segfault.c: Don't include <bp-checks.h>.
21050 * sysdeps/generic/bp-checks.h: Remove file.
21051 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21052 (__GETDENTS): Don't use CHECK_N.
21053 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21054 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21055 (__getgroups): Don't use CHECK_N.
21056 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21057 (setgroups): Don't use CHECK_N.
21058 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21059 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21060 (__libc_msgrcv): Don't use CHECK_N.
21061 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21062 (__libc_msgsnd): Don't use CHECK_N.
21063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21064 <bp-checks.h>.
21065 (__libc_pread): Don't use CHECK_N.
21066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21067 include <bp-checks.h>.
21068 (__libc_pread64): Don't use CHECK_N.
21069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21070 include <bp-checks.h>.
21071 (__libc_pwrite): Don't use CHECK_N.
21072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21073 include <bp-checks.h>.
21074 (__libc_pwrite64): Don't use CHECK_N.
21075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21076 <bp-checks.h>.
21077 (__libc_pread): Don't use CHECK_N.
21078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21079 include <bp-checks.h>.
21080 (__libc_pread64): Don't use CHECK_N.
21081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21082 include <bp-checks.h>.
21083 (__libc_pwrite): Don't use CHECK_N.
21084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21085 include <bp-checks.h>.
21086 (__libc_pwrite64): Don't use CHECK_N.
21087 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21088 (do_pread): Don't use CHECK_N.
21089 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21090 (do_pread64): Don't use CHECK_N.
21091 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21092 (do_pwrite): Don't use CHECK_N.
21093 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21094 (do_pwrite64): Don't use CHECK_N.
21095 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21096 (__libc_readv): Don't use CHECK_N.
21097 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21098 (semop): Don't use CHECK_N.
21099 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21100 <bp-checks.h>.
21101 (semtimedop): Don't use CHECK_N.
21102 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21103 (__libc_pread): Don't use CHECK_N.
21104 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21105 <bp-checks.h>.
21106 (__libc_pread64): Don't use CHECK_N.
21107 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21108 <bp-checks.h>.
21109 (__libc_pwrite): Don't use CHECK_N.
21110 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21111 <bp-checks.h>.
21112 (__libc_pwrite64): Don't use CHECK_N.
21113 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21114 <bp-checks.h>.
21115 (__libc_msgrcv): Don't use CHECK_N.
21116 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21117 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21118 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21119 (__libc_writev): Don't use CHECK_N.
21120
b84660a8
RM
211212013-02-08 Roland McGrath <roland@hack.frob.com>
21122
7f3e75f8
RM
21123 * string/strcpy.c: Removed unused variable.
21124
b84660a8
RM
21125 * Makeconfig (+sysdep-includes): Define with := rather than =.
21126 Use an existing include/ subdir of each sysdeps dir before it.
21127
471514d3
CD
211282013-02-08 Carlos O'Donell <carlos@redhat.com>
21129
21130 * nscd/connection.c (register_traced_file): Comment function.
21131 [HAVE_INOTIFY] (union __inev): Define.
21132 [HAVE_INOTIFY] (inotify_check_files): New function.
21133 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21134 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21135 clear_db_cache.
21136 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21137
b2d3c3be
CD
211382013-02-08 Carlos O'Donell <carlos@redhat.com>
21139
21140 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21141 loaded if not already and that a failure is permanent.
21142
b39949d2
CD
211432013-02-08 Carlos O'Donell <carlos@redhat.com>
21144
ddacd1db 21145 [BZ #15006]
b39949d2
CD
21146 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21147 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21148
b2c9eff4
JM
211492013-02-08 Joseph Myers <joseph@codesourcery.com>
21150
f3aae3f3
JM
21151 [BZ #13550]
21152 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21153 (CHECK_1_NULL_OK): Likewise.
21154 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21155 (__fxstat): Do not use CHECK_1.
21156 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21157 <bp-checks.h>.
21158 (___fxstat64): Do not use CHECK_1.
21159 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21160 <bp-checks.h>.
21161 (__fxstatat): Do not use CHECK_1.
21162 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21163 <bp-checks.h>.
21164 (__fxstatat64): Do not use CHECK_1.
21165 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21166 <bp-checks.h>.
21167 (__fxstat): Do not use CHECK_1.
21168 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21169 <bp-checks.h>.
21170 (__fxstatat): Do not use CHECK_1.
21171 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21172 <bp-checks.h>.
21173 (__getresgid): Do not use CHECK_1.
21174 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21175 <bp-checks.h>.
21176 (__getresuid): Do not use CHECK_1.
21177 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21178 <bp-checks.h>.
21179 (__lxstat): Do not use CHECK_1.
21180 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21181 <bp-checks.h>.
21182 (__old_msgctl): Do not use CHECK_1.
21183 (__new_msgctl): Likewise.
21184 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21185 <bp-checks.h>.
21186 (__new_setrlimit): Do not use CHECK_1.
21187 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21188 <bp-checks.h>.
21189 (__old_shmctl): Do not use CHECK_1.
21190 (__new_shmctl): Likewise.
21191 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21192 <bp-checks.h>.
21193 (__xstat): Do not use CHECK_1.
21194 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21195 (__lxstat): Do not use CHECK_1.
21196 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21197 <bp-checks.h>.
21198 (___lxstat64): Do not use CHECK_1.
21199 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21200 (__old_msgctl): Do not use CHECK_1.
21201 (__new_msgctl): Likewise.
21202 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21203 <bp-checks.h>.
21204 (__gettimeofday): Do not use CHECK_1.
21205 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21206 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21207 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21208 <bp-checks.h>.
21209 (__gettimeofday): Do not use CHECK_1.
21210 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21211 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21212 (__new_shmctl): Do not use CHECK_1.
21213 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21214 <bp-checks.h>.
21215 (do_sigtimedwait): Do not use CHECK_1.
21216 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21217 <bp-checks.h>.
21218 (do_sigwaitinfo): Do not use CHECK_1.
21219 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21220 <bp-checks.h>.
21221 (msgctl): Do not use CHECK_1.
21222 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21223 <bp-checks.h>.
21224 (shmctl): Do not use CHECK_1.
21225 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21226 (ustat): Do not use CHECK_1.
21227 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21228 <bp-checks.h>.
21229 (__fxstat): Do not use CHECK_1.
21230 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21231 <bp-checks.h>.
21232 (__fxstatat): Do not use CHECK_1.
21233 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21234 <bp-checks.h>.
21235 (__lxstat): Do not use CHECK_1.
21236 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21237 <bp-checks.h>.
21238 (__xstat): Do not use CHECK_1.
21239 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21240 (__xstat): Do not use CHECK_1.
21241 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21242 (___xstat64): Do not use CHECK_1.
21243
b2c9eff4
JM
21244 [BZ #13550]
21245 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21246 definitions.
21247 (CHECK_BOUNDS_HIGH): Likewise.
21248 * string/strcpy.c: Do not include <bp-checks.h>.
21249 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21250
f1d70dad
RM
212512013-02-07 Roland McGrath <roland@hack.frob.com>
21252
21253 * nscd/nscd-client.h (__nscd_drop_map_ref):
21254 Add __attribute__ ((unused)).
21255 * nis/nss-nisplus.h (niserr2nss): Likewise.
21256
21257 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21258 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21259
21260 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21261 Remove inline keyword.
21262 * include/rounding-mode.h (round_away): Likewise.
21263 * libio/wfileops.c (adjust_wide_data): Likewise.
21264 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21265 (__m128i_strloadu_tolower): Likewise.
21266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21267 (__m128i_strloadu_tolower): Likewise.
21268 * time/mktime.c (ydhms_diff): Likewise.
21269 * locale/elem-hash.h (elem_hash): Likewise.
21270 * locale/setlocale.c (setdata): Likewise.
21271 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21272 (re_string_wchar_at): Likewise.
21273 (bitset_not, bitset_merge, bitset_mask): Likewise.
21274 [!(__GNUC__ > 3)] (inline): Remove macro.
21275 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21276 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21277 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21278 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21279 * string/memcmp.c (memcmp_bytes): Likewise.
21280 * locale/programs/locarchive.c (compute_hashval): Likewise.
21281 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21282 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21283 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21284 * nss/getent.c (print_rpc, print_protocols): Likewise.
21285 (print_passwd, print_group, print_aliases): Likewise.
21286 * nis/nss-nisplus.h (niserr2nss): Likewise.
21287 * nscd/connections.c (restart_p): Likewise.
21288 Change return type to bool.
21289
eab55bfb
RM
212902013-02-05 Roland McGrath <roland@hack.frob.com>
21291
7bd642f5
RM
21292 * Makeconfig (all-Depend-files): Add existing
21293 $(sorted-subdirs:=/Depend) files.
21294 (all-subdirs): Remove nss.
21295 * sysdeps/unix/inet/Subdirs: Add it here instead.
21296 * hesiod/Depend: New file.
21297
573c29b2
RM
21298 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21299 instead of calling alloca.
21300
b2e25af0
RM
21301 * io/lseek.c (__lseek): Rename to __libc_lseek.
21302 Define __lseek as an alias.
21303
eab55bfb
RM
21304 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21305
9a0d1941
CD
213062013-02-04 Carlos O'Donell <carlos@redhat.com>
21307
21308 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21309 else clause and remove check for non-standard endianness.
21310
b83bbec4
DM
213112013-02-04 David S. Miller <davem@davemloft.net>
21312
21313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21314
6277fdab
JM
213152013-02-04 Joseph Myers <joseph@codesourcery.com>
21316
21317 [BZ #13550]
21318 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21319 (__ubp_memchr): Remove prototype.
21320 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21321 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21322 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21323 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21324 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21325 Remove alias.
21326 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21327 (__ubp_memchr): Likewise.
21328 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21329 (__ubp_memchr): Likewise.
21330 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21331 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21332 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21333 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21334 CHECK_STRING.
21335 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21336 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21337 (__getcwd): Do not use CHECK_STRING.
21338 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21339 <bp-checks.h>.
21340 (__real_chown): Do not use CHECK_STRING.
21341 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21342 <bp-checks.h>.
21343 (fchownat): Do not use CHECK_STRING.
21344 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21345 CHECK_STRING.
21346 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21347 <bp-checks.h>.
21348 (__lchown): Do not use CHECK_STRING.
21349 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21350 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21351 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21352 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21354 include <bp-checks.h>.
21355 (truncate64): Do not use CHECK_STRING.
21356 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21357 <bp-checks.h>.
21358 (__real_chown): Do not use CHECK_STRING.
21359 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21360 <bp-checks.h>.
21361 (__lchown): Do not use CHECK_STRING.
21362 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21363 <bp-checks.h>.
21364 (__chown): Do not use CHECK_STRING.
21365 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21366 <bp-checks.h>.
21367 (truncate64): Do not use CHECK_STRING.
21368 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21369 Likewise.
21370 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21371 (__xmknod): Do not use CHECK_STRING.
21372 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21373 <bp-checks.h>.
21374 (__xmknodat): Do not use CHECK_STRING.
21375 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21376 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21377
903ae060
AS
213782013-02-04 Andreas Schwab <schwab@suse.de>
21379
21380 [BZ #14142]
21381 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21382 * include/netdb.h: Likewise for h_errno.
21383 * elf/tst-stackguard1.c: Include <tls.h>.
21384
542f9466
JK
213852013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21386
21387 * elf/link.h (struct link_map): Extend the l_addr comment.
21388 * include/link.h (struct link_map): Likewise.
21389
e782a927
JM
213902013-02-01 Joseph Myers <joseph@codesourcery.com>
21391
21392 [BZ #13550]
21393 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21394 (BOUNDED_1): Remove macro.
21395 * debug/backtrace.c: Don't include <bp-checks.h>.
21396 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21397 (__backtrace): Likewise.
21398 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21399 <bp-checks.h>.
21400 (__backtrace): Don't use BOUNDED_1.
21401 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21402 <bp-checks.h>.
21403 (__backtrace): Don't use BOUNDED_1.
21404 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21405 (__backtrace): Don't use BOUNDED_1.
21406 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21407 (shmat): Don't use BOUNDED_N.
21408
8cf28c5e
JM
214092013-01-31 Joseph Myers <joseph@codesourcery.com>
21410
3a7ac8a0
JM
21411 [BZ #13550]
21412 * sysdeps/generic/bp-start.h: Remove file.
21413 * csu/libc-start.c: Don't include <bp-start.h>.
21414 (LIBC_START_MAIN): Set up __environ directly instead of using
21415 INIT_ARGV_and_ENVIRON.
21416 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21417 <bp-start.h>.
21418
f3499f95
JM
21419 [BZ #13550]
21420 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21421 definitions.
21422 (CHECK_FCNTL): Likewise.
21423 (CHECK_N_PAGES): Likewise.
21424
32a45bea
JM
21425 [BZ #13550]
21426 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21427 definitions.
21428 (CHECK_SIGSET_NULL_OK): Likewise.
21429 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21430 <bp-checks.h>.
21431 (sigpending): Don't use CHECK_SIGSET.
21432 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21433 <bp-checks.h>.
21434 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21435 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21436 <bp-checks.h>.
21437 (do_sigsuspend): Don't use CHECK_SIGSET.
21438 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21439 use CHECK_SIGSET.
21440 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21441 (do_sigwait): Don't use CHECK_SIGSET.
21442 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21443 use CHECK_SIGSET.
21444 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21445 include <bp-checks.h>.
21446 (sigpending): Don't use CHECK_SIGSET.
21447 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21448 include <bp-checks.h>.
21449 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21450 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21451 <bp-checks.h>.
21452 (sigpending): Don't use CHECK_SIGSET.
21453 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21454 <bp-checks.h>.
21455 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21456
2e8a5c8c
JM
21457 [BZ #13550]
21458 * sysdeps/generic/bp-semctl.h: Remove file.
21459 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21460 <bp-checks.h> and <bp-semctl.h>.
21461 (__old_semctl): Don't use CHECK_SEMCTL.
21462 (__new_semctl): Likewise.
21463 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21464 and <bp-semctl.h>.
21465 (__old_semctl): Don't use CHECK_SEMCTL.
21466 (__new_semctl): Likewise.
21467 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21468 <bp-checks.h> and <bp-semctl.h>.
21469 (__old_semctl): Don't use CHECK_SEMCTL.
21470 (__new_semctl): Likewise.
21471 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21472 <bp-checks.h> and <bp-semctl.h>.
21473 (semctl): Don't use CHECK_SEMCTL.
21474
c2d54929
JM
21475 [BZ #13550]
21476 * Makerules (elide-bp-thunks): Remove variable.
21477 (elide-routines.oS): Don't use $(elide-bp-thunks).
21478 (elide-routines.os): Likewise.
21479 (elide-routines.o): Likewise.
21480 (elide-routines.op): Likewise.
21481 (elide-routines.og): Likewise.
21482 (objects): Don't use $(bp-thunks).
21483 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21484 include.
21485 (common-generated): Do not add s-proto-bp.d.
21486 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21487 (int): Likewise.
21488 (typ): Likewise.
21489 Do not generate makefile rules for bounded-pointer thunks.
21490 * sysdeps/generic/bp-thunks.h: Remove file.
21491 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21492 * sysdeps/unix/s-proto-bp.S: Likewise.
21493
8cf28c5e
JM
21494 [BZ #15062]
21495 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21496 parts of result separately when argument is not close to line from
21497 -i to i and one part of argument is small.
21498 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21499 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21500 * math/libm-test.inc (cacos_test): Add more tests.
21501 (casin_test): Likewise.
21502 (casinh_test): Likewise.
21503 * sysdeps/i386/fpu/libm-test-ulps: Update.
21504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21505
c4e33b8d
DM
215062013-01-31 David S. Miller <davem@davemloft.net>
21507
21508 * po/de.po: Update from translation team.
21509
3b60b421
MK
215102013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21511
21512 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21513
bb931195
TS
215142013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21515
b5a5da23
TS
21516 * configure.in (_AC_PROG_CC_C89): New definition.
21517 * configure: Regenerate.
21518
bb931195
TS
21519 * configure.in (AC_PROG_CPP): New definition.
21520 * configure: Regenerate.
21521
8c53a12c
JM
215222013-01-23 Joseph Myers <joseph@codesourcery.com>
21523
21524 * debug/tst-backtrace.h: New file.
21525 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21526 (ret): Remove variable.
21527 (x): Likewise.
21528 (FAIL): Remove macro.
21529 (NO_INLINE): Likewise.
21530 (fn1): Use match function instead of strstr.
21531 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21532 (ret): Remove variable.
21533 (x): Likewise.
21534 (FAIL): Remove macro.
21535 (NO_INLINE): Likewise.
21536 (fn): Use match function instead of strstr.
21537 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21538 (ret): Remove variable.
21539 (x): Likewise.
21540 (FAIL): Remove macro.
21541 (NO_INLINE): Likewise.
21542 (handle_signal): Use match function instead of strstr.
21543 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21544 (ret): Remove variable.
21545 (x): Likewise.
21546 (FAIL): Remove macro.
21547 (NO_INLINE): Likewise.
21548 (handle_signal): Use match function instead of strstr.
21549
4858fa2a
RM
215502013-01-23 Roland McGrath <roland@hack.frob.com>
21551
21552 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21553
bae8e7f5
DM
215542013-01-23 David S. Miller <davem@davemloft.net>
21555
21556 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21557 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21558 argument of CAS if possible.
21559 * sysdeps/sparc/sparc64/bits/atomic.h
21560 (__arch_compare_and_exchange_val_32_acq): Likewise.
21561 (__arch_compare_and_exchange_val_64_acq): Likewise.
21562
9cbbc4ae
PT
215632013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21564
21565 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21566 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21567 Include <limits.h>.
67b3f58c 21568 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21569
5655a0b5
AC
215702013-01-23 Adam Conrad <adconrad@0c3.net>
21571
21572 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21573 (LDFLAGS-tst-array5): Likewise.
21574
052aff95
JM
215752013-01-23 Joseph Myers <joseph@codesourcery.com>
21576
21577 [BZ #15036]
21578 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21579 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21580 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21581 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21582
7c1e01aa
DM
215832013-01-21 David S. Miller <davem@davemloft.net>
21584
21585 * sysdeps/sparc/backtrace.c: New file.
21586 * sysdeps/sparc/sparc32/backtrace.h: New file.
21587 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21588 * sysdeps/sparc/sparc64/backtrace.h: New file.
21589 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21590 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21591 -funwind-tables.
21592
ab087e0a
AS
215932013-01-21 Andreas Schwab <schwab@suse.de>
21594
21595 [BZ #15020]
21596 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21597 closed its stdout.
21598
ed689c2f
AS
215992013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21600
21601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21602 "mpa2.h".
21603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21604
31d470ac
JM
216052013-01-18 Joseph Myers <joseph@codesourcery.com>
21606 Mark Mitchell <mark@codesourcery.com>
21607 Tom de Vries <tom@codesourcery.com>
21608 Paul Pluzhnikov <ppluzhnikov@google.com>
21609
21610 * debug/tst-backtrace2.c: New file.
21611 * debug/tst-backtrace3.c: Likewise.
21612 * debug/tst-backtrace4.c: Likewise.
21613 * debug/tst-backtrace5.c: Likewise.
21614 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21615 (CFLAGS-tst-backtrace3.c): Likewise.
21616 (CFLAGS-tst-backtrace4.c): Likewise.
21617 (CFLAGS-tst-backtrace5.c): Likewise.
21618 (LDFLAGS-tst-backtrace2): Likewise.
21619 (LDFLAGS-tst-backtrace3): Likewise.
21620 (LDFLAGS-tst-backtrace4): Likewise.
21621 (LDFLAGS-tst-backtrace5): Likewise.
21622 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21623 tst-backtrace4 and tst-backtrace5.
21624
90567f30 216252013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21626 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21627
21628 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21629 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21630 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21631 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21633 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21634 "+r" and remove output regs list as redundant. Add explicit inline
21635 asm to specify register of return val to work around compiler codegen
21636 bug. Remove (int) cast on return value. Add return type parameter to
21637 use in macro so that this macro does not truncate return value for
21638 64-bit values.
21639 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21640 pass to INTERNAL_VSYSCALL_NCS.
21641 (INLINE_VSYSCALL): Add 'long int' as return type to
21642 INTERNAL_VSYSCALL_NCS macro invocation.
21643 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21644 INTERNAL_VSYSCALL_NCS macro invocation.
21645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21646
d3b9ea61
SP
216472013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21648
0b57daeb
SP
21649 [BZ #14496]
21650 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21651 Fix application of SIMD FP exception mask.
21652
caa99d06
SP
21653 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21654 mp_no from a power of two.
21655 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21656 __mpexp_twomm1. Use __pow_mp.
21657
d3b9ea61
SP
21658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21659 multiplication.
21660
1dbaee3c
DM
216612013-01-17 David S. Miller <davem@davemloft.net>
21662
21663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21664
728d7b43
JM
216652013-01-17 Joseph Myers <joseph@codesourcery.com>
21666
21667 [BZ #15023]
21668 * include/complex.h: Condition contents on [!_COMPLEX_H].
21669 (__kernel_casinhf): New prototype.
21670 (__kernel_casinh): Likewise.
21671 (__kernel_casinhl): Likewise.
21672 * math/Makefile (libm_calls): Add k_casinh.
21673 * math/k_casinh.c: New file.
21674 * math/k_casinhf.c: Likewise.
21675 * math/k_casinhl.c: Likewise.
21676 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21677 finite nonzero arguments.
21678 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21679 finite nonzero arguments.
21680 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21681 finite nonzero arguments.
21682 * math/s_casinh.c: Do not include <float.h>.
21683 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21684 * math/s_casinhf.c: Do not include <float.h>.
21685 (__casinhf): Move code for finite nonzero arguments to
21686 k_casinhf.c.
21687 * math/s_casinhl.c: Do not include <float.h>.
21688 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21689 redefine.
21690 (__casinhl): Move code for finite nonzero arguments to
21691 k_casinhl.c.
21692 * math/libm-test.inc (cacos_test): Add more tests.
21693 * sysdeps/i386/fpu/libm-test-ulps: Update.
21694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21695
2a26ef3a
PT
216962013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21697
21698 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21699 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21700 [!HAVE_MREMAP]: Remove [defined linux] case.
21701 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21702
a897655d
SP
217032013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21704
21705 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21706
881ebe89 217072013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21708
21709 * elf/elf.h (R_386_SIZE32): New relocation.
21710 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21711 R_386_SIZE32.
21712 (elf_machine_rela): Likewise.
21713 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21714 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21715
59981e9b
JM
217162013-01-17 Joseph Myers <joseph@codesourcery.com>
21717
21718 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21719 (FP_FAST_FMA): Do not define.
21720 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21721 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21722 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21723 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21724 !_SOFT_FLOAT]: Likewise.
21725 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21726 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21727 value.
21728 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21729 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21730 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21731 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21732 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21733 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21734 file.
21735
cfa8054f
AS
217362013-01-16 Andreas Schwab <schwab@suse.de>
21737
21738 [BZ #14327]
21739 * include/stdlib.h (__mktemp): Add declaration.
21740 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21741 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21742
dd930cc5
SP
217432013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21744
881ebe89
SP
21745 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21746 definitions.
21747 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21748 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21749 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21750 definitions here.
21751 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21752 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21753 definitions.
21754 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21755 and ONE.
21756 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21757 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21758 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21759 definitions.
21760 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21761 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21762 definitions.
21763 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21764
dd930cc5
SP
21765 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21766
c19a9f89
DM
217672013-01-15 David S. Miller <davem@davemloft.net>
21768
1aa61767
DM
21769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21770 trunc{,f} to libm-sysdep_routes.
21771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21773 file.
21774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21776 file.
21777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21778 file.
21779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21781 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21782 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21783 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21784 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21785 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21786 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21787
c42d5e98
DM
21788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21789 nearbyint{,f} to libm-sysdep_routes.
21790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21792 New file.
21793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21794 file.
21795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21796 New file.
21797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21798 file.
21799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21801 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21802 file.
21803 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21804 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21805 file.
21806 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21807 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21808 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21809
c19a9f89
DM
21810 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21811 libc_feholdexcept and libc_fesetenv.
21812
357679d2
MF
218132013-01-15 Mike Frysinger <vapier@gentoo.org>
21814
21815 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21816
65a82e3d
DM
218172013-01-14 David S. Miller <davem@davemloft.net>
21818
8b954ab9
DM
21819 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21820 (SPARC_ASM_VIS2_IFUNC): Likewise.
21821 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21823 use of 'siam' instruction.
21824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21825 Likewise.
21826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21827 Likewise.
21828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21829 Likewise.
21830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21835 file.
21836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21837 file.
21838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21839 file.
21840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21841 file.
21842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21847 new VIS2 routines.
21848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21851 Likewise.
21852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21857 routines to libm-sysdep_routines.
21858 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21859
65a82e3d
DM
21860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21861 fdim/fdimf to libm-sysdep_routines.
21862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21863 file.
21864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21866 file.
21867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21870 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21871 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21872 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21873 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21874
e34ab705
SP
218752013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21876
2a91b573
SP
21877 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21878 to optimize copies.
21879
1066a534
SP
21880 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21883
e34ab705
SP
21884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21885 local variable MPTWO.
21886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21887 Likewise.
21888
aba5e596
MF
218892013-01-13 Mike Frysinger <vapier@gentoo.org>
21890
21891 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21892 GLOB_NOESCAPE.
21893
e557e9e5
MF
218942013-01-13 Mike Frysinger <vapier@gentoo.org>
21895
21896 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21897
0428cec9
MF
218982013-01-13 Mike Frysinger <vapier@gentoo.org>
21899
21900 * manual/pattern.texi (glob_t): Document gl_flags.
21901 (glob64_t): Likewise.
21902
8794a964
DM
219032013-01-11 David S. Miller <davem@davemloft.net>
21904
66438c3f
RM
21905 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21906 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21907 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
21908 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21909 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21910 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21911 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21912 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21913 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21914 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21915 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21916 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21917 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21918
4ae4244d
DM
21919 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21920 sparc V9 rather than using V8 code.
21921 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21922 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21923
8794a964
DM
21924 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21925 Move to...
21926 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21927 Here.
21928
6270516e
RM
219292013-01-11 Roland McGrath <roland@hack.frob.com>
21930
21931 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21932 not in the main loop.
21933 * configure: Regenerated.
21934
6a57d931
JM
219352013-01-11 Joseph Myers <joseph@codesourcery.com>
21936
21937 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21938 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21939 to just #else.
21940 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21941 [!__GLIBC_HAVE_LONG_LONG] case.
21942 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21943 condition to just #else.
21944 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21945 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21946 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21947 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21948 unconditional.
21949 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21950 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21951 #elif condition to just #else.
21952 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21953 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21954 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21955 #elif condition to just #else.
21956
0e8529e9
SE
219572013-01-11 Steve Ellcey <sellcey@mips.com>
21958
21959 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21960 (EF_MIPS_ARCH_64): Fix value.
21961 (EF_MIPS_ARCH_32R2): New.
21962 (EF_MIPS_ARCH_64R2): New.
21963
740b3dbe
L
219642013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21965
21966 * Makeconfig (+link-pie-before-libc): New.
21967 (+link-pie-after-libc): Likewise.
21968 (+link-pie-tests): Likewise.
21969 (+link-pie): Rewritten.
21970 (link-before-libc): Remove $(config-LDFLAGS).
21971 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21972 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21973 (config-LDFLAGS): Renamed to ...
21974 (rtld-LDFLAGS): This.
21975 (rtld-tests-LDFLAGS): New macro.
21976 (link-libc-rpath-link): Likewise.
21977 (link-libc-tests-rpath-link): Likewise.
21978 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21979 (link-libc): Prepand $(link-libc-rpath-link).
21980 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21981 (test-program-prefix): New macro.
21982 (test-via-rtld-prefix): Likewise.
21983 (test-program-cmd): Likewise.
21984 (host-test-program-cmd): Likewise.
21985 * Makefile ($(common-objpfx)testrun.sh): Replace
21986 $(run-program-prefix) with $(test-program-prefix).
21987 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21988 $(rtld-LDFLAGS).
21989 ($(common-objpfx)shlib.lds): Likewise.
21990 (build-module-helper): Likewise.
21991 ($(common-objpfx)format.lds): Likewise.
21992 * Rules (binaries-pie-tests): New.
21993 (binaries-pie-notests): Likewise.
21994 (binaries-pie): Rewritten.
21995 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21996 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21997 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21998 (make-test-out): Replace $(host-built-program-cmd) with
21999 $(host-test-program-cmd).
22000 * config.make.in (build-hardcoded-path-in-tests): New variable.
22001 * configure.in (--enable-hardcoded-path-in-tests): New configure
22002 option.
22003 (hardcoded_path_in_tests): New AC_SUBST.
22004 * configure: Regenerated.
22005 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22006 $(built-program-cmd) with $(test-program-cmd).
22007 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22008 (test_program_cmd): This.
22009 * elf/Makefile ($(objpfx)order.out): Run test with
22010 $(test-program-prefix).
22011 ($(objpfx)order2.out): Likewise.
22012 ($(objpfx)tst-initorder.out): Likewise.
22013 ($(objpfx)tst-initorder2.out): Likewise.
22014 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22015 $(test-program-cmd).
22016 ($(objpfx)tst-array1-static.out): Likewise.
22017 ($(objpfx)tst-array2.out): Likewise.
22018 ($(objpfx)tst-array3.out): Likewise.
22019 ($(objpfx)tst-array4.out): Likewise.
22020 ($(objpfx)tst-array5.out): Likewise.
22021 ($(objpfx)tst-array5-static.out): Likewise.
22022 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22023 $(test-program-cmd).
22024 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22025 $(run-program-prefix) with $(test-program-prefix).
22026 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22027 (test_program_prefix): This.
22028 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22029 $(run-program-prefix) with $(test-program-prefix).
22030 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22031 (test_program_prefix): This.
22032 * iconvdata/tst-tables.sh: Likewise.
22033 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22034 $(run-program-prefix) with $(test-program-prefix).
22035 ($(objpfx)tst-translit.out): Likewise.
22036 ($(objpfx)tst-gettext2.out): Likewise.
22037 ($(objpfx)tst-gettext4.out): Likewise.
22038 ($(objpfx)tst-gettext6.out): Likewise.
22039 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22040 (test_program_prefix): This.
22041 * intl/tst-gettext2.sh: Likewise.
22042 * intl/tst-gettext4.sh Likewise.
22043 * intl/tst-gettext6.sh: Likewise.
22044 * intl/tst-translit.sh: Likewise.
22045 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22046 with $(test-program-cmd).
22047 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22048 $(run-program-prefix) with $(test-program-prefix).
22049 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22050 (test_program_prefix): This.
22051 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22052 $(run-program-prefix) with $(test-program-prefix).
22053 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22054 (test_program_prefix): This.
22055 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22056 * posix/Makefile ($(objpfx)globtest.out): Replace
22057 $(run-via-rtld-prefix) and $(test-wrapper) with
22058 $(test-program-prefix) and $(test-via-rtld-prefix).
22059 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22060 $(test-program-prefix).
22061 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22062 $(host-test-program-cmd).
22063 (tst-spawn-ARGS): Likewise.
22064 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22065 $(test-program-prefix).
22066 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22067 (test_via_rtld_prefix): This.
22068 (test_wrapper): Renamed to ...
22069 (test_program_prefix): This.
22070 (run_program_prefix): Replaced by test_program_prefix.
22071 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22072 (test_program_prefix): This.
22073 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22074 with $(host-test-program-cmd).
22075 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22076 $(run-program-prefix) with $(test-program-prefix).
22077 ($(objpfx)tst-printf.out): Likewise.
22078 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22079 $(test-program-cmd).
22080 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22081 (test_program_prefix): This.
22082 * stdio-common/tst-unbputc.sh: Likewise.
22083 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22084 $(run-program-prefix) with $(test-program-prefix).
22085 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22086 (test_program_prefix): This.
22087 * string/Makefile ($(objpfx)tst-svc.out): Replace
22088 $(built-program-cmd) with $(test-program-cmd).
22089
c6fe55cf
AJ
220902013-01-11 Andreas Jaeger <aj@suse.de>
22091
22092 [BZ #15003]
22093 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22094 value. Sync with Linux 3.7.
22095
9e6919c8
DM
220962013-01-10 David S. Miller <davem@davemloft.net>
22097
22098 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22099 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22100 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22101
1c9f1a02
RM
221022013-01-10 Roland McGrath <roland@hack.frob.com>
22103
22104 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22105 never set.
22106 * configure: Regenerated.
22107
b9de2dde
DM
221082013-01-10 David S. Miller <davem@davemloft.net>
22109
22110 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22111 sparc V9 rather than using V8 code.
22112 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22113 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22114
e7f68ef4
RM
221152013-01-10 Roland McGrath <roland@hack.frob.com>
22116
22117 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22118 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22119 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22120 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22121 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22122 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22123 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22124 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22125 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22126 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22127 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22128 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22129 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22130 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22131 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22132 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22133 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22134 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22135 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22136 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22137 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22138 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22139 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22140 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22141 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22142 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22143 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22144
5a47cc9c
DM
221452013-01-10 David S. Miller <davem@davemloft.net>
22146
22147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22148
4cf8f209
L
221492013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22150
22151 * posix/Makefile (tests-static): New variable.
22152 (tests): Add $(tests-static).
22153 (tst-exec-static-ARGS): New variable.
22154 (tst-spawn-static-ARGS): Likewise.
22155 * posix/tst-exec-static.c: New file.
22156 * posix/tst-spawn-static.c: Likewise.
22157 * posix/tst-exec.c: Support run directly.
22158 * posix/tst-spawn.c: Likewise.
22159
fed0faa1
JM
221602013-01-10 Joseph Myers <joseph@codesourcery.com>
22161
828beb13
JM
22162 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22163 long.
22164 * math/bits/mathcalls.h (llrint): Likewise.
22165 (llround): Likewise.
22166 * stdlib/stdlib.h (struct drand48_data): Likewise.
22167 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22168 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22169 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22170 Likewise.
22171 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22172 Likewise.
22173 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22174 (elf_greg_t): Likewise.
22175 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22176 (__jmp_buf): Likewise.
22177 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22178 definitions.
22179 (llrint): Likewise, for all definitions.
22180 (llrintl): Likewise.
22181
fed0faa1
JM
22182 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22183 Remove [__GNUC__] condition.
22184 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22185 condition to just [__USE_ISOC99].
22186 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22187
1a20cb20
L
221882013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22189
22190 [BZ #14200]
22191 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22192 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22193 defined.
22194 (_POSIX_V6_ILP32_OFF32): Likewise.
22195 (_XBS5_ILP32_OFF32): Likewise.
22196 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22197 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22198
751b85f7
SP
221992013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22200
7490eb81
SP
22201 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22202
751b85f7
SP
22203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22204 doubles __mpexp_twomm1. Adjust usage.
22205 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22206 Remove.
22207
988197f0
AS
222082013-01-10 Andreas Schwab <schwab@suse.de>
22209
22210 [BZ #14964]
22211 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22212 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22213
e83d7298
DM
222142013-01-09 David S. Miller <davem@davemloft.net>
22215
034ed64b 22216 [BZ #15003]
57f41c40
AS
22217 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22218 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22219 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22220 (TCP_FASTOPEN): Define.
e83d7298
DM
22221 (tcp_repair_opt): New structure.
22222 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22223 enum values.
57f41c40
AS
22224 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22225 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22226 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22227 (tcp_cookie_transactions): New structure.
22228
d5e0b9bd
AB
222292013-01-09 Anton Blanchard <anton@samba.org>
22230
22231 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22232 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22233 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22234 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22235
0c07e3ea
JM
222362013-01-09 Joseph Myers <joseph@codesourcery.com>
22237
22238 * include/features.h (__USE_ANSI): Remove.
22239
232f7002
RM
222402013-01-09 Roland McGrath <roland@hack.frob.com>
22241
ad98e30c
RM
22242 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22243
232f7002
RM
22244 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22245
950c99ca
SP
222462013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22247
b5792741
SP
22248 * sysdeps/s390/fpu/libm-test-ulps: Update.
22249
47cf2278
SP
22250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22251
950c99ca
SP
22252 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22253 (__acr): Likewise.
22254 (__cpy): Likewise.
22255 (norm): Likewise.
22256 (denorm): Likewise.
22257 (__mp_dbl): Likewise.
22258 (__dbl_mp): Likewise.
22259 (add_magnitudes): Likewise.
22260 (sub_magnitudes): Likewise.
22261 (__add): Likewise.
22262 (__sub): Likewise.
22263 (__mul): Likewise.
22264 (__inv): Likewise.
22265 (__dvd): Likewise.
22266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22267 (__acr): Likewise.
22268 (__cpy): Likewise.
22269 (norm): Likewise.
22270 (denorm): Likewise.
22271 (__mp_dbl): Likewise.
22272 (__dbl_mp): Likewise.
22273 (add_magnitudes): Likewise.
22274 (sub_magnitudes): Likewise.
22275 (__add): Likewise.
22276 (__sub): Likewise.
22277 (__mul): Likewise.
22278 (__inv): Likewise.
22279 (__dvd): Likewise.
22280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22281 (__acr): Likewise.
22282 (__cpy): Likewise.
22283 (norm): Likewise.
22284 (denorm): Likewise.
22285 (__mp_dbl): Likewise.
22286 (__dbl_mp): Likewise.
22287 (add_magnitudes): Likewise.
22288 (sub_magnitudes): Likewise.
22289 (__add): Likewise.
22290 (__sub): Likewise.
22291 (__mul): Likewise.
22292 (__inv): Likewise.
22293 (__dvd): Likewise.
22294
eede9df9
JM
222952013-01-08 Joseph Myers <joseph@codesourcery.com>
22296
22297 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22298 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22299 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22300 2 && __USE_EXTERN_INLINES]: Likewise.
22301
c40ea3d9
AJ
223022013-01-08 Andreas Jaeger <aj@suse.de>
22303
22304 [BZ# 14985]
22305 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22306 Remove.
22307 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22308 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22309
2ccdea26
AB
223102013-01-07 Anton Blanchard <anton@samba.org>
22311
22312 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22313 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22314 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22315 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22316 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22317 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22318 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22319 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22321 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22322 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22323 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22324 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22325 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22326 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22327 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22328 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22329 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22330 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22331 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22332 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22333 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22334 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22335 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22336 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22337 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22338 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22339 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22340 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22341 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22342 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22344 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22345 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22346 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22347 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22348 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22349 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22350 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22351 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22352 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22353 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22354 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22355
a9708fed
JM
223562013-01-07 Joseph Myers <joseph@codesourcery.com>
22357
375607b9
JM
22358 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22359 (__MALLOC_PMT): Likewise.
22360 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22361 [__GNUC__], only on [_LIBC].
22362 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22363 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22364 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22365 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22366 forward declaration.
22367 (realloc_hook_ini): Likewise.
22368 (memalign_hook_ini): Likewise.
22369 (__libc_memalign): Do not use __MALLOC_PMT in variable
22370 declaration.
22371 (__libc_valloc): Likewise.
22372 (__libc_pvalloc): Likewise.
22373 (__libc_calloc): Likewise.
22374 (__posix_memalign): Likewise.
22375
a9708fed
JM
22376 [BZ #14996]
22377 * math/s_casinh.c: Include <float.h>.
22378 (__casinh): Do not do computation with squaring and square root
22379 for large arguments.
22380 * math/s_casinhf.c: Include <float.h>.
22381 (__casinhf): Do not do computation with squaring and square root
22382 for large arguments.
22383 * math/s_casinhl.c: Include <float.h>.
22384 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22385 (__casinhl): Do not do computation with squaring and square root
22386 for large arguments.
22387 * math/libm-test.inc (casin_test): Add more tests.
22388 (casinh_test): Likewise.
22389 * sysdeps/i386/fpu/libm-test-ulps: Update.
22390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22391
afec409a
L
223922013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22393
22394 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22395 (__x86_64_raw_data_cache_size): Likewise.
22396 (__x86_64_data_cache_size_half): Likewise.
22397 (__x86_64_raw_data_cache_size_half): Likewise.
22398 (__x86_64_shared_cache_size): Likewise.
22399 (__x86_64_raw_shared_cache_size): Likewise.
22400 (__x86_64_shared_cache_size_half): Likewise.
22401 (__x86_64_raw_shared_cache_size_half): Likewise.
22402 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22403 to ...
22404 (__x86_data_cache_size): This.
22405 (__x86_64_raw_data_cache_size): Renamed to ...
22406 (__x86_raw_data_cache_size): This.
22407 (__x86_64_data_cache_size_half): Renamed to ...
22408 (__x86_data_cache_size_half): This.
22409 (__x86_64_raw_data_cache_size_half): Renamed to ...
22410 (__x86_raw_data_cache_size_half): This.
22411 (__x86_64_shared_cache_size): Renamed to ...
22412 (__x86_shared_cache_size): This.
22413 (__x86_64_raw_shared_cache_size): Renamed to ...
22414 (__x86_raw_shared_cache_size): This.
22415 (__x86_64_shared_cache_size_half): Renamed to ...
22416 (__x86_shared_cache_size_half): This.
22417 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22418 (__x86_raw_shared_cache_size_half): This.
22419 * sysdeps/x86_64/memcpy.S: Updated.
22420 * sysdeps/x86_64/memset.S: Likewise.
22421 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22422 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22424
0b3986d0
DM
224252013-01-04 David S. Miller <davem@davemloft.net>
22426
22427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22428
e47686e9
AS
224292013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22430
d643bac1
AS
22431 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22432 1 to avoid redefinition warning.
22433 (__USE_GNU): Don't define.
22434 (init_signaling_nan): Protoize.
22435
e47686e9
AS
22436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22437
b18decba
SP
224382013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22439
fffb407f
SP
22440 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22441 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22442 (__cpymn): Likewise.
22443 (norm): Remove commented code.
22444 (denorm): Likewise.
22445 (__mp_dbl): Likewise.
22446 (__inv): Likewise.
22447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22448 (__cpymn): Likewise.
22449 (norm): Remove commented code.
22450 (denorm): Likewise.
22451 (__mp_dbl): Likewise.
22452 (__inv): Likewise.
22453
b18decba
SP
22454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22455 mp_no value for 1.0 and 2.0.
22456 (norm): Use RADIXI instead of radixi.d.
22457 (denorm): Likewise.
22458 (__mul): Use 0.0 instead of zero.d.
22459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22460 mp_no value for 1.0 and 2.0.
22461 (norm): Use RADIXI instead of radixi.d.
22462 (denorm): Likewise.
22463 (__mul): Use 0.0 instead of zero.d.
22464
cdc1c96f
JM
224652013-01-04 Joseph Myers <joseph@codesourcery.com>
22466
22467 [BZ #14994]
22468 * math/s_casinh.c (__casinh): Reduce finite argument to first
22469 quadrant then set signs of results at the end.
22470 * math/s_casinhf.c (__casinhf): Likewise.
22471 * math/s_casinhl.c (__casinhl): Likewise.
22472 * math/libm-test.inc (casin_test): Add more tests.
22473 (casinh_test): Likewise.
22474 * sysdeps/i386/fpu/libm-test-ulps: Update.
22475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22476
302913e1
SP
224772013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22478
6420d207
SP
22479 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22480
a9e48ab4
SP
22481 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22482
b7837264
SP
22483 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22484 declarations.
22485 (denorm): Likewise.
22486 (__mp_dbl): Likewise.
22487 (__inv): Likewise.
22488
f8af25d2
SP
22489 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22490 and adjust the header comment.
22491
302913e1
SP
22492 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22493 variable name from declaration.
22494
5d7dd1ca
L
224952013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22496
22497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22498 Initialize COMMON_CPUID_INDEX_7 element.
22499 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22500 (CPUID_RTM): Likewise.
22501 (HAS_RTM): Likewise.
22502 (COMMON_CPUID_INDEX_7): New enum.
22503
2f5f40f4
AS
225042013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22505
22506 [BZ #14981]
22507 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22508 size is zero, record memory as freed.
22509
4056f4a0
AJ
225102013-01-03 Andreas Jaeger <aj@suse.de>
22511
22512 * po/ia.po: Add new Interlingua translation.
22513
ab15736f 225142012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
22515
22516 * locale/programs/localedef.c: Fix description of '--posix' flag.
22517
568035b7
JM
225182013-01-02 Joseph Myers <joseph@codesourcery.com>
22519
e6898b8d
JM
22520 * NEWS: Update dates in second copyright notice.
22521 * README: Update copyright dates in example.
22522 * manual/libc.texinfo: Update copyright dates.
22523 * scripts/test-installation.pl: Update copyright date in --version
22524 output.
22525
0e2f9562
JM
22526 * hurd/ctty-input.c: Fix copyright notice formatting.
22527 * hurd/ctty-output.c: Likewise.
22528 * hurd/dtable.c: Likewise.
22529 * hurd/hurd-raise.c: Likewise.
22530 * hurd/hurdprio.c: Likewise.
22531 * hurd/msgportdemux.c: Likewise.
22532 * misc/sys/file.h: Likewise.
22533 * misc/sys/ioctl.h: Likewise.
22534 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22535 * sysdeps/mach/hurd/chdir.c: Likewise.
22536 * sysdeps/mach/hurd/fchdir.c: Likewise.
22537 * sysdeps/mach/hurd/rename.c: Likewise.
22538 * sysdeps/mach/hurd/rmdir.c: Likewise.
22539 * sysdeps/mach/hurd/seekdir.c: Likewise.
22540 * sysdeps/mach/hurd/setsid.c: Likewise.
22541 * sysdeps/posix/wait3.c: Likewise.
22542
568035b7
JM
22543 * All files with FSF copyright notices: Update copyright dates
22544 using scripts/update-copyrights.
22545 * intl/plural.c: Regenerated.
22546 * locale/programs/charmap-kw.h: Likewise.
22547 * locale/programs/locfile-kw.h: Likewise.
22548
da08f647
SP
225492013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22550
0f5477af
SP
22551 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22552 four values.
22553
44e0d4c2
SP
22554 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22555 calculation loop and add branch prediction.
22556
4d55b4e5
SP
22557 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22558 check access beyond bounds of m1np.
22559
da08f647
SP
22560 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22561 MPTWO.
22562 (__inv): Remove local variable MPTWO to use the global
22563 constant.
22564 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22565 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22566 variable MPTWO.
22567 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22568 MP3HALFS static const.
22569
8e051029
DM
225702013-01-01 David S. Miller <davem@davemloft.net>
22571
22572 * po/ca.po: Update from translation team.
22573
f4cf5f2d
JM
225742013-01-01 Joseph Myers <joseph@codesourcery.com>
22575
22576 * scripts/update-copyrights: New file.
22577 * Makeconfig: Reformat copyright notice.
22578 * ctype/ctype.h: Likewise.
22579 * debug/swprintf_chk.c: Likewise.
22580 * elf/dl-cache.c: Likewise.
22581 * elf/dl-debug.c: Likewise.
22582 * elf/dl-object.c: Likewise.
22583 * grp/initgroups.c: Likewise.
22584 * hurd/Makefile: Likewise.
22585 * hurd/hurd/signal.h: Likewise.
22586 * hurd/hurdfault.c: Likewise.
22587 * hurd/hurdioctl.c: Likewise.
22588 * hurd/hurdlookup.c: Likewise.
22589 * hurd/intr-msg.c: Likewise.
22590 * iconv/gconv_open.c: Likewise.
22591 * libio/swprintf.c: Likewise.
22592 * locale/lc-ctype.c: Likewise.
22593 * locale/nl_langinfo.c: Likewise.
22594 * mach/Machrules: Likewise.
22595 * mach/Makefile: Likewise.
22596 * malloc/obstack.h: Likewise.
22597 * manual/Makefile: Likewise.
22598 * manual/tsort.awk: Likewise.
22599 * misc/bits/stab.def: Likewise.
22600 * nis/nis_print_group_entry.c: Likewise.
22601 * nis/nis_table.c: Likewise.
22602 * nis/nss_compat/compat-pwd.c: Likewise.
22603 * nis/nss_compat/compat-spwd.c: Likewise.
22604 * po/Makefile: Likewise.
22605 * posix/fnmatch.c: Likewise.
22606 * posix/regex.h: Likewise.
22607 * resolv/Makefile: Likewise.
22608 * resolv/nss_dns/dns-network.c: Likewise.
22609 * resolv/res_hconf.c: Likewise.
22610 * scripts/gen-sorted.awk: Likewise.
22611 * soft-fp/soft-fp.h: Likewise.
22612 * stdio-common/printf.h: Likewise.
22613 * stdlib/monetary.h: Likewise.
22614 * stdlib/random.c: Likewise.
22615 * stdlib/random_r.c: Likewise.
22616 * sysdeps/generic/Makefile: Likewise.
22617 * sysdeps/gnu/Makefile: Likewise.
22618 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22641 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22642 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22646 * sysdeps/mach/hurd/errnos.awk: Likewise.
22647 * sysdeps/mach/hurd/fork.c: Likewise.
22648 * sysdeps/mach/hurd/getcwd.c: Likewise.
22649 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22650 * sysdeps/mach/hurd/mmap.c: Likewise.
22651 * sysdeps/mach/hurd/utimes.c: Likewise.
22652 * sysdeps/mach/hurd/xmknod.c: Likewise.
22653 * sysdeps/posix/profil.c: Likewise.
22654 * sysdeps/posix/readdir_r.c: Likewise.
22655 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22656 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22657 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22658 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22660 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22661 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22662 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22664 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22665 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22666 * sysdeps/pthread/lio_listio.c: Likewise.
22667 * sysdeps/sparc/dl-procinfo.h: Likewise.
22668 * sysdeps/unix/i386/sysdep.S: Likewise.
22669 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22670 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22671 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22672 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22674 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22675 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22676 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22677 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22678 * sysdeps/wordsize-32/divdi3.c: Likewise.
22679 * time/sys/time.h: Likewise.
22680 * wcsmbs/Makefile: Likewise.
22681
0549fbba
DM
226822013-01-01 David S. Miller <davem@davemloft.net>
22683
a141f1a7
DM
22684 * po/fr.po: Update from translation team.
22685
0549fbba
DM
22686 * catgets/gencat.c: Update copyright year.
22687 * csu/version.c: Likewise.
22688 * debug/catchsegv.sh: Likewise.
22689 * debug/pcprofiledump.c: Likewise.
22690 * debug/xtrace.sh: Likewise.
22691 * elf/ldconfig.c: Likewise.
22692 * elf/ldd.bash.in: Likewise.
22693 * elf/pldd.c: Likewise.
22694 * elf/sotruss.ksh: Likewise.
22695 * elf/sprof.c: Likewise.
22696 * iconv/iconv_prog.c: Likewise.
22697 * iconv/iconvconfig.c: Likewise.
22698 * locale/programs/locale.c: Likewise.
22699 * locale/programs/localedef.c: Likewise.
22700 * login/programs/pt_chown.c: Likewise.
22701 * malloc/memusage.sh: Likewise.
22702 * malloc/memusagestat.c: Likewise.
22703 * malloc/mtrace.pl: Likewise.
22704 * nscd/nscd.c: Likewise.
22705 * nss/getent.c: Likewise.
22706 * nss/makedb.c: Likewise.
22707 * posix/getconf.c: Likewise.
22708
18ea052c
SP
227092012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22710
22711 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22712 numbers.
22713
9c89fca6
MF
227142012-12-30 Mike Frysinger <vapier@gentoo.org>
22715
22716 * math/bits/mathcalls.h (modf): Use __nonnull.
22717
085ec079
SP
227182012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22719
22720 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22721 (split): Use macro CN instead of the bare value.
22722 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22723 could be used.
22724 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22725 instead of the bare value.
22726 (power1): Likewise.
22727
6d9f97e1
SP
227282012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22729
d63f73be
SP
22730 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22731 __ATAN_TWOM.
22732 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22733
6d9f97e1
SP
22734 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22735 their values.
22736 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22738 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22739 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22740
4c4febf5
AJ
227412012-12-28 Andreas Jaeger <aj@suse.de>
22742
af5843ef
AJ
22743 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22744 values are from Linux 3.7.
22745
4c4febf5
AJ
22746 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22747 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22748
99136f82
SP
227492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22750
2f216c3c 22751 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22752 TRUE case.
22753
99136f82
SP
22754 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22755 (norm): Likewise.
22756 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22757 variables with preprocessor constants.
22758 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22759 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22760 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22761
7fffbdff
BH
227622012-12-27 Bruno Haible <bruno@clisp.org>
22763
22764 [BZ #14317]
22765 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22766 only if needed.
22767
b76eb5f0
SP
227682012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22769
31a7fe5c
SP
22770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22771 and use variable directly.
22772 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22773
b76eb5f0
SP
22774 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22775 MPONE.
22776 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22777 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22778 variable MPONE.
22779 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22781 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22782 include directive. Remove local variable MPONE.
22783 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22784 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22785 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22786
2c8bfe7d
DM
227872012-12-25 David S. Miller <davem@davemloft.net>
22788
22789 * version.h (RELEASE): Set to "development".
22790 (VERSION): Set to "2.17.90".
22791 * NEWS: Add 2.18 section.
22792
147d03b0
DM
227932012-12-21 David S. Miller <davem@davemloft.net>
22794
22795 * po/hr.po: Update from translation team.
22796
a8ebb2b9
AK
227972012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22798
22799 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22800
95b4f1b6
SE
228012012-12-19 Steve Ellcey <sellcey@mips.com>
22802
b2d94007 22803 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22804
cedb2a90
MS
228052012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22806
22807 * manual/contrib.texi (Contributors): Spelling correction.
22808
bbf527d6
DM
228092012-12-15 David S. Miller <davem@davemloft.net>
22810
22811 * po/ru.po: Update from translation team.
22812
bc38c906
DM
228132012-12-13 David S. Miller <davem@davemloft.net>
22814
85429b1a
DM
22815 * NEWS: Mention IFUNC testsuite enhancements.
22816
d283e353
DM
22817 * po/pl.po: Update from translation team.
22818 * po/bg.po: Likewise.
22819
bc38c906
DM
22820 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22821 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22822
a181b0d7
DM
228232012-12-11 David S. Miller <davem@davemloft.net>
22824
4641d57e
DM
22825 * po/sv.po: Update from translation team.
22826
f7bc6495
DM
22827 * po/vi.po: Update from translation team.
22828
6fc9048f
DM
22829 * po/cs.po: Update from translation team.
22830
a181b0d7
DM
22831 * po/de.po: Update from translation team.
22832 * po/eo.po: Likewise.
22833 * po/nl.po: Likewise.
22834
f70bfe80
SP
228352012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22836
3c8b4190
SP
22837 [BZ #14246]
22838 * manual/argp.texi (Argp Helper Functions): Move node to follow
22839 Argp Parsing State.
22840
f70bfe80
SP
22841 [BZ #14872]
22842 * manual/conf.texi (Limits on File System Capacity): Mention if
22843 terminating null is included in the max size.
22844
188f0adf
AJ
228452012-12-10 Andreas Jaeger <aj@suse.de>
22846
22847 * po/cs.po: Update from translation team.
22848
56e7d3ad
SP
228492012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22850
22851 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22852 void pointer and cast to uintptr_t.
22853 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22854 path.
22855 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22856 * sysdeps/s390/s390-64/memset.S: Likewise.
22857
76f2d2ea 228582012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22859
22860 [BZ #14833]
22861 * menual/message.texi (Message Translation): Fix typos.
22862 (Helper programs for gettext): Likewise.
22863
67cbf9a2
AS
228642012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22865
22866 [BZ #14898]
22867 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22868 Change to -1.
22869
682d0e9a
DM
228702012-12-07 David S. Miller <davem@davemloft.net>
22871
22872 * po/libc.pot: Update.
22873
573cd484
RH
228742012-12-07 Richard Henderson <rth@redhat.com>
22875
7e9da188 22876 [BZ #10114]
573cd484
RH
22877 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22878 normal/normal case to before the switch.
22879 (_FP_DIV): Likewise.
22880
e933a943
MF
228812012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22882 Mike Frysinger <vapier@gentoo.org>
22883
22884 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22885 check for __NR_fadvise64_64.
22886
82123268
CM
228872012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22888
22889 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22890 0, not just to plain "0" as a statement.
22891 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22892 with cw.
22893
d9814526
JM
228942012-12-06 Joseph Myers <joseph@codesourcery.com>
22895
22896 * NEWS: Use sourceware.org in Bugzilla URL.
22897
7728c574
SP
228982012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22899
f16946dd
SP
22900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22901 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22902
5704bbcb
SP
22903 * stdio-common/tst-put-error.c (do_test): Add newline to the
22904 padded test to ensure flush.
22905
17aa0516
JL
229062012-12-05 Jeff Law <law@redhat.com>
22907
22908 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22909
363313b5
JM
229102012-12-05 Joseph Myers <joseph@codesourcery.com>
22911
effbd42a
JM
22912 * README: Don't refer to ports add-on as distributed separately.
22913 Mention AArch64 in list of systems supported in the ports add-on.
22914
87600365
JM
22915 * LICENSES: Add more non-FSF copyright and license notices.
22916
a0d7066a
JM
22917 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22918 ((unused)).
22919
66ca5a5b
JM
22920 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22921
363313b5
JM
22922 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22923 10000 as width of padded output.
22924
b37984ad
JM
229252012-12-04 Joseph Myers <joseph@codesourcery.com>
22926
9003570a
JM
22927 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22928
b37984ad
JM
22929 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22930 variable LX with __attribute__ ((unused)).
22931 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22932 Likewise.
22933 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22935 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22936 with __attribute__ ((unused)).
22937
c8df52ec
DM
229382012-12-04 David S. Miller <davem@abraco.davemloft.net>
22939
22940 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22941
b3b099af
JM
229422012-12-04 Joseph Myers <joseph@codesourcery.com>
22943
c33aa6e3
JM
22944 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22945 (CFLAGS-nldbl-acos.c): New variable.
22946 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22947 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22948 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22949 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22950 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22951 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22952 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22953 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22954 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22955 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22956 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22957 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22958 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22959 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22960 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22961 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22962 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22963 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22964 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22965 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22966 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22967 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22968 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22969 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22970 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22971 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22972 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22973 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22974 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22975 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22976 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22977 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22978 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22979 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22980 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22981 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22982 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22983 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22984 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22985 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22986 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22987 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22988 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22989 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22990 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22991 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22992 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22993 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22994 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22995 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22996 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22997 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22998 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22999 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23000 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23001 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23002 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23003 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23004 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23005 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23006 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23007 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23008 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23009 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23010 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23011 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23012 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23013 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23014 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23015 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23016 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23017 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23018 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23019 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23020 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23021 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23022 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23023 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23024 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23025 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23026 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23027 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23028 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23029 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23030 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23031 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23032 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23033 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23034 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23035 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23036 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23037 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23038 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23039 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23040 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23041 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23042 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23043
20f0018d
JM
23044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23045 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23046
b3b099af
JM
23047 [BZ #14914]
23048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23049 whole low double instead of just low 47 bits when splitting values
23050 into two parts.
23051
029264d1
AM
230522012-12-03 Allan McRae <allan@archlinux.org>
23053
23054 * manual/stdio.texi (Predefined Printf Handlers): Remove
23055 @hsep and @vsep usage.
23056
c9d6789e
MF
230572012-12-03 Mike Frysinger <vapier@gentoo.org>
23058
23059 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23060 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23061
4b7634a5
JL
230622012-12-03 Jeff Law <law@redhat.com>
23063
23064 * time/sys/time.h (settimeofday): Do not mark TV argument
23065 as __nonnull.
23066
eb6cbd24
MF
230672012-12-01 Mike Frysinger <vapier@gentoo.org>
23068
23069 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23070 when currently writing and seek to current position when not.
23071 * libio/Makefile (tests): Remove bug-fclose1.
23072 * libio/bug-fclose1.c: Delete.
23073
f638872a
JM
230742012-12-01 Joseph Myers <joseph@codesourcery.com>
23075
23076 * manual/arith.texi (feenableexcept): Fix typo.
23077 (fedisableexcept): Likewise.
23078
48085d14
RM
230792012-11-30 Roland McGrath <roland@hack.frob.com>
23080
23081 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23082 second, differently-typed declaration, rather than a cast.
23083
1a538b9f
SP
230842012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23085
23086 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23087 * include/rpc/svc.h: ... here.
23088
d07f2ff1 230892012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23090
23091 [BZ #13013]
23092 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23093 depending n and resplen2 to catch cases where answer
23094 equals answerp2.
23095
c93ec1f0
CD
230962012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23097
23098 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23099 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23100
37db69de
MF
231012012-11-29 Mike Frysinger <vapier@gentoo.org>
23102
23103 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23104
e10c4e4f
RM
231052012-11-29 Roland McGrath <roland@hack.frob.com>
23106
23107 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23108
2af1b328
JL
231092012-11-28 Jeff Law <law@redhat.com>
23110
23111 [BZ #13761]
23112 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23113 dataset_temporary. Track alloca usage into alloca_used.
23114 If dataset is large allocate and release it via malloc/free.
23115
111db5b1
FW
231162012-06-04 Florian Weimer <fweimer@redhat.com>
23117
f06cc227 23118 [BZ #14197]
111db5b1
FW
23119 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23120
dd694abd
DM
231212012-11-28 David S. Miller <davem@davemloft.net>
23122
23123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23124
9984dd01
JM
231252012-11-28 Joseph Myers <joseph@codesourcery.com>
23126
23127 [BZ #14803]
23128 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23129 of pi/2 rounded to nearest to 64 bits.
23130 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23131 nearest to 64 bits.
23132 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23133 bits.
23134
14bc93a9
JL
231352012-11-28 Jeff Law <law@redhat.com>
23136 Martin Osvald <mosvald@redhat.com>
23137
23138 [BZ #14889]
23139 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23140 * sunrpc/svc.c: Include time.h.
23141 (__svc_accept_failed): New function.
23142 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23143 any reason other than EINTR, call __svc_accept_failed.
23144 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23145 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23146
e3c6aa3a
AS
231472012-11-28 Andreas Schwab <schwab@suse.de>
23148
23149 * scripts/abilist.awk: Also handle indirect functions in .opd
23150 section.
23151
1bead169
JM
231522012-11-28 Joseph Myers <joseph@codesourcery.com>
23153
23154 [BZ #13881]
23155 * sysdeps/x86/fpu/powl_helper.c: New file.
23156 * sysdeps/x86/fpu/Makefile: Likewise.
23157 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23158 (p3): New object.
23159 (__ieee754_powl): Use __powl_helper for finite arguments except
23160 integer exponents below 8.
23161 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23162 (p3): New object.
23163 (__ieee754_powl): Use __powl_helper for finite arguments except
23164 integer exponents below 8.
23165 * math/libm-test.inc (pow_test): Add more tests and enable some
23166 previously disabled tests.
23167 * sysdeps/i386/fpu/libm-test-ulps: Update.
23168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23169
0817d63d
SP
231702012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23171 Carlos O'Donell <carlos_odonell@mentor.com>
23172
23173 * nss/makedb.c (is_prime): Assert that input is odd and greater
23174 than 4. Note that fact in a comment too.
23175 (next_prime): Add 4 to input.
23176
de2fd463
SP
231772012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23178
23179 [BZ #11741]
23180 * libio/Makefile (tests): Add test case tst-fwrite-error.
23181 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23182 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23183 * libio/tst-fwrite-error.c: New test case.
23184
c515fb51
L
231852012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23186
23187 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23188 before casting to void *.
23189 * include/libc-internal.h (__pointer_type): New macro.
23190 (__integer_if_pointer_type_sub): Likewise.
23191 (__integer_if_pointer_type): Likewise.
23192 (cast_to_integer): Likewise.
23193 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23194 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23195 before casting to atomic64_t.
23196 (atomic_exchange_acq): Likewise.
23197 (__arch_exchange_and_add_body): Likewise.
23198 (__arch_add_body): Likewise.
23199 (atomic_add_negative): Likewise.
23200 (atomic_add_zero): Likewise.
23201
4cf77aa9
JM
232022012-11-26 Joseph Myers <joseph@codesourcery.com>
23203
23204 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23205 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23206 (add_fdes): Likewise.
23207 (linear_search_fdes): Likewise.
23208 (binary_search_unencoded_fdes): Likewise.
23209
d260b3b4
AS
232102012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23211
23212 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23213
67060746
AC
232142012-11-24 Adam Conrad <adconrad@0c3.net>
23215
23216 * configure.in: Autodetect C++ header directories.
23217 * configure: Regenerated.
23218
800938a1
MF
232192012-11-23 Mike Frysinger <vapier@gentoo.org>
23220
23221 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23222
4e6e34e6
AS
232232012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23224
23225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23226
7c7feb47
JM
232272012-11-22 Joseph Myers <joseph@codesourcery.com>
23228
7184dcdf
JM
23229 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23230 LDBL_MANT_DIG == 106]: Disable some tests.
23231 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23232 Likewise.
23233 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23234 Likewise.
23235
0a42601f
JM
23236 [BZ #14871]
23237 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23238 input for small inputs. Return +/- pi/2 for large inputs.
23239 * math/libm-test.inc (atan_test): Add more tests.
23240
79c9b9fe
JM
23241 * sysdeps/generic/unwind-dw2-fde-glibc.c
23242 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23243 __attribute__ ((unused)).
23244
c60d3bf2
JM
23245 [BZ #14645]
23246 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23247 x * y if x and y are nonzero and z is zero.
23248
ef1e0867
JM
23249 [BZ #14811]
23250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23251 nonzero exponents with absolute value below 0x1p-117 to +/-
23252 0x1p-117.
23253
1468ded3
JM
23254 [BZ #14869]
23255 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23256 up arguments below 2**-450, not just those below 2**-500.
23257 * math/libm-test.inc (hypot_test): Add another test.
23258
8e27e3cc
JM
23259 [BZ #14868]
23260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23261 Return a+b for ratio over 2**120, not 2**60.
23262 * math/libm-test.inc (hypot_test): Add another test.
23263
c9c0279b
JM
23264 * math/libm-test.inc (clog_test): Use
23265 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23266 (clog10_test): Likewise.
23267
7c7feb47
JM
23268 [BZ #6778]
23269 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23270
fff1530e
AS
232712012-11-22 Andreas Schwab <schwab@suse.de>
23272
23273 * sysdeps/i386/fpu/libm-test-ulps: Update.
23274
94558d30
PT
232752012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23276
23277 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23278 printf output with newline.
23279
7e1be741
L
232802012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23281
6bfea974
L
23282 [BZ #14865]
23283 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23284 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23285 -z nodlopen, -z initfirst and -z execstack support.
23286 * configure: Regenerated.
23287
7e1be741
L
23288 * elf/elf.h (DF_1_NODIRECT): New macro.
23289 (DF_1_IGNMULDEF): Likewise.
23290 (DF_1_NOKSYMS): Likewise.
23291 (DF_1_NOHDR): Likewise.
23292 (DF_1_EDITED): Likewise.
23293 (DF_1_NORELOC): Likewise.
23294 (DF_1_SYMINTPOSE): Likewise.
23295 (DF_1_GLOBAUDIT): Likewise.
23296 (DF_1_SINGLETON): Likewise.
23297 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23298 DT_1_SUPPORTED_MASK bits.
23299 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23300
105ce2ce
CD
233012012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23302
23303 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23304
123be9de
TS
233052012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23306
d072f3f7
TS
23307 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23308 macro.
23309
123be9de
TS
23310 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23311 (sendmmsg): Move declarations...
23312 * socket/sys/socket.h: ... here.
23313 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23314 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23315 include it from...
23316 * socket/recvmmsg.c: ... this new file.
23317 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23318 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23319 definition of __sendmmsg hidden.
23320 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23321 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23322 Move ENOSYS stub into and include it from...
23323 * socket/sendmmsg.c: ... this new file.
23324 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23325 (sysdep_routines): Move recvmmsg and sendmmsg...
23326 * socket/Makefile (routines): ... here.
23327 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23328 (GLIBC_PRIVATE): Add __sendmmsg.
23329 * include/sys/socket.h (__sendmmsg): Add declarations.
23330 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23331 sendmmsg.
23332
cf9a5d18
JM
233332012-11-20 Joseph Myers <joseph@codesourcery.com>
23334
23335 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23336 variable I1 with __attribute__ ((unused)).
23337 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23338
ecd4caf9
JM
233392012-11-19 Joseph Myers <joseph@codesourcery.com>
23340
be14d48f
JM
23341 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23342 DUMMY variables with __attribute__ ((unused)).
23343
ecd4caf9
JM
23344 * bits/byteswap.h: Include <bits/types.h>.
23345 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23346
986cab95
PT
233472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23348
23349 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23350 string_t. Do not manually set errno.
23351 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23352 length with __strnlen. Make sure to both set errno and return it on
23353 failure.
23354
6d33cc9d
DM
233552012-11-19 David S. Miller <davem@davemloft.net>
23356
23357 With help from Joseph Myers.
23358 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23359 very large arguments properly.
23360 * math/libm-test.inc (atan_test): New tests.
23361 (atan2_test): New tests.
23362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23364
ee663277
JM
233652012-11-19 Joseph Myers <joseph@codesourcery.com>
23366
877f2d8e
JM
23367 [BZ #14856]
23368 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23369 Define to 3.
23370
116fc08a
JM
23371 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23372 [POSIX] (EADDRNOTAVAIL): Likewise.
23373 [POSIX] (EAFNOSUPPORT): Likewise.
23374 [POSIX] (EALREADY): Likewise.
23375 [POSIX] (ECONNABORTED): Likewise.
23376 [POSIX] (ECONNREFUSED): Likewise.
23377 [POSIX] (ECONNRESET): Likewise.
23378 [POSIX] (EDESTADDRREQ): Likewise.
23379 [POSIX] (EDQUOT): Likewise.
23380 [POSIX] (EHOSTUNREACH): Likewise.
23381 [POSIX] (EIDRM): Likewise.
23382 [POSIX] (EISCONN): Likewise.
23383 [POSIX] (ELOOP): Likewise.
23384 [POSIX] (EMULTIHOP): Likewise.
23385 [POSIX] (ENETDOWN): Likewise.
23386 [POSIX] (ENETUNREACH): Likewise.
23387 [POSIX] (ENOBUFS): Likewise.
23388 [POSIX] (ENODATA): Likewise.
23389 [POSIX] (ENOLINK): Likewise.
23390 [POSIX] (ENOMSG): Likewise.
23391 [POSIX] (ENOPROTOOPT): Likewise.
23392 [POSIX] (ENOSR): Likewise.
23393 [POSIX] (ENOSTR): Likewise.
23394 [POSIX] (ENOTCONN): Likewise.
23395 [POSIX] (ENOTSOCK): Likewise.
23396 [POSIX] (EOPNOTSUPP): Likewise.
23397 [POSIX] (EOVERFLOW): Likewise.
23398 [POSIX] (EPROTO): Likewise.
23399 [POSIX] (EPROTONOSUPPORT): Likewise.
23400 [POSIX] (EPROTOTYPE): Likewise.
23401 [POSIX] (ESTALE): Likewise.
23402 [POSIX] (ETIME): Likewise.
23403 [POSIX] (ETXTBSY): Likewise.
23404 [POSIX] (EWOULDBLOCK): Likewise.
23405 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23406 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23407 [POSIX] (SEEK_CUR): Likewise.
23408 [POSIX] (SEEK_END): Likewise.
23409 [POSIX || UNIX98] (mode_t): Do not require.
23410 [POSIX] (off_t): Likewise.
23411 [POSIX] (pid_t): Likewise.
23412 [POSIX] (sys/stat.h): Do not allow header.
23413 [POSIX] (unistd.h): Likewise.
23414 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23415 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23416 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23417 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23418 require.
23419 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23420 sigevent): Specify elements.
23421 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23422 entry.
23423 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23424 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23425
a483863f
JM
23426 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23427 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23428 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23429 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23430 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23431 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23432 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23433 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23434 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23435 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23436 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23437 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23438 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23439 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23440 Likewise.
23441 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23442 Likewise.
23443 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23444 Likewise.
23445 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23446 Likewise.
23447 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23448 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23449 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23450 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23451 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23452 Specify lower bound on value.
23453 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23454 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23455 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23456 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23457 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23458 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23459 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23460 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23461 value.
23462 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23463 as optional.
23464 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23465 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23466 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23467 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23468 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23469 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23470 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23471 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23472 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23473 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23474 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23475 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23476 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23477 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23478 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23479 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23480 entry.
23481 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23482 optional.
23483 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23484 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23485 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23486 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23487 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23488 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23489 Likewise.
23490 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23491 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23492 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23493 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23494 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23495 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23496 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23497 as optional.
23498 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23499 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23500 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23501 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23502 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23503 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23504 specify as optional.
23505 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23506 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23507 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23508 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23509 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23510 [XPG3] (NL_LANGMAX): Likewise.
23511 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23512 [POSIX || XPG3] (NL_NMAX): Likewise.
23513 [POSIX || XPG3] (NL_SETMAX): Likewise.
23514 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23515 [XPG3] (NZERO): Likewise.
23516 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23517 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23518 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23519 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23520 (REG_ERANGE): Expect.
23521 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23522 optional-constant.
23523 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23524 Use (void) in prototype.
23525 [POSIX] (*_t): Allow.
23526 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23527 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23528 (WRDE_BADVAL): Expect.
23529
5ba924e3
JM
23530 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23531 expect.
23532 [XPG3 || XPG4] (O_RSYNC): Likewise.
23533 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23534 Likewise.
23535 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23536 [XPG3 || XPG4] (sigqueue): Likewise.
23537 [XPG3 || XPG4] (sigtimedwait): Likewise.
23538 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23539 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23540 [XPG3 || XPG4] (vsnprintf): Likewise.
23541 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23542 Likewise.
23543 [XPG3 || XPG4] (blksize_t): Likewise.
23544 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23545 Likewise.
23546 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23547 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23548 [XPG3 || XPG4] (struct itimerspec): Likewise.
23549 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23550 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23551 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23552 [XPG3 || XPG4] (clockid_t): Likewise.
23553 [XPG3 || XPG4] (timer_t): Likewise.
23554 [XPG3 || XPG4] (clock_getres): Likewise.
23555 [XPG3 || XPG4] (clock_gettime): Likewise.
23556 [XPG3 || XPG4] (clock_settime): Likewise.
23557 [XPG3 || XPG4] (nanosleep): Likewise.
23558 [XPG3 || XPG4] (timer_create): Likewise.
23559 [XPG3 || XPG4] (timer_delete): Likewise.
23560 [XPG3 || XPG4] (timer_gettime): Likewise.
23561 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23562 [XPG3 || XPG4] (timer_settime): Likewise.
23563 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23564 [XPG3 || XPG4] (getlogin_r): Likewise.
23565 [XPG3 || XPG4] (pread): Likewise.
23566 [XPG3 || XPG4] (pthread_atfork): Likewise.
23567 [XPG3 || XPG4] (pwrite): Likewise.
23568
ee663277
JM
23569 [BZ #14835]
23570 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23571 <bits/siginfo.h>.
23572
942caa16
PT
235732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23574
e19af380
PT
23575 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23576 finalizing MALLSTREAM.
23577
942caa16
PT
23578 * sysdeps/mach/hurd/syncfs.c: New file.
23579
cfde9b46
SP
235802012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23581
23582 [BZ #14719]
23583 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23584 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23585 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23586 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23587 (_nss_dns_gethostbyname4_r): Likewise.
23588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23589 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23590
f6da27e5
PH
235912012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23592
23593 [BZ #13763]
23594 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23595
6665d4a2
SM
235962012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23597
1f51ee92
SM
23598 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23599 * elf/cache.c (print_entry): Print ",AArch64" for
23600 FLAG_AARCH64_LIB64
23601
6665d4a2
SM
23602 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23603 * elf/cache.c (print_entry): Print ",hard-float" for
23604 FLAG_ARM_LIBHF.
23605
05b227bd
DM
236062012-11-18 David S. Miller <davem@davemloft.net>
23607
23608 With help from Joseph Myers.
23609 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23610 cutoff to 2**-13.
23611 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23612 cutoff to 2**-25.
23613 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23614 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23615 small.
23616 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23617 * math/libm-test.inc (y0_test): New tests.
23618 (y1_test): New tests.
23619 * sysdeps/i386/fpu/libm-test-ulps: Update.
23620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23622
786b0b67
AS
236232012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23624
23625 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23626 64-bit targets.
23627 * configure: Regenerated.
23628
8e18b86d
DM
236292012-11-17 David S. Miller <davem@davemloft.net>
23630
23631 [BZ #14811]
23632 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23633 nonzero exponents with absolute value below 0x1p-128 to +/-
23634 0x1p-128.
23635
531f1ae0
JM
236362012-11-17 Joseph Myers <joseph@codesourcery.com>
23637
12df29e2
JM
23638 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23639
150dc1a0
JM
23640 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23641
531f1ae0
JM
23642 * posix/getconf-speclist.c: New file.
23643 * posix/posix-envs.def: Likewise.
23644 * posix/confstr.c (START_ENV_GROUP): New macro.
23645 (END_ENV_GROUP): Likewise.
23646 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23647 (KNOWN_PRESENT_ENV_STRING): Likewise.
23648 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23649 (UNKNOWN_ENVIRONMENT): Likewise.
23650 (confstr): Include posix-envs.def instead of handling
23651 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23652 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23653 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23654 (END_ENV_GROUP): Likewise.
23655 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23656 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23657 (UNKNOWN_ENVIRONMENT): Likewise.
23658 (__sysconf): Include posix-envs.def instead of handling associated
23659 cases directly here.
23660 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23661 preprocessing getconf-speclist.c rather than running getconf or
23662 generating empty file.
23663
a93f9cbc
PT
236642012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23665
23666 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23667
d64d9f87
AL
236682012-11-16 Andrej Lajovic <natrij@gmail.com>
23669
23670 [BZ #14672]
23671 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23672
447885eb
DM
236732012-11-16 David S. Miller <davem@davemloft.net>
23674
23675 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23676 smaller than LDBL_EPSILON/2.0L, just return xm1.
23677
bcbf9830
L
236782012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23679
23680 * elf/tst-array1.c (init): Set constructor priority to 1000.
23681 (fini): Set destructor priority to 1000.
23682 * elf/tst-array2dep.c: Likewise.
23683
2b766585
SP
236842012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23685
23686 [BZ #11741]
23687 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23688 (_IO_new_file_xsputn): Also return EOF if none of the input
23689 data was written when overflow failed.
23690 * libio/iopadn.c (_IO_padn): Likewise.
23691 * libio/iowpadn.c (_IO_wpadn): Likewise.
23692 * stdio-common/tst-put-error.c: Add copyright notice.
23693 (do_test): Add case for printing padded string.
23694 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23695 _IO_padn returned error.
23696 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23697 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23698 return EOF.
23699
b1848fde
SP
237002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23701
23702 * libio/libioP.h: Add comment note that the references to C++
23703 bits are now obsolete.
23704
2fd89785
MS
237052012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23706
23707 * math/libm-test.inc (check_complex): Use asprintf.
23708
e3ea5409
JM
237092012-11-14 Joseph Myers <joseph@codesourcery.com>
23710
23711 * debug/pcprofiledump.c (print_version): Update copyright year.
23712 * malloc/memusagestat.c (print_version): Likewise.
23713
2e64d265
L
237142012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23715
23716 [BZ #14831]
23717 * elf/Makefile (tests): Add tst-audit8.
23718 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23719 ($(objpfx)tst-audit8.out): New target.
23720 (tst-audit8-ENV): New variable.
23721 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23722 audit if l_reloc_result is NULL.
23723 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23724 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23725 * elf/tst-audit8.c: New file.
23726
c485e4d2
MS
237272012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23728
23729 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23730 * misc/Makefile (CFLAGS-select.c): Define.
23731 * posix/Makefile (CFLAGS-pause.c): Define.
23732
3a0d900a
DM
237332012-11-13 David S. Miller <davem@davemloft.net>
23734
23735 * crypt/Makefile: Move test targets after toplevel Rules
23736 inclusion. Grab any necessary sysdep routines when linking.
23737 * crypt/md5.c (md5_process_block): Remove define, we will always
23738 name it __md5_process_block.
23739 (md5_finish_ctx): Update md5_process_block call.
23740 (md5_stream): Likewise.
23741 (md5_process_bytes): Likewise.
23742 (md5_process_block): Rename to __md5_process_block and move to ...
23743 * crypt/md5-block.c: ... here.
23744 * crypt/sha256.c (sha256_process_block): Move to ...
23745 * crypt/sha256-block.c: ... here.
23746 * crypt/sha512.c (sha512_process_block): Move to ...
23747 * crypt/sha512-block.c: ... here.
23748 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23749 path.
23750 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23751 * sysdeps/sparc/sparc64/multiarch/Makefile
23752 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23753 crypt subdir.
23754 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23755 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23756 multiarch changes.
23757 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23758 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23759 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23760 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23761 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23762 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23763 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23764 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23765 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23766 file.
23767 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23768 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23769 file.
23770 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23771
8ca89318
JM
237722012-11-13 Joseph Myers <joseph@codesourcery.com>
23773
e27d476a
JM
23774 * timezone/tzselect.ksh: Update from tzcode git revision
23775 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23776 * timezone/zdump.c: Likewise.
23777 * timezone/zic.c: Likewise.
23778 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23779 in TZVERSION setting, not $(PKGVERSION).
23780 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23781 REPORT_BUGS_TO settings.
23782
8ca89318
JM
23783 [BZ #14838]
23784 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23785 macro.
23786
47594329
MS
237872012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23788
23789 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23790 detection to immediately after _FP_ROUND().
23791 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23792 bits are 0.
23793
640ac3f1
DM
237942012-11-11 David S. Miller <davem@davemloft.net>
23795
23796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23797 inttypes.h
23798 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23799 __close rather than their public counterparts.
23800
3d2577bb
JM
238012012-11-10 Joseph Myers <joseph@codesourcery.com>
23802
23803 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23804 file.
23805 [UNIX98] (sem_timedwait): Do not expect.
23806 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23807 [XPG4 || UNIX98] (sockatmark): Do not expect.
23808 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23809 (clock_getcpuclockid): Do not expect.
23810 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23811 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23812 Do not expect.
23813 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23814 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23815 [UNIX98] (vwscanf): Likewise.
23816 [UNIX98] (vswscanf): Likewise.
23817
fb1ae1ee
JM
238182012-11-09 Joseph Myers <joseph@codesourcery.com>
23819
9ec6f8bd
JM
23820 * timezone/version.h: Remove file.
23821 * timezone/README: Do not refer to version.h.
23822 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23823 $(objpfx)version.h.
23824 ($(objpfx)zdump.o): Likewise.
c3f81911 23825 ($(objpfx)version.h): New target.
9ec6f8bd 23826
0aa8f8a1
JM
23827 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23828 2012i.
23829 * timezone/README: Don't mention modification to tzselect.ksh.
23830 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23831 work on unmodified tzselect.ksh. Substitute version numbers in
23832 tzselect.ksh.
23833
4e87147f
JM
23834 * Makefile (format-me): Remove.
23835 (INSTALL): Adjust indentation. Use commands directly instead of
23836 using $(format-me).
23837
8b748aed
JM
23838 * aclocal.m4 (ACX_PKGVERSION): New macro.
23839 (ACX_BUGURL): Likewise.
23840 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23841 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23842 (REPORT_BUGS_TO): Likewise.
23843 * configure: Regenerated.
23844 * config.h.in (PKGVERSION): New macro.
23845 (REPORT_BUGS_TO): Likewise.
23846 * config.make.in (PKGVERSION): New variable.
23847 (PKGVERSION_TEXI): Likewise.
23848 (REPORT_BUGS_TO): Likewise.
23849 (REPORT_BUGS_TEXI): Likewise.
23850 * Makefile (format-me): Use -I$(common-objpfx)manual.
23851 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23852 ($(common-objpfx)manual/%): New target.
23853 (manual/%): Remove target.
23854 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23855 (print_version): Use PKGVERSION.
23856 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23857 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23858 and REPORT_BUGS_TO.
23859 ($(objpfx)xtrace): Likewise.
23860 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23861 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23862 (print_version): Use PKGVERSION.
23863 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23864 (do_version): Use PKGVERSION.
23865 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23866 REPORT_BUGS_TO.
23867 (common-ldd-rewrite): Likewise.
23868 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23869 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23870 (print_version): Use PKGVERSION.
23871 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23872 * elf/pldd.c (argp_program_bug_address): Remove variable.
23873 (more_help): New function.
23874 (argp): Use more_help.
23875 (print_version): Use PKGVERSION.
23876 * elf/sln.c (main): Use PKGVERSION.
23877 (usage): Use REPORT_BUGS_TO.
23878 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23879 (top level): Use PKGVERSION.
23880 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23881 (print_version): Use PKGVERSION.
23882 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23883 (print_version): Use PKGVERSION.
23884 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23885 (print_version): Use PKGVERSION.
23886 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23887 (print_version): Use PKGVERSION.
23888 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23889 (print_version): Use PKGVERSION.
23890 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23891 (print_version): Use PKGVERSION.
23892 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23893 and BUGURL.
23894 ($(objpfx)memusage): Likewise.
23895 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23896 (do_version): Use PKGVERSION.
23897 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23898 (print_version): Use PKGVERSION.
23899 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23900 ($PKGVERSION): New variable.
23901 ($REPORT_BUGS_TO): Likewise.
23902 (usage): Use $REPORT_BUGS_TO.
23903 (top level): Use $PKGVERSION.
23904 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23905 ($(objpfx)pkgvers.texi): New rule.
23906 ($(objpfx)stamp-pkgvers): Likewise.
23907 * manual/install.texi: Include pkgvers.texi.
23908 (--with-pkgversion): Document new configure option.
23909 (--with-bugurl): Likewise.
23910 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23911 than necessarily for this particular distribution. Use
23912 REPORT_BUGS_TO for where to report bugs.
23913 * INSTALL: Regenerated.
23914 * manual/libc.texinfo: Include pkgvers.texi.
23915 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23916 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23917 (print_version): Use PKGVERSION.
23918 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23919 (print_version): Use PKGVERSION.
23920 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23921 (print_version): Use PKGVERSION.
23922 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23923 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23924 macro.
23925 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23926 (print_version): Use PKGVERSION.
23927 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23928 (print_version): Use PKGVERSION.
23929 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23930 and PKGVERSION.
23931
92e4b6a9
JM
23932 * timezone/checktab.awk: Update from tzcode 2012i.
23933 * timezone/ialloc.c: Likewise.
23934 * timezone/private.h: Likewise.
23935 * timezone/scheck.c: Likewise.
23936 * timezone/tzfile.h: Likewise.
23937 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23938 (TZVERSION): Hardcode tzcode version number.
23939 * timezone/zdump.c: Update from tzcode 2012i.
23940 * timezone/zic.c: Likewise.
23941 * timezone/version.h: New file.
23942 * timezone/README: Describe version.h. Update upstream location.
23943
9bde902c
JM
23944 [BZ #14824]
23945 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23946 (mktemp): Enable declaration.
23947 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23948 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23949 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23950 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23951 Likewise.
23952 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23953 Likewise.
23954 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23955 Likewise.
23956 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23957 Likewise.
23958 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23959 Likewise.
23960 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23961 Likewise.
23962
fb1ae1ee
JM
23963 [BZ #14821]
23964 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23965 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23966 for copies of such integer values.
23967 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23968 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23969
2c1adbcb
AJ
239702012-11-09 Andreas Jaeger <aj@suse.de>
23971
23972 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23973 definitions and declarations that are provided by
23974 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23975
d0f8457e
AK
239762012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23977
3a235abb 23978 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
23979 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23980 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23981 definition.
23982
57241e26
MS
239832012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23984
23985 * elf/elf.h: Update comment before AArch64 relocations.
23986
60e8270d
DM
239872012-11-07 David S. Miller <davem@davemloft.net>
23988
23989 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23990 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23991 (__start_context): Declare.
23992 (__makecontext_ret): Delete.
23993 (__makecontext): Hook up __start_context instead of
23994 __makecontext_ret.
23995 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23996 (sysdep_routines): Add __start_context when in stdlib.
23997
0fbb0fbc
JM
239982012-11-07 Joseph Myers <joseph@codesourcery.com>
23999
24000 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24001 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24002 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24003 hardcoded "nm".
24004 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24005 (READELF): New variable. Use it instead of hardcoded "readelf".
24006
eb48db7e
L
240072012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24008
24009 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24010 * sysdeps/x86/Makefile: Here.
24011 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24012 * sysdeps/x86/tst-xmmymm.sh: This.
24013
05bcf62a
JM
240142012-11-07 Joseph Myers <joseph@codesourcery.com>
24015
c4b6cf53
JM
24016 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24017 expectations.
24018 [UNIX98] (pthread_barrier_t): Do not expect.
24019 [UNIX98] (pthread_barrierattr_t): Likewise.
24020 [UNIX98] (pthread_spinlock_t): Likewise.
24021 [UNIX98] (pthread_barrier_destroy): Likewise.
24022 [UNIX98] (pthread_barrier_init): Likewise.
24023 [UNIX98] (pthread_barrier_wait): Likewise.
24024 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24025 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24026 [UNIX98] (pthread_barrierattr_init): Likewise.
24027 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24028 [UNIX98] (pthread_getcpuclockid): Likewise.
24029 [UNIX98] (pthread_mutex_timedlock): Likewise.
24030 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24031 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24032 [UNIX98] (pthread_sigmask): Likewise.
24033 [UNIX98] (pthread_spin_destroy): Likewise.
24034 [UNIX98] (pthread_spin_init): Likewise.
24035 [UNIX98] (pthread_spin_lock): Likewise.
24036 [UNIX98] (pthread_spin_trylock): Likewise.
24037 [UNIX98] (pthread_spin_unlock): Likewise.
24038 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24039 Do not expect.
24040 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24041 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24042 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24043 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24044 [XPG3 || XPG4] (pthread_key_t): Likewise.
24045 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24046 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24047 [XPG3 || XPG4] (pthread_once_t): Likewise.
24048 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24049 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24050 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24051 [XPG3 || XPG4] (pthread_t): Likewise.
24052
cbe6e120
JM
24053 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24054 not expect.
24055 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24056
1b126443
JM
24057 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24058 Change function return type to int.
24059
b961a573
JM
24060 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24061 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24062 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24063 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24064 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24065 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24066 [!POSIX] (posix_madvise): Likewise.
24067 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24068 && !UNIX98].
24069 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24070 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24071 (mode_t): Likewise.
24072 (posix_mem_offset): Likewise.
24073 (posix_typed_mem_get_info): Likewise.
24074 (posix_typed_mem_open): Likewise.
24075
9e188909
JM
24076 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24077 Change condition to [XOPEN2K8].
24078
05bcf62a
JM
24079 * conform/conformtest.pl: Preprocess allow-header data with -x c
24080 instead of from stdin.
24081 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24082 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24083 [C99-based standards] (cerfc): Likewise.
24084 [C99-based standards] (cexp2): Likewise.
24085 [C99-based standards] (cexpm1): Likewise.
24086 [C99-based standards] (clog10): Likewise.
24087 [C99-based standards] (clog1p): Likewise.
24088 [C99-based standards] (clog2): Likewise.
24089 [C99-based standards] (clgamma): Likewise.
24090 [C99-based standards] (ctgamma): Likewise.
24091 [C99-based standards] (cerff): Likewise.
24092 [C99-based standards] (cerfcf): Likewise.
24093 [C99-based standards] (cexp2f): Likewise.
24094 [C99-based standards] (cexpm1f): Likewise.
24095 [C99-based standards] (clog10f): Likewise.
24096 [C99-based standards] (clog1pf): Likewise.
24097 [C99-based standards] (clog2f): Likewise.
24098 [C99-based standards] (clgammaf): Likewise.
24099 [C99-based standards] (ctgammaf): Likewise.
24100 [C99-based standards] (cerfl): Likewise.
24101 [C99-based standards] (cerfcl): Likewise.
24102 [C99-based standards] (cexp2l): Likewise.
24103 [C99-based standards] (cexpm1l): Likewise.
24104 [C99-based standards] (clog10l): Likewise.
24105 [C99-based standards] (clog1pl): Likewise.
24106 [C99-based standards] (clog2l): Likewise.
24107 [C99-based standards] (clgammal): Likewise.
24108 [C99-based standards] (ctgammal): Likewise.
24109 * conform/data/inttypes.h-data [C99-based standards]: Include
24110 stdint.h-data. Remove all expectations for stdint.h contents.
24111 [C99-based standards] (PRI*): Do not allow.
24112 [C99-based standards] (SCN*): Likewise.
24113 [C99-based standards] (*_t): Likewise.
24114 [C99-based-standards] (PRId8): Expect macro.
24115 [C99-based-standards] (PRIi8): Likewise.
24116 [C99-based-standards] (PRIo8): Likewise.
24117 [C99-based-standards] (PRIu8): Likewise.
24118 [C99-based-standards] (PRIx8): Likewise.
24119 [C99-based-standards] (PRIX8): Likewise.
24120 [C99-based-standards] (SCNd8): Likewise.
24121 [C99-based-standards] (SCNi8): Likewise.
24122 [C99-based-standards] (SCNo8): Likewise.
24123 [C99-based-standards] (SCNu8): Likewise.
24124 [C99-based-standards] (SCNx8): Likewise.
24125 [C99-based-standards] (PRIdLEAST8): Likewise.
24126 [C99-based-standards] (PRIiLEAST8): Likewise.
24127 [C99-based-standards] (PRIoLEAST8): Likewise.
24128 [C99-based-standards] (PRIuLEAST8): Likewise.
24129 [C99-based-standards] (PRIxLEAST8): Likewise.
24130 [C99-based-standards] (PRIXLEAST8): Likewise.
24131 [C99-based-standards] (SCNdLEAST8): Likewise.
24132 [C99-based-standards] (SCNiLEAST8): Likewise.
24133 [C99-based-standards] (SCNoLEAST8): Likewise.
24134 [C99-based-standards] (SCNuLEAST8): Likewise.
24135 [C99-based-standards] (SCNxLEAST8): Likewise.
24136 [C99-based-standards] (PRIdFAST8): Likewise.
24137 [C99-based-standards] (PRIiFAST8): Likewise.
24138 [C99-based-standards] (PRIoFAST8): Likewise.
24139 [C99-based-standards] (PRIuFAST8): Likewise.
24140 [C99-based-standards] (PRIxFAST8): Likewise.
24141 [C99-based-standards] (PRIXFAST8): Likewise.
24142 [C99-based-standards] (SCNdFAST8): Likewise.
24143 [C99-based-standards] (SCNiFAST8): Likewise.
24144 [C99-based-standards] (SCNoFAST8): Likewise.
24145 [C99-based-standards] (SCNuFAST8): Likewise.
24146 [C99-based-standards] (SCNxFAST8): Likewise.
24147 [C99-based-standards] (PRId16): Likewise.
24148 [C99-based-standards] (PRIi16): Likewise.
24149 [C99-based-standards] (PRIo16): Likewise.
24150 [C99-based-standards] (PRIu16): Likewise.
24151 [C99-based-standards] (PRIx16): Likewise.
24152 [C99-based-standards] (PRIX16): Likewise.
24153 [C99-based-standards] (SCNd16): Likewise.
24154 [C99-based-standards] (SCNi16): Likewise.
24155 [C99-based-standards] (SCNo16): Likewise.
24156 [C99-based-standards] (SCNu16): Likewise.
24157 [C99-based-standards] (SCNx16): Likewise.
24158 [C99-based-standards] (PRIdLEAST16): Likewise.
24159 [C99-based-standards] (PRIiLEAST16): Likewise.
24160 [C99-based-standards] (PRIoLEAST16): Likewise.
24161 [C99-based-standards] (PRIuLEAST16): Likewise.
24162 [C99-based-standards] (PRIxLEAST16): Likewise.
24163 [C99-based-standards] (PRIXLEAST16): Likewise.
24164 [C99-based-standards] (SCNdLEAST16): Likewise.
24165 [C99-based-standards] (SCNiLEAST16): Likewise.
24166 [C99-based-standards] (SCNoLEAST16): Likewise.
24167 [C99-based-standards] (SCNuLEAST16): Likewise.
24168 [C99-based-standards] (SCNxLEAST16): Likewise.
24169 [C99-based-standards] (PRIdFAST16): Likewise.
24170 [C99-based-standards] (PRIiFAST16): Likewise.
24171 [C99-based-standards] (PRIoFAST16): Likewise.
24172 [C99-based-standards] (PRIuFAST16): Likewise.
24173 [C99-based-standards] (PRIxFAST16): Likewise.
24174 [C99-based-standards] (PRIXFAST16): Likewise.
24175 [C99-based-standards] (SCNdFAST16): Likewise.
24176 [C99-based-standards] (SCNiFAST16): Likewise.
24177 [C99-based-standards] (SCNoFAST16): Likewise.
24178 [C99-based-standards] (SCNuFAST16): Likewise.
24179 [C99-based-standards] (SCNxFAST16): Likewise.
24180 [C99-based-standards] (PRId32): Likewise.
24181 [C99-based-standards] (PRIi32): Likewise.
24182 [C99-based-standards] (PRIo32): Likewise.
24183 [C99-based-standards] (PRIu32): Likewise.
24184 [C99-based-standards] (PRIx32): Likewise.
24185 [C99-based-standards] (PRIX32): Likewise.
24186 [C99-based-standards] (SCNd32): Likewise.
24187 [C99-based-standards] (SCNi32): Likewise.
24188 [C99-based-standards] (SCNo32): Likewise.
24189 [C99-based-standards] (SCNu32): Likewise.
24190 [C99-based-standards] (SCNx32): Likewise.
24191 [C99-based-standards] (PRIdLEAST32): Likewise.
24192 [C99-based-standards] (PRIiLEAST32): Likewise.
24193 [C99-based-standards] (PRIoLEAST32): Likewise.
24194 [C99-based-standards] (PRIuLEAST32): Likewise.
24195 [C99-based-standards] (PRIxLEAST32): Likewise.
24196 [C99-based-standards] (PRIXLEAST32): Likewise.
24197 [C99-based-standards] (SCNdLEAST32): Likewise.
24198 [C99-based-standards] (SCNiLEAST32): Likewise.
24199 [C99-based-standards] (SCNoLEAST32): Likewise.
24200 [C99-based-standards] (SCNuLEAST32): Likewise.
24201 [C99-based-standards] (SCNxLEAST32): Likewise.
24202 [C99-based-standards] (PRIdFAST32): Likewise.
24203 [C99-based-standards] (PRIiFAST32): Likewise.
24204 [C99-based-standards] (PRIoFAST32): Likewise.
24205 [C99-based-standards] (PRIuFAST32): Likewise.
24206 [C99-based-standards] (PRIxFAST32): Likewise.
24207 [C99-based-standards] (PRIXFAST32): Likewise.
24208 [C99-based-standards] (SCNdFAST32): Likewise.
24209 [C99-based-standards] (SCNiFAST32): Likewise.
24210 [C99-based-standards] (SCNoFAST32): Likewise.
24211 [C99-based-standards] (SCNuFAST32): Likewise.
24212 [C99-based-standards] (SCNxFAST32): Likewise.
24213 [C99-based-standards] (PRId64): Likewise.
24214 [C99-based-standards] (PRIi64): Likewise.
24215 [C99-based-standards] (PRIo64): Likewise.
24216 [C99-based-standards] (PRIu64): Likewise.
24217 [C99-based-standards] (PRIx64): Likewise.
24218 [C99-based-standards] (PRIX64): Likewise.
24219 [C99-based-standards] (SCNd64): Likewise.
24220 [C99-based-standards] (SCNi64): Likewise.
24221 [C99-based-standards] (SCNo64): Likewise.
24222 [C99-based-standards] (SCNu64): Likewise.
24223 [C99-based-standards] (SCNx64): Likewise.
24224 [C99-based-standards] (PRIdLEAST64): Likewise.
24225 [C99-based-standards] (PRIiLEAST64): Likewise.
24226 [C99-based-standards] (PRIoLEAST64): Likewise.
24227 [C99-based-standards] (PRIuLEAST64): Likewise.
24228 [C99-based-standards] (PRIxLEAST64): Likewise.
24229 [C99-based-standards] (PRIXLEAST64): Likewise.
24230 [C99-based-standards] (SCNdLEAST64): Likewise.
24231 [C99-based-standards] (SCNiLEAST64): Likewise.
24232 [C99-based-standards] (SCNoLEAST64): Likewise.
24233 [C99-based-standards] (SCNuLEAST64): Likewise.
24234 [C99-based-standards] (SCNxLEAST64): Likewise.
24235 [C99-based-standards] (PRIdFAST64): Likewise.
24236 [C99-based-standards] (PRIiFAST64): Likewise.
24237 [C99-based-standards] (PRIoFAST64): Likewise.
24238 [C99-based-standards] (PRIuFAST64): Likewise.
24239 [C99-based-standards] (PRIxFAST64): Likewise.
24240 [C99-based-standards] (PRIXFAST64): Likewise.
24241 [C99-based-standards] (SCNdFAST64): Likewise.
24242 [C99-based-standards] (SCNiFAST64): Likewise.
24243 [C99-based-standards] (SCNoFAST64): Likewise.
24244 [C99-based-standards] (SCNuFAST64): Likewise.
24245 [C99-based-standards] (SCNxFAST64): Likewise.
24246 [C99-based-standards] (PRIdMAX): Likewise.
24247 [C99-based-standards] (PRIiMAX): Likewise.
24248 [C99-based-standards] (PRIoMAX): Likewise.
24249 [C99-based-standards] (PRIuMAX): Likewise.
24250 [C99-based-standards] (PRIxMAX): Likewise.
24251 [C99-based-standards] (PRIXMAX): Likewise.
24252 [C99-based-standards] (SCNdMAX): Likewise.
24253 [C99-based-standards] (SCNiMAX): Likewise.
24254 [C99-based-standards] (SCNoMAX): Likewise.
24255 [C99-based-standards] (SCNuMAX): Likewise.
24256 [C99-based-standards] (SCNxMAX): Likewise.
24257 [C99-based-standards] (PRIdPTR): Likewise.
24258 [C99-based-standards] (PRIiPTR): Likewise.
24259 [C99-based-standards] (PRIoPTR): Likewise.
24260 [C99-based-standards] (PRIuPTR): Likewise.
24261 [C99-based-standards] (PRIxPTR): Likewise.
24262 [C99-based-standards] (PRIXPTR): Likewise.
24263 [C99-based-standards] (SCNdPTR): Likewise.
24264 [C99-based-standards] (SCNiPTR): Likewise.
24265 [C99-based-standards] (SCNoPTR): Likewise.
24266 [C99-based-standards] (SCNuPTR): Likewise.
24267 [C99-based-standards] (SCNxPTR): Likewise.
24268 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24269 allow.
24270 * conform/data/stdint.h-data: Update comments to clarify
24271 requirements.
24272 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24273 type.
24274 [C99-based standards] (INT8_MAX): Likewise.
24275 [C99-based standards] (INT16_MIN): Likewise.
24276 [C99-based standards] (INT16_MAX): Likewise.
24277 [C99-based standards] (INT32_MIN): Likewise.
24278 [C99-based standards] (INT32_MAX): Likewise.
24279 [C99-based standards] (INT64_MIN): Likewise.
24280 [C99-based standards] (INT64_MAX): Likewise.
24281 [C99-based standards] (UINT8_MAX): Likewise.
24282 [C99-based standards] (UINT16_MAX): Likewise.
24283 [C99-based standards] (UINT32_MAX): Likewise.
24284 [C99-based standards] (UINT64_MAX): Likewise.
24285 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24286 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24287 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24288 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24289 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24290 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24291 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24292 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24293 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24294 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24295 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24296 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24297 [C99-based standards] (INT_FAST8_MIN): Likewise.
24298 [C99-based standards] (INT_FAST8_MAX): Likewise.
24299 [C99-based standards] (INT_FAST16_MIN): Likewise.
24300 [C99-based standards] (INT_FAST16_MAX): Likewise.
24301 [C99-based standards] (INT_FAST32_MIN): Likewise.
24302 [C99-based standards] (INT_FAST32_MAX): Likewise.
24303 [C99-based standards] (INT_FAST64_MIN): Likewise.
24304 [C99-based standards] (INT_FAST64_MAX): Likewise.
24305 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24306 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24307 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24308 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24309 [C99-based standards] (INTPTR_MIN): Likewise.
24310 [C99-based standards] (INTPTR_MAX): Likewise.
24311 [C99-based standards] (UINTPTR_MAX): Likewise.
24312 [C99-based standards] (INTMAX_MIN): Likewise.
24313 [C99-based standards] (INTMAX_MAX): Likewise.
24314 [C99-based standards] (UINTMAX_MAX): Likewise.
24315 [C99-based standards] (PTRDIFF_MIN): Likewise.
24316 [C99-based standards] (PTRDIFF_MAX): Likewise.
24317 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24318 [C99-based standards] (SIZE_MAX): Likewise.
24319 [C99-based standards] (WCHAR_MAX): Likewise.
24320 [C99-based standards] (WINT_MAX): Likewise.
24321 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24322 constraint on value.
24323 [C99-based standards] (WCHAR_MIN): Likewise.
24324 [C99-based standards] (WINT_MIN): Likewise.
24325 [C99-based standards] (*_t): Allow.
24326 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24327 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24328 Include math.h-data and complex.h-data. Remove all expectations
24329 of math.h and complex.h contents.
24330 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24331 at end of line.
24332 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24333 (struct tm): Expect tag.
24334 [C99-based-standards] (wcstof): Expect function.
24335 [C99-based-standards] (wcstold): Likewise.
24336 [C99-based-standards] (wcstoll): Likewise.
24337 [C99-based-standards] (wcstoull): Likewise.
24338 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24339 macro-int-constant. Specify type.
24340 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24341 constraint on value.
24342 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24343 Specify type.
24344 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24345 Specify value.
24346 [ISO C standards]: Do not allow headers.
24347 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24348 wcs[abcdefghijklmnopqrstuvwxyz]*.
24349 [ISO C standards] (*_t): Do not allow.
24350 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24351 Expect function.
24352 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24353 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24354 Specify type.
24355 [ISO C standards]: Do not allow headers.
24356 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24357 is[abcdefghijklmnopqrstuvwxyz]*.
24358 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24359 to[abcdefghijklmnopqrstuvwxyz]*.
24360 [ISO C standards] (*_t): Do not allow.
24361 * conform/data/stdalign.h-data: New file.
24362 * conform/data/stdbool.h-data: Likewise.
24363 * conform/data/stdnoreturn.h-data: Likewise.
24364
7514feb8
RM
243652012-11-07 Roland McGrath <roland@hack.frob.com>
24366
24367 [BZ #14815]
24368 * manual/filesys.texi (Directory Entries): Typo fix.
24369 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24370
19b2ecfc
MS
243712012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24372
24373 * elf/elf.h (EM_AARCH64): New macro.
24374 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24375 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24376 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24377 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24378 (R_AARCH64_TLSDESC): Likewise.
24379 (NT_ARM_TLS): Likewise.
24380 (NT_ARM_HW_BREAK): Likewise.
24381 (NT_ARM_HW_WATCH): Likewise.
24382
60e235ee
JM
243832012-11-07 Joseph Myers <joseph@codesourcery.com>
24384
24385 [BZ #14811]
24386 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24387 (__ieee754_powl): Saturate nonzero exponents with absolute value
24388 below 0x1p-79 to +/- 0x1p-79.
24389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24390 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24391 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24392 nonzero exponents with absolute value below 0x1p-32 to +/-
24393 0x1p-32.
24394 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24395 (__ieee754_powl): Saturate nonzero exponents with absolute value
24396 below 0x1p-79 to +/- 0x1p-79.
24397 * math/libm-test.inc (pow_test): Add more tests.
24398
0ab234b7
AK
243992012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24400
24401 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24402 _dl_s390_cap_flags with kernel. Increase string length.
24403 (_dl_s390_platforms): Add z196 and zEC12.
24404
45832f74
JM
244052012-11-07 Joseph Myers <joseph@codesourcery.com>
24406
24407 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24408 Change XOPEN21K to XOPEN2K.
24409
19218757
MK
244102012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24411
24412 * string/memmove.c: Use memcpy when possible.
24413
c5f45721
AJ
244142012-11-06 Andreas Jaeger <aj@suse.de>
24415
24416 * po/eo.po: Update from translation team.
24417
82477c28
JM
244182012-11-06 Joseph Myers <joseph@codesourcery.com>
24419
24420 [BZ #14793]
24421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24422 exponent and small x and y exponents, scale x or y up. Increase
24423 by 2 the exponent used in scaling up.
24424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24426 * math/libm-test.inc (fma_test): Add more tests.
24427 (fma_test_towardzero): Likewise.
24428 (fma_test_downward): Likewise.
24429 (fma_test_upward): Likewise.
24430
99252c8c
JM
244312012-11-05 Joseph Myers <joseph@codesourcery.com>
24432
acfa885f
JM
24433 [BZ #14805]
24434 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24435 fenv_t *.
24436
99252c8c
JM
24437 [BZ #14801]
24438 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24439 namespace for names of struct fields.
24440 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24441 fenv_t fields.
24442 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24443 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24444
d6d98dea
ST
244452012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24446
24447 [BZ #3665]
24448 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24449
e10bb107
TS
244502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24451
24452 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24453 PTR_DEMANGLE.
24454
24455 [BZ #5246]
24456 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24457 PTR_DEMANGLE.
24458
a0c2940d
JM
244592012-11-04 Joseph Myers <joseph@codesourcery.com>
24460
24461 [BZ #14797]
24462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24463 definitely overflow as x * y not x * y + z.
24464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24465 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24466 * math/libm-test.inc (fma_test): Add more tests.
24467 (fma_test_towardzero): Likewise.
24468 (fma_test_downward): Likewise.
24469 (fma_test_upward): Likewise.
24470
b830319d
TS
244712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24472
24473 [BZ #157]
24474
24475 * include/stub-tag.h: Remove file.
24476 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24477 '#include' of it.
24478 * manual/maint.texi (Porting): Don't reference it.
24479 * Makerules ($(objpfx)stubs): Likewise.
24480 * dirent/closedir.c: Don't include <stub-tag.h>.
24481 * dirent/dirfd.c: Likewise.
24482 * dirent/fdopendir.c: Likewise.
24483 * dirent/getdents.c: Likewise.
24484 * dirent/getdents64.c: Likewise.
24485 * dirent/opendir.c: Likewise.
24486 * dirent/readdir.c: Likewise.
24487 * dirent/readdir64.c: Likewise.
24488 * dirent/readdir64_r.c: Likewise.
24489 * dirent/readdir_r.c: Likewise.
24490 * dirent/rewinddir.c: Likewise.
24491 * dirent/seekdir.c: Likewise.
24492 * dirent/telldir.c: Likewise.
24493 * gmon/profil.c: Likewise.
24494 * grp/setgroups.c: Likewise.
24495 * inet/if_index.c: Likewise.
24496 * io/access.c: Likewise.
24497 * io/chdir.c: Likewise.
24498 * io/chmod.c: Likewise.
24499 * io/chown.c: Likewise.
24500 * io/close.c: Likewise.
24501 * io/dup.c: Likewise.
24502 * io/dup2.c: Likewise.
24503 * io/dup3.c: Likewise.
24504 * io/euidaccess.c: Likewise.
24505 * io/faccessat.c: Likewise.
24506 * io/fchdir.c: Likewise.
24507 * io/fchmod.c: Likewise.
24508 * io/fchmodat.c: Likewise.
24509 * io/fchown.c: Likewise.
24510 * io/fchownat.c: Likewise.
24511 * io/fcntl.c: Likewise.
24512 * io/flock.c: Likewise.
24513 * io/fstatfs.c: Likewise.
24514 * io/fstatfs64.c: Likewise.
24515 * io/fstatvfs.c: Likewise.
24516 * io/fstatvfs64.c: Likewise.
24517 * io/futimens.c: Likewise.
24518 * io/fxstat.c: Likewise.
24519 * io/fxstat64.c: Likewise.
24520 * io/fxstatat.c: Likewise.
24521 * io/fxstatat64.c: Likewise.
24522 * io/getcwd.c: Likewise.
24523 * io/isatty.c: Likewise.
24524 * io/lchmod.c: Likewise.
24525 * io/lchown.c: Likewise.
24526 * io/link.c: Likewise.
24527 * io/linkat.c: Likewise.
24528 * io/lseek.c: Likewise.
24529 * io/lseek64.c: Likewise.
24530 * io/lxstat64.c: Likewise.
24531 * io/mkdir.c: Likewise.
24532 * io/mkdirat.c: Likewise.
24533 * io/mkfifo.c: Likewise.
24534 * io/mkfifoat.c: Likewise.
24535 * io/open.c: Likewise.
24536 * io/open64.c: Likewise.
24537 * io/openat.c: Likewise.
24538 * io/openat64.c: Likewise.
24539 * io/pipe.c: Likewise.
24540 * io/pipe2.c: Likewise.
24541 * io/poll.c: Likewise.
24542 * io/posix_fadvise.c: Likewise.
24543 * io/posix_fadvise64.c: Likewise.
24544 * io/posix_fallocate.c: Likewise.
24545 * io/posix_fallocate64.c: Likewise.
24546 * io/read.c: Likewise.
24547 * io/readlink.c: Likewise.
24548 * io/readlinkat.c: Likewise.
24549 * io/rmdir.c: Likewise.
24550 * io/sendfile.c: Likewise.
24551 * io/sendfile64.c: Likewise.
24552 * io/statfs.c: Likewise.
24553 * io/statfs64.c: Likewise.
24554 * io/statvfs.c: Likewise.
24555 * io/statvfs64.c: Likewise.
24556 * io/symlink.c: Likewise.
24557 * io/symlinkat.c: Likewise.
24558 * io/ttyname.c: Likewise.
24559 * io/ttyname_r.c: Likewise.
24560 * io/umask.c: Likewise.
24561 * io/unlink.c: Likewise.
24562 * io/unlinkat.c: Likewise.
24563 * io/utime.c: Likewise.
24564 * io/utimensat.c: Likewise.
24565 * io/write.c: Likewise.
24566 * io/xmknod.c: Likewise.
24567 * io/xmknodat.c: Likewise.
24568 * io/xstat.c: Likewise.
24569 * io/xstat64.c: Likewise.
24570 * login/getpt.c: Likewise.
24571 * login/grantpt.c: Likewise.
24572 * login/unlockpt.c: Likewise.
24573 * math/e_acoshl.c: Likewise.
24574 * math/e_acosl.c: Likewise.
24575 * math/e_asinl.c: Likewise.
24576 * math/e_atan2l.c: Likewise.
24577 * math/e_atanhl.c: Likewise.
24578 * math/e_coshl.c: Likewise.
24579 * math/e_expl.c: Likewise.
24580 * math/e_fmodl.c: Likewise.
24581 * math/e_gammal_r.c: Likewise.
24582 * math/e_hypotl.c: Likewise.
24583 * math/e_j0l.c: Likewise.
24584 * math/e_j1l.c: Likewise.
24585 * math/e_jnl.c: Likewise.
24586 * math/e_lgammal_r.c: Likewise.
24587 * math/e_log10l.c: Likewise.
24588 * math/e_log2l.c: Likewise.
24589 * math/e_logl.c: Likewise.
24590 * math/e_powl.c: Likewise.
24591 * math/e_rem_pio2l.c: Likewise.
24592 * math/e_sinhl.c: Likewise.
24593 * math/e_sqrtl.c: Likewise.
24594 * math/fclrexcpt.c: Likewise.
24595 * math/fedisblxcpt.c: Likewise.
24596 * math/feenablxcpt.c: Likewise.
24597 * math/fegetenv.c: Likewise.
24598 * math/fegetexcept.c: Likewise.
24599 * math/fegetround.c: Likewise.
24600 * math/feholdexcpt.c: Likewise.
24601 * math/fesetenv.c: Likewise.
24602 * math/fesetround.c: Likewise.
24603 * math/feupdateenv.c: Likewise.
24604 * math/fgetexcptflg.c: Likewise.
24605 * math/fraiseexcpt.c: Likewise.
24606 * math/fsetexcptflg.c: Likewise.
24607 * math/ftestexcept.c: Likewise.
24608 * math/k_cosl.c: Likewise.
24609 * math/k_rem_pio2l.c: Likewise.
24610 * math/k_sinl.c: Likewise.
24611 * math/k_tanl.c: Likewise.
24612 * math/s_asinhl.c: Likewise.
24613 * math/s_atanl.c: Likewise.
24614 * math/s_cbrtl.c: Likewise.
24615 * math/s_erfl.c: Likewise.
24616 * math/s_expm1l.c: Likewise.
24617 * math/s_log1pl.c: Likewise.
24618 * math/s_tanhl.c: Likewise.
24619 * misc/acct.c: Likewise.
24620 * misc/brk.c: Likewise.
24621 * misc/chflags.c: Likewise.
24622 * misc/chroot.c: Likewise.
24623 * misc/fchflags.c: Likewise.
24624 * misc/fgetxattr.c: Likewise.
24625 * misc/flistxattr.c: Likewise.
24626 * misc/fremovexattr.c: Likewise.
24627 * misc/fsetxattr.c: Likewise.
24628 * misc/fsync.c: Likewise.
24629 * misc/ftruncate.c: Likewise.
24630 * misc/futimes.c: Likewise.
24631 * misc/futimesat.c: Likewise.
24632 * misc/getdomain.c: Likewise.
24633 * misc/getdtsz.c: Likewise.
24634 * misc/gethostid.c: Likewise.
24635 * misc/gethostname.c: Likewise.
24636 * misc/getloadavg.c: Likewise.
24637 * misc/getpagesize.c: Likewise.
24638 * misc/getsysstats.c: Likewise.
24639 * misc/getxattr.c: Likewise.
24640 * misc/gtty.c: Likewise.
24641 * misc/ioctl.c: Likewise.
24642 * misc/lgetxattr.c: Likewise.
24643 * misc/listxattr.c: Likewise.
24644 * misc/llistxattr.c: Likewise.
24645 * misc/lremovexattr.c: Likewise.
24646 * misc/lsetxattr.c: Likewise.
24647 * misc/lutimes.c: Likewise.
24648 * misc/madvise.c: Likewise.
24649 * misc/mincore.c: Likewise.
24650 * misc/mlock.c: Likewise.
24651 * misc/mlockall.c: Likewise.
24652 * misc/mmap.c: Likewise.
24653 * misc/mprotect.c: Likewise.
24654 * misc/msync.c: Likewise.
24655 * misc/munlock.c: Likewise.
24656 * misc/munlockall.c: Likewise.
24657 * misc/munmap.c: Likewise.
24658 * misc/preadv.c: Likewise.
24659 * misc/preadv64.c: Likewise.
24660 * misc/ptrace.c: Likewise.
24661 * misc/pwritev.c: Likewise.
24662 * misc/pwritev64.c: Likewise.
24663 * misc/readv.c: Likewise.
24664 * misc/reboot.c: Likewise.
24665 * misc/remap_file_pages.c: Likewise.
24666 * misc/removexattr.c: Likewise.
24667 * misc/revoke.c: Likewise.
24668 * misc/select.c: Likewise.
24669 * misc/setdomain.c: Likewise.
24670 * misc/setegid.c: Likewise.
24671 * misc/seteuid.c: Likewise.
24672 * misc/sethostid.c: Likewise.
24673 * misc/sethostname.c: Likewise.
24674 * misc/setregid.c: Likewise.
24675 * misc/setreuid.c: Likewise.
24676 * misc/setxattr.c: Likewise.
24677 * misc/sstk.c: Likewise.
24678 * misc/stty.c: Likewise.
24679 * misc/swapoff.c: Likewise.
24680 * misc/swapon.c: Likewise.
24681 * misc/sync.c: Likewise.
24682 * misc/syncfs.c: Likewise.
24683 * misc/syscall.c: Likewise.
24684 * misc/truncate.c: Likewise.
24685 * misc/ualarm.c: Likewise.
24686 * misc/usleep.c: Likewise.
24687 * misc/ustat.c: Likewise.
24688 * misc/utimes.c: Likewise.
24689 * misc/vhangup.c: Likewise.
24690 * misc/writev.c: Likewise.
24691 * posix/_exit.c: Likewise.
24692 * posix/alarm.c: Likewise.
24693 * posix/execve.c: Likewise.
24694 * posix/fexecve.c: Likewise.
24695 * posix/fork.c: Likewise.
24696 * posix/fpathconf.c: Likewise.
24697 * posix/getaddrinfo.c: Likewise.
24698 * posix/getegid.c: Likewise.
24699 * posix/geteuid.c: Likewise.
24700 * posix/getgid.c: Likewise.
24701 * posix/getgroups.c: Likewise.
24702 * posix/getlogin.c: Likewise.
24703 * posix/getlogin_r.c: Likewise.
24704 * posix/getpgid.c: Likewise.
24705 * posix/getpid.c: Likewise.
24706 * posix/getppid.c: Likewise.
24707 * posix/getresgid.c: Likewise.
24708 * posix/getresuid.c: Likewise.
24709 * posix/getsid.c: Likewise.
24710 * posix/getuid.c: Likewise.
24711 * posix/glob64.c: Likewise.
24712 * posix/nanosleep.c: Likewise.
24713 * posix/pathconf.c: Likewise.
24714 * posix/pause.c: Likewise.
24715 * posix/posix_madvise.c: Likewise.
24716 * posix/pread.c: Likewise.
24717 * posix/pread64.c: Likewise.
24718 * posix/pwrite.c: Likewise.
24719 * posix/pwrite64.c: Likewise.
24720 * posix/sched_getaffinity.c: Likewise.
24721 * posix/sched_getp.c: Likewise.
24722 * posix/sched_gets.c: Likewise.
24723 * posix/sched_primax.c: Likewise.
24724 * posix/sched_primin.c: Likewise.
24725 * posix/sched_rr_gi.c: Likewise.
24726 * posix/sched_setaffinity.c: Likewise.
24727 * posix/sched_setp.c: Likewise.
24728 * posix/sched_sets.c: Likewise.
24729 * posix/sched_yield.c: Likewise.
24730 * posix/setgid.c: Likewise.
24731 * posix/setlogin.c: Likewise.
24732 * posix/setpgid.c: Likewise.
24733 * posix/setresgid.c: Likewise.
24734 * posix/setresuid.c: Likewise.
24735 * posix/setsid.c: Likewise.
24736 * posix/setuid.c: Likewise.
24737 * posix/sleep.c: Likewise.
24738 * posix/spawni.c: Likewise.
24739 * posix/sysconf.c: Likewise.
24740 * posix/times.c: Likewise.
24741 * posix/wait.c: Likewise.
24742 * posix/wait3.c: Likewise.
24743 * posix/wait4.c: Likewise.
24744 * posix/waitpid.c: Likewise.
24745 * resolv/gai_sigqueue.c: Likewise.
24746 * resource/getpriority.c: Likewise.
24747 * resource/getrlimit.c: Likewise.
24748 * resource/getrusage.c: Likewise.
24749 * resource/nice.c: Likewise.
24750 * resource/setpriority.c: Likewise.
24751 * resource/setrlimit.c: Likewise.
24752 * resource/ulimit.c: Likewise.
24753 * rt/aio_cancel.c: Likewise.
24754 * rt/aio_fsync.c: Likewise.
24755 * rt/aio_read.c: Likewise.
24756 * rt/aio_sigqueue.c: Likewise.
24757 * rt/aio_suspend.c: Likewise.
24758 * rt/aio_write.c: Likewise.
24759 * rt/clock_getres.c: Likewise.
24760 * rt/clock_gettime.c: Likewise.
24761 * rt/clock_nanosleep.c: Likewise.
24762 * rt/clock_settime.c: Likewise.
24763 * rt/lio_listio.c: Likewise.
24764 * rt/mq_close.c: Likewise.
24765 * rt/mq_getattr.c: Likewise.
24766 * rt/mq_notify.c: Likewise.
24767 * rt/mq_open.c: Likewise.
24768 * rt/mq_receive.c: Likewise.
24769 * rt/mq_send.c: Likewise.
24770 * rt/mq_setattr.c: Likewise.
24771 * rt/mq_timedreceive.c: Likewise.
24772 * rt/mq_timedsend.c: Likewise.
24773 * rt/mq_unlink.c: Likewise.
24774 * rt/shm_open.c: Likewise.
24775 * rt/shm_unlink.c: Likewise.
24776 * rt/timer_create.c: Likewise.
24777 * rt/timer_delete.c: Likewise.
24778 * rt/timer_getoverr.c: Likewise.
24779 * rt/timer_gettime.c: Likewise.
24780 * rt/timer_settime.c: Likewise.
24781 * setjmp/__longjmp.c: Likewise.
24782 * setjmp/setjmp.c: Likewise.
24783 * signal/kill.c: Likewise.
24784 * signal/killpg.c: Likewise.
24785 * signal/raise.c: Likewise.
24786 * signal/sigaction.c: Likewise.
24787 * signal/sigaltstack.c: Likewise.
24788 * signal/sigblock.c: Likewise.
24789 * signal/sigignore.c: Likewise.
24790 * signal/sigintr.c: Likewise.
24791 * signal/signal.c: Likewise.
24792 * signal/sigpause.c: Likewise.
24793 * signal/sigpending.c: Likewise.
24794 * signal/sigqueue.c: Likewise.
24795 * signal/sigreturn.c: Likewise.
24796 * signal/sigset.c: Likewise.
24797 * signal/sigsetmask.c: Likewise.
24798 * signal/sigstack.c: Likewise.
24799 * signal/sigsuspend.c: Likewise.
24800 * signal/sigtimedwait.c: Likewise.
24801 * signal/sigvec.c: Likewise.
24802 * signal/sigwait.c: Likewise.
24803 * signal/sigwaitinfo.c: Likewise.
24804 * signal/sysv_signal.c: Likewise.
24805 * socket/accept.c: Likewise.
24806 * socket/accept4.c: Likewise.
24807 * socket/bind.c: Likewise.
24808 * socket/connect.c: Likewise.
24809 * socket/getpeername.c: Likewise.
24810 * socket/getsockname.c: Likewise.
24811 * socket/getsockopt.c: Likewise.
24812 * socket/isfdtype.c: Likewise.
24813 * socket/listen.c: Likewise.
24814 * socket/recv.c: Likewise.
24815 * socket/recvfrom.c: Likewise.
24816 * socket/recvmsg.c: Likewise.
24817 * socket/send.c: Likewise.
24818 * socket/sendmsg.c: Likewise.
24819 * socket/sendto.c: Likewise.
24820 * socket/setsockopt.c: Likewise.
24821 * socket/shutdown.c: Likewise.
24822 * socket/sockatmark.c: Likewise.
24823 * socket/socket.c: Likewise.
24824 * socket/socketpair.c: Likewise.
24825 * stdio-common/ctermid.c: Likewise.
24826 * stdio-common/cuserid.c: Likewise.
24827 * stdio-common/remove.c: Likewise.
24828 * stdio-common/rename.c: Likewise.
24829 * stdio-common/renameat.c: Likewise.
24830 * stdio-common/tempname.c: Likewise.
24831 * stdlib/getcontext.c: Likewise.
24832 * stdlib/makecontext.c: Likewise.
24833 * stdlib/setcontext.c: Likewise.
24834 * stdlib/swapcontext.c: Likewise.
24835 * stdlib/system.c: Likewise.
24836 * streams/fattach.c: Likewise.
24837 * streams/fdetach.c: Likewise.
24838 * streams/getmsg.c: Likewise.
24839 * streams/getpmsg.c: Likewise.
24840 * streams/putmsg.c: Likewise.
24841 * streams/putpmsg.c: Likewise.
24842 * sysdeps/unix/bsd/getpt.c: Likewise.
24843 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24844 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24845 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24847 Likewise.
24848 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24849 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24850 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24851 * sysvipc/msgctl.c: Likewise.
24852 * sysvipc/msgget.c: Likewise.
24853 * sysvipc/msgrcv.c: Likewise.
24854 * sysvipc/msgsnd.c: Likewise.
24855 * sysvipc/semctl.c: Likewise.
24856 * sysvipc/semget.c: Likewise.
24857 * sysvipc/semop.c: Likewise.
24858 * sysvipc/semtimedop.c: Likewise.
24859 * sysvipc/shmat.c: Likewise.
24860 * sysvipc/shmctl.c: Likewise.
24861 * sysvipc/shmdt.c: Likewise.
24862 * sysvipc/shmget.c: Likewise.
24863 * termios/tcdrain.c: Likewise.
24864 * termios/tcflow.c: Likewise.
24865 * termios/tcflush.c: Likewise.
24866 * termios/tcgetattr.c: Likewise.
24867 * termios/tcgetpgrp.c: Likewise.
24868 * termios/tcsendbrk.c: Likewise.
24869 * termios/tcsetattr.c: Likewise.
24870 * termios/tcsetpgrp.c: Likewise.
24871 * time/adjtime.c: Likewise.
24872 * time/clock.c: Likewise.
24873 * time/getitimer.c: Likewise.
24874 * time/gettimeofday.c: Likewise.
24875 * time/setitimer.c: Likewise.
24876 * time/settimeofday.c: Likewise.
24877 * time/stime.c: Likewise.
24878 * time/time.c: Likewise.
24879
248802012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24881
a20492cf
PT
24882 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24883 /usr/old/bin.
24884
72e182e3
PT
24885 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24886 instead of spaces.
24887 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24888
fbeafede
JM
248892012-11-03 Joseph Myers <joseph@codesourcery.com>
24890
5b5b04d6
JM
24891 [BZ #14796]
24892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24893 FE_TONEAREST before applying Dekker multiplication and Knuth
24894 addition. Clear inexact exceptions and check for exact zero
24895 results afterwards.
24896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24897 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24899 * math/libm-test.inc (fma_test): Add more tests.
24900 (fma_test_towardzero): Likewise.
24901 (fma_test_downward): Likewise.
24902 (fma_test_upward): Likewise.
24903 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24904 function.
24905 (libc_fesetround): New macro.
24906 (libc_fesetroundf): Likewise.
24907 (libc_fesetroundl): Likewise.
24908 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24909 function.
24910 (libc_fesetround_387): Likewise.
24911 (libc_fesetroundf): New macro.
24912 (libc_fesetround): Likewise.
24913 (libc_fesetroundl): Likewise.
24914 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24915 function.
24916 (libc_fesetroundf): New macro.
24917 (libc_fesetround): Likewise.
24918 (libc_fesetroundl): Likewise.
24919 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24920 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24921 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24922 libm_hidden_ver.
24923 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24924 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24925 libm_hidden_def.
24926 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24927 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24928 libm_hidden_ver.
24929 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24930 libm_hidden_def.
24931
fbeafede
JM
24932 [BZ #3439]
24933 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24934 integer constant usable in #if and use that to give value to enum
24935 constant.
24936 (FE_DIVBYZERO): Likewise.
24937 (FE_UNDERFLOW): Likewise.
24938 (FE_OVERFLOW): Likewise.
24939 (FE_INVALID): Likewise.
24940 (FE_INVALID_SNAN): Likewise.
24941 (FE_INVALID_ISI): Likewise.
24942 (FE_INVALID_IDI): Likewise.
24943 (FE_INVALID_ZDZ): Likewise.
24944 (FE_INVALID_IMZ): Likewise.
24945 (FE_INVALID_COMPARE): Likewise.
24946 (FE_INVALID_SOFTWARE): Likewise.
24947 (FE_INVALID_SQRT): Likewise.
24948 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24949 (FE_TONEAREST): Likewise.
24950 (FE_TOWARDZERO): Likewise.
24951 (FE_UPWARD): Likewise.
24952 (FE_DOWNWARD): Likewise.
24953 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24954 (FE_DIVBYZERO): Likewise.
24955 (FE_OVERFLOW): Likewise.
24956 (FE_UNDERFLOW): Likewise.
24957 (FE_INEXACT): Likewise.
24958 (FE_TONEAREST): Likewise.
24959 (FE_DOWNWARD): Likewise.
24960 (FE_UPWARD): Likewise.
24961 (FE_TOWARDZERO): Likewise.
24962 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24963 (FE_UNDERFLOW): Likewise.
24964 (FE_OVERFLOW): Likewise.
24965 (FE_DIVBYZERO): Likewise.
24966 (FE_INVALID): Likewise.
24967 (FE_TONEAREST): Likewise.
24968 (FE_TOWARDZERO): Likewise.
24969 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24970 (FE_OVERFLOW): Likewise.
24971 (FE_UNDERFLOW): Likewise.
24972 (FE_DIVBYZERO): Likewise.
24973 (FE_INEXACT): Likewise.
24974 (FE_TONEAREST): Likewise.
24975 (FE_TOWARDZERO): Likewise.
24976 (FE_UPWARD): Likewise.
24977 (FE_DOWNWARD): Likewise.
24978 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24979 (FE_DIVBYZERO): Likewise.
24980 (FE_OVERFLOW): Likewise.
24981 (FE_UNDERFLOW): Likewise.
24982 (FE_INEXACT): Likewise.
24983 (FE_TONEAREST): Likewise.
24984 (FE_DOWNWARD): Likewise.
24985 (FE_UPWARD): Likewise.
24986 (FE_TOWARDZERO): Likewise.
24987
105ca950
CM
249882012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24989
24990 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24991
a542b389
AS
249922012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24993
24994 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24995 commands. Quote $PWD.
24996 (blacklist_exports): Don't use remove_newlines. Replace "declare
24997 -x" by "export".
24998 (remove_newlines): Remove.
24999
f62c8abc
L
250002012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25001
25002 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25003 * stdlib/stdlib.h (atof): Moved to ...
25004 * include/bits/stdlib-float.h: Here. New file.
25005 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25006 * stdlib/bits/stdlib-float.h: New file.
25007 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25008 -mno-sse -mno-mmx.
25009 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25010 <xmmintrin.h>.
25011
0155d5b2
JM
250122012-11-02 Joseph Myers <joseph@codesourcery.com>
25013
a68d0680
JM
25014 * conform/conformtest.pl (@headers): Add fenv.h.
25015 * conform/data/fenv.h-data: New file.
25016 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25017 include of <math/fenv.h>.
25018
caf7f573
JM
25019 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25020 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25021 && !UNIX98]. Enables tests for XOPEN2K8.
25022 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25023 POSIX2008]: Likewise.
25024
6c073ad6
JM
25025 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25026 (struct rusage): Do not expect type or its members.
25027
0155d5b2
JM
25028 [BZ #3439]
25029 * math/math.h (FP_NAN): Define macro to integer constant usable in
25030 #if and use that to give value to enum constant.
25031 (FP_INFINITE): Likewise.
25032 (FP_ZERO): Likewise.
25033 (FP_SUBNORMAL): Likewise.
25034 (FP_NORMAL): Likewise.
25035
b5dcacb4
AS
250362012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25037
25038 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25039 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25040 arguments.
25041
f7934be8
RM
250422012-11-02 Roland McGrath <roland@hack.frob.com>
25043
25044 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25045 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25046 autoconf-time if not.
25047 * configure.in: Remove AC_PREREQ.
25048
d7d08bde
TMQMF
250492012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25050
25051 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25052 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25053 of the internal implementation.
25054
dcdae19a
JM
250552012-11-02 Joseph Myers <joseph@codesourcery.com>
25056
25057 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25058 except include of <misc/sys/syslog.h>.
25059
d6cffd3e
AS
250602012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25061
25062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25063 function returns with a NULL context exit with zero.
25064
b3563932
TMQMF
250652012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25066
25067 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25068
b288a93d
L
250692012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25070
25071 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25072 (run_program_cmd): This.
25073 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25074 (tst_langinfo): New variable. Use it.
25075
a2421a68
SAS
250762012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25077
25078 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25079 floating point opcodes.
25080
6f796e1b
TS
250812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25082
7402596b
TS
25083 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25084 variable.
25085
d0d4f868
TS
25086 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25087
6f796e1b
TS
25088 * sysdeps/mach/hurd/powerpc: Remove directory.
25089 * sysdeps/mach/powerpc: Likewise.
25090
4da224a2
AS
250912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25092
25093 * scripts/check-local-headers.sh: Ignore c++ headers.
25094
341dd673
TS
250952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25096
25097 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25098 __libc_cleanup_region_start argument.
25099
473611b2
JM
251002012-11-01 Joseph Myers <joseph@codesourcery.com>
25101
25102 [BZ #14784]
25103 [BZ #14785]
25104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25105 x * y using scaling, not as x * y + z.
25106 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25107 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25108 * math/libm-test.inc (fma_test): Add more tests.
25109 (fma_test_towardzero): Likewise.
25110 (fma_test_downward): Likewise.
25111 (fma_test_upward): Likewise.
25112
4078da3d
TS
251132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25114
25115 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25116
903252aa
JM
251172012-10-31 Joseph Myers <joseph@codesourcery.com>
25118
25119 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25120 New variable.
25121
cbc818d0
TS
251222012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25123
25124 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25125
5a03cb1e
AS
251262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25127
25128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25129 Fix sort order.
25130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25131 Likewise.
25132
90aff2ff
TMQMF
251332012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25134
25135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25136 Fix the order of the list for glibc 2.17.
25137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25138 Likewise.
25139
1818fcb7
AS
251402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25141
25142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25143
ef82f4da
JM
251442012-10-31 Joseph Myers <joseph@codesourcery.com>
25145
16a0e2ec
JM
25146 [BZ #14610]
25147 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25148 for low part of x being zero before using __atanl (y).
25149 * math/libm-test.inc (atan2_test): Add another test.
25150
0eb69512
JM
25151 * manual/install.texi (Configuring and compiling): Document
25152 general use of test-wrapper and test-wrapper-env.
25153 * INSTALL: Regenerated.
25154
ef82f4da
JM
25155 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25156 (__fma): Do not extract and scale down low bits on after-rounding
25157 systems when result rounded to normal precision would have normal
25158 exponent.
25159 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25160 (__fmal): Do not extract and scale down low bits on after-rounding
25161 systems when result rounded to normal precision would have normal
25162 exponent.
25163 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25164 (__fmal): Do not extract and scale down low bits on after-rounding
25165 systems when result rounded to normal precision would have normal
25166 exponent.
25167 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25168 macro.
25169 (fma_test): Add more tests.
25170 (fma_test_towardzero): Likewise.
25171 (fma_test_downward): Likewise.
25172 (fma_test_upward): Likewise.
25173
954ef0d9
L
251742012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25175
25176 * sysdeps/i386/tininess.h: Renamed to ...
25177 * sysdeps/x86/tininess.h: This.
25178 * sysdeps/x86_64/tininess.h: Removed.
25179
df61ffb2
JM
251802012-10-30 Joseph Myers <joseph@codesourcery.com>
25181
25182 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25183 input. Use $(build-program-cmd).
25184 ($(objpfx)tst-array1-static.out): Likewise.
25185 ($(objpfx)tst-array2.out): Likewise.
25186 ($(objpfx)tst-array3.out): Likewise.
25187 ($(objpfx)tst-array4.out): Likewise.
25188 ($(objpfx)tst-array5.out): Likewise.
25189 ($(objpfx)tst-array5-static.out): Likewise.
25190
01767843
CM
251912012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25192
47cc1490
CM
25193 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25194 if defined.
25195
01767843
CM
25196 * nss/nsswitch.h (nss_interface_function): Provide new
25197 macro for use with NSS functions.
25198 * grp/initgroups.c: Use new macro.
25199 * nss/getXXbyYY.c: Likewise.
25200 * nss/getXXbyYY_r.c: Likewise.
25201 * nss/getXXent.c: Likewise.
25202 * nss/getXXent_r.c: Likewise.
25203 * sysdeps/posix/getaddrinfo.c: Likewise.
25204
8321aa97
AJ
252052012-10-30 Andreas Jaeger <aj@suse.de>
25206
25207 * po/ru.po: Update Russion translation from translation project.
25208
2a27fd6d
JM
252092012-10-30 Joseph Myers <joseph@codesourcery.com>
25210
8627a232
JM
25211 [BZ #14152]
25212 [BZ #14783]
25213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25214 result and shift together with sticky bit instead of replicating
25215 round-to-nearest rounding.
25216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25217 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25218 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25219 missing underflow exceptions.
25220 (fma_test_towardzero): Add more tests.
25221 (fma_test_downward): Likewise.
25222 (fma_test_upward): Likewise.
25223
2a27fd6d
JM
25224 [BZ #14047]
25225 * sysdeps/generic/tininess.h: New file.
25226 * sysdeps/i386/tininess.h: Likewise.
25227 * sysdeps/sh/tininess.h: Likewise.
25228 * sysdeps/x86_64/tininess.h: Likewise.
25229 * stdlib/tst-strtod-underflow.c: Likewise.
25230 * stdlib/tst-tininess.c: Likewise.
25231 * stdlib/strtod_l.c: Include <tininess.h>.
25232 (round_and_return): Do not set errno for exact underflow cases.
25233 Force an underflow exception when setting errno for underflow.
25234 Determine underflow based on rounding to normal precision if
25235 TININESS_AFTER_ROUNDING.
25236 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25237 ERANGE for exact underflow cases.
25238 * stdlib/Makefile (tests): Add tst-tininess and
25239 tst-strtod-underflow.
25240 ($(objpfx)tst-tininess): Use $(link-libm).
25241 ($(objpfx)tst-strtod-underflow): Likewise.
25242
e7170363
AJ
252432012-10-30 Andreas Jaeger <aj@suse.de>
25244
e5088dc6
AJ
25245 [BZ#14767]
25246 * elf/Makefile (tests): Remove conditional for have-initfini-array
25247 since this is now always required and the variable does not exist
25248 anymore.
25249 (tests-static): Likewise.
25250 (modules-names): Likewise.
25251
e7170363 25252 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25253
25254 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25255 merged with constructor/destructor.
25256 (init_array): Likewise.
25257 * elf/tst-array2dep.c (fini_array): Likewise.
25258 (init_array): Likewise.
25259
60457d8a
MF
252602012-10-29 Mike Frysinger <vapier@gentoo.org>
25261
25262 * manual/message.texi: Delete @cartouche tags.
25263
8bece752
PT
252642012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25265
94ce799f
PT
25266 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25267 EOPNOTSUPP.
25268 * sysdeps/mach/hurd/fsync.c: Likewise.
25269
8bece752
PT
25270 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25271 [_POSIX_REALTIME_SIGNALS]: Change condition to
25272 [_POSIX_REALTIME_SIGNALS > 0].
25273
86ebe6b1
AJ
252742012-10-27 Andreas Jaeger <aj@suse.de>
25275
25276 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25277 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25279 [__WORDSIZE != 64]: Likewise.
25280
54399c08
L
252812012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25282
25283 * iconvdata/tst-table.sh: Remove ${SHELL}.
25284 * iconvdata/tst-tables.sh: Likewise.
25285
e2211bed
DM
252862012-10-25 David S. Miller <davem@davemloft.net>
25287
25288 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25289 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25290 of strtoull.
25291
f303f97c
DM
25292 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25293 ifunc-impl-list.c
25294 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25295 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25296 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25297 file.
25298
1e9d84cd
RM
252992012-10-25 Roland McGrath <roland@hack.frob.com>
25300
25301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25302 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25303 __getdirentries.
25304
df381762
JM
253052012-10-25 Joseph Myers <joseph@codesourcery.com>
25306 Jim Blandy <jimb@codesourcery.com>
25307
25308 * scripts/cross-test-ssh.sh: New file.
25309 * manual/install.texi (Configuring and compiling): Document use of
25310 cross-test-ssh.sh.
25311 * INSTALL: Regenerated.
25312
bff64913
PT
253132012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25314
25315 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25316 EOPNOTSUPP.
25317
25fe8932
JM
253182012-10-25 Joseph Myers <joseph@codesourcery.com>
25319
25320 * Makeconfig (run-program-prefix): Fix comment.
25321
cc1290d0
JM
253222012-10-24 Joseph Myers <joseph@codesourcery.com>
25323 Jim Blandy <jimb@codesourcery.com>
25324
25325 * Makeconfig (test-wrapper): New variable,
25326 (test-wrapper-env): Likewise.
25327 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25328 (run-built-tests): Define to yes.
25329 (run-program-prefix): Use $(test-wrapper).
25330 (built-program-cmd): Likewise.
25331 * Rules (make-test-out): Use $(test-wrapper-env) and
25332 $(host-built-program-cmd).
25333 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25334 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25335 tst-pathopt.sh.
25336 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25337 $(test-wrapper-env) to tst-rtld-load-self.sh.
25338 ($(objpfx)order2.out): Use $(test-wrapper).
25339 ($(objpfx)tst-initorder.out): Likewise.
25340 ($(objpfx)tst-initorder2.out): Likewise.
25341 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25342 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25343 (test_wrapper_env): New variable. Use it to run ld.so.
25344 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25345 Use it to run ld.so.
25346 (test_wrapper_env): Likewise.
25347 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25348 $(test-wrapper) to run-iconv-test.sh.
25349 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25350 (ICONV): Use $test_wrapper.
25351 * posix/Makefile ($(objpfx)globtest.out): Pass
25352 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25353 globtest.sh, not $(run-program-prefix).
25354 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25355 (test_wrapper): Likewise.
25356 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25357 set together with run_via_rtld_prefix.
25358 (run_program_prefix): Define in terms of test_wrapper and
25359 run_via_rtld_prefix.
25360
6e6249d0
RM
253612012-10-24 Roland McGrath <roland@hack.frob.com>
25362
25363 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25364 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25365 Targets removed.
25366
25367 [BZ #14743]
25368 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25369 Declare __clock_getres, __clock_gettime, __clock_settime,
25370 __clock_nanosleep, and __clock_getcpuclockid.
25371 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25372 Remove librt_hidden_def (clock_gettime).
25373 * sysdeps/unix/clock_gettime.c: Likewise.
25374 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25375 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25376 * rt/clock_getres.c: Define __clock_getres as an alias.
25377 * sysdeps/posix/clock_getres.c: Likewise.
25378 * rt/clock_settime.c: Define __clock_settime as an alias.
25379 * sysdeps/unix/clock_settime.c: Likewise.
25380 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25381 * sysdeps/unix/clock_nanosleep.c: Likewise.
25382 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25383 * rt/clock-compat.c: New file.
25384 * rt/Makefile (librt-routines): Add clock-compat and move
25385 $(clock-routines) to ...
25386 (routines): ... here, new variable.
25387 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25388 Don't add get_clockfreq here.
25389 * rt/Versions (libc: GLIBC_2.17): New version set.
25390 Add clock_* symbols here.
25391 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25392 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25393 (GLIBC_2.17): Add clock_* symbols.
25394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25396 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25398 Likewise.
25399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25400 Likewise.
25401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25405 * NEWS: Mention the move.
25406
25407 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25408 Use __open, __read, __close rather than their public counterparts.
25409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25410 (__get_clockfreq_via_cpuinfo): Likewise.
25411 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25412 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25413
25414 * config.h.in (HAVE_IFUNC): New #undef.
25415 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25416 was successful.
25417 * configure: Regenerated.
25418
0cae3f4b
MF
254192012-10-24 Mike Frysinger <vapier@gentoo.org>
25420
25421 * configure.in: Move READELF check to start of file.
25422 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25423 libc_cv_asm_gnu_indirect_function in the process.
25424 * configure: Regenerated.
25425
8175a253
MF
254262012-10-24 Mike Frysinger <vapier@gentoo.org>
25427
25428 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25429 send the output to /dev/null.
25430 (libc_cv_cc_with_libunwind): Likewise.
25431 (libc_cv_as_noexecstack): Likewise.
25432 * configure: Regenerate.
25433
0708a7d1
JM
254342012-10-24 Joseph Myers <joseph@codesourcery.com>
25435
10b40d85
JM
25436 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25437
0708a7d1
JM
25438 * posix/globtest.sh (TMPDIR): Do not set.
25439 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25440 (testout): Likewise.
25441
9fddec1a
AJ
254422012-10-24 Andreas Jaeger <aj@suse.de>
25443
3a8db22f
AJ
25444 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25445 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25446 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25447 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25448 posix_fadvise64, posix_fallocate64.
25449
9fddec1a
AJ
25450 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25451 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25452 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25453 Likewise.
25454 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25455 Likewise.
25456 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25457
25458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25459 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25460 <bits/fcntl-linux.h>.
25461 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25462
25463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25464 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25465 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25466 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25467 [__WORDSIZE != 64]: Likewise.
25468
ebfd1bbd
JM
254692012-10-23 Joseph Myers <joseph@codesourcery.com>
25470
03ac099f
JM
25471 * Makeconfig (run-built-tests): New variable.
25472 * Rules [$(cross-compiling) = yes]: Change condition to
25473 [$(run-built-tests) = no].
25474 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25475 to [$(run-built-tests) = yes].
25476 * elf/Makefile [$(cross-compiling) = no]: Likewise
25477 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25478 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25479 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25480 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25481 * io/Makefile [$(cross-compiling) = no]: Likewise.
25482 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25483 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25484 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25485 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25486 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25487 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25488 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25489 * string/Makefile [$(cross-compiling) = no]: Likewise.
25490
ebfd1bbd
JM
25491 * posix/Makefile ($(objpfx)globtest.out): Pass
25492 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25493 $(rtld-installed-name).
25494 * posix/globtest.sh (elf_objpfx): Remove variable.
25495 (rtld_installed_name): Likewise.
25496 (library_path): Likewise.
25497 (run_program_prefix): New variable. Use for running globtest
25498 binary.
25499
166bca24
JB
255002012-10-23 Jim Blandy <jimb@codesourcery.com>
25501 Joseph Myers <joseph@codesourcery.com>
25502
25503 * Makeconfig (host-built-program-cmd): New variable.
25504 * elf/Makefile (tst-stackguard1-ARGS): Use
25505 $(host-built-program-cmd).
25506 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25507 (tst-spawn-ARGS): Likewise.
25508 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25509
88866099
JM
255102012-10-23 Joseph Myers <joseph@codesourcery.com>
25511 Jim Blandy <jimb@codesourcery.com>
25512
25513 * Makeconfig (run-via-rtld-prefix): New variable.
25514 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25515 (built-program-cmd): Likewise.
25516
b4b4c296
AJ
255172012-10-22 Andreas Jaeger <aj@suse.de>
25518
25519 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25520 __O_RSYNC if it exists, otherwise to O_SYNC.
25521
6fb54a22
JB
255222012-10-22 Jim Blandy <jimb@codesourcery.com>
25523 Joseph Myers <joseph@codesourcery.com>
25524
25525 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25526 /dev/null.
25527 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25528 from /dev/null
25529 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25530 /dev/null.
25531
481b90b9
AJ
255322012-10-22 Andreas Jaeger <aj@suse.de>
25533
2a0e2669
AJ
25534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25535 Define always.
25536 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25537
76e38f9a
AJ
25538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25539 bits/fcntl-linux.h.
25540
7cd37b43
AJ
25541 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25542 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25543
481b90b9
AJ
25544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25545 to __O_LARGEFILE.
25546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25547 to __O_LARGEFILE.
25548
aba75984
JB
255492012-10-21 Jim Blandy <jimb@codesourcery.com>
25550 Joseph Myers <joseph@codesourcery.com>
25551
25552 * config.make.in (NM): New variable.
25553
88d4247f
AJ
255542012-10-21 Andreas Jaeger <aj@suse.de>
25555
25556 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25557 definitions and declarations that are provided by
25558 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25559
f2eed205
L
255602012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25561
25562 [BZ #14683]
25563 * elf/Makefile (tests-static): Add tst-leaks1-static.
25564 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25565 ($(objpfx)tst-leaks1-static): New rule.
25566 ($(objpfx)tst-leaks1-static-mem): Likewise.
25567 (tst-leaks1-static-ENV): New macro.
25568 * elf/dl-open.c (dl_open_worker): Check the main application
25569 only if SHARED is defined.
25570 * elf/tst-leaks1-static.c: New file.
25571
335e6931
AJ
255722012-10-20 Andreas Jaeger <aj@suse.de>
25573
25574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25575 generic values for Linux.
25576 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25577 and declarations that are provided by <bits/fcntl-linux.h> and
25578 include <bits/fcntl-linux.h>.
25579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25581
ac5c94d3
RM
255822012-10-20 Roland McGrath <roland@hack.frob.com>
25583
25584 * io/fcntl.h: Move include of <bits/types.h> to the top and
25585 include it unconditionally.
25586
de54b33a
L
255872012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25588
228cfb01
L
25589 * wcsmbs/Makefile (tests-ifunc): New variable.
25590 (tests): Add $(tests-ifunc).
25591 * wcsmbs/test-wcschr-ifunc.c: New file.
25592 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25593 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25594 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25595 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25596 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25597
69f07e5f
L
25598 * string/Makefile (tests-ifunc): New variable.
25599 (tests): Add $(tests-ifunc).
25600 * string/test-memccpy.c (TEST_NAME): New macro.
25601 * string/test-memchr.c (TEST_NAME): Likewise.
25602 * string/test-memcmp.c (TEST_NAME): Likewise.
25603 * string/test-memcpy.c (TEST_NAME): Likewise.
25604 * string/test-memmem.c (TEST_NAME): Likewise.
25605 * string/test-memmove.c (TEST_NAME): Likewise.
25606 * string/test-memset.c (TEST_NAME): Likewise.
25607 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25608 * string/test-stpcpy.c (TEST_NAME): Likewise.
25609 * string/test-stpncpy.c (TEST_NAME): Likewise.
25610 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25611 * string/test-strcasestr.c (TEST_NAME): Likewise.
25612 * string/test-strcat.c (TEST_NAME): Likewise.
25613 * string/test-strchr.c (TEST_NAME): Likewise.
25614 * string/test-strcmp.c(TEST_NAME): Likewise.
25615 * string/test-strcpy.c (TEST_NAME): Likewise.
25616 * string/test-strcspn.c (TEST_NAME): Likewise.
25617 * string/test-strlen.c (TEST_NAME): Likewise.
25618 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25619 * string/test-strncmp.c (TEST_NAME): Likewise.
25620 * string/test-strncpy.c (TEST_NAME): Likewise.
25621 * string/test-strnlen.c (TEST_NAME): Likewise.
25622 * string/test-strpbrk.c (TEST_NAME): Likewise.
25623 * string/test-strrchr.c (TEST_NAME): Likewise.
25624 * string/test-strspn.c (TEST_NAME): Likewise.
25625 * string/test-strstr.c (TEST_NAME): Likewise.
25626 * string/test-bcopy-ifunc.c: New file.
25627 * string/test-bzero-ifunc.c: Likewise.
25628 * string/test-memccpy-ifunc.c: Likewise.
25629 * string/test-memchr-ifunc.c: Likewise.
25630 * string/test-memcmp-ifunc.c: Likewise.
25631 * string/test-memcpy-ifunc.c: Likewise.
25632 * string/test-memmem-ifunc.c: Likewise.
25633 * string/test-memmove-ifunc.c: Likewise.
25634 * string/test-mempcpy-ifunc.c: Likewise.
25635 * string/test-memset-ifunc.c: Likewise.
25636 * string/test-rawmemchr-ifunc.c: Likewise.
25637 * string/test-stpcpy-ifunc.c: Likewise.
25638 * string/test-stpncpy-ifunc.c: Likewise.
25639 * string/test-strcasecmp-ifunc.c: Likewise.
25640 * string/test-strcasestr-ifunc.c: Likewise.
25641 * string/test-strcat-ifunc.c: Likewise.
25642 * string/test-strchr-ifunc.c: Likewise.
25643 * string/test-strchrnul-ifunc.c: Likewise.
25644 * string/test-strcmp-ifunc.c: Likewise.
25645 * string/test-strcpy-ifunc.c: Likewise.
25646 * string/test-strcspn-ifunc.c: Likewise.
25647 * string/test-strlen-ifunc.c: Likewise.
25648 * string/test-strncasecmp-ifunc.c: Likewise.
25649 * string/test-strncat-ifunc.c: Likewise.
25650 * string/test-strncmp-ifunc.c: Likewise.
25651 * string/test-strncpy-ifunc.c: Likewise.
25652 * string/test-strnlen-ifunc.c: Likewise.
25653 * string/test-strpbrk-ifunc.c: Likewise.
25654 * string/test-strrchr-ifunc.c: Likewise.
25655 * string/test-strspn-ifunc.c: Likewise.
25656 * string/test-strstr-ifunc.c: Likewise.
25657
de54b33a
L
25658 * debug/Makefile (tests-ifunc): New variable.
25659 (tests): Add $(tests-ifunc).
25660 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25661 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25662 * debug/test-stpcpy_chk-ifunc.c: New file.
25663 * debug/test-strcpy_chk-ifunc.c: Likewise.
25664
88481c16
SP
256652012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25666
25667 [BZ #13601]
25668 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25669 header is not read in.
25670
135948bd
JM
256712012-10-19 Joseph Myers <joseph@codesourcery.com>
25672
89f1c388
JM
25673 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25674 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25675 directly. Pass built executable to script as
25676 $(built-program-cmd).
25677 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25678 $testprogram without using LD_LIBRARY_PATH and $ldso.
25679
e40a0d21
JM
25680 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25681 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25682 $(rtld-installed-name).
25683 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25684 (rtld_installed_name): Likewise.
25685 (library_path): Likewise.
25686 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25687 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25688 $(run-program-prefix) to tst-tables.sh.
25689 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25690 it to run tst-table-from and tst-table-to.
25691 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25692 Pass it to tst-table.sh.
25693 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25694 $(run-program-prefix) to tst-gettext.sh.
25695 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25696 tst-translit.sh.
25697 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25698 tst-gettext2.sh.
25699 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25700 to run tst-gettext.
25701 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25702 to run tst-gettext2.
25703 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25704 to run tst-translit.
25705 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25706 $(run-program-prefix) to tst-mtrace.sh.
25707 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25708 to run tst-mtrace.
25709 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25710 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25711 $(rtld-installed-name).
25712 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25713 (rtld_installed_name): Likewise.
25714 (run_program_prefix): New variable. Use it to run wordexp-test.
25715
728e272a
JM
25716 * Makeconfig (ARCH): Remove all definitions.
25717 (machine): Likewise.
25718 [ARCH]: Remove conditional code.
25719 [!objdir]: Give error.
25720 [!objdir] (objpfx): Remove.
25721 [!objdir] (common-objpfx): Likewise.
25722 [!objdir] (common-objdir): Likewise.
25723 * configure.in (config_makefile): Remove. Hardcode Makefile in
25724 AC_CONFIG_FILES call.
25725 * configure: Regenerated.
25726
d528cdcf
JM
25727 [BZ #13888]
25728 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25729 or TMPDIR.
25730 (testout): Likewise.
25731
135948bd
JM
25732 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25733 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25734 $(rtld-installed-name).
25735 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25736 (rtld_installed_name): Likwise.
25737 (runit): Remove function.
25738 (run_getconf): New variable, Use it for running getconf binary.
25739
38c78296
L
257402012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25741
25742 [BZ #14716]
25743 * string/test-memmem.c (check_result): New function.
25744 (do_one_test): Use it.
25745 (check1): New function.
25746 (test_main): Use it.
25747
d077f65f
MT
257482012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25749
25750 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25751
ced52c71
JM
257522012-10-18 Joseph Myers <joseph@codesourcery.com>
25753
25754 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25755 (_G_LSEEK64): Likewise.
25756 (_G_MMAP64): Likewise.
25757 (_G_FSTAT64): Likewise.
25758 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25759 (_G_LSEEK64): Likewise.
25760 (_G_MMAP64): Likewise.
25761 (_G_FSTAT64): Likewise.
25762 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25763 unconditional. Call __mmap64 directly.
25764 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25765 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25766 __lseek64 directly.
25767 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25768 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25769 __mmap64 directly.
25770 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25771 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25772 __lseek64 directly.
25773 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25774 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25775 __lseek64 directly.
25776 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25777 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25778 __lseek64 directly.
25779 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25780 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25781 __fxstat64 directly.
25782 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25783 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25784 unconditional.
25785 (freopen64) [!_G_OPEN64]: Remove conditional code.
25786 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25787 unconditional.
25788 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25789 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25790 unconditional.
25791 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25792 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25793 unconditional.
25794 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25795 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25796 unconditional.
25797 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25798 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25799 unconditional.
25800 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25801 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25802 unconditional.
25803 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25804 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25805 unconditional.
25806 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25807
b741de23
SP
258082012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25809
25810 [BZ #12140]
25811 * manual/memory.texi (Malloc Tunable Parameters): Add note
25812 about free list pointers overwriting some perturb bytes.
25813 Wording suggested by Roland McGrath.
25814
f9b9d9c9
JM
258152012-10-17 Joseph Myers <joseph@codesourcery.com>
25816
25817 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25818 (lgamma_test): Likewise.
25819 (tgamma_test): Likewise.
25820
172a631a
FW
258212012-10-16 Florian Weimer <fweimer@redhat.com>
25822
25823 [BZ #14700]
25824 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25825 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25826
e9f37252
MK
258272012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25828
25829 * NEWS: Mention BZ #14716.
25830 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25831 when removing AVAILABLE1_USES_J macro.
25832
d394eb74
L
258332012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25834
25835 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25836 (__bswap_64): __uint64_t for unsigned 64-bit int.
25837
ca38dc17
AS
258382012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25839
25840 * include/string.h (memmem): Declare libc hidden alias.
25841 * string/memmem.c (memmem): Define libc hidden alias.
25842 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25843 __read, __close instead of open, read, close.
25844
9a387d1f
L
258452012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25846
ac49ecaf
L
25847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25848 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25849 global and hidden.
25850 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25851 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25852 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25853 Likewise.
25854 (__rawmemchr_sse2): Likewise.
25855 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25856 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25857 (__strchr_sse2): Likewise.
25858 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25859 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25860 (__strcasecmp_sse2): Likewise.
25861 (__strncasecmp_sse2): Likewise.
25862 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25863 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25864 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25865 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25866 (__strrchr_sse2): Likewise.
25867 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25868 ifunc-impl-list.c.
25869 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25870 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25871 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25872 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25873 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25874 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25875 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25876 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25877 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25878 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25879 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25880 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25881 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25882 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25883 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25884 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25885 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25886 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25887 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25888 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25889 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25890 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25891 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25892 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25893 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25894 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25895 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25896 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25897 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25898 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25899
b090e8ea
L
25900 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25901 global and hidden.
25902 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25903 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25904 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25905 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25906 Likewise.
25907 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25908 Likewise.
25909 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25910 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25911 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25912 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25913 ifunc-impl-list.c.
25914 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25915 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25916 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25917 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25918 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25919 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25920 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25921 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25922 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25923 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25924 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25925 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25926 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25927 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25928 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25929 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25930 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25931 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25932 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25933 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25934 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25935 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25936 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25937 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25938 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25939 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25940 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25941 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25942 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25943 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25944 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25945 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25946 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25947 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25948 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25949 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25950 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25951 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25952 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25953 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25954 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25955
11dd4af6
L
25956 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25957 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25958 * include/ifunc-impl-list.h: New file.
25959 * misc/ifunc-impl-list.c: Likewise.
25960 * misc/Makefile (routines): Add ifunc-impl-list.
25961 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25962 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
25963 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25964 TEST_NAME]: New variables.
11dd4af6
L
25965 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25966 are defined.
25967 (test_init): Call __libc_ifunc_impl_list to initialize
25968 func_list if TEST_IFUNC and TEST_NAME are defined.
25969
9a387d1f
L
25970 * string/Makefile (strop-tests): Add bcopy and bzero.
25971 * string/test-bcopy.c: New file.
25972 * string/test-bzero.c: Likewise.
25973 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25974 defined.
25975 * string/test-memset.c: Support bzero test if TEST_BZERO is
25976 defined.
25977 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25978 __libc_memmove.
25979 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25980 __libc_memset.
25981 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25982 of memset.
25983
472371b9
JM
259842012-10-10 Joseph Myers <joseph@codesourcery.com>
25985
1e4a9536
JM
25986 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25987 * configure: Regenerated.
25988
d173d12e
JM
25989 * Makeconfig (+link-static-before-libc): Don't include
25990 $(link-static-libc).
25991
472371b9
JM
25992 * libio/libio.h (_IO_pos_t): Remove.
25993
89a3ad0b
AO
259942012-10-10 Alexandre Oliva <aoliva@redhat.com>
25995
25996 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25997 McGrath.
25998
e7451425
AO
259992012-10-10 Alexandre Oliva <aoliva@redhat.com>
26000
26001 * crypt/crypt-entry.c: Include fips-private.h.
26002 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26003 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26004 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26005 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26006
4ba74a35
AO
260072012-10-10 Alexandre Oliva <aoliva@redhat.com>
26008
26009 * crypt/crypt-private.h: Include stdbool.h.
26010 (_ufc_setup_salt_r): Return bool.
26011 * crypt/crypt-entry.c: Include errno.h.
26012 (__crypt_r): Return NULL with EINVAL for bad salt.
26013 * crypt/crypt_util.c (bad_for_salt): New.
26014 (_ufc_setup_salt_r): Check that salt is long enough and within
26015 the specified alphabet.
26016 * crypt/badsalttest.c: New file.
26017 * crypt/Makefile (tests): Add it.
26018 ($(objpfx)badsalttest): New.
26019
f96f1242
MK
260202012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26021
26022 * NEWS: Add entry for BZ #14602.
26023
0e8e0c1c
JM
260242012-10-09 Joseph Myers <joseph@codesourcery.com>
26025
26026 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26027 type-generic.
26028 * math/libm-test.inc: Update comment listing what functions and
26029 macros are tested.
26030 (isgreater_test): New function.
26031 (isgreaterequal_test): Likewise.
26032 (isless_test): Likewise.
26033 (islessequal_test): Likewise.
26034 (islessgreater_test): Likewise.
26035 (isunordered_test): Likewise.
26036 (main): Call the new functions.
26037
273edc5e
RM
260382012-10-09 Roland McGrath <roland@hack.frob.com>
26039
b8493de0
RM
26040 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26041 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26042 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26043 * sysdeps/i386/configure: Regenerated.
26044 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26045 * sysdeps/mach/configure: Regenerated.
26046 * sysdeps/mach/hurd/configure: Regenerated.
26047 * sysdeps/powerpc/configure: Regenerated.
26048 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26049 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26050 * sysdeps/s390/s390-32/configure: Regenerated.
26051 * sysdeps/s390/s390-64/configure: Regenerated.
26052 * sysdeps/sh/configure: Regenerated.
26053 * sysdeps/sparc/configure: Regenerated.
26054 * sysdeps/unix/sysv/linux/configure: Regenerated.
26055 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26056 * sysdeps/x86_64/configure: Regenerated.
26057
273edc5e
RM
26058 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26059 defined. Don't check if MAP is NULL.
26060
c8450f70
JM
260612012-10-09 Joseph Myers <joseph@codesourcery.com>
26062
26063 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26064 (_G_stat64): Likewise.
26065 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26066 (_G_stat64): Likewise.
26067 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26068 instead of struct _G_stat64.
26069 * libio/fileops.c (mmap_remap_check): Likewise.
26070 (decide_maybe_mmap): Likewise.
26071 (_IO_new_file_seekoff): Likewise.
26072 (_IO_file_stat): Likewise.
26073 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26074 _G_off64_t.
26075 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26076 instead of struct _G_stat64.
26077 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26078
57e605ba
MK
260792012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26080
26081 [BZ #14602]
26082 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26083 Replace with ...
26084 (CHECK_EOL): New macro.
26085 (two_way_short_needle): Check beginning of haystack for EOL. Use
26086 CHECK_EOL.
26087 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26088 Replace with CHECK_EOL.
26089 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26090 Replace with CHECK_EOL.
26091
ef1bb361
JM
260922012-10-08 Joseph Myers <joseph@codesourcery.com>
26093
26094 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26095 type-generic.
26096 * math/libm-test.inc: Update comment listing what functions and
26097 macros are tested.
26098 (finite_test): New function.
26099 (isinf_test): Likewise.
26100 (isnan_test): Likewise.
26101 (fpclassify_test): Test subnormal input.
26102 (isfinite_test): Likewise.
26103 (isnormal_test): Likewise.
26104 (main): Call the new functions.
26105
55f11534
JN
261062012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26107
26108 [BZ #14660]
26109 * Makerules (%.dynsym): Force C locale when running
26110 $(OBJDUMP) --dynamic-syms.
26111
1ab29350
AS
261122012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26113
26114 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26115 <stdint.h>.
26116
f1ecb7ef
DM
261172012-10-06 David S. Miller <davem@davemloft.net>
26118
26119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26120 upper 32-bits of the length value in %o2 since we use branch-on-register
26121 tests which consider the entire 64-bit register.
26122
5d41d91a
L
261232012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26124
26125 * string/test-strstr.c (check2): Add a test for page boundary.
26126
3baddb72
DM
261272012-10-05 David S. Miller <davem@davemloft.net>
26128
26129 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26130 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26131 file.
26132 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26133 sysdep_routines.
26134 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26135 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26136 and bzero when HWCAP_SPARC_CRYPTO is present.
26137
9cee5585
L
261382012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26139
d7e0dab9
L
26140 [BZ #14602]
26141 * string/test-strstr.c (check2): New function.
26142 (test_main): Call check2.
26143
03759f47
L
26144 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26145 and bug-strchr1.
26146 * string/bug-strcasestr1.c (do_test): Moved to ...
26147 * string/test-strcasestr.c (check1): Here. New function.
26148 (do_one_test): Break out result checking code into ...
26149 (check_result): This. New function.
26150 (do_one_test): Call check_result.
26151 (test_main): Call check1.
26152 * string/bug-strchr1.c (do_test): Moved to ...
26153 * string/test-strchr.c (check1): Here. New function.
26154 (do_one_test): Break out result checking code into ...
26155 (check_result): This. New function.
26156 (do_one_test): Call check_result.
26157 (test_main): Call check1.
26158 * string/bug-strstr1.c (main): Moved to ...
046f153e 26159 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26160 (do_one_test): Break out result checking code into ...
26161 (check_result): This. New function.
26162 (do_one_test): Call check_result.
26163 (test_main): Call check1.
26164 * string/bug-strcasestr1.c: Removed.
26165 * string/bug-strchr1.c: Likewise.
26166 * string/bug-strstr1.c: Likewise.
26167
53cea63e
L
26168 * elf/Makefile (dl-routines): Add hwcaps.
26169 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26170 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26171 (_dl_important_hwcaps): Moved to ...
26172 * elf/dl-hwcaps.c: Here. New file.
26173 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26174
9cee5585 26175 [BZ #14557]
bb859b06
L
26176 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26177 if IS_IN_rtld isn't defined.
26178
9cee5585
L
26179 * elf/dl-support.c (_dl_sysinfo_map): New.
26180 Include "get-dynamic-info.h" and "setup-vdso.h".
26181 (_dl_non_dynamic_init): Call setup_vdso.
26182 * elf/dynamic-link.h: Don't include <assert.h>.
26183 (elf_get_dynamic_info): Moved to ...
26184 * elf/get-dynamic-info.h: Here. New file.
26185 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26186 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26187 * elf/setup-vdso.h: Here. New file.
26188 * elf/rtld.c: Include "setup-vdso.h".
26189 (dl_main): Call setup_vdso.
26190
23c31b76
JM
261912012-10-05 Joseph Myers <joseph@codesourcery.com>
26192
28234b07
JM
26193 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26194 creal in comment listing functions tested. List finite, isinf,
26195 isnan, isless, islessequal, isgreater, isgreaterequal,
26196 islessgreater, isunordered, lgamma_r and pow10 as functions and
26197 macros not tested. Mention which functions not tested are aliases
26198 for other functions. Fix typo. Note that signs of NaNs are not
26199 tested.
26200
23c31b76
JM
26201 * scripts/config.guess: Update from config.git.
26202 * scripts/config.sub: Likewise.
26203
9043e228
RM
262042012-10-04 Roland McGrath <roland@hack.frob.com>
26205
26206 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26207 * misc/madvise.c (madvise): Renamed to __madvise.
26208 Make madvise a weak alias.
26209 * include/sys/mman.h: Declare __madvise.
26210 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26211 * sysdeps/unix/syscalls.list
26212 (madvise): Make __madvise the strong name, and madvise a weak alias.
26213 * sysdeps/unix/sysv/linux/syscalls.list
26214 (madvise, mmap): Remove redundant entries.
26215 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26216 * malloc/malloc.c (mtrim): Likewise.
26217 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26218
f57f8055
RM
262192012-10-03 Roland McGrath <roland@hack.frob.com>
26220
26221 * sysdeps/mach/hurd/dl-cache.c: File removed.
26222 * config.h.in (USE_LDCONFIG): New #undef.
26223 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26224 * configure: Regenerated.
26225 * elf/Makefile (dl-routines): Add dl-cache only under
26226 [$(use-ldconfig) = yes].
26227 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26228 cache on [USE_LDCONFIG].
26229 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26230 [USE_LDCONFIG].
26231 * elf/rtld.c (dl_main): Likewise.
26232
5bb0c10a
PT
262332012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26234
26235 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26236 _SC_LEVEL4_CACHE_LINESIZE.
26237
010188c6
RM
262382012-10-03 Roland McGrath <roland@hack.frob.com>
26239
26240 * sysdeps/unix/bsd/confstr.h: File removed.
26241
b6c5ec07
AO
262422012-10-02 Alexandre Oliva <aoliva@redhat.com>
26243
26244 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26245 sys/sdt-config.h.
26246
408223d4
RM
262472012-10-02 Roland McGrath <roland@hack.frob.com>
26248
26249 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26250 Make 'mapoff' field ElfW(Off) rather than off_t.
26251
bb9510dc
DL
262522012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26253
fc997c6e
DL
26254 * nscd/Makefile: Remove nscd-cflags and all its users.
26255 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26256 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26257
bb9510dc
DL
26258 [BZ #10631]
26259 * malloc.c (malloc_printerr): Clarify error message.
26260
05699367
L
262612012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26262
26263 [BZ #14648]
26264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26265 Set bit_FMA_Usable if FMA is supported.
26266 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26267 macro.
26268 (bit_FMA4_Usable): Updated.
26269 (index_FMA_Usable): New macro.
26270 (CPUID_FMA): Likewise
26271 (HAS_FMA): Defined with bit_FMA_Usable.
26272
51367701
RM
262732012-10-01 Roland McGrath <roland@hack.frob.com>
26274
26275 * bits/types.h (__swblk_t): Type removed.
26276 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26277 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26279 (__SWBLK_T_TYPE): Likewise.
26280 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26281 (__SWBLK_T_TYPE): Likewise.
26282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26283 (__SWBLK_T_TYPE): Likewise.
26284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26285 (__SWBLK_T_TYPE): Likewise.
26286
4d57bf63 262872012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26288 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26289
26290 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26291 (xdr_mapname): Use YPMAXMAP as maxsize.
26292 (xdr_peername): Use YPMAXPEER as maxsize.
26293 (xdr_keydat): Use YPAXRECORD as maxsize.
26294 (xdr_valdat): Use YPMAXRECORD as maxsize.
26295
93c65d43
RM
262962012-10-01 Roland McGrath <roland@hack.frob.com>
26297
497a03d6
RM
26298 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26299
93c65d43
RM
26300 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26301 * csu/init-first.c: ... here.
26302 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26303 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26304 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26305 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26306 * sysdeps/i386/init-first.c: File removed.
26307 * sysdeps/sh/init-first.c: File removed.
26308
bec749fd
JM
263092012-10-01 Joseph Myers <joseph@codesourcery.com>
26310
26311 [BZ #14645]
26312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26313 if x * y might underflow to zero and z is zero.
26314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26316 * math/libm-test.inc (min_subnorm_value): New variable.
26317 (fma_test): Add more tests.
26318 (fma_test_towardzero): Likewise.
26319 (fma_test_downward): Likewise
26320 (fma_test_upward): Likewise.
26321 (initialize): Set min_subnorm_value.
26322
8ec5b013
JM
263232012-09-29 Joseph Myers <joseph@codesourcery.com>
26324
26325 [BZ #14638]
26326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26327 0 + 0.
26328 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26329 mode for addition resulting in exact zero.
26330 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26332 exact 0 + 0.
26333 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26334 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26335 * math/libm-test.inc (fma_test): Add more tests.
26336 (fma_test_towardzero): New function.
26337 (fma_test_downward): Likewise.
26338 (fma_test_upward): Likewise.
26339 (main): Call the new functions.
26340
b1fa802e
DM
263412012-09-28 David S. Miller <davem@davemloft.net>
26342
26343 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26344
d3b9fd9e
RM
263452012-09-28 Roland McGrath <roland@hack.frob.com>
26346
ea4d37b3
RM
26347 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26348 instead of SIGALRM.
26349
ac51c949
RM
26350 * sysdeps/gnu/_G_config.h: Moved to ...
26351 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26352 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26353 * sysdeps/generic/_G_config.h: ... here.
26354
28c195f7
RM
26355 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26356
848917f9
RM
26357 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26358
6bacf05b
RM
26359 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26360 Conditionalize target on [libnss_test1.so-version].
26361
91363dbb
RM
26362 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26363
cc87f7d8
RM
26364 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26365 (elfobjdir): Move out of conditionals.
26366
b1c608fe
RM
26367 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26368 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26369 (__nss_lookup_function): Conditionalize label remove_from_tree on
26370 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 26371
1d9a6d96
DM
263722012-09-28 David S. Miller <davem@davemloft.net>
26373
26374 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26375 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26376 file.
26377 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26378 sysdep_routines.
26379 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26380 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26381 when HWCAP_SPARC_CRYPTO is present.
26382
72581615
PT
263832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26384
26385 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26386
715a900c
JL
263872012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26388
26389 [BZ #6530]
26390 * stdio-common/vfprintf.c (process_string_arg): Revert
26391 2000-07-22 change.
26392
263932011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26394
26395 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26396 for testcase.
26397 * stdio-common/tst-sprintf.c: Include <locale.h>
26398 (main): Test sprintf's handling of incomplete multibyte
26399 characters.
26400
9bac1d86
L
264012012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26402
26403 * elf/dl-runtime.c (VERSYMIDX): Removed.
26404 * elf/dl-version.c (VERSYMIDX): Likewise.
26405 * elf/do-rel.h (VERSYMIDX): Likewise.
26406 (VALIDX): Likewise.
26407 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26408 * elf/rtld.c (VALIDX): Likewise.
26409 (ADDRIDX): Likewise.
9bac1d86
L
26410 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26411 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26412 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
26413 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26414 (VALIDX): Likewise.
26415 (ADDRIDX): Likewise.
9bac1d86 26416
b31606c0
PT
264172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26418
26419 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26420
11541177
JL
264212012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26422
26423 [BZ #11438]
26424 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26425 to global scope.
26426 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26427 addresses are in the same scope as 192.0.2/24.
26428 * posix/gai.conf: Document new scope table defaults.
26429
adb26fae
SP
264302012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26431
26432 [BZ #5298]
26433 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26434 for ftell. Compute offsets from write pointers instead.
26435 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26436
4573c6b0
SP
264372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26438
26439 [BZ #14543]
26440 * libio/Makefile (tests): New test case tst-fseek.
26441 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26442 combination works in wide mode.
26443 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26444 state when the external buffer state changes.
26445
aa9bbfe6
DM
264462012-09-27 David S. Miller <davem@davemloft.net>
26447
26448 [BZ #14376]
26449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26450 pass reloc->r_addend in as the 'high' argument to
26451 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26452
784421e7
DM
26453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26454
c39bc8b8
PT
264552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26456
26457 * rt/tst-aio2.c: Include <pthread.h>.
26458 * rt/tst-aio3.c: Likewise.
26459
1ccc2399
SE
264602012-09-27 Steve Ellcey <sellcey@mips.com>
26461
26462 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26463
31ed4153
L
264642012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26465
25f5f885
L
26466 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26467 contents on [SHARED].
31ed4153 26468
b7bfe116
MP
264692012-09-26 Marek Polacek <polacek@redhat.com>
26470
26471 [BZ #14530]
26472 [BZ #13741]
26473 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26474 for C++ and GCC <4.3 as well as for non GCC compilers.
26475
43c4edba
MT
264762012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26477
26478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26479
6a1bf82f
RM
264802012-09-25 Roland McGrath <roland@hack.frob.com>
26481
26482 * Makefile.in (all, install): Declare with .PHONY.
26483 Reported by Michael Hope <michael.hope@linaro.org>.
26484
8ad11b9a
TMQMF
264852012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26486
26487 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26488 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26489 system header.
26490 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26491 Likewise.
26492 (sydep_routines): Add the new and the internal functions.
26493 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26494 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26496 (GLIBC_2.17): Add the new function.
26497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26498 (GLIBC_2.17): Likewise.
26499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26500 (GLIBC_2.17): Likewise.
26501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26502 (GLIBC_2.17): Likewise.
26503 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26504
7e2fca8d
AM
265052012-09-25 Alan Modra <amodra@gmail.com>
26506
26507 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26508 Add release barrier before setting once_control to say
26509 initialisation is done. Add hints on lwarx. Use macro in
26510 place of isync.
26511 (clear_once_control): Add release barrier.
26512
b87c4b24
JM
265132012-09-25 Joseph Myers <joseph@codesourcery.com>
26514
d032e0d2
JM
26515 [BZ #13629]
26516 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26517 specially.
26518 * math/s_clog10.c (__clog10): Likewise.
26519 * math/s_clog10f.c (__clog10f): Likewise.
26520 * math/s_clog10l.c (__clog10l): Likewise.
26521 * math/s_clogf.c (__clogf): Likewise.
26522 * math/s_clogl.c (__clogl): Likewise.
26523 * math/Makefile (libm-calls): Add x2y2m1.
26524 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26525 (__x2y2m1): Likewise.
26526 (__x2y2m1l): Likewise.
26527 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26528 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26529 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26530 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26531 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26532 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26533 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26534 * sysdeps/i386/fpu/libm-test-ulps: Update.
26535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26536
b87c4b24
JM
26537 [BZ #14621]
26538 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26539 int as type of variable DEPTH.
26540 (glob): Use size_t instead of int as type of variables NEWCOUNT
26541 and OLD_PATHC.
26542
6d3bf199
LD
265432012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26544
22bf5c17
LD
26545 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26546 Add s_sincosf-sse2.
26547 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26548 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26549 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26550 macros for using routine as __sincosf_ia32.
26551 Use macro for function declaration and weak_alias.
26552 * sysdeps/i386/fpu/libm-test-ulps: Update.
26553
26554 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26556
26557 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26558 subnormal argument.
26559 * math/s_cexpf.c (__cexpf): Likewise.
26560 * math/s_csinf.c (__csinf): Likewise.
26561 * math/s_csinhf.c (__csinhf): Likewise.
26562 * math/s_ctanf.c (__ctanf): Likewise.
26563 * math/s_ctanhf.c (__ctanhf): Likewise.
26564 * math/s_ccosh.c (__ccoshf): Likewise.
26565 * math/s_cexp.c (__cexpl): Likewise.
26566 * math/s_csin.c (__csin): Likewise.
26567 * math/s_csinh.c (__csinh): Likewise.
26568 * math/s_ctan.c (__ctan): Likewise.
26569 * math/s_ctanh.c (ctanh): Likewise.
26570 * math/s_ccoshl.c (__ccoshl): Likewise.
26571 * math/s_cexpl.c (__cexpl): Likewise.
26572 * math/s_csinl.c (__csinl): Likewise.
26573 * math/s_csinhl.c (__csinhl): Likewise.
26574 * math/s_ctanl.c (__ctanl): Likewise.
26575 * math/s_ctanhl.c (__ctanhl): Likewise.
26576
203e5603
JM
265772012-09-25 Joseph Myers <joseph@codesourcery.com>
26578
26579 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26580 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26581 (_IO_off_t): Define to __off_t, not _G_off_t.
26582 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26583 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26584 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26585 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26586 type of __dummy and __dummy2 fields.
26587 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26588 (_G_ssize_t): Likewise.
26589 (_G_off_t): Likewise.
26590 (_G_pid_t): Likewise.
26591 (_G_uid_t): Likewise.
26592 (_G_wchar_t): Likewise.
26593 (_G_wint_t): Likewise.
26594 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26595 (_G_ssize_t): Likewise.
26596 (_G_off_t): Likewise.
26597 (_G_pid_t): Likewise.
26598 (_G_uid_t): Likewise.
26599 (_G_wchar_t): Likewise.
26600 (_G_wint_t): Likewise.
26601 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26602 (_G_ssize_t): Likewise.
26603 (_G_off_t): Likewise.
26604 (_G_pid_t): Likewise.
26605 (_G_uid_t): Likewise.
26606 (_G_wchar_t): Likewise.
26607 (_G_wint_t): Likewise.
26608
9fab36eb
SP
266092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26610
26611 * malloc/arena.c: Include malloc-sysdep.h.
26612 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26613 is sufficient to shrink the heap or an unmap is needed.
26614 * sysdeps/generic/malloc-sysdep.h: New file. Define
26615 new function check_may_shrink_heap.
26616 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26617 new function check_may_shrink_heap.
26618
2b4f00d1
SP
266192012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26620
26621 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26622 comments.
26623
9a9028b1
DL
266242012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26625
57c69bef
DL
26626 * catgets/test-gencat.sh: Add "set -e".
26627 * elf/tst-pathopt.sh: Likewise.
26628 * grp/tst_fgetgrent.sh: Likewise.
26629 * iconvdata/run-iconv-test.sh: Likewise.
26630 * intl/tst-gettext.sh: Likewise.
26631 * intl/tst-gettext2.sh: Likewise.
26632 * intl/tst-gettext4.sh: Likewise.
26633 * intl/tst-gettext6.sh: Likewise.
26634 * intl/tst-translit.sh: Likewise.
26635 * io/ftwtest-sh: Likewise.
26636 * libio/test-freopen.sh: Likewise.
26637 * malloc/tst-mtrace.sh: Likewise.
26638 * posix/globtest.sh: Likewise.
26639 * posix/tst-getconf.sh: Likewise.
26640 * posix/wordexp-tst.sh: Likewise.
26641 * stdio-common/tst-printf.sh: Likewise.
26642 * stdio-common/tst-unbputc.sh: Likewise.
26643 * stdlib/tst-fmtmsg.sh: Likewise.
26644 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26645 * catgets/Makefile: Do not specify -e option when running
26646 testsuite shell scripts.
26647 * elf/Makefile: Likewise.
26648 * grp/Makefile: Likewise.
26649 * iconvdata/Makefile: Likewise.
26650 * intl/Makefile: Likewise.
26651 * io/Makefile: Likewise.
26652 * libio/Makefile: Likewise.
26653 * malloc/Makefile: Likewise.
26654 * posix/Makefile: Likewise.
26655 * stdio-common/Makefile: Likewise.
26656 * stdlib/Makefile: Likewise.
26657 * sysdeps/x86_64/Makefile: Likewise.
26658
9a9028b1
DL
26659 * io/ftwtest-sh: Add copyright header.
26660 * posix/globtest.sh: Likewise.
26661 * posix/tst-getconf.sh: Likewise.
26662 * posix/wordexp-tst.sh: Likewise.
26663 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26664
ced6f16e
L
266652012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26666
94b32c39
L
26667 [BZ #13679]
26668 * Makeconfig (+link): Defined as $(+link-static) if
26669 $(build-shared) isn't yes.
26670 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26671 isn't yes.
26672 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26673
189e935b
L
26674 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26675
ced6f16e
L
26676 [BZ #14562]
26677 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26678 new chunk size with MALLOC_ALIGN_MASK.
26679
a9f8e53a
JM
266802012-09-24 Joseph Myers <joseph@codesourcery.com>
26681
26682 [BZ #5044]
26683 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26684 <rounding-mode.h>.
26685 (__printf_fphex): Determine rounding using get_rounding_mode and
26686 round_away.
26687 * stdio-common/tst-printf-round.c (struct hex_test): New
26688 structure.
26689 (hex_tests): New variable.
26690 (test_hex_in_one_mode): New function.
26691 (do_test): Also run tests for hex float output.
26692
43153109
JM
266932012-09-21 Joseph Myers <joseph@codesourcery.com>
26694
26695 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26696 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26697 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26698 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26699 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26700 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26701 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26702 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26703
8a26625d
JM
267042012-09-20 Joseph Myers <joseph@codesourcery.com>
26705
26706 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26707 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26708 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26709 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26710
f3fd569c
DL
267112012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26712
26713 [BZ #14579]
26714 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26715 mode only.
26716 * elf/tst-rtld-load-self.sh: New test.
26717 * elf/Makefile: Run it.
26718
63bbedd4
JM
267192012-09-18 Joseph Myers <joseph@codesourcery.com>
26720
26721 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26722 (tst-writev-ENV): Remove.
26723 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26724
626f8b6a
CM
267252012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26726
26727 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26728
b7aaa4d6
JM
267292012-09-17 Joseph Myers <joseph@codesourcery.com>
26730
26731 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26732 unconditional.
26733 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26734 Likewise.
26735 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26736 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26737 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26738 Likewise.
26739
65513990
L
267402012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26741
26742 [BZ #14587]
26743 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26744 * config.make.in (have-cpp-asm-debuginfo): Removed.
26745 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26746 * configure: Regenerated.
26747
784761be
JM
267482012-09-14 Joseph Myers <joseph@codesourcery.com>
26749
26750 [BZ #5044]
26751 * stdio-common/printf_fp.c: Include <stdbool.h> and
26752 <rounding-mode.h>.
26753 (___printf_fp): Determine rounding using get_rounding_mode and
26754 round_away.
26755 * stdio-common/tst-printf-round.c: New file.
26756 * stdio-common/Makefile (tests): Add tst-printf-round.
26757 (link-libm): New variable.
26758 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26759
9503345f
L
267602012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26761
26762 [BZ #14576]
26763 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26764 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26765 Likewise.
26766 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26767 Likewise.
26768
ad35fc00
JM
267692012-09-13 Joseph Myers <joseph@codesourcery.com>
26770
26771 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26772 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26773 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26774 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26775
6c9b0f68
JM
267762012-09-12 Joseph Myers <joseph@codesourcery.com>
26777
26778 [BZ #14518]
26779 * include/rounding-mode.h: New file.
26780 * sysdeps/generic/get-rounding-mode.h: Likewise.
26781 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26782 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26783 (MAX_VALUE): New macro.
26784 (MIN_VALUE): Likewise.
26785 (overflow_value): New function.
26786 (underflow_value): Likewise.
26787 (round_and_return): Use overflow_value and underflow_value to
26788 determine return values in overflow and underflow cases. Use
26789 round_away to determine rounding depending on rounding mode.
26790 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26791 determine return values in overflow and underflow cases.
26792 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26793 (struct test_results): New structure.
26794 (struct test): Use struct test_results to store expected results
26795 for all rounding modes.
26796 (TEST): Include expected results for all rounding modes.
26797 (test_in_one_mode): New function.
26798 (do_test): Use test_in_one_mode to compute and check results.
26799 Check results for all rounding modes.
26800 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26801 $(link-libm).
26802
19fcedd5
AM
268032012-12-09 Allan McRae <allan@archlinux.org>
26804
1e9d84cd 26805 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26806
8bbfd2f1
JM
268072012-09-11 Joseph Myers <joseph@codesourcery.com>
26808
26809 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26810 (_G_int32_t): Likewise.
26811 (_G_uint16_t): Likewise.
26812 (_G_uint32_t): Likewise.
26813 (_G_HAVE_BOOL): Likewise.
26814 (_G_HAVE_ATEXIT): Likewise.
26815 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26816 (_G_HAVE_IO_FILE_OPEN): Likewise.
26817 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26818 (_G_int32_t): Likewise.
26819 (_G_uint16_t): Likewise.
26820 (_G_uint32_t): Likewise.
26821 (_G_HAVE_BOOL): Likewise.
26822 (_G_HAVE_ATEXIT): Likewise.
26823 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26824 (_G_HAVE_IO_FILE_OPEN): Likewise.
26825 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26826 (_G_int32_t): Likewise.
26827 (_G_uint16_t): Likewise.
26828 (_G_uint32_t): Likewise.
26829 (_G_HAVE_BOOL): Likewise.
26830 (_G_HAVE_ATEXIT): Likewise.
26831 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26832 (_G_HAVE_IO_FILE_OPEN): Likewise.
26833
b1dc5912
L
268342012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26835
26836 * csu/libc-tls.c: Update copyright years.
26837
0e886ef9
JM
268382012-09-10 Joseph Myers <joseph@codesourcery.com>
26839
28361c5e
JM
26840 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26841 [!_G_USING_THUNKS]: Remove conditional code.
26842 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26843 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26844
0e886ef9
JM
26845 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26846 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26847 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26848 (_G_VTABLE_LABEL_PREFIX): Likewise.
26849 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26850 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26851 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26852 (_G_VTABLE_LABEL_PREFIX): Likewise.
26853 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26854 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26855 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26856 (_G_VTABLE_LABEL_PREFIX): Likewise.
26857 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26858
bcba7aa2
L
268592012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26860
26861 * libio/Makefile: Include ../Makeconfig before tests.
26862 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26863 only if $(build-shared) is yes.
26864
06585ee8
L
26865 * iconv/gconv_db.c: Update copyright years.
26866
80ccd52c
LD
268672012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26868
26869 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26870 unwind info if defined PIC. Fix special cases description.
26871 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26872
26873 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26874 DP_HI_MASK entry.
26875 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26876
691bc9c1
L
268772012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26878
3d9b46b3
L
26879 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26880
de2139a9
L
26881 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26882 is NULL.
26883
5ca78dd0
L
26884 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26885 (LDLIBS-tst-chk4): This.
26886 (LDFLAGS-tst-chk5): Renamed to ...
26887 (LDLIBS-tst-chk5): This.
26888 (LDFLAGS-tst-chk6): Renamed to ...
26889 (LDLIBS-tst-chk6): This.
26890 (LDFLAGS-tst-lfschk4): Renamed to ...
26891 (LDLIBS-tst-lfschk4): This.
26892 (LDFLAGS-tst-lfschk5): Renamed to ...
26893 (LDLIBS-tst-lfschk5): This.
26894 (LDFLAGS-tst-lfschk6): Renamed to ...
26895 (LDLIBS-tst-lfschk6): This.
26896
691bc9c1
L
26897 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26898 on $(common-objpfx)soversions.mk.
26899
65cafb1c
JM
269002012-09-07 Joseph Myers <joseph@codesourcery.com>
26901
26902 [BZ #10014]
26903 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26904 example host name.
26905
c78ab094
SP
269062012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26907
26908 * malloc/arena.c (arena_get_retry): New function that gets
26909 another arena for the caller to try its request on.
26910 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26911 current arena cannot fulfill the request.
26912 (__libc_memalign): Likewise.
26913 (__libc_memalign): Likewise.
26914 (__libc_pvalloc): Likewise.
26915 (__libc_calloc): Likewise.
26916
01f49f59
JT
269172012-09-05 John Tobey <john.tobey@gmail.com>
26918
26919 [BZ #13542]
26920 * manual/arith.texi (Operations on Complex): Fix description
26921 of carg branch cut.
26922
4c23fed5
JM
269232012-09-06 Joseph Myers <joseph@codesourcery.com>
26924
1d3c8572
JM
26925 [BZ #10014]
26926 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26927 host name.
26928
4c23fed5
JM
26929 [BZ #10038]
26930 * manual/memory.texi (Memory): Make order of menu items match
26931 order of sections.
26932
04570aaa
L
269332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26934
26935 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26936 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26937 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26938
b80af2f4
L
269392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26940
26941 * csu/libc-tls.c (static_dtv): Renamed to ...
26942 (_dl_static_dtv): This. Make it global.
26943 (_dl_initial_dtv): Removed.
26944 (__libc_setup_tls): Updated.
26945 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26946 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26947 DL_INITIAL_DTV.
26948
2abe9f15
PM
269492012-09-06 Petr Machata <pmachata@redhat.com>
26950
26951 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26952 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26953 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26954 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26955
0948c3af
L
269562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26957
26958 [BZ #14545]
26959 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26960 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26961 freeing dtv[-1].
26962
a5055ad1
L
269632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26964
26965 [BZ #14544]
26966 * Makeconfig (link-static-before-libc): Replace $(+prector)
26967 with $(+prectorT).
26968 (link-static-after-libc): Replace $(+postctor) with
26969 $(+postctorT).
26970 (link-bounded): Replace $(+prector)/$(+postctor) with
26971 $(+prectorT)/$(+postctorT).
26972 (+prectorT): New macro.
26973 (+postctorT): Likewise.
26974
ed8c2ecd
JM
269752012-09-06 Joseph Myers <joseph@codesourcery.com>
26976
26977 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26978 (round_str): Handle values above the maximum for IBM long double
26979 as inexact.
26980 * stdlib/tst-strtod-round.c (tests): Regenerated.
26981
14c996c8
AK
269822012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26983
26984 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26985 assembler flag.
26986 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26987 zarch_nohighgprs around the zarch optimized routines.
26988 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26989 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26990 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26991 for zarch.
26992
430d6ce6
DM
269932012-09-05 David S. Miller <davem@davemloft.net>
26994
26995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26996
57f41c40
AS
26997 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26998 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26999 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27000 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27001 entries.
27002
24d4e01b
AO
270032012-09-05 Alexandre Oliva <aoliva@redhat.com>
27004
27005 * malloc/arena.c: Fold copyright years.
27006 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27007
61d58174
AO
270082012-09-05 Alexandre Oliva <aoliva@redhat.com>
27009
27010 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27011
20196a5e
AO
270122012-09-05 Alexandre Oliva <aoliva@redhat.com>
27013
27014 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27015
5c447383
AO
270162012-09-05 Alexandre Oliva <aoliva@redhat.com>
27017
27018 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27019 change internal state upon failure.
27020
fad64255
AO
270212012-09-05 Alexandre Oliva <aoliva@redhat.com>
27022
27023 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27024 * malloc/memusage.c (mmap): Likewise.
27025 (mmap64, mremap): Likewise. Adjust name in comment.
27026
1ffb8c90
SP
270272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27028
27029 * libio/fileops.c: Fix typos in comments.
27030 * libio/oldfileops.c: Likewise.
27031 * libio/wfileops.c: Likewise.
27032
6ef9cc37
SP
270332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27034
27035 [BZ #1349]
27036 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27037 (tst-malloc-usable-ENV): Set environment for test case.
27038 * malloc/hooks.c (malloc_check_get_size): New function to get
27039 requested size.
27040 * malloc/malloc.c (musable): Use malloc_check_get_size.
27041 * malloc/tst-malloc-usable.c: New test case.
27042
4d038ae3
AS
270432012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27044
27045 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27046
c4e85184
AM
270472012-09-05 Allan McRae <allan@archlinux.org>
27048
b9dafc56 27049 [BZ #13966]
c4e85184
AM
27050 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27051 determine header location.
27052 * configure: Regenerated.
27053
e1343020
AS
270542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27055
27056 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27057 float format.
27058 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27059 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27060 format.
e1343020
AS
27061 (test): Regenerate.
27062
0a9f1987
DM
270632012-09-04 David S. Miller <davem@davemloft.net>
27064
27065 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27066 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27067 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27068
29237804
FW
270692012-09-04 Florian Weimer <fweimer@redhat.com>
27070
27071 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27072 failures.
27073
edb3cb88
FW
27074 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27075
60160d83
JM
270762012-09-04 Joseph Myers <joseph@codesourcery.com>
27077
27078 [BZ #9914]
27079 * libio/iogetdelim.c: Include <limits.h>.
27080 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27081 + len + 1 would overflow.
27082
bcd6c8dc
AJ
270832012-09-03 Andreas Jaeger <aj@suse.de>
27084
27085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27086 * sysdeps/i386/fpu/libm-test-ulps: Update.
27087
4ffffbd2
LD
270882012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27089
27090 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27091 Add s_sinf-sse2, s_conf-sse2.
27092
27093 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27094 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27095 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27096 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27097
27098 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27099 for using routine as __sinf_ia32.
27100 Use macro for function declaration and weak_alias.
27101 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27102 for using routine as __cosf_ia32.
27103 Use macro for function declaration and weak_alias.
27104
27105 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27106 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27107
27108 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27109 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27111
27112 * math/libm-test.inc (cos_test): Add more test cases.
27113 (sin_test): Likewise.
27114 (sincos_test): Likewise.
27115
511fa286
AK
271162012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27117
27118 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27119 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27120 hidden.
27121 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27122
5f30cfec
L
271232012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27124
27125 [BZ #14538]
27126 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27127 first element of the GOT.
27128 (elf_machine_load_address): Return the difference between
27129 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27130
0786794f
AM
271312012-09-01 Allan McRae <allan@archlinux.org>
27132
5f30cfec
L
27133 [BZ #13412]
27134 * configure.in (AWK): Require gawk version 3.0 or later.
27135 * configure: Regenerated.
0786794f 27136
26889eac
JM
271372012-09-01 Joseph Myers <joseph@codesourcery.com>
27138
27139 * sysdeps/unix/sysv/linux/kernel-features.h
27140 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27141 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27142 [__NR_clock_getres]: Make code unconditional.
27143 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27144 (clock_getcpuclockid): Remove code left unreachable by removal of
27145 conditionals.
27146 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27147 code unconditional.
27148 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27149 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27150 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27151 Make code unconditional.
27152 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27153 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27154 * sysdeps/unix/sysv/linux/clock_settime.c
27155 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27156 conditional code.
27157 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27158 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27159
d22e28b0
L
271602012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27161
27162 [BZ #14476]
27163 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27164 scripts/test-installation.pl.
27165
27166 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27167 and $ld_so_version if it is set.
27168
050af9c4
SP
271692012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27170
27171 [BZ #14516]
27172 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27173 failure if reading from procfs failed.
27174 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27175
ad845c0b
JM
271762012-08-27 Joseph Myers <joseph@codesourcery.com>
27177
27178 * sysdeps/unix/sysv/linux/kernel-features.h
27179 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27180 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27181 Remove conditional code.
27182 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27183 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27184 Remove conditional code.
27185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27186 * sysdeps/unix/sysv/linux/i386/fxstat.c
27187 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27189 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27190 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27192 * sysdeps/unix/sysv/linux/i386/lxstat.c
27193 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27194 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27195 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27196 Remove conditional code.
27197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27198 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27199 Remove conditional code.
27200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27201 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27202 <kernel-features.h>.
27203 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27204 Remove.
27205 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27206 Remove conditional code.
27207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27208 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27209 Remove conditional.
27210
5dbf56af
MF
272112012-08-27 Mike Frysinger <vapier@gentoo.org>
27212
27213 [BZ #5400]
27214 * NEWS: Add fixed bug number.
27215
d6e70f43
JM
272162012-08-27 Joseph Myers <joseph@codesourcery.com>
27217
7efb4737
JM
27218 [BZ #14519]
27219 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27220 underflowing exponent in case of negative sign.
27221 * stdlib/tst-strtod-round-data: Add more tests.
27222 * stdlib/tst-strtod-round.c (tests): Regenerated.
27223
af92131a
JM
27224 [BZ #3479]
27225 * stdlib/strtod_l.c (NDIG): Remove.
27226 (HEXNDIG): Likewise.
27227 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27228 smallest representable value.
27229 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27230 lie within an exact representation of 1/2 ulp of the result.
27231 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27232 unconditionally.
27233 (TENS_P9_IDX): Define unconditionally.
27234 (TENS_P9_SIZE): Likewise.
27235 (TENS_P10_IDX): Likewise.
27236 (TENS_P10_SIZE): Likewise.
27237 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27238 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27239 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27240 entries for 10^2^13 and 10^2^14.
27241 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27242 (TENS_P13_IDX): Define.
27243 (TENS_P13_SIZE): Likewise.
27244 (TENS_P14_IDX): Likewise.
27245 (TENS_P14_SIZE): Likewise.
27246 (_fpioconst_pow10): Change array size to
27247 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27248 unconditional.
27249 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27250 1024]: Add entries for 10^2^13 and 10^2^14.
27251 [LAST_POW10 > _LAST_POW10]: Remove #error.
27252 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27253 (_fpioconst_pow10): Change array size to
27254 FPIOCONST_POW10_ARRAY_SIZE.
27255 * stdlib/gen-fpioconst.c: New file.
27256 * stdlib/gen-tst-strtod-round.c: Likewise.
27257 * stdlib/tst-strtod-round-data: Likewise.
27258 * stdlib/tst-strtod-round.c: Likewise.
27259 * stdlib/Makefile (tests): Add tst-strtod-round.
27260
d6e70f43
JM
27261 [BZ #14459]
27262 * stdlib/strtod_l.c: Include <stdint.h>.
27263 (NDEBUG): Do not define.
27264 (round_and_return): Change EXPONENT parameter to type intmax_t.
27265 Rearrange calculations to avoid internal overflow possibilities.
27266 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27267 Rearrange calculations to avoid internal overflow possibilities.
27268 Assert that number fits inside MPNSIZE limbs.
27269 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27270 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27271 calculations and add assertions to avoid internal overflow
27272 possibilities. Add casts to avoid signed/unsigned operations.
27273 * stdlib/tst-strtod-overflow.c: New file.
27274 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27275
1f529f7d
MP
272762012-08-25 Marek Polacek <polacek@redhat.com>
27277
27278 * time/time.h: Fix some typos in comments.
27279
59a629f1
RM
272802012-08-23 Roland McGrath <roland@hack.frob.com>
27281
27282 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27283 * posix/tst-rfc3484-2.c: Likewise.
27284 * posix/tst-rfc3484-3.c: Likewise.
27285
d3bafbc9
SM
272862012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27287
27288 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27289 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27290
4efcc022
JM
272912012-08-23 Joseph Myers <joseph@codesourcery.com>
27292
27293 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27294 #include of fxstatat64.c.
27295
3cc3ef96
RM
272962012-08-22 Roland McGrath <roland@hack.frob.com>
27297
f04e2132
RM
27298 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27299 * shadow/getspent_r.c: Likewise.
27300 * shadow/getspnam.c: Likewise.
27301 * shadow/getspnam_r.c: Likewise.
27302 * gshadow/getsgent.c: Likewise.
27303 * gshadow/getsgent_r.c: Likewise.
27304 * gshadow/getsgnam.c: Likewise.
27305 * gshadow/getsgnam_r.c: Likewise.
27306 * inet/getnetbyad.c: Likewise.
27307 * inet/getnetbyad_r.c: Likewise.
27308 * inet/getnetbynm.c: Likewise.
27309 * inet/getnetbynm_r.c: Likewise.
27310 * inet/getnetent.c: Likewise.
27311 * inet/getnetent_r.c: Likewise.
27312 * inet/getproto.c: Likewise.
27313 * inet/getproto_r.c: Likewise.
27314 * inet/getprtent.c: Likewise.
27315 * inet/getprtent_r.c: Likewise.
27316 * inet/getprtname.c: Likewise.
27317 * inet/getprtname_r.c: Likewise.
27318 * inet/getrpcbyname.c: Likewise.
27319 * inet/getrpcbyname_r.c: Likewise.
27320 * inet/getrpcbynumber.c: Likewise.
27321 * inet/getrpcbynumber_r.c: Likewise.
27322 * inet/getrpcent.c: Likewise.
27323 * inet/getrpcent_r.c: Likewise.
27324 * inet/getaliasent.c: Likewise.
27325 * inet/getaliasent_r.c: Likewise.
27326 * inet/getaliasname.c: Likewise.
27327 * inet/getaliasname_r.c: Likewise.
27328 * nscd/getgrgid_r.c: Likewise.
27329 * nscd/getgrnam_r.c: Likewise.
27330 * nscd/gethstbyad_r.c: Likewise.
27331 * nscd/gethstbynm3_r.c: Likewise.
27332 * nscd/getpwnam_r.c: Likewise.
27333 * nscd/getpwuid_r.c: Likewise.
27334 * nscd/getsrvbynm_r.c: Likewise.
27335 * nscd/getsrvbypt_r.c: Likewise.
27336 * nscd/gai.c: Likewise.
27337
c53d909c
RM
27338 * configure.in (build_nscd): New substituted variable, set
27339 by --disable-build-nscd and defaults to $use_nscd.
27340 * configure: Regenerated.
27341 * config.make.in (build-nscd): New substituted variable.
27342 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27343 Change conditional to require [$(build-nscd) = yes] as well.
27344 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27345
3cc3ef96
RM
27346 [BZ# 13696]
27347 * configure.in (use_nscd): New substituted variable, set by
27348 --disable-nscd. If enabled, define USE_NSCD.
27349 * configure: Regenerated.
27350 * config.h.in: Add USE_NSCD.
27351 * config.make.in (use-nscd): New substituted variable.
27352 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27353 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27354 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27355 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27356 (CFLAGS-getgrnam_r.c): Likewise.
27357 (CFLAGS-initgroups.c): Likewise.
27358 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27359 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27360 Variables removed.
27361 * inet/getnetgrent_r.c
27362 (nscd_setnetgrent): New function, broken out of ...
27363 (setnetgrent): ... here. Call it.
27364 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27365 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27366 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27367 * nscd/Makefile (routines, aux): Move definitions after include of
27368 Makeconfig. Conditionalize on [$(use-nscd) != no].
27369 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27370 Conditionalize on [USE_NSCD].
27371 (is_nscd, nscd_init_cb): Likewise.
27372 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27373 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27374 * nss/nss_db/db-init.c: Likewise.
27375 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27376 [USE_NSCD].
27377 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27378 (make_request): Use it.
27379 (cache_valid_p): New function.
27380 (__check_pf): Use it.
27381 * NEWS: Add item for --disable-nscd.
27382
07e51550
DL
273832012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27384
27385 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27386 to support sed >= 4.2.1-20-ga9bf076.
27387 * configure: Regenerated.
27388
35a5b08b
RM
273892012-08-22 Roland McGrath <roland@hack.frob.com>
27390
27391 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27392 Conditionalize whole body on [IREL].
27393
8479f23a
JL
273942012-08-22 Jeff Law <law@redhat.com>
27395
27396 [BZ #14505]
27397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27398 if the family is PF_UNSPEC.
27399
48da0b21
MF
274002012-08-22 Mike Frysinger <vapier@gentoo.org>
27401
27402 * Makerules (lib-version): Rename from V.
27403 (install-lib-nosubdir): Change V to lib-version.
27404
15d0da8c
WS
274052012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27406
27407 [BZ #14252]
27408 * powerpc32/power6/wcschr.c: New file.
27409 * powerpc32/power6/wcscpy.c: New file.
27410 * powerpc32/power6/wcsrchr.c: New file.
27411 * powerpc64/power6/wcschr.c: New file.
27412 * powerpc64/power6/wcscpy.c: New file.
27413 * powerpc64/power6/wcsrchr.c: New file.
27414
bcca0895
MK
274152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27416
27417 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27418 (two_way_short_needle): Use it.
5a4aaa33
RM
27419 * string/strstr.c (AVAILABLE1_USES_J): Define.
27420 * string/strcasestr.c: Likewise.
99677e57
MK
27421
27422 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27423 array references.
27424 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27425
400726de
MK
27426 [BZ #11607]
27427 * NEWS: Add an entry.
27428 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27429 define their defaults.
27430 (two_way_short_needle): Detect end-of-string on-the-fly.
27431 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27432 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27433 * string/bug-strcasestr1.c: New test.
27434 * string/Makefile: Run it.
27435
20a71f2c
MK
274362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27437
27438 [BZ #11607]
27439 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27440 the first character.
27441
21ad0558
RM
274422012-08-21 Roland McGrath <roland@hack.frob.com>
27443
27444 * csu/elf-init.c (__libc_csu_irel): Function removed.
27445 * csu/libc-start.c (apply_irel): New function.
27446 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27447
0e1d9911
JM
274482012-08-21 Joseph Myers <joseph@codesourcery.com>
27449
27450 * sysdeps/unix/sysv/linux/kernel-features.h
27451 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27452 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27453 <kernel-features.h>.
27454 [__NR_fadvise64_64]: Make code unconditional.
27455 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27456 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27457 !__NR_fadvise64_64)]: Likewise.
27458 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27459 !__NR_fadvise64_64))]: Likewise.
27460 [__NR_fadvise64]: Make code unconditional.
27461 [!__NR_fadvise64]: Remove conditional code.
27462 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27463 <kernel-features.h>.
27464 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27465 unconditional.
27466 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27467 conditional code.
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27469 not include <kernel-features.h>.
27470 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27471 unconditional.
27472 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27473 conditional code.
27474 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27475 include <kernel-features.h>.
27476 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27477 unconditional.
27478 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27479 conditional code.
27480
14a50c9d
WS
274812012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27482
27483 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27484 slight instruction rearrangements per scrollpipe analysis.
27485 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27486
c0f4faf0
RM
274872012-08-20 Roland McGrath <roland@hack.frob.com>
27488
696da859
RM
27489 * manual/syslog.texi (syslog; vsyslog, closelog):
27490 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27491 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27492
c0f4faf0
RM
27493 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27494 DSOCAPS to match condition on defining it.
27495
348363b2
JM
274962012-08-20 Joseph Myers <joseph@codesourcery.com>
27497
a35cbf28
JM
27498 * sysdeps/unix/sysv/linux/kernel-features.h
27499 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27501 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27502 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27504 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27505 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27507 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27508 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27509
445f7ecd
JM
27510 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27511 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27512
348363b2
JM
27513 * sysdeps/unix/sysv/linux/kernel-features.h
27514 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27515 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27516 unconditional.
27517 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27518 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27519 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27520 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27521 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27522 Make code unconditional.
27523 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27524 (__mmap64) [!__NR_mmap2]: Likewise.
27525 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27526 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27527 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27528 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27529 [__NR_mmap2]: Make code unconditional.
27530 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27531 (__mmap64) [!__NR_mmap2]: Likewise.
27532
bc5bc0e5
AK
275332012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27534
27535 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27536
88d506de
AJ
275372012-08-18 Andreas Jaeger <aj@suse.de>
27538
27539 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27540
493387d2
MF
275412012-08-18 Mike Frysinger <vapier@gentoo.org>
27542
27543 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27544 * include/unistd.h (__have_sock_cloexec): Likewise.
27545 (__have_pipe2): Likewise.
27546 (__have_dup3): Likewise.
27547
a277af22
MF
275482012-08-18 Mike Frysinger <vapier@gentoo.org>
27549
27550 [BZ #9685]
27551 * include/unistd.h (__have_pipe2): Change define into an extern int.
27552 (__have_dup3): Likewise.
27553 * socket/have_sock_cloexec.c: Include fcntl.h.
27554 (__have_pipe2): New variable.
27555 (__have_dup3): Likewise.
27556
fdab8fd3
MF
275572012-08-17 Mike Frysinger <vapier@gentoo.org>
27558
27559 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27560
31035e80
MP
275612012-08-17 Marek Polacek <polacek@redhat.com>
27562
27563 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27564 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27565
3bd9e993
RM
275662012-08-17 Roland McGrath <roland@hack.frob.com>
27567
c91c505f
RM
27568 * configure.in: Add AC_SUBST for sysheaders.
27569 * configure: Regenerated.
27570 * config.make.in (sysheaders): New substituted variable.
27571
7c6f9d53
RM
27572 * sysdeps/unix/mkfifo.c: Moved ...
27573 * sysdeps/posix/mkfifo.c: ... here.
27574 * sysdeps/unix/mkfifoat.c: Moved ...
27575 * sysdeps/posix/mkfifoat.c: ... here.
27576
27577 * sysdeps/unix/utime.c: Moved ...
27578 * sysdeps/posix/utime.c: ... here.
27579
27580 * sysdeps/unix/time.c: Moved ...
27581 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27582 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27583 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27584
27585 * sysdeps/unix/nice.c: Moved ...
27586 * sysdeps/posix/nice.c: ... here.
27587
27588 * sysdeps/unix/alarm.c: Moved ...
27589 * sysdeps/posix/alarm.c: ... here.
27590
3bd9e993
RM
27591 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27592
d1f09384
JL
275932012-08-17 Jeff Law <law@redhat.com>
27594
27595 * intl/Makefile (codeset_mo): New variable.
27596 ($(codeset_mo)): New target.
27597 (tst-codeset.out): Depend on that. Remove explicit rule.
27598 (tst-gettext3.out, tst-gettext5.out): Likewise.
27599 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27600 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27601 * intl/tst-codeset.sh: Remove.
27602 * intl/tst-gettext3.sh: Likewise.
27603 * intl/tst-gettext5.sh: Likewise.
27604
2ae1ae5c
RM
276052012-08-17 Roland McGrath <roland@hack.frob.com>
27606
c31fdb83
RM
27607 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27608 * sysdeps/unix/syscalls.list: ... here.
27609
a0844057
RM
27610 * sysdeps/posix/getaddrinfo.c
27611 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27612 (gaiconf_init, gaiconf_reload): Use them.
27613 [!_STATBUF_ST_NSEC]
27614 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27615 Define using time_t rather than struct timespec.
27616
750c1f2a
RM
27617 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27618 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27619 Macros removed.
27620 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27621 [!NO_THREADS].
27622 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27623 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27624 Likewise.
27625
2ae1ae5c
RM
27626 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27627 __libc_cleanup_push argument.
27628
e66a42f5
RM
27629 * bits/param.h: New file.
27630 * misc/sys/param.h: New file.
27631 * include/sys/param.h: New file.
27632 * misc/Makefile (headers): Add bits/param.h.
27633 * sysdeps/generic/sys/param.h: File removed.
27634 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27635 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27636 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27637 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27638
b7c08a66
RM
27639 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27640 last change.
27641
b2e1c562
RM
27642 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27643 [_IO_MTSAFE_IO].
27644 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27645 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27646 New macros.
27647
c75ccd4c
RM
27648 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27649 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27650 rather than -D_IO_MTSAFE_IO conditionally.
27651 * stdio-common/Makefile (CPPFLAGS): Likewise.
27652 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27653 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27654 Use $(libio-mtsafe).
27655 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27656 of -D_IO_MTSAFE_IO.
27657 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27658 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27659 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27660 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27661 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27662 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27663 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27664 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27665 (CFLAGS-fread_u_chk.c): Likewise.
27666 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27667 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27668 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27669 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27670 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27671 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27672 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27673 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27674 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27675
27676 * libio/Makefile: Test [$(libc-reentrant) = yes]
27677 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27678
27679 * Makeconfig
27680 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27681 * sysdeps/pthread/configure: File removed.
27682 * sysdeps/pthread/Makeconfig: New file.
27683 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27684 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27685
d9195db8
GB
276862012-08-16 Gary Benson <gbenson@redhat.com>
27687
27688 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27689 unmapping the first object in a namespace.
27690
86466cd9
RM
276912012-08-16 Roland McGrath <roland@hack.frob.com>
27692
27693 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27694 (__internal_setnetgrent): ... this. Add internal_function to
27695 definition. Add libc_hidden_def.
27696 (setnetgrent): Update caller.
27697 (internal_endnetgrent): Renamed to ...
27698 (__internal_endnetgrent): ... this. Add internal_function to
27699 definition. Add libc_hidden_def.
27700 (endnetgrent): Update caller.
27701 (internal_getnetgrent_r): Renamed to ...
27702 (__internal_getnetgrent_r): ... this. Add internal_function to
27703 definition. Add libc_hidden_def.
27704 (__getnetgrent_r): Update caller.
27705 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27706
c3c8283c
JM
277072012-08-16 Joseph Myers <joseph@codesourcery.com>
27708
27709 * stdlib/longlong.h: Update from GCC.
27710
db1ee0a8
RM
277112012-08-16 Roland McGrath <roland@hack.frob.com>
27712
27713 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27714 on _QL, which is set by umul_ppmm but never used.
27715 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27716 variables, which are set by GMP macros but never used.
27717 * stdio-common/_itowa.c (_itowa): Likewise.
27718 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27719 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27720
30f69637
CD
277212012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27722
27723 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27724 struct La_sh_regs is not constant.
27725 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27726 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27727 and struct La_sparc64_regs are not constant.
27728
93a78ac4
JM
277292012-08-16 Joseph Myers <joseph@codesourcery.com>
27730
27731 * sysdeps/unix/sysv/linux/kernel-features.h
27732 (__ASSUME_POSIX_TIMERS): Remove.
27733 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27734 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27735 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27736 Make code unconditional.
27737 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27738 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27739 Make code unconditional.
27740 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27741 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27742 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27743 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27744 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27745 Make code unconditional.
27746 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27747 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27748 (__libc_missing_posix_timers): Remove.
27749
dd924cd7
RM
277502012-08-15 Roland McGrath <roland@hack.frob.com>
27751
4b4f2771
RM
27752 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27753 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27754
601c888b
RM
27755 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27756
176790a7
RM
27757 * elf/dl-sym.c: Include <stdlib.h>.
27758
329bc018
RM
27759 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27760 constants, which avoids warnings in 32-bit builds.
27761
e04e272d
RM
27762 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27763 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27764
952bf94a
RM
27765 * misc/lseek.c: File moved to ...
27766 * io/lseek.c: ... here.
27767
7c99b50a
RM
27768 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27769
dd924cd7
RM
27770 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27771 shifting LEN more than 31 bits at once.
27772
b3f479a8
LD
277732012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27774
27775 [BZ #14195]
8c4ae0d4
RM
27776 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27777 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27778 * string/test-strncasecmp.c (check1): Renamed to...
27779 (bz12205): ...this.
27780 (bz14195): Add new testcase for two empty input strings and N > 0.
27781 (test_main): Call new testcase, adapt for renamed function.
27782
9c55864e
AJ
277832012-08-15 Andreas Jaeger <aj@suse.de>
27784
27785 [BZ #14090]
27786 * crypt/md5test2.c: New test, based on test supplied by Serge
27787 Belyshev <belyshev@depni.sinp.msu.ru>.
27788 * crypt/Makefile (xtests): Add md5test-giant..
27789 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27790
02dcb6c5
PE
277912012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27792
27793 [BZ #14090]
27794 * crypt/md5.c (md5_process_block): Don't assume the buffer
27795 length is less than 2**32.
27796 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27797 length is less than 2**64.
27798
a3f95dcc
RM
277992012-08-15 Roland McGrath <roland@hack.frob.com>
27800
be75d758
RM
27801 * string/str-two-way.h: Include <sys/param.h>.
27802 (MAX): Macro removed.
27803
7312ca90
RM
27804 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27805 Move #define and #undef of memmove to just before and after
27806 including <string.h>.
27807
9a0a5486
RM
27808 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27809 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27810 and after including <string.h>. Move declarations of
27811 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27812 to before #include "string/memmove.c".
27813
67cc348d
RM
27814 * include/dirent.h: Declare __getdirentries.
27815
a3f95dcc
RM
27816 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27817 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27818
ca98e171
MF
278192012-08-14 Mike Frysinger <vapier@gentoo.org>
27820
27821 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27822 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27823 * sysdeps/i386/configure: Regenerated.
27824 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27825 STABS_CURRENT_FILE, and STABS_FUN.
27826 (END): Remove call to STABS_FUN_END.
27827 (STABS_CURRENT_FILE1): Delete.
27828 (STABS_CURRENT_FILE): Likewise.
27829 (STABS_FUN): Likewise.
27830 (STABS_FUN_END): Likewise.
27831 (STABS_FUN2): Likewise.
27832 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27833 * sysdeps/x86_64/configure: Regenerated.
27834
5908bf46
RM
278352012-08-14 Roland McGrath <roland@hack.frob.com>
27836
27837 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27838 * elf/dl-lookup.c: Likewise.
5908bf46 27839
f2c05b9e
JM
278402012-08-14 Joseph Myers <joseph@codesourcery.com>
27841
27842 * sysdeps/unix/sysv/linux/kernel-features.h
27843 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27844 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27845 unconditionally.
27846 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27847 unconditionally.
27848 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27849 condition on __ASSUME_CLONE_THREAD_FLAGS.
27850
e11f5155
AJ
278512012-08-14 Andreas Jaeger <aj@suse.de>
27852
27853 * sysdeps/i386/fpu/libm-test-ulps: Update.
27854
51a9ba86
MK
278552012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27856
2fdd4f78
AJ
27857 * include/atomic.h (atomic_exchange_and_add): Split into ...
27858 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27859 New atomic macros.
51a9ba86 27860
ba6cba9e
MT
278612012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27862
27863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27864
42443a47
JL
278652012-08-13 Jeff Law <law@redhat.com>
27866
27867 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27868 null byte in the output string.
27869
121dce05
JM
278702012-08-10 Joseph Myers <joseph@codesourcery.com>
27871
27872 * sysdeps/unix/sysv/linux/kernel-features.h
27873 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27874 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27875 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27876 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27877 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27878 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27879 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27880
bf51f568
JL
278812012-08-09 Jeff Law <law@redhat.com>
27882
27883 [BZ #13939]
27884 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27885 When avoid_arena is set, don't retry in the that arena. Pick the
27886 next one, whatever it might be.
27887 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27888 (arena_lock): Pass in new parameter to arena_get2.
27889 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27890 arena_get2.
27891 (__libc_malloc): Unify retrying after main arena failure with
27892 __libc_memalign version.
27893 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27894
f85fa270
L
278952012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27896
27897 [BZ #14166]
27898 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27899 to __redirect_strstr.
27900 (__strstr_sse42): Use typeof __redirect_strstr.
27901 (__strstr_ia32): Likewise.
27902 (__libc_strstr): New prototype.
27903 (strstr): Renamed to ...
27904 (__libc_strstr): This.
27905 (strstr): New strong alias of __libc_strstr.
27906 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27907 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27908 __redirect_time.
27909 Include <time.h>.
27910 (__libc_time): New prototype.
27911 (time_ifunc): Replace time with __libc_time.
27912 (time): New strong alias and hidden definition of __libc_time.
27913 (__GI_time): Remove strong alias.
27914 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27915 Include <stddef.h>.
27916 (memmove): Redefined to __redirect_memmove.
27917 (__memmove_sse2): Use typeof __redirect_memmove.
27918 (__memmove_ssse3): Likewise.
27919 (__memmove_ssse3_back): Likewise.
27920 (__libc_memmove): New prototype.
27921 (memmove): Renamed to ...
27922 (__libc_memmove): This.
27923 (memmove): New strong alias of __libc_memmove.
27924
33b4a91e
MS
279252012-08-08 Mark Salter <msalter@redhat.com>
27926
27927 * elf/elf.h
27928 (R_MN10300_TLS_GD): Define.
27929 (R_MN10300_TLS_LD): Likewise.
27930 (R_MN10300_TLS_LDO): Likewise.
27931 (R_MN10300_TLS_GOTIE): Likewise.
27932 (R_MN10300_TLS_IE): Likewise.
27933 (R_MN10300_TLS_LE): Likewise.
27934 (R_MN10300_TLS_DTPMOD): Likewise.
27935 (R_MN10300_TLS_DTPOFF): Likewise.
27936 (R_MN10300_TLS_TPOFF): Likewise.
27937 (R_MN10300_SYM_DIFF): Likewise.
27938 (R_MN10300_ALIGN): Likewise.
27939 (R_MN10300_NUM): Update.
27940
b36137f1
JM
279412012-08-08 Joseph Myers <joseph@codesourcery.com>
27942
27943 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27944 Remove.
27945
cdd915fd
RM
279462012-08-08 Roland McGrath <roland@hack.frob.com>
27947
a2433aac
RM
27948 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27949
cdd915fd
RM
27950 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27951 sysdeps/unix -> sysdeps/posix move.
27952 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27953
bf9b740a
AM
279542012-08-07 Allan McRae <allan@archlinux.org>
27955
27956 [BZ #14303]
27957 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27958 (SUNOS_CPP): Likewise.
27959 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27960 not found.
27961 (open_input): Call CPP using execvp.
27962
93df14ee
JM
279632012-08-07 Joseph Myers <joseph@codesourcery.com>
27964
27965 * sysdeps/unix/sysv/linux/kernel-features.h
27966 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27967 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27968 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27969 (__ASSUME_WAITID_SYSCALL): Likewise.
27970 * sysdeps/unix/sysv/linux/dl-execstack.c
27971 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27972 code unconditional.
27973 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27974 conditional code.
27975 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27976 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27977 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27978 code.
27979 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27980 unconditional.
27981 [__ASSUME_WAITID_SYSCALL]: Likewise.
27982 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27983
d34689de
RM
279842012-08-07 Roland McGrath <roland@hack.frob.com>
27985
a281decc
RM
27986 * sysdeps/unix/closedir.c: Renamed to ...
27987 * sysdeps/posix/closedir.c: ... here.
27988 * sysdeps/unix/dirfd.c: Renamed to ...
27989 * sysdeps/posix/dirfd.c: ... here.
27990 * sysdeps/unix/dirstream.h: Renamed to ...
27991 * sysdeps/posix/dirstream.h: ... here.
27992 * sysdeps/unix/fdopendir.c: Renamed to ...
27993 * sysdeps/posix/fdopendir.c: ... here.
27994 * sysdeps/unix/opendir.c: Renamed to ...
27995 * sysdeps/posix/opendir.c: ... here.
27996 * sysdeps/unix/readdir.c: Renamed to ...
27997 * sysdeps/posix/readdir.c: ... here.
27998 * sysdeps/unix/readdir_r.c: Renamed to ...
27999 * sysdeps/posix/readdir_r.c: ... here.
28000 * sysdeps/unix/rewinddir.c: Renamed to ...
28001 * sysdeps/posix/rewinddir.c: ... here.
28002 * sysdeps/unix/seekdir.c: Renamed to ...
28003 * sysdeps/posix/seekdir.c: ... here.
28004 * sysdeps/unix/telldir.c: Renamed to ...
28005 * sysdeps/posix/telldir.c: ... here.
28006 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28007 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28008 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28009 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28010
22895b47
RM
28011 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28012 * bits/fcntl.h: ... here.
28013
707a53b6
RM
28014 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28015 not 0.
28016 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28017 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28018 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28019 (struct flock): Move l_start, l_len to the beginning.
28020 Use __pid_t for l_pid.
28021 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28022 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28023 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28024 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28025 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28026 [__USE_LARGEFILE64] (struct flock64): New type.
28027 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28028
f0bd3e25
RM
28029 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28030 * bits/dirent.h: ... here.
28031
d34689de
RM
28032 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28033 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28034
6dad2c06
JM
280352012-08-07 Joseph Myers <joseph@codesourcery.com>
28036
28037 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28038 Change from 2.6.0 to 2.6.16.
28039 * sysdeps/unix/sysv/linux/configure: Regenerated.
28040 * sysdeps/unix/sysv/linux/kernel-features.h
28041 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28042 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28043 version.
28044 (__ASSUME_UTIMES): Likewise.
28045 (__ASSUME_CLONE_STOPPED): Remove.
28046 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28047 architectures, not kernel version.
28048 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28049 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28050 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28051 (__ASSUME_WAITID_SYSCALL): Likewise.
28052 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28053 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28054 * README: State 2.6.16 as minimum Linux kernel version. Do not
28055 refer to older versions.
28056
03af9520
RM
280572012-08-06 Roland McGrath <roland@hack.frob.com>
28058
8e49df1d
RM
28059 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28060 Define alphasort64 as an alias.
28061 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28062 Define versionsort64 as an alias.
28063 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28064 Define scandir64 as an alias.
28065 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28066 Define scandirat64 as an alias.
28067 * dirent/alphasort64.c (alphasort64):
28068 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28069 * dirent/versionsort64.c: Likewise.
28070 * dirent/scandir64.c: Likewise.
28071 * dirent/scandirat64.c: Likewise.
28072 * sysdeps/wordsize-64/alphasort.c: File removed.
28073 * sysdeps/wordsize-64/alphasort64.c: File removed.
28074 * sysdeps/wordsize-64/scandir.c: File removed.
28075 * sysdeps/wordsize-64/scandir64.c: File removed.
28076 * sysdeps/wordsize-64/scandirat.c: File removed.
28077 * sysdeps/wordsize-64/scandirat64.c: File removed.
28078 * sysdeps/wordsize-64/versionsort.c: File removed.
28079 * sysdeps/wordsize-64/versionsort64.c: File removed.
28080 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28081 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28082 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28083 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28084 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28085 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28086 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28087 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28088
28089 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28090 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28091 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28093 [defined __arch64__ || defined __sparcv9]
28094 (__INO_T_MATCHES_INO64_T): New macro.
28095 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28096 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28097 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28098 * sysdeps/unix/sysv/linux/bits/dirent.h
28099 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28100 (_DIRENT_MATCHES_DIRENT64): New macro.
28101
03af9520
RM
28102 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28103 Define lockf64 as an alias.
28104 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28105 Define fseeko64 as an alias.
28106 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28107 Define ftello64 as an alias.
28108 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28109 Define _IO_fgetpos64 and fgetpos64 as aliases.
28110 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28111 Define _IO_fsetpos64 and fsetpos64 as aliases.
28112 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28113 Conditionalize body on this.
28114 * libio/fseeko64.c: Likewise.
28115 * libio/ftello64.c: Likewise.
28116 * libio/iofgetpos64.c: Likewise.
28117 * libio/iofsetpos64.c: Likewise.
28118 * sysdeps/wordsize-64/lockf.c: File removed.
28119 * sysdeps/wordsize-64/lockf64.c: File removed.
28120 * sysdeps/wordsize-64/fseeko.c: File removed.
28121 * sysdeps/wordsize-64/fseeko64.c: File removed.
28122 * sysdeps/wordsize-64/ftello.c: File removed.
28123 * sysdeps/wordsize-64/ftello64.c: File removed.
28124 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28125 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28126 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28127 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28128 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28129 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28130 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28131 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28132 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28133 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28134 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28135 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28136 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28137 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28138
28139 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28140 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28141 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28142 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28143 [defined __arch64__ || defined __sparcv9]
28144 (__OFF_T_MATCHES_OFF64_T): New macro.
28145 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28146 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28148 (__OFF_T_MATCHES_OFF64_T): New macro.
28149
c5757acd
L
281502012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28151
28152 * stdlib/secure-getenv.c (__secure_getenv): Replace
28153 GLIBC_2_16 with GLIBC_2_17.
28154
3a31811e
L
281552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28156
28157 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28158 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28159
faa2bccb
DM
281602012-08-03 David S. Miller <davem@davemloft.net>
28161
28162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28163
85fe1997
JM
281642012-08-03 Joseph Myers <joseph@codesourcery.com>
28165
28166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28167 Remove.
28168 (__ASSUME_CORRECT_SI_PID): Likewise.
28169 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28170 (__ASSUME_TMPFS_NAME): Likewise.
28171 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28172 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28173 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28174 (HAVE_AUX_SECURE): Make definition unconditional.
28175 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28176 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28177
4f75b7a0
RM
281782012-08-03 Roland McGrath <roland@hack.frob.com>
28179
28180 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28181 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28182 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28183 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28184 __eloop_threshold instead of SYMLOOP_MAX.
28185
28186 * sysdeps/generic/eloop-threshold.h: New file.
28187 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28188 of MAXSYMLINKS.
28189 * elf/chroot_canon.c (chroot_canon): Likewise.
28190
7aab07e4
JM
281912012-08-03 Joseph Myers <joseph@codesourcery.com>
28192
28193 [BZ #13717]
28194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28195 Change to 2.6.0 everywhere.
28196 * sysdeps/unix/sysv/linux/configure: Regenerated.
28197 * sysdeps/unix/sysv/linux/kernel-features.h
28198 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28199 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28200 kernel versions.
28201 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28202 (__ASSUME_FUTEX_REQUEUE): Remove.
28203 (__ASSUME_STATFS64): Define unconditionally.
28204 (__ASSUME_AT_SECURE): Likewise.
28205 (__ASSUME_CORRECT_SI_PID): Likewise.
28206 (__ASSUME_TGKILL): Define without depending on kernel version for
28207 i386.
28208 (__ASSUME_UTIMES): Likewise.
28209 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28210 kernel version.
28211 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28212 (__ASSUME_TMPFS_NAME): Likewise.
28213 * README: Update reference to Linux kernel versions.
28214
b67e9372
MP
282152012-08-02 Marek Polacek <polacek@redhat.com>
28216
1f529f7d 28217 [BZ# 14150]
b67e9372
MP
28218 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28219 libc_cv_asm_type_prefix with %.
28220 * configure: Regenerated.
d2441631
RM
28221 * include/libc-symbols.h: Remove comment about
28222 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28223 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28224 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28225 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28226 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28227 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28228 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28229 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28230 * elf/tst-unique2mod1.c: Likewise.
28231 * elf/tst-unique1mod2.c: Likewise.
28232 * elf/tst-unique1mod1.c: Likewise.
28233 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28234 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28235 Replace ASM_TYPE_DIRECTIVE with .type.
28236 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28237 * sysdeps/i386/sysdep.h: Likewise.
28238 * sysdeps/x86_64/sysdep.h: Likewise.
28239 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28241 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28242 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28243 * sysdeps/powerpc/powerpc32/sysdep.h:
28244 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28245 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28246 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28247 * sysdeps/i386/fpu/e_powf.S: Likewise.
28248 * sysdeps/i386/fpu/e_expl.S: Likewise.
28249 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28250 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28251 * sysdeps/i386/fpu/e_pow.S: Likewise.
28252 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28253 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28254 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28255 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28256 * sysdeps/i386/fpu/e_log2.S: Likewise.
28257 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28258 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28259 * sysdeps/i386/fpu/e_powl.S: Likewise.
28260 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28261 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28262 * sysdeps/i386/fpu/e_logl.S: Likewise.
28263 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28264 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28265 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28266 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28267 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28268 * sysdeps/i386/fpu/e_log.S: Likewise.
28269 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28270 * sysdeps/i386/fpu/e_logf.S: Likewise.
28271 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28272 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28273 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28274 * sysdeps/i386/fpu/e_log10.S: Likewise.
28275 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28276 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28277 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28278 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28279 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28280 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28281 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28282 * sysdeps/i386/i686/strtok.S: Likewise.
28283 * sysdeps/i386/i386-mcount.S: Likewise.
28284 * sysdeps/i386/strtok.S: Likewise.
28285 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28286 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28287 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28288 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28289 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28290 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28291 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28292 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28293 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28294 * sysdeps/x86_64/_mcount.S: Likewise.
28295 * sysdeps/x86_64/strtok.S: Likewise.
28296 * sysdeps/sh/_mcount.S: Likewise.
28297
2747bf9a
RM
282982012-08-01 Roland McGrath <roland@hack.frob.com>
28299
28300 * libio/iofopen.c: Include <fcntl.h>.
28301 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28302 (_IO_fopen64, fopen64): Define as aliases.
28303 * libio/iofopen64.c: Include <fcntl.h>.
28304 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28305 Conditionalize body on this.
28306 * sysdeps/wordsize-64/iofopen.c: File removed.
28307 * sysdeps/wordsize-64/iofopen64.c: File removed.
28308
3fb791b8
MP
283092012-08-01 Marek Polacek <polacek@redhat.com>
28310
28311 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28312 Use dlfcn directly instead of a variable.
28313 (binfmt-subdir): Do not define.
28314 (dlfcn): Likewise.
28315
a9f1039f
JM
283162012-08-01 Joseph Myers <joseph@codesourcery.com>
28317
23bddc06
JM
28318 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28319 Remove all definitions.
28320 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28321 <kernel-features.h>.
28322 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28323 (miss_F_GETOWN_EX): Remove all definitions.
28324 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28325 macro definition.
28326 [!__ASSUME_FCNTL64]: Remove conditional code.
28327 [__ASSUME_FCNTL64]: Make code unconditional.
28328 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28329 <kernel-features.h>.
28330 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28331 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28332 (lockf64) [__NR_fcntl64]: Make code unconditional.
28333 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28334
a9f1039f
JM
28335 * sysdeps/unix/sysv/linux/kernel-features.h
28336 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28337 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28338 Make code unconditional.
28339 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28340 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28342 [__NR_vfork]: Make code unconditional.
28343 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28344 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28346 [__NR_vfork]: Make code unconditional.
28347 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28348 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28349
09c0ee5f
RM
283502012-08-01 Roland McGrath <roland@hack.frob.com>
28351
48aec5b9
RM
28352 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28353 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28354
cd97c966
RM
28355 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28356 Define mkstemp64 as an alias.
3f55550c
RM
28357 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28358 Define mkstemps64 as an alias.
cd97c966
RM
28359 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28360 Define mkostemp64 as an alias.
b8625cfc
RM
28361 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28362 Define mkostemps64 as an alias.
cd97c966
RM
28363 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28364 Conditionalize body on this.
28365 * misc/mkostemp64.c: Likewise.
b8625cfc 28366 * misc/mkostemps64.c: Likewise.
3f55550c 28367 * misc/mkstemps64.c: Likewise.
cd97c966
RM
28368 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28369 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28370 * sysdeps/wordsize-64/mkostemp.c: File removed.
28371 * sysdeps/wordsize-64/mkstemp.c: File removed.
28372 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28373 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28374 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28375 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28376
09c0ee5f
RM
28377 [BZ #14138]
28378 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28379 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28380 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28381 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28382
28383 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28384 compat_symbol macros from <shlib-compat.h> rather than the underlying
28385 default_symbol_version and symbol_version macros, so that DEFAULT
28386 lines in shlib-versions are respected.
28387 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28388
7e66ee51
FW
283892012-08-01 Florian Weimer <fweimer@redhat.com>
28390
28391 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28392 Declare with warn_unused_result.
28393 (setgid, setregid, setegid, setresgid): Likewise.
28394 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28395 Likewise.
28396 * WUR-REPORT: Remove set*id functions.
28397
d2a54255
PT
283982012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28399
28400 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28401
7ecdb005
RM
284022012-07-31 Roland McGrath <roland@hack.frob.com>
28403
b4180a5e 28404 [BZ #10191]
789bd351
RM
28405 * include/sys/socket.h (__libc_accept, __libc_accept4):
28406 Add attribute_hidden.
28407 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28408
40ce302d
RM
28409 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28410 use of PTR_MANGLE.
28411 * inet/getnetgrent_r.c (setup): Likewise.
28412
7ecdb005
RM
28413 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28414
e2eabb2c
DM
284152012-07-31 David S. Miller <davem@davemloft.net>
28416
28417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28418
d0419dbf
JM
284192012-07-31 Joseph Myers <joseph@codesourcery.com>
28420
28421 [BZ #13629]
28422 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28423 value between 1.0 and 2.0 and smaller part has absolute value less
28424 than 1.0.
28425 * math/s_clog10.c (__clog10): Likewise.
28426 * math/s_clog10f.c (__clog10f): Likewise.
28427 * math/s_clog10l.c (__clog10l): Likewise.
28428 * math/s_clogf.c (__clogf): Likewise.
28429 * math/s_clogl.c (__clogl): Likewise.
28430 * math/libm-test.inc (clog_test): Add more tests.
28431 (clog10_test): Likewise.
28432 * sysdeps/i386/fpu/libm-test-ulps: Update.
28433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28434
2bc13872
FW
284352012-07-31 Florian Weimer <fweimer@redhat.com>
28436
28437 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28438 Exit with zero in case no suitable GID is found, and write a
28439 message to standard error.
28440
bea9b193
RM
284412012-07-30 Roland McGrath <roland@hack.frob.com>
28442
28443 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28444 rather than to 1.
28445 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28446 (MAXPATHLEN): Removed.
28447 (NOGROUP, NODEV): New macros.
28448 (setbit, clrbit, isset, isclr): New macros.
28449 (howmany, roundup, powerof2): New macros.
28450 (DEV_BSIZE): New macro.
28451
28452 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28453 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28454
28455 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28456 definition on [!__NO_LONG_DOUBLE_MATH].
28457
28458 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28459 PTR_MANGLE and PTR_DEMANGLE.
28460
28461 * socket/accept4.c (accept4): Rename to __libc_accept4.
28462 Define accept4 as a weak alias.
28463
28464 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28465 on [_DIRENT_HAVE_D_TYPE].
28466 * io/ftw.c (ftw_dir): Likewise.
28467
28468 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28469
28470 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28471
28472 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28473 Use the BSD numbers rather than the arbitrary ones we had.
28474 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28475 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28476 (SIGXCPU, SIGXFSZ): New macros.
28477 (_NSIG): Now 32.
28478
28479 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28480 initializer on [_LIBC_REENTRANT].
28481
28482 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28483 definitions inside [_POSIX_MAPPED_FILES].
28484
28485 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28486
28487 * dirent/opendir.c: Include <fcntl.h>.
28488
28489 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28490 (__libc_getspecific): Likewise.
28491 (__libc_key_create): Likewise.
28492
28493 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28494 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28495 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28496 (tmpfile64): Define as alias.
28497 * sysdeps/wordsize-64/tmpfile.c: File removed.
28498 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28499 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28500 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28501
28502 * stdio-common/vfscanf.c: Include <stdbool.h>.
28503 * nss/makedb.c: Likewise.
28504 * stdio-common/_i18n_number.h: Likewise.
28505 * argp/argp-help.c: Likewise.
28506 * posix/wordexp.c: Likewise.
28507 * sysdeps/posix/spawni.c: Likewise.
28508 * nss/nss_files/files-initgroups.c: Likewise.
28509 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28510 * nss/nss_files/files-initgroups.c: Likewise.
28511 * nss/nss_db/db-netgrp.c: Likewise.
28512 * nss/nss_db/db-initgroups.c: Likewise.
28513 * io/fchmodat.c: Include <sys/stat.h>.
28514
28515 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28516 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28517
28518 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28519 [HAVE_MMAP].
28520
28521 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28522 Add multiple inclusion protection.
28523
e5abc686
DM
285242012-07-27 David S. Miller <davem@davemloft.net>
28525
28526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28527
815e6fa3
GB
285282012-07-27 Gary Benson <gbenson@redhat.com>
28529
28530 [BZ #14298]
28531 * elf/rtld.c: Include <stap-probe.h>.
28532 (dl_main): Added static probes "init_start" and "init_complete".
28533 * elf/dl-load.c: Include <stap-probe.h>.
28534 (lose): Take new parameter "nsid".
28535 Added static probe "map_failed".
28536 (_dl_map_object_from_fd): Pass namespace id to lose.
28537 Added static probe "map_start".
28538 (open_verify): Pass namespace id to lose.
28539 * elf/dl-open.c: Include <stap-probe.h>.
28540 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28541 and "reloc_complete".
28542 * elf/dl-close.c: Include <stap-probe.h>.
28543 (_dl_close_worker): Added static probes "unmap_start" and
28544 "unmap_complete".
28545 * elf/rtld-debugger-interface.txt: New file documenting the above.
28546
9f98c16c
RM
285472012-07-26 Roland McGrath <roland@hack.frob.com>
28548
28549 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28550 rather than a string variable.
28551 * sunrpc/rpc_main.c (h_output): Likewise.
28552 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28553
f3c22df3
PT
285542012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28555
28556 * inet/check_native.c: New file.
28557
3129cfc6
JM
285582012-07-26 Joseph Myers <joseph@codesourcery.com>
28559
da865e95
JM
28560 [BZ #13629]
28561 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28562 if larger part has absolute value 1.0.
28563 * math/s_clog10.c (__clog10): Likewise.
28564 * math/s_clog10f.c (__clog10f): Likewise.
28565 * math/s_clog10l.c (__clog10l): Likewise.
28566 * math/s_clogf.c (__clogf): Likewise.
28567 * math/s_clogl.c (__clogl): Likewise.
28568 * math/libm-test.inc (clog_test): Add more tests.
28569 (clog10_test): Likewise.
28570 * sysdeps/i386/fpu/libm-test-ulps: Update.
28571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28572
3129cfc6
JM
28573 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28574 (pltexit): Likewise.
28575 (La_regs): Likewise.
28576 (La_retval): Likewise.
28577 (int_retval): Likewise.
28578 Update #error for removed macros to refer only to definitions in
28579 tst-audit.h.
28580 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28581 macro.
28582 (pltexit): Likewise.
28583 (La_regs): Likewise.
28584 (La_retval): Likewise.
28585 (int_retval): Likewise.
28586 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28587 macro.
28588 (pltexit): Likewise.
28589 (La_regs): Likewise.
28590 (La_retval): Likewise.
28591 (int_retval): Likewise.
28592 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28593 macro.
28594 (pltexit): Likewise.
28595 (La_regs): Likewise.
28596 (La_retval): Likewise.
28597 (int_retval): Likewise.
28598 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28599 macro.
28600 (pltexit): Likewise.
28601 (La_regs): Likewise.
28602 (La_retval): Likewise.
28603 (int_retval): Likewise.
28604 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28605 macro.
28606 (pltexit): Likewise.
28607 (La_regs): Likewise.
28608 (La_retval): Likewise.
28609 (int_retval): Likewise.
28610 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28611 macro.
28612 (pltexit): Likewise.
28613 (La_regs): Likewise.
28614 (La_retval): Likewise.
28615 (int_retval): Likewise.
28616 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28617 macro definitions in tst-audit.h.
28618 * sysdeps/i386/tst-audit.h: New file.
28619 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28620 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28621 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28622 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28623 * sysdeps/sh/tst-audit.h: Likewise.
28624 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28625 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28626 * sysdeps/x86_64/tst-audit.h: Likewise.
28627
bfc07087
AJ
286282012-07-26 Andreas Jaeger <aj@suse.de>
28629
b1b2aaf8
AJ
28630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28631 ptrace.
28632
28633 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28634 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28635 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28636 PTRACE_O_MASK.
28637 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28638 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28639 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28640
bfc07087
AJ
28641 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28642 value.
28643
28644 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28645 _sigsys.
28646 (si_call_addr, si_syscall, si_arch): Define new macro.
28647 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28648 _sigsys.
28649 (si_call_addr, si_syscall, si_arch): Define new marcro.
28650 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28651 _sigsys.
28652 (si_call_addr, si_syscall, si_arch): Define new macro.
28653 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28654 _sigsys.
28655 (si_call_addr, si_syscall, si_arch): Define new macro.
28656
89b4b02f
JM
286572012-07-25 Joseph Myers <joseph@codesourcery.com>
28658
28659 [BZ #13717]
28660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28661 Change to 2.4.21 where previously 2.4.1.
28662 * sysdeps/unix/sysv/linux/configure: Regenerated.
28663 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28664 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28665 Linux kernel version.
28666 (__ASSUME_STD_AUXV): Remove.
28667 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28668 kernel version.
28669 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28670 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28671 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28672 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28673 (__ASSUME_NETLINK_SUPPORT): Likewise.
28674 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28675 (__no_netlink_support): Remove conditional definition.
28676 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28677 Remove.
28678 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28679 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28680 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28681 (if_nameindex_ioctl): Remove.
28682 (if_nameindex_netlink): Do not handle __no_netlink_support.
28683 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28684 code.
28685 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28686 Remove conditional code.
28687 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28688 code.
28689 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28690 unconditional.
28691 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28692 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28693 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28694 Remove.
28695 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28696 [!__ASSUME_STD_AUXV]: Remove conditional code.
28697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28698 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28699 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28701 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28702 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28703 code.
28704 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28706 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28707 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28708 conditional code.
28709 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28711 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28712 code.
28713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28714 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28715 conditional code.
28716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28717 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28718 code unconditional.
28719 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28720 conditional code.
28721 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28722 unconditional.
28723 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28724 conditional code.
28725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28726 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28727 unconditional.
28728 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28729 conditional code.
28730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28731 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28732 code unconditional.
28733 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28734 conditional code.
28735 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28736 unconditional.
28737 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28738 conditional code.
28739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28740 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28741 code unconditional.
28742 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28743 conditional code.
28744 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28745 unconditional.
28746 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28747 conditional code.
28748
842a39cd
AS
287492012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28750
28751 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28752 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28753 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28754 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28755 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28756 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28757 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28758 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28759 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28760 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28761 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28762 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28763 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28764 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28765 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28766 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28767 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28768 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28769 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28771 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28772 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28773 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28774
84b3fd84
FW
287752012-07-25 Florian Weimer <fweimer@redhat.com>
28776
28777 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28778 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28779 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28780 Introduce __libc_secure_getenv.
0c7936d5
FW
28781 * stdlib/Versions (2.17): Add secure_getenv
28782 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28783 * stdlib/secure-getenv.c: Rename __secure_getenv to
28784 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28785 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28786 * stdlib/tst-secure-getenv.c: New.
28787 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28788 * manual/startup.texi (Environment Access): Document
28789 secure_getenv.
84b3fd84
FW
28790 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28791 __libc_secure_getenv.
28792 * inet/ruserpass.c (ruserpass): Likewise.
28793 * malloc/mtrace.c (mtrace): Likewise.
28794 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28795 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28796 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28797 * sysdeps/posix/tempname.c: Likewise. Evaluate
28798 HAVE_SECURE_GETENV.
28799 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28800 __secure_getenv to __libc_secure_getenv.
84b3fd84 28801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28803 Likewise.
28804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28805 Likewise.
28806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28813
56e49b71
JM
288142012-07-25 Joseph Myers <joseph@codesourcery.com>
28815
28816 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28817 (struct La_i86_retval): Likewise.
28818 (struct La_x86_64_regs): Likewise.
28819 (struct La_x86_64_retval): Likewise.
28820 (struct La_x32_regs): Likewise.
28821 (struct La_x32_retval): Likewise.
28822 (struct La_ppc32_regs): Likewise.
28823 (struct La_ppc32_retval): Likewise.
28824 (struct La_ppc64_regs): Likewise.
28825 (struct La_ppc64_retval): Likewise.
28826 (struct La_sh_regs): Likewise.
28827 (struct La_sh_retval): Likewise.
28828 (struct La_s390_32_regs): Likewise.
28829 (struct La_s390_32_retval): Likewise.
28830 (struct La_s390_64_regs): Likewise.
28831 (struct La_s390_64_retval): Likewise.
28832 (struct La_sparc32_regs): Likewise.
28833 (struct La_sparc32_retval): Likewise.
28834 (struct La_sparc64_regs): Likewise.
28835 (struct La_sparc64_retval): Likewise.
28836 (struct audit_ifaces): Remove architecture-specific pltenter and
28837 pltexit members.
28838 * sysdeps/i386/ldsodefs.h: New file.
28839 * sysdeps/powerpc/ldsodefs.h: Likewise.
28840 * sysdeps/s390/ldsodefs.h: Likewise.
28841 * sysdeps/sh/ldsodefs.h: Likewise.
28842 * sysdeps/sparc/ldsodefs.h: Likewise.
28843 * sysdeps/x86_64/ldsodefs.h: Likewise.
28844
354691b7
MP
288452012-07-25 Marek Polacek <polacek@redhat.com>
28846
28847 [BZ #6808]
28848 * math/libm-test.inc (yn_test): Add another test.
28849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28850 to ERANGE when the result is +-Inf.
28851 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28852 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28853 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28854 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28855
bf9e2071
JM
288562012-07-24 Joseph Myers <joseph@codesourcery.com>
28857
28858 * conform/data/time.h-data (NULL): Use macro-constant. Require
28859 equal to 0.
28860 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28861 clock_t.
28862 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28863
57633811
TS
288642012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28865
28866 * configure.in <sysdeps resolving>: Correct printing
28867 Implies_before.
28868 * configure: Regenerate.
28869
c23c33b0
TS
288702012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28871
28872 * math/w_ilogb.c: Include <limits.h>.
28873 * math/w_ilogbl.c: Likewise.
28874
b5982523
JM
288752012-07-20 Joseph Myers <joseph@codesourcery.com>
28876
28877 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28878 va_copy. Document allowing for unavailable va_copy only as
28879 pre-C99 compatibility.
28880 * manual/string.texi (Copying and Concatenation): Use va_copy
28881 instead of __va_copy in concat example.
28882
ac4ea442
PT
288832012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28884
28885 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28886 (__sendto): Use create_address_port. Initialize APORT and deallocate
28887 it if not null.
28888
f98eafbd
PT
28889 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28890 with O_NOLINK passed to __file_name_lookup.
28891
898c7aab
PT
28892 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28893 with O_NOLINK passed to __file_name_lookup.
28894
0ced335a
PT
28895 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28896 negative N or less than NGIDS.
28897
b3404dbd
PT
28898 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28899 type to string_t. Set ERANGE as errno and return it if NAME is not big
28900 enough. Use memcpy instead of strncpy.
28901
0f48659e
JM
289022012-07-20 Joseph Myers <joseph@codesourcery.com>
28903
28904 * elf/Makefile (check-data): Remove.
28905 (localplt.data): New vpath directive.
28906 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28907 instead of $(check-data).
28908 * scripts/data/localplt-generic.data: Move to ...
28909 * sysdeps/generic/localplt.data: ... here.
28910 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28911 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28912 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28914 ... here.
28915 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28917 ... here.
28918 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28920 ... here.
28921 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28923 ... here.
28924 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28926 ... here.
28927 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28929 ... here.
28930
d37cbdaa
AZ
289312012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28932
28933 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28934 PPC32 and PPC64 files.
28935 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28936 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28937
46f85fc2
AK
289382012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28939
28940 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28941 __makecontext_ret to ...
28942 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28943 ... here and call exit if uc_link is NULL. New file.
28944 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28945 __makecontext_ret.S.
28946 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28947 __makecontext_ret to ...
28948 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28949 ... here and call exit if uc_link is NULL. New file.
28950 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28951 __makecontext_ret.S.
28952
08f43f9b
AK
289532012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28954
28955 * elf/elf.h (R_390_IRELATIVE): New definition.
28956 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28957 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28958 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28959 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28960 (elf_machine_lazy_rel): Likewise.
28961 * sysdeps/s390/dl-irel.h: New file.
28962 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28963 * sysdeps/s390/s390-64/memset.S: New asm code.
28964 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28965 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28966 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28967 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28968 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28969 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28970 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28971 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28972 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28973 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28974 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28975 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28976 * sysdeps/s390/s390-32/memset.S: New asm code.
28977 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28978
3b05db33
MP
289792012-07-17 Marek Polacek <polacek@redhat.com>
28980
28981 [BZ #14349]
28982 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28983 * sysdeps/s390/s390-64/configure.in: Likewise.
28984 * sysdeps/sparc/configure.in: Likewise.
28985 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28986 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28987 * sysdeps/i386/configure.in: Likewise.
28988 * sysdeps/x86_64/configure.in: Likewise.
28989 * sysdeps/sh/configure.in: Likewise.
28990 * sysdeps/s390/s390-32/configure: Regenerated.
28991 * sysdeps/s390/s390-64/configure: Likewise.
28992 * sysdeps/x86_64/configure: Likewise.
28993 * sysdeps/sh/configure: Likewise.
28994 * sysdeps/powerpc/powerpc64/configure: Likewise.
28995 * sysdeps/powerpc/powerpc32/configure: Likewise.
28996 * sysdeps/sparc/configure: Likwise.
28997 * sysdeps/i386/configure: Likewise.
28998
a66877c6
MP
28999 * elf/dl-open.c: Comment fixes.
29000
cfc82fd8
JM
290012012-07-17 Joseph Myers <joseph@codesourcery.com>
29002
bd29910a
JM
29003 * Makefile [CXX] (check-data): Remove.
29004 [CXX] (c++-types.data): New vpath directive.
29005 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29006 vpath. Do not allow for C++ type data being missing.
29007 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29008 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29009 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29010 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29011 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29012 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29013 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29015 ... here.
29016 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29018 ... here.
29019 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29021 ... here.
29022 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29024 ... here.
29025 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29027 ... here.
29028 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29030 ... here.
29031 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29033 ... here.
29034 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29036
cfc82fd8
JM
29037 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29038 definitions to architecture-specific files.
29039 (TLS_IE): Likewise.
29040 (TLS_LD): Likewise.
29041 (TLS_GD): Likewise.
29042 * sysdeps/i386/tls-macros.h: New file.
29043 * sysdeps/powerpc/tls-macros.h: Likewise.
29044 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29045 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29046 * sysdeps/sh/tls-macros.h: Likewise.
29047 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29048 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29049 * sysdeps/x86_64/tls-macros.h: Likewise.
29050
f7db3170
TS
290512012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29052
07cbfc23
TS
29053 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29054 zero value for regular exit case.
29055
f7db3170
TS
29056 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29057 (__start_context): Preserve zero value for regular exit case.
29058
dc97c227
TS
290592012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29060 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29061
29062 * manual/setjmp.texi (setcontext): Clarify normal process
29063 termination when uc_link is the null pointer.
29064 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29065 exit call.
29066
d0cd7d02
AS
290672012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29068
29069 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29070 preprocessor. Test for each exception mask separately.
29071
dd318934
AJ
290722012-07-16 Andreas Jaeger <aj@suse.de>
29073
29074 * po/ru.po: Update from translation team.
29075
8048311a
JM
290762012-07-15 Joseph Myers <joseph@codesourcery.com>
29077
29078 * conform/data/string.h-data (NULL): Use macro-constant. Require
29079 equal to 0.
29080 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29081 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29082 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29083 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29084 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29085
b637d46e
AJ
290862012-07-13 Andreas Jaeger <aj@suse.de>
29087
29088 * po/fr.po: Update from translation team.
29089
541428fe
MP
290902012-07-12 Marek Polacek <polacek@redhat.com>
29091
29092 [BZ #14173]
29093 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29094 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29095 loop condition.
29096
ec332e94
JM
290972012-07-12 Joseph Myers <joseph@codesourcery.com>
29098
29099 [BZ #13717]
29100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29101 Change to 2.4.1 where previously 2.4.0.
29102 * sysdeps/unix/sysv/linux/configure: Regenerated.
29103 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29104 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29105 version.
29106 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29107 (__ASSUME_AT_CLKTCK): Remove.
29108 (__ASSUME_AT_PAGESIZE): Likewise.
29109 (__ASSUME_AT_XID): Likewise.
29110 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29111 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29112 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29113 unconditionally.
29114 (HAVE_AUX_PAGESIZE): Likewise.
29115 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29116 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29117 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29118
7b6e99be
JB
291192012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29120
29121 [BZ #14307]
29122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29123 the temporary buffer used to invoke __gethostbyname2_r,
29124 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29125 host_data / struct gaih_addrtuple.
29126 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29127 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29128 header file nss/nsswitch.h.
29129 * nss/nsswitch.h (global scope): Add definition of implementation
29130 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29131 resolv/nss_dns/dns-host.c).
29132
608404eb
AJ
291332012-07-11 Andreas Jaeger <aj@suse.de>
29134
29135 * po/fr.po: Update from translation team.
29136
71220aca
AJ
29137 * po/sv.po: Update from translation team
29138 * po/fr.po: Another update from translation team.
29139
28cfe843
AZ
291402012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29141
29142 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29143 for subnormals or multiply small sinh result by itself.
29144 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29146
6b90f981
DM
291472012-07-11 David S. Miller <davem@davemloft.net>
29148
29149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29150
c6825772
AS
291512012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29152
29153 [BZ #14347]
29154 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29155 (INTERNAL_MARK): Shift it here.
29156
7b8e0d49
MP
291572012-07-10 Marek Polacek <polacek@redhat.com>
29158
29159 [BZ #14151]
29160 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29161 libc_cv_asm_global_directive with .globl.
29162 * configure: Regenerated.
29163 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29164 with .globl.
29165 * sysdeps/i386/configure: Regenerated.
29166 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29167 with .globl.
29168 * sysdeps/x86_64/configure: Regenerated.
29169 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29170 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29171 * elf/tst-unique2mod2.c: Likewise.
29172 * elf/tst-unique2mod1.c: Likewise.
29173 * elf/tst-unique1mod2.c: Likewise.
29174 * elf/tst-unique1mod1.c: Likewise.
29175 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29176 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29178 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29179 * sysdeps/mach/sysdep.h: Likewise.
29180 * sysdeps/i386/sysdep.h: Likewise.
29181 * sysdeps/i386/i386-mcount.S: Likewise.
29182 * sysdeps/x86_64/_mcount.S: Likewise.
29183 * sysdeps/x86_64/sysdep.h: Likewise.
29184 * sysdeps/sh/_mcount.S: Likewise.
29185 * sysdeps/sh/sysdep.h: Likewise.
29186 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29187 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29188 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29189 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29190 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29191 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29192 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29193 * locale/localeinfo.h: Likewise.
29194 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29195 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29196
6c55cda3
RM
291972012-07-09 Roland McGrath <roland@hack.frob.com>
29198
29199 [BZ #14336]
29200 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29201 system".
29202 * manual/message.texi (The Uniforum approach): Likewise.
29203 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29204 (glibc iconv Implementation): Likewise.
29205
638a572e
JM
292062012-07-09 Joseph Myers <joseph@codesourcery.com>
29207
29208 [BZ #14337]
29209 * math/s_clog.c (__clog): Avoid scaling a value down where that
29210 could result in underflow.
29211 * math/s_clog10.c (__clog10): Likewise.
29212 * math/s_clog10f.c (__clog10f): Likewise.
29213 * math/s_clog10l.c (__clog10l): Likewise.
29214 * math/s_clogf.c (__clogf): Likewise.
29215 * math/s_clogl.c (__clogl): Likewise.
29216 * math/libm-test.inc (clog_test): Add more tests.
29217 (clog10_test): Likewise.
29218 * sysdeps/i386/fpu/libm-test-ulps: Update.
29219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29220
261f4859
AS
292212012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29222
0abaf3e4
AS
29223 [BZ #14283]
29224 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29225 by 7 not 8 to examine high bit of fractional part.
29226
261f4859
AS
29227 [BZ #14042]
29228 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29229 for call to __mcount_internal.
29230 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29231 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29232 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29233
f17ac40d
JM
292342012-07-06 Joseph Myers <joseph@codesourcery.com>
29235
9ad63c23
JM
29236 [BZ #14154]
29237 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29238 approximation for values within 0x1p-13f of an odd multiple of
29239 pi/4.
29240 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29241 exception. Add more tests.
29242 * sysdeps/i386/fpu/libm-test-ulps: Update.
29243
f17ac40d
JM
29244 [BZ #6778]
29245 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29246 inputs and return -1 for them. Do not check for +Inf in case not
29247 reachable for +Inf.
29248 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29249 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29250 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29251 and return -1 for them. Do not check for +Inf in case not
29252 reachable for +Inf.
29253 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29254 define.
29255 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29256 and return -1 for them. Do not check for +Inf in case not
29257 reachable for +Inf.
29258 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29259 spurious underflow.
29260 * sysdeps/i386/fpu/libm-test-ulps: Update.
29261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29262
fb21f89b
MF
292632012-07-06 Mike Frysinger <vapier@gentoo.org>
29264
29265 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29266
cdfe2c5e
JM
292672012-07-05 Joseph Myers <joseph@codesourcery.com>
29268
29269 [BZ #14157]
29270 [BZ #14331]
29271 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29272 could result in spurious underflow. Scale down values above
29273 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29274 * math/s_csqrtf.c (__csqrtf): Likewise.
29275 * math/s_csqrtl.c (__csqrtl): Likewise.
29276 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29277 spurious underflow.
29278 * sysdeps/i386/fpu/libm-test-ulps: Update.
29279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29280
70d35b67
AS
292812012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29282
704bc459
AS
29283 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29284 xopen-msg.sed.
29285 * catgets/xopen-msg.awk: New file.
29286 * catgets/xopen-msg.sed: Removed.
29287
70d35b67
AS
29288 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29289 po2text.sed.
29290 * intl/po2test.awk: New file.
29291 * intl/po2test.sed: Removed.
29292
ca61cf32
JM
292932012-07-04 Joseph Myers <joseph@codesourcery.com>
29294
29295 [BZ #14328]
29296 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29297 or multiply small sinh result by itself.
29298 * math/s_ctanf.c (__ctanf): Likewise.
29299 * math/s_ctanh.c (__ctanh): Likewise.
29300 * math/s_ctanhf.c (__ctanhf): Likewise.
29301 * math/s_ctanhl.c (__ctanhl): Likewise.
29302 * math/s_ctanl.c (__ctanl): Likewise.
29303 * math/libm-test.inc (ctan_test_tonearest): New function.
29304 (ctan_test_towardzero): Likewise.
29305 (ctan_test_downward): Likewise.
29306 (ctan_test_upward): Likewise.
29307 (ctanh_test_tonearest): Likewise.
29308 (ctanh_test_towardzero): Likewise.
29309 (ctanh_test_downward): Likewise.
29310 (ctanh_test_upward): Likewise.
29311 (main): Call these new functions.
29312 * sysdeps/i386/fpu/libm-test-ulps: Update.
29313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29314
ca48a46a
MF
293152012-07-03 Mike Frysinger <vapier@gentoo.org>
29316
29317 * .gitignore: Delete /ports entry.
29318
9d63d37d
AJ
293192012-07-03 Andreas Jaeger <aj@suse.de>
29320
29321 * po/bg.po: Update from translation team.
29322 * po/cs.po: Likewise.
29323 * po/de.po: Likewise.
29324 * po/hr.po: Likewise.
29325 * po/nl.pl: Likewise.
29326 * po/pl.po: Likewise.
29327 * po/vi.po: Likewise.
29328
370ca3d2
JM
293292012-07-03 Joseph Myers <joseph@codesourcery.com>
29330
95f5a9a8
JM
29331 * Makeconfig [!+link] (+link-before-libc): New variable.
29332 [!+link] (+link-after-libc): Likewise.
29333 [!+link] (+link-tests): Likewise.
29334 [!+link] (+link): Define in terms of $(+link-before-libc) and
29335 $(+link-after-libc).
29336 [!+link-static] (+link-static-before-libc): New variable.
29337 [!+link-static] (+link-static-after-libc): Likewise.
29338 [!+link-static] (+link-static-tests): Likewise.
29339 [!+link-static] (+link-static): Define in terms of
29340 $(+link-static-before-libc) and $(+link-static-after-libc).
29341 [build-shared] (link-libc-before-gnulib): New variable.
29342 [build-shared] (link-libc-tests): Likewise.
29343 [build-shared] (link-libc): Define in terms of
29344 $(link-libc-before-gnulib).
29345 [!build-shared] (link-libc-tests): New variable.
29346 (link-libc-static-tests): New variable.
29347 [!gnulib] (gnulib-arch): New variable.
29348 [!gnulib] (gnulib-tests): Likewise.
29349 [!gnulib] (static-gnulib-arch): Likewise.
29350 [!gnulib] (static-gnulib-tests): Likewise.
29351 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29352 Define with "=" instead of ":=".
29353 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29354 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29355 * Rules (binaries-all-notests): New variable.
29356 (binaries-all-tests): Likewise.
29357 (binaries-static-notests): Likewise.
29358 (binaries-static-tests): Likewise.
29359 (binaries-all): Define using $(binaries-all-notests) and
29360 $(binaries-all-tests).
29361 (binaries-static): Define using $(binaries-static-notests) and
29362 $(binaries-static-tests).
29363 (binaries-shared-tests): New variable.
29364 (binaries-shared-notests): Likewise.
29365 (binaries-shared): Remove variable.
29366 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29367 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29368 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29369 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29370 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29371 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29372 * elf/Makefile (sln-modules): New variable.
29373 (extra-objs): Add $(sln-modules:=.o).
29374 (ldconfig-modules): Add static-stubs.
29375 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29376 * elf/static-stubs.c: New file.
29377
7a845b2c
JM
29378 [BZ #14283]
29379 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29380 by 7 not 8 to examine high bit of fractional part. Use volatile
29381 variables when splitting into final array of floats if
29382 __FLT_EVAL_METHOD__ != 0.
29383 * math/libm-test.inc (cos_test): Add another test.
29384 (sin_test): Likewise.
29385 * sysdeps/i386/fpu/libm-test-ulps: Update.
29386
e2283f38
JM
29387 [BZ #14273]
29388 * math/libm-test.inc (cosh_test): Add more tests.
29389
370ca3d2
JM
29390 * version.h (RELEASE): Set to "development".
29391 (VERSION): Set to "2.16.90".
29392
ee9247c3
CD
293932012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29394
29395 * NEWS: Update copyright. Remove last-updated date.
29396 Mention math library bug fixes and timezone data changes.
29397 * README: Mention GNU/Hurd, x32, and HPPA support status.
29398
4648c381
TS
293992012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29400
29401 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29402
aac78a43
AJ
294032012-06-27 Andreas Jaeger <aj@suse.de>
29404
29405 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29406
ed3dbfad
AJ
294072012-06-25 Andreas Jaeger <aj@suse.de>
29408
29409 * sysdeps/s390/fpu/libm-test-ulps: Update.
29410
4d0ee855
AS
294112012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29412 Thomas Schwinge <thomas@codesourcery.com>
29413
29414 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29415 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29416 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29417 fanotify_mark.
29418
af1bce34
TS
294192012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29420
a9fa33ba
TS
29421 * sysdeps/mach/start.c: Remove file.
29422 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29423 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29424 * sysdeps/sh/init-first.c: Likewise.
29425
58f902b8
TS
29426 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29427 registers for frame unwinding purposes, add CFI directives.
29428 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29429 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29430 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29431 Likewise.
29432
1518f58b
TS
29433 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29434 __fortify_fail returning.
29435 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29436
db9b5059
TS
29437 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29438 sysdeps/sh/____longjmp_chk.S.
29439 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29440 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29441 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29442 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29443
967705fe
TS
29444 * sysdeps/sh/abort-instr.h: New file.
29445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29446 process in case exit returns.
29447
a9def8c4
TS
29448 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29449 initialize the GOT register before use.
29450
2a649725
TS
29451 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29452 calculation of ARGC > 4.
29453
af1bce34
TS
29454 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29455 meaningful names to some local labels.
29456
d230f50a
KK
294572012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29458 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29459
29460 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29461 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29462 (__arch_compare_and_exchange_val_16_acq): Likewise.
29463 (__arch_compare_and_exchange_val_32_acq): Likewise.
29464 (atomic_exchange_and_add): Fix gUSA sequence.
29465 (atomic_add): Likewise.
29466 (atomic_add_negative): Likewise.
29467 (atomic_add_zero): Likewise.
29468 (atomic_bit_test_set): Likewise.
29469
0479b305
AS
294702012-06-22 Andreas Schwab <schwab@redhat.com>
29471
29472 [BZ #13579]
29473 * include/link.h (struct link_map): Add l_free_initfini.
29474 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29475 l_initfini.
29476 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29477 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29478 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29479 set.
29480
0e3933b9
CD
294812012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29482
29483 * configure.in: Use AC_LANG_SOURCE.
29484 * configure: Regenerate.
29485
4248b1b1
RM
294862012-06-22 Roland McGrath <roland@hack.frob.com>
29487
29488 * configure.in (libc_cv_localstatedir): New substituted variable.
29489 * configure: Regenerated.
29490 * config.make.in (localstatedir): New variable, substituted from
29491 libc_cv_localstatedir.
29492 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29493 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29494 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29495 * sysdeps/gnu/configure: Regenerated.
29496
006dd861
JL
294972012-06-21 Jeff Law <law@redhat.com>
29498
29499 [BZ #14277]
29500 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29501 free. Simplify list management for _LIBC case.
29502
79662d42
JM
295032012-06-21 Joseph Myers <joseph@codesourcery.com>
29504
b7abb4bf
JM
29505 [BZ #14273]
29506 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29507 Clear sign bit of 64-bit integer value before comparing against
29508 overflow value.
29509
79662d42
JM
29510 * sysdeps/mach/configure: Regenerated.
29511
1f150908
L
295122012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29513
29514 [BZ #14278]
29515 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29516
28363bbf
JL
295172012-06-21 Jeff Law <law@redhat.com>
29518
29519 [BZ #13882]
29520 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29521 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29522 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29523 * elf/dl-open.c (dl_open_worker): Likewise.
29524
09615db4
CD
295252012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29526
29527 * scripts/list-sources.sh: Scan PORTS for translations.
29528 * po/libc.pot: Regenerated.
29529
2174c6dd
AJ
295302012-06-21 Andreas Jaeger <aj@suse.de>
29531
29532 [BZ #12194]
29533 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29534 warning.
29535 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29536 * bits/byteswap-16.h (__bswap_16): Likewise.
29537 * bits/byteswap.h (__bswap_constant_16): Likewise.
29538
3ee947b1
L
295392012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29540
29541 [BZ #14117]
a2f34833
L
29542 * sysdeps/i386/fpu_control.h: Removed.
29543 * sysdeps/x86_64/fpu_control.h: Moved to ...
29544 * sysdeps/x86/fpu_control.h: Here.
29545
3ee947b1
L
29546 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29547 (_FPU_SETCW): Likewise.
29548
ed1825f8
L
295492012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29550
25f1282a
L
29551 [BZ #14117]
29552 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29553 * sysdeps/x86/fpu/bits/mathinline.h: This.
29554 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29555
ed1825f8
L
29556 [BZ #14050]
29557 [BZ #14117]
29558 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29559 functions if __x86_64__ is defined.
29560
36d54b74
CLT
295612012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29562
29563 * string/endian.h: Add !__ASSEMBLER__ condition for including
29564 conversion interfaces.
29565
10285c21
JM
295662012-06-15 Joseph Myers <joseph@codesourcery.com>
29567
29568 [BZ #14241]
29569 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29570 of ABS(x) in calculating zero to negative powers other than odd
29571 integers.
29572 * math/libm-test.inc (pow_test): Add more tests.
29573
06c5abbd
AJ
295742012-06-15 Andreas Jaeger <aj@suse.de>
29575
29576 * manual/contrib.texi (Contributors): Update entry of Liubov
29577 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29578 Machado Filho.
29579
a3aeac40
CH
295802012-06-15 Cyril Hrubis <metan@ucw.cz>
29581
29582 * string/string.h: Add __wur to GNU version of strerror_r.
29583
49bdf4c1
L
295842012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29585
29586 [BZ #14229]
29587 * string/Makefile (tests): Add tst-strtok_r.
29588 * string/tst-strtok_r.c: New file.
29589 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29590 RAX_LP/RDX_LP on SAVE_PTR.
29591
834f9b8d
RM
295922012-06-14 Roland McGrath <roland@hack.frob.com>
29593
29594 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29595
75fa1921
JM
295962012-06-14 Joseph Myers <joseph@codesourcery.com>
29597
29598 * libm_test.inc (csqrt_test): Allow more spurious underflow
29599 exceptions.
29600 (j0_test): Likewise.
29601 (j1_test): Likewise.
29602 (y0_test): Likewise.
29603 (y1_test): Likewise.
29604
771766df
CD
296052012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29606
29607 * po/Makefile (libc.pot): Use UTF-8 charset.
29608
ceb9e56b
PP
296092012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29610
29611 [BZ #14210]
29612 Suppress sign-conversion warning from FD_SET.
29613 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29614 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29615 not unsigned long int.
29616 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29617
ddb28975
L
296182012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29619
29620 [BZ #14050]
29621 [BZ #14117]
29622 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29623 __extern_always_inline instead of __extern_inline.
29624 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29625 (__signbit): Likewise.
29626 (__signbitl): Support C++ namespace.
29627 (lrintf): New inline function.
29628 (lrint): Likewise.
29629 (llrintf): Likewise.
29630 (llrint): Likewise.
29631 (fmaxf): Likewise.
29632 (fmax): Likewise.
29633 (fminf): Likewise.
29634 (fmin): Likewise.
29635 (rint): Likewise.
29636 (rintf): Likewise.
29637 (ceil): Likewise.
29638 (ceilf): Likewise.
29639 (floor): Likewise.
29640 (floorf): Likewise.
29641 (nearbyint): Likewise.
29642 (nearbyintf): Likewise.
29643
d7b4fb26
TS
296442012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29645
29646 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29647 non-default versions.
29648
eb55f5c2
RM
296492012-06-11 Roland McGrath <roland@hack.frob.com>
29650
29651 [BZ #14218]
29652 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29653
366af02c
TS
296542012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29655
99ff6e5c
TS
29656 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29657 (FE_UPWARD, FE_DOWNWARD): Don't define.
29658 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29659 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29660
366af02c
TS
29661 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29662 reading it.
29663 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29664 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29665
793ea851
KK
296662012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29667
29668 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29670 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29671 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29672
a728a38f
L
296732012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29674
29675 [BZ #14117]
c08010c7
L
29676 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29677 * sysdeps/i386/fpu/Implies: New file.
29678 * sysdeps/x86_64/fpu/Implies: Likewise.
29679 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29680 * sysdeps/x86/fpu/bits/fenv.h: This.
29681
a728a38f
L
29682 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29683 __SSE_MATH__.
29684
6e230d11
SP
296852012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29686
29687 [BZ #14134]
29688 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29689 character 0xffff that matches the last element of the
29690 conversion table.
29691
1b671feb
AZ
296922012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29693
29694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29695 fmodl commit.
29696
6043738b
AZ
296972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29698
29699 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29700 values higher than 25.6283.
29701
34ae0b32
AZ
297022012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29703
29704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29705 subnormal exponent extraction and add some __builtin_expect.
29706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29707 Fix for subnormal mantissa calculation.
29708
1214ec8f
MF
297092012-06-04 Mike Frysinger <vapier@gentoo.org>
29710
29711 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29712 cpu2 is -1 and errno is not ENOSYS.
29713
f3d1f93c
L
297142012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29715
29716 [BZ #14117]
0e4a3cd7
L
29717 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29718 * sysdeps/x86/bits/string.h: This.
29719 * sysdeps/x86_64/bits/string.h: Removed.
29720
6704c645
L
29721 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29722 if not compiling for x86-64, but compiling for >= i486.
29723
48495318
L
29724 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29725 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29726
14adcbfc
L
29727 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29728 New macro from Linux kernel 3.4.0.
29729 (FP_XSTATE_MAGIC2): Likewise.
29730 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29731 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29732 (struct _fpx_sw_bytes): New struct.
29733 (struct _xsave_hdr): Likewise.
29734 (struct _ymmh_state): Likewise.
29735 (struct _xstate): Likewise.
29736
68e408ab
L
29737 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29738 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29739 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29740 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29741 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29742 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29743
f3d1f93c
L
29744 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29745 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29746 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29747 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29748 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29749 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29750
d9dc34cd
TMQMF
297512012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29752
29753 [BZ #13743]
29754 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29755 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29756 (sysdep_headers): Include sys/platform/ppc.h.
29757 * sysdeps/powerpc/test-gettimebase.c: Test for
29758 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29759 * manual/Makefile (appendices): Include platform.texi.
29760 * manual/contrib.texi (Contributors): Update @node pointers.
29761 * manual/maint.texi (Maintenance): Likewise.
29762 (Platform): New node.
29763 * manual/platform.texi: New file. Document the new features.
29764
4af3879c
SP
297652012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29766 Jakub Jelinek <jakub@redhat.com>
29767
29768 [BZ #14188]
29769 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29770 where __builtin_expect is unavailable.
29771
2fd6ff13
DM
297722012-06-03 David S. Miller <davem@davemloft.net>
29773
29774 * stdlib/longlong.h: Updated from GCC.
29775
173f7220
AS
297762012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29777
29778 [BZ #14042]
29779 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29780 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29781 __mcount_internal.
29782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29783 (GLIBC_2.16): Likewise.
29784
f34a1c6f
L
297852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29786
29787 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29788
88a4576f
JM
297892012-06-01 Joseph Myers <joseph@codesourcery.com>
29790
ea32bcdd
JM
29791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29792 (default-abi): New variable.
29793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29794 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29795 variable.
29796 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29797 Likewise.
29798 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29799 Likewise.
29800 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29801 Likewise.
29802
88a4576f
JM
29803 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29804 definition. Document in comment.
29805
402fe938
DM
298062012-06-01 David S. Miller <davem@davemloft.net>
29807
29808 * stdlib/longlong.h: Updated from GCC.
29809
3553723f
L
298102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29811
29812 [BZ #14117]
3bd872c4
L
29813 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29814 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29815 sys/debugreg.h sys/io.h here.
29816 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29817 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29818 sys/io.h.
29819 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29820 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29821 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29822 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29823 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29824 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29825
3553723f
L
29826 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29827 Define only if __x86_64__ is defined.
29828
4842e4fe
JM
298292012-06-01 Joseph Myers <joseph@codesourcery.com>
29830
c5bfe3d5
JM
29831 [BZ #14048]
29832 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29833 Use int64_t for variable i.
29834 * math/libm-test.inc (fmod_test): Add more tests.
29835
4842e4fe
JM
29836 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29837 z computation is not scheduled after fetestexcept.
29838 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29839 Use math_force_eval instead of asm to ensure calculation scheduled
29840 before exception test.
29841 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29842 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29843
efb73488
AJ
298442012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29845
29846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29847 computation is not scheduled after fetestexcept.
29848
29bcce7c
L
298492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29850
29851 [BZ #14117]
29852 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29853 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29854
73a68f94
AZ
298552012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29856
29857 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29858 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29859
67b6df78
L
298602012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29861
edf2933a 29862 [BZ #14117]
ebc64a18
L
29863 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29864 <bits/wordsize.h>.
29865 (__WCHAR_MIN): Support __WORDSIZE == 64.
29866 (__WCHAR_MAX): Likewise.
29867
edf2933a
L
29868 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29869 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29870
57c6cf40
L
29871 [BZ #14183]
29872 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29873 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29874
67b6df78 29875 [BZ #14117]
8eb6281e
L
29876 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29877 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29878
aac639f4
L
29879 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29880 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29881
67b6df78
L
29882 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29883 Defined to 1 if __x86_64__ isn't defined.
29884 (_STAT_VER_LINUX_OLD): New.
29885 (st_atime): Remove duplicate.
29886 (st_mtime): Likewise.
29887 (st_ctime): Likewise.
29888
1c2cfe81
DM
298892012-05-31 David S. Miller <davem@davemloft.net>
29890
29891 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29892 entries.
29893
5be8418c
AS
298942012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29895
e7725326
AS
29896 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29897 gen-libm-test.pl.
29898
5be8418c
AS
29899 [BZ #14132]
29900 * elf/dl-reloc.c: Include <_itoa.h>.
29901 (_dl_reloc_bad_type): Remove use of INTUSE.
29902 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29903 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29904 * stdio-common/psiginfo.c (psiginfo): Likewise.
29905 * stdio-common/psignal.c (psignal): Likewise.
29906 * string/strsignal.c (strsignal): Likewise.
29907 * include/signal.h (_sys_siglist): Declare hidden proto.
29908 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29909 INTVARDEF with libc_hidden_data_def.
29910 * stdio-common/itoa-udigits.c: Likewise.
29911 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29912 (_itoa_lower_digits_internal): Remove declaration.
29913 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29914 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29915 (_sys_sigabbrev_internal): Remove aliases.
29916 (_sys_siglist): Define hidden alias.
29917
507352f1
MT
299182012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29919
29920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29921 bits/sysctl.h.
29922
42bbb1c3
L
299232012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29924
29925 [BZ #14117]
6bd784b6
L
29926 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29927 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29928
8bca20f0
L
29929 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29930 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29931 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29932 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29934 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29935
f9e890a9
L
29936 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29937 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29938 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29939
471101a1
L
29940 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29941 with __addr.
29942 (insw): Likewise.
29943 (insl): Likewise.
29944 (outsb): Likewise.
29945 (outsw): Likewise.
29946 (outsl): Likewise.
29947
6451c862
L
29948 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29949 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29950 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29951
a254b8c9
L
29952 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29953 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29954 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29955 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29956 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29957 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29958
b8dfdd92
L
29959 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29960 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29961
578cd270
L
29962 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29963 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29964
de662f5f
L
29965 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29966 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29967 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29968
25653439
L
29969 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29970 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29971 to ...
29972 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29973
6bad24a0
L
29974 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29975 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29976 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29977
42bbb1c3
L
29978 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29979 for x86-64.
29980 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29981
2d10d547
JM
299822012-05-31 Joseph Myers <joseph@codesourcery.com>
29983
29984 * math/math.h (M_El): Use two more decimal places.
29985 (M_LOG2El): Likewise.
29986 (M_LOG10El): Likewise.
29987 (M_LN2l): Likewise.
29988 (M_LN10l): Likewise.
29989 (M_PIl): Likewise.
29990 (M_PI_2l): Likewise.
29991 (M_PI_4l): Likewise.
29992 (M_1_PIl): Likewise.
29993 (M_2_PIl): Likewise.
29994 (M_2_SQRTPIl): Likewise.
29995 (M_SQRT2l): Likewise.
29996 (M_SQRT1_2l): Likewise.
29997
f230c29b
DM
299982012-05-31 David S. Miller <davem@davemloft.net>
29999
30000 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30001 values between float registers.
30002 * sysdeps/sparc/sparc64/memset.S: Likewise.
30003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30004
fed806c3
MF
300052012-05-31 Mike Frysinger <vapier@gentoo.org>
30006
30007 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30008 -D_FORTIFY_SOURCE=1.
30009 (CPPFLAGS-tst-longjmp_chk.c): Define.
30010 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30011 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30012 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30013 CFLAGS-tst-wchar-h.c.
30014
30917259
MP
300152012-05-31 Marek Polacek <polacek@redhat.com>
30016
30017 [BZ #14132]
30018 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30019 __endmntent_internal): Remove declaration.
30020 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30021 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30022 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30023
1c58d5dc
DM
300242012-05-30 David S. Miller <davem@davemloft.net>
30025
30026 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30027 (___Q_simulate_exceptions): Use real FP ops rather than writing
30028 into the %fsr.
30029 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30030 Likewise.
30031
7dc00e0d
L
300322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30033
30034 [BZ #14117]
0bd53985
L
30035 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30036 * sysdeps/x86/bits/xtitypes.h: This.
30037
3a257e66
L
30038 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30039 * sysdeps/x86/bits/wordsize.h: This.
30040
62f62904
L
30041 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30042 * sysdeps/x86/bits/huge_vall.h: This.
30043
404fe9d9
L
30044 * sysdeps/i386/bits/select.h: Removed.
30045 * sysdeps/x86_64/bits/select.h: Renamed to ...
30046 * sysdeps/x86/bits/select.h: This.
30047
d48d0446
L
30048 * sysdeps/i386/bits/setjmp.h: Removed.
30049 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30050 * sysdeps/x86/bits/setjmp.h: This.
30051
7dc00e0d
L
30052 * sysdeps/i386/bits/mathdef.h: Removed.
30053 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30054 * sysdeps/x86/bits/mathdef.h: This.
30055
03277f8f
AS
300562012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30057
30058 [BZ #14132]
30059 * include/sys/socket.h (__connect_internal)
30060 (__libc_sa_len_internal): Remove declaration.
30061 (__connect, __libc_sa_len): Declare hidden_proto.
30062 (SA_LEN): Remove use of INTUSE.
30063 * socket/connect.c: Add libc_hidden_def.
30064 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30065 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30066 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30067 alias.
30068 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30069 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30070 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30071 of adding _internal alias.
30072
13764867
L
300732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30074
30075 [BZ #14117]
6bd97696
L
30076 * sysdeps/i386/bits/link.h: Removed.
30077 * sysdeps/i386/bits/linkmap.h: Likewise.
30078 * sysdeps/x86_64/bits/link.h: Renamed to ...
30079 * sysdeps/x86/bits/link.h: This.
30080 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30081 * sysdeps/x86/bits/linkmap.h: This.
30082
f726f0bb
L
30083 * sysdeps/i386/bits/endian.h: Removed.
30084 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30085 * sysdeps/x86/bits/endian.h: This.
30086
13764867
L
30087 * sysdeps/i386/bits/byteswap.h: Removed.
30088 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30089 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30090 * sysdeps/x86/bits/byteswap.h: This.
30091 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30092 * sysdeps/x86/bits/byteswap-16.h: This.
30093 * sysdeps/i386/Implies: Add x86.
30094 * sysdeps/x86_64/Implies: Likewise.
30095
ae251b0b
DM
300962012-05-30 David S. Miller <davem@davemloft.net>
30097
30098 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30099 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30100 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30101 (FP_TRAPPING_EXCEPTIONS): Define.
30102 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30103 (FP_TRAPPING_EXCEPTIONS): Define.
30104 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30105 subnormals only when inexact has been signalled or underflow
30106 exceptions are enabled.
30107 (_FP_PACK_CANONICAL): Likewise.
30108
d5c90867
L
301092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30110
30111 [BZ #14183]
30112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30113 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30114
63f1549e
RH
301152012-05-30 Richard Henderson <rth@twiddle.net>
30116
8d8f2279
RH
30117 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30118 with #ifndef NOT_IN_libc.
30119
63f1549e
RH
30120 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30121 marked to avoid plt entry.
30122
0ab0291b
L
301232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30124
30125 [BZ #14112]
30126 * Makeconfig (default-abi): New macro.
30127 (abi-includes): Likewise.
30128 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30129 $(abi-$(default-abi)-lib-soname) for soname if defined.
30130 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30131 abi-variants.
30132 * Makefile (installed-stubs): Likewise.
30133 * include/stubs-biarch.h: Removed.
30134 * scripts/lib-names.awk: Only handle one library at a time.
30135 * scripts/soversions.awk: Remove WORDSIZE support.
30136 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30137 entries.
30138 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30139 Removed.
30140 (syscall-list-default-condition): Likewise.
30141 (syscall-list-default-condition): Likewise.
30142 (syscall-list-includes): Likewise.
30143 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30144 syscall-list-* with abi-*. Handle undefined abi-variants.
30145 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30146 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30147 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30148 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30149 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30150 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30151 Removed.
30152 (syscall-list-32-options): Likewise.
30153 (syscall-list-32-condition): Likewise.
30154 (syscall-list-64-options): Likewise.
30155 (syscall-list-64-condition): Likewise.
30156 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30157 macro.
30158 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30159 Renamed to ...
30160 (abi-*): This.
30161 (abi-64-ld-soname): New macro.
30162 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30163 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30164 Renamed to ...
30165 (abi-*): This.
30166 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30167 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30168
4da0431d
JM
301692012-05-30 Joseph Myers <joseph@codesourcery.com>
30170
3a85279c
JM
30171 * sysdeps/unix/sysv/linux/kernel-features.h
30172 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30173 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30174 include <kernel-features.h>.
30175 [!__NR_ftruncate64]: Remove conditional code.
30176 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30177 [__NR_ftruncate64]: Make code unconditional.
30178 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30179 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30180 include <kernel-features.h>.
30181 [!__NR_ftruncate64]: Remove conditional code.
30182 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30183 [__NR_ftruncate64]: Make code unconditional.
30184 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30186 include <kernel-features.h>.
30187 [!__NR_ftruncate64]: Remove conditional code.
30188 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30189 [__NR_ftruncate64]: Make code unconditional.
30190 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30192 include <kernel-features.h>.
30193 [!__NR_ftruncate64]: Remove conditional code.
30194 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30195 [__NR_ftruncate64]: Make code unconditional.
30196 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30197
4da0431d
JM
30198 * configure.in (libc_cv_fpie): Weaken to a compile test using
30199 LIBC_TRY_CC_OPTION.
30200 * configure: Regenerated.
30201
11ef492c
AK
302022012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30203
30204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30208 Refreshed.
30209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30215 Refreshed.
30216
d66ef399
DM
302172012-05-27 David S. Miller <davem@davemloft.net>
30218
30219 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30220 (___Q_zero): New.
30221 (__Q_simulate_exceptions): Return void. Change to simulate
30222 exceptions by writing into the %fsr.
30223 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30224 (__Qp_handle_exceptions): Likewise.
30225 (numbers): Delete.
30226 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30227 __Qp_handle_exceptions.
30228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30229 __Qp_handle_exceptions.
30230 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30231 as unused and give dummy FP_RND_NEAREST initializer.
30232 (FP_INHIBIT_RESULTS): Define.
30233 (___Q_simulate_exceptions): Update declaration.
30234 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30235 formatting.
30236 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30237 as unused and give dummy FP_RND_NEAREST initializer.
30238 (__Qp_handle_exceptions): Update declaration.
30239 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30240 formatting.
30241
04fb54b5
TS
302422012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30243
30244 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30245 the temporary FPU control word.
30246 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30247 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30248 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30249 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30250 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30251 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30252 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30253 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30254 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30255 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30256 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30257
3f99608f
KK
302582012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30259
30260 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30261 fields.
30262
65a4de4e
CLT
302632012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30264
30265 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30266 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30267 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30268 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30269 Likewise.
30270 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30271 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30272 Likewise.
30273
15749d40
UD
302742012-05-27 Ulrich Drepper <drepper@gmail.com>
30275
30276 * po/h.po: Update from translation team.
30277
25dbcb27
AS
302782012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30279
3d3f8e55
AS
30280 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30281
25dbcb27
AS
30282 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30283 handling of denormals.
30284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30285 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30286 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30287 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30289 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30291 Likewise.
30292
7ad47a80 302932012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30294
30295 [BZ #14152]
30296 * math/libm-test.inc (fma_test): Don't always expect underflow
30297 exception.
30298
9c6ea9fa
SP
302992012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30300
30301 [BZ #12416]
30302 * elf/tst-execstack.c: Include stackinfo.h.
30303 (do_test): Adjust test case to ensure that pthread_getattr_np
30304 behaviour remains the same after marking stack executable.
30305
a8239222
JM
303062012-05-25 Joseph Myers <joseph@codesourcery.com>
30307
30308 * sysdeps/unix/sysv/linux/kernel-features.h
30309 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30310 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30311 kernel-features.h.
30312 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30313 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30314 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30315 kernel-features.h.
30316 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30317 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30318
918b5606
L
303192012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30320
30321 * configure.in: Define the default includes to being none.
30322 * configure: Regenerated.
30323
3a097cc7
RM
303242012-05-25 Roland McGrath <roland@hack.frob.com>
30325
8422c9a5
RM
30326 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30327 * sysdeps/x86_64/setjmp.S: Likewise.
30328 * sysdeps/i386/bsd-setjmp.S: Likewise.
30329 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30330 * sysdeps/i386/setjmp.S: Likewise.
30331 * sysdeps/i386/__longjmp.S: Likewise.
30332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30333 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30334
3a097cc7
RM
30335 * include/stap-probe.h: New file.
30336 * configure.in: Handle --enable-systemtap.
30337 * configure: Regenerated.
30338 * config.h.in (USE_STAP_PROBE): New #undef.
30339 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30340 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30341 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30342
21708942
JM
303432012-05-25 Joseph Myers <joseph@codesourcery.com>
30344
30345 [BZ #13717]
30346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30347 to 2.4.0 where earlier.
30348 * sysdeps/unix/sysv/linux/configure: Regenerated.
30349 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30350 <kernel-features.h>.
30351 [__ASSUME_32BITUIDS]: Make code unconditional.
30352 [!__ASSUME_32BITUIDS]: Remove conditional code.
30353 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30354 <kernel-features.h>.
30355 [__ASSUME_32BITUIDS]: Make code unconditional.
30356 [!__ASSUME_32BITUIDS]: Remove conditional code.
30357 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30358 [__ASSUME_32BITUIDS]: Make code unconditional.
30359 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30360 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30361 <kernel-features.h>.
30362 [__ASSUME_32BITUIDS]: Make code unconditional.
30363 [!__ASSUME_32BITUIDS]: Remove conditional code.
30364 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30365 <kernel-features.h>.
30366 [__ASSUME_32BITUIDS]: Make code unconditional.
30367 [!__ASSUME_32BITUIDS]: Remove conditional code.
30368 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30369 <kernel-features.h>.
30370 [__ASSUME_32BITUIDS]: Make code unconditional.
30371 [!__ASSUME_32BITUIDS]: Remove conditional code.
30372 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30373 <kernel-features.h>.
30374 [__ASSUME_32BITUIDS]: Make code unconditional.
30375 [!__ASSUME_32BITUIDS]: Remove conditional code.
30376 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30377 <kernel-features.h>.
30378 [__ASSUME_32BITUIDS]: Make code unconditional.
30379 [!__ASSUME_32BITUIDS]: Remove conditional code.
30380 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30381 <kernel-features.h>.
30382 [__ASSUME_32BITUIDS]: Make code unconditional.
30383 [!__ASSUME_32BITUIDS]: Remove conditional code.
30384 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30385 <kernel-features.h>.
30386 [__ASSUME_32BITUIDS]: Make code unconditional.
30387 [!__ASSUME_32BITUIDS]: Remove conditional code.
30388 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30389 <kernel-features.h>.
30390 [__ASSUME_32BITUIDS]: Make code unconditional.
30391 [!__ASSUME_32BITUIDS]: Remove conditional code.
30392 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30393 <kernel-features.h>.
30394 [__ASSUME_32BITUIDS]: Make code unconditional.
30395 [!__ASSUME_32BITUIDS]: Remove conditional code.
30396 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30397 <kernel-features.h>.
30398 [__ASSUME_32BITUIDS]: Make code unconditional.
30399 [!__ASSUME_32BITUIDS]: Remove conditional code.
30400 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30401 <kernel-features.h>.
30402 [__NR_setresgid] (__setresgid): Do not declare.
30403 [__ASSUME_32BITUIDS]: Make code unconditional.
30404 [!__ASSUME_32BITUIDS]: Remove conditional code.
30405 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30406 <kernel-features.h>.
30407 [__NR_setresuid] (__setresuid): Do not declare.
30408 [__ASSUME_32BITUIDS]: Make code unconditional.
30409 [!__ASSUME_32BITUIDS]: Remove conditional code.
30410 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30411 <kernel-features.h>.
30412 [__ASSUME_32BITUIDS]: Make code unconditional.
30413 [!__ASSUME_32BITUIDS]: Remove conditional code.
30414 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30415 <kernel-features.h>.
30416 [__ASSUME_32BITUIDS]: Make code unconditional.
30417 [!__ASSUME_32BITUIDS]: Remove conditional code.
30418 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30419 <kernel-features.h>.
30420 [__ASSUME_32BITUIDS]: Make code unconditional.
30421 [!__ASSUME_32BITUIDS]: Remove conditional code.
30422 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30423 <kernel-features.h>.
30424 [__ASSUME_32BITUIDS]: Make code unconditional.
30425 [!__ASSUME_32BITUIDS]: Remove conditional code.
30426 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30427 <kernel-features.h>.
30428 [__ASSUME_32BITUIDS]: Make code unconditional.
30429 [!__ASSUME_32BITUIDS]: Remove conditional code.
30430 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30431 <kernel-features.h>.
30432 [__ASSUME_32BITUIDS]: Make code unconditional.
30433 [!__ASSUME_32BITUIDS]: Remove conditional code.
30434 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30435 <kernel-features.h>.
30436 [__ASSUME_32BITUIDS]: Make code unconditional.
30437 [!__ASSUME_32BITUIDS]: Remove conditional code.
30438 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30439 <kernel-features.h>.
30440 [__ASSUME_32BITUIDS]: Make code unconditional.
30441 [!__ASSUME_32BITUIDS]: Remove conditional code.
30442 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30443 <kernel-features.h>.
30444 [__ASSUME_32BITUIDS]: Make code unconditional.
30445 [!__ASSUME_32BITUIDS]: Remove conditional code.
30446 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30447 <kernel-features.h>.
30448 [__ASSUME_32BITUIDS]: Make code unconditional.
30449 [!__ASSUME_32BITUIDS]: Remove conditional code.
30450 * sysdeps/unix/sysv/linux/kernel-features.h
30451 (__ASSUME_SETRESUID_SYSCALL): Remove.
30452 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30453 (__ASSUME_32BITUIDS): Likewise.
30454 (__ASSUME_LDT_WORKS): Likewise.
30455 (__ASSUME_O_DIRECTORY): Likewise.
30456 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30457 architecture but not kernel version.
30458 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30459 (__ASSUME_MMAP2_SYSCALL): Likewise.
30460 (__ASSUME_STAT64_SYSCALL): Likewise.
30461 (__ASSUME_IPC64): Likewise.
30462 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30463 <kernel-features.h>.
30464 [__ASSUME_32BITUIDS]: Make code unconditional.
30465 [!__ASSUME_32BITUIDS]: Remove conditional code.
30466 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30467 <kernel-features.h>.
30468 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30469 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30470 132096]: Remove conditional code.
30471 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30472 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30473 <kernel-features.h>.
30474 [__ASSUME_32BITUIDS]: Make code unconditional.
30475 [!__ASSUME_32BITUIDS]: Remove conditional code.
30476 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30477 <kernel-features.h>.
30478 [__ASSUME_32BITUIDS]: Make code unconditional.
30479 [!__ASSUME_32BITUIDS]: Remove conditional code.
30480 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30481 <kernel-features.h>.
30482 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30483 unconditional.
30484 (__setresgid): Do not declare.
30485 [__ASSUME_32BITUIDS]: Make code unconditional.
30486 [!__ASSUME_32BITUIDS]: Remove conditional code.
30487 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30488 <kernel-features.h>.
30489 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30490 unconditional.
30491 (__setresuid): Do not declare.
30492 [__ASSUME_32BITUIDS]: Make code unconditional.
30493 [!__ASSUME_32BITUIDS]: Remove conditional code.
30494 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30495 <kernel-features.h>.
30496 [__ASSUME_32BITUIDS]: Make code unconditional.
30497 [!__ASSUME_32BITUIDS]: Remove conditional code.
30498 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30499 <kernel-features.h>.
30500 [__ASSUME_32BITUIDS]: Make code unconditional.
30501 [!__ASSUME_32BITUIDS]: Remove conditional code.
30502
a386f1cc
RH
305032012-05-25 Richard Henderson <rth@twiddle.net>
30504
30505 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30506 dl_hwcap to ifunc resolver.
30507 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30508 elf_ifunc_invoke.
30509 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30510 dl_hwcap to ifunc resolver.
30511 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30512
b6550497
JM
305132012-05-24 Joseph Myers <joseph@codesourcery.com>
30514
30515 [BZ #14153]
30516 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30517 for |x| <= 2**-26, not 2**-57.
30518 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30519 exception.
30520
b0bc23a1
JL
305212012-05-24 Jeff Law <law@redhat.com>
30522
30523 * stdio-common/Makefile (tests): Add bug25.
30524 * stdio-common/bug25.c: New test.
30525
347c92e9
L
305262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30527
30528 [BZ #13576]
30529 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30530 multiple of MALLOC_ALIGNMENT in size.
30531 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30532
6bcc8b3f
JM
305332012-05-24 Joseph Myers <joseph@codesourcery.com>
30534
30535 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30536 Require >= 256.
30537 (FILENAME_MAX): Use macro-int-constant.
30538 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30539 (_IOFBF): Use macro-int-constant.
30540 (_IOLBF): Likewise.
30541 (_IONBF): Likewise.
30542 (SEEK_CUR): Likewise.
30543 (SEEK_END): Likewise.
30544 (SEEK_SET): Likewise.
30545 (TMP_MAX): Likewise.
30546 (EOF): Use macro-int-constant. Require < 0.
30547 (NULL): Use macro-constant. Require == 0.
30548 (stdin): Require type to be FILE *.
30549 (stdout): Likewise.
30550 (stderr): Likewise.
30551 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30552 macro-int-constant.
30553 (EXIT_SUCCESS): Likewise.
30554 (NULL): Use macro-constant. Require == 0.
30555 (RAND_MAX): Use macro-int-constant.
30556 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30557 [C99-based standards] (strtof): Require function.
30558 [C99-based standards] (strtold): Likewise.
30559 [C99-based standards] (strtoll): Likewise.
30560 [C99-based standards] (strtoull): Likewise.
30561 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30562 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30563 [ISO || ISO99 || ISO11] (math.h): Likewise.
30564 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30565 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30567
d18ea0c5
AS
305682012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30569
30570 [BZ #14132]
56d25bb8
AS
30571 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30572 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30573 * intl/dgettext.c (DCGETTEXT): Likewise.
30574 * intl/gettext.c (DCGETTEXT): Likewise.
30575 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30576 * posix/regex_internal.h (gettext): Likewise.
30577 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30578 Remove declaration.
30579 * include/argz.h (__argz_count_internal)
30580 (__argz_stringify_internal): Remove declaration.
30581 (__argz_count, __argz_stringify): Declare hidden proto.
30582 * intl/dcgettext.c: Remove use of INTDEF.
30583 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30584 * string/argz-stringify.c: Likewise.
30585 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30586 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30587 Declare hidden proto.
d18ea0c5
AS
30588 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30589 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30590 Declare hidden proto.
30591 * include/stdio.h (__asprintf_internal): Don't declare.
30592 (__asprintf): Don't define as macro. Declare hidden proto.
30593 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30594 (__fsetlocking): Declare hidden proto.
30595 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30596 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30597 hidden proto.
30598 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30599 (_IO_setlinebuf): Remove use of INTUSE.
30600 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30601 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30602 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30603 Remove declaration.
30604 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30605 (_IO_do_flush): Remove use of INTUSE.
30606 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30607 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30608 (_IO_adjust_column, _IO_least_wmarker)
30609 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30610 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30611 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30612 (_IO_default_doallocate, _IO_wdefault_doallocate)
30613 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30614 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30615 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30616 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30617 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30618 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30619 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30620 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30621 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30622 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30623 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30624 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30625 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30626 proto.
30627 (_IO_flush_all_internal, _IO_adjust_column_internal)
30628 (_IO_default_uflow_internal, _IO_default_finish_internal)
30629 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30630 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30631 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30632 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30633 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30634 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30635 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30636 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30637 (_IO_file_close_internal, _IO_file_close_it_internal)
30638 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30639 (_IO_file_init_internal, _IO_file_attach_internal)
30640 (_IO_file_fopen_internal, _IO_file_read_internal)
30641 (_IO_file_sync_internal, _IO_file_seek_internal)
30642 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30643 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30644 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30645 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30646 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30647 (_IO_list_all_internal, _IO_link_in_internal)
30648 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30649 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30650 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30651 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30652 (_IO_do_write_internal, _IO_padn_internal)
30653 (_IO_getline_info_internal, _IO_getline_internal)
30654 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30655 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30656 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30657 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30658 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30659 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30660 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30661 with libc_hidden_ver, remove use of INTUSE.
30662 * libio/genops.c: Likewise.
30663 * libio/freopen.c: Likewise.
30664 * libio/freopen64.c: Likewise.
30665 * libio/iofclose.c: Likewise.
30666 * libio/iofdopen.c: Likewise.
30667 * libio/iofflush.c: Likewise.
30668 * libio/iofflush_u.c: Likewise.
30669 * libio/iofgets.c: Likewise.
30670 * libio/iofgets_u.c: Likewise.
30671 * libio/iofopen.c: Likewise.
30672 * libio/iofopncook.c: Likewise.
30673 * libio/iofread.c: Likewise.
30674 * libio/iofread_u.c: Likewise.
30675 * libio/ioftell.c: Likewise.
30676 * libio/iofwrite.c: Likewise.
30677 * libio/iogetline.c: Likewise.
30678 * libio/iogets.c: Likewise.
30679 * libio/iogetwline.c: Likewise.
30680 * libio/iopadn.c: Likewise.
30681 * libio/iopopen.c: Likewise.
30682 * libio/ioseekoff.c: Likewise.
30683 * libio/ioseekpos.c: Likewise.
30684 * libio/iosetbuffer.c: Likewise.
30685 * libio/iosetvbuf.c: Likewise.
30686 * libio/ioungetc.c: Likewise.
30687 * libio/ioungetwc.c: Likewise.
30688 * libio/iovdprintf.c: Likewise.
30689 * libio/iovsprintf.c: Likewise.
30690 * libio/iovsscanf.c: Likewise.
30691 * libio/memstream.c: Likewise.
30692 * libio/obprintf.c: Likewise.
30693 * libio/oldfileops.c: Likewise.
30694 * libio/oldiofclose.c: Likewise.
30695 * libio/oldiofdopen.c: Likewise.
30696 * libio/oldiofopen.c: Likewise.
30697 * libio/oldiopopen.c: Likewise.
30698 * libio/oldstdfiles.c: Likewise.
30699 * libio/putc.c: Likewise.
30700 * libio/setbuf.c: Likewise.
30701 * libio/setlinebuf.c: Likewise.
30702 * libio/stdfiles.c: Likewise.
30703 * libio/strops.c: Likewise.
30704 * libio/vasprintf.c: Likewise.
30705 * libio/vscanf.c: Likewise.
30706 * libio/vsnprintf.c: Likewise.
30707 * libio/vswprintf.c: Likewise.
30708 * libio/wfiledoalloc.c: Likewise.
30709 * libio/wfileops.c: Likewise.
30710 * libio/wgenops.c: Likewise.
30711 * libio/wmemstream.c: Likewise.
30712 * libio/wstrops.c: Likewise.
30713 * libio/__fpurge.c: Likewise.
30714 * libio/__fsetlocking.c: Likewise.
30715 * assert/assert.c: Likewise.
30716 * debug/fgets_chk.c: Likewise.
30717 * debug/fgets_u_chk.c: Likewise.
30718 * debug/fread_chk.c: Likewise.
30719 * debug/fread_u_chk.c: Likewise.
30720 * debug/gets_chk.c: Likewise.
30721 * debug/obprintf_chk.c: Likewise.
30722 * debug/vasprintf_chk.c: Likewise.
30723 * debug/vdprintf_chk.c: Likewise.
30724 * debug/vsnprintf_chk.c: Likewise.
30725 * debug/vsprintf_chk.c: Likewise.
30726 * malloc/mtrace.c: Likewise.
30727 * misc/error.c: Likewise.
30728 * misc/syslog.c: Likewise.
30729 * stdio-common/asprintf.c: Likewise.
30730 * stdio-common/fxprintf.c: Likewise.
30731 * stdio-common/getw.c: Likewise.
30732 * stdio-common/isoc99_fscanf.c: Likewise.
30733 * stdio-common/isoc99_scanf.c: Likewise.
30734 * stdio-common/isoc99_vfscanf.c: Likewise.
30735 * stdio-common/isoc99_vscanf.c: Likewise.
30736 * stdio-common/isoc99_vsscanf.c: Likewise.
30737 * stdio-common/printf-prs.c: Likewise.
30738 * stdio-common/printf_fp.c: Likewise.
30739 * stdio-common/printf_fphex.c: Likewise.
30740 * stdio-common/printf_size.c: Likewise.
30741 * stdio-common/putw.c: Likewise.
30742 * stdio-common/scanf.c: Likewise.
30743 * stdio-common/sprintf.c: Likewise.
30744 * stdio-common/tmpfile.c: Likewise.
30745 * stdio-common/vfprintf.c: Likewise.
30746 * stdio-common/vfscanf.c: Likewise.
30747 * stdlib/strfmon_l.c: Likewise.
30748 * sunrpc/openchild.c: Likewise.
30749 * sunrpc/xdr_stdio.c: Likewise.
30750 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30751 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30752
d6c33fda
RM
307532012-05-24 Roland McGrath <roland@hack.frob.com>
30754
c1487492
RM
30755 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30756
30757 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30758 in the third column, to generate for the shared library an IFUNC
30759 that uses _dl_vdso_vsym.
30760 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30761 * Makeconfig (object-suffixes-noshared): New variable.
30762
30763 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30764 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30765 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30766 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30767
d6c33fda
RM
30768 [BZ #14132]
30769 * include/sys/time.h (__gettimeofday): Remove macro.
30770 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30771 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30772 Remove INTDEF.
30773 (__gettimeofday): Add libc_hidden_def.
30774 (gettimeofday): Add libc_hidden_weak.
30775 * sysdeps/mach/gettimeofday.c: Likewise.
30776 * sysdeps/posix/gettimeofday.c: Likewise.
30777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30778 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30779 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30780 (__gettimeofday_internal): Remove strong_alias.
30781 (__gettimeofday): Add libc_hidden_def.
30782 (gettimeofday): Add libc_hidden_weak.
30783 * sysdeps/unix/syscalls.list (gettimeofday):
30784 Remove __gettimeofday_internal alias.
30785
b5a2bbe6
L
307862012-05-24 Daniel Jacobowitz <drow@false.org>
30787 H.J. Lu <hongjiu.lu@intel.com>
30788
30789 [BZ #12495]
30790 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30791 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30792 (largebin_index_32_big): New.
30793 (largebin_index): Use it for 16-byte alignment.
30794 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30795 correction with front_misalign.
30796
cfba4fda
L
307972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30798
7f907421
L
30799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30801 Likewise.
30802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30803 Likewise.
30804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30805 Likewise.
30806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30807 Likewise.
30808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30809 Likewise.
30810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30811 Likewise.
30812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30813 Likewise.
30814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30815 Likewise.
30816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30817 Likewise.
30818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30819 Likewise.
30820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30821 Likewise.
30822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30823 Likewise.
30824
cfba4fda
L
30825 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30826 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30827
80bad0cc
JM
308282012-05-24 Joseph Myers <joseph@codesourcery.com>
30829
7a25eb06
JM
30830 [BZ #10846]
30831 [BZ #14036]
30832 * math/libm-test.inc (exp_test): Add test from bug 14036.
30833 (pow_test): Add test from bug 10846.
30834
795405f9
JM
30835 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30836 and other flags.
30837 (special_function): Do not include flags in test name.
30838 (parse_args): Likewise.
30839 * sysdeps/i386/fpu/libm-test-ulps: Update.
30840 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30841 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30842 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30844
80bad0cc
JM
30845 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30846 exceptions.
30847 * math/libm-test.inc ("Philosophy"): Update comment about
30848 exception testing.
30849 (UNDERFLOW_EXCEPTION): New macro.
30850 (UNDERFLOW_EXCEPTION_OK): Likewise.
30851 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30852 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30853 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30854 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30855 (INVALID_EXCEPTION_OK): Update value.
30856 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30857 (OVERFLOW_EXCEPTION_OK): Likewise.
30858 (IGNORE_ZERO_INF_SIGN): Likewise.
30859 (test_exceptions): Handle underflow exceptions.
30860 (acos_test): Update for underflow exception expectations.
30861 (cexp_test): Likewise.
30862 (clog_test): Likewise.
30863 (clog10_test): Likewise.
30864 (csqrt_test): Likewise.
30865 (ctan_test): Likewise.
30866 (ctanh_test): Likewise.
30867 (exp_test): Likewise.
30868 (exp10_test): Likewise.
30869 (exp2_test): Likewise.
30870 (expm1_test): Likewise.
30871 (fma_test): Likewise.
30872 (j0_test): Likewise.
30873 (jn_test): Likewise.
30874 (nexttoward_test): Likewise.
30875 (pow_test): Likewise.
30876 (scalbn_test): Likewise.
30877 (scalbln_test): Likewise.
30878 (tan_test): Likewise.
30879 (y1_test): Likewise.
30880 * sysdeps/i386/fpu/libm-test-ulps: Update.
30881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30882
9e0e3d0b
DM
308832012-05-23 David S. Miller <davem@davemloft.net>
30884
30885 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30886 (__libc_sigaction): Remove unused local variables.
30887
ccd0a08f
L
308882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30889
30890 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30891
62bdf9a6
PE
308922012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30893
f8591f80
PE
30894 mktime: avoid signed integer overflow
30895 * time/mktime.c (__mktime_internal): Do not mishandle the case
30896 where diff == INT_MIN.
30897
94c7d826
PE
30898 mktime: simplify computation of average
30899 * time/mktime.c (ranged_convert): Use new time_t_avg function
30900 instead of rolling our own (probably-slower) code.
30901
ce73d683
PE
30902 mktime: do not assume signed right shift propagates sign bit
30903 * time/mktime.c (isdst_differ): New static function.
30904 (__mktime_internal): No need to normalize tm_isdst now.
30905 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30906 tm_isdst values.
30907
72a22e59
PE
30908 mktime: merge another wrapv change from gnulib
30909 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30910 from some compilers.
30911
68605433
PE
30912 mktime: remove incorrect attempt at unusual arithmetics
30913 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30914 The code didn't really work on such machines anyway.
30915 (TYPE_MINIMUM): Assume two's complement.
30916 (twos_complement_arithmetic): Verify that long_int and time_t
30917 are two's complement (or unsigned, in the latter case).
30918
03cf7fe3
PE
30919 mktime: check signed shifts on long_int and time_t, too
30920 * time/mktime.c (SHR): Check that shifts work as desired
30921 on the types long_int and time_t too, as SHR is used on
30922 such types.
30923
f04dfbc2
PE
30924 mktime: do not assume 'long' is wide enough
30925 * time/mktime.c (verify): Move decl up.
30926 (long_int): New type.
30927 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30928 to remove assumption in the code that 'long' is wide enough to
30929 store year values. This assumption is not true on x32 and on
30930 some non-glibc platforms.
30931
62bdf9a6
PE
30932 mktime: merge wrapv change from gnulib
30933 * time/mktime.c (WRAPV): New macro.
30934 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30935 (guess_time_tm, __mktime_internal): Do not assume that signed
30936 integer overflow wraps around; modern compilers generate code
30937 where this assumption is no longer valid.
30938
5e292e4f
L
309392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30940
30941 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30942 Replace "jmp L(pseudo_end)" with "ret".
30943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30944 Likewise.
30945
8caf8c87
AJ
309462012-05-23 Andreas Jaeger <aj@suse.de>
30947
30948 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30949 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30950
1a09dc56
AJ
309512012-05-23 Andreas Jaeger <aj@suse.de>
30952 Maximilian Attems <max@stro.at>
30953
30954 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30955 New macros.
30956
1c87aba0
L
309572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30958
30959 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30960 code so that pseudo_end is just ret and the stack pointer is
30961 correct also for static library in error case.
30962
40e45bd5
JM
309632012-05-23 Joseph Myers <joseph@codesourcery.com>
30964
c2670533
JM
30965 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30966 move to syscalls.list.
30967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30971
40e45bd5
JM
30972 * manual/install.texi (Running make install): Do not mention Linux
30973 kernel version for which pt_chown is not needed.
30974 (Linux): Do not mention problems with nscd with 2.0 kernels.
30975 * INSTALL: Regenerated.
30976
be08eda5
AJ
309772012-05-23 Andreas Jaeger <aj@suse.de>
30978
30979 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30980 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30981 macro.
30982 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30983 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30984 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30985 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30986 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30987 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30988 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30989 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30990 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30991 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30992 * sysdeps/unix/sysv/linux/bits/in.h
30993 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30994
a6a056bb
RM
309952012-05-22 Roland McGrath <roland@hack.frob.com>
30996
30997 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30998 (PREPARE_VERSION): Just use assert instead, it will be elided
30999 under [NDEBUG] anyway.
31000
c9009328
L
310012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31002
31003 * sysdeps/unix/sysv/linux/Makefile: Include
31004 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31005 (sysdep_routines): Remove sysctl.
c9009328
L
31006 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31007 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31008 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31009 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31010 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31011
73338355
AJ
310122012-05-22 Andreas Jaeger <aj@suse.de>
31013
31014 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31015 that pseudo_end is just ret and the stack pointer is correct also
31016 for static library in error case.
31017
d44638b0
PP
310182012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31019
31020 [BZ #14122]
31021 * nss/nsswitch.c (defconfig_entries): New variable.
31022 (__nss_database_lookup): Don't leak defconfig entries.
31023 (nss_parse_service_list): Don't leak on error paths.
31024 (free_database_entries): New function.
31025 (free_defconfig): New function.
31026 (free_mem): Move common code to free_database_entries.
31027
31a39bd8
L
310282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31029
da0331a8
L
31030 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31031 Add arch_prctl.
31032 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31033
31a39bd8
L
31034 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31035 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31037 New macro.
31038 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31039 (INTERNAL_SYSCALL_TYPES): Likewise.
31040 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31041 (LOAD_REGS_TYPES_[1-6]): Likewise.
31042 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31043 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31044
45470df3
AZ
310452012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31046
31047 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31048 copysignl for GLIBC_2_0.
31049 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31050 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31052 logbl for GLIBC_2_0.
31053 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31054 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31055
98a61bcb
L
310562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31057
a4f6e481
L
31058 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31059 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31060
f63d5db6
L
31061 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31062 Use "neg %eax".
31063
98a61bcb
L
31064 * time/mktime.c: Update copyright years.
31065
95770f14
PE
310662012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31067
6226efbd
PE
31068 mktime: merge comment-quoting-style change from gnulib
31069 * time/mktime.c: Quote 'like this' in comments.
31070 The GNU coding standards suggest that we no longer quote `like this',
31071 as "`" and "'" are typically rendered asymmetrically nowadays.
31072 The typical gnulib style is to quote 'like this' when quoting
31073 code, and "like this" when quoting English.
31074
b99e4f78
PE
31075 * time/mktime.c (compile-command): Add "-I.".
31076
643e01e6
PE
31077 mktime: merge mktime-internal.h change from gnulib
31078 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31079
2554247d
PE
31080 mktime: merge time_r change from gnulib
31081 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31082
826dd0ab
PE
31083 mktime: merge DEBUG change from gnulib
31084 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31085 case system <time.h> has a #define.
31086
bd83aabe
PE
31087 mktime: merge <sys/types.h> change from gnulib
31088 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31089 since <time.t> is now guaranteed to define time_t.
31090
95770f14
PE
31091 mktime: merge HAVE_CONFIG_H change from gnulib
31092 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31093
5e1a27a9
L
310942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31095
0e44a77e
L
31096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31097 Use "neg %eax".
31098
5e1a27a9
L
31099 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31100 __rlim_t cast.
31101 (struct rusage): Use anonymous union to pad each field to
31102 __syscall_slong_t.
31103
46259bec
DM
311042012-05-21 David S. Miller <davem@davemloft.net>
31105
31106 * Makefules (o-iterator): Remove .s cases.
31107 (compile-command.s): Delete.
31108 (COMPILE.s): Delete.
31109 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31110
59f0c22e
JM
311112012-05-21 Joseph Myers <joseph@codesourcery.com>
31112
31113 * configure.in (libc_cv_predef_stack_protector): Only consider
31114 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31115 * configure: Regenerated.
31116
20c07380
L
311172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31118
bbb3154b
L
31119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31120 New macro. Use R*LP on int and pointer.
31121 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31122 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31123 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31124 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31125
20c07380
L
31126 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31127 [__WORDSIZE_TIME64_COMPAT32] instead of
31128 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31129 (struct utmp): Likewise.
31130 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31131 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31132 Renamed to ...
31133 (__WORDSIZE_TIME64_COMPAT32): This.
31134 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31135 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31136 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31137 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31138 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31139 (__WORDSIZE_TIME64_COMPAT32): New macro.
31140
d8d1017e
AJ
311412012-05-21 Andreas Jaeger <aj@suse.de>
31142
31143 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31144 only if [SHARED]. Add prototype for __wcschr_ia32.
31145
6c7fb145
RM
311462012-05-21 Roland McGrath <roland@hack.frob.com>
31147
31148 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31149 of %rbp unmolested in the jmp_buf while mangling the low bits.
31150 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31151 unmolested high bits of %rbp while demangling the low bits.
31152 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31153
66274218
AJ
311542012-05-21 Andreas Jaeger <aj@suse.de>
31155
07c58f8f
AJ
31156 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31157 * sunrpc/svc_simple.c: Use it for registerrpc.
31158 * sunrpc/xcrypt.c: Use it for passwd2des.
31159
66274218
AJ
31160 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31161
61f65140
L
311622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31163
31164 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31165 Don't define if [__SYSCALL_WORDSIZE != 32].
31166 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31167 New macro.
31168
5fefb436
AJ
311692012-05-21 Bruno Haible <bruno@clisp.org>
31170 Andreas Jaeger <aj@suse.de>
31171
31172 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31173 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31174 inptr and inend for must_buffer_ch.
31175 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31176 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31177 * stdio-common/Makefile (tests): Remove bug15.
31178 (bug15-ENV): Remove macro.
31179 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31180 anymore.
31181
d8e272ab
AJ
311822012-05-19 Andreas Jaeger <aj@suse.de>
31183 Roland McGrath <roland@hack.frob.com>
31184
31185 * manual/contrib.texi: Completely rewritten. It contains now an
31186 alphabetical list of contributors and their contributions.
31187
4a56a162
RH
311882012-05-21 Richard Henderson <rth@twiddle.net>
31189
31190 * misc/getauxval.c (__getauxval): Use unsigned long int.
31191 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31192 (getauxval): Use unsigned long int.
31193
d024d23c
L
311942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31195
31196 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31197
cbc00a03
RM
311982012-05-21 Roland McGrath <roland@hack.frob.com>
31199
31200 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31201 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31202 __alignof__ (long double).
31203
478143fa
AZ
312042012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31205
31206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31207
c7683a6d
RH
312082012-05-20 Richard Henderson <rth@twiddle.net>
31209
31210 * misc/getauxval.c: New file.
31211 * misc/sys/auxv.h: New file.
31212 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31213 (routines): Add getauxval.
31214 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31215 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31216 * elf/dl-sysdep.c (_dl_auxv): Remove.
31217 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31218 * elf/dl-support.c (_dl_auxv): New variable.
31219 (_dl_aux_init): Initialize it.
31220 * manual/startup.texi (Auxiliary Vector): New node.
31221 * sysdeps/generic/bits/hwcap.h: New file.
31222 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31223 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31224 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31225 * sysdeps/sparc/sysdep.h: ... here. Include it.
31226 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31227 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31229 Update.
c7683a6d
RH
31230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31238
a6f1845d
AZ
312392012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31240
31241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31242
cbcbe830
DM
312432012-05-19 David S. Miller <davem@davemloft.net>
31244
31245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31246
e0b16cc2
JM
312472012-05-19 Joseph Myers <joseph@codesourcery.com>
31248
31249 [BZ #14123]
31250 * math/s_ccosh.c: Include <float.h>
31251 (__ccosh): Avoid internal overflow calculating sinh and cosh
31252 values before multiplying by sin and cos values.
31253 * math/s_ccoshf.c: Likewise.
31254 * math/s_ccoshl.c: Likewise.
31255 * math/s_csin.c: Likewise.
31256 * math/s_csinf.c: Likewise.
31257 * math/s_csinl.c: Likewise.
31258 * math/s_csinh.c: Likewise.
31259 * math/s_csinhf.c: Likewise.
31260 * math/s_csinhl.c: Likewise.
31261 * math/libm-test.inc (ccos_test): Add more tests.
31262 (ccosh_test): Likewise.
31263 (csin_test): Likewise.
31264 (csinh_test): Likewise.
31265 * sysdeps/i386/fpu/libm-test-ulps: Update.
31266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31267
6ad13e08
L
312682012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31269
f66f0ce8
L
31270 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31271 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31272
6ad13e08
L
31273 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31274
b1d072a7
JM
312752012-05-19 Joseph Myers <joseph@codesourcery.com>
31276
31277 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31278 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31279 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31280 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31281 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31282 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31283 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31284 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31285 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31286 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31287 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31288 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31289 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31290 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31291 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31292 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31293 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31294 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31295 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31296 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31297 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31298 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31299 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31300 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31301 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31302 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31303 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31304 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31305 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31306 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31307 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31308
9eae47cb
AJ
313092012-05-18 Andreas Jaeger <aj@suse.de>
31310
31311 * csu/.gitignore: Delete.
31312
bb07f69f
L
313132012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31314
31315 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31316 (timex): Use __syscall_slong_t.
31317
e6bdb741
AJ
313182012-05-18 Andreas Jaeger <aj@suse.de>
31319 Carlos O'Donell <carlos_odonell@mentor.com>
31320
31321 * manual/install.texi (Configuring and compiling): Update
31322 description about files modified in the source directory.
d6c33fda 31323 * INSTALL: Regenerated.
e6bdb741 31324
1b74487e
L
313252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31326
31327 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31328 value. Use "or" to set return value to -1.
31329 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31330 negate return value.
31331
a88b64b9
TMQMF
313322012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31333
57f41c40
AS
31334 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31335 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31336 failure if the compiler has Graphite support disabled.
31337 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31338 Likewise.
57f41c40
AS
31339 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31340 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31341 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31342 Likewise.
31343
3707636e
L
313442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31345
610b8622
L
31346 * sysdeps/x86_64/x32/_itoa.h: New file.
31347
7cd195df
L
31348 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31349 getdents system call only if kernel and user dirents have the
31350 same d_ino and d_off.
31351
94b07d20
L
31352 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31353 LLONG_MAX != LONG_MAX.
31354 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31355 (_fitoa_word): Likewise.
31356
18298070
L
31357 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31358 years.
31359 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31360 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31361 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31362
553c7ea4
L
31363 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31364 include <bits/wordsize.h>. Check __x86_64__ instead of
31365 __WORDSIZE.
31366 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31367 if __x86_64__ is defined. Use anonymous union on fpstate.
31368
3707636e
L
31369 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31370 anonymous union.
31371
b53ef01a
AS
313722012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31373
37fb1dc0
AS
31374 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31375 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31376 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31377 Refer to _rtld_local_ro instead of _rtld_global_ro.
31378 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31379 Likewise.
31380 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31381 Likewise.
31382 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31383 Likewise.
31384 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31385 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31386 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31387
b53ef01a
AS
31388 * sysdeps/powerpc/powerpc32/dl-machine.c
31389 (__elf_machine_runtime_setup) [PROF]: Don't reference
31390 _dl_prof_resolve.
31391
7a185db2
AJ
313922012-05-18 Andreas Jaeger <aj@suse.de>
31393
31394 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31395 function only available for GCCs before 3.4 since GCC 3.4
31396 introduced a builtin.
31397 (lrint): Likewise.
31398 (llrintf): Likewise.
31399 (llrint): Likewise.
31400 (fmaxf): Likewise.
31401 (fmax): Likewise.
31402 (fminf): Likewise.
31403 (fmin): Likewise.
31404 (rint): Likewise.
31405 (rintf): Likewise.
31406 (nearbyint): Likewise.
31407 (nearbyintf): Likewise.
31408 (ceil): Likewise.
31409 (ceilf): Likewise.
31410 (floor): Likewise.
31411 (floorf): Likewise.
31412
3e5aef87
L
314132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31414
428bd707
L
31415 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31416 on both fields and cast pointer to __syscall_ulong_t.
31417
3e5aef87
L
31418 * bits/types.h (__fsword_t): New type.
31419 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31420 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31422 (__FSWORD_T_TYPE): Likewise.
31423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31424 (__FSWORD_T_TYPE): Likewise.
31425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31426 (__FSWORD_T_TYPE): Likewise.
31427 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31428 (__FSWORD_T_TYPE): Likewise.
31429 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31430 __SWORD_TYPE with __fsword_t.
31431 (statfs64): Likewise.
31432
1ba7c3dc
DM
314332012-05-17 David S. Miller <davem@davemloft.net>
31434
31435 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31436
59910343
AJ
314372012-05-17 Andreas Jaeger <aj@suse.de>
31438
31439 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31440 warning.
31441
2e4c1e9e
L
314422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31443
31444 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31445
de7f5ce7
AJ
314462012-05-17 Andreas Jaeger <aj@suse.de>
31447
31448 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31449 when it is used.
31450
286abc3d
CM
314512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31452
31453 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31454
477cc68e
L
314552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31456
31457 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31458 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31459
1a0994f5
CD
314602012-05-17 Andreas Jaeger <aj@suse.de>
31461 Carlos O'Donell <carlos_odonell@mentor.com>
31462
31463 [BZ #14059]
31464 * sysdeps/x86_64/multiarch/init-arch.h
31465 (bit_YMM_Usable): Rename to...
31466 (bit_AVX_Usable): ... this.
31467 (bit_FMA4_Usable): New macro.
31468 (bit_XMM_state): New macro.
31469 (bit_YMM_state): New macro.
31470 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31471 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31472 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31473 (CPUID_OSXSAVE): New macro.
31474 (CPUID_AVX): New macro.
31475 (CPUID_FMA4): New macro.
31476 (index_YMM_Usable): Rename to...
31477 (index_AVX_Usable): ... this.
31478 (HAS_AVX): Use HAS_ARCH_FEATURE.
31479 (HAS_FMA4): Likewise.
31480 (HAS_YMM_USABLE): Remove.
31481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31482 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31483 are present.
31484 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31485 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31486 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31487 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31488 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31489
0af797de
CM
314902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31491
31492 * math/libm-test.c: Support platforms without multiple rounding modes.
31493 * math/bug-nextafter.c: Support platforms without FP exceptions.
31494 * math/bug-nexttoward.c: Likewise.
31495 * math/test-fenv.c: Likewise.
31496 * math/test-misc.c: Likewise.
31497 * stdlib/bug-getcontext.c: Likewise.
31498
e39745ff
AJ
314992012-05-17 Andreas Jaeger <aj@suse.de>
31500
31501 * manual/examples/search.c (critter_cmp): Change signature to
31502 avoid warnings.
31503 * manual/string.texi (Collation Functions): Likewise.
31504
48970aba
L
315052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31506
31507 * bits/types.h: Fold copyright years.
31508 * bits/typesizes.h: Likewise.
31509 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31510 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31513 * time/time.h: Likewise.
31514
bedee953
PP
315152012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31516
31517 [BZ #208]
31518 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31519 in instead of returning them. Return void.
31520 (__libc_mallinfo): Accumulate over all arenas.
31521 (__malloc_stats): Adjust for change in int_mallinfo interface.
31522
61653dfb
RM
315232012-05-16 Roland McGrath <roland@hack.frob.com>
31524
30b99d79
RM
31525 [BZ #10375]
31526 * configure.in (NM): Add AC_CHECK_TOOL for it.
31527 (libc_extra_cflags): New substituted variable.
31528 Check for -fstack-protector being used implicitly.
31529 * configure: Regenerated.
31530 * config.make.in (config-extra-cflags): New variable,
31531 gets @libc_extra_cflags@.
31532 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31533
61653dfb
RM
31534 [BZ #10375]
31535 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31536 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31537 * configure: Regenerated.
31538 * config.make.in (CPPUNDEFS): New substituted variable.
31539 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31540 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31541 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31542
661768bb
L
315432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31544
31545 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31546 (mq_attr): Use __syscall_slong_t.
31547
d4261567
L
315482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31549
31550 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31551 Check __x86_64__ instead of __WORDSIZE.
31552 (_STAT_VER_LINUX): Likewise.
31553 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31554 __syscall_ulong_t and __syscall_slong_t.
31555 (stat64): Likewise.
31556
cf3ff365
L
315572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31558
31559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31560
76cf3e4d
L
315612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31562
31563 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31564
a637753a
L
315652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31566
31567 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31568 __syscall_ulong_t.
31569
d5e05119
L
31570 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31571 include <bits/wordsize.h>. Check __x86_64__ instead of
31572 __WORDSIZE.
31573 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31574 defined.
31575 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31576
f62ee380
L
31577 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31578 include <bits/wordsize.h>. Check __x86_64__ instead of
31579 __WORDSIZE.
31580 (user_regs_struct): Use "__extension__ unsigned long long"
31581 instead of "unsigned long" if __x86_64__ is defined.
31582 (user): Likewise. Pad after pointer field if __ILP32__ is
31583 defined.
31584
4e124ced
JM
315852012-05-16 Joseph Myers <joseph@codesourcery.com>
31586
6a3951a0
JM
31587 * configure.in (makeinfo): Require version 4.5 or later. Allow
31588 versions 5 to 9.
31589 * configure: Regenerated.
31590 * manual/install.texi (texinfo): Increase version requirement to
31591 4.5 or later.
31592 * INSTALL: Regenerated.
31593
4e124ced
JM
31594 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31595
953ca31a
L
315962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31597
31598 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31599
617aca05
L
31600 * sysdeps/x86_64/x32/ffs.c: New file.
31601
5762f7ae
L
31602 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31603 __syscall_ulong_t.
31604 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31605 defined. Use __syscall_ulong_t.
31606 (shminfo): Use __syscall_ulong_t.
31607 (shm_info): Likewise.
31608
a26b6856
L
31609 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31610 __syscall_ulong_t.
31611
cb2b9ef7
L
31612 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31613 <bits/wordsize.h>.
31614 (msgqnum_t): Use __syscall_ulong_t.
31615 (msglen_t): Likewise.
31616 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31617 __syscall_ulong_t.
31618
34683bb0
L
31619 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31620 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31621
84a68786
L
31622 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31623
48baa5f1
L
31624 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31625 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31626
180be88b
L
31627 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31628 __syscall_slong_t.
31629
5e90c8ad
L
31630 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31631 include <bits/wordsize.h>. Check __x86_64__ instead of
31632 __WORDSIZE.
31633
23dfb58b
L
31634 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31635 "unsigned long long int" if __x86_64__ is defined.
31636 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31637
ce5d54b0
L
31638 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31639 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31640 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31641
13dc9eac
L
31642 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31643 <stdint.h>.
31644 (GET_PC): Cast to uintptr_t first.
31645 (GET_FRAME): Likewise.
31646 (GET_STACK): Likewise.
31647
a7895d15
L
31648 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31649 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31650 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31651 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31652 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31653 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31654 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31655 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31656 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31657 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31658 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31659 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31660 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31661 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31662 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31663 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31664 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31665 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31666 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31667 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31668 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31669 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31670 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31671 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31672 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31673 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31674 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31675 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31677
656416c9
AS
316782012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31679
5bd66283
AS
31680 * Makerules (+depfiles): Also collect depfiles from .oS in
31681 $(extra-objs).
31682 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31683 .oS, $(libnldbl-routines)).
31684
656416c9
AS
31685 * Makerules (native-compile-mkdep-flags): Define.
31686 * sunrpc/Makefile (extra-objs): Add $(addprefix
31687 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31688 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31689 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31690 calling $(make-target-directory).
31691
a46f2169
L
316922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31693
31694 * bits/types.h (__snseconds_t): Removed.
31695 * time/time.h (struct timespec): Replace __snseconds_t with
31696 __syscall_slong_t.
31697 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31698 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31699 Likewise.
31700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31701 (__SNSECONDS_T_TYPE): Likewise.
31702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31703 (__SNSECONDS_T_TYPE): Likewise.
31704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31705 (__SNSECONDS_T_TYPE): Likewise.
31706
6af6528b
L
317072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31708
31709 * sysdeps/mach/hurd/bits/typesizes.h
31710 (__SYSCALL_SLONG_TYPE): New macro.
31711 (__SYSCALL_ULONG_TYPE): Likewise.
31712
de986b56
L
317132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31714
31715 * bits/types.h (__syscall_slong_t): New type.
31716 (__syscall_ulong_t): Likewise.
31717
31718 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31719 (__SYSCALL_ULONG_TYPE): Likewise.
31720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31721 (__SYSCALL_SLONG_TYPE): Likewise.
31722 (__SYSCALL_ULONG_TYPE): Likewise.
31723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31724 (__SYSCALL_SLONG_TYPE): Likewise.
31725 (__SYSCALL_ULONG_TYPE): Likewise.
31726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31727 (__SYSCALL_SLONG_TYPE): Likewise.
31728 (__SYSCALL_ULONG_TYPE): Likewise.
31729
85736dc7
L
317302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31731
31732 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31733 Add sigaltstack-offsets.sym.
31734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31735 <sigaltstack-offsets.h>.
31736 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31737 longjmp_msg pointer.
31738 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31739 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31740 signal stack.
31741 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31742
cc03b296
JM
317432012-05-15 Joseph Myers <joseph@codesourcery.com>
31744
a9538892
JM
31745 * elf/stackguard-macros.h: Remove file.
31746 * sysdeps/generic/stackguard-macros.h: New file.
31747 * sysdeps/i386/stackguard-macros.h: Likewise.
31748 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31749 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31750 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31751 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31752 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31753 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31754 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31755 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31756 <elf/stackguard-macros.h>.
31757
cc03b296
JM
31758 [BZ #14109]
31759 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31760 __aligned__ in attribute.
31761 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31762 (gregset_t): Likewise.
31763
93171016
L
317642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31765
31766 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31767 * sysdeps/x86_64/64/Implies-after: Here. New file.
31768 * sysdeps/x86_64/x32/Implies-after: New file.
31769
d86813a0
L
317702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31771
31772 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31773 and access return value for _dl_profile_fixup. Use R10_LP to
31774 load frame size.
31775
2953ec75
L
317762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31777
31778 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31779
3b550e9e
L
317802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31781
31782 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31783 * sysdeps/x86_64/x32/sysdep.h: New file.
31784
eda41706
L
317852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31786
31787 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31788 * sysdeps/x86_64/setjmp.S: Likewise.
31789
9ea01d93
AZ
317902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31791
31792 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31793 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31794 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31795 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31796 remove unused global constant.
31797
02a91938
CM
317982012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31799
31800 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31801 include of <not-cancel.h>.
31802
6540185f
RM
318032012-05-15 Roland McGrath <roland@hack.frob.com>
31804
31805 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31806
509072a0
AJ
318072012-05-15 Jeff Law <law@redhat.com>
31808 Andreas Jaeger <aj@suse.de>
31809
31810 [BZ #13594]
31811 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31812 out from...
31813 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31814 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31815 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31816 code changing __hst_map_handle.map.
31817
ba75122d
RM
318182012-05-15 Roland McGrath <roland@hack.frob.com>
31819
31820 * configure.in (sysnames): Look for Implies-before and Implies-after
31821 files.
31822 * configure: Regenerated.
31823
890d8bd8
L
318242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31825
31826 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31827 8-byte data alignment with LP_SIZE alignment.
31828
f6ee6623
L
318292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31830
31831 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31832 into R10_LP.
31833
ea2626f6
L
318342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31835
31836 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31837
085f715e
L
318382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31839
31840 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31841 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31842 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31843 Likewise.
31844 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31845
be8498fc
L
318462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31847
31848 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31849 (stackinfo_sub_sp): Likewise.
31850
70bc83b9
L
318512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31852
31853 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31854 RAX_LP.
31855
9bc0b730
L
318562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31857
31858 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31859 into R*_LP.
31860
6d2850e7
L
318612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31862
31863 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31864 sizes into R*_LP.
31865
3cb84561
L
318662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31867
31868 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31869
54e2ed81
L
318702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31871
31872 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31873 into R11_LP and load __x86_64_shared_cache_size_half into
31874 R8_LP.
31875
8a17f349
L
318762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31877
31878 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31879 R8_LP.
31880
777b1eea
AZ
318812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31882
31883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31884 logb for POWER7.
31885 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31886 logbf for POWER7.
31887 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31888 logbl for POWER7.
31889 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31890 powerpc32/power7/fpu/s_logb.c via #include.
31891 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31892 powerpc32/power7/fpu/s_logbf.c via #include.
31893 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31894 powerpc32/power7/fpu/s_logbl.c via #include.
31895
d20d4ac2
JM
318962012-05-15 Joseph Myers <joseph@codesourcery.com>
31897
31898 * README.libm: Remove file.
31899
6cdef1ab
L
319002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31901
31902 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31903 count for x32. Use R*_LP and omit operand-size suffix.
31904
0b254d8f
L
319052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31906
31907 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31908 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31909 * sysdeps/x86_64/x32/shlib-versions: New file.
31910
ceb809dc
RM
319112012-05-14 Roland McGrath <roland@hack.frob.com>
31912
31913 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31914 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31915 Use _dl_fatal_printf instead.
31916
37f1abd4
JM
319172012-05-14 Joseph Myers <joseph@codesourcery.com>
31918
31919 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31920 set if not set by the user. Do not allow for being unset.
31921 * sysdeps/unix/sysv/linux/configure: Regenerated.
31922
11de3a33
L
319232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31924
31925 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31926 the `q' suffix from lea and replace .quad with ASM_ADDR.
31927
e02f153a
L
319282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31929
31930 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31931 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31932 instead of $17.
31933 (PTR_DEMANGLE): Likewise.
31934
520ae0fd
L
319352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31936
31937 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31938 (LP_OP): Likewise.
31939 (ASM_ADDR): Likewise.
31940 (RAX_LP): Likewise.
31941 (RBP_LP): Likewise.
31942 (RBX_LP): Likewise.
31943 (RCX_LP): Likewise.
31944 (RDI_LP): Likewise.
31945 (RSI_LP): Likewise.
31946 (RSP_LP): Likewise.
31947 (R8_LP): Likewise.
31948 (R9_LP): Likewise.
31949 (R10_LP): Likewise.
31950 (R10_LP): Likewise.
31951 (R11_LP): Likewise.
31952 (R12_LP): Likewise.
31953 (R13_LP): Likewise.
31954 (R14_LP): Likewise.
31955 (R15_LP): Likewise.
31956
b985be81
L
319572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31958
31959 * sysdeps/x86_64/x32/dl-machine.h: New file.
31960
6a4888ff
AJ
319612012-05-14 Andreas Jaeger <aj@suse.de>
31962
31963 * manual/Makefile (subdir): Remove export of subdir.
31964 (all): Remove target.
31965 (.PHONY): Remove all from list.
31966 (mkinstalldirs): Remove.
31967 (.PHONY): Remove installdirs from list.
31968 ($(inst_infodir)/libc.info): Use make-target-directory.
31969 (installdirs): Remove.
31970 (subdir_%): Remove.
31971 (glibc-targets): Remove.
31972 (lib): Remove.
31973 (stubs): Remove.
31974 ($(objpfx)stubs ../po/manual.pot): Remove.
31975 ($(objpfx)stamp%): Remove.
31976 (make-target-directory): Remove.
31977 (subdir_install): Remove.
31978 (routines): Remove.
31979 (aux): Remove.
31980 (sources): Remove.
31981 (objects): Remove.
31982 (headers): Remove.
31983
31984 [BZ #13750]
31985 * manual/.gitignore: Remove, it's not needed anymore.
31986 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31987 all files in it.
31988 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31989 directory.
31990 (texis): Renamed to $(objpfx)texis.
31991 (texis-path): New, contains path to generated files.
31992 (chapters.%): Use texis-path for complete path, add extra argument
31993 libc-texinfo.sh.
31994 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31995 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31996 (summary,texi, stamp-summary): Use complete path of
31997 files. Generate files in build dir.
31998 (dir-add.texi): Build in build dir.
31999 (libm-err.texi,stamp-libm-err): Likewise.
32000 (version.texi, stamp-version): Likewise.
32001 (.%c.texi): Likewise.
32002 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32003 (mostlyclean): Remove target.
32004 (realclean): Remove target.
32005 (generated): Add new variable with contents from mostlyclean and
32006 realclean, remove entries duplicated in common-mostlyclean, add
32007 stamp-libm-err and stamp-version.
32008 (generated-dirs): Add libc directory.
32009 ($(inst_infodir)/libc.info): Install files from build dir.
32010
32011 * manual/install.texi (Configuring and compiling): Adjust since
32012 the info files are not part of the tar ball anymore.
32013
7ac77294
AJ
320142012-05-14 Andreas Jaeger <aj@suse.de>
32015
32016 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32017 variable.
32018
ffb7875d
JM
320192012-05-14 Joseph Myers <joseph@codesourcery.com>
32020
32021 [BZ #13717]
32022 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32023 to 2.2.0 where earlier.
32024 * sysdeps/unix/sysv/linux/configure: Regenerated.
32025 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32026 Remove conditional code.
32027 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32028 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32029 Remove conditional code.
32030 [!__NR_lchown]: Likewise.
32031 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32032 [__NR_lchown]: Likewise.
32033 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32034 comment referencing __ASSUME_LCHOWN_SYSCALL.
32035 * sysdeps/unix/sysv/linux/i386/sigaction.c
32036 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32037 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32038 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32039 Remove conditional code.
32040 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32041 (__protocol_available): Remove #if 0 code.
32042 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32043 conditional code.
32044 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32045 * sysdeps/unix/sysv/linux/kernel-features.h
32046 (__ASSUME_GETCWD_SYSCALL): Don't define.
32047 (__ASSUME_REALTIME_SIGNALS): Likewise.
32048 (__ASSUME_PREAD_SYSCALL): Likewise.
32049 (__ASSUME_PWRITE_SYSCALL): Likewise.
32050 (__ASSUME_POLL_SYSCALL): Likewise.
32051 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32052 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32053 non-SPARC.
32054 (__ASSUME_SIOCGIFNAME): Don't define.
32055 (__ASSUME_MSG_NOSIGNAL): Likewise.
32056 (__ASSUME_SENDFILE): Define unconditionally.
32057 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32058 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32059 conditional code.
32060 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32061 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32062 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32063 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32064 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32065 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32066 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32068 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32074 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32080 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32086 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32091 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32092 Remove conditional code.
32093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32094 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32095 Remove conditional code.
32096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32097 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32098 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32099 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32100 Remove conditional code.
32101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32102 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32103 Remove conditional code.
32104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32105 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32106 Remove conditional code.
32107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32108 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32109 Remove conditional code.
32110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32111 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32112 Remove conditional code.
32113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32114 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32115 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32117 * sysdeps/unix/sysv/linux/sigaction.c
32118 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32119 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32120 * sysdeps/unix/sysv/linux/sigpending.c
32121 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32122 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32123 * sysdeps/unix/sysv/linux/sigprocmask.c
32124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32126 * sysdeps/unix/sysv/linux/sigsuspend.c
32127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32129 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32130 (__libc_missing_rt_sigs): Remove.
32131 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32132 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32133 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32134 Remove conditional code.
32135 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32136 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32137 return 1.
32138 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32139 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32140 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32141 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32142
1bfb7291
AJ
321432012-05-14 Andreas Jaeger <aj@suse.de>
32144
caae5a81
AJ
32145 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32146 it's not used in glibc.
32147 (__coshm1): Likewise.
32148 (__acosh1p): Likewise.
32149 (__sgn): Likewise.
32150
1bfb7291
AJ
32151 * manual/string.texi (Copying and Concatenation): Add missing
32152 variable in concat example.
32153 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32154
c044d724
L
321552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32156
144c5467 32157 [BZ #14103]
c044d724
L
32158 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32159 __builtin_clzl with __builtin_clzll.
32160
2523c62b
L
321612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32162
32163 [BZ #14104]
32164 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32165 libc_freeres_ptr.
32166
d7bb4c42
LD
321672012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32168
32169 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32170 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32171 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32172 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32173
9dc4e1fb
MF
321742012-05-14 Mike Frysinger <vapier@gentoo.org>
32175
32176 * NEWS: Update ia64 info.
32177
c7df0112
AS
321782012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32179
32180 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32181 used as bcopy.
32182
dc70356c
TS
321832012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32184
32185 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32186 * sysdeps/unix/syscalls.list (dup3): Likewise.
32187 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32188 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32189
9fb1a21f
L
321902012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32191
32192 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32193 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32194
4822a2a5
L
321952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32196
32197 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32198 thread pointer.
32199 (TLS_IE): Use mov/add instead of movq/addq to load thread
32200 pointer.
32201 (TLS_GD_PREFIX): New.
32202 (TLS_GD): Use it.
32203
842b81d6
DM
322042012-05-11 David S. Miller <davem@davemloft.net>
32205
32206 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32207 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32208 (_FPU_SETCW): Likewise.
32209
1cf463cd
L
322102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32211
32212 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32213 is 32-byte aligned.
32214
60cc4a18
AS
322152012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32216
32217 [BZ #11837]
32218 * iconvdata/gb18030.c: Update tables.
32219 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32220 characters specially.
32221 (BODY for TO_LOOP): Add encoding of missing ranges.
32222
febb44a4
TS
322232012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32224
32225 [BZ #13673]
32226 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32227 * sysdeps/mach/hurd/dup3.c: Likewise.
32228 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32229 * sysdeps/powerpc/memmove.c:: Likewise.
32230
0a10fb9e
L
322312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32232
32233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32234 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32235
df8a552f
L
322362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32237
32238 * elf/elf.h (R_X86_64_RELATIVE64): New.
32239 (R_X86_64_NUM): Updated.
32240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32241 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32242 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32243 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32244 tst-quad1pie tst-quad2pie
32245 (modules-names): Add tst-quadmod1 tst-quadmod2.
32246 ($(objpfx)tst-quad1): New dependency.
32247 ($(objpfx)tst-quad2): Likewise.
32248 ($(objpfx)tst-quad1pie): Likewise.
32249 ($(objpfx)tst-quad2pie): Likewise.
32250 * sysdeps/x86_64/tst-quad1.c: New file.
32251 * sysdeps/x86_64/tst-quad1pie.c: New file.
32252 * sysdeps/x86_64/tst-quad2.c: Likewise.
32253 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32254 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32255 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32256 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32257 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32258
f34d6f84
ST
322592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32260
f42d41d1
ST
32261 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32262 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32263 * streams/stropts.h (t_scalar_t): Define type.
32264
3c3571fc
ST
32265 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32266 (_PATH_PRESERVE): Set to "/var/lib".
32267 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32268
61f06bd3
ST
32269 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32270 instead of int.
32271
918d4d71
ST
32272 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32273 if __dir_mkfile succeeded.
32274
f34d6f84
ST
32275 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32276 checking for _hurd_dtablesize. Unlock it right after having
32277 finished _hurd_dtable allocation.
32278
10589b4a
TS
322792012-05-10 Thomas Schwinge <thomas@schwinge.name>
32280
674cdbc7
TS
32281 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32282 * sysdeps/mach/hurd/configure: Regenerated.
32283 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32284 special-casing to...
32285 * sysdeps/gnu/configure.in: ... this new file.
32286 * sysdeps/unix/sysv/linux/configure: Regenerated.
32287 * sysdeps/gnu/configure: New generated file.
32288
8e41b99f
TS
32289 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32290 for Linux: use nsec instead of usec, as well as:
32291 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32292 members of type struct timespec.
32293 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32294 New macros.
32295 (struct stat64): Likewise.
32296 (_STATBUF_ST_NSEC): New macro.
32297 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32298
10589b4a
TS
32299 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32300 __strtoul_internal rather than strtoul.
32301
63643c85
PT
323022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32303
32304 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32305 and reject them.
32306
3faebe6a
ST
323072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32308
32309 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32310 which preserves existing values.
32311 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32312
c6474b07
PT
323132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32314
32315 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32316 TIMEOUT values. Return EINVAL for NFDS values either negative or
32317 greater than FD_SETSIZE.
32318
1043890b
ST
323192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32320
32321 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32322 allocated, call __vm_protect to finish enabling the existing space, and
32323 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32324 allocate the remainder.
32325
37ed8b9b
PT
323262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32327
32328 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32329 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32330
db653660
ST
323312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32332
37ed8b9b
PT
32333 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32334 sysdeps/mach/hurd/readlink.c.
b29d4053 32335
db653660
ST
32336 * posix/tst-sysconf.c (posix_options): Only use
32337 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32338 _POSIX_SYNCHRONIZED_IO when they are defined
32339 * sysdeps/mach/hurd/bits/posix_opt.h:
32340 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32341 (_XOPEN_REALTIME): Undefine macro.
32342 (_XOPEN_REALTIME_THREADS): Undefine macro.
32343 (_XOPEN_SHM): Undefine macro.
32344 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32345 macro to -1.
32346 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32347 macro to -1.
32348 (_POSIX_ASYNC_IO): Undefine macro.
32349 (_POSIX_PRIORITIZED_IO): Undefine macro.
32350 (_POSIX_SPIN_LOCKS): Define macro to -1.
32351
ee16e894
ST
32352 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32353 SA_NODEFER, SA_RESETHAND.
32354 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32355 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32356 F_DUPFD_CLOEXEC.
32357
6103ae3b
TS
323582012-05-10 Thomas Schwinge <thomas@schwinge.name>
32359
32360 * elf/Makefile (pldd-modules): Define unconditionally.
32361
80b4e5f3
TS
323622012-05-10 Thomas Schwinge <thomas@schwinge.name>
32363
32364 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32365
edadcbd6
ST
323662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32367
32368 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32369 Return ENOENT when name is empty.
32370 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32371
80694780
TS
323722012-05-10 Thomas Schwinge <thomas@schwinge.name>
32373
1792c087
TS
32374 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32375
80694780
TS
32376 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32377
6b645f0d
ST
323782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32379
80694780
TS
32380 Fix mlock in all cases except non-readable pages.
32381 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32382 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 32383
6b645f0d
ST
32384 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32385 (__mkdir): When path is `/', just fail with EEXIST.
32386 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32387
e468f8a3
TS
323882012-05-10 Thomas Schwinge <thomas@schwinge.name>
32389
32390 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32391 <sys/uio.h> (for writev).
32392 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32393 and <sys/param.h> (for MIN).
32394
a4186cff
PT
323952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32396
32397 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32398 REQUESTED_TIME. Properly set the remaining time and return EINTR
32399 if interrupted.
32400
510bbf14
TS
324012012-05-10 Thomas Schwinge <thomas@schwinge.name>
32402
32403 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32404 Depend on against $(link-rpcuserlibs).
32405
5d5722e8
ST
324062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32407
a4186cff
PT
32408 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32409 (__libc_stack_end): Do not use attribute_relro.
32410 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32411 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 32412 to libthread-provided value.
a4186cff
PT
32413 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32414 attribute_relro.
5d5722e8 32415
37233df9
TS
324162012-05-10 Thomas Schwinge <thomas@schwinge.name>
32417
be971a2b
TS
32418 [BZ #3748]
32419 * bits/libc-lock.h (__libc_once_get): New macro.
32420 * sysdeps/mach/bits/libc-lock.h: Likewise.
32421 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32423 instead of using implementation details.
32424
37233df9
TS
32425 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32426 * libio/freopen.c: Likewise.
32427 * libio/freopen64.c: Likewise.
32428 * misc/syslog.c: Likewise.
32429 * nscd/connections.c: Likewise.
32430 * nscd/netgroupcache.c: Likewise.
32431 * sysdeps/posix/getcwd.c: Likewise.
32432
38de94a5
RM
324332012-05-10 Roland McGrath <roland@hack.frob.com>
32434
32435 * math/w_ilogbf.c: Add #include <limits.h>.
32436
67530489
ST
324372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32438
a4186cff 32439 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
32440 path instead of returning without unlocking.
32441
67530489
ST
32442 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32443 immediate-write ioctls.
32444 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32445
5aa3a74a
TS
324462012-05-10 Thomas Schwinge <thomas@schwinge.name>
32447
18bad2ae
TS
32448 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32449 __builtin_frame_address instead of making assumptions about the
32450 location of the return address relative to DATA. Force early load of
32451 the return address.
32452 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32453 __builtin_frame_address.
32454
5aa3a74a
TS
32455 dup3 for GNU Hurd.
32456 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32457 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32458 implement dup3 and do some further code clean-ups.
32459 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32460 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32461
ecd0de9a
ST
324622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32463
cd9fa985
ST
32464 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32465
a4186cff
PT
32466 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32467 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32468 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32469 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32470 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32471 d->port.lock.
802ca5a5 32472
a4186cff
PT
32473 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32474 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32475 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 32476
bcf55240
TS
324772012-05-10 Thomas Schwinge <thomas@schwinge.name>
32478
6960eb42
TS
32479 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32480 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32481 definitions.
32482
eb43375f
TS
32483 accept4 for GNU Hurd.
32484 * include/sys/socket.h (__libc_accept4): New prototype.
32485 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32486 to implement __libc_accept4.
32487 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32488 __libc_accept4.
32489 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32490
bcf55240
TS
32491 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32492 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32493 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32494 signal-defines.sym.
32495
6178c55b
ST
324962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32497
a4186cff 32498 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 32499
6f080c2f
TS
325002012-05-10 Thomas Schwinge <thomas@schwinge.name>
32501
32502 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32503 assertion on O_CLOEXEC flag.
32504 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32505 * hurd/intern-fd.c: Likewise.
32506 * hurd/port2fd.c: Likewise.
32507
bcfe3a54
ST
325082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32509
32510 [BZ #3906]
32511 * bits/in.h (IPV6_PKTINFO): Define new macro.
32512 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32513
89c9aa49
AZ
325142012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32515
32516 [BZ #13954]
32517 [BZ #13955]
32518 [BZ #13956]
32519 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32520 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32521 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32522 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32524 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32525 * math/libm-test.inc (logb_test) : Additional logb tests.
32526
021db4be
AJ
325272012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32528 Andreas Jaeger <aj@suse.de>
32529
32530 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32531 * configure: Regenerated.
32532 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32533 * config.make.in (link-obsolete-rpc): New substituted variable.
32534 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32535 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32536 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32537 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32538 so that libc.a contains the symbols.
32539 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32540 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32541 * sunrpc/auth_none.c: Likewise.
32542 * sunrpc/auth_unix.c: Likewise.
32543 * sunrpc/authdes_prot.c: Likewise.
32544 * sunrpc/authuxprot.c: Likewise.
32545 * sunrpc/clnt_gen.c: Likewise.
32546 * sunrpc/clnt_perr.c: Likewise.
32547 * sunrpc/clnt_raw.c: Likewise.
32548 * sunrpc/clnt_simp.c: Likewise.
32549 * sunrpc/clnt_tcp.c: Likewise.
32550 * sunrpc/clnt_udp.c: Likewise.
32551 * sunrpc/clnt_unix.c: Likewise.
32552 * sunrpc/des_crypt.c: Likewise.
32553 * sunrpc/des_soft.c: Likewise.
32554 * sunrpc/get_myaddr.c: Likewise.
32555 * sunrpc/key_call.c: Likewise.
32556 * sunrpc/key_prot.c: Likewise.
32557 * sunrpc/netname.c: Likewise.
32558 * sunrpc/pm_getmaps.c: Likewise.
32559 * sunrpc/pm_getport.c: Likewise.
32560 * sunrpc/pmap_clnt.c: Likewise.
32561 * sunrpc/pmap_prot.c: Likewise.
32562 * sunrpc/pmap_prot2.c: Likewise.
32563 * sunrpc/pmap_rmt.c: Likewise.
32564 * sunrpc/publickey.c: Likewise.
32565 * sunrpc/rpc_cmsg.c: Likewise.
32566 * sunrpc/rpc_common.c: Likewise.
32567 * sunrpc/rpc_dtable.c: Likewise.
32568 * sunrpc/rpc_prot.c: Likewise.
32569 * sunrpc/rpc_thread.c: Likewise.
32570 * sunrpc/rtime.c: Likewise.
32571 * sunrpc/svc.c: Likewise.
32572 * sunrpc/svc_auth.c: Likewise.
32573 * sunrpc/svc_raw.c: Likewise.
32574 * sunrpc/svc_run.c: Likewise.
32575 * sunrpc/svc_tcp.c: Likewise.
32576 * sunrpc/svc_udp.c: Likewise.
32577 * sunrpc/svc_unix.c: Likewise.
32578 * sunrpc/svcauth_des.c: Likewise.
32579 * sunrpc/xcrypt.c: Likewise.
32580 * sunrpc/xdr.c: Likewise.
32581 * sunrpc/xdr_array.c: Likewise.
32582 * sunrpc/xdr_float.c: Likewise.
32583 * sunrpc/xdr_intXX_t.c: Likewise.
32584 * sunrpc/xdr_mem.c: Likewise.
32585 * sunrpc/xdr_rec.c: Likewise.
32586 * sunrpc/xdr_ref.c: Likewise.
32587 * sunrpc/xdr_sizeof.c: Likewise.
32588 * sunrpc/xdr_stdio.c: Likewise.
32589
b5c086a2
RM
325902012-05-10 Roland McGrath <roland@hack.frob.com>
32591
32592 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32593 change. Update copyright years.
32594
6d74dd09
JM
325952012-05-10 Joseph Myers <joseph@codesourcery.com>
32596
32597 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32598
28e72501
MK
325992012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32600 Joseph Myers <joseph@codesourcery.com>
32601 Paul Pluzhnikov <ppluzhnikov@google.com>
32602
32603 [BZ #14012]
32604 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32605 requiring rpcgen.
32606 [cross-compiling] (extra-libs): Likewise.
32607 [cross-compiling] (extra-libs-others): Likewise.
32608 [cross-compiling] (librpcsvc-routines): Likewise.
32609 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32610 [cross-compiling] (omit-deps): Likewise.
32611 (sunrpc-CPPFLAGS): New variable.
32612 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32613 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32614 (cross-rpcgen-objs): New variable.
32615 (extra-objs): Append $(cross-rpcgen-objs).
32616 ($(cross-rpcgen-objs)): New rule.
32617 ($(objpfx)cross-rpcgen): Likewise.
32618 (rpcgen-cmd): Define to use $(built-program-file). Expand
32619 comment.
32620 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32621 ($(objpfx)x%.stmp): Likewise.
32622 * sunrpc/proto.h [IS_IN_build] (_): Define.
32623 [IS_IN_build] (_libc_intl_domainname): Likewise.
32624
c8c59454
L
326252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32626
32627 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32628 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32629 and R_X86_64_TPOFF64.
32630
6f27cd16
JM
326312012-05-10 Joseph Myers <joseph@codesourcery.com>
32632
32633 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32634 sysdeps/unix/sysv/syscalls.list.
32635 (stime): Likewise.
32636 (utime): Likewise.
32637 * sysdeps/unix/sysv/syscalls.list: Remove file.
32638
02467e1c
PE
326392012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32640
32641 [BZ #3440]
32642 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32643 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32644 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32645 (__LC_IDENTIFICATION): Make these macros useful in #if
32646 expressions, as required by C99.
32647
da392631
AS
326482012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32649
32650 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32651 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32652 after this.
32653
8115f29b
L
326542012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32655
32656 * stdlib/longlong.h: Updated from GCC.
32657
bdd74070
AJ
326582012-05-09 Andreas Jaeger <aj@suse.de>
32659
edfe0dbe
AJ
32660 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32661 default is first entry.
32662 (run_mode): Set type.
32663 (main): Remove informal message about syslog.
32664 (options): Fix typo.
32665
bcfe3a54
ST
32666 [BZ #14053]
32667 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32668 to asm.
bcfe3a54
ST
32669 (lrint): Likewise.
32670 (llrintf): Likewise.
32671 (llrint): Likewise.
32672 (rint): Likewise.
32673 (rintf): Likewise.
32674 (nearbyint): Likewise.
32675 (nearbyintf): Likewise.
bdd74070 32676
91d8d69e
AJ
326772012-05-09 Andreas Jaeger <aj@suse.de>
32678 Pedro Alves <palves@redhat.com>
32679
32680 * nscd/nscd.c (run_mode): Use enum.
32681 (main): Cleanup coding style issue.
32682
bb90b80b
AJ
326832012-05-09 Alexandre Oliva <aoliva@redhat.com>
32684 Andreas Jaeger <aj@suse.de>
32685
bcfe3a54
ST
32686 * nscd/nscd.c (go_background): Replaced with...
32687 (run_mode): ... this.
bb90b80b 32688 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32689 (options): Add -F --foreground.
32690 (main): Implement it.
32691 (parse_opt): Parse it.
bb90b80b 32692
1a4b75a1
AJ
326932012-05-09 Andreas Jaeger <aj@suse.de>
32694
32695 [BZ #14083]
32696 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32697 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32698 -Wconversion warning.
32699 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32700 Likewise.
32701
b1cc2472
JM
327022012-05-09 Joseph Myers <joseph@codesourcery.com>
32703
32704 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32705 == 0.
32706 (LC_ALL): Use macro-int-constant.
32707 (LC_COLLATE): Likewise.
32708 (LC_CTYPE): Likewise.
32709 (LC_MESSAGES): Likewise.
32710 (LC_MONETARY): Likewise.
32711 (LC_NUMERIC): Likewise.
32712 (LC_TIME): Likewise.
32713 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32714 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32716 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32717 Specify type.
32718 [C99-based standards] (float_t): Expect type.
32719 [C99-based standards] (double_t): Expect type.
32720 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32721 type.
32722 [C99-based standards] (HUGE_VALL): Likewise.
32723 [C99-based standards] (INFINITY): Likewise.
32724 [C99-based standards] (NAN): Likewise.
32725 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32726 [C99-based standards] (FP_NAN): Likewise.
32727 [C99-based standards] (FP_NORMAL): Likewise.
32728 [C99-based standards] (FP_SUBNORMAL): Likewise.
32729 [C99-based standards] (FP_ZERO): Likewise.
32730 [C99-based standards] (FP_FAST_FMA): Use
32731 optional-macro-int-constant. Specify type. Require == 1.
32732 [C99-based standards] (FP_FAST_FMAF): Likewise.
32733 [C99-based standards] (FP_FAST_FMAL): Likewise.
32734 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32735 [C99-based standards] (FP_ILOGBNAN): Likewise.
32736 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32737 Specify type.
32738 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32739 [C99-based standards] (math_errhandling): Specify type.
32740 [ISO99 || ISO11] (signgam): Do not allow.
32741 [non-C99-based standards] (copysignf): Do not allow.
32742 [non-C99-based standards] (exp2f): Likewise.
32743 [non-C99-based standards] (log2f): Likewise.
32744 [non-C99-based standards] (modff): Allow.
32745 [non-C99-based standards] (erff): Do not allow.
32746 [non-C99-based standards] (erfcf): Likewise.
32747 [non-C99-based standards] (gammaf): Likewise.
32748 [non-C99-based standards] (hypotf): Likewise.
32749 [non-C99-based standards] (j0f): Likewise.
32750 [non-C99-based standards] (j1f): Likewise.
32751 [non-C99-based standards] (jnf): Likewise.
32752 [non-C99-based standards] (lgammaf): Likewise.
32753 [non-C99-based standards] (tgammaf): Likewise.
32754 [non-C99-based standards] (y0f): Likewise.
32755 [non-C99-based standards] (y1f): Likewise.
32756 [non-C99-based standards] (ynf): Likewise.
32757 [non-C99-based standards] (isnanf): Likewise.
32758 [non-C99-based standards] (acoshf): Likewise.
32759 [non-C99-based standards] (asinhf): Likewise.
32760 [non-C99-based standards] (atanhf): Likewise.
32761 [non-C99-based standards] (cbrtf): Likewise.
32762 [non-C99-based standards] (expm1f): Likewise.
32763 [non-C99-based standards] (ilogbf): Likewise.
32764 [non-C99-based standards] (log1pf): Likewise.
32765 [non-C99-based standards] (logbf): Likewise.
32766 [non-C99-based standards] (nextafterf): Likewise.
32767 [non-C99-based standards] (remainderf): Likewise.
32768 [non-C99-based standards] (rintf): Likewise.
32769 [non-C99-based standards] (scalbf): Likewise.
32770 [non-C99-based standards] (copysignl): Likewise.
32771 [non-C99-based standards] (exp2l): Likewise.
32772 [non-C99-based standards] (log2l): Likewise.
32773 [non-C99-based standards] (modfl): Allow.
32774 [non-C99-based standards] (erfl): Do not allow.
32775 [non-C99-based standards] (erfcl): Likewise.
32776 [non-C99-based standards] (gammal): Likewise.
32777 [non-C99-based standards] (hypotl): Likewise.
32778 [non-C99-based standards] (j0l): Likewise.
32779 [non-C99-based standards] (j1l): Likewise.
32780 [non-C99-based standards] (jnl): Likewise.
32781 [non-C99-based standards] (lgammal): Likewise.
32782 [non-C99-based standards] (tgammal): Likewise.
32783 [non-C99-based standards] (y0l): Likewise.
32784 [non-C99-based standards] (y1l): Likewise.
32785 [non-C99-based standards] (ynl): Likewise.
32786 [non-C99-based standards] (isnanl): Likewise.
32787 [non-C99-based standards] (acoshl): Likewise.
32788 [non-C99-based standards] (asinhl): Likewise.
32789 [non-C99-based standards] (atanhl): Likewise.
32790 [non-C99-based standards] (cbrtl): Likewise.
32791 [non-C99-based standards] (expm1l): Likewise.
32792 [non-C99-based standards] (ilogbl): Likewise.
32793 [non-C99-based standards] (log1pl): Likewise.
32794 [non-C99-based standards] (logbl): Likewise.
32795 [non-C99-based standards] (nextafterl): Likewise.
32796 [non-C99-based standards] (remainderl): Likewise.
32797 [non-C99-based standards] (rintl): Likewise.
32798 [non-C99-based standards] (scalbl): Likewise.
32799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32800 [non-C99-based standards] (FP_*): Do not allow.
32801 [C99-based standards] (FP_*): Change to
32802 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32803 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32804 allow.
32805 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32806 (SIG_ERR): Likewise.
32807 [X/Open-based standards] (SIG_HOLD): Likewise.
32808 (SIG_IGN): Likewise.
32809 (SIGABRT): Use macro-int-constant. Specify type. Require
32810 positive value.
32811 (SIGFPE): Likewise.
32812 (SIGILL): Likewise.
32813 (SIGINT): Likewise.
32814 (SIGSEGV): Likewise.
32815 (SIGTER): Likewise.
32816 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32817 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32818 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32819 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32820 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32821 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32822 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32823 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32824 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32825 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32826 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32827 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32828 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32829 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32830 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32831 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32832 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32833 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32834 [X/Open-based standards] (SIGTRAP): Likewise.
32835 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32836 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32837 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32838 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32839 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32840 allow.
32841
b9f1922d
IW
328422012-05-08 Ian Wienand <ianw@vmware.com>
32843
32844 [BZ #14080]
32845 * time/tzset.c (__tzset_parse_tz): Update default rules for
32846 daylight time changes in the Energy Policy Act of 2005.
32847
1db86e88
AJ
328482012-05-09 Andreas Jaeger <aj@suse.de>
32849
32850 [BZ #13983]
32851 * elf/ldconfig.c (parse_conf): Change string to make clear that
32852 ldconfig only issued a warning if ld.so.conf does not exist.
32853
dee4a4e3
DM
328542012-05-08 David S. Miller <davem@davemloft.net>
32855
ee0db190
DM
32856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32857 movxtod instead of popping the value on the stack.
32858
dee4a4e3
DM
32859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32860
6a43ec98
CD
328612012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32862
32863 * config.h.in: Add HAVE_ARM_PCS_VFP.
32864
05c2c961
RMG
328652012-05-08 Roland Mc Grath <roland@hack.frob.com>
32866
bcfe3a54
ST
32867 [BZ #13979]
32868 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32869 checking but the checks are disabled for any reason.
05c2c961 32870
4b30f61a
L
328712012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32872
32873 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32874 and ELF64_R_TYPE with ELFW(R_TYPE).
32875
eee2bc67
JM
328762012-05-08 Joseph Myers <joseph@codesourcery.com>
32877
7ea5391a
JM
32878 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32879 (ulimit): Likewise.
32880
eee2bc67
JM
32881 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32882 (settimeofday): Likewise.
32883
abb66a67
MF
328842012-05-08 Mike Frysinger <vapier@gentoo.org>
32885
32886 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32887 a struct th_u2 inside the union, and move tu_block/tu_code into
32888 a new th_u3 union of tu_block/tu_code inside of that. Move
32889 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32890 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32891 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32892 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32893 (th_stuff): Change to th_u1.tu_stuff.
32894 (th_data): Define.
32895 (th_msg): Change to th_u1.th_u2.tu_data.
32896
7f18b530
DM
328972012-05-07 David S. Miller <davem@davemloft.net>
32898
05760585
DM
32899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32900
7f18b530
DM
32901 [BZ #14074]
32902 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32903 (SETUP_PIC_REG): Use it.
32904 (SETUP_PIC_REG_LEAF): Use it.
32905
495fd99f
JM
329062012-05-07 Joseph Myers <joseph@codesourcery.com>
32907
32908 [BZ #13885]
32909 [BZ #13923]
32910 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32911 USE_AS_EXPM1L.
32912 (EXPL_FINITE): Likewise.
32913 (FLDLOG): Likewise.
32914 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32915 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32916 e_expl.S.
32917 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32918 USE_AS_EXPM1L.
32919 (EXPL_FINITE): Likewise.
32920 (FLDLOG): Likewise.
32921 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32922 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32923 e_expl.S.
32924 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32925 test of -max_value argument for long double.
32926 * sysdeps/i386/fpu/libm-test-ulps: Update.
32927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32928
6693d694
DM
329292012-05-06 David S. Miller <davem@davemloft.net>
32930
32931 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32932 quad soft-float symbols whose references which are compiler
32933 generated.
32934 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32935
6c23e11c
JM
329362012-05-06 Joseph Myers <joseph@codesourcery.com>
32937
d8b82cad
JM
32938 [BZ #13884]
32939 [BZ #13914]
32940 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32941 USE_AS_EXP10L.
32942 (EXPL_FINITE): Likewise.
32943 (FLDLOG): Likewise.
32944 (c0): Likewise.
32945 (c1): Likewise.
32946 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32947 Adjust comments for base varying.
32948 (__expl_finite): Change alias to EXPL_FINITE.
32949 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32950 e_expl.S.
32951 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32952 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32953 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32954 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32955 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32956 USE_AS_EXP10L.
32957 (EXPL_FINITE): Likewise.
32958 (FLDLOG): Likewise.
32959 (c0): Likewise.
32960 (c1): Likewise.
32961 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32962 Adjust comments for base varying.
32963 (__expl_finite): Change alias to EXPL_FINITE.
32964 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32965 tests for bugs.
32966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32967
6c23e11c
JM
32968 [BZ #14064]
32969 * math/libm-test.inc (check_float_internal): Correct ulp
32970 calculation for subnormal expected results.
32971
29ba805c
AJ
329722012-05-06 Andreas Jaeger <aj@suse.de>
32973
32974 * Makeconfig (+math-flags): New, set to -frounding-math.
32975 (+cflags): Add +math-flags so that all of glibc gets compiled with
32976 it.
32977
32978 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32979
7b17aeda
JM
329802012-05-05 Joseph Myers <joseph@codesourcery.com>
32981
5779f134
JM
32982 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32983 Disable one test.
32984
41498f4d
JM
32985 [BZ #13787]
32986 [BZ #13922]
32987 [BZ #14036]
32988 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32989 (__ieee754_expl): Allow for and saturate large arguments.
32990 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32991 (u_threshold): Likewise.
32992 (__exp): Call __ieee754_exp before checking for overflow and
32993 underflow.
32994 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32995 (u_threshold): Likewise.
32996 (__expf): Call __ieee754_expf before checking for overflow and
32997 underflow.
32998 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32999 (u_threshold): Likewise.
33000 (__expl): Call __ieee754_expl before checking for overflow and
33001 underflow.
33002 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33003 (__ieee754_expl): Allow for and saturate large arguments.
33004 * math/libm-test.inc (exp_test): Add another test. Do not allow
33005 missing overflow exception on overflow.
33006 (expm1_test): Do not allow missing overflow exception on overflow.
33007
6698b8bf
JM
33008 * sysdeps/i386/fpu/e_expl.c: Move to ...
33009 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33010 rather than using inline asm.
33011 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33012 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33013 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33014
7b17aeda
JM
33015 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33016 (nice): Likewise.
33017 (poll): Likewise.
33018 (signal): Likewise.
33019 (time): Likewise.
33020 (times): Likewise.
33021
f7c85819
JM
330222012-05-04 Joseph Myers <joseph@codesourcery.com>
33023
33024 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33025 sysdeps/unix/common/syscalls.list.
33026 (fchmod): Likewise.
33027 (fchown): Likewise.
33028 (ftruncate): Likewise.
33029 (getrusage): Likewise.
33030 (gettimeofday): Likewise.
33031 (setpgid): Likewise.
33032 (setregid): Likewise.
33033 (setreuid): Likewise.
33034 (sigaction): Likewise.
33035 (truncate): Likewise.
33036 (vhangup): Likewise.
33037 * sysdeps/unix/common/syscalls.list: Remove file.
33038 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33039 * sysdeps/unix/sysv/linux/Implies: Likewise.
33040
336270d0
L
330412012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33042
33043 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33045 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33046 Moved to ...
33047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33048 Here.
33049 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33050 to ...
33051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33052 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33053 to ...
33054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33055 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33056 to ...
33057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33058 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33059 to ...
33060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33061 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33062 to ...
33063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33064 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33065 to ...
33066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33067 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33068 to ...
33069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33070 Here.
33071 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33072 to ...
33073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33074 Here.
33075 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33076 to ...
33077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33078 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33079 Moved to ...
33080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33081 Here.
33082 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33083 to ...
33084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33085
d128e450
JM
330862012-05-04 Joseph Myers <joseph@codesourcery.com>
33087
fa8ee516
JM
33088 * sysdeps/unix/common/bits/dirent.h: Remove file.
33089 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33090
d128e450
JM
33091 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33092 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33093 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33094 * sysdeps/unix/bsd/isatty.c: Likewise.
33095 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33096 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33097 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33098
ff8faaf0 330992012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33100
62881be4 33101 [BZ #13563]
31dc8730
AZ
33102 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33103 long double comparison inaccuracies.
33104 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33106
6fef930c
AS
331072012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33108
33109 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33110 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33111
8f203e6c
JM
331122012-05-04 Joseph Myers <joseph@codesourcery.com>
33113
33114 [BZ #14049]
33115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33116 nonzero digits before rounding a hex value.
33117 * stdlib/tst-strtod.c (tests): Add another test.
33118
5197d9c2
AK
331192012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33120
33121 * sysdeps/s390/fpu/libm-test-ulps: Update.
33122
f0c1dedf
AJ
331232012-05-03 Andreas Jaeger <aj@suse.de>
33124
33125 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33126 does not get optimized out.
33127 (malloc_opt_barrier): New.
33128
a65ef2ae 331292012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33130 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33131
2b942cb7 33132 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33133 intermediate file deletion.
2b942cb7 33134 (generated): Add .symlist files.
a65ef2ae 33135
54b71e02
JM
331362012-05-03 Joseph Myers <joseph@codesourcery.com>
33137
33138 [BZ #13775]
33139 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33140 Redirect under this condition.
33141 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33142 [__USE_GNU] (__dprintf_chk): Not under this condition.
33143 [__USE_GNU] (__vdprintf_chk): Likewise.
33144 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33145 under this condition.
33146 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33147 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33148 [__USE_XOPEN2K8] (vdprintf): Likewise.
33149 [__USE_GNU] (__dprintf_chk): Not under this condition.
33150 [__USE_GNU] (__vdprintf_chk): Likewise.
33151 [__USE_GNU] (dprintf): Likewise.
33152 [__USE_GNU] (vdprintf): Likewise.
33153
d3dfcc41
RM
331542012-05-03 Roland McGrath <roland@hack.frob.com>
33155
33156 * elf/Makefile (common-generated): Set this instead of generated for
33157 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33158 $(all-built-dso)-derived lists.
33159
7ac30cc5
AJ
331602012-05-03 Andreas Jaeger <aj@suse.de>
33161
0c51e550
AJ
33162 * sysdeps/i386/fpu/libm-test-ulps: Update.
33163
7ac30cc5
AJ
33164 * FAQ: Removed.
33165 * FAQ.in: Likewise.
33166 * scripts/gen-FAQ.pl: Likewise.
33167 * manual/install.texi (Installation): Point to online location of
33168 FAQ.
33169 * Makefile (files-for-dist): Remove FAQ.
33170 (FAQ): Remove.
33171
d4c2917f
AM
331722012-05-02 Allan McRae <allan@archlinux.org>
33173
33174 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33175 (LDFLAGS-reldepmod5.so): Likewise.
33176 (LDFLAGS-reldep6mod1.so): Likewise.
33177 (LDFLAGS-reldep6mod4.so): Likewise.
33178 (LDFLAGS-reldep8mod3.so): Likewise.
33179 (LDFLAGS-unload4mod1.so): Likewise.
33180 (LDFLAGS-unload4mod2.so): Likewise.
33181 (LDFLAGS-tst-initorder): Likewise.
33182 (LDFLAGS-tst-initordera2.so): Likewise.
33183 (LDFLAGS-tst-initordera3.so): Likewise.
33184 (LDFLAGS-tst-initordera4.so): Likewise.
33185 (LDFLAGS-tst-initorderb2.so): Likewise.
33186 (LDFLAGS-noload): Likewise.
33187 (LDFLAGS-next): Likewise.
33188 (LDFLAGS-order2mod1.so): Likewise.
33189 (LDFLAGS-order2mod2.so): Likewise.
33190 (LDFLAGS-tst-initorder2): Likewise.
33191 (LDFLAGS-tst-initorder2a.so): Likewise.
33192 (LDFLAGS-tst-initorder2b.so): Likewise.
33193 (LDFLAGS-tst-initorder2c.so): Likewise.
33194 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33195
d77f993f
DM
331962012-05-02 David S. Miller <davem@davemloft.net>
33197
33198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33199
171a70b4
PP
332002012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33201
33202 [BZ #14055]
33203 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33204
0be196ad
AJ
332052012-05-02 Andreas Jaeger <aj@suse.de>
33206
33207 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33208 since we manipulate rounding mode.
33209 (CPPFLAGS-test-idouble.c): Likewise.
33210 (CPPFLAGS-test-ifloat.c): Likewise.
33211 (CFLAGS-test-ldouble.c): Likewise.
33212 (CFLAGS-test-double.c): Likewise.
33213 (CFLAGS-test-float.c): Likewise.
33214 (CFLAGS-test-misc.c): Likewise.
33215 (CFLAGS-test-test-fenv.c): Likewise.
33216
4f9d04aa
AZ
332172012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33218
2b942cb7
RM
33219 [BZ #2550]
33220 [BZ #2570]
33221 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33222 comparisons to determine direction to adjust input.
4f9d04aa 33223
82a79e7d
RM
332242012-05-01 Roland McGrath <roland@hack.frob.com>
33225
f5a01ca9
RM
33226 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33227 output to the target.
33228
90fe4186
RM
33229 * scripts/localplt.awk: New file.
33230 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33231 (check-localplt-CFLAGS): Variable removed.
33232 ($(all-built-dso:=.jmprel)): New static pattern rule.
33233 (generated): Add those targets.
33234 (localplt-built-dso): New variable.
33235 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33236
33237 * elf/check-localplt.c: File removed.
33238
82397ed6
RM
33239 * scripts/check-execstack.awk: New file.
33240 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33241 (check-execstack-CFLAGS): Variable removed.
33242 ($(objpfx)check-execstack.h): Target removed.
33243 ($(objpfx)execstack-default): New target.
33244 (generated): Add that instead of check-execstack.h.
33245 ($(all-built-dso:=.phdr)): New static pattern rule.
33246 (generated): Add those targets.
33247 * elf/check-execstack.c: File removed.
33248
82a79e7d
RM
33249 * scripts/check-textrel.awk: New file.
33250 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33251 (check-textrel-CFLAGS): Variable removed.
33252 (all-built-dso): Use := to define.o
33253 ($(all-built-dso:=.dyn)): New static pattern rule.
33254 (generated): Add those targets.
33255 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33256 * config.make.in (READELF): New substituted variable.
33257 * elf/check-textrel.c: File removed.
33258
62fde54f 332592012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33260
615605c9
JM
33261 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33262 allow.
33263 * conform/data/ctype.h-data [C99-based standards] (isblank):
33264 Expect function.
33265 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33266 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33268 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33269 Specify type. Require positive value.
33270 (EILSEQ): Likewise.
33271 (ERANGE): Likewise.
33272 [ISO || POSIX] (EILSEQ): Do not expect.
33273 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33274 Specify type. Require positive value.
33275 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33276 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33277 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33278 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33279 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33280 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33281 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33282 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33283 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33284 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33285 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33286 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33287 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33288 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33289 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33290 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33291 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33292 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33293 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33294 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33295 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33296 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33297 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33298 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33299 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33300 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33301 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33302 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33303 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33304 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33305 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33306 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33307 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33308 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33309 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33310 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33311 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33312 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33313 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33314 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33315 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33316 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33317 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33318 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33319 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33320 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33321 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33322 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33323 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33324 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33325 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33326 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33327 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33328 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33329 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33330 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33331 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33332 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33333 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33334 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33335 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33336 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33337 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33338 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33339 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33340 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33341 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33342 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33343 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33344 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33345 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33346 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33347 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33348 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33349 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33350 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33351 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33352 Require >= 2.
33353 (FLT_ROUNDS): Expect as macro, not constant.
33354 (FLT_MANT_DIG): Use macro-int-constant.
33355 (DBL_MANT_DIG): Likewise.
33356 (LDBL_MANT_DIG): Likewise.
33357 (FLT_DIG): Likewise.
33358 (DBL_DIG): Likewise.
33359 (LDBL_DIG): Likewise.
33360 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33361 (DBL_MIN_EXP): Likewise.
33362 (LDBL_MIN_EXP): Likewise.
33363 (FLT_MAX_EXP): Use macro-int-constant.
33364 (DBL_MAX_EXP): Likewise.
33365 (LDBL_MAX_EXP): Likewise.
33366 (FLT_MAX_10_EXP): Likewise.
33367 (DBL_MAX_10_EXP): Likewise.
33368 (LDBL_MAX_10_EXP): Likewise.
33369 (FLT_MAX): Use macro-constant.
33370 (DBL_MAX): Likewise.
33371 (LDBL_MAX): Likewise.
33372 (FLT_EPSILON): Use macro-constant. Give upper bound.
33373 (DBL_EPSILON): Likewise.
33374 (LDBL_EPSILON): Likewise.
33375 (FLT_MIN): Likewise.
33376 (DBL_MIN): Likewise.
33377 (LDBL_MIN): Likewise.
33378 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33379 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33380 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33381 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33382 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33383 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33384 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33385 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33386 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33387 [ISO11] (FLT_TRUE_MIN): Likewise.
33388 [ISO11] (LDBL_TRUE_MIN): Likewise.
33389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33390 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33391 (SCHAR_MIN): Use macro-int-constant. Specify type.
33392 (SCHAR_MAX): Likewise.
33393 (UCHAR_MAX): Likewise.
33394 (CHAR_MIN): Likewise.
33395 (CHAR_MAX): Likewise.
33396 (MB_LEN_MAX): Use macro-int-constant.
33397 (SHRT_MIN): Use macro-int-constant. Specify type.
33398 (SHRT_MAX): Likewise.
33399 (USHRT_MAX): Likewise.
33400 (INT_MAX): Likewise.
33401 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33402 bound negative.
33403 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33404 bound with "U".
33405 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33406 bound with "L".
33407 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33408 bound negative. Suffix upper bound with "L".
33409 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33410 bound with "UL".
33411 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33412 Specify type.
33413 [C99-based standards] (LLONG_MAX): Likewise.
33414 [C99-based standards] (ULLONG_MAX): Likewise.
33415 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33416 == 0.
33417 [ISO11] (max_align_t): Require type.
33418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33419
c9140a62
JM
33420 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33421 from $CFLAGS, without defining away __attribute__ calls.
33422 (checknamespace): Use $CFLAGS_namespace.
33423
9af0bf29
JM
33424 * conform/conformtest.pl (@keywords): Only include C99 keywords
33425 for standards based on C99 or C11.
33426
343222a2
JM
33427 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33428 Disable tests.
33429 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33430 UNIX98]: Likewise.
33431
661f8cf0
JM
33432 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33433 usability of symbols in #if.
33434
ee74b9cb
JM
33435 * conform/conformtest.pl: If macro or constant types start
33436 "promoted:", expect the symbol to be of the following type
33437 promoted by the integer promotions.
62fde54f 33438
aafc49b3
JM
33439 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33440 in one place. Also handle "macro-constant".
33441
fefdf574
JM
33442 * conform/conformtest.pl: Only accept expected macro values with
33443 "==". Parse all "macro" lines in one place.
33444 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33445
f2d922fe
JM
33446 * conform/conformtest.pl: Handle braced types on "constant" lines
33447 instead of handling "typed-constant".
33448 * conform/data/signal.h-data: Use "constant" instead of
33449 "typed-constant".
33450
d22956c9
JM
33451 * conform/conformtest.pl: Handle "optional-" at start of lines in
33452 one place rather than duplicating several cases. Handle each
33453 format of "macro" line with initial "optional-".
33454
028e2e38
JM
33455 * conform/conformtest.pl: Only accept expected constant or
33456 optional-constant values with "==". Parse all "constant" lines in
33457 one place. Parse all "optional-constant" lines in one place.
33458 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33459 * conform/data/fmtmsg.h-data: Likewise.
33460 * conform/data/netinet/in.h-data: Likewise.
33461 * conform/data/tar.h-data: Likewise.
33462 * conform/data/limits.h-data: Use "==" form on "constant" and
33463 "optional-constant" lines.
33464
1b8f2850
JM
33465 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33466 Use -std=c99 for XOPEN2K.
33467 (@knownproblems): Remove.
33468 (newtoken): Don't check %isknown.
33469
a05a144b
JM
33470 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33471 Do not expect macro.
33472 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33473 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33474 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33475 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33476 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33477 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33478 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33479 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33480 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33481 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33482 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33483 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33484 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33485 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33486 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33487 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33488 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33489 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33490 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33491 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33492 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33493 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33494 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33495 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33496 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33497 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33498 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33499 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33500 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33501 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33502 [XPG3] (acosh): Likewise.
33503 [XPG3] (asinh): Likewise.
33504 [XPG3] (atanh): Likewise.
33505 [XPG3] (cbrt): Likewise.
33506 [XPG3] (expm1): Likewise.
33507 [XPG3] (ilogb): Likewise.
33508 [XPG3] (log1p): Likewise.
33509 [XPG3] (logb): Likewise.
33510 [XPG3] (nextafter): Likewise.
33511 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33512 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33513 [XPG3] (remainder): Likewise.
33514 [XPG3] (rint): Likewise.
33515 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33516 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33517 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33518 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33519 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33520 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33521 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33522 [UNIX98 || XOPEN2K] (scalb): Expect.
33523 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33524 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33525 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33526 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33527 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33528 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33529 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33530 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33531 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33532 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33533 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33534 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33535 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33536 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33537 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33538 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33539 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33540 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33541 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33542 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33543 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33544 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33545 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33546 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33547 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33548 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33549 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33550 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33551 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33552 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33553 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33554 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33555 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33556 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33557 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33558 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33559 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33560 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33561 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33562 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33563 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33564 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33565 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33566 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33567 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33568 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33569 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33570 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33571 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33572 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33573 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33574 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33575 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33576 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33577 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33578 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33579 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33580 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33581 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33582 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33583 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33584 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33585 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33586 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33587 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33588 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33589 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33590 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33591 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33592 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33593 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33594 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33595 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33596 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33597 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33598 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33599 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33600 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33601 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33602 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33603 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33604 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33605 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33606 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33607 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33608 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33609 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33610 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33611 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33612 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33613 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33614 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33615 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33616 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33617 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33618 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33619 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33620 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33621 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33622 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33623 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33624 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33625 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33626 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33627 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33628 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33629 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33630 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33631 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33632 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33633 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33634 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33635 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33636 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33637 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33638 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33639 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33640 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33641 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33642 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33643 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33644 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33645 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33646 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33647 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33648 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33649 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33650 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33651 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33652 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33653 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33654 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33655 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33656 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33657 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33658 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33659 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33660
73c5ebe3
JM
33661 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33662 _XOPEN_SOURCE_EXTENDED for XPG4.
33663
39c33b6c
JM
33664 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33665
62fde54f
JM
33666 * Makeconfig (localtime): Remove variable.
33667 (inst_localtime-file): Likewise.
33668
0741d64c
AS
336692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33670
33671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33672 Update.
33673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33674 Update.
33675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33676 Update.
33677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33678 Update.
33679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33680 Update.
33681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33682 Update.
33683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33684 Update.
33685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33686 Update.
33687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33688 Update.
33689
7cb029ee
JM
336902012-05-01 Joseph Myers <joseph@codesourcery.com>
33691
33692 [BZ #2550]
33693 [BZ #2570]
33694 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33695 comparisons to determine direction to adjust input.
33696 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33697 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33698 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33699 Likewise.
33700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33701 Likewise.
33702 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33703 Likewise.
33704 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33705 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33706 Likewise.
33707 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33708 Likewise.
33709 * math/libm-test.inc (nexttoward_test): Add more tests.
33710
412bd966
AS
337112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33712
33713 [BZ #14040]
33714 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33715 in version GLIBC_2.1, not GLIBC_2.0.
33716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33717 Likewise.
33718
9568c0c2
JM
337192012-04-30 Joseph Myers <joseph@codesourcery.com>
33720
adfbc8ac
JM
33721 [BZ #13942]
33722 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33723 (1 - x) * (1 + x).
33724 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33725 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33726 * math/libm-test.inc (acos_test): Add more tests.
33727 (asin_test): Likewise.
33728 * sysdeps/i386/fpu/libm-test-ulps: Update.
33729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33730
5ba3cc69
JM
33731 [BZ #14034]
33732 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33733 of square root.
33734 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33735 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33736 * math/libm-test.inc (acos_test_tonearest): New function.
33737 (acos_test_towardzero): Likewise.
33738 (acos_test_downward): Likewise.
33739 (acos_test_upward): Likewise.
33740 (asin_test_tonearest): Likewise.
33741 (asin_test_towardzero): Likewise.
33742 (asin_test_downward): Likewise.
33743 (asin_test_upward): Likewise.
33744 (main): Call the new functions.
33745 * sysdeps/i386/fpu/libm-test-ulps: Update.
33746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33747
9568c0c2
JM
33748 [BZ #13884]
33749 [BZ #13924]
33750 * math/e_exp10.c: Include <float.h>.
33751 (__ieee754_exp10): Handle underflow here rather than multiplying
33752 large negative argument by M_LN10.
33753 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33754 of __ieee754_expf.
33755 * math/e_exp10l.c: Include <float.h>.
33756 (__ieee754_exp10l): Handle underflow here rather than multiplying
33757 large negative argument by M_LN10l.
33758 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33759 spurious overflow exception on underflow.
33760
5ac3ea17
MP
337612012-04-29 Marek Polacek <polacek@redhat.com>
33762
33763 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33764 (__fortify_function): New macro.
33765 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33766 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33767 __extern_always_inline.
33768 * libio/bits/stdio2.h: Likewise.
33769 * libio/bits/stdio.h: Likewise.
33770 * string/string.h: Likewise.
33771 * string/bits/string3.h: Likewise.
33772 * include/stdio.h: Likewise.
33773 * stdlib/bits/stdlib.h: Likewise.
33774 * stdlib/stdlib.h: Likewise.
33775 * rt/bits/mqueue2.h: Likewise.
33776 * rt/mqueue.h: Likewise.
33777 * posix/bits/unistd.h: Likewise.
33778 * posix/unistd.h: Likewise.
33779 * io/bits/poll2.h: Likewise.
33780 * io/bits/fcntl2.h: Likewise.
33781 * io/fcntl.h: Likewise.
33782 * io/sys/poll.h: Likewise.
33783 * misc/bits/syslog.h: Likewise.
33784 * misc/bits/syslog-ldbl.h: Likewise.
33785 * misc/sys/syslog.h: Likewise.
33786 * socket/bits/socket2.h: Likewise.
33787 * socket/sys/socket.h: Likewise.
33788 * debug/tst-chk1.c: Likewise.
33789 * wcsmbs/bits/wchar2.h: Likewise.
33790 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33791 * wcsmbs/wchar.h: Likewise.
33792
ecf0ebfb
AJ
337932012-04-29 Andreas Jaeger <aj@suse.de>
33794
33795 * Makerules (tests): Remove enable-check-abi protection.
33796 (check-abi-warn): Remove.
33797 (check-abi-%): Remove check-abi-warn usage.
33798
33799 * configure.in: Remove check-abi configure option.
33800 * configure: Regenerated.
33801 * config.make.in (enable-check-abi): Remove.
33802
6d5c57fa
AS
338032012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33804
24c5d07e 33805 [BZ #14033]
ded5180a
AS
33806 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33807 double functions to double *_finite functions.
33808
7e0d315d
AS
33809 [BZ #13941]
33810 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33811 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33812 LDBL_MIN_EXP.
33813 * stdio-common/Makefile (tests): Add tst-sprintf3.
33814 * stdio-common/tst-sprintf3.c: New file.
33815
6d5c57fa
AS
33816 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33817 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33818
0749ff8b
JM
338192012-04-28 Joseph Myers <joseph@codesourcery.com>
33820
33821 * conform/conformtest.pl: Remove duplicate typed-constant
33822 handling.
33823
8dbd5d7b
DM
338242012-04-28 David S. Miller <davem@davemloft.net>
33825
33826 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33827 (check-abi-%): Remove AWK script prerequisite and explicit
33828 abilist directory.
33829 (check-abi): Rewrite to just diff the symlist with the abilist.
33830 (config-tls, config-abi-config): Delete, no longer used.
33831 (update-abi-%): Remove AWK script and explicit abilist directory.
33832 (update-abi): Rewrite to simply compare and conditionally copy the
33833 symlist and the sysdep abilist file. Remove update-abi-config
33834 checks.
33835 * abilist/ld.abilist: Remove.
33836 * abilist/libBrokenLocale.abilist: Remove.
33837 * abilist/libanl.abilist: Remove.
33838 * abilist/libcrypt.abilist: Remove.
33839 * abilist/libdl.abilist: Remove.
33840 * abilist/librt.abilist: Remove.
33841 * abilist/libthread_db.abilist: Remove.
33842 * abilist/libutil.abilist: Remove.
33843 * scripts/extract-abilist.awk: Remove.
33844 * scripts/merge-abilist.awk: Remove.
33845 * sysdeps/generic/libcidn.abilist: New file.
33846 * sysdeps/generic/libnss_compat.abilist: New file.
33847 * sysdeps/generic/libnss_db.abilist: New file.
33848 * sysdeps/generic/libnss_dns.abilist: New file.
33849 * sysdeps/generic/libnss_files.abilist: New file.
33850 * sysdeps/generic/libnss_hesiod.abilist: New file.
33851 * sysdeps/generic/libnss_nis.abilist: New file.
33852 * sysdeps/generic/libnss_nisplus.abilist: New file.
33853 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33854 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33855 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33856 file.
33857 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33858 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33859 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33860 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33861 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33862 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33863 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33864 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33865 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33866 file.
33867 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33868 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33869 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33870 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33871 file.
33872 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33873 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33874 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33875 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33876 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33877 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33878 file.
33879 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33880 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33881 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33882 file.
33883 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33885 New file.
33886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33887 New file.
33888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33889 New file.
33890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33891 New file.
33892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33893 New file.
33894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33895 New file.
33896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33897 New file.
33898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33899 New file.
33900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33901 New file.
33902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33903 New file.
33904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33905 New file.
33906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33907 New file.
33908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33909 New file.
33910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33911 file.
33912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33913 New file.
33914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33915 New file.
33916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33917 file.
33918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33919 New file.
33920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33921 New file.
33922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33923 file.
33924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33925 New file.
33926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33927 New file.
33928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33929 New file.
33930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33931 New file.
33932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33933 New file.
33934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33935 New file.
33936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33938 file.
33939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33940 New file.
33941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33942 file.
33943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33944 file.
33945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33946 file.
33947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33948 file.
33949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33950 file.
33951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33952 New file.
33953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33954 file.
33955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33956 file.
33957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33958 New file.
33959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33960 file.
33961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33963 file.
33964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33965 New file.
33966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33967 file.
33968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33969 file.
33970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33971 file.
33972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33973 file.
33974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33975 file.
33976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33977 New file.
33978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33979 file.
33980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33981 file.
33982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33983 New file.
33984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33985 file.
33986 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33987 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33988 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33989 file.
33990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33991 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33992 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33993 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33994 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33995 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33996 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33997 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33998 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33999 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34002 file.
34003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34004 New file.
34005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34006 file.
34007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34008 file.
34009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34010 file.
34011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34012 file.
34013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34014 file.
34015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34016 New file.
34017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34018 New file.
34019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34020 file.
34021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34022 New file.
34023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34024 file.
34025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34027 file.
34028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34029 New file.
34030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34031 file.
34032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34033 file.
34034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34035 file.
34036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34037 file.
34038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34039 file.
34040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34041 New file.
34042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34043 New file.
34044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34045 file.
34046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34047 New file.
34048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34049 file.
34050
41d73a1b
JM
340512012-04-28 Joseph Myers <joseph@codesourcery.com>
34052
34053 * conform/conformtest.pl: Fix typo in handling typed-constant from
34054 allow-header.
34055
28aeeda4
JM
340562012-04-27 Joseph Myers <joseph@codesourcery.com>
34057
adae8f5e
JM
34058 * README: Cut down references to pre-2.6 Linux kernels and
34059 Linuxthreads. Update lists of configurations in libc and ports
34060 and sort alphabetically. Say "or newer" with Linux kernel version
34061 requirements.
34062
28aeeda4
JM
34063 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34064
a462cb63
RA
340652012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34066
34067 [BZ #887]
34068 * math/libm-test.inc (logb_test_downward): New test to expose
34069 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34070 rounding mode.
34071
6ad3493e
JM
340722012-04-27 Joseph Myers <joseph@codesourcery.com>
34073
34074 [BZ #14027]
34075 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34076 to be done.
34077 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34078 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34079
2ce4f015
JM
340802012-04-26 Joseph Myers <joseph@codesourcery.com>
34081
5aeb141a
JM
34082 * sysdeps/unix/i386/brk.S: Remove file.
34083 * sysdeps/unix/i386/dl-brk.S: Likewise.
34084 * sysdeps/unix/i386/pipe.S: Likewise.
34085 * sysdeps/unix/i386/sigreturn.S: Likewise.
34086 * sysdeps/unix/i386/syscall.S: Likewise.
34087 * sysdeps/unix/i386/vfork.S: Likewise.
34088 * sysdeps/unix/i386/wait.S: Likewise.
34089
7143acae
JM
34090 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34091 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34092
2ce4f015
JM
34093 * configure.in (arm*-none*): Do not allow without
34094 --enable-hacker-mode.
34095 (netbsd*): Remove case setting base_os.
34096 (386bsd*): Likewise.
34097 (freebsd*): Likewise.
34098 (bsdi*): Likewise.
34099 (osf*): Likewise.
34100 (sunos*): Likewise.
34101 (ultrix*): Likewise.
34102 (newsos*): Likewise.
34103 (dynix*): Likewise.
34104 (*bsd*): Likewise.
34105 (sysv*): Likewise.
34106 (isc*): Likewise.
34107 (esix*): Likewise.
34108 (sco*): Likewise.
34109 (minix*): Likewise.
34110 (irix4*): Likewise.
34111 (irix6*): Likewise.
34112 (solaris[2-9]*): Likewise.
34113 (none): Likewise.
34114 * configure: Regenerated.
34115
0ac229c8
AZ
341162012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34117
34118 [BZ #11521]
34119 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34120 overflow or cancellation in calculating denominator.
34121 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34122 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34123 down expression to avoid unexpected rounding in newer GCCs.
34124 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34125
33f244f4
DM
341262012-04-26 David S. Miller <davem@davemloft.net>
34127
34128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34129 long-double compat symbols.
34130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34143
cfa1f3e8
DM
341442012-04-25 David S. Miller <davem@davemloft.net>
34145
34146 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34147 HWCAP_* values only after the memory barriers have been defined.
34148 (atomic_full_barrier): Define.
34149 (atomic_read_barrier): Define.
34150 (atomic_write_barrier): Define.
34151
6e236b92
SP
341522012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34153
34154 * shlib-versions: Add libgcc_s version information.
34155 * sysdeps/generic/libgcc_s.h: Remove.
34156 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34157 libgcc_s.h.
34158 * sysdeps/gnu/unwind-resume.c: Likewise.
34159 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34160
aab39a09
DM
341612012-04-25 David S. Miller <davem@davemloft.net>
34162
34163 * sysdeps/unix/sparc/brk.S: Delete.
34164 * sysdeps/unix/sparc/dl-brk.S: Delete.
34165 * sysdeps/unix/sparc/pipe.S: Delete.
34166 * sysdeps/unix/sparc/sysdep.S: Delete.
34167 * sysdeps/unix/sparc/sysdep.h: Delete.
34168 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34169 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34170 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34171 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34172 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34173 (JUMPTARGET): Remove.
34174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34175 sysdeps/unix/sparc/sysdep.h
34176 (ENTRY, END): Remove.
34177 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34178
a3cc4f48
JM
341792012-04-25 Joseph Myers <joseph@codesourcery.com>
34180
2ed8cda2
JM
34181 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34182 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34183 -DIS_IN_build.
34184
35d76d59
JM
34185 * timezone/README: Update upstream location and email address for
34186 tzcode and tzdata.
34187 * timezone/zdump.c: Update from tzcode 2012b.
34188 * timezone/zic.c: Likewise.
34189
a3cc4f48
JM
34190 * configure.in (libc_cv_as_needed): Remove test.
34191 * configure: Regenerated.
34192 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34193 conditional definition.
34194 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34195 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34196 * config.make.in (have-as-needed): Remove variable.
34197
ceab42c3
SP
341982012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34199 Paul Pluzhnikov <ppluzhnikov@google.com>
34200
34201 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34202 strings correctly.
34203
3ce2865f
CLT
342042012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34205
34206 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34207 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34208 * sysdeps/sh/strlen.S: Likewise.
34209
f37e0d68
JM
342102012-04-24 Joseph Myers <joseph@codesourcery.com>
34211
ae186e9a
JM
34212 * sysdeps/unix/fork.S: Remove file.
34213 * sysdeps/unix/i386/fork.S: Likewise.
34214 * sysdeps/unix/sparc/fork.S: Likewise.
34215
b96914af
JM
34216 * sysdeps/unix/system.c: Remove file.
34217 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34218
f37e0d68
JM
34219 * sysdeps/unix/getegid.S: Remove file.
34220 * sysdeps/unix/geteuid.S: Likewise.
34221
87ef29ca
RM
342222012-04-24 Roland McGrath <roland@hack.frob.com>
34223
83bcd236
RM
34224 * scripts/check-localplt.awk: New file.
34225 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34226 of diff.
34227 * scripts/data/localplt-generic.data: Add a comment.
34228
87ef29ca
RM
34229 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34230 NODE when __dir_mkfile failed.
34231 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34232 Reported by Ludovic Courtès <ludo@gnu.org>.
34233
e5a6e567
AJ
342342012-04-24 Andreas Jaeger <aj@suse.de>
34235
34236 * Makerules (common-clean): Also remove gen-as-const-headers
34237 files.
34238
c1820385
JM
342392012-04-24 Joseph Myers <joseph@codesourcery.com>
34240
34241 * Makerules (native-compile): Do not change working directory for
34242 build. Use $(OUTPUT_OPTION) in command.
34243 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34244
94e02fc4
AZ
342452012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34246
34247 [BZ #13886]
34248 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34249 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34250 * math/libm-test.inc (floor_test): Add more tests.
34251 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34252
3a533ca3
JM
342532012-04-24 Joseph Myers <joseph@codesourcery.com>
34254
940ab4b3
JM
34255 * sysdeps/unix/getdents.c: Remove file.
34256 * sysdeps/unix/sysv/getdents.c: Likewise.
34257 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34258
90e037bd
JM
34259 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34260 sysdeps/unix/mman/syscalls.list.
34261 (mmap): Likewise.
34262 (mprotect): Likewise.
34263 (msync): Likewise.
34264 (munmap): Likewise.
34265 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34266 * sysdeps/unix/mman/syscalls.list: Remove.
34267 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34268
3a533ca3
JM
34269 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34270 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34271 * configure: Regenerated.
34272 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34273 $(libgcc_s_suffix).
34274 * config.make.in (libgcc_s_suffix): Remove variable.
34275
1ad743de
JM
342762012-04-23 Joseph Myers <joseph@codesourcery.com>
34277
4ad451e2
JM
34278 * sysdeps/unix/sysv/gethostname.c: Move to ...
34279 * sysdeps/posix/gethostname.c: ... here.
34280
5e37ce39
JM
34281 * sysdeps/unix/execve.S: Remove file.
34282
1ad743de
JM
34283 * sysdeps/unix/_exit.S: Remove file.
34284
4e681b5b
AJ
342852012-04-23 Andreas Jaeger <aj@suse.de>
34286
34287 [BZ #13739]
34288 * manual/Makefile: Remove make dist support, there's no
34289 need for a stand-alone documentation tar ball.
34290 (TEXI2DVI): Define always, it's not in Makeconfig.
34291 (dist): Removed.
34292 (tar-it): Removed.
34293 (edition): Removed.
34294 (glibc-doc-$(edition).tar): Removed
34295 (%.Z): Removed.
34296 (%.gz): Removed.
34297 (%.uu): Removed.
34298 (ETAGS): Remove, it's in Makeconfig.
34299 (move-if-change): Remove, it's in Makeconfig.
34300
38686a03 343012012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34302
34303 [BZ #13970]
34304 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34305 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34306 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34307 (strtod_l, strtof_l, strtold_l): Remove __wur.
34308 It is not necessarily an error to ignore strtol's return value.
34309 One can reliably look at the stored endptr to decide whether
34310 the number had valid syntax.
34311
7c0616fa
AJ
343122012-04-21 Andreas Jaeger <aj@suse.de>
34313
803cb6b7 34314 [BZ #13739]
7c0616fa
AJ
34315 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34316
b0fe253f
JM
343172012-04-21 Joseph Myers <joseph@codesourcery.com>
34318
34319 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34320 * sysdeps/unix/sysv/Versions: Remove file.
34321
8280f22d
MT
343222012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34323
34324 [BZ #13927]
34325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34326
75ce411f 343272012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34328
34329 [BZ #7064]
34330 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34331 version from __vm86.
34332
097d59fa
JM
343332012-04-20 Joseph Myers <joseph@codesourcery.com>
34334
a90f3bcb
JM
34335 * sysdeps/unix/common/lxstat.c: Remove file.
34336 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34337
edc7ea78
JM
34338 * sysdeps/unix/sysv/Makefile: Remove file.
34339
cb78c221
JM
34340 * sysdeps/unix/sysv/direct.h: Remove file.
34341
efa6a45f
JM
34342 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34343 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34344 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34345 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34346 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34347 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34348 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34349
9c9f2d0c
JM
34350 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34351
4541c83b
JM
34352 * sysdeps/unix/xmknod.c: Remove file.
34353 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34354
f5d153a0
JM
34355 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34356
aa746595
JM
34357 * sysdeps/unix/sysv/i386/time.S: Remove file.
34358
cce5905e
JM
34359 * sysdeps/unix/fxstat.c: Remove file.
34360 * sysdeps/unix/xstat.c: Likewise.
34361 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34362
37fa3841
JM
34363 * sysdeps/unix/sysv/sigaction.c: Remove file.
34364
ff1962a3
JM
34365 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34366 (sysdep_headers): Remove variable.
34367 [termio.h not in sysdep_headers] (generated): Likewise.
34368 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34369 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34370 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34371 * sysdeps/unix/sysv/tcflow.c: Likewise.
34372 * sysdeps/unix/sysv/tcflush.c: Likewise.
34373 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34374 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34375 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34376 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34377 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34378
e7740d31
JM
34379 * sysdeps/unix/siglist.c: Remove file.
34380
ee06f18b
JM
34381 * sysdeps/unix/getppid.S: Remove file.
34382
097d59fa
JM
34383 * sysdeps/unix/mkdir.c: Remove file.
34384 * sysdeps/unix/rmdir.c: Likewise.
34385
ff3d51ec
AS
343862012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34387
34388 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34389 ERR_MAX value.
34390 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34391 errlist-compat value.
34392
50f81fd7
DM
343932012-04-18 David S. Miller <davem@davemloft.net>
34394
34395 * sysdeps/generic/memcopy.h (reg_char): Delete.
34396 * debug/strcat_chk.c: Use char, not reg_char.
34397 * debug/strcpy_chk.c: Likewise.
34398 * debug/strncat_chk.c: Likewise.
34399 * debug/strncpy_chk.c: Likewise.
34400 * string/memchr.c: Likewise.
34401 * string/memrchr.c: Likewise.
34402 * string/rawmemchr.c: Likewise.
34403 * string/strcat.c: Likewise.
34404 * string/strchr.c: Likewise.
34405 * string/strchrnul.c: Likewise.
34406 * string/strcmp.c: Likewise.
34407 * string/strcpy.c: Likewise.
34408 * string/strncat.c: Likewise.
34409 * string/strncmp.c: Likewise.
34410 * string/strncpy.c: Likewise.
34411
8ff41c46
WS
344122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34413
34414 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34415 __builtin_memcopy is called when src and dest ranges are known to not
34416 overlap.
34417
6b652f46
WS
344182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34419
34420 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34421 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34422 fwd_align_merge macro call.
34423 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34424 bwd_align_merge macro call.
34425 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34426
b282631e
WS
344272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34428
34429 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34430 bwd_align_merge macros.
34431 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34432 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34433 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34434
95aa737c
DM
344352012-04-18 David S. Miller <davem@davemloft.net>
34436
34437 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34438
7a99a614
AJ
344392012-04-18 Andreas Jaeger <aj@suse.de>
34440
34441 [BZ# 6794]
34442 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34443 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34444 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34445
34446 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34447 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34448 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34449
34450 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34451 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34452 Adjust for changed ldbl-128 files.
34453
34454 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34455 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34456 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34457
e5270c23
DM
344582012-04-17 David S. Miller <davem@davemloft.net>
34459
34460 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34461
fb5e92c9
AS
344622012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34463
34464 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34465 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34466 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34467 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34468 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34469 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34470
76da7265
AZ
344712012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34472
34473 [BZ #6794]
34474 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34475 * math/libm-test.inc: Add ilogb errno and exception tests.
34476 * math/w_ilogb.c: New file: ilogb wrapper.
34477 * math/w_ilogbf.c: New file: ilogbf wrapper.
34478 * math/w_ilogbl.c: New file: ilogbl wrapper.
34479 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34480 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34481 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34482 exception being thrown with 0.0 as argument.
34483 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34484 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34485 exception being thrown with 0.0 as argument.
34486 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34487 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34488 exception being thrown with 0.0 as argument.
34489 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34490 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34491 exception being thrown with 0.0 as argument.
34492 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34493 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 34494 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
34495 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34496 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34497 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34498 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34499 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34500 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34501
0396e69d
PB
345022012-04-17 Petr Baudis <pasky@ucw.cz>
34503
34504 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34505 with altivec.
34506
750b5926
MP
345072012-04-16 Marek Polacek <polacek@redhat.com>
34508
34509 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34510
751728a1
MP
345112012-04-16 Marek Polacek <polacek@redhat.com>
34512
34513 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34514 operands of fdivp instruction.
34515
34a27407
L
345162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34517
34518 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34519 * elf/tst-auditmod3b.c: Likewise.
34520 * elf/tst-auditmod4b.c: Likewise.
34521 * elf/tst-auditmod5b.c: Likewise.
34522 * elf/tst-auditmod6b.c: Likewise.
34523 * elf/tst-auditmod6c.c: Likewise.
34524 * elf/tst-auditmod7b.c: Likewise.
34525 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34526 * sysdeps/x86_64/preconfigure.in: Likewise.
34527 * sysdeps/x86_64/preconfigure: Regenerated.
34528
7e73e17d
L
345292012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34530
34531 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34532 __ILP32__.
34533
c7a6ab72
AB
345342012-04-13 Antoine Balestrat <merkil33@gmail.com>
34535
34536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34537 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34538
a9e8e0e0
CL
345392012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34540
34541 [BZ #13973]
34542 * locale/iso-639.def: Fix gl language name. Spotted by
34543 Yaron Shahrabani.
34544
ec98af7d
RM
345452012-04-12 Roland McGrath <roland@hack.frob.com>
34546
34547 [BZ #2074]
34548 * libio/libio.h (__io_write_fn): Update comment.
34549
247c3ede
PB
345502012-04-12 Petr Baudis <pasky@ucw.cz>
34551
34552 [BZ #2074]
34553 * stdio.texi (Hook Functions): The user provided writer function
34554 is not allowed to return -1.
34555
55939d6d
DM
345562012-04-11 David S. Miller <davem@davemloft.net>
34557
34558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34559
90020f5a
MF
345602012-04-11 Mike Frysinger <vapier@gentoo.org>
34561
34562 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34563 Add a leading slash to rtkaio.
34564
288f9098
JM
345652012-04-11 Jim Meyering <meyering@redhat.com>
34566
90020f5a
MF
34567 [BZ #11959]
34568 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34569 It is not necessarily an error to ignore fwrite's return
34570 value. One can reliably use ferror to test for errors after
34571 the fact.
288f9098 34572
4be2b570
L
345732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34574
34575 * bits/types.h (__snseconds_t): New type.
34576 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34577
34578 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34579 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34580 (__SNSECONDS_T_TYPE): Likewise.
34581 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34582 (__SNSECONDS_T_TYPE): Likewise.
34583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34584 (__SNSECONDS_T_TYPE): Likewise.
34585
288f9098 345862012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34587
34588 [BZ #2636]
34589 * manual/time.texi (Processor Time): Return type of times is
34590 elapsed real time since an arbitrary point in the past.
34591 (CPU Time): Move CLK_TCK from here...
34592 (Processor Time): ...to here. Correct description.
34593 * manual/conf.texi (Constants for Sysconf): Correct description of
34594 _SC_CLK_TCK.
34595
d7dd4413
DM
345962012-04-10 David S. Miller <davem@davemloft.net>
34597
34598 [BZ #13967]
34599 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34600 where the is a gap between DT_REL(A) and DT_JMPREL.
34601
b46068fc
L
346022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34603
34604 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34605 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34606 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34607
73d65cc3
SP
346082012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34609
34610 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34611 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34612 (dl_main): Handle --inhibit-cache.
34613 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34614 _dl_inhibit_cache.
34615 * elf/dl-load.c (_dl_map_object): Use it.
34616 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34617
bcc8d661
JM
346182012-04-09 Joseph Myers <joseph@codesourcery.com>
34619
8f9a2fae
JM
34620 [BZ #13872]
34621 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34622 (__ieee754_powl): Saturate large exponents rather than testing for
34623 overflow of y*log2(x).
34624 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34625 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34626 exceptions.
34627
bcc8d661
JM
34628 [BZ #11521]
34629 * math/s_ctan.c: Include <float.h>.
34630 (__ctan): Avoid internal overflow or cancellation in calculating
34631 denominator.
34632 * math/s_ctanf.c: Likewise.
34633 * math/s_ctanl.c: Likewise.
34634 * math/s_ctanh.c: Likewise.
34635 * math/s_ctanhf.c: Likewise.
34636 * math/s_ctanhl.c: Likewise.
34637 * math/libm-test.inc (ctan_test): Add more tests.
34638 (ctanh_test): Likewise.
34639 * sysdeps/i386/fpu/libm-test-ulps: Update.
34640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34641
823fbbb4
AJ
346422012-04-09 Andreas Jaeger <aj@suse.de>
34643
03879793
AJ
34644 [BZ #6894]
34645 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34646 is an optional BSD extension.
34647
823fbbb4
AJ
34648 [BZ #10254]
34649 * manual/stdio.texi (Opening Streams): Document additional fopen
34650 parameters.
34651
8de131cb
RM
346522012-04-09 Roland McGrath <roland@hack.frob.com>
34653
34654 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34655 %eax without telling the compiler.
34656
c0ed9d7d
CD
346572012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34658
34659 [BZ # 13963]
34660 * manual/install.texi: Use sourceware.org.
34661
c483f6b4
JM
346622012-04-09 Joseph Myers <joseph@codesourcery.com>
34663
d7dd9453
JM
34664 [BZ #13873]
34665 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34666 (__ieee754_pow): Generate overflow and underflow using huge*huge
34667 and tiny*tiny rather than just returning constant infinity or zero
34668 for large exponents.
34669 * math/libm-test.inc (pow_test): Require overflow exceptions for
34670 applicable cases of large exponents.
34671
c483f6b4
JM
34672 [BZ #706]
34673 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34674 (__ieee754_pow): Use iterative multiplication algorithm only for
34675 integer exponents with absolute value below 1024. Check for odd
34676 integer exponents when using algorithm for real exponents.
34677 * math/libm-test.inc (pow_test): Add more tests.
34678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34679
d2de7579
JM
346802012-04-08 Joseph Myers <joseph@codesourcery.com>
34681
34682 [BZ #13705]
34683 * math/libm-test.inc (exp_test): Do not allow overflow exception
34684 on underflow test.
34685
f77f1232
AJ
346862012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34687
34688 [BZ #13705]
34689 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34690 instead of __kernel_standard_f.
34691
3884932b
MF
346922012-04-08 Mike Frysinger <vapier@gentoo.org>
34693
34694 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34695 * sysdeps/x86_64/memset_chk.S: Likewise.
34696
54472e9c
AJ
346972012-04-08 Andreas Jaeger <aj@suse.de>
34698
6ab0fbfc
AJ
34699 [BZ #10153]
34700 * manual/startup.texi (Environment Access): Describe return value
34701 for putenv and setenv.
34702
61efba8c
AJ
34703 [BZ #6895]
34704 * manual/filesys.texi (Directory Entries): Add description for
34705 DT_LNK.
34706
95c3f29a
AJ
34707 [BZ #6890]
34708 * manual/filesys.texi (Directory Entries): Clarify that it's file
34709 system not operating system in the description of DT_UNKNOWN.
34710
54472e9c
AJ
34711 [BZ #6578]
34712 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34713
624254b1
SC
347142012-04-08 Stephen Compall <s11@member.fsf.org>
34715
34716 [BZ #6649]
34717 * manual/llio.texi (Opening and Closing Files): Add cross
34718 reference to explain mode argument.
34719
1e4920e0
MF
347202012-04-07 Mike Frysinger <vapier@gentoo.org>
34721
34722 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34723 * sysdeps/x86_64/memset_chk.S: Likewise.
34724
5ed848f3
DM
347252012-04-07 David S. Miller <davem@davemloft.net>
34726
34727 * elf/elf.h (R_SPARC_WDISP10): Define.
34728 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34729 R_SPARC_SIZE32.
34730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34731 R_SPARC_SIZE64 and R_SPARC_H34.
34732
96154cd8
CD
347332012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34734
34735 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34736 conditions and remove no longer applicable assertion.
34737
9904dc47
L
347382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34739
34740 * bits/byteswap.h: Include <features.h>.
34741 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34742 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34743
f8887d0a
L
347442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34745
34746 * bits/byteswap.h (__bswap_16): Removed.
34747 Include <bits/byteswap-16.h> to get __bswap_16.
34748 * sysdeps/i386/bits/byteswap.h: Likewise.
34749 * sysdeps/s390/bits/byteswap.h: Likewise.
34750 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34751 * bits/byteswap-16.h: New file.
34752 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34753 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34754 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34755 * string/Makefile (headers): Add bits/byteswap-16.h.
34756
62470f60
PP
347572012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34758
34759 [BZ #13895]
34760 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34761 extra indirection.
34762 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34763 * nss/tst-nss-static.c: New.
34764
4dad7bab
RM
347652012-04-06 Robert Millan <rmh@gnu.org>
34766
34767 [BZ #6486]
34768 * manual/llio.texi (File Position Primitive): lseek
34769 refers to WHENCE when it really means OFFSET.
34770
e9142a17
AJ
347712012-04-06 Andreas Jaeger <aj@suse.de>
34772
2c040eff
AJ
34773 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34774 strncmp declarations.
34775
e9142a17
AJ
34776 * abilist/libc.abilist: Add __poll and __ppoll.
34777
ff9f1c5f
DM
347782012-04-05 David S. Miller <davem@davemloft.net>
34779
dcd2ae90
DM
34780 * scripts/check-local-headers.sh: Accept a host triplet in the
34781 path matched by the exclude regexp.
34782
993eb054
DM
34783 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34784 definition.
34785 * sysdeps/powerpc/powerpc32/dl-machine.h
34786 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34787 * sysdeps/s390/s390-32/dl-machine.h
34788 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34789 * sysdeps/sparc/sparc32/dl-machine.h
34790 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34791 * sysdeps/sparc/sparc64/dl-machine.h
34792 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34793
ff9f1c5f
DM
34794 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34795 lazy binding.
48e2e132 34796 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34797 undefined symbol errors.
34798
48e2e132 34799 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34800 DT_NEEDED entries.
34801
e80d6f94
MM
348022012-04-05 Michael Matz <matz@suse.de>
34803
34804 [BZ #13592]
34805 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34806
349fa79f
AJ
348072012-04-05 Andreas Jaeger <aj@suse.de>
34808
34809 [BZ #13908]
34810 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34811 comment.
34812
f402708f
KK
348132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34814
34815 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34816 which ROUND is no valid rounding mode.
34817
2ecccfc9
KK
348182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34819
34820 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34821 read again.
34822 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34823
8a53f50f
KK
348242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34825
34826 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34827 an exception using FPU order intentionally.
34828
348292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34830
34831 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34832 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34833 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34834 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34835
d653abb7
SJ
348362012-04-05 Simon Josefsson <simon@josefsson.org>
34837
34838 [BZ #12340]
34839 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34840 EINVAL when BUFLEN is too smal.
34841
c3b1bf7d
TS
348422012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34843
34844 [BZ #13553]
34845 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34846 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34847
b1aa60f3
AJ
348482012-04-03 Andreas Jaeger <aj@suse.de>
34849
c3b1bf7d 34850 [BZ #13938]
67f60a26
AJ
34851 * manual/setjmp.texi (System V contexts): Fix sentence.
34852
b1aa60f3
AJ
34853 [BZ #13926]
34854 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34855 New macro for this case.
34856 [!__GNUC__] (__bswap_64): New inline function for this case.
34857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34858 * bits/byteswap.h: Likewise.
34859 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34860 ull, guard with __GLIBC_HAVE_LONG_LONG.
34861
34862 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34863 __GLIBC_HAVE_LONG_LONG.
34864
34865 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34866 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34867
39c59c35
TMQMF
348682012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34869
34870 [BZ #13691]
34871 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34872 inptr and inend, rather than using last_ch.
34873
135ffda8
DM
348742012-04-02 David S. Miller <davem@davemloft.net>
34875
34876 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34877 * stdio-common/printf-parse.h (read_int): Change return type to
34878 'int', return -1 on INT_MAX overflow.
34879 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34880 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34881 overflows INT_MAX. Check for overflow of in-format-string precision
34882 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34883 SIZE_MAX not INT_MAX for integer overflow test.
34884 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34885 skip the construct in the format string but do not record anything.
34886 * stdio-common/bug22.c: Adjust to test both width/prevision
34887 INT_MAX overflow as well as total length INT_MAX overflow. Check
34888 explicitly for proper errno values.
34889
228c019e
TS
348902012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34891
302cadd3
TS
34892 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34893 CHAR_MAX.
34894 * string/test-strcmp.c [! WIDE]: Likewise.
34895 * time/tst-mktime2.c: Likewise for INT_MAX.
34896 * string/test-string.h: #include <sys/param.h> for MIN.
34897
228c019e
TS
34898 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34899 * sysdeps/i386/init-first.c (init): Likewise.
34900 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34901 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34902 * sysdeps/sh/init-first.c (init): Likewise.
34903
cfa633f5
UD
349042012-04-01 Ulrich Drepper <drepper@gmail.com>
34905
34906 * po/ru.po: Update from translation team.
d1635ef8 34907 * po/vi.po: Likewise.
cfa633f5 34908
6cd0a5ea
SP
349092012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34910
34911 * resolv/nss_dns/dns-host.c: Merge copyright years.
34912
4b43400f
LD
349132012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34914
34915 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34916 Optimize memcpy with prefetch if
34917 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34918 src, dst pointers have unequal 16 byte alignments.
34919
48c41d04
SP
349202012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34921
34922 [BZ #13928]
34923 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34924 from a CNAME entry and return the minimum ttl for the query.
34925 (gaih_getanswer_slice): Likewise.
34926
b8dc394d
JL
349272012-03-30 Jeff Law <law@redhat.com>
34928
34929 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34930 due to long keys.
34931 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34932 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34933
2f5a5ed0
JL
34934 * resolv/nss_dns/dns-host.c: Update copyright year.
34935
1d39e359
UD
349362012-03-30 Ulrich Drepper <drepper@gmail.com>
34937
c030f70c 34938 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 34939 requests to save a system call. Fix check that all bytes are sent.
c030f70c 34940
1d39e359
UD
34941 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34942 comments for sendmmsg.
34943
349442012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
34945
34946 [BZ #13691]
34947 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34948 with only 1 character between 0x0041 and 0x01b0.
34949 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34950 * wcsmbs/tst-mbsnrtowcs.c: New file.
34951
20fde227
DM
349522012-03-29 David S. Miller <davem@davemloft.net>
34953
34954 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34955 small copies by hand.
34956
984a4237
JL
349572012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34958
34959 [BZ #13761]
57f41c40
AS
34960 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34961 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34962 group memberships.
984a4237 34963
18c9d62b
DM
349642012-03-28 David S. Miller <davem@davemloft.net>
34965
88d85d4f
DM
34966 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34967 that branches into memcpy.
34968 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34969 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34970 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34971 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34973 bits.
34974 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34975 implementation too.
34976 * sysdeps/sparc/mempcpy.S: New file.
34977
e5aa83e1
DM
34978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34979 the IFUNC routine in the libc case.
34980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34981
88570753
DM
34982 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34983 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34984 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34985 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34986 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34987 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34988 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34989 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34990
249d7567
DM
34991 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34992 loop to 256 bytes instead of 64 bytes and fix test signedness.
34993
18c9d62b
DM
34994 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34995 * sysdeps/sparc/sparc32/Makefile: rather than here...
34996 * sysdeps/sparc/sparc64/Makefile: and here.
34997
05f3d1f6
UD
349982012-03-28 Ulrich Drepper <drepper@gmail.com>
34999
35000 * malloc/mallocbug.c: Avoid warnings about unused variables.
35001
86ae07a8
JL
350022012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35003
35004 [BZ #13760]
35005 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35006 in the right place. Discard and retry query if response is
35007 larger than input buffer size.
35008
41bf21a1
JM
350092012-03-28 Joseph Myers <joseph@codesourcery.com>
35010
d6270972
JM
35011 [BZ #369]
35012 [BZ #2678]
35013 [BZ #3866]
35014 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35015 x for large integer exponent.
35016 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35017 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35018 sign of result as needed afterwards.
35019 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35020 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35021 result for underflowing pow the same as for overflow.
35022 (__kernel_standard_l): Handle powl overflow and underflow here
35023 rather than calling __kernel_standard.
35024 * math/libm-test.inc (pow_test): Add more tests.
35025
414fca03 35026 [BZ #3868]
41bf21a1
JM
35027 [BZ #13879]
35028 [BZ #13910]
35029 [BZ #13911]
35030 [BZ #13912]
35031 [BZ #13913]
35032 [BZ #13915]
35033 [BZ #13916]
35034 [BZ #13917]
35035 [BZ #13918]
35036 [BZ #13919]
35037 [BZ #13920]
35038 [BZ #13921]
35039 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35040 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35041 (__kernel_standard_l): New function.
35042 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35043 __kernel_standard.
35044 * math/w_acosl.c (__acosl): Likewise.
35045 * math/w_asinl.c (__asinl): Likewise.
35046 * math/w_atan2l.c (__atan2l): Likewise.
35047 * math/w_atanhl.c (__atanhl): Likewise.
35048 * math/w_coshl.c (__coshl): Likewise.
35049 * math/w_exp10l.c (__exp10l): Likewise.
35050 * math/w_exp2l.c (__exp2l): Likewise.
35051 * math/w_fmodl.c (__fmodl): Likewise.
35052 * math/w_hypotl.c (__hypotl): Likewise.
35053 * math/w_j0l.c (__j0l, __y0l): Likewise.
35054 * math/w_j1l.c (__j1l, __y1l): Likewise.
35055 * math/w_jnl.c (__jnl, __ynl): Likewise.
35056 * math/w_lgammal.c (__lgammal): Likewise.
35057 * math/w_log10l.c (__log10l): Likewise.
35058 * math/w_log2l.c (__log2l): Likewise.
35059 * math/w_logl.c (__logl): Likewise.
35060 * math/w_powl.c (__powl): Likewise.
35061 * math/w_remainderl.c (__remainderl): Likewise.
35062 * math/w_scalbl.c (sysv_scalbl): Likewise.
35063 * math/w_sinhl.c (__sinhl): Likewise.
35064 * math/w_sqrtl.c (__sqrtl): Likewise.
35065 * math/w_tgammal.c (__tgammal): Likewise.
35066 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35067 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35068 * math/libm-test.inc (acos_test): Add more tests.
35069 (acosh_test): Likewise.
35070 (asin_test): Likewise.
35071 (atanh_test): Likewise.
35072 (exp_test): Likewise.
35073 (exp10_test): Likewise.
35074 (exp2_test): Likewise.
35075 (expm1_test): Likewise.
35076 (lgamma_test): Likewise.
35077 (log_test): Likewise.
35078 (log10_test): Likewise.
35079 (log1p_test): Likewise.
35080 (log2_test): Likewise.
35081 (pow_test): Do not allow some spurious overflow exceptions.
35082 (sqrt_test): Add more tests.
35083 (tgamma_test): Likewise.
35084 (y0_test): Likewise.
35085 (y1_test): Likewise.
35086 (yn_test): Likewise.
35087
dd62fda6
AB
350882012-03-27 Anton Blanchard <anton@samba.org>
35089
35090 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35091 MAP_HUGETLB.
35092 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35093 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35094 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35095
1e3cdfda
AJ
350962012-03-27 David S. Miller <davem@davemloft.net>
35097
b855ab85
DM
35098 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35099
1e3cdfda
AJ
35100 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35101 have-as-vis3 check.
35102
351032012-03-27 Andreas Jaeger <aj@suse.de>
35104
35105 * sysdeps/x86_64/elf/configure.in: Moved to ...
35106 * sysdeps/x86_64/configure.in: ... here.
35107 * sysdeps/x86_64/elf/start.S: Moved to ...
35108 * sysdeps/x86_64/start.S: ... here.
35109 * sysdeps/x86_64/elf/configure: Delete.
35110
35111 * sysdeps/x86_64/configure.in: Merge contents from
35112 sysdeps/i386/configure.in (without i686 check).
35113
35114 * sysdeps/i386/elf/Versions: Merge into ...
35115 * sysdeps/i386/Versions: ... this.
35116 * sysdeps/i386/elf/Versions: Delete file.
35117 * sysdeps/i386/elf/start.S: Moved to ...
35118 * sysdeps/i386/start.S: ...here.
35119 * sysdeps/i386/elf/configure.in: Merge into...
35120 * sysdeps/i386/configure.in: ...here.
35121 * sysdeps/i386/elf/configure.in: Delete file.
35122 * sysdeps/i386/elf/configure: Delete file.
35123
35124 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35125 * debug/backtracesyms.c: ... here.
35126 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35127 * debug/backtracesymsfd.c: ... here.
35128 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35129 * sysdeps/generic/ifunc-sel.h: ... here.
35130
35131 * sysdeps/unix/i386/start.c: Delete file.
35132 * sysdeps/unix/sparc/start.c: Delete file.
35133 * sysdeps/unix/start.c: Delete file.
35134
35135 * sysdeps/sh/elf/configure.in: Moved to ...
35136 * sysdeps/sh/configure.in: ... here.
35137 * sysdeps/sh/elf/start.S: Moved to ...
35138 * sysdeps/sh/start.S: ... here.
35139 * sysdeps/sh/elf/configure: Delete file.
35140
35141 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35142 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35143 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35144 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35145 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35146 * sysdeps/powerpc/powerpc64/start.S: here.
35147 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35148 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35149 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35150 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35151 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35152
35153 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35154 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35155 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35156 * sysdeps/powerpc/powerpc32/start.S: ... here.
35157 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35158 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35159 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35160
35161 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35162 * sysdeps/powerpc/ifunc-sel.h: ... here.
35163 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35164 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35165
35166 * sysdeps/sparc/elf/configure.in: Moved to ...
35167 * sysdeps/sparc/configure.in: ... here.
35168 * sysdeps/sparc/elf/configure: Delete file.
35169 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35170 * sysdeps/sparc/sparc32/start.S: ... here.
35171 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35172 * sysdeps/sparc/sparc64/start.S: ... here.
35173 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35174 * sysdeps/sparc/sparc32/Makefile: ... this.
35175 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35176 * sysdeps/sparc/sparc64/Makefile: ... this.
35177
35178 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35179 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35180 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35181 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35182 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35183 * sysdeps/s390/s390-32/setjmp.S: ... here.
35184 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35185 * sysdeps/s390/s390-32/configure.in: ... here.
35186 * sysdeps/s390/s390-32/elf/configure: Delete file.
35187 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35188 * sysdeps/s390/s390-32/start.S: ... here.
35189
35190 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35191 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35192 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35193 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35194 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35195 * sysdeps/s390/s390-64/setjmp.S: ... here.
35196 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35197 * sysdeps/s390/s390-64/configure.in: ... here
35198 * sysdeps/s390/s390-64/elf/configure: Delete file.
35199 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35200 * sysdeps/s390/s390-64/start.S: ... here.
35201 * sysdeps/s390/s390-64/elf/configure: Delete.
35202
35203 * configure.in: Remove support for elf directories in sysdeps.
35204
35205 * configure: Regenerated.
35206 * sysdeps/i386/configure: Regenerated.
35207 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35208 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35209 * sysdeps/s390/s390-32/configure: Regenerated.
35210 * sysdeps/s390/s390-64/configure: Regenerated.
35211 * sysdeps/sh/configure: Regenerated.
35212 * sysdeps/sparc/configure: Regenerated.
35213 * sysdeps/x86_64/configure: Regenerated.
35214
a3f61311
AS
352152012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35216
c876e002
AS
35217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35218
a3f61311
AS
35219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35220 denormal result into account.
35221
ac4c54f0
RM
352222012-03-25 Roland McGrath <roland@hack.frob.com>
35223
35224 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35225 Reported by Allan McRae <allan@archlinux.org>.
35226
6a9b9c02
JL
352272012-03-23 Jeff Law <law@redhat.com>
35228
35229 * nss/getnssent.c (__nss_getent): Fix typo.
35230
4c42a0c1
DM
352312012-03-23 David S. Miller <davem@davemloft.net>
35232
35233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35234
1532c7ac
L
352352012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35236
35237 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35238 to pad to uint64_t for each field.
35239 (dl_tls_index): Replace unsigned long with uint64_t.
35240
3ff42526
PP
352412012-03-23 Daniel Jacobowitz <dmj@google.com>
35242 Paul Pluzhnikov <ppluzhnikov@google.com>
35243
35244 [BZ #6528]
35245 * grp/Makefile (otherlibs): Don't set it.
35246 * inet/Makefile (otherlibs): Likewise.
35247 * login/Makefile (otherlibs): Likewise.
35248 * nscd/Makefile (otherlibs): Likewise.
35249 * posix/Makefile (otherlibs): Likewise.
35250 * pwd/Makefile (otherlibs): Likewise.
35251 * rt/Makefile (otherlibs): Likewise.
35252 * sunrpc/Makefile (otherlibs): Likewise.
35253 * nss/Makefile (otherlibs): Likewise.
35254 Add libnss_files to routines and static-only-routines.
35255 ($(objpfx)getent): Remove rule.
35256 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35257 static-only-routines.
35258
7c69cd14
JM
352592012-03-22 Joseph Myers <joseph@codesourcery.com>
35260
35261 [BZ #13892]
35262 * math/s_cexp.c: Include <float.h>.
35263 (__cexp): Handle exp result overflowing not necessarily
35264 overflowing both real and imaginary parts of result.
35265 * math/s_cexpf.c: Likewise.
35266 * math/s_cexpl.c: Likewise.
35267 * math/libm-test.inc (cexp_test): Add more tests.
35268 * sysdeps/i386/fpu/libm-test-ulps: Update.
35269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35270
81b035fe
L
352712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35272
35273 * include/link.h (ELFW): New macro.
35274 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35275 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35276
1da7940c
L
352772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35278
35279 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35280 with uint64_t.
35281
b749dbb9
L
352822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35283
35284 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35285 declaration.
35286 (struct La_x32_retval): Likewise.
35287
2ff87f3f
L
352882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35289
35290 * sysdeps/x86_64/preconfigure.in: New file.
35291 * sysdeps/x86_64/preconfigure: New generated file.
35292
c0df8e69
JM
352932012-03-22 Joseph Myers <joseph@codesourcery.com>
35294
48e44791
JM
35295 [BZ #13824]
35296 * math/e_exp2l.c: Include <float.h>.
35297 (__ieee754_exp2l): Handle overflow and underflow cases
35298 separately. Only pass fractional part of argument to
35299 __ieee754_expl.
35300 * math/libm-test.inc (exp2_test): Add more tests.
35301
c0df8e69
JM
35302 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35303 negating x to take absolute value.
35304 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35305 Likewise.
35306 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35307 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35308 Likewise.
35309 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35310 computing low part if x was negated.
35311 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35312
c8e43ba7
L
353132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35314
35315 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35316 la_x32_gnu_pltexit.
35317 (pltexit): Cast int_retval to ptrdiff_t.
35318 * elf/tst-auditmod3b.c: Likewise.
35319 * elf/tst-auditmod4b.c: Likewise.
35320 * elf/tst-auditmod5b.c: Likewise.
35321 * elf/tst-auditmod6b.c: Likewise.
35322 * elf/tst-auditmod6c.c: Likewise.
35323 * elf/tst-auditmod7b.c: Likewise.
35324
35325 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35326 and x32_gnu_pltexit.
35327
35328 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35329 __ELF_NATIVE_CLASS.
35330 (La_x32_regs): New macro.
35331 (La_x32_retval): Likewise.
35332 (la_x32_gnu_pltenter): New function prototype.
35333 (la_x32_gnu_pltexit): Likewise.
35334
7998fa78
AS
353352012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35336
dcb33988
AS
35337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35338 exponent.
35339
233fc563
AS
35340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35341
7998fa78
AS
35342 * configure.in (libc_cv_cc_nofma): Check for option to disable
35343 generation of FMA instructions.
35344 * configure: Regenerate.
35345 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35346 * sysdeps/ieee754/dbl-64/Makefile: New file.
35347 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35348 Remove brandred-fma4.
35349 (CFLAGS-brandred-fma4.c): Remove.
35350 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35351 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35352 define.
35353 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35354 define.
35355
8e95c99a
L
353562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35357
35358 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35359 LLONG_MAX != LONG_MAX.
35360 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35361 (_fitoa_word): Likewise.
35362 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35363 LLONG_MAX != LONG_MAX.
35364 * stdio-common/_itowa.h: Include <_itoa.h>.
35365 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35366 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35367 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35368 only if not defined.
35369 (_ITOA_WORD_TYPE): Likewise.
35370 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35371 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35372
6f4db457
DM
353732012-03-21 David S. Miller <davem@davemloft.net>
35374
35375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35376
7785fe5a
L
353772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35378
35379 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35380 of x86_64 when setting libc_cv_slibdir, libdir and
35381 libc_cv_localedir.
35382 * sysdeps/unix/sysv/linux/configure: Regenerated.
35383
4535cd55
JM
353842012-03-21 Joseph Myers <joseph@codesourcery.com>
35385
35386 * manual/lang.texi (Old Varargs): Remove section.
35387 (How Variadic): Update menu.
35388 (va_start): Do not mention varargs.h.
35389
17228132
TS
353902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35391 Joseph Myers <joseph@codesourcery.com>
35392
35393 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35394 link test.
35395 * configure: Regenerated.
35396
8149f976
TS
353972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35398
05f3d1f6
UD
35399 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35400 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35401 conformtest.pl
8149f976 35402
1a4ac776
JM
354032012-03-21 Joseph Myers <joseph@codesourcery.com>
35404
be22ce65
JM
35405 * NOTES: Remove.
35406 * Makefile (files-for-dist): Remove NOTES.
35407 (NOTES): Remove rule.
35408 * README: Don't refer to NOTES.
35409 * manual/creature.texi: Don't include macros.texi.
35410 * manual/intro.texi (creature.texi): Remove comment referring to
35411 NOTES.
35412
40b601fb
JM
35413 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35414 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35415 * configure: Regenerated.
35416 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35417 LIBC_TRY_CC_OPTION.
35418 (libc_cv_as_i686): Likewise.
35419 (libc_cv_cc_avx): Likewise.
35420 (libc_cv_cc_sse2avx): Likewise.
35421 (libc_cv_cc_fma4): Likewise.
35422 (libc_cv_cc_novzeroupper): Likewise.
35423 * sysdeps/i386/configure: Regenerated.
35424
1a4ac776
JM
35425 [BZ #13883]
35426 * sysdeps/i386/fpu/s_cexp.S: Remove.
35427 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35428 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35429 * math/libm-test.inc (cexp_test): Add more tests.
35430 * sysdeps/i386/fpu/libm-test-ulps: Update.
35431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35432
a458e7fe
AM
354332012-03-21 Allan McRae <allan@archlinux.org>
35434
35435 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35436
0cb7efc5
JM
354372012-03-21 Joseph Myers <joseph@codesourcery.com>
35438
35439 [BZ #13871]
35440 * math/w_exp2.c: Do not include <float.h>.
35441 (o_threshold, u_threshold): Remove.
35442 (__exp2): Calculate result before checking finiteness and calling
35443 __kernel_standard.
35444 * math/w_exp2f.c: Likewise.
35445 * math/w_exp2l.c: Likewise.
35446 * math/libm-test.inc (exp2_test): Require overflow exception for
35447 1e6 input.
2460d3aa
JM
35448
35449 [BZ #3866]
35450 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35451 range of signed 64-bit integers before using fistpll. Remove
35452 checks for whether integers fit in mantissa bits.
35453 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35454 the range of signed 32-bit integers before using fistpl. Remove
35455 checks for whether integers fit in mantissa bits.
35456 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35457 (__ieee754_powl): Test for y outside the range of signed 64-bit
35458 integers before using fistpll. Reduce 64-bit values to 63-bit
35459 ones as needed.
35460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35461 divide-by-zero is raised for zero to large negative powers.
35462 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35463 (__ieee754_powl): Test for y outside the range of signed 64-bit
35464 integers before using fistpll. Reduce 64-bit values to 63-bit
35465 ones as needed.
35466 * math/libm-test.inc (pow_test): Add more tests.
35467
eb96ffb0
L
354682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35469
35470 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35471 <stdio-common/_itoa.h>.
35472 * debug/segfault.c: Likewise.
35473 * elf/dl-cache.c: Likewise.
35474 * elf/dl-minimal.c: Likewise.
35475 * elf/dl-misc.c: Likewise.
35476 * elf/dl-sysdep.c: Likewise.
35477 * elf/dl-version.c: Likewise.
35478 * elf/rtld.c: Likewise.
35479 * hurd/hurdsock.c: Likewise.
35480 * hurd/lookup-retry.c: Likewise.
35481 * malloc/malloc.c: Likewise.
35482 * malloc/mtrace.c: Likewise.
35483 * nscd/nscd_getgr_r.c: Likewise.
35484 * nscd/nscd_getpw_r.c: Likewise.
35485 * nscd/nscd_getserv_r.c: Likewise.
35486 * posix/getopt_init.c: Likewise.
35487 * posix/wordexp.c: Likewise.
35488 * stdio-common/_itoa.c: Likewise.
35489 * stdio-common/printf_fphex.c: Likewise.
35490 * stdio-common/vfprintf.c: Likewise.
35491 * string/_strerror.c: Likewise.
35492 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35493 * sysdeps/i386/i686/hp-timing.h: Likewise.
35494 * sysdeps/mach/_strerror.c: Likewise.
35495 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35496 * sysdeps/mach/hurd/sethostid.c: Likewise.
35497 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35498 * sysdeps/mach/xpg-strerror.c: Likewise.
35499 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35500 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35501 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35502 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35503 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35504 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35505 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35506 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35507 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35508 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35509 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35510 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35511 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35512 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35513 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35514 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35515 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35516 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35517 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35518 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35519 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35520
35521 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35522
35523 * stdio-common/_itoa.h: Moved to ...
35524 * sysdeps/generic/_itoa.h: Here.
35525
35526 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35527
35528 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35529 instead of "_itoa.h" and "_itowa.h".
35530 * stdio-common/vfprintf.: Likewise.
35531
d1af992d
L
355322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35533
35534 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35535 <bits/wordsize.h>.
35536 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35537 (__signbit): Likwise.
35538 (llrintf): Likwise.
35539 (llrint): Likwise.
35540
114883e0
L
355412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35542
35543 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35544 __WORDSIZE != 64.
35545
c135cc1b
JM
355462012-03-20 Joseph Myers <joseph@codesourcery.com>
35547
35548 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35549 OVERFLOW_EXCEPTION_OK.
35550 * math/libm-test.inc ("Philosophy"): Update comment about
35551 exception testing.
35552 (OVERFLOW_EXCEPTION): Define.
35553 (OVERFLOW_EXCEPTION_OK): Likewise.
35554 (INVALID_EXCEPTION_OK): Renumber.
35555 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35556 (IGNORE_ZERO_INF_SIGN): Likewise.
35557 (test_exceptions): Handle FE_OVERFLOW.
35558 (exp10_test): Expect overflow exceptions.
35559 (exp2_test): Likewise.
35560 (expm1_test): Likewise.
35561 (nextafter_test): Likewise.
35562 (pow_test): Likewise.
35563 (scalbn_test): Likewise.
35564 (scalbln_test): Likewise.
35565
95443d88
L
355662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35567
35568 * sysdeps/x86_64/bits/atomic.h
35569 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35570 64bit integer.
35571 (atomic_exchange_acq): Likewise.
35572 (__arch_exchange_and_add_body): Likewise.
35573 (__arch_add_body): Likewise.
35574 (atomic_add_negative): Likewise.
35575 (atomic_add_zero): Likewise.
35576
490df6c4
L
355772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35578
c2722551 35579 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35580 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35581
5e52b189
L
355822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35583
35584 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35585 Check __x86_64__ instead of __WORDSIZE.
35586
a9879d4c
L
355872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35588
35589 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35590
5df98260
DM
355912012-03-19 David S. Miller <davem@davemloft.net>
35592
e1497744
DM
35593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35594
5df98260
DM
35595 * sysdeps/sparc/fpu/fenv_private.h: New file.
35596 * sysdeps/sparc/fpu/math_private.h: Use it.
35597 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35598 Remove.
57f41c40 35599 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35600 (libc_feholdexcept_setroundl): Remove.
35601 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35602 Remove.
35603 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35604 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35605
b4c35121
L
356062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35607
35608 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35609 int64_t instead of long int.
35610 (INSERT_WORDS64): Likwise.
35611
56965fd7
L
356122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35613
35614 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35615 _Unwind_GetCFA return to _Unwind_Ptr first.
35616
83d1aec8
JM
356172012-03-19 Joseph Myers <joseph@codesourcery.com>
35618
1897ad44
JM
35619 [BZ #13629]
35620 * math/s_clog.c: Include <float.h>.
35621 (__clog): Scale large or subnormal inputs.
35622 * math/s_clogf.c: Likewise.
35623 * math/s_clogl.c: Likewise.
35624 * math/s_clog10.c: Include <float.h>.
35625 (M_LOG10_2): Define.
35626 (__clog10): Scale large or subnormal inputs.
35627 * math/s_clog10f.c: Likewise.
35628 * math/s_clog10l.c: Likewise.
35629 * math/libm-test.inc (clog_test): Add more tests.
35630 (clog10_test): Likewise.
35631 * sysdeps/i386/fpu/libm-test-ulps: Update.
35632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35633
7726d6a9
JM
35634 [BZ #11451]
35635 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35636 x and y.
35637 * math/libm-test.inc (atan2_test): Add another test.
35638
83d1aec8
JM
35639 * Makerules (common-objdir-compile): Remove.
35640 * sysdeps/unix/Makefile (config-generated): Do not add
35641 $(unix-generated) to variable.
35642 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35643 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35644 Remove rule.
35645 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35646 Likewise.
35647 [generic bits/local_lim.h] (before-compile): Do not append to
35648 variable.
35649 [generic bits/local_lim.h] (common-generated): Likewise.
35650 [generic sys/param.h] (before-compile): Do not append to variable.
35651 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35652 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35653 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35654 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35655 include.
35656 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35657 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35658 [generic sys/param.h] ($(addprefix
35659 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35660 [generic sys/param.h] (common-generated): Do not append to
35661 variable.
35662 [generic sys/param.h] (sysdep_headers): Likewise.
35663 [generic bits/errno.h] (before-compile): Do not append to
35664 variable.
35665 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35666 rule.
35667 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35668 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35669 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35670 [generic bits/errno.h] (common-generated): Do not append to
35671 variable.
35672 [generic bits/ioctls.h] (before-compile): Do not append to
35673 variable.
35674 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35675 rule.
35676 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35677 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35678 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35679 rule.
35680 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35681 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35682 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35683 [generic bits/ioctls.h] (common-generated): Do not append to
35684 variable.
35685 [generic sys/syscall.h] (syscall.h): Remove variable.
35686 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35687 rule.
35688 [generic sys/syscall.h] (before-compile): Do not append to
35689 variable.
35690 [generic sys/syscall.h] (common-generated): Likewise.
35691 * sysdeps/unix/errnos-tmpl.c: Remove file.
35692 * sysdeps/unix/errnos.awk: Likewise.
35693 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35694 * sysdeps/unix/ioctls.awk: Likewise.
35695 * sysdeps/unix/mk-local_lim.c: Likewise.
35696 * sysdeps/unix/snarf-ioctls: Likewise.
35697
4851a949
RH
356982012-03-19 Richard Henderson <rth@twiddle.net>
35699
bd37f2ee
RH
35700 * sysdeps/i386/fpu/fenv_private.h: New file.
35701 * sysdeps/i386/fpu/math_private.h: Use it.
35702 (math_opt_barrier, math_force_eval): Remove.
35703 (libc_feholdexcept_setround_53bit): Remove.
35704 (libc_feupdateenv_53bit): Remove.
35705 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35706 (math_opt_barrier, math_force_eval): Remove.
35707 (libc_feholdexcept): Remove.
35708 (libc_feholdexcept_setround): Remove.
35709 (libc_fetestexcept, libc_fesetenv): Remove.
35710 (libc_feupdateenv_test): Remove.
35711 (libc_feupdateenv, libc_feholdsetround): Remove.
35712 (libc_feresetround): Remove.
35713
d0adc922
RH
35714 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35715 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35716
0fe0f1f8
RH
35717 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35718 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35719 (libc_feupdateenv_testl): New.
35720 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35721 (libc_feupdateenv_testf): New.
35722 (libc_feupdateenv): Use libc_feupdateenv_test.
35723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35724 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35725
eb92c487
RH
35726 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35727 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35728 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35729 (libc_feresetround_noex): New.
35730 (libc_feresetround_noexf): New.
35731 (libc_feresetround_noexl): New.
35732 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35733 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35734 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35735 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35736 SET_RESTORE_ROUND.
35737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35738 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35739 (__cos): Likewise.
35740 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35741 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35742 SET_RESTORE_ROUND_NOEX.
35743 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35744 SET_RESTORE_ROUND_NOEXF.
35745 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35746 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35747 (libc_feholdsetroundf): New.
35748 (libc_feresetround, libc_feresetroundf): New.
35749
7d2e8012
RH
35750 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35751 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35752 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35753
b4dabbb4
RH
35754 * sysdeps/generic/math_private.h: Include <fenv.h>.
35755 (default_libc_feholdexcept): New.
35756 (default_libc_feholdexcept_setround): New.
35757 (default_libc_fesetenv, default_libc_feupdateenv): New.
35758 (libc_feholdexcept): Only define if undefined.
35759 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35760 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35761 (libc_feholdexcept_setroundl): Likewise.
35762 (libc_feholdexcept_setround_53bit): Likewise.
35763 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35764 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35765 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35766 (libc_feupdateenv_53bit): Likewise.
35767 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35768 (libc_feholdexcept): Convert from macro to inline function.
35769 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35770 (libc_fesetenv, libc_feupdateenv): Likewise.
35771
4851a949
RH
35772 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35773 not previously defined.
35774 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35775 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35776 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35777 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35778 * sysdeps/ieee754/flt-32/math_private.h: New file.
35779 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35780 math_private.h below SET_FLOAT_WORD.
35781 (__isnan, __isinf_ns, __finite): Remove.
35782 (__isnanf, __isinf_nsf, __finitef): Remove.
35783
e79d442e
AS
357842012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35785
35786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35787
90b80344
DM
357882012-03-17 David S. Miller <davem@davemloft.net>
35789
35790 [BZ #6471]
35791 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35792 for 2.16.
35793
edc21804
DM
357942012-03-16 David S. Miller <davem@davemloft.net>
35795
77e927af
DM
35796 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35797 warnings.
35798
374976dd
DM
35799 [BZ #6471]
35800 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35801 properly.
35802 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35803 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35804 sysdep_routines when subdir is sysvipc.
35805 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35806 __getshmlba helper.
35807
edc21804
DM
35808 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35809
473c3ef3
L
358102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35811
35812 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35813 [__LP64__].
35814
eb0f39b6
L
358152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35816
35817 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35818 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35819 (__lround): Renamed to ...
35820 (__llround): This. Replace long int with long long int.
35821 Define lround functions as aliases of llround functions.
35822 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35823
6b6cd74b
L
358242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35825
35826 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35827 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35828 adresses to uintptr_t. Replace "long int" and "unsigned long
35829 int" with "greg_t" on va_arg.
35830
f1a77b01
L
358312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35832
35833 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35834 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35835
35836 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35837 Move e_machine check before EI_CLASS check. Handle x32
35838 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35839 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35840 SKIP_EM_IA_64 and include
35841 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35842
35843 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35844 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35845 (add_system_dir): New macro.
35846
35847 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35848 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35849
11b90b9f
JM
358502012-03-16 Joseph Myers <joseph@codesourcery.com>
35851
c36e1d23
JM
35852 [BZ #2551]
35853 [BZ #2552]
35854 [BZ #2553]
35855 [BZ #2554]
35856 [BZ #2562]
35857 [BZ #2563]
35858 [BZ #2565]
35859 [BZ #2566]
35860 [BZ #2576]
35861 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35862 (y0): Likewise.
35863 * math/w_j0f.c (j0f): Likewise.
35864 (y0f): Likewise.
35865 * math/w_j0l.c (__j0l): Likewise.
35866 (__y0l): Likewise.
35867 * math/w_j1.c (j1): Likewise.
35868 (y1): Likewise.
35869 * math/w_j1f.c (j1f): Likewise.
35870 (y1f): Likewise.
35871 * math/w_j1l.c (__j1l): Likewise.
35872 (__y1l): Likewise.
35873 * math/w_jn.c (jn): Likewise.
35874 (yn): Likewise.
35875 * math/w_jnf.c (jnf): Likewise.
35876 (ynf): Likewise.
35877 * math/w_jnl.c (__jnl): Likewise.
35878 (__ynl): Likewise.
35879 * math/libm-test.inc (j0_test): Add more tests.
35880 (j1_test): Likewise.
35881 (jn_test): Likewise. Add trailing semicolon to existing test.
35882 (y0_test): Likewise.
35883 (y1_test): Likewise.
35884 * sysdeps/i386/fpu/libm-test-ulps: Update.
35885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35886
11b90b9f
JM
35887 [BZ #13851]
35888 [BZ #13854]
35889 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35890 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35891 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35892 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35893 (__tanl): Set errno for infinite argument.
35894 * sysdeps/i386/fpu/mptan.c: Remove.
35895 * sysdeps/i386/fpu/s_tan.S: Likewise.
35896 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35897 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35898 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35899 * math/libm-test.inc (tan_test): Add more tests and enable more
35900 tests for double and long double.
35901 * sysdeps/i386/fpu/libm-test-ulps: Update.
35902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35903
6a1bd2a1
JK
359042012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35905
35906 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35907 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35908
10a803e0
RM
359092012-03-16 Roland McGrath <roland@hack.frob.com>
35910
35911 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35912 * configure.in: Use it for both main tree and add-ons.
35913 * configure: Regenerated.
35914
f196c7f7
L
359152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35916
35917 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35918
8848d99d
JM
359192012-03-16 Joseph Myers <joseph@codesourcery.com>
35920
96cbe7f4
JM
35921 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35922 in comment.
35923
8848d99d
JM
35924 [BZ #13851]
35925 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35926 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35930 infinite argument.
35931 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35932 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35933 != 0 for prec == 2.
35934 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35935 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35936 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35937 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35938 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35939 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35940 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35941 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35942 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35943 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35944 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35945 * math/libm-test.inc (cos_test): Add more tests and enable more
35946 tests for long double.
35947 (sin_test): Likewise.
35948 (sincos_test): Likewise.
35949 * sysdeps/i386/fpu/libm-test-ulps: Update.
35950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35951
dd7f4703
DM
359522012-03-16 David S. Miller <davem@davemloft.net>
35953
35954 * sysdeps/sparc/fpu/math_private.h: New file.
35955
006f1daa
DM
359562012-03-15 David S. Miller <davem@davemloft.net>
35957
c0c83bc8
DM
35958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35959 file.
e6a62e18 35960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
35961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35962 file.
e6a62e18
DM
35963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35969 sysdep routines.
35970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35971
88cb87d9
DM
35972 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35973 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35974
006f1daa 35975 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
35976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35977 sparc-ifunc.h
006f1daa 35978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
35979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35980 Likewise.
35981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35982 Likewise.
006f1daa
DM
35983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
35986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35987 Likewise.
006f1daa
DM
35988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
35992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35993 Likewise.
35994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35995 Likewise.
006f1daa
DM
35996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36002 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36003 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36016 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36017 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36018 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36020
11e0098e
AS
360212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36022
36023 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36024 scaling.
36025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36026
e85b09d0
AJ
360272012-03-15 Andreas Jaeger <aj@suse.de>
36028
36029 [BZ #13852]
36030 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36031 ieee754/flt-32 implementation for sin, cos and sincos.
36032 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36033 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36034 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36035 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36036 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36037 ieee754/flt-32 implementation for tan.
36038
36039 * math/libm-test.inc (cos_test): Enable some large input tests for
36040 float as well
36041 (sin_test): Likewise.
36042 (sincos_test): Likewise.
36043 (tan_test): Add tests for large input.
36044
36045 * sysdeps/i386/fpu/libm-test-ulps: Update.
36046
81c64153
AJ
360472012-03-15 Andreas Jaeger <aj@suse.de>
36048
36049 [BZ #13658]
36050 * math/libm-test.inc (cos_test): Add more test cases.
36051 (sin_test): Likewise.
36052 (sincos_test): Likewise.
36053
7bbfa5c6
AJ
360542012-03-15 Andreas Jaeger <aj@suse.de>
36055
36056 [BZ #13837]
36057 * math/libm-test.inc (cos_test): Add a test case for large input
36058 value.
36059 (sin_test): Likewise.
36060 (sincos_test): Likewise.
36061
57f41c40
AS
360622012-03-15 Andreas Jaeger <aj@suse.de>
36063 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36064
36065 [BZ #13658]
0671f479 36066 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36067 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36068 * sysdeps/i386/fpu/branred.c: Likewise.
36069 * sysdeps/i386/fpu/dosincos.c: Likewise.
36070 * sysdeps/i386/fpu/mpa.c: Likewise.
36071 * sysdeps/i386/fpu/s_cos.S: Likewise.
36072 * sysdeps/i386/fpu/s_sin.S: Likewise.
36073 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36074 * sysdeps/i386/fpu/sincos32.c: Likewise.
36075
36076 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36077 Define.
36078 (libc_feupdateenv_53bit): Define.
36079 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36080 Define.
36081 (libc_feupdateenv_53bit): Define.
36082
36083 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36084 53 bit (without extend i386 double precision).
36085
36086 * math/libm-test.inc (sincos_test): Add tests for large input.
36087 (sin): Likewise.
36088 (cos): Likewise.
36089
36090 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36091
9cad04ea
AS
360922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36093
36094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36095
f7062b9a
DM
360962012-03-15 David S. Miller <davem@davemloft.net>
36097
36098 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36099 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36100 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36101 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36114 file.
f7062b9a 36115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36117 file.
f7062b9a 36118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36120 file.
f7062b9a 36121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36123 file.
f7062b9a
DM
36124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36125 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36126 fmin/fmax sysdep routines.
36127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36128
7bd951ff
DM
361292012-03-14 David S. Miller <davem@davemloft.net>
36130
559398ab
DM
36131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36135 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36136 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36151 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36152 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36153 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36155 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36160 routines.
36161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36162 file.
559398ab 36163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36165 file.
559398ab 36166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36168 file.
559398ab 36169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36171 file.
559398ab 36172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36174 file.
559398ab 36175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36177 file.
36178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36179 file.
36180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36181 file.
36182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36183 file.
36184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36185 New file.
36186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36187 file.
36188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36189 file.
559398ab 36190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36192 file.
559398ab 36193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36195 file.
559398ab 36196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36198 file.
559398ab 36199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36201 VIS3 routines.
559398ab
DM
36202
36203 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36204 New file.
36205
5a1c1e32
DM
36206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36207
eae47a36
DM
36208 * sysdeps/sparc/configure.in: New file.
36209 * sysdeps/sparc/configure: Generate.
36210 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36211 * configure: Regenerate.
36212 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36213 * config.make.in (have-as-vis3): New.
36214 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36215 available use -Av9d instead of -Av9a.
36216 * sysdeps/sparc/sparc64/Makefile: Likewise.
36217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36219 New file.
36220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36221 file.
36222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36223 New file.
36224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36225 file.
eae47a36
DM
36226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36227 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36228 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36229 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36231
c0c83bc8
DM
36232 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36233 fzeros/fnegs to load 0x80000000 into a float register instead of
36234 using the stack.
7bd951ff
DM
36235 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36236
bd951ccb
JM
362372012-03-14 Joseph Myers <joseph@codesourcery.com>
36238
36239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36240 bits/syscall.h.
36241 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36242 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36243 ($(inst_includedir)/bits/syscall.h): Remove rule.
36244 ($(objpfx)bits/syscall.d): Include instead of
36245 $(objpfx)syscall-list.d.
36246 (generated): Change syscall-list.h and syscall-list.d to
36247 bits/syscall.h and bits/syscall.d.
36248
bb4e6db2
RM
362492012-03-14 Roland McGrath <roland@hack.frob.com>
36250
36251 [BZ #13846]
36252 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36253
aa4a2ae1
JM
362542012-03-14 Joseph Myers <joseph@codesourcery.com>
36255
e456826d
JM
36256 [BZ #13841]
36257 * math/s_csqrt.c: Include <float.h>.
36258 (__csqrt): Scale large or subnormal inputs.
36259 * math/s_csqrtf.c: Likewise.
36260 * math/s_csqrtl.c: Likewise.
36261 * math/libm-test.inc (csqrt_test): Add more tests.
36262 * sysdeps/i386/fpu/libm-test-ulps: Update.
36263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36264
aa4a2ae1
JM
36265 [BZ #13840]
36266 * math/libm-test.inc (hypot_test): Add more tests.
36267
7c10fd35
DM
362682012-03-13 David S. Miller <davem@davemloft.net>
36269
36270 [BZ #13840]
36271 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36272 double-precision for the calculation instead of scaling.
36273
f453b98b
JM
362742012-03-13 Joseph Myers <joseph@codesourcery.com>
36275
36276 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36277 manipulate bits before adding and subtracting TWO52[sx].
36278 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36279 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36280 Likewise.
36281 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36282
09a3453f
DM
362832012-03-13 David S. Miller <davem@davemloft.net>
36284
8e59da90
DM
36285 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36286 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36288 rtld-global-offsets.h
36289 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36290
2a8ab7f2
DM
36291 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36292 large parameters.
36293
10f62770
DM
36294 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36295
5f0bdb18
DM
36296 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36297 'err' in the ifdef scope in which it is actually used.
36298
09a3453f
DM
36299 * nss/nss_db/db-init.c: Include string.h
36300
b4b2eb5e
DM
363012012-03-12 David S. Miller <davem@davemloft.net>
36302
98bb2f1c
DM
36303 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36304 masking out of the most significant byte of random value used.
36305 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36306 Fix coding style in previous change.
36307
b4b2eb5e
DM
36308 * sysdeps/unix/sysv/linux/kernel-features.h
36309 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36310 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36311 expression.
36312 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36313 later.
36314
6e226b09
DM
363152012-03-11 David S. Miller <davem@davemloft.net>
36316
a1bcbd40
DM
36317 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36318 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36319 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36320 for 'resultvar' otherwise things get truncated on 64-bit.
36321
cb9d6174
DM
36322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36323 Fix masking out of the most significant byte of random value used.
36324
6e226b09
DM
36325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36326
058c132d
AS
363272012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36328
36329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36330
2d2cd515
DM
363312012-03-09 David S. Miller <davem@davemloft.net>
36332
36333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36334 variables with appropriate CPP guards.
57f41c40
AS
36335 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36336 from the frame pointer, not the stack pointer. Correct layout
36337 comments. Fix test on resulting framesize and the management of
36338 the outregs buffer for pltexit. Preserve floating point return
36339 values across _dl_call_pltexit call.
2d2cd515
DM
36340 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36341 framesize and the management of the outregs buffer for pltexit.
36342 Preserve floating point return values across _dl_call_pltexit
36343 call.
57f41c40
AS
36344 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36345 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36346 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
36347 (print_exit): Fix format string for return register value.
36348
9a07f9d0
JM
363492012-03-10 Joseph Myers <joseph@codesourcery.com>
36350
36351 * sunrpc/Makefile (others): Add rpcgen.
36352 ($(objpfx)rpcgen): Remove special build rule and dependency on
36353 libc.
36354 * sunrpc/rpcgen.c: New file.
36355
547b5e30
PE
363562012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36357
c524201a
PE
36358 [BZ #13673]
36359 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36360 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36361 * sysdeps/i386/crti.S: Likewise.
36362 * sysdeps/i386/crtn.S: Likewise.
36363 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36364 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36365 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36366 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36367 * sysdeps/sh/crti.S: Likewise.
36368 * sysdeps/sh/crtn.S: Likewise.
36369 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36370
7b6235f2
PE
36371 [BZ #13673]
36372 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36373 with URL.
36374 * locale/programs/locfile-kw.gperf: Likewise.
36375 * locale/programs/charmap-kw.h: Regenerated.
36376 * locale/programs/locfile-kw.h: Likewise.
36377
547b5e30
PE
36378 [BZ #13673]
36379 * intl/plural.y: Replace FSF snail mail address with URL.
36380 * intl/plural.c: Regenerated.
36381
5f0a5dae
RH
363822012-03-09 Richard Henderson <rth@twiddle.net>
36383
36384 * include/math_private.h: Remove file.
36385 * math/math_private.h: Move file ...
36386 * sysdeps/generic/math_private.h: ... here.
36387
b8c03620
RH
36388 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36389 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36390 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36391
4e234f5d 36392 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
36393 and <math_private.h>.
36394 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36395 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36396 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36397 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36398 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36399 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36400 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36402 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36403 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36404 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36405 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36406 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36407 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36408 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36409 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36410 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36411 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36412 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36413 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36415 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36416 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36418 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36419 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36420 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36421 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36423 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36424 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36425 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36426 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36427 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36428 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36429 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36430 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36431 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36432 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36433 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36434 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36435 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36436 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36437 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36438 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36439 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36440 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36441 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36442 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36443 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36444 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36445 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36446 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36447 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36448 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36449 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36450 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36451 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36452 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36453 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36454 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36455 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36456 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36457 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36458 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36459 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36460 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36461 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36462 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36463 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36464 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36465 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36466 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36467 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36468 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36469 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36470 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36471 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36472 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36473 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36474 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36475 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36476 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36477 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36478 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36479 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36481 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36482 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36483 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36484 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36485 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36486 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36487 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36488 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36489 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36490 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36491 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36492 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36493 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36494 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36495 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36496 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36497 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36498 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36499 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36500 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36501 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36502 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36503 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36504 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36505 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36506 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36507 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36508 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36509 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36510 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36511 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36512 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36513 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36514 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36515 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36516 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36517 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36518 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36519 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36520 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36521 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36522 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36523 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36524 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36525 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36526 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36527 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36528 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36529 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36530 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36531 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36532 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36533 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36534 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36535 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36536 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36537 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36538 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36539 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36540 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36541 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36542 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36543 * sysdeps/ieee754/k_standard.c: Likewise.
36544 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36545 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36546 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36547 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36548 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36549 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36550 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36551 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36552 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36553 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36554 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36555 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36556 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36557 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36558 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36559 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36560 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36561 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36562 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36563 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36564 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36565 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36566 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36567 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36568 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36569 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36570 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36571 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36572 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36573 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36574 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36575 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36576 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36577 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36578 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36579 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36580 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36581 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36582 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36583 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36584 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36585 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36586 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36587 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36588 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36589 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36590 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36591 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36592 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36593 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36594 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36595 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36596 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36597 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36598 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36599 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36600 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36601 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36602 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36603 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36604 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36605 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36606 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36607 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36608 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36609 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36610 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36611 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36612 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36613 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36614 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36616 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36617 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36618 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36619 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36620 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36621 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36622 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36623 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36624 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36625 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36626 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36627 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36628 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36629 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36630 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36631 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36632 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36633 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36634 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36635 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36636 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36637 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36638 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36639 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36640 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36641 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36642 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36643 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36644 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36645 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36646 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36647 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36648 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36649 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36650 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36651 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36652 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36653 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36654 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36655 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36656 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36657 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36658 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36659 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36660 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36661 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36662 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36663 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36664 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36665 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36666 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36667 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36668 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36669 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36670 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36671 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36672 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36673 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36674 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36675 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36676 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36677 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36678 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36679 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36680 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36681 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36682 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36683 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36684 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36685 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36686 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36687 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36688 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36689 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36690 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36691 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36692 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36693 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36694 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36695 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36696 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36697 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36698 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36699 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36700 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36701 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36702 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36703 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36704 * sysdeps/ieee754/s_lib_version.c: Likewise.
36705 * sysdeps/ieee754/s_matherr.c: Likewise.
36706 * sysdeps/ieee754/s_signgam.c: Likewise.
36707 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36708 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36709 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36710 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36711 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36712 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36713 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36714 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36715 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36716 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36717 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36718 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36719 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36720 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36721 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36722 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36723 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36724 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36725 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36726 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36728
1991fa03
JM
367292012-03-09 Joseph Myers <joseph@codesourcery.com>
36730
36731 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36732 * sunrpc/rpc_main.c: Likewise.
36733 * sunrpc/rpc_svcout.c: Likewise.
36734
60d6f5a6
DM
367352012-03-09 David S. Miller <davem@davemloft.net>
36736
36737 * include/math_private.h: New file.
36738
4962050e
JM
367392012-03-09 Joseph Myers <joseph@codesourcery.com>
36740
02a6f887
JM
36741 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36742 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36743 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36744 from <bits/socket_type.h>.
36745 (enum __socket_type): Don't define here.
36746 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36748 bits/socket_type.h.
36749
c6e013c1
JM
36750 [BZ #13566]
36751 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36752 checking __USE_GNU.
36753
4962050e
JM
36754 * Makerules ($(inst_includedir)/%.h): New rule.
36755 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36756 (install-others): Remove variable setting.
36757 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36758
38842f45
RH
367592012-03-08 Richard Henderson <rth@twiddle.net>
36760
67bb6da6
RH
36761 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36762 from macro to inline function; merge with the
36763 !__LIBC_INTERNAL_MATH_INLINES version.
36764 (__ieee754_sqrtf): Likewise.
36765
15194b4b
RH
36766 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36767 to inline function.
36768 (__rintf, __floor, __floorf): Likewise.
36769
64e21ede
RH
36770 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36771 macro to inline function.
36772 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36773
38842f45
RH
36774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36775 not <math/math_private.h>.
36776
c64bf5fe
DM
367772012-03-08 David S. Miller <davem@davemloft.net>
36778
36779 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36780 copyright year.
36781 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36782
82d86f28
TS
367832012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36784
36785 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36786 normalization.
36787 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36788 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36789
aea5d727
UD
367902012-03-08 Ulrich Drepper <drepper@gmail.com>
36791
36792 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36793 be defined individually, they must be defined as a block. Define
36794 S for printing a string instead of hidint the different by using a
36795 macro for adding the 'l'.
36796 * stdio-common/tst-fphex-wide.c: Adjust.
36797
70bca0a3
MP
367982012-03-07 Marek Polacek <polacek@redhat.com>
36799
36800 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36801
65b81130
MP
368022012-03-08 Marek Polacek <polacek@redhat.com>
36803
36804 [BZ #13806]
36805 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36806 * stdio-common/tst-fphex.c: Define a few macros to make the
36807 test reusable. Use them.
36808 * stdio-common/tst-fphex-wide.c: New file.
36809
07037eeb
JM
368102012-03-08 Joseph Myers <joseph@codesourcery.com>
36811
a7a93d50
JM
36812 [BZ #6911]
36813 * manual/macros.texi (gnusystems): New macro.
36814 (nongnusystems): Likewise.
36815 (gnulinuxhurdsystems): Likewise.
36816 (gnuhurdsystems): Likewise..
36817 (gnulinuxsystems): Likewise.
36818 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36819 variants of the GNU system, not "GNU system".
36820 * manual/conf.texi: Likewise.
36821 * manual/errno.texi: Likewise. Update example of errno macro
36822 expansion.
36823 * manual/filesys.texi: Likewise.
36824 (getumask): Document as specific to GNU/Hurd.
36825 * manual/install.texi: Likewise. Reword some references to
36826 GNU/Linux.
36827 * manual/intro.texi: Likewise.
36828 * manual/io.texi: Likewise.
36829 (File Name Portability): Detail which constraints are inapplicable
36830 to all GNU systems and which are only inapplicable to GNU/Hurd.
36831 * manual/job.texi: Likewise.
36832 * manual/llio.texi: Likewise.
36833 (O_NOCTTY): Document as present on GNU/Linux.
36834 * manual/maint.texi: Likewise.
36835 * manual/memory.texi: Likewise.
36836 * manual/pattern.texi: Likewise.
36837 * manual/pipe.texi: Likewise.
36838 * manual/process.texi: Likewise.
36839 * manual/resource.texi: Likewise.
36840 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36841 child on GNU/Hurd.
36842 * manual/setjmp.texi: Likewise.
36843 * manual/signal.texi: Likewise.
36844 * manual/startup.texi: Likewise.
36845 * manual/stdio.texi: Likewise.
36846 * manual/terminal.texi: Likewise.
36847 (ONLCR): Document as POSIX.
36848 (OXTABS): Document availability on GNU/Linux as XTABS.
36849 (ONOEOT): Document availability separately from other bits.
36850 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36851 * manual/time.texi: Likewise.
36852 * manual/users.texi: Likewise.
36853 * INSTALL: Regenerated.
36854 * sysdeps/gnu/errlist.c: Regenerated.
36855
07037eeb
JM
36856 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36857 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36858 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36859 puts.
36860 * configure: Regenerated.
36861
d1d3431a
JM
368622012-03-07 Joseph Myers <joseph@codesourcery.com>
36863
af6a1e37
JM
36864 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36865 default includes instead of AC_HEADER_CHECK.
36866 * sysdeps/i386/configure: Regenerated.
36867
d1d3431a
JM
36868 [BZ #10716]
36869 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36870 * math/s_cacoshf.c (__cacoshf): Likewise.
36871 * math/s_cacoshl.c (__cacoshl): Likewise.
36872 * math/s_casinh.c (__casinh): Set signs of result from argument.
36873 * math/s_casinhf.c (__casinhf): Likewise.
36874 * math/s_casinhl.c (__casinhl): Likewise.
36875 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36876 (casinh_test): Add more tests.
36877 * sysdeps/i386/fpu/libm-test-ulps: Update.
36878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36879
482ff4da
UD
368802012-03-07 Ulrich Drepper <drepper@gmail.com>
36881
872fda05
UD
36882 * po/zh_TW.po: Update from translation team.
36883
a4300c7a
UD
36884 * login/Makefile (distribute): Remove variable.
36885 * catgets/Makefile: Likewise.
36886 * mach/Makefile: Likewise.
36887 * malloc/Makefile: Likewise.
36888 * misc/Makefile: Likewise.
36889 * iconv/Makefile: Likewise.
36890 * nscd/Makefile: Likewise.
36891 * hurd/Makefile: Likewise.
36892 * manual/Makefile: Likewise.
36893 * locale/Makefile: Likewise.
36894 * intl/Makefile: Likewise.
36895 * conform/Makefile: Likewise.
36896 * nss/Makefile: Likewise.
36897 * time/Makefile: Likewise.
36898 * soft-fp/Makefile: Likewise.
36899 * dirent/Makefile: Likewise.
36900 * gmon/Makefile: Likewise.
36901 * po/Makefile: Likewise.
36902 * rt/Makefile: Likewise.
36903 * socket/Makefile: Likewise.
36904 * math/Makefile: Likewise.
36905 * signal/Makefile: Likewise.
36906 * debug/Makefile: Likewise.
36907 * elf/Makefile: Likewise.
36908 * timezone/Makefile: Likewise.
36909 * stdlib/Makefile: Likewise.
36910 * iconvdata/Makefile: Likewise.
36911 * sunrpc/Makefile: Likewise.
36912 * io/Makefile: Likewise.
36913 * argp/Makefile: Likewise.
36914 * inet/Makefile: Likewise.
36915 * hesiod/Makefile: Likewise.
36916 * grp/Makefile: Likewise.
36917 * csu/Makefile: Likewise.
36918 * wctype/Makefile: Likewise.
36919 * crypt/Makefile: Likewise.
36920 * libio/Makefile: Likewise.
36921 * string/Makefile: Likewise.
36922 * nis/Makefile: Likewise.
36923 * resolv/Makefile: Likewise.
36924 * stdio-common/Makefile: Likewise.
36925 * wcsmbs/Makefile: Likewise.
36926 * dlfcn/Makefile: Likewise.
36927 * posix/Makefile: Likewise.
36928
3b7c4e74 36929 [BZ #6959]
482ff4da
UD
36930 * timezone/Makefile: Don't install timezone files, just the programs
36931 and scripts.
36932
f72ed77d
UD
369332012-03-06 Ulrich Drepper <drepper@gmail.com>
36934
a000466f
UD
36935 * nss/databases.def: Add missing gshadow entry.
36936
f72ed77d
UD
36937 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36938
a53b7a4e
MP
369392012-03-06 Marek Polacek <polacek@redhat.com>
36940
36941 [BZ #13726]
36942 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36943 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36944 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36945 * stdio-common/tst-long-dbl-fphex.c: New file.
36946
e9258400
DM
369472012-03-06 David S. Miller <davem@davemloft.net>
36948
36949 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36950 (set_obp_int): New function.
36951 (get_obp_int): New function.
36952 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
36953 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36954 Avoid unused variable warnings on 'val' and use builtin_expect.
36955 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36956 __builtin_expect.
e9258400
DM
36957 (INLINE_CLONE_SYSCALL): Likewise.
36958
3bd2c723
DM
369592012-03-05 David S. Miller <davem@davemloft.net>
36960
36961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36962
bbb78d03
AS
369632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36964
884c5db4
AS
36965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36966
bbb78d03
AS
36967 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36968 only for |x| >= 40.
36969 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36970
1c9f702a 369712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
36972
36973 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36974 Replace gettimeofday with __vdso_gettimeofday.
36975
7be16f82
RM
36976 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36977 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36978 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
36979
36980 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36981 time with __vdso_time.
36982
ed58a00f
JM
369832012-03-05 Joseph Myers <joseph@codesourcery.com>
36984
36985 * manual/lang.texi (size_t): Note types to which size_t may be
36986 equivalent with the GNU C Library, but do not describe when
36987 differences between them are significant.
36988
30ee4ced
AJ
369892012-03-05 Andreas Jaeger <aj@suse.de>
36990
36991 * sysdeps/i386/fpu/libm-test-ulps: Update.
36992
b7cd39e8
JM
369932012-03-05 Joseph Myers <joseph@codesourcery.com>
36994
36995 [BZ #3976]
36996 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36997 (__ieee754_pow): Save and restore rounding mode and use
36998 round-to-nearest for main computations.
36999 * math/libm-test.inc (pow_test_tonearest): New function.
37000 (pow_test_towardzero): Likewise.
37001 (pow_test_downward): Likewise.
37002 (pow_test_upward): Likewise.
37003 (main): Call the new functions.
37004 * sysdeps/i386/fpu/libm-test-ulps: Update.
37005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37006
37007 [BZ #3976]
37008 * math/libm-test.inc (cosh_test_tonearest): New function.
37009 (cosh_test_towardzero): Likewise.
37010 (cosh_test_downward): Likewise.
37011 (cosh_test_upward): Likewise.
37012 (sinh_test_tonearest): Likewise.
37013 (sinh_test_towardzero): Likewise.
37014 (sinh_test_downward): Likewise.
37015 (sinh_test_upward): Likewise.
37016 (main): Call the new functions.
37017 * sysdeps/i386/fpu/libm-test-ulps: Update.
37018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37019
6c6a98c9
TV
370202012-03-05 Tom de Vries <tom@codesourcery.com>
37021
37022 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37023 default stack guard is set in last bytes.
37024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37025
21bb2d2e 370262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37027
21bb2d2e 37028 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37029
21bb2d2e
AJ
37030 [BZ #13656]
37031 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37032 possibly allocate from heap instead of stack.
37033 * stdio-common/bug-vfprintf-nargs.c: New file.
37034 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37035
c6922934
AS
370362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37037
37038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37039
bc957d53
MP
370402012-03-03 Marek Polacek <polacek@redhat.com>
37041
37042 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37043 * math/math_private.h: Likewise.
37044 * stdlib/tst-strtod.c: Likewise.
37045 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37046 * sysdeps/x86_64/bits/atomic.h: Likewise.
37047
6358490d
DM
370482012-03-02 David S. Miller <davem@davemloft.net>
37049
37050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37054 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37055 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37056 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37057 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37058
01ae168d
RM
370592012-03-02 Roland McGrath <roland@hack.frob.com>
37060
d9a17c07
RM
37061 [BZ #13792]
37062 * manual/examples/README: New file, says the example source files
37063 can be used under GPL>=2.
37064 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37065 line containing just "*/".
37066 * manual/examples/add.c: Add copyright header (GPL>=2).
37067 * manual/examples/argp-ex1.c: Likewise.
37068 * manual/examples/argp-ex2.c: Likewise.
37069 * manual/examples/argp-ex3.c: Likewise.
37070 * manual/examples/argp-ex4.c: Likewise.
37071 * manual/examples/atexit.c: Likewise.
37072 * manual/examples/db.c: Likewise.
37073 * manual/examples/dir.c: Likewise.
37074 * manual/examples/dir2.c: Likewise.
37075 * manual/examples/execinfo.c: Likewise.
37076 * manual/examples/filecli.c: Likewise.
37077 * manual/examples/filesrv.c: Likewise.
37078 * manual/examples/fmtmsgexpl.c: Likewise.
37079 * manual/examples/genpass.c: Likewise.
37080 * manual/examples/inetcli.c: Likewise.
37081 * manual/examples/inetsrv.c: Likewise.
37082 * manual/examples/isockad.c: Likewise.
37083 * manual/examples/longopt.c: Likewise.
37084 * manual/examples/memopen.c: Likewise.
37085 * manual/examples/memstrm.c: Likewise.
37086 * manual/examples/mkfsock.c: Likewise.
37087 * manual/examples/mkisock.c: Likewise.
37088 * manual/examples/mygetpass.c: Likewise.
37089 * manual/examples/pipe.c: Likewise.
37090 * manual/examples/popen.c: Likewise.
37091 * manual/examples/rprintf.c: Likewise.
37092 * manual/examples/search.c: Likewise.
37093 * manual/examples/select.c: Likewise.
37094 * manual/examples/setjmp.c: Likewise.
37095 * manual/examples/sigh1.c: Likewise.
37096 * manual/examples/sigusr.c: Likewise.
37097 * manual/examples/stpcpy.c: Likewise.
37098 * manual/examples/strdupa.c: Likewise.
37099 * manual/examples/strftim.c: Likewise.
37100 * manual/examples/strncat.c: Likewise.
37101 * manual/examples/subopt.c: Likewise.
37102 * manual/examples/swapcontext.c: Likewise.
37103 * manual/examples/termios.c: Likewise.
37104 * manual/examples/testopt.c: Likewise.
37105 * manual/examples/testpass.c: Likewise.
37106 * manual/examples/timeval_subtract.c: Likewise.
37107
01ae168d
RM
37108 [BZ #13792]
37109 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37110 function to ...
37111 * manual/timeval_subtract.c.texi: ... here, new file.
37112
49efa33d
DM
371132012-03-02 David S. Miller <davem@davemloft.net>
37114
37115 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37116
28afd92d
JM
371172012-03-02 Joseph Myers <joseph@codesourcery.com>
37118
804360ed
JM
37119 [BZ #3976]
37120 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37121 (__sin): Save and restore rounding mode and use round-to-nearest
37122 for all computations.
37123 (__cos): Save and restore rounding mode and use round-to-nearest
37124 for all computations.
37125 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37126 <fenv.h>.
37127 (tan): Save and restore rounding mode and use round-to-nearest for
37128 all computations.
37129 * math/libm-test.inc (cos_test_tonearest): New function.
37130 (cos_test_towardzero): Likewise.
37131 (cos_test_downward): Likewise.
37132 (cos_test_upward): Likewise.
37133 (sin_test_tonearest): Likewise.
37134 (sin_test_towardzero): Likewise.
37135 (sin_test_downward): Likewise.
37136 (sin_test_upward): Likewise.
37137 (tan_test_tonearest): Likewise.
37138 (tan_test_towardzero): Likewise.
37139 (tan_test_downward): Likewise.
37140 (tan_test_upward): Likewise.
37141 (main): Call the new functions.
37142 * sysdeps/i386/fpu/libm-test-ulps: Update.
37143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37144
a6d06d7b
JM
37145 [BZ #10135]
37146 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37147 small n, then large n, before computing and testing k+n.
37148 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37149 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37150 Likewise.
37151 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37152 Likewise.
37153 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37154 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37155 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37156 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37157 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37158 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37159 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37160 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37161 * math/libm-test.inc (scalbn_test): Add more tests.
37162 (scalbln_test): Likewise.
37163
07e12bb3
JM
37164 * manual/filesys.texi (mode_t): Describe constraints on size and
37165 signedness, not exact equivalence to a particular type.
37166 (ino_t): Likewise.
37167 (ino64_t): Likewise.
37168 (dev_t): Likewise.
37169 (nlink_t): Likewise.
37170 (blkcnt_t): Likewise.
37171 (blkcnt64_t): Likewise.
37172 * manual/llio.texi (off_t): Likewise.
37173
28afd92d
JM
37174 [BZ #3976]
37175 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37176 (__ieee754_exp): Save and restore rounding mode and use
37177 round-to-nearest for all computations.
37178 * math/libm-test.inc (exp_test_tonearest): New function.
37179 (exp_test_towardzero): Likewise.
37180 (exp_test_downward): Likewise.
37181 (exp_test_upward): Likewise.
37182 (main): Call the new functions.
37183 * sysdeps/i386/fpu/libm-test-ulps: Update.
37184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37185
b1eeb65d
CD
371862012-03-01 Chris Demetriou <cgd@google.com>
37187
37188 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37189 have predictable order.
37190
53362a4b
DM
371912012-03-01 David S. Miller <davem@davemloft.net>
37192
3c969083
DM
37193 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37194
759707de
DM
37195 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37196 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37197 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37198 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37199
dfdb8ff2
DM
37200 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37201 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37202 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37204 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37205 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37206 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37207 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37208 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37209
ead89f96
DM
37210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37211
7f66bd07
DM
37212 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37213 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37214 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37215
53362a4b
DM
37216 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37217 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37218 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37219 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37220 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37223 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37224 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37225 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37226 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37227 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37229 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37230 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37232 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37233 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37234 * sysdeps/sparc/elf/configure: Regenerated.
37235
7b1902cb
JM
372362012-03-01 Joseph Myers <joseph@codesourcery.com>
37237
bec039bc
JM
37238 * configure.in (AS, LD): Require binutils 2.20 or later.
37239 * configure: Regenerated.
37240 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37241 as required minimum version.
37242 * INSTALL: Regenerated.
37243
7b1902cb
JM
37244 [BZ #2541]
37245 [BZ #4108]
37246 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37247 before squaring exponent.
37248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37249 bottom long double and 27 bits of top long double before squaring
37250 exponent.
37251 * math/libm-test.inc (erfc_test): Add more tests.
37252 * sysdeps/i386/fpu/libm-test-ulps: Update.
37253 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37255
f775c276
KT
372562012-03-01 Kai Tietz <ktietz@redhat.com>
37257
37258 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37259 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37260 containing bit-fields.
37261 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37262 * soft-fp/single.h (_FP_UNION_S): Likewise.
37263 * soft-fp/double.h (_FP_UNION_D): Likewise.
37264
5b8a4d4a
JM
372652012-02-29 Joseph Myers <joseph@codesourcery.com>
37266
0bab47b6
JM
37267 [BZ #13786]
37268 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37269 not include ../strcmp.S.
37270 [USE_AS_STRNCASECMP_L]: Likewise.
37271 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37272 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37273 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37274 (__strncasecmp_l_ia32): Define as alias to
37275 __strncasecmp_l_nonascii.
37276
0fcad3e2
JM
37277 [BZ #5794]
37278 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37279 * sysdeps/i386/fpu/libm-test-ulps: Update.
37280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37281
5b8a4d4a
JM
37282 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37284
8fdceb2e
JL
372852012-02-29 Jeff Law <law@redhat.com>
37286
37287 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37288 out of bounds read.
37289
1f393a11
MP
372902012-02-29 Marek Polacek <polacek@redhat.com>
37291
37292 [BZ #13706]
37293 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37294 * elf/Makefile: Add rules to run tst-unused-dep.out.
37295
8847f037
DM
372962012-02-28 David S. Miller <davem@davemloft.net>
37297
37298 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37299 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37300 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37301 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37302 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37303 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37304
169d7f11
JM
373052012-02-29 Joseph Myers <joseph@codesourcery.com>
37306
37307 * math/libm-test.inc (llround_test): Move one test from
37308 lround_test. Use TEST_f_L in moved test.
37309 (lround_test): Move misplaced test to llround_test. Add testcase
37310 from bug 2561.
37311
39adf059
UD
373122012-02-28 Ulrich Drepper <drepper@gmail.com>
37313
37314 * sysdeps/x86_64/fpu/e_expf.S: New file.
37315 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37316
71b5d1c5
SB
373172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37318
37319 [BZ #13637]
37320 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37321 of remain_len that may cause incomplete multi-byte character and
37322 false match.
37323 * posix/bug-regex33.c: New file.
37324 * posix/Makefile (tests): Add bug-regex33.
37325
1f77f049
JM
373262012-02-28 Joseph Myers <joseph@codesourcery.com>
37327
37328 * manual/macros.texi: New file.
37329 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37330 * manual/libc.texinfo: Include macros.texi.
37331 * manual/creatute.texi: Likewise.
37332 * manual/install.texi: Likewise.
37333 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37334 @glibcadj{} in references to the GNU C Library.
37335 * manual/charset.texi: Likewise.
37336 * manual/conf.texi: Likewise.
37337 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37338 when not using those macros.
37339 * manual/creature.texi: Likewise.
37340 * manual/crypt.texi: Likewise.
37341 * manual/errno.texi: Likewise.
37342 * manual/filesys.texi: Likewise.
37343 * manual/header.texi: Likewise.
37344 * manual/install.texi: Likewise.
37345 * manual/intro.texi: Likewise.
37346 * manual/io.texi: Likewise.
37347 * manual/job.texi: Likewise.
37348 * manual/lang.texi: Likewise.
37349 * manual/libc.texiinfo: Likewise.
37350 * manual/llio.texi: Likewise.
37351 * manual/locale.texi: Likewise.
37352 * manual/maint.texi: Likewise.
37353 * manual/math.texi: Likewise.
37354 * manual/memory.texi: Likewise.
37355 * manual/message.texi: Likewise.
37356 * manual/nss.texi: Likewise.
37357 * manual/pattern.texi: Likewise.
37358 * manual/process.texi: Likewise.
37359 * manual/resource.texi: Likewise.
37360 * manual/search.texi: Likewise.
37361 * manual/setjmp.texi: Likewise.
37362 * manual/signal.texi: Likewise.
37363 * manual/socket.texi: Likewise.
37364 * manual/startup.texi: Likewise.
37365 * manual/stdio.texi: Likewise.
37366 * manual/string.texi: Likewise.
37367 * manual/sysinfo.texi: Likewise.
37368 * manual/syslog.texi: Likewise.
37369 * manual/terminal.texi: Likewise.
37370 * manual/time.texi: Likewise.
37371 * manual/users.texi: Likewise.
37372 * INSTALL: Regenerated.
37373 * NOTES: Regenerated.
d40c5d54 37374 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 37375
450bf206
AS
373762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37377
37378 * include/dirent.h: Include <dirstream.h> before
37379 <dirent/dirent.h>.
37380
741a235b
DM
373812012-02-28 David S. Miller <davem@davemloft.net>
37382
37383 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37384 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37385 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37386 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37387
d6b5aa58
DM
373882012-02-27 David S. Miller <davem@davemloft.net>
37389
1aff59a3
DM
37390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37392 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37393 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37394
d6b5aa58
DM
37395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37396 frame pointer instead of stack pointer relative arg slot.
37397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37398 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37399 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37400
433f48bf
CD
374012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37402
37403 [BZ #3992]
37404 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37405
d674b76d
DM
374062012-02-27 David S. Miller <davem@davemloft.net>
37407
37408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37412 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37413 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37414 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37415 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37416
0e7727f7
JM
374172012-02-27 Joseph Myers <joseph@codesourcery.com>
37418
37419 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37420 later. Allow versions 5-9.
43be4ca2 37421 * configure: Regenerated.
0e7727f7
JM
37422 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37423 required minimum version and 4.6 as recommended version. Do not
37424 mention bugs in GCC 2.7 and 2.8.
43be4ca2 37425 * INSTALL: Regenerated.
0e7727f7 37426
a78bc654
DM
374272012-02-27 David S. Miller <davem@davemloft.net>
37428
428d5830
DM
37429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37433 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37434 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37435 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37436 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37437
a78bc654
DM
37438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37439 manipulate bits before adding and subtracting TWO112[sx].
37440 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37441
4579f81c
RM
374422012-02-27 Roland McGrath <roland@hack.frob.com>
37443
36c8acb4
RM
37444 [BZ #13775]
37445 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37446 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37447 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37448 being in POSIX, because they are in 1003.1-2008.
37449
84ad622b
RM
37450 * rt/tst-aio.c: Include <fcntl.h>.
37451 * rt/tst-aio7.c: Likewise.
37452 * rt/tst-aio64.c: Likewise.
37453
4579f81c
RM
37454 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37455
abd923db
JM
374562012-02-27 Joseph Myers <joseph@codesourcery.com>
37457
37458 * manual/install.texi (--with-headers): Describe headers as
37459 interface headers, not private headers.
37460 (Specific advice for GNU/Linux systems): Describe use of headers
37461 from "make headers_install", not private headers from older
37462 kernels.
43be4ca2 37463 * INSTALL: Regenerated.
abd923db
JM
37464 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37465 Change to 2.6.19.
37466 * sysdeps/unix/sysv/linux/configure: Regenerated.
37467
6664049b
JM
37468 * manual/llio.texi (fclean): Remove documentation.
37469
bb8b6697
JM
37470 * manual/Makefile (libc-texi-generated): New variable. Include
37471 version.texi.
37472 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37473 $(libc-texi-generated), not duplicated list of files.
37474 (version.texi, stamp-version): New rules.
37475 (realclean): Remove $(libc-texi-generated), not individual files
37476 from that list. Do not remove dir-add.texinfo.
37477 * manual/libc.texinfo: Comment out uses of edition numbers and
37478 references to printed manual. Remove last-updated dates.
37479 (EDITION): Comment out.
37480 (ISBN): Likewise.
37481 (VERSION, UPDATED): Remove.
37482 (version.texi): Include.
37483
12e5c3b9
AS
374842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37485
37486 * sysdeps/posix/spawni.c: Include <signal.h>.
37487 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37488 * sysdeps/pthread/aio_fsync.c: Likewise.
37489
4efeffc1 374902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 37491
ba63ba08
UD
37492 * conform/Makefile (tests): Run only when not cross-compiling and
37493 when fast-check is not defined.
37494
d94a4670
UD
37495 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37496 * conform/data/limits.h-data: Fixes for POSIX2008.
37497 * conform/run-conformtest.sh: Run all tests.
37498 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37499 headers.
37500 * include/bits/dlfcn.h: Likewise.
37501 * include/langinfo.h: Likewise.
37502 * include/monetary.h: Likewise.
37503 * include/sys/poll.h: Likewise.
37504
37505 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37506 for __USE_GNU.
37507 * posix/spawn.h: Define __need_sigset_t.
37508 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37509 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37510 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37511 to get sigevent_t only.
37512 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37513 only for __USE_GNU.
37514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37515 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37516 process_vm_writev only for __USE_GNU.
37517 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
37518
37519 * conform/Makefile: For now ignore errors from run-conformtest.
37520 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37521 POSIX to avoid namespace pollution. Don't prepend headers.
37522 * conform/data/aio.h-data: Fixes for POSIX testing.
37523 * conform/data/fcntl.h-data: Likewise.
37524 * conform/data/glob.h-data: Likewise.
37525 * conform/data/grp.h-data: Likewise.
37526 * conform/data/pthread.h-data: Likewise.
37527 * conform/data/pwd.h-data: Likewise.
37528 * conform/data/signal.h-data: Likewise.
37529 * conform/data/spawn.h-data: Likewise.
37530 * conform/data/stdio.h-data: Likewise.
37531 * conform/data/stdlib.h-data: Likewise.
37532 * conform/data/stropts.h-data: Likewise.
37533 * conform/data/sys/mman.h-data: Likewise.
37534 * conform/data/sys/stat.h-data: Likewise.
37535 * conform/data/sys/types.h-data: Likewise.
37536 * conform/data/sys/wait.h-data: Likewise.
37537 * conform/data/time.h-data: Likewise.
37538 * conform/data/unistd.h-data: Likewise.
37539 * conform/data/utime.h-data: Likewise.
37540
37541 * io/sys/stat.h: fchmod was always in POSIX.
37542 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37543 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37544 * rt/aio.h: Define __need_timespec before including <time.h>.
37545 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37546 struct. Add forward declaration of pthread_attr_t and use it in
37547 sigevent.
37548 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37549 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37550 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37551 always remove CLK_TCK definition.
37552
c20105c3
AS
375532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37554
37555 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37556
7a270350
UD
375572012-02-25 Ulrich Drepper <drepper@gmail.com>
37558
31341567
UD
37559 * conform/run-conformtest.sh: New file.
37560 * conform/Makefile: Run run-conformtest for tests.
37561 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37562 support.
37563
37564 * conform/data/uchar.h-data: New file.
37565 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37566 * conform/data/arpa/inet.h-data: Likewise.
37567 * conform/data/assert.h-data: Likewise.
37568 * conform/data/complex.h-data: Likewise.
37569 * conform/data/cpio.h-data: Likewise.
37570 * conform/data/ctype.h-data: Likewise.
37571 * conform/data/dirent.h-data: Likewise.
37572 * conform/data/dlfcn.h-data: Likewise.
37573 * conform/data/errno.h-data: Likewise.
37574 * conform/data/fcntl.h-data: Likewise.
37575 * conform/data/float.h-data: Likewise.
37576 * conform/data/fmtmsg.h-data: Likewise.
37577 * conform/data/fnmatch.h-data: Likewise.
37578 * conform/data/ftw.h-data: Likewise.
37579 * conform/data/glob.h-data: Likewise.
37580 * conform/data/grp.h-data: Likewise.
37581 * conform/data/iconv.h-data: Likewise.
37582 * conform/data/inttypes.h-data: Likewise.
37583 * conform/data/langinfo.h-data: Likewise.
37584 * conform/data/libgen.h-data: Likewise.
37585 * conform/data/limits.h-data: Likewise.
37586 * conform/data/locale.h-data: Likewise.
37587 * conform/data/math.h-data: Likewise.
37588 * conform/data/monetary.h-data: Likewise.
37589 * conform/data/mqueue.h-data: Likewise.
37590 * conform/data/ndbm.h-data: Likewise.
37591 * conform/data/net/if.h-data: Likewise.
37592 * conform/data/netdb.h-data: Likewise.
37593 * conform/data/netinet/in.h-data: Likewise.
37594 * conform/data/nl_types.h-data: Likewise.
37595 * conform/data/poll.h-data: Likewise.
37596 * conform/data/pthread.h-data: Likewise.
37597 * conform/data/pwd.h-data: Likewise.
37598 * conform/data/regex.h-data: Likewise.
37599 * conform/data/sched.h-data: Likewise.
37600 * conform/data/search.h-data: Likewise.
37601 * conform/data/semaphore.h-data: Likewise.
37602 * conform/data/setjmp.h-data: Likewise.
37603 * conform/data/signal.h-data: Likewise.
37604 * conform/data/spawn.h-data: Likewise.
37605 * conform/data/stdarg.h-data: Likewise.
37606 * conform/data/stdio.h-data: Likewise.
37607 * conform/data/stdlib.h-data: Likewise.
37608 * conform/data/string.h-data: Likewise.
37609 * conform/data/strings.h-data: Likewise.
37610 * conform/data/stropts.h-data: Likewise.
37611 * conform/data/sys/ipc.h-data: Likewise.
37612 * conform/data/sys/mman.h-data: Likewise.
37613 * conform/data/sys/msg.h-data: Likewise.
37614 * conform/data/sys/resource.h-data: Likewise.
37615 * conform/data/sys/select.h-data: Likewise.
37616 * conform/data/sys/sem.h-data: Likewise.
37617 * conform/data/sys/shm.h-data: Likewise.
37618 * conform/data/sys/socket.h-data: Likewise.
37619 * conform/data/sys/stat.h-data: Likewise.
37620 * conform/data/sys/statvfs.h-data: Likewise.
37621 * conform/data/sys/time.h-data: Likewise.
37622 * conform/data/sys/timeb.h-data: Likewise.
37623 * conform/data/sys/times.h-data: Likewise.
37624 * conform/data/sys/types.h-data: Likewise.
37625 * conform/data/sys/uio.h-data: Likewise.
37626 * conform/data/sys/un.h-data: Likewise.
37627 * conform/data/sys/utsname.h-data: Likewise.
37628 * conform/data/sys/wait.h-data: Likewise.
37629 * conform/data/syslog.h-data: Likewise.
37630 * conform/data/tar.h-data: Likewise.
37631 * conform/data/termios.h-data: Likewise.
37632 * conform/data/utime.h-data: Likewise.
37633 * conform/data/utmpx.h-data: Likewise.
37634 * conform/data/varargs.h-data: Likewise.
37635 * conform/data/wchar.h-data: Likewise.
37636 * conform/data/wctype.h-data: Likewise.
37637 * conform/data/wordexp.h-data: Likewise.
37638
37639 * include/stropts.h: New file.
37640 * include/uchar.h: New file.
37641 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37642 * include/assert.h: Likewise.
37643 * include/ctype.h: Likewise.
37644 * include/dirent.h: Likewise.
37645 * include/dlfcn.h: Likewise.
37646 * include/fcntl.h: Likewise.
37647 * include/fnmatch.h: Likewise.
37648 * include/glob.h: Likewise.
37649 * include/grp.h: Likewise.
37650 * include/libio.h: Likewise.
37651 * include/locale.h: Likewise.
37652 * include/math.h: Likewise.
37653 * include/net/if.h: Likewise.
37654 * include/netdb.h: Likewise.
37655 * include/netinet/in.h: Likewise.
37656 * include/pthread.h: Likewise.
37657 * include/pwd.h: Likewise.
37658 * include/regex.h: Likewise.
37659 * include/sched.h: Likewise.
37660 * include/search.h: Likewise.
37661 * include/setjmp.h: Likewise.
37662 * include/signal.h: Likewise.
37663 * include/stdio.h: Likewise.
37664 * include/stdlib.h: Likewise.
37665 * include/string.h: Likewise.
37666 * include/sys/cdefs.h: Likewise.
37667 * include/sys/mman.h: Likewise.
37668 * include/sys/msg.h: Likewise.
37669 * include/sys/resource.h: Likewise.
37670 * include/sys/select.h: Likewise.
37671 * include/sys/socket.h: Likewise.
37672 * include/sys/stat.h: Likewise.
37673 * include/sys/statvfs.h: Likewise.
37674 * include/sys/time.h: Likewise.
37675 * include/sys/times.h: Likewise.
37676 * include/sys/uio.h: Likewise.
37677 * include/sys/utsname.h: Likewise.
37678 * include/sys/wait.h: Likewise.
37679 * include/termios.h: Likewise.
37680 * include/time.h: Likewise.
37681 * include/ulimit.h: Likewise.
37682 * include/unistd.h: Likewise.
37683 * include/utime.h: Likewise.
37684 * include/wchar.h: Likewise.
37685 * include/wctype.h: Likewise.
37686 * include/wordexp.h: Likewise.
37687
37688 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37689
7a270350
UD
37690 * time/time.h: TIME_UTC must be a macro.
37691 Make timespec_get available for ISO C11 only as well.
37692
7724defc
UD
376932012-02-24 Ulrich Drepper <drepper@gmail.com>
37694
37695 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37696 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37697
6b1d1d46
JM
376982012-02-24 Joseph Myers <joseph@codesourcery.com>
37699
37700 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37701
0f8bbd69
JM
377022012-02-24 Joseph Myers <joseph@codesourcery.com>
37703
37704 * manual/texinfo.tex: Update to version 2012-01-19.16.
37705
66ab80bc
JM
377062012-02-24 Joseph Myers <joseph@codesourcery.com>
37707
37708 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37709
74981cc5
RM
377102012-02-24 Roland McGrath <roland@hack.frob.com>
37711
ee968201
RM
37712 [BZ #13738]
37713 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37714 * manual/fdl-1.3.texi: New file.
37715 * manual/fdl-1.1.texi: File removed.
37716
74981cc5
RM
37717 [BZ #13738]
37718 * manual/libc.texinfo (FDL_VERSION): New @set.
37719 Use it for mention of FDL in cover text.
37720 (Documentation License): Use it in @include file name.
37721
7bb764bc
JM
377222012-02-22 Joseph Myers <joseph@codesourcery.com>
37723 Roland McGrath <roland@hack.frob.com>
37724
37725 [BZ #5461]
57f41c40
AS
37726 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37727 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37728 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37729 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37730 name.
37731 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37732
6cbeae47
JM
377332012-02-22 Joseph Myers <joseph@codesourcery.com>
37734
37735 [BZ #2547]
37736 [BZ #11365]
37737 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37738 manipulate bits before adding and subtracting TWO23[sx].
37739 * math/libm-test.inc (nearbyint_test): Add more tests.
37740
fe45ce09
JM
377412012-02-22 Joseph Myers <joseph@codesourcery.com>
37742
37743 [BZ #2548]
37744 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37745 bits before adding and subtracting TWO23[sx].
37746 * math/libm-test.inc (rint_test): Add more tests.
37747 (rint_test_tonearest): Likewise.
37748 (rint_test_towardzero): Likewise.
37749 (rint_test_downward): Likewise.
37750 (rint_test_upward: Likewise.
37751
ff3b3d82
JM
377522012-02-22 Joseph Myers <joseph@codesourcery.com>
37753
37754 [BZ #10110]
37755 * include/stdc-predef.h: New file. Extracted from features.h.
37756 * include/features.h: Include stdc-predef.h.
37757 * Makefile (headers): Add stdc-predef.h.
37758 * CONFORMANCE (Compiler limitations): Update.
37759
ef0aab35
JM
377602012-02-22 Joseph Myers <joseph@codesourcery.com>
37761
37762 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37763
58639409
DM
377642012-02-21 David S. Miller <davem@davemloft.net>
37765
37766 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37767 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37768
c0e70b25
DM
377692012-02-20 David S. Miller <davem@davemloft.net>
37770
37771 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37772 using a normal save/restore sequence, rather than allocating a
37773 dummy stack frame just to store a frame pointer and restore.
37774 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37775
fb06851d
JM
377762012-02-21 Joseph Myers <joseph@codesourcery.com>
37777
37778 * manual/install.texi: Fix stray word in line-wrapped comment.
37779
7a8b71c3
DM
377802012-02-20 David S. Miller <davem@davemloft.net>
37781
d510c123
DM
37782 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37783 both binutils and gcc support GOTDATA.
37784
0722d7c2
DM
37785 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37786 "rd %pc" in the PIC register setup sequences.
37787
3d2b3019
DM
37788 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37789 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37790 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37791 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37792 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37794 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37795 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37797 (SYSCALL_ERROR_HANDLER): Likewise.
37798 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37799 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37801 (SYSCALL_ERROR_HANDLER): Likewise.
37802
c80098a9
DM
37803 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37804 (HAVE_GCC_GOTDATA): New.
37805 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37806 relocation support in both binutils and gcc.
37807 * sysdeps/sparc/elf/configure: Regenerate.
37808
3a2545a0
DM
37809 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37810 * sysdeps/sparc/sparc32/elf/configure: Delete.
37811 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37812 * sysdeps/sparc/sparc64/elf/configure: Delete.
37813 * sysdeps/sparc/elf/configure.in: New file.
37814 * sysdeps/sparc/elf/configure: Generate.
37815
7a8b71c3
DM
37816 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37817 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37818 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37819 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37820 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37821
f1e86fca
JM
378222012-02-21 Joseph Myers <joseph@codesourcery.com>
37823
37824 * manual/install.texi: Do not mention specific glibc version
37825 numbers.
37826 * manual/libc.texinfo (VERSION, UPDATED): Update.
37827 (@copying): Use @copyright{} and range of years.
37828
0e7dfaef
JM
378292012-02-21 Joseph Myers <joseph@codesourcery.com>
37830
37831 [BZ #13695]
37832 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37833 [crti.S not in sysdirs] (generated): Do not append.
37834 [crti.S not in sysdirs] (omit-deps): Likewise.
37835 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37836 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37837 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37838 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37839 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37840 Likewise.
37841 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37842 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37843 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37844 * csu/defs.awk: Remove file.
37845 * sysdeps/generic/initfini.c: Likewise.
37846 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37847 variable.
37848 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37849 Likewise.
37850
599af3ca
JM
378512012-02-20 Joseph Myers <joseph@codesourcery.com>
37852
37853 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37854 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37855 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37856 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37857 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37858 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37859 <bits/epoll.h>.
37860 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37861 (__EPOLL_PACKED): Define to empty if not defined by
37862 <bits/epoll.h>.
37863 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37865 bits/epoll.h.
37866
0e499750
JM
378672012-02-20 Joseph Myers <joseph@codesourcery.com>
37868
37869 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37870 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37871 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37872 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37873 <bits/timerfd.h>.
37874 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37876 bits/timerfd.h.
37877
5ad91f6e
JM
378782012-02-20 Joseph Myers <joseph@codesourcery.com>
37879
37880 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37881 in C locale.
37882 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37883 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37886
06b99b02
AJ
378872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37888
37889 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37890 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37891
7638c0fd
AS
378922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37893
37894 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37895 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37896 defined.
37897 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37898 Likewise.
37899 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37900 entry for 2.16.
37901
92221550
AJ
379022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37903
37904 * math/w_acos.c: Use non-signaling floating-point comparisons.
37905 * math/w_acosf.c: Likewise.
37906 * math/w_acosh.c: Likewise.
37907 * math/w_acoshf.c: Likewise.
37908 * math/w_acoshl.c: Likewise.
37909 * math/w_acosl.c: Likewise.
37910 * math/w_asin.c: Likewise.
37911 * math/w_asinf.c: Likewise.
37912 * math/w_asinl.c: Likewise.
37913 * math/w_atanh.c: Likewise.
37914 * math/w_atanhf.c: Likewise.
37915 * math/w_atanhl.c: Likewise.
37916 * math/w_exp2.c: Likewise.
37917 * math/w_exp2f.c: Likewise.
37918 * math/w_exp2l.c: Likewise.
37919 * math/w_j0.c: Likewise.
37920 * math/w_j0f.c: Likewise.
37921 * math/w_j0l.c: Likewise.
37922 * math/w_j1.c: Likewise.
37923 * math/w_j1f.c: Likewise.
37924 * math/w_j1l.c: Likewise.
37925 * math/w_jn.c: Likewise.
37926 * math/w_jnf.c: Likewise.
37927 * math/w_log.c: Likewise.
37928 * math/w_log10.c: Likewise.
37929 * math/w_log10f.c: Likewise.
37930 * math/w_log10l.c: Likewise.
37931 * math/w_log2.c: Likewise.
37932 * math/w_log2f.c: Likewise.
37933 * math/w_log2l.c: Likewise.
37934 * math/w_logf.c: Likewise.
37935 * math/w_logl.c: Likewise.
37936 * math/w_sqrt.c: Likewise.
37937 * math/w_sqrtf.c: Likewise.
37938 * math/w_sqrtl.c: Likewise.
37939 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37940 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37941 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37942 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37943 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37944
ebaf36eb
JM
379452012-02-19 Joseph Myers <joseph@codesourcery.com>
37946
37947 [BZ #9739]
37948 * manual/string.texi (strnlen): Use correct parameter name in
37949 equivalent expression.
37950
71c254a6
JM
379512012-02-19 Joseph Myers <joseph@codesourcery.com>
37952
37953 [BZ #11174]
37954 * manual/users.texi (seteuid): Consistently use neweuid for
37955 argument name.
37956
16d2c631
JM
379572012-02-19 Joseph Myers <joseph@codesourcery.com>
37958
37959 [BZ #13704]
37960 * manual/nss.texi (Services in the NSS configuration): Correct
37961 list of services in example configuration file.
37962
cd837b09
NB
379632012-02-19 Nick Bowler <nbowler@draconx.ca>
37964
37965 [BZ #11322]
37966 * manual/arith.texi: Remove statements about negative zero
37967 behaving identically to zero.
37968
02c4bbad
JM
379692012-02-18 Joseph Myers <joseph@codesourcery.com>
37970
37971 [BZ #5993]
37972 * manual/install.texi: Do not document upgrading from libc5.
37973
366842e7
JM
379742012-02-18 Joseph Myers <joseph@codesourcery.com>
37975
37976 [BZ #4596]
37977 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37978
dd54084d
DM
379792012-02-18 David S. Miller <davem@davemloft.net>
37980
37981 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37982 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37983 %o7 across the call.
37984 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37985 instead.
37986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37987 SETUP_PIC_REG_LEAF.
37988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37989 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37990 * sysdeps/sparc/crtn.S: Likewise.
37991
2bcc53a3
UD
379922012-02-17 Ulrich Drepper <drepper@gmail.com>
37993
37994 * aout/Makefile: Remove.
37995
09c093b5
RK
379962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37997
37998 [BZ #13058]
37999 * manual/examples/argp-ex1.c (main): Format definition in GNU
38000 style.
38001 * manual/examples/argp-ex2.c (main): Likewise.
38002 * manual/examples/argp-ex3.c (main): Likewise.
38003 * manual/examples/argp-ex4.c (main): Likewise.
38004 * manual/examples/longopt.c (main): Use new-style prototype
38005 definition.
38006 * manual/examples/strncat.c (main): Specify return type and use
38007 (void) for arguments.
38008 * manual/examples/subopt.c (main): Use char **argv argument.
38009
2ee633a2
JM
380102012-02-17 Joseph Myers <joseph@codesourcery.com>
38011
38012 [BZ #5077]
38013 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38014 rounding modes.
38015
0520adde
FB
380162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38017
38018 [BZ #6907]
38019 * manual/string.texi (strchr): Change when strchrnul is
38020 recommended.
38021
3f4081cd
DGM
380222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38023
38024 [BZ #174]
38025 * manual/locale.texi (setlocale): Document LOCPATH.
38026
d1b10e78
JM
380272012-02-17 Joseph Myers <joseph@codesourcery.com>
38028
38029 [BZ #10210]
38030 * manual/process.texi (execle): Move @dots{} before last argument.
38031
79c6869c
PB
380322012-02-17 Paul Bolle <pebolle@tiscali.nl>
38033
38034 [BZ #12047]
38035 * manual/charset.texi (Generic Charset Conversion): Fix typo
38036 (LC_TYPE -> LC_CTYPE).
38037
cc6e48bc
NB
380382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38039
38040 [BZ #5805]
38041 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38042 (scalbnf): Likewise.
38043 (scalbnl): Likewise.
38044 (scalbln): Likewise.
38045 (scalblnf): Likewise.
38046 (scalblnl): Likewise.
38047 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38048 (vwarnx): Likewise.
38049 (verr): Likewise.
38050 (verrx): Likewise.
38051 * manual/filesys.texi (telldir): Use braces around return type.
38052 * manual/llio.texi (mmap): Add space after comma.
38053 (mmap64): Likewise.
38054 * manual/math.texi (jn): Use @var{} on parameter names.
38055 (jnf): Likewise.
38056 (jnl): Likewise.
38057 (yn): Likewise.
38058 (ynf): Likewise.
38059 (ynl): Likewise.
38060 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38061 line.
38062 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38063 "...".
38064 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38065 (sched_get_priority_max): Likewise.
38066 * manual/signal.texi (sigvec): Add space after comma.
38067 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38068 names.
38069 (if_indextoname): Likewise.
38070 (if_freenameindex): Likewise.
38071 (sendto): Use ',' instead of '.' in prototype.
38072 * manual/startup.texi (syscall): Use @dots{} instead of literal
38073 "...".
38074 * manual/stdio.texi (__fpending): Separate initial words of
38075 paragraph from @deftypefun line.
38076 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38077 "...".
38078 (vsyslog): Use @var{} on parameter names.
38079 * manual/terminal.texi (stty): Use @var{} on parameter names.
38080 * manual/users.texi (getutmp): Use @var{} on parameter names.
38081 (getutmpx): Likewise.
38082
5b23062f
JM
380832012-02-17 Joseph Myers <joseph@codesourcery.com>
38084
38085 [BZ #6884]
38086 * manual/stdio.texi (fopen): Fix typos in description of
38087 ",ccs=STRING".
38088
8dee4833
AJ
380892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38090
38091 [BZ #4026]
38092 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38093 get clock_id definition.
38094
9078ce93
TS
380952012-02-17 Thomas Schwinge <thomas@schwinge.name>
38096
38097 [BZ #4822]
38098 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38099 (madvise): Cast every argument to void on its own.
38100
3835c55f
JM
381012012-02-17 Joseph Myers <joseph@codesourcery.com>
38102
38103 [BZ #9902]
38104 * manual/startup.texi (Exit Status): Fix typo.
38105
35c47e37
JM
381062012-02-17 Joseph Myers <joseph@codesourcery.com>
38107
38108 [BZ #10140]
38109 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38110 * manual/examples/argp-ex2.c: Likewise.
38111 * manual/examples/argp-ex3.c: Likewise.
38112
e3b69ca7
RH
381132012-02-16 Richard Henderson <rth@redhat.com>
38114
38115 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38116 * sysdeps/s390/s390-32/initfini.c: Remove.
38117 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38118 * sysdeps/s390/s390-64/initfini.c: Remove.
38119
df83af67
KK
381202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38121
38122 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38123 compiler output for sysdeps/generic/initfini.c.
38124 * sysdeps/sh/elf/initfini.c: Remove file.
38125
f63f3380
DM
381262012-02-16 David S. Miller <davem@davemloft.net>
38127
fb59b3a4
DM
38128 [BZ #11494]
38129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38130
f63f3380
DM
38131 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38132 * sysdeps/sparc/crti.S: New file.
38133 * sysdeps/sparc/crtn.S: New file.
38134 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38135 * sysdeps/sparc/sparc64/Makefile: Likewise.
38136
df6a4a4a
MF
381372012-02-15 Mike Frysinger <vapier@gentoo.org>
38138
6dd8f3dc 38139 [BZ #3335]
df6a4a4a
MF
38140 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38141
1cac7236
RM
381422012-02-15 Roland McGrath <roland@hack.frob.com>
38143
d2c736f8
RM
38144 [BZ #4822]
38145 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38146
1cac7236
RM
38147 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38148 (write, read, close): Likewise.
38149 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38150
8e475601
JM
381512012-02-15 Joseph Myers <joseph@codesourcery.com>
38152
38153 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38154 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38155 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38156 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38157 <bits/signalfd.h>.
38158 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38160 bits/signalfd.h.
38161
ed656b40
MP
381622012-02-14 Marek Polacek <polacek@redhat.com>
38163
38164 * sysdeps/x86_64/crti.S: New file.
38165 * sysdeps/x86_64/crtn.S: New file.
38166 * sysdeps/x86_64/elf/initfini.c: Remove file.
38167
2a979d3a
JM
381682012-02-13 Joseph Myers <joseph@codesourcery.com>
38169
38170 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38171 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38172 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38173 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38174 <bits/inotify.h>.
38175 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38177 bits/inotify.h.
38178
2a418ac3
JM
381792012-02-13 Joseph Myers <joseph@codesourcery.com>
38180
38181 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38182 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38183 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38184 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38185 <bits/eventfd.h>.
38186 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38188 bits/eventfd.h.
38189
fb779be7
TS
381902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38191
e19e83c5
RM
38192 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38193 __feraiseexcept instead of feraiseexcept.
7c35ffed 38194
fb779be7
TS
38195 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38196 nanosleep invocations.
38197 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38198 strings, and add error checking for a nanosleep invocations.
38199
59ba27a6
PE
382002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38201
38202 Replace FSF snail mail address with URLs, as per GNU coding standards.
38203 Most of the snail mail addresses were wrong anyway, and omitting
38204 them makes the source code easier to maintain. Almost all of the
38205 changes are to license notices and to locale LC_IDENTIFICATION
38206 addresses, except for this one:
38207 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38208 not its snail mail address.
38209
57b957eb
RH
382102012-02-09 Richard Henderson <rth@twiddle.net>
38211
af850b1c
RH
38212 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38213 of kernel-features.h.
38214
57b957eb
RH
38215 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38216
6b73181a
MP
382172012-02-08 Marek Polacek <polacek@redhat.com>
38218
38219 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38220 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38221 * sysdeps/gnu/_G_config.h: Likewise.
38222 * sysdeps/generic/_G_config.h: Likewise.
38223
26ecc33a
AS
382242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38225
6c6dbc63
AS
38226 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38227 tests.
38228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38229
e216c012
AS
38230 * sysdeps/powerpc/powerpc32/crti.S: New file.
38231 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38232 * sysdeps/powerpc/powerpc64/crti.S: New file.
38233 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38234
26ecc33a
AS
38235 * Makeconfig (have-initfini): Don't set.
38236 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38237 * configure.in (nopic_initfini): Don't substitute.
38238 * config.h.in (HAVE_INITFINI): Don't #undef.
38239 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38240 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38241
3add8e13
JM
382422012-02-08 Joseph Myers <joseph@codesourcery.com>
38243
38244 Support crti.S and crtn.S provided directly by architectures.
38245 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38246 [crti.S in sysdirs] (omit-deps): Likewise.
38247 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38248 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38249 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38250 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38251 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38252 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38253 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38254 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38255 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38256 compiler output for sysdeps/generic/initfini.c.
38257 * sysdeps/i386/elf/Makefile: Remove file.
38258 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38259
a22f12b4
MP
382602012-02-07 Marek Polacek <polacek@redhat.com>
38261
38262 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38263 * sysdeps/gnu/_G_config.h: Likewise.
38264 * sysdeps/mach/hurd/_G_config.h: Likewise.
38265
148cf100
MP
382662012-02-07 Marek Polacek <polacek@redhat.com>
38267
38268 * math/Makefile (tests): Add tst-CMPLX2.
38269 * math/tst-CMPLX2.c: New file.
38270
cfdc0dd7
AS
382712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38272
84ba42c4
AS
38273 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38274
cfdc0dd7
AS
38275 * math/libm-test.inc (jn_test): Add missing L suffix.
38276
622c86f4
MP
382772012-02-06 Marek Polacek <polacek@redhat.com>
38278
38279 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38280 * sysdeps/i386/fpu/e_powf.S: Likewise.
38281 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38282 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38284 * sysdeps/i386/fpu/e_pow.S: Likewise.
38285 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38286 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38287 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38288 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38289 * sysdeps/i386/fpu/e_log2.S: Likewise.
38290 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38291 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38292 * sysdeps/i386/fpu/e_powl.S: Likewise.
38293 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38294 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38295 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38296 * sysdeps/i386/fpu/e_logl.S: Likewise.
38297 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38298 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38299 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38300 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38301 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38302 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38303 * sysdeps/i386/fpu/e_log.S: Likewise.
38304 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38305 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38306 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38307 * sysdeps/i386/fpu/e_logf.S: Likewise.
38308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38309 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38310 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38311 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38312 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38313 * sysdeps/i386/fpu/e_log10.S: Likewise.
38314 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38315 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38316 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38317 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38318 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38319 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38320 * sysdeps/i386/asm-syntax.h: Likewise.
38321 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38322 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38323 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38324 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38325 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38326 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38327 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38328 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38329 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38330 * sysdeps/powerpc/sysdep.h: Likewise.
38331 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38332 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38333
d4a54ac6
JM
383342012-02-06 Joseph Myers <joseph@codesourcery.com>
38335
38336 [BZ #411]
38337 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38338
314054ea
JM
383392012-02-06 Joseph Myers <joseph@codesourcery.com>
38340
38341 * sysdeps/i386/sysdep.h: Include <features.h>.
38342 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38343 version.
38344
d8e0ca50
JM
383452012-02-05 Joseph Myers <joseph@codesourcery.com>
38346
38347 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38348 Define.
38349 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38350 LOAD_PIC_REG_STR.
38351
b1da7dd9
JM
383522012-02-03 Joseph Myers <joseph@codesourcery.com>
38353
38354 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38355 (SETUP_PIC_REG): Use GET_PC_THUNK.
38356 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38357 macro.
38358
9a1d9254
JM
383592012-02-03 Joseph Myers <joseph@codesourcery.com>
38360
38361 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38362 for non-PIC compilation.
38363 (SETUP_PIC_REG): Add .p2align directive.
38364 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38365 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38366 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38367 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38368 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38369 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38370 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38371 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38372 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38373 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38374 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38375 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38376 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38377 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38378 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38379 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38380 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38381 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38382 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38383 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38384 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38385 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38386 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38387 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38388 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38390 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38391 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38392 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38393 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38394 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38395 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38396 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38397 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38398 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38399 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38400 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38401 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38402 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38403 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38404 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38405
65dc3b75
JM
384062012-02-03 Joseph Myers <joseph@codesourcery.com>
38407
38408 * math/tst-CMPLX.c: Include <stdio.h>.
38409
d55bf177
JM
384102012-01-31 Joseph Myers <joseph@codesourcery.com>
38411
38412 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38413 float.
38414 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38415 * sysdeps/sparc/bits/mathdef.h: Likewise.
38416
69db4f8f
MP
384172012-01-31 Marek Polacek <polacek@redhat.com>
38418
38419 * libio/libio.h: Don't define _PARAMS.
38420 * locale/programs/config.h: Don't define PARAMS.
38421 * stdlib/strtol_l.c: Likewise.
38422 (__strtol_l): Remove PARAMS from the prototype.
38423
41b81892
UD
384242012-01-31 Ulrich Drepper <drepper@gmail.com>
38425
3b49edc0
UD
38426 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38427 names. Just use the correct names. Remove unnecessary wrapper
38428 functions.
38429 * malloc/arena.c: Likewise.
38430 * malloc/hooks.c: Likewise.
38431
41b81892
UD
38432 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38433 ARENA_TEST says not to. Simplify test for creation of a new arena.
38434 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38435
27a25b6e
UD
384362012-01-30 Ulrich Drepper <drepper@gmail.com>
38437
38438 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38439 into tail calls.
38440 (update_get_addr): New function.
38441 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38442 GET_ADDR_MODULE parameter.
38443
c8a89e7d
JM
384442012-01-30 Joseph Myers <joseph@codesourcery.com>
38445
38446 * crypt/cert.c: Remove __STDC__ conditionals.
38447 * crypt/crypt-entry.c: Likewise.
38448 * crypt/crypt_util.c: Likewise.
38449 * libio/filedoalloc.c: Likewise.
38450 * libio/fileops.c: Likewise.
38451 * libio/genops.c: Likewise.
38452 * libio/iofclose.c: Likewise.
38453 * libio/iofdopen.c: Likewise.
38454 * libio/iofopen.c: Likewise.
38455 * libio/iofopen64.c: Likewise.
38456 * libio/iogetdelim.c: Likewise.
38457 * libio/iopopen.c: Likewise.
38458 * libio/obprintf.c: Likewise.
38459 * libio/oldfileops.c: Likewise.
38460 * libio/oldiofclose.c: Likewise.
38461 * libio/oldiofdopen.c: Likewise.
38462 * libio/oldiofopen.c: Likewise.
38463 * libio/oldiopopen.c: Likewise.
38464 * libio/wfiledoalloc.c: Likewise.
38465 * libio/wgenops.c: Likewise.
38466 * locale/programs/xmalloc.c: Likewise.
38467 * misc/syslog.c: Likewise.
38468 * stdio-common/xbug.c: Likewise.
38469 * string/memchr.c: Likewise.
38470 * string/memcmp.c: Likewise.
38471 * string/memrchr.c: Likewise.
38472 * string/rawmemchr.c: Likewise.
38473 * sysdeps/posix/getcwd.c: Likewise.
38474 * time/strftime_l.c: Likewise.
38475
3b100462
JM
384762012-01-30 Joseph Myers <joseph@codesourcery.com>
38477
38478 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
38479 * config.make.in (config-cflags-sse2avx): Define.
38480 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38481 Fix typo.
38482
607998af
CM
384832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38484
38485 * scripts/config.guess: Update from upstream config git repository.
38486 * scripts/config.sub: Likewise.
38487
3601428f
CM
384882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38489
3ac8b282
CM
38490 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38491 (EM_NUM): Update.
38492 (R_TILEPRO_*, R_TILEGX_*): New macros.
38493
e034841e
CM
38494 * scripts/firstversions.awk: Fix bug in version range handling.
38495
540d7568
CM
38496 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38497
3601428f
CM
38498 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38499
463de862
CM
38500 * include/sys/epoll.h: New file.
38501 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38502 libc_hidden_def.
38503
73139a76
UD
385042012-01-28 Ulrich Drepper <drepper@gmail.com>
38505
96bc5b45
UD
38506 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38507 Avoid unnecessary __WORDSIZE == 64 test.
38508 (fmaxf): Use VEX format if possible.
38509 (fmax): Likewise.
38510 (fminf): Likewise.
38511 (fmin): Likewise.
38512
56f6f6a2
UD
38513 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38514 * math/math_private.h: Remove libc_fegetround* and
38515 libc_fesetround*.
38516 * sysdeps/i386/configure.in: Check for -msse2avx.
38517 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38518 also if SSE2AVX is defined.
38519 Remove libc_fegetround* and libc_fesetround*.
38520 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38521 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38522 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38523 of HAS_YMM_USABLE.
38524 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38525 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38526 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38527 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38528 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38529
73139a76
UD
38530 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38531
d73f93a4
AZ
385322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38533
38534 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38535 size is not set.
38536 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38537
6ee65ed6
UD
385382012-01-27 Ulrich Drepper <drepper@gmail.com>
38539
38540 [BZ #13618]
38541 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38542 relocation.
38543 * Makeconfig (libm): Define.
38544 * elf/Makefile: Add rules to build and run tst-relsort1.
38545 * elf/tst-relsort1.c: New file.
38546 * elf/tst-relsort1mod1.c: New file.
38547 * elf/tst-relsort1mod2.c: New file.
38548
8db21882
JM
385492012-01-27 Joseph Myers <joseph@codesourcery.com>
38550
38551 * math/s_ldexp.c: Remove __STDC__ conditionals.
38552 * math/s_ldexpf.c: Likewise.
38553 * math/s_ldexpl.c: Likewise.
38554 * math/s_nextafter.c: Likewise.
38555 * math/s_nexttowardf.c: Likewise.
38556 * math/s_significand.c: Likewise.
38557 * math/s_significandf.c: Likewise.
38558 * math/s_significandl.c: Likewise.
38559 * math/w_jnl.c: Likewise.
38560 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38561 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38562 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38563 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38564 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38565 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38566 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38567 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38568 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38569 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38570 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38572 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38573 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38574 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38575 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38576 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38577 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38579 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38580 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38581 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38582 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38583 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38584 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38585 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38586 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38587 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38588 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38589 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38590 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38591 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38592 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38593 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38594 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38595 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38596 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38597 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38598 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38599 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38600 * sysdeps/ieee754/k_standard.c: Likewise.
38601 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38603 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38604 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38605 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38606 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38607 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38608 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38609 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38610 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38611 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38612 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38613 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38614 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38615 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38616 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38617 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38618 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38619 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38620 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38621 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38622 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38623 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38624 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38625 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38626 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38627 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38628 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38630 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38631 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38632 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38633 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38634 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38635 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38636 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38637 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38638 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38639 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38640 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38641 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38642 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38643 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38644 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38645 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38646 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38647 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38648 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38649 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38650 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38651 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38652 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38653 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38654 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38655 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38656 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38657 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38658 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38659 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38660 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38661 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38662 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38663 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38664 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38665 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38666 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38667 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38668 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38669 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38670 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38671 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38672 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38673 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38674 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38675 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38676 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38677 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38678 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38679 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38680 * sysdeps/ieee754/s_matherr.c: Likewise.
38681 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38682 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38685
965a54a4
JM
386862012-01-26 Joseph Myers <joseph@codesourcery.com>
38687
38688 * crypt/md5.h: Remove __STDC__ conditionals.
38689 * libio/libioP.h: Likewise.
38690 * locale/programs/config.h: Likewise.
38691 * sysdeps/generic/sysdep.h: Likewise.
38692 * sysdeps/i386/asm-syntax.h: Likewise.
38693 * sysdeps/s390/asm-syntax.h: Likewise.
38694 * sysdeps/unix/sysdep.h: Likewise.
38695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38697
7071ad79
JM
386982012-01-26 Joseph Myers <joseph@codesourcery.com>
38699
38700 * libio/libio.h: Remove __STDC__ conditionals.
38701 * malloc/obstack.h: Likewise.
38702 * math/complex.h: Likewise.
38703 * math/math.h: Likewise.
38704 * sysdeps/generic/_G_config.h: Likewise.
38705 * sysdeps/gnu/_G_config.h: Likewise.
38706 * sysdeps/mach/hurd/_G_config.h: Likewise.
38707 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38708 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38709 * sysdeps/sparc/bits/mathdef.h: Likewise.
38710
afc5ed09
UD
387112012-01-26 Ulrich Drepper <drepper@gmail.com>
38712
38713 [BZ #13583]
38714 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38715 Clean up HAS_* macros.
afc5ed09 38716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38717 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38718 possible.
38719 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38720 HAS_AVX.
38721 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38722 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38724 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38725 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38726
bdb6de1d
JM
387272012-01-25 Joseph Myers <joseph@codesourcery.com>
38728
38729 * elf/tst-unique3.cc (gets): Remove declaration.
38730 * elf/tst-unique3lib.cc (gets): Likewise.
38731 * elf/tst-unique3lib2.cc (gets): Likewise.
38732 * elf/tst-unique4.cc (gets): Likewise.
38733
b15549e6
UD
387342012-01-24 Ulrich Drepper <drepper@gmail.com>
38735
38736 * include/stdio.h: Add C++ protection. Add gets declarations and
38737 definitions.
38738 * debug/tst-chk1.c: Don't declare gets here.
38739 * stdio-common/tst-gets.c: Likewise.
38740
a037381f
JM
387412012-01-24 Joseph Myers <joseph@codesourcery.com>
38742
38743 * posix/glob: Remove directory.
38744
f1d4aa75
JM
387452012-01-24 Joseph Myers <joseph@codesourcery.com>
38746
38747 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38748
81c0c964
PT
387492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38750
38751 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38752 of the non-standard EPFNOSUPPORT.
38753
0ea698ae
ST
387542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38755
38756 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38757 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38758 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38759
d220b117
UD
387602012-01-21 Ulrich Drepper <drepper@gmail.com>
38761
38762 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38763
3e1aa84e
UD
387642012-01-20 Ulrich Drepper <drepper@gmail.com>
38765
38766 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38767 transient errors.
38768 * nscd/grpcache.c (cache_addgr): Likewise.
38769 * nscd/hstcache.c (cache_addhst): Likewise.
38770 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38771 * nscd/pwdcache.c (cache_addpw): Likewise.
38772 * nscd/servicescache.c (cache_addserv): Likewise.
38773
400aa020
UD
387742012-01-16 Ulrich Drepper <drepper@gmail.com>
38775
d77e7869
UD
38776 * malloc/malloc.c: Various cleanups.
38777 * malloc/hooks.c: Likewise.
38778
400aa020
UD
38779 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38780 * stdlib/bug-fmtmsg1.c: New file.
38781
38782 * stdlib/fmtmsg.c (init): Add missing unlock.
38783 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38784
e0a309cf
MP
387852012-01-12 Marek Polacek <polacek@redhat.com>
38786
38787 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38788 and _GNU_SOURCE.
38789
929d11c7
WS
387902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38791
38792 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38793 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38794 macro to ensure uniqueness of label name.
38795 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38796 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38797
41d0e869
UD
387982012-01-11 Ulrich Drepper <drepper@gmail.com>
38799
0cc5ed3b
UD
38800 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38801
41d0e869
UD
38802 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38803 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38804 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38805 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38806
a47a831a
UD
388072012-01-10 Ulrich Drepper <drepper@gmail.com>
38808
daa891c0
UD
38809 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38810
38811 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38812 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38813 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38814
e58ef0f2
UD
38815 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38816
a47a831a 38817 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38818 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38819 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38821
38822 * math/bits/math-finite.h: Add ldexp support.
38823
a0bfc9c7
MP
388242012-01-10 Marek Polacek <polacek@redhat.com>
38825
38826 * locale/programs/localedef.h (show_archive_content): Add noreturn
38827 attribute.
38828
d6e97a1d
UD
388292012-01-09 Ulrich Drepper <drepper@gmail.com>
38830
38831 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38832
d5835c26
UD
388332012-01-08 Ulrich Drepper <drepper@gmail.com>
38834
e5f484c6
UD
38835 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38836
d5835c26
UD
38837 * io/Makefile (headers): Add bits/poll2.h.
38838
d1f741e9
WS
388392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38840
38841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38842 typo #include statement.
38843
ec09c1c4
UD
388442012-01-08 Ulrich Drepper <drepper@gmail.com>
38845
38846 * include/sys/cdefs.h: Define __attribute_alloc_size.
38847 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38848 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38849 * elf/pldd.c: Likewise.
38850 * iconv/iconv_charmap.c: Likewise.
38851 * iconv/iconvconfig.c: Likewise.
38852 * iconv/strtab.c: Likewise.
38853 * locale/programs/locale.c: Likewise.
38854 * locale/programs/localedef.h: Likewise.
38855 * locale/programs/simple-hash.c: Likewise.
38856 * nscd/nscd.h: Likewise.
38857 * nss/makedb.c: Likewise.
38858 * sysdeps/generic/ldconfig.h: Likewise.
38859 * locale/programs/localedef.c: Remove xmalloc prototype.
38860 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38861
20b38e03
PP
388622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38863
38864 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38865 appropriate.
38866
a0da5fe1
UD
388672012-01-08 Ulrich Drepper <drepper@gmail.com>
38868
1d5a644a 38869 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38870 * math/tst-CMPLX.c: New file.
1d5a644a 38871
8784a6db
UD
38872 * math/complex.h (CMPLXL): Fix typo.
38873
d9a216c0
UD
38874 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38875 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38876 GLIBC_2.16.
38877 * debug/tst-chk1.c: Add poll and ppoll tests.
38878 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38879 * include/sys/poll.h: Add hidden proto for ppoll.
38880 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38881 * sysdeps/mach/hurd/ppoll.c: Likewise.
38882 * io/ppoll.c: Likewise.
38883 * debug/poll_chk.c: New file.
38884 * debug/ppoll_chk.c: New file.
38885 * include/bits/poll2.h: New file.
38886 * io/bits/poll2.h: New file.
38887
ac097f5c
UD
38888 [BZ #1350]
38889 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38890
2119dcfa
UD
38891 * configure.in: static is always set to yes. Remove.
38892 * config.make.in: Don't set build-static.
38893 * Makeconfig: Remove use of build-static.
38894 * dlfcn/Makefile: Likewise.
38895 * elf/Makefile: Likewise.
38896 * math/Makefile: Likewise.
38897 * misc/Makefile: Likewise.
38898 * nptl/Makefile: Likewise.
38899 * sysdeps/mach/hurd/Makefile: Likewise.
38900
121766a9
UD
38901 * configure.in: PWD_P is not used anymore.
38902 * config.make.in: Remove PWD_P entry.
38903
51a1d39c 38904 * configure.in: Remove last remnants of RANLIB.
8720d066 38905 No need to check for signed size_t anymore.
215f4bdc
UD
38906 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38907 and IA-64.
3857022a 38908 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
38909 * aclocal.m4: Likewise.
38910
d3ed7225
UD
38911 * wcsmbs/mbrtoc16.c: Implement using towc function.
38912 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38913 * wcsmbs/wcsmbsload.c: Likewise.
38914 * iconv/gconv_simple.c: Likewise.
38915 * iconv/gconv_int.h: Likewise.
38916 * iconv/gconv_builtin.h: Likewise.
38917 * iconv/iconv_prog.c: Remove CHAR16 handling.
38918
38919 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38920
38921 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38922
a0da5fe1
UD
38923 * configure.in: Remove --with-elf and --enable-bounded options.
38924 Dont set base_machine for ia64. More non-ELF conditions removed.
38925 Remove testing and setting of leading underscore information.
38926 * config.make.in (build-bounded): Set to no.
38927 * config.h.in: Remove NO_UNDERSCORES entry.
38928 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38929 them.
38930 * csu/start.c: Remove !NO_UNDERSCORE code.
38931 * locale/localeinfo.h: Likewise.
38932 * sysdeps/generic/machine-gmon.h: Likewise.
38933 * sysdeps/generic/sysdep.h: Likewise.
38934 * sysdeps/i386/sysdep.h: Likewise.
38935 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38936 * sysdeps/mach/sysdep.h: Likewise.
38937 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38938 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38939 * sysdeps/sh/sysdep.h: Likewise.
38940 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38941 * sysdeps/unix/i386/sysdep.S: Likewise.
38942 * sysdeps/unix/sparc/start.c: Likewise.
38943 * sysdeps/unix/sparc/sysdep.S: Likewise.
38944 * sysdeps/unix/sparc/sysdep.h: Likewise.
38945 * sysdeps/unix/start.c: Likewise.
38946 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38947 * sysdeps/x86_64/sysdep.h: Likewise.
38948
df78418a
UD
389492012-01-07 Ulrich Drepper <drepper@gmail.com>
38950
a784e502
UD
38951 [BZ #13553]
38952 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38953 for non-gcc.
38954 * argp/argp-fmtstream.h: Use const instead __const.
38955 * argp/argp.h: Likewise.
38956 * assert/assert.h: Likewise.
38957 * bits/fenv.h: Likewise.
38958 * bits/sched.h: Likewise.
38959 * bits/sigset.h: Likewise.
38960 * bits/sigthread.h: Likewise.
38961 * catgets/nl_types.h: Likewise.
38962 * conform/data/pthread.h-data: Likewise.
38963 * crypt/crypt-private.h: Likewise.
38964 * crypt/crypt.h: Likewise.
38965 * crypt/crypt_util.c: Likewise.
38966 * ctype/ctype.h: Likewise.
38967 * debug/execinfo.h: Likewise.
38968 * debug/mbsnrtowcs_chk.c: Likewise.
38969 * debug/mbsrtowcs_chk.c: Likewise.
38970 * debug/wcsnrtombs_chk.c: Likewise.
38971 * debug/wcsrtombs_chk.c: Likewise.
38972 * debug/wcstombs_chk.c: Likewise.
38973 * dirent/dirent.h: Likewise.
38974 * dlfcn/dlfcn.h: Likewise.
38975 * elf/neededtest4.c: Likewise.
38976 * grp/grp.h: Likewise.
38977 * gshadow/gshadow.h: Likewise.
38978 * iconv/gconv.h: Likewise.
38979 * iconv/gconv_int.h: Likewise.
38980 * iconv/gconv_simple.c: Likewise.
38981 * iconv/iconv.h: Likewise.
38982 * iconv/loop.c: Likewise.
38983 * iconv/skeleton.c: Likewise.
38984 * include/aio.h: Likewise.
38985 * include/aliases.h: Likewise.
38986 * include/argz.h: Likewise.
38987 * include/arpa/inet.h: Likewise.
38988 * include/assert.h: Likewise.
38989 * include/dirent.h: Likewise.
38990 * include/dlfcn.h: Likewise.
38991 * include/execinfo.h: Likewise.
38992 * include/fcntl.h: Likewise.
38993 * include/fenv.h: Likewise.
38994 * include/glob.h: Likewise.
38995 * include/grp.h: Likewise.
38996 * include/libintl.h: Likewise.
38997 * include/mntent.h: Likewise.
38998 * include/netdb.h: Likewise.
38999 * include/pwd.h: Likewise.
39000 * include/rpc/netdb.h: Likewise.
39001 * include/sched.h: Likewise.
39002 * include/search.h: Likewise.
39003 * include/shadow.h: Likewise.
39004 * include/signal.h: Likewise.
39005 * include/stdio.h: Likewise.
39006 * include/stdlib.h: Likewise.
39007 * include/string.h: Likewise.
39008 * include/sys/socket.h: Likewise.
39009 * include/sys/stat.h: Likewise.
39010 * include/sys/statfs.h: Likewise.
39011 * include/sys/statvfs.h: Likewise.
39012 * include/sys/syslog.h: Likewise.
39013 * include/sys/time.h: Likewise.
39014 * include/sys/uio.h: Likewise.
39015 * include/time.h: Likewise.
39016 * include/unistd.h: Likewise.
39017 * include/utmp.h: Likewise.
39018 * include/wchar.h: Likewise.
39019 * include/wctype.h: Likewise.
39020 * inet/aliases.h: Likewise.
39021 * inet/arpa/inet.h: Likewise.
39022 * inet/netinet/ether.h: Likewise.
39023 * inet/netinet/in.h: Likewise.
39024 * intl/libintl.h: Likewise.
39025 * io/bits/fcntl2.h: Likewise.
39026 * io/fcntl.h: Likewise.
39027 * io/ftw.h: Likewise.
39028 * io/sys/poll.h: Likewise.
39029 * io/sys/stat.h: Likewise.
39030 * io/sys/statfs.h: Likewise.
39031 * io/sys/statvfs.h: Likewise.
39032 * io/utime.h: Likewise.
39033 * libio/bits/stdio.h: Likewise.
39034 * libio/bits/stdio2.h: Likewise.
39035 * libio/libio.h: Likewise.
39036 * libio/libioP.h: Likewise.
39037 * libio/stdio.h: Likewise.
39038 * locale/lc-ctype.c: Likewise.
39039 * locale/locale.h: Likewise.
39040 * login/utmp.h: Likewise.
39041 * malloc/arena.c: Likewise.
39042 * malloc/malloc.c: Likewise.
39043 * malloc/malloc.h: Likewise.
39044 * malloc/mcheck.c: Likewise.
39045 * malloc/mtrace.c: Likewise.
39046 * math/bits/mathcalls.h: Likewise.
39047 * math/fenv.h: Likewise.
39048 * math/math_private.h: Likewise.
39049 * misc/bits/error.h: Likewise.
39050 * misc/bits/syslog.h: Likewise.
39051 * misc/err.h: Likewise.
39052 * misc/error.h: Likewise.
39053 * misc/fstab.h: Likewise.
39054 * misc/mntent.h: Likewise.
39055 * misc/regexp.h: Likewise.
39056 * misc/search.h: Likewise.
39057 * misc/sgtty.h: Likewise.
39058 * misc/sys/mman.h: Likewise.
39059 * misc/sys/syslog.h: Likewise.
39060 * misc/sys/uio.h: Likewise.
39061 * misc/sys/xattr.h: Likewise.
39062 * misc/ttyent.h: Likewise.
39063 * nis/rpcsvc/ypclnt.h: Likewise.
39064 * nss/nss.h: Likewise.
39065 * posix/bits/unistd.h: Likewise.
39066 * posix/fnmatch.h: Likewise.
39067 * posix/glob.h: Likewise.
39068 * posix/sched.h: Likewise.
39069 * posix/spawn.h: Likewise.
39070 * posix/sys/wait.h: Likewise.
39071 * posix/unistd.h: Likewise.
39072 * posix/wordexp.h: Likewise.
39073 * pwd/pwd.h: Likewise.
39074 * resolv/netdb.h: Likewise.
39075 * resource/sys/resource.h: Likewise.
39076 * rt/aio.h: Likewise.
39077 * rt/bits/mqueue2.h: Likewise.
39078 * rt/mqueue.h: Likewise.
39079 * shadow/shadow.h: Likewise.
39080 * signal/signal.h: Likewise.
39081 * socket/send.c: Likewise.
39082 * socket/sendto.c: Likewise.
39083 * socket/sys/socket.h: Likewise.
39084 * stdio-common/printf.h: Likewise.
39085 * stdlib/bits/stdlib.h: Likewise.
39086 * stdlib/fmtmsg.h: Likewise.
39087 * stdlib/monetary.h: Likewise.
39088 * stdlib/stdlib.h: Likewise.
39089 * stdlib/ucontext.h: Likewise.
39090 * streams/stropts.h: Likewise.
39091 * string/argz.h: Likewise.
39092 * string/bits/string2.h: Likewise.
39093 * string/string.h: Likewise.
39094 * string/strings.h: Likewise.
39095 * sunrpc/rpc/auth.h: Likewise.
39096 * sunrpc/rpc/auth_des.h: Likewise.
39097 * sunrpc/rpc/clnt.h: Likewise.
39098 * sunrpc/rpc/netdb.h: Likewise.
39099 * sunrpc/rpc/pmap_clnt.h: Likewise.
39100 * sunrpc/rpc/xdr.h: Likewise.
39101 * sysdeps/generic/inttypes.h: Likewise.
39102 * sysdeps/generic/net/if.h: Likewise.
39103 * sysdeps/generic/sys/swap.h: Likewise.
39104 * sysdeps/gnu/net/if.h: Likewise.
39105 * sysdeps/gnu/utmpx.h: Likewise.
39106 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39107 * sysdeps/i386/i486/bits/string.h: Likewise.
39108 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39109 * sysdeps/s390/bits/string.h: Likewise.
39110 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39111 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39112 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39113 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39114 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39115 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39116 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39117 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39118 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39119 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39120 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39121 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39122 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39123 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39124 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39125 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39126 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39128 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39129 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39130 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39131 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39132 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39133 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39134 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39135 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39136 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39137 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39138 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39139 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39140 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39141 * sysvipc/sys/ipc.h: Likewise.
39142 * sysvipc/sys/msg.h: Likewise.
39143 * sysvipc/sys/sem.h: Likewise.
39144 * sysvipc/sys/shm.h: Likewise.
39145 * termios/termios.h: Likewise.
39146 * time/sys/time.h: Likewise.
39147 * time/time.h: Likewise.
39148 * wcsmbs/bits/wchar2.h: Likewise.
39149 * wcsmbs/uchar.h: Likewise.
39150 * wcsmbs/wchar.h: Likewise.
39151 * wctype/wctype.h: Likewise.
39152
0269750c
UD
39153 [BZ #13551]
39154 * Makeconfig: Remove all but ELF support including AIX support.
39155 * Makerules: Likewise.
39156 * config.h.in: Likewise.
39157 * config.make.in: Likewise.
39158 * configure: Likewise.
39159 * configure.in: Likewise.
39160 * csu/Makefile: Likewise.
39161 * csu/version.c: Likewise.
39162 * debug/Makefile: Likewise.
39163 * dlfcn/Makefile: Likewise.
39164 * elf/Makefile: Likewise.
39165 * extra-lib.mk: Likewise.
39166 * iconv/Makefile: Likewise.
39167 * include/libc-symbols.h: Likewise.
39168 * include/shlib-compat.h: Likewise.
39169 * resolv/Makefile: Likewise.
39170 * resolv/res_libc.c: Likewise.
39171 * rt/Makefile: Likewise.
39172 * sysdeps/i386/asm-syntax.h: Likewise.
39173 * sysdeps/i386/sysdep.h: Likewise.
39174 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39175 * sysdeps/mach/sysdep.h: Likewise.
39176 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39177 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39178 * sysdeps/s390/asm-syntax.h: Likewise.
39179 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39180 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39181 * sysdeps/sh/sysdep.h: Likewise.
39182 * sysdeps/unix/sparc/sysdep.h: Likewise.
39183 * sysdeps/wordsize-32/divdi3.c: Likewise.
39184 * sysdeps/x86_64/sysdep.h: Likewise.
39185
00bbd29b
UD
39186 * argp/Versions: Remove _argp_unlock_xxx.
39187
39188 [BZ #13559]
39189 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39190 * abilist/libBrokenLocale.abilist: Likewise.
39191 * abilist/libanl.abilist: Likewise.
39192 * abilist/libc.abilist: Likewise.
39193 * abilist/libcrypt.abilist: Likewise.
39194 * abilist/libdl.abilist: Likewise.
39195 * abilist/libm.abilist: Likewise.
39196 * abilist/libnsl.abilist: Likewise.
39197 * abilist/libpthread.abilist: Likewise.
39198 * abilist/libresolv.abilist: Likewise.
39199 * abilist/librt.abilist: Likewise.
39200 * abilist/libthread_db.abilist: Likewise.
39201 * abilist/libutil.abilist: Likewise.
39202 * abilist/libnss_db.abilist: New file.
39203
39204 * scripts/abilist.awk: Add support for indirect functions.
39205
a2693a0e
UD
39206 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39207
3f05895f
UD
39208 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39209
ecb6fb48
UD
39210 * shlib-versions: Remove entries for ports architectures.
39211
664f8cb9
UD
39212 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39213 files in ports.
39214 * elf/stackguard-macros.h: Remove support for IA-64.
39215 * elf/tst-auditmod1.c: Likewise.
39216 * sysdeps/generic/ldsodefs.h: Likewise.
39217
7ae81d88
UD
39218 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39219 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39220 configure files.
39221
bdeba135
UD
39222 [BZ #13552]
39223 * configure.in: Remove --enable-omitfp support.
39224 * FAQ.in: Adjust.
39225 * config.make.in: Likewise.
39226 * Makeconfig: Likewise.
39227 * manual/install.texi: Likewise.
39228
d75a0a62
UD
39229 In case anyone cares, the IA-64 architecture could move to ports.
39230 * sysdeps/ia64/*: Removed.
39231 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39232 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39233
dcc9756b
UD
39234 [BZ #13555]
39235 * configure.in: Remove entries for unsupported architectures.
39236
d3761ebc 39237 [BZ #13533]
9954432e
UD
39238 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39239 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39240 routines.
39241 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39242 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39243 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39244 fall back to using wcrtomb.
39245 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39246 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39247 renaming.
39248 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39249 * wcsmbs/tst-c16c32-1.c: New file.
39250
39251 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39252 local variable.
39253
c3a87236
UD
39254 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39255
28926a1b
UD
39256 * elf/tst-unique3.cc: Add explicit declaration of gets.
39257 * elf/tst-unique3lib.cc: Likewise.
39258 * elf/tst-unique3lib2.cc: Likewise.
39259 * elf/tst-unique4.cc: Likewise.
39260
df78418a
UD
39261 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39262
8ecd6b2a
JM
392632012-01-06 Joseph Myers <joseph@codesourcery.com>
39264
39265 [BZ #13566]
39266 * assert/assert.h (static_assert): Don't define for C++.
39267 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39268 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39269
9f115170
UD
392702012-01-03 Ulrich Drepper <drepper@gmail.com>
39271
5e0d0300
UD
39272 * iconv/loop.c (single loop): Fix assertion in storing of
39273 remaining bytes.
39274
9f115170
UD
39275 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39276
81fb02b0
UD
392772012-01-01 Ulrich Drepper <drepper@gmail.com>
39278
39279 * posix/getconf.c: Update copyright year.
39280 * nss/getent.c: Likewise.
a316c1f6 39281 * nss/makedb.c: Likewise.
81fb02b0
UD
39282 * iconv/iconvconfig.c: Likewise.
39283 * iconv/iconv_prog.c: Likewise.
39284 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39285 * elf/pldd.c: Likewise.
39286 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39287 * catgets/gencat.c: Likewise.
39288 * csu/version.c: Likewise.
39289 * elf/ldd.bash.in: Likewise.
39290 * elf/sprof.c (print_version): Likewise.
39291 * locale/programs/locale.c: Likewise.
39292 * locale/programs/localedef.c: Likewise.
a316c1f6 39293 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39294 * nscd/nscd.c (print_version): Likewise.
39295 * debug/xtrace.sh: Likewise.
39296 * malloc/memusage.sh: Likewise.
39297 * malloc/mtrace.pl: Likewise.
39298 * debug/catchsegv.sh: Likewise.
39299
2ba92745
JJ
393002011-12-30 Jakub Jelinek <jakub@redhat.com>
39301
39302 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39303 pure attribute.
39304
dadebdae
UD
393052011-12-24 Ulrich Drepper <drepper@gmail.com>
39306
d3761ebc 39307 [BZ #13533]
db6af3eb
UD
39308 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39309 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39310 transformations.
39311 * iconv/gconv_int.h: Likewise.
39312 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39313 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39314 from libc for GLIBC_2.16.
39315 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39316 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39317 * wcsmbs/uchar.h: Really define mbstate_t.
39318 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39319 * wcsmbs/c16rtomb.c: New file.
39320 * wcsmbs/mbrtoc16.c: New file.
39321 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39322 for C/POSIX locale.
39323 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39324 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39325
dadebdae
UD
39326 * wcsmbs/wchar.h: Add missing __restrict.
39327
67371b56
UD
393282011-12-23 Ulrich Drepper <drepper@gmail.com>
39329
74033a25
UD
39330 [BZ #13532]
39331 * time/Makefile (routines): Add timespec_get.
39332 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39333 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39334 timespec for ISO C11.
39335 * time/timespec_get.c: New file.
39336 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39337 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39338
380d7e87
UD
39339 [BZ #13531]
39340 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39341 * stdlib/stdlib.h: Declare aligned_alloc.
39342 * Versions.def: Add GLIBC_2.16 for libc.
39343 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39344
4e9e7a35
UD
39345 [BZ 13527]
39346 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39347 ISO C11.
39348
380d7e87 39349 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
39350 code.
39351
03a71829
UD
39352 [BZ #13528]
39353 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39354
839e283e
UD
39355 [BZ #13529]
39356 * assert/assert.h (static_assert): Define.
39357
ce5294e2 39358 * version.h: Update for 2.16 development version.
90fa7312 39359
8d44e150 39360 [BZ #13526]
d7809905
UD
39361 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39362 _ISOC11_SOURCE.
39363
c0da14cd
UD
39364 * version.h (RELEASE): Bump for 2.15 release.
39365 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39366
530a3249
MP
39367 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39368 Patch by Marek Polacek <mpolacek@redhat.com>.
39369
67371b56
UD
39370 * bits/byteswap.h: Protect long long constants with __extension__.
39371 * sysdeps/i386/bits/byteswap.h: Likewise.
39372 * sysdeps/ia64/bits/byteswap.h: Likewise.
39373 * sysdeps/s390/bits/byteswap.h: Likewise.
39374 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39375
15db4de1
LD
393762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39377
39378 [BZ #13540]
bbe315ea
LD
39379 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39380 destination buffer.
15db4de1
LD
39381 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39382
2b2596b1
MP
393832011-12-23 Marek Polacek <polacek@redhat.com>
39384
39385 * elf/dl-addr.c (determine_info): Add inline keyword.
39386 * elf/tst-auditmod4b.c (check_avx): Likewise.
39387 * elf/tst-auditmod6b.c (check_avx): Likewise.
39388 * elf/tst-auditmod6c.c (check_avx): Likewise.
39389 * elf/tst-auditmod7b.c (check_avx): Likewise.
39390
70c6c246
UD
393912011-12-23 Ulrich Drepper <drepper@gmail.com>
39392
39393 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39394 !__SSE_MATH__.
39395
c044cf14
LD
393962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39397
15db4de1 39398 [BZ #13540]
c044cf14
LD
39399 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39400 processing for last bytes.
39401
6b13d9d9
BH
394022011-08-06 Bruno Haible <bruno@clisp.org>
39403
d455f537
BH
39404 [BZ #13061]
39405 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39406 U+0385, not to U+1FEE.
39407
6b13d9d9
BH
39408 [BZ #13062]
39409 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39410 entry for U+00A5 U+0301.
39411
db910efd
UD
394122011-12-22 Ulrich Drepper <drepper@gmail.com>
39413
27deeafc
UD
39414 [BZ #13166]
39415 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39416 buffer for the output is too small.
39417
aed9d171
UD
39418 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39419 optimization.
39420
db910efd
UD
39421 [BZ #13185]
39422 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39423 SSE flags if possible.
39424
2bd779ae
LD
394252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39426
e7f9dac3 39427 [BZ #13540]
2bd779ae
LD
39428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39429 processing for last bytes.
39430
154bfc16
JM
394312011-12-22 Joseph Myers <joseph@codesourcery.com>
39432
39433 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39434 (syscall-list-default-options, syscall-list-default-condition)
39435 (syscall-list-includes): Define.
39436 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39437 list of ABIs and options and #if conditions for each ABI. Do not
39438 handle common syscalls between ABIs specially.
39439 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39440 Remove.
39441 (syscall-list-variants, syscall-list-32bit-options)
39442 (syscall-list-32bit-condition, syscall-list-64bit-options)
39443 (syscall-list-64bit-condition): Define.
39444 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39445 (syscall-list-variants, syscall-list-32bit-options)
39446 (syscall-list-32bit-condition, syscall-list-64bit-options)
39447 (syscall-list-64bit-condition): Define.
39448 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39449 Remove.
39450 (syscall-list-variants, syscall-list-32bit-options)
39451 (syscall-list-32bit-condition, syscall-list-64bit-options)
39452 (syscall-list-64bit-condition): Define.
39453 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39454 Remove.
39455 (syscall-list-variants, syscall-list-32bit-options)
39456 (syscall-list-32bit-condition, syscall-list-64bit-options)
39457 (syscall-list-64bit-condition): Define.
39458
21eaf3a5
UD
394592011-12-22 Ulrich Drepper <drepper@gmail.com>
39460
16c6f992
UD
39461 * locale/iso-639.def: Add brx entry.
39462
41043168
UD
39463 [BZ #13328]
39464 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39465 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39466
21eaf3a5
UD
39467 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39468 __feraiseexcept_renamed.
39469
e3a851a2
UD
394702011-12-21 Ulrich Drepper <drepper@gmail.com>
39471
4920765e
UD
39472 [BZ #13538]
39473 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39474 EPOLLET with unsigned values.
39475 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39476 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39477
e3a851a2
UD
39478 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39479 to large cancellation.
39480 * math/s_cacoshf.c: Likewise.
39481 * math/s_cacoshl.c: Likewise.
39482
b27e24b8
RK
394832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39484
39485 [BZ #13305]
aebefeee 39486 [BZ #12786]
b27e24b8
RK
39487 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39488 * math/s_cacoshf.c: Likewise.
39489 * math/s_cacoshl.c: Likewise.
39490
ee190f67
UD
394912011-12-21 Ulrich Drepper <drepper@gmail.com>
39492
39493 [BZ #13439]
39494 * iconv/gconv.h: Define __GCONV_SWAP.
39495 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39496 * iconvdata/utf-16.c: Likewise.
39497 * iconvdata/utf-32.c: Likewise.
39498
707f25df
AS
394992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39500
39501 [BZ #13524]
39502 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39503 numerator after shifting it by one limb.
39504
d2daaa1e
RÁE
395052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39506
39507 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39508 under [__USE_EXTERN_INLINES].
39509
a4647e72
UD
395102011-12-17 Ulrich Drepper <drepper@gmail.com>
39511
39512 [BZ #13446]
39513 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39514
f0b264f1
AZ
395152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39516
39517 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39518 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39519 optimized code.
39520 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39521 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39522 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39523 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39524 for strncasecmp/strncasecmp_l compilation.
39525 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39526 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39527
8ef4f244
MP
395282011-12-08 Marek Polacek <mpolacek@redhat.com>
39529
39530 [BZ #13484]
39531 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39532 of __asm__.
39533
97ac2654
UD
395342011-12-17 Ulrich Drepper <drepper@gmail.com>
39535
39536 [BZ #13506]
39537 * time/tzfile.c (__tzfile_read): Check values from file header.
39538
91d2a845
WS
395392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39540
39541 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39542 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39543 * powerpc/powerpc32/dl-start.S: Likewise.
39544 * powerpc/powerpc32/elf/start.S: Likewise.
39545 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39546 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39547 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39548 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39549 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39550 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39551 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39552 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39553 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39554 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39555 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39556 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39557 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39558 * powerpc/powerpc32/memset.S: Likewise.
39559 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39560 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39561 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39562 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39563 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39564 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39565 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39566 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39567 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39568 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39569 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39570 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39571 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39572
a1267ba1
AZ
395732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39574
39575 * math/libm-test.inc: Added more nearbyint tests.
39576 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39577 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39578 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39580
ad8ac1bd
RL
395812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39582
39583 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39584 FD_CLOEXEC.
39585
1d3e4b61
UD
395862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39587
39588 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39589 Add wcscpy-ssse3 wcscpy-c.
39590 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39591 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39592 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39593 * sysdeps/x86_64/wcschr.S: New file.
39594 * sysdeps/x86_64/wcsrchr.S: New file.
39595 * string/test-strcmp.c: Remove checking of wcscmp function for
39596 wrong alignments.
39597 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39598 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39599 wcsrchr-sse2 wcsrchr-c.
39600 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39601 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39602 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39603 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39604 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39605 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39606 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39607 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39608 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39609 * wcsmbc/wcschr.c (WCSCHR): New macro.
39610
5b330a2d
UD
396112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39612
39613 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39614 * wcsmbs/test-wcsrchr.c: New file.
39615 * string/test-strrchr.c: Add wcsrchr support.
39616 (WIDE): New macro.
39617 * wcsmbs/test-wcscpy.c: New file.
39618 * string/test-strcpy.c: Add wcscpy support.
39619 (WIDE): New macro.
26428b7c 39620
f039c043
UD
396212011-12-10 Ulrich Drepper <drepper@gmail.com>
39622
39623 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39624 the inner loop.
39625
850fb039
AS
396262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39627
39628 [BZ #13472]
39629 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39630
4efbd5cb
UD
396312011-12-04 Ulrich Drepper <drepper@gmail.com>
39632
52ff5dd0 39633 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39634 Minor optimizations.
52ff5dd0 39635
4efbd5cb
UD
39636 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39637 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39638 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39639
8a426e12
UD
396402011-12-03 Ulrich Drepper <drepper@gmail.com>
39641
aff2453d
UD
39642 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39643 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39644 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39645 for gcc to avoid warnings.
39646 * inet/Makefile (tests): Add tst-checks.
39647 * inet/tst-checks.c: New file.
39648
39649 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39650 warning.
39651
39652 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39653 __wmemcmp_sse2.
39654
39655 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39656 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39657
8a426e12
UD
39658 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39659
9bea3473
UD
396602011-12-02 Ulrich Drepper <drepper@gmail.com>
39661
3a965496
UD
39662 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39663 problem.
39664
9bea3473
UD
39665 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39666
f101631b
UD
396672011-11-29 Joseph Myers <joseph@codesourcery.com>
39668
39669 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39670 conditional on GCC version.
39671 (__arch_compare_and_exchange_val_8_acq)
39672 (__arch_compare_and_exchange_val_16_acq)
39673 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39674 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39675 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39676
a98275aa
UD
396772011-12-02 Joseph Myers <joseph@codesourcery.com>
39678
39679 * sysdeps/sh/backtrace.c: New file.
39680
d4cc29a2
AS
396812011-12-02 Andreas Schwab <schwab@redhat.com>
39682
39683 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39684 parenthesis.
39685
6257af2d
AS
396862011-12-01 Andreas Schwab <schwab@redhat.com>
39687
39688 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39689 falling back to utime.
39690
b5f44c1a
AS
396912011-11-30 Andreas Schwab <schwab@redhat.com>
39692
39693 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39694 expectations for float.
39695
f3a6cc0a
AS
396962011-11-29 Andreas Schwab <schwab@redhat.com>
39697
39698 * locale/weight.h (findidx): Add parameter len.
39699 * locale/weightwc.h (findidx): Likewise.
39700 * posix/fnmatch_loop.c (FCT): Adjust caller.
39701 * posix/regcomp.c (build_equiv_class): Likewise.
39702 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39703 * posix/regexec.c (check_node_accept_bytes): Likewise.
39704 * string/strcoll_l.c (STRCOLL): Likewise.
39705 * string/strxfrm_l.c (STRXFRM): Likewise.
39706
9d65ea3a
UD
397072011-11-17 Ulrich Drepper <drepper@gmail.com>
39708
39709 * Makefile.in: Remove CVSOPT handling.
39710 * configure.in: Remove use of AC_REVISION.
39711 * iconvdata/Makefile (distribute): No need to filter out CVS.
39712 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39713 handling.
39714
5583a086
AS
397152011-11-16 Andreas Schwab <schwab@redhat.com>
39716
39717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39718 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39719 [USE_AS_STRNCASECMP_L]: Likewise.
39720 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39721 NO_TLS_DIRECT_SEG_REFS.
39722 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39723 Fix argument offsets for non-PIC.
39724 [USE_AS_STRNCASECMP_L]: Likewise.
39725 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39726 NO_TLS_DIRECT_SEG_REFS.
39727
d62a8200
UD
397282011-11-15 Ulrich Drepper <drepper@gmail.com>
39729
9d65ea3a 39730 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39731 O_CLOEXEC.
39732 * locale/loadlocale.c (_nl_load_locale): Likewise.
39733
09f93bd3
AS
397342011-11-15 Andreas Schwab <schwab@redhat.com>
39735
446514f9
AS
39736 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39737 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39738 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39739 (SYSCALL_GETTIME): Set errno on error.
39740
09f93bd3
AS
39741 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39742 count references to noai6ai_cached.
39743
312be3f9
UD
397442011-11-15 Ulrich Drepper <drepper@gmail.com>
39745
39746 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39747
39748 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39749 FD_CLOEXEC for /proc/self/maps.
39750
39751 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39752 FD_CLOEXEC for /proc/meminfo.
39753
39754 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39755 gai.conf.
39756
39757 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39758 FD_CLOEXEC for given file.
39759
39760 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39761
39762 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39763 FD_CLOEXEC for /etc/hosts.
39764 (_gethtent): Likewise.
39765
39766 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39767
39768 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39769 cancellation and set FD_CLOEXEC for /etc/netgroup.
39770
39771 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39772 reading /etc/publickey.
39773
39774 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39775 allow cancellation when reading /etc/group.
39776
39777 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39778 cancellation.
39779 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39780
39781 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39782 when using data file.
39783
39784 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39785
39786 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39787 (write_nis_obj): Use "c" and "e" in fopen.
39788
39789 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39790
39791 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39792
39793 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39794
39795 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39796
39797 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39798 locale.alias.
39799
39800 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39801
39802 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39803
39804 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39805
39806 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39807 file parsing and set FD_CLOEXEC.
39808
82af0fa8
UD
398092011-11-14 Ulrich Drepper <drepper@gmail.com>
39810
39811 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39812
a5fb313c
AS
398132011-11-14 Andreas Schwab <schwab@redhat.com>
39814
39815 * malloc/arena.c (arena_get2): Don't call reused_arena when
39816 _int_new_arena failed.
39817
6abf3465
UD
398182011-11-14 Ulrich Drepper <drepper@gmail.com>
39819
39820 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39821 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39822 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39824 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39826 to compile strcasecmp and strncasecmp.
39827 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39828 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39829
39830 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39831
76e3966e
UD
398322011-11-13 Ulrich Drepper <drepper@gmail.com>
39833
39834 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39835 locale-defines.sym to gen-as-const-headers.
39836 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39837 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39839 to compile strcasecmp and strncasecmp.
39840 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39841 strcasecmp_l and strncasecmp_l.
39842 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39843 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39844 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39845 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39846 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39847 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39848 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39849 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39850 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39851 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39852 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39853
ab26144e
UD
398542011-11-12 Ulrich Drepper <drepper@gmail.com>
39855
7edb22ef
UD
39856 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39857 result of SYSDEP_GETTIME_CPU to retval.
39858 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39859 parameter list to macro. Remove trailing semicolon. Adjust users.
39860
9694fc44
UD
39861 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39862 variable.
39863
8ad89ef8
UD
39864 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39865 mantissa words.
39866 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39867
0c822ef9
UD
39868 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39869 from unused variable.
39870
874e0564
UD
39871 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39872 DWARF definitions.
39873 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39874 for assembling.
39875
3a2edc79
UD
39876 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39877 over namespaces.
39878
f3c2577f
UD
39879 * sunrpc/rpc_prot.c (rejected): Fix case value.
39880
294ce126
UD
39881 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39882 unsigned long long int to avoid warnings in shift.
39883
5e2b63c6
UD
39884 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39885 of use of trans.
39886 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39887 variable tmp.
39888
e7f4b08e
UD
39889 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39890 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39891 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39892
ab26144e
UD
39893 * nis/nis_table.c (nis_list): Use variable of correct type for
39894 result of __follow_path call.
39895
8a6d5255
AZ
398962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39897
39898 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39899 of math functions ceil, trunc, floor, round, and sqrt, when
39900 avaliable on the platform.
39901 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39902 name clash.
39903 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39904 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39905 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39906
aaddc98c
MP
399072011-10-30 Marek Polacek <mpolacek@redhat.com>
39908
39909 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39911
95b7042b
RM
399122011-11-11 Roland McGrath <roland@hack.frob.com>
39913
39914 * include/unistd.h: Fix __readlink return type.
39915 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39916
57769839
UD
399172011-11-11 Ulrich Drepper <drepper@gmail.com>
39918
39919 * stdlib/ucontext.h: Undo last change for makecontext.
39920
edc5984d
AS
399212011-11-11 Andreas Schwab <schwab@redhat.com>
39922
98591e58
AS
39923 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39924
edc5984d
AS
39925 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39926 * setjmp/setjmp.h: Mark functions as non-leaf.
39927 * setjmp/bits/setjmp2.h: Likewise.
39928 * stdlib/ucontext.h: Likewise.
39929
77cdc054
AS
399302011-11-10 Andreas Schwab <schwab@redhat.com>
39931
39932 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39933 (reused_arena): Don't check arena limit.
39934 (arena_get2): Atomically check arena limit.
39935
fe72eebd
UD
399362011-11-08 Ulrich Drepper <drepper@gmail.com>
39937
5f078c32
UD
39938 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39939 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39940
fe72eebd
UD
39941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39942 instructions.
39943
ae1bc2fa
AS
399442011-11-07 Andreas Schwab <schwab@redhat.com>
39945
7583a88d
AS
39946 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39947 handler when locking.
39948
ae1bc2fa
AS
39949 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39950 Fix size of allocated buffer.
39951
10fb0bfa
AS
399522011-11-04 Andreas Schwab <schwab@redhat.com>
39953
998832a4
AS
39954 [BZ #10103]
39955 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39956 declarations for long double functions.
39957 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39958
10fb0bfa
AS
39959 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39960
3d7ba52b
AS
399612011-11-03 Andreas Schwab <schwab@redhat.com>
39962
a9ae54a1
AS
39963 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39964 installed.
39965
3d7ba52b
AS
39966 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39967 is disabled.
39968
bc8db248
ST
399692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39970
39971 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39972
45b96dd6
AS
399732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39974
647776f6
AS
39975 * include/alloca.h (stackinfo_alloca_round): Define.
39976 (extend_alloca): Use it.
39977 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39978 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39979 here.
39980
d91a8b93
AS
39981 * scripts/check-local-headers.sh: Ignore libaudit.h.
39982
45b96dd6
AS
39983 * nscd/Makefile (extra-objs): Make recursively expanded.
39984
432d41ce
UD
399852011-11-01 Ulrich Drepper <drepper@gmail.com>
39986
34372fc6
UD
39987 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39988 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39989
fadb59f8
UD
39990 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39991 * posix/tst-rfc3484-2.c: Likewise.
39992 * posix/tst-rfc3484-3.c: Likewise.
39993
78239589
UD
39994 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39995 process_vm_writev.
39996 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39997 process_vm_writev.
39998 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39999 process_vm_writev from libc using GLIBC_2.15 version.
40000
432d41ce
UD
40001 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40002
02f9c6cf
PP
400032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40004
40005 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40006 stack usage.
40007
3a2c0242
UD
400082011-10-31 Ulrich Drepper <drepper@gmail.com>
40009
f4ec4833
UD
40010 [BZ #13367]
40011 * nss/getent.c (initgroups_keys): Show error message in case no group
40012 names are given.
40013
3a2c0242
UD
40014 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40015 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40016 __bump_nl_timestamp.
40017 * nscd/connections (nscd_init): When host database is served open
40018 netlink socket and request notification about configuration changes.
40019 (main_loop_poll): Track netlink file descriptor and bump timestamp
40020 in case data becomes available.
40021 (main_loop_epoll): Likewise.
40022 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40023 (database_pers_head): Add extra_data fileds.
40024 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40025 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40026 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40027 Adjust caller.
40028 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40029 in6ai data, call __free_in6ai.
40030 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40031 Add -DHAVE_NETLINK.
40032 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40033 interface information. Reuse previous data if netlink timestamp
40034 is not changed.
40035 (__bump_nl_timestamp): New function.
40036 (__free_in6ai): New function.
40037
636064eb
UD
400382011-10-30 Ulrich Drepper <drepper@gmail.com>
40039
40040 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40041 close_not_cancel_no_status here.
40042 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40043
9beb2334
UD
400442011-10-29 Ulrich Drepper <drepper@gmail.com>
40045
6ef76f3b
UD
40046 [BZ #13276]
40047 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40048 return value.
40049
0ffc4f3e 40050 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40051 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40052 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40053
cb95113e
UD
400542011-07-03 Andreas Jaeger <aj@suse.de>
40055
40056 [BZ #10709]
40057 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40058 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40059 * math/libm-test.inc (sin_test): Add test case.
40060
a1b560ff
UD
400612011-10-29 Ulrich Drepper <drepper@gmail.com>
40062
c9aaface
UD
40063 [BZ #13337]
40064 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40065 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40066
d272e7f1
UD
40067 * elf/chroot_canon.c (chroot_canon): Cleanups.
40068
1bc33071
UD
40069 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40070
1760874d
TJ
40071 [BZ #13335]
40072 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40073 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40074
51d91b18
UD
40075 * string/test-strchr.c: Make usable for strchrnul testing.
40076 * string/test-strchrnul.c: New file.
40077 * string/Makefile (strop-tests): Add strchrnul.
40078
a1b560ff 40079 * po/it.po: Update from translation team.
b611fb81 40080 * po/es.po: Likewise.
a1b560ff 40081
a5b81e1f
UD
400822011-10-28 Ulrich Drepper <drepper@gmail.com>
40083
fd52bc6d
UD
40084 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40085 the three constants needed as parameters. Drop the others.
40086 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40087 __m128i_strloadu_tolower.
52e4b9eb
UD
40088 Create and initialize variable zero and use it in all the places
40089 where _mm_setzero_si128 was used.
fd52bc6d 40090
a5b81e1f
UD
40091 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40092 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40093 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40094 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40095 anymore.
40096 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40097 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40098 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40099 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40100 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40101 __mpranred, __mptan.
40102 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40103 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40104 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40105 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40106 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40107 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40109 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40110 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40111
b4343346
AS
401122011-10-28 Andreas Schwab <schwab@redhat.com>
40113
0c92d8a8
AS
40114 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40115 redefine if SHARED.
40116 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40117
b4343346
AS
40118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40119 wide char related routines to wcsmbs subdir.
40120
3871f58f
AS
401212011-10-27 Andreas Schwab <schwab@redhat.com>
40122
40123 [BZ #13344]
40124 * misc/sys/cdefs.h (__THROWNL): Define.
40125 * posix/unistd.h: Use __THREADNL instead of __THREAD
40126 for memory synchronization functions.
40127
94d44d9f
RM
401282011-10-26 Roland McGrath <roland@hack.frob.com>
40129
21b64b15 40130 [BZ #13349]
94d44d9f
RM
40131 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40132 doesn't exist.
40133 * manual/stdio.texi (Obstack Streams): Node removed.
40134
f6ce9294
AS
401352011-10-26 Andreas Schwab <schwab@redhat.com>
40136
80479147
AS
40137 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40140
f6ce9294
AS
40141 * math/math_private.h (math_force_eval): Allow non-addressable
40142 arguments.
40143 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40144
618280a1
UD
401452011-10-25 Ulrich Drepper <drepper@gmail.com>
40146
e0016b11
UD
40147 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40148 file is not needed.
40149
40150 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40151 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40152 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40153 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40154 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40155 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40156 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40157 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40158 Add AVX variants.
40159 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40160 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40161 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40162 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40163 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40164 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40165 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40166 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40167 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40168 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40169 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40170 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40172 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40173 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40174 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40175 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40176 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40177 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40178
40179 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40180 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40181
618280a1
UD
40182 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40183 place. Use VEX encoding when compiling for AVX.
40184
37822576
AS
401852011-10-25 Andreas Schwab <schwab@redhat.com>
40186
1f1e1947
AS
40187 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40188 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40189
37822576
AS
40190 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40191
31ea014d
UD
401922011-10-25 Ulrich Drepper <drepper@gmail.com>
40193
d7826aa1 40194 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40195 useless if() expression.
d7826aa1
UD
40196 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40197 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40198 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40199 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40200 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40201 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40202 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40203 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40204 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40205 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40206 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40207 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40208 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40209 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40210 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40211 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40212 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40213 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40214 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40215
31ea014d
UD
40216 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40217
16437fec
AS
402182011-10-25 Andreas Schwab <schwab@redhat.com>
40219
40220 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40221 condition.
40222 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40223
31d3cc00
UD
402242011-10-25 Ulrich Drepper <drepper@gmail.com>
40225
40226 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40227 .text section. Avoid duplicate constants.
40228 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40229 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40230 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40235 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40236 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40237 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40238 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40239 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40240 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40241 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40242 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40243 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40244 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40245 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40246 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40248 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40249 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40250 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40251 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40252 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40253 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40254 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40255 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40257 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40258 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40259 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40260 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40261 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40262 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40263 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40264 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40265 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40266 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40267 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40268 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40269 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40270 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40271 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40272 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40273
58985aa9
UD
402742011-10-24 Ulrich Drepper <drepper@gmail.com>
40275
202c9deb
UD
40276 * sysdeps/x86_64/dla.h: Move to ...
40277 * sysdeps/x86_64/fpu/dla.h: ...here.
40278 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40279 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40280
af968f62
UD
40281 * config.make.in: Add have-mfma4 entry.
40282 * configure.in: Substitute libc_cv_cc_fma4.
40283 * math/Makefile (dbl-only-routines): Add sincostab.
40284 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40285 Use __sincostab not sincos.
40286 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40287 name is a macro.
40288 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40290 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40292 using __copysign.
40293 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40294 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40295 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40296 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40297 and __inv.
40298 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40299 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40300 __copysign.
40301 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40302 define aliases when function name is a macro.
40303 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40304 sysdeps/ieee754/dbl-64/sincos.tbl.
40305 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40306 fma4-enabled routines.
40307 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40308 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40309 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40310 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40311 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40312 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40313 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40314 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40315 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40316 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40317 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40318 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40319 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40320 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40321 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40322 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40323 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40324 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40325 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40326 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40327 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40328 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40329 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40330 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40331 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40332 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40333 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40334 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40335 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40336 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40337
58985aa9
UD
40338 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40339 rename.
40340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40348
a201fbcf
AS
403492011-10-24 Andreas Schwab <schwab@redhat.com>
40350
40351 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40352
fc2ee42a
LD
403532011-10-23 Ulrich Drepper <drepper@gmail.com>
40354
bb3129bd
UD
40355 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40356
0275fff8
UD
40357 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40358 prediction.
40359 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40360
2fa2ae85
UD
40361 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40362 Remove unused variable magic_bits.
40363 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40364
fc2ee42a
LD
40365 * string/strnlen.c: Define and use STRNLEN macro.
40366 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40367 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40369 * wcsmbs/wcslen.c: Define and use WCSLEN.
40370 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40371 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40372 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40373 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40374 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40375 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40376 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40377
ce7dd29f
LD
403782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40379
40380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40381 strnlen-sse2-no-bsf.
40382 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40383 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40384 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40385 Add strnlen support.
40386 (USE_AS_STRNLEN): New macro.
40387 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40388 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40389 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40390 * sysdeps/x86_64/wcslen.S: New file.
40391
979c70a3
MZ
403922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40393
40394 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40395 XMM-moves are used for copying on small sizes.
40396
2d09f82f
LD
403972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40398
40399 * wcsmbs/Makefile (strop-tests): Add wcschr.
40400 * wcsmbs/test-wcschr.c: New file.
40401 * string/test-strchr.c: Update.
40402 Add wcschr support.
40403 (WIDE): New macro.
40404
619fccca
LD
404052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40406
2d09f82f 40407 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
40408 * wcsmbs/test-wcslen.c: New file.
40409 * string/test-strlen.c: Update.
40410 Add wcslen support.
40411 (WIDE): New macro.
40412
09f699ea
UD
404132011-10-23 Ulrich Drepper <drepper@gmail.com>
40414
40415 * po/it.po: Update from translation team.
40416
95584d3b
LD
404172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40418
40419 * sysdeps/x86_64/wcscmp.S: Update.
40420 Fix wrong comparison semantics.
40421 wcscmp shall use signed comparison not unsigned.
40422 Don't use substraction to avoid overflow bug.
40423 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40424 * wcsmbc/wcscmp.c: Likewise.
40425 * string/test-strcmp.c: Likewise.
40426 Add new tests to check cases with negative values.
40427
c8b3296b
UD
404282011-10-23 Ulrich Drepper <drepper@gmail.com>
40429
40430 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40431 * sysdeps/x86_64/dla.h: ...here. New file.
40432 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40433 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40439 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40440 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40441
246ad57a
AS
404422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40443
40444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40445 __ynl_finite aliases.
40446
a1a87169
UD
404472011-10-22 Ulrich Drepper <drepper@gmail.com>
40448
0d355eb7
UD
40449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40450
a1a87169
UD
40451 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40452 define DLA_FMA.
40453 [DLA_FMA] (EMULV): Use DLA_FMA.
40454 [DLA_FMA] (MUL12): Use EMULV.
40455 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40456 that are not needed.
40457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40461 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40464
ee2aafe0
AS
404652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40466
40467 * math/s_nan.c: Undef __nan.
40468 * math/s_nanf.c: Undef __nanf.
40469 * math/s_nanl.c: Undef __nanl.
40470 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40471 "math_private.h".
40472
bc62c2fb
UD
404732011-10-22 Ulrich Drepper <drepper@gmail.com>
40474
77425c63
UD
40475 * math/s_catan.c: Add branch predictions.
40476 * math/s_catanf.c: Likewise.
40477 * math/s_catanh.c: Likewise.
40478 * math/s_catanhf.c: Likewise.
40479 * math/s_catanhl.c: Likewise.
40480 * math/s_catanl.c: Likewise.
40481 * math/s_cexp.c: Likewise.
40482 * math/s_cexpf.c: Likewise.
40483 * math/s_cexpl.c: Likewise.
40484 * math/s_clog.c: Likewise.
40485 * math/s_clog10.c: Likewise.
40486 * math/s_clog10f.c: Likewise.
40487 * math/s_clog10l.c: Likewise.
40488 * math/s_clogf.c: Likewise.
40489 * math/s_clogl.c: Likewise.
40490 * math/s_csqrt.c: Likewise.
40491 * math/s_csqrtf.c: Likewise.
40492 * math/s_csqrtl.c: Likewise.
40493 * math/s_ctanf.c: Likewise.
40494 * math/s_ctanh.c: Likewise.
40495 * math/s_ctanhf.c: Likewise.
40496 * math/s_ctanhl.c: Likewise.
40497 * math/s_ctanl.c: Likewise.
40498
bc62c2fb
UD
40499 * math/math_private.h: Define __nan, __nanf, __nanl.
40500 * math/s_cacosh.c: Include <math_private.h>.
40501 * math/s_cacoshl.c: Likewise.
40502 * math/s_casinh.c: Likewise.
40503 * math/s_casinhf.c: Likewise.
40504 * math/s_casinhl.c: Likewise.
40505 * math/s_ccos.c: Rely entire on ccosh.
40506 * math/s_ccosf.c: Rely entire on ccoshf.
40507 * math/s_ccosl.c: Rely entirely on ccoshl.
40508 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40509 Remove tests for FE_INVALID.
40510 * math/s_ccoshf.c: Likewise.
40511 * math/s_ccoshl.c: Likewise.
40512 * math/s_csin.c: Likewise.
40513 * math/s_csinf.c: Likewise.
40514 * math/s_csinh.c Likewise.
40515 * math/s_csinhf.c: Likewise.
40516 * math/s_csinhl.c: Likewise.
40517 * math/s_csinl.c: Likewise.
40518 * math/s_ctan.c: Likewise.
40519 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40520 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40521 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40522
8ec250a4
UD
405232011-10-21 Ulrich Drepper <drepper@gmail.com>
40524
c196fed8
UD
40525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40526 compilation problems.
40527
8ec250a4
UD
40528 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40529 __builtin_expect.
40530
8d4f46c6
UD
405312011-10-20 Ulrich Drepper <drepper@gmail.com>
40532
ed72b654
UD
40533 * sysdeps/i386/configure.in: Test for -mfma4 option.
40534 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40535 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40536 COMMON_CPUID_INDEX_80000001.
40537 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40538 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40539 use it if FMA3 is not supported.
40540 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40541
8d4f46c6
UD
40542 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40543 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40544
d45c60c2
AS
405452011-10-20 Andreas Schwab <schwab@redhat.com>
40546
40547 [BZ #12892]
40548 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40549 it would create a cycle with a link time dependency.
40550
d9a4d2ab
UD
405512011-10-19 Ulrich Drepper <drepper@gmail.com>
40552
855d1560
UD
40553 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40554 instruction.
40555 * string/Makefile (strop-tests): Add rawmemchr.
40556 * string/test-rawmemchr.c: New file.
40557
d9a4d2ab
UD
40558 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40560 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40561 when compiling str{,n}casecmp and when AVX is available. Hook up
40562 new optimized code in initializers.
40563
8f3b1ffe
AS
405642011-10-19 Andreas Schwab <schwab@redhat.com>
40565
40566 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40567 __feraiseexcept instead of feraiseexcept.
40568
d38f1dba
UD
405692011-10-18 Ulrich Drepper <drepper@gmail.com>
40570
d9a8d0ab
UD
40571 * math/math_private.h: Define defaults for libc_fetestexcept and
40572 libc_feupdateenv.
40573 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40574 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40575 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40576 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40577 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40578 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40579 libc_fetestexcept and libc_feupdateenv.
40580
4855e3dd
UD
40581 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40582 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40583 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40584 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40585 libc_feholdexcept_setround.
40586
581d30e3
UD
40587 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40588 Add s_nearbyint-c and s_nearbyintf-c.
40589 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40590 nearbyintf inlines.
40591 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40592 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40593 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40594 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40595
d38f1dba
UD
40596 * math/math_private.h: Define defaults for libc_fegetround,
40597 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40598 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40599 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40600 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40601 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40602 standard functions.
40603 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40604 Remove comments and hacks for old compiler versions.
40605 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40606 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40607 libc_feholdexceptl.
40608
caa6c9d8
AS
406092011-10-18 Andreas Schwab <schwab@redhat.com>
40610
40611 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40612 (__feraiseexcept_renamed): Add __NTH.
40613 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40614 namespace violations.
40615
97c066e6
UD
406162011-10-17 Ulrich Drepper <drepper@gmail.com>
40617
99ce7b04
UD
40618 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40619
1004d182
UD
40620 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40621
228a984d
UD
40622 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40623 recently added interfaces.
40624 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40625
c8553a6a
UD
40626 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40627 about macro parameter expansion.
40628
ed22dcf6
UD
40629 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40630 __NO_MATH_INLINES is defined. Cleanups.
40631
40632 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40633 and __floorf is target has SSE4.1.
40634 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40635 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40636 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40637 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40638
b171c137
UD
40639 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40640 name.
40641 (floorf): Likewise.
40642
97c066e6
UD
40643 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40644
629f62ef
AS
406452011-10-17 Andreas Schwab <schwab@redhat.com>
40646
49a43d80
AS
40647 * misc/sys/cdefs.h: Fix last change.
40648
629f62ef
AS
40649 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40650 database lookup.
40651
e453f6cd
UD
406522011-10-16 Ulrich Drepper <drepper@gmail.com>
40653
aa78043a
UD
40654 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40655
ad0f5cad
UD
40656 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40658 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40659 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40660 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40661 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40662 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40664 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40665 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40666 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40667 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40668 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40669 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40670 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40671 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40672 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40673 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40674 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40675 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40676 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40677 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40678
40679 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40680 ceil, ceilf, floor, floorf.
40681
40682 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40683 Perform IRELATIVE relocations last.
40684
e453f6cd
UD
40685 * elf/do-rel.h: Add another parameter nrelative, replacing the
40686 local variable with the same name. Change name of the function
40687 to end in Rel or Rela (uppercase).
40688 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40689 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40690 elf_dynamic_do_##reloc function.
40691
fd5bdc09
UD
406922011-10-15 Ulrich Drepper <drepper@gmail.com>
40693
79b195b5
UD
40694 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40695 is sufficient, at least on modern CPUs.
40696
d4a28569
UD
40697 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40698
b61099b5
UD
40699 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40700 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40701
bcf01e6d
UD
40702 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40703 __expl_finite.
40704 * math/bits/math-finite.h: Add entries for exp.
40705 * math/e_expl.c: Add __*_finite alias.
40706 * sysdeps/i386/fpu/e_exp.S: Likewise.
40707 * sysdeps/i386/fpu/e_expf.S: Likewise.
40708 * sysdeps/i386/fpu/e_expl.c: Likewise.
40709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40710 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40711 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40713 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40714 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40715 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40716
ba1a0d59
UD
40717 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40718 is sufficient, at least on modern CPUs.
40719
fd5bdc09
UD
40720 * ctype/ctype-info.c (__ctype_init): Define.
40721 * include/ctype.h (__ctype_init): Declare.
40722 (__ctype_b_loc): The variable is always initialized.
40723 (__ctype_toupper_loc): Likewise.
40724 (__ctype_tolower_loc): Likewise.
40725 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40726 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40727
7872cfb0
AS
407282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40729
b468825a
AS
40730 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40731
7872cfb0
AS
40732 * configure.in: Also look in $cxxmachine/include for C++ system
40733 headers.
40734
be13f7bf
LD
407352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40736
40737 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40738 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40739 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40740 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40741 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40742 (USE_AS_WMEMCMP): New macro.
40743 Fixing indents.
40744 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40745 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40746 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40747 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40749 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40750 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40751 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40752 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40753 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40754 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40755 (USE_AS_WMEMCMP): New macro.
40756 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40757 * sysdeps/string/test-memcmp.c: Update.
40758 Fix simple_wmemcmp.
40759 Add new tests.
40760 * wcsmbs/wmemcmp.c: Update.
40761 (WMEMCMP): New macro.
40762 Fix overflow bug.
40763
556a2007
AJ
407642011-10-12 Andreas Jaeger <aj@suse.de>
40765
40766 [BZ #13268]
40767 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40768
538faaa7
UD
407692011-10-15 Ulrich Drepper <drepper@gmail.com>
40770
ab6737ff
UD
40771 * libio/iofwide.c (do_length): Avoid warning.
40772
538faaa7
UD
40773 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40774
396a21b1
UD
407752011-10-14 Ulrich Drepper <drepper@gmail.com>
40776
cdf2901f
UD
40777 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40778
38ad40ce
UD
40779 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40780 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40781 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40782 * sysdeps/i386/i686/fpu/e_log.S: New file.
40783 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40784 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40785
396a21b1
UD
40786 * ctype/ctype.h: Add support for inlined isXXX functions when
40787 compiling C++ code.
40788
6b1f68c9
AS
407892011-10-14 Andreas Schwab <schwab@redhat.com>
40790
349290c0
AS
40791 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40792
6b1f68c9
AS
40793 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40794
f2282d42
RM
407952011-10-13 Roland McGrath <roland@hack.frob.com>
40796
40797 [BZ #13291]
40798 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40799
5298ffa8
AS
408002011-10-13 Andreas Schwab <schwab@redhat.com>
40801
714fad23
AS
40802 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40803 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40804 feraiseexcept.
40805
81dcc7fb
AS
40806 * sysdeps/x86_64/memrchr.S: Check for zero size.
40807
5298ffa8
AS
40808 * string/stratcliff.c: Add memrchr tests.
40809
951fbcec
LD
408102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40811
40812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40813 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40814 rawmemchr-sse2 rawmemchr-sse2-bsf.
40815 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40816 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40817 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40818 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40819 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40820 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40821 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40822 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40823 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40824 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40825 * string/memrchr.c (MEMRCHR): New macro.
40826
0ac5ae23
UD
408272011-10-12 Ulrich Drepper <drepper@gmail.com>
40828
40829 Add integration with gcc's -ffinite-math-only and optimize wrapper
40830 functions in libm.
40831 * Versions.def: Define GLIBC_2.15 version for libm.
40832 * math/Makefile (headers): Add bits/math-finite.h.
40833 * math/bits/math-finite.h: New file.
40834 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40835 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40836 * math/e_acoshl.c: Add __*_finite alias.
40837 * math/e_acosl.c: Likewise.
40838 * math/e_asinl.c: Likewise.
40839 * math/e_atan2l.c: Likewise.
40840 * math/e_atanhl.c: Likewise.
40841 * math/e_coshl.c: Likewise.
40842 * math/e_exp10.c: Likewise.
40843 * math/e_exp10f.c: Likewise.
40844 * math/e_exp10l.c: Likewise.
40845 * math/e_exp2l.c: Likewise.
40846 * math/e_fmodl.c: Likewise.
40847 * math/e_gammal_r.c: Likewise.
40848 * math/e_hypotl.c: Likewise.
40849 * math/e_j0l.c: Likewise.
40850 * math/e_j1l.c: Likewise.
40851 * math/e_jnl.c: Likewise.
40852 * math/e_lgammal_r.c: Likewise.
40853 * math/e_log10l.c: Likewise.
40854 * math/e_log2l.c: Likewise.
40855 * math/e_logl.c: Likewise.
40856 * math/e_powl.c: Likewise.
40857 * math/e_sinhl.c: Likewise.
40858 * math/e_sqrtl.c: Likewise.
40859 * math/e_scalb.c: Completely rewritten and optimized.
40860 * math/e_scalbf.c: Likewise.
40861 * math/e_scalbl.c: Likewise.
40862 * math/w_acos.c: Likewise.
40863 * math/w_acosf.c: Likewise.
40864 * math/w_acosl.c: Likewise.
40865 * math/w_acosh.c: Likewise.
40866 * math/w_acoshf.c: Likewise.
40867 * math/w_acoshl.c: Likewise.
40868 * math/w_asin.c: Likewise.
40869 * math/w_asinf.c: Likewise.
40870 * math/w_asinl.c: Likewise.
40871 * math/w_atan2.c: Likewise.
40872 * math/w_atan2f.c: Likewise.
40873 * math/w_atan2l.c: Likewise.
40874 * math/w_atanh.c: Likewise.
40875 * math/w_atanhf.c: Likewise.
40876 * math/w_atanhl.c: Likewise.
40877 * math/w_exp10.c: Likewise.
40878 * math/w_exp10f.c: Likewise.
40879 * math/w_exp10l.c: Likewise.
40880 * math/w_fmod.c: Likewise.
40881 * math/w_fmodf.c: Likewise.
40882 * math/w_fmodl.c: Likewise.
40883 * math/w_j0.c: Likewise.
40884 * math/w_j0f.c: Likewise.
40885 * math/w_j0l.c: Likewise.
40886 * math/w_j1.c: Likewise.
40887 * math/w_j1f.c: Likewise.
40888 * math/w_j1l.c: Likewise.
40889 * math/w_jn.c: Likewise.
40890 * math/w_jnf.c: Likewise.
40891 * math/w_log.c: Likewise.
40892 * math/w_logf.c: Likewise.
40893 * math/w_logl.c: Likewise.
40894 * math/w_log10.c: Likewise.
40895 * math/w_log10f.c: Likewise.
40896 * math/w_log10l.c: Likewise.
40897 * math/w_log2.c: Likewise.
40898 * math/w_log2f.c: Likewise.
40899 * math/w_log2l.c: Likewise.
40900 * math/w_pow.c: Likewise.
40901 * math/w_powf.c: Likewise.
40902 * math/w_powl.c: Likewise.
40903 * math/w_remainder.c: Likewise.
40904 * math/w_remainderf.c: Likewise.
40905 * math/w_remainderl.c: Likewise.
40906 * math/w_scalb.c: Likewise.
40907 * math/w_scalbf.c: Likewise.
40908 * math/w_scalbl.c: Likewise.
40909 * math/w_sqrt.c: Likewise.
40910 * math/w_sqrtf.c: Likewise.
40911 * math/w_sqrtl.c: Likewise.
40912 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40913 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40914 used.
40915 * math/math_private.h: Declare __kernel_standard_f.
40916 * math/w_cosh.c: Remove cruft and optimize a bit.
40917 * math/w_coshf.c: Likewise.
40918 * math/w_coshl.c: Likewise.
40919 * math/w_exp2.c: Likewise.
40920 * math/w_exp2f.c: Likewise.
40921 * math/w_exp2l.c: Likewise.
40922 * math/w_hypot.c: Likewise.
40923 * math/w_hypotf.c: Likewise.
40924 * math/w_hypotl.c: Likewise.
40925 * math/w_lgamma.c: Likewise.
40926 * math/w_lgamma_r.c: Likewise.
40927 * math/w_lgammaf.c: Likewise.
40928 * math/w_lgammaf_r.c: Likewise.
40929 * math/w_lgammal.c: Likewise.
40930 * math/w_lgammal_r.c: Likewise.
40931 * math/w_sinh.c: Likewise.
40932 * math/w_sinhf.c: Likewise.
40933 * math/w_sinhl.c: Likewise.
40934 * math/w_tgamma.c: Likewise.
40935 * math/w_tgammaf.c: Likewise.
40936 * math/w_tgammal.c: Likewise.
40937 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40938 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40939 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40940 Minor optimizations. Pretty printing. Remove cruft.
40941 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40942 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40943 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40944 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40945 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40946 * sysdeps/i386/fpu/e_asin.S: Likewise.
40947 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40948 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40949 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40950 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40951 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40952 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40953 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40954 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40955 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40956 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40957 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40958 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40959 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40960 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40961 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40962 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40963 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40964 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40965 * sysdeps/i386/fpu/e_log.S: Likewise.
40966 * sysdeps/i386/fpu/e_log10.S: Likewise.
40967 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40968 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40969 * sysdeps/i386/fpu/e_log2.S: Likewise.
40970 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40971 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40972 * sysdeps/i386/fpu/e_logf.S: Likewise.
40973 * sysdeps/i386/fpu/e_logl.S: Likewise.
40974 * sysdeps/i386/fpu/e_pow.S: Likewise.
40975 * sysdeps/i386/fpu/e_powf.S: Likewise.
40976 * sysdeps/i386/fpu/e_powl.S: Likewise.
40977 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40978 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40979 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40980 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40981 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40982 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40983 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40984 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40985 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40986 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40987 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40989 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40990 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40991 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40992 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40993 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40994 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40995 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40996 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40997 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40999 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41000 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41002 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41003 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41004 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41006 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41007 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41008 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41009 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41010 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41011 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41012 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41013 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41014 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41015 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41016 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41017 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41018 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41019 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41020 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41021 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41022 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41023 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41024 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41025 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41026 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41027 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41028 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41030 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41031 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41032 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41034 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41036 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41038 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41039 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41040 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41041 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41042 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41043 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41050 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41051 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41054 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41055 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41057 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41058 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41060 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41064 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41065 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41066 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41069 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41070 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41071 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41072 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41074 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41076 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41077 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41078 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41079 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41080 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41081 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41082 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41083 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41084 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41085 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41086 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41087 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41088 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41089 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41090 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41091 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41092 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41093 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41094 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41095 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41096 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41097 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41098 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41099 (__isnanf): Likewise.
41100 (__isinf_ns): Likewise.
41101 (__isinf_nsf): Likewise.
41102 (__finite): Likewise.
41103 (__finitef): Likewise.
41104 (__ieee754_sqrt): Define as macro.
41105 (__ieee754_sqrtf): Define as macro.
41106 (__ieee754_sqrtl): Define as macro.
41107 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41108 inlined copy.
41109 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41110 __FINITE_MATH_ONLY__ consistent.
41111 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41112
12cc2fcd
AS
411132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41114
a843a204
AS
41115 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41116 of rawmemchr.
41117
12cc2fcd
AS
41118 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41119
c853acd5
UD
411202011-10-09 Ulrich Drepper <drepper@gmail.com>
41121
41122 * po/ja.po: Update from translation team.
41123
c658d255
RM
411242011-10-08 Roland McGrath <roland@hack.frob.com>
41125
110946e4
RM
41126 * locale/programs/locarchive.c (prepare_address_space): New function.
41127 (create_archive, enlarge_archive, open_archive): Use it.
41128
50604220
RM
41129 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41130 inside [SHARED], where it is used.
41131
c658d255
RM
41132 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41133
41134 * nss/getent.c (netgroup_keys): Remove unused variable.
41135 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41136
6a621eb7
UD
411372011-10-08 Ulrich Drepper <drepper@gmail.com>
41138
7edb55ce
UD
41139 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41140 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41142 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41143 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41144 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41145 * math/Makefile (libm-calls): Add s_isinf_ns.
41146 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41147 * math/multc3.c: Likewise.
41148 * math/s_casin.c: Likewise.
41149 * math/s_casinf.c: Likewise.
41150 * math/s_casinl.c: Likewise.
41151 * math/s_ccos.c: Likewise.
41152 * math/s_ccosf.c: Likewise.
41153 * math/s_ccosl.c: Likewise.
41154 * math/s_ctan.c: Likewise.
41155 * math/s_ctanf.c: Likewise.
41156 * math/s_ctanh.c: Likewise.
41157 * math/s_ctanhf.c: Likewise.
41158 * math/s_ctanhl.c: Likewise.
41159 * math/s_ctanl.c: Likewise.
41160 * math/w_fmod.c: Likewise.
41161 * math/w_fmodf.c: Likewise.
41162 * math/w_fmodl.c: Likewise.
41163 * math/w_remainder.c: Likewise.
41164 * math/w_remainderf.c: Likewise.
41165 * math/w_remainderl.c: Likewise.
41166 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41167 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41168 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41170 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41171 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41172 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41173 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41174
187da0ae
UD
41175 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41176 of the number.
41177 * stdio-common/printf_fphex.c: Likewise.
41178 * stdio-common/printf_size.c: Likewise.
41179
9277c064
UD
41180 * math/e_exp10.c: Include math_private.h using <...> not "...".
41181 * math/e_exp10f.c: Likewise.
41182 * math/e_exp10l.c: Likewise.
41183 * math/e_exp2l.c: Likewise.
41184 * math/e_j0l.c: Likewise.
41185 * math/e_j1l.c: Likewise.
41186 * math/e_jnl.c: Likewise.
41187 * math/e_lgammal_r.c: Likewise.
41188 * math/e_rem_pio2l.c: Likewise.
41189 * math/e_scalb.c: Likewise.
41190 * math/e_scalbf.c: Likewise.
41191 * math/e_scalbl.c: Likewise.
41192 * math/k_cosl.c: Likewise.
41193 * math/k_sinl.c: Likewise.
41194 * math/k_tanl.c: Likewise.
41195 * math/s_cacoshf.c: Likewise.
41196 * math/s_catan.c: Likewise.
41197 * math/s_catanf.c: Likewise.
41198 * math/s_catanh.c: Likewise.
41199 * math/s_catanhf.c: Likewise.
41200 * math/s_catanhl.c: Likewise.
41201 * math/s_catanl.c: Likewise.
41202 * math/s_ccosh.c: Likewise.
41203 * math/s_ccoshf.c: Likewise.
41204 * math/s_ccoshl.c: Likewise.
41205 * math/s_cexp.c: Likewise.
41206 * math/s_cexpf.c: Likewise.
41207 * math/s_cexpl.c: Likewise.
41208 * math/s_clog.c: Likewise.
41209 * math/s_clog10.c: Likewise.
41210 * math/s_clog10f.c: Likewise.
41211 * math/s_clog10l.c: Likewise.
41212 * math/s_clogf.c: Likewise.
41213 * math/s_clogl.c: Likewise.
41214 * math/s_csin.c: Likewise.
41215 * math/s_csinf.c: Likewise.
41216 * math/s_csinh.c: Likewise.
41217 * math/s_csinhf.c: Likewise.
41218 * math/s_csinhl.c: Likewise.
41219 * math/s_csinl.c: Likewise.
41220 * math/s_csqrt.c: Likewise.
41221 * math/s_csqrtf.c: Likewise.
41222 * math/s_csqrtl.c: Likewise.
41223 * math/s_ctan.c: Likewise.
41224 * math/s_ctanf.c: Likewise.
41225 * math/s_ctanh.c: Likewise.
41226 * math/s_ctanhf.c: Likewise.
41227 * math/s_ctanhl.c: Likewise.
41228 * math/s_ctanl.c: Likewise.
41229 * math/s_ldexp.c: Likewise.
41230 * math/s_ldexpf.c: Likewise.
41231 * math/s_ldexpl.c: Likewise.
41232 * math/s_significand.c: Likewise.
41233 * math/s_significandf.c: Likewise.
41234 * math/s_significandl.c: Likewise.
41235 * math/w_acos.c: Likewise.
41236 * math/w_acosf.c: Likewise.
41237 * math/w_acosh.c: Likewise.
41238 * math/w_acoshf.c: Likewise.
41239 * math/w_acoshl.c: Likewise.
41240 * math/w_acosl.c: Likewise.
41241 * math/w_asin.c: Likewise.
41242 * math/w_asinf.c: Likewise.
41243 * math/w_asinl.c: Likewise.
41244 * math/w_atan2.c: Likewise.
41245 * math/w_atan2f.c: Likewise.
41246 * math/w_atan2l.c: Likewise.
41247 * math/w_atanh.c: Likewise.
41248 * math/w_atanhf.c: Likewise.
41249 * math/w_atanhl.c: Likewise.
41250 * math/w_cosh.c: Likewise.
41251 * math/w_coshf.c: Likewise.
41252 * math/w_coshl.c: Likewise.
41253 * math/w_dremf.c: Likewise.
41254 * math/w_exp10.c: Likewise.
41255 * math/w_exp10f.c: Likewise.
41256 * math/w_exp10l.c: Likewise.
41257 * math/w_exp2.c: Likewise.
41258 * math/w_exp2f.c: Likewise.
41259 * math/w_fmod.c: Likewise.
41260 * math/w_fmodf.c: Likewise.
41261 * math/w_fmodl.c: Likewise.
41262 * math/w_hypot.c: Likewise.
41263 * math/w_hypotf.c: Likewise.
41264 * math/w_hypotl.c: Likewise.
41265 * math/w_j0.c: Likewise.
41266 * math/w_j0f.c: Likewise.
41267 * math/w_j0l.c: Likewise.
41268 * math/w_j1.c: Likewise.
41269 * math/w_j1f.c: Likewise.
41270 * math/w_j1l.c: Likewise.
41271 * math/w_jn.c: Likewise.
41272 * math/w_jnf.c: Likewise.
41273 * math/w_jnl.c: Likewise.
41274 * math/w_lgamma.c: Likewise.
41275 * math/w_lgamma_r.c: Likewise.
41276 * math/w_lgammaf.c: Likewise.
41277 * math/w_lgammaf_r.c: Likewise.
41278 * math/w_lgammal.c: Likewise.
41279 * math/w_lgammal_r.c: Likewise.
41280 * math/w_log.c: Likewise.
41281 * math/w_log10.c: Likewise.
41282 * math/w_log10f.c: Likewise.
41283 * math/w_log10l.c: Likewise.
41284 * math/w_log2.c: Likewise.
41285 * math/w_log2f.c: Likewise.
41286 * math/w_log2l.c: Likewise.
41287 * math/w_logf.c: Likewise.
41288 * math/w_logl.c: Likewise.
41289 * math/w_pow.c: Likewise.
41290 * math/w_powf.c: Likewise.
41291 * math/w_powl.c: Likewise.
41292 * math/w_remainder.c: Likewise.
41293 * math/w_remainderf.c: Likewise.
41294 * math/w_remainderl.c: Likewise.
41295 * math/w_scalb.c: Likewise.
41296 * math/w_scalbf.c: Likewise.
41297 * math/w_scalbl.c: Likewise.
41298 * math/w_sinh.c: Likewise.
41299 * math/w_sinhf.c: Likewise.
41300 * math/w_sinhl.c: Likewise.
41301 * math/w_sqrt.c: Likewise.
41302 * math/w_sqrtf.c: Likewise.
41303 * math/w_sqrtl.c: Likewise.
41304 * math/w_tgamma.c: Likewise.
41305 * math/w_tgammaf.c: Likewise.
41306 * math/w_tgammal.c: Likewise.
41307
6a621eb7
UD
41308 * po/ja.po: Update from translation team.
41309
bf582445
AJ
413102011-09-29 Andreas Jaeger <aj@suse.de>
41311
f9efbf3a
AJ
41312 [BZ #13179]
41313 * sunrpc/netname.c (netname2host): Fix logic.
41314
bf582445
AJ
41315 [BZ #6779]
41316 [BZ #6783]
41317 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41318 correctly.
41319 * math/w_remainder.c (__remainder): Likewise.
41320 * math/w_remainderf.c (__remainderf): Likewise.
41321 * math/libm-test.inc (remainder_test): Add test cases.
41322
48693bea
AK
413232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41324
41325 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41326 sdiv_qrnnd.
41327
42622229
LD
413282011-10-07 Ulrich Drepper <drepper@gmail.com>
41329
41330 * string/test-memcmp.c: Avoid unncessary #defines.
41331 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41332
093ecf92
LD
413332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41334
41335 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41336 Use new sse2 version for core i3 - i7 as it's faster
41337 than sse42 version.
41338 (bit_Prefer_PMINUB_for_stringop): New.
41339 * sysdeps/x86_64/rawmemchr.S: Update.
41340 Replace with faster SSE2 version.
41341 * sysdeps/x86_64/memrchr.S: New file.
41342 * sysdeps/x86_64/memchr.S: Update.
41343 Replace with faster SSE2 version.
41344
fde56e5c
MP
413452011-09-12 Marek Polacek <mpolacek@redhat.com>
41346
41347 * elf/dl-load.c (lose): Add cast to avoid warning.
41348
21fd49a9
UD
413492011-10-07 Ulrich Drepper <drepper@gmail.com>
41350
5a06e643
UD
41351 * po/ca.po: Update from translation team.
41352
684ae515
UD
41353 * inet/getnetgrent_r.c: Hook up nscd.
41354 * nscd/Makefile (routines): Add nscd_netgroup.
41355 (nscd-modules): Add netgroupcache.
41356 (CFLAGS-netgroupcache.c): Define.
41357 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41358 (cache_search): Add const to second parameter.
41359 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41360 INNETGR.
41361 (dbs): Add netgrdb entry.
41362 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41363 (verify_persistent_db): Handle netgrdb.
41364 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41365 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41366 GETFDNETGR.
41367 (netgroup_response_header): Define.
41368 (innetgroup_response_header): Define.
41369 (datahead): Add netgroup_response_header and innetgroup_response_header
41370 elements.
41371 * nscd/nscd.conf: Add entries for netgroup cache.
41372 * nscd/nscd.h (dbtype): Add netgrdb.
41373 (_PATH_NSCD_NETGROUP_DB): Define.
41374 (netgroup_iov_disabled): Declare.
41375 (xmalloc, xcalloc, xrealloc): Move declarations here.
41376 (cache_search): Adjust prototype.
41377 Add netgroup-related prototypes.
41378 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41379 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41380 (__nscd_innetgr): Declare.
41381 * nscd/selinux.c (perms): Use access_vector_t as element type and
41382 add netgroup-related initializers.
41383 * nscd/netgroupcache.c: New file.
41384 * nscd/nscd_netgroup.c: New file.
41385 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41386 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41387 For four parameters use innetgr.
41388 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41389 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41390 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41391 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41392
21fd49a9
UD
41393 * nscd/connections.c (register_traced_file): Don't register file
41394 for disabled databases.
41395
054c0457
UD
413962011-10-06 Ulrich Drepper <drepper@gmail.com>
41397
32b63198
UD
41398 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41399
054c0457
UD
41400 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41401 from tree and freeing node.
41402
64031225
JO
414032011-09-25 Jiri Olsa <jolsa@redhat.com>
41404
41405 * nss/nsswitch.c (__nss_database_lookup): Handle
41406 nss_parse_service_list out of memory case.
41407
0490345c
JO
414082011-09-15 Jiri Olsa <jolsa@redhat.com>
41409
41410 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41411 out of memory case.
41412
3a62d00d
AS
414132011-10-04 Andreas Schwab <schwab@redhat.com>
41414
41415 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41416 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41417 pass it down.
41418 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41419 elf_machine_rela, elf_machine_lazy_rel.
41420 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41421 (ELF_DYNAMIC_DO_REL): Likewise.
41422 (ELF_DYNAMIC_DO_RELA): Likewise.
41423 (ELF_DYNAMIC_RELOCATE): Likewise.
41424 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41425 to ELF_DYNAMIC_DO_REL.
41426 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41427 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41428 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41429 elf_machine_rela.
41430 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41431 skip_ifunc, don't call ifunc function if non-zero.
41432 (elf_machine_rela): Likewise.
41433 (elf_machine_lazy_rel): Likewise.
41434 (elf_machine_lazy_rela): Likewise.
41435 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41436 (elf_machine_lazy_rel): Likewise.
41437 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41438 Likewise.
41439 (elf_machine_lazy_rel): Likewise.
41440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41441 Likewise.
41442 (elf_machine_lazy_rel): Likewise.
41443 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41444 (elf_machine_lazy_rel): Likewise.
41445 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41446 (elf_machine_lazy_rel): Likewise.
41447 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41448 (elf_machine_lazy_rel): Likewise.
41449 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41450 (elf_machine_lazy_rel): Likewise.
41451 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41452 (elf_machine_lazy_rel): Likewise.
41453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41454 (elf_machine_lazy_rel): Likewise.
41455
68577918
UD
414562011-09-28 Ulrich Drepper <drepper@gmail.com>
41457
41458 * nss/nss_files/files-init.c (_nss_files_init): Use static
41459 initialization for all the *_traced_file variables.
41460
68822d74
AS
414612011-09-28 Andreas Schwab <schwab@redhat.com>
41462
41463 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41464
2056100b
RM
414652011-09-27 Roland McGrath <roland@hack.frob.com>
41466
41467 [BZ #13226]
41468 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41469
32c76b63
AS
414702011-09-27 Andreas Schwab <schwab@redhat.com>
41471
41472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41473 Reread the line before reparsing it.
41474
bf972c9d
AS
414752011-09-26 Andreas Schwab <schwab@redhat.com>
41476
41477 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41478
e057a1b5
JM
414792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41480 Maxim Kuvyrkov <maxim@codesourcery.com>
41481 Joseph Myers <joseph@codesourcery.com>
41482
41483 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41484 if needed for __stack_chk_guard.
41485
bc7e1c36
RM
414862011-09-19 Roland McGrath <roland@hack.frob.com>
41487
ecb1482f
RM
41488 * sysdeps/posix/spawni.c (script_execute): Always define it.
41489 It will be optimized away if unused.
41490 (maybe_script_execute): New function.
41491 (__spawni): Call it.
41492
bc7e1c36
RM
41493 * Makerules: Don't include tls.make.
41494 (config-tls): Always set to thread.
41495 * tls.make.c: File removed.
41496
1c3b002b
MF
414972011-09-19 Mike Frysinger <vapier@gentoo.org>
41498
41499 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41500 * config.make.in (CPPFLAGS-config): New substituted variable.
41501
2840865d
UD
415022011-09-15 Ulrich Drepper <drepper@gmail.com>
41503
88738eb6
UD
41504 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41505
cbf645a6 41506 [BZ #13192]
2840865d
UD
41507 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41508 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41509
b402e91a
RM
415102011-09-15 Roland McGrath <roland@hack.frob.com>
41511
41512 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41513 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41514 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41515 (CALL_FAIL): Likewise.
41516 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41517 (CALL_FAIL): Macro removed.
41518 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41519
4c1a1f71
UD
415202011-09-15 Ulrich Drepper <drepper@gmail.com>
41521
41522 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41523 for __FINITE_MATH_ONLY__ == 1.
41524
edc121be
AS
415252011-09-15 Andreas Schwab <schwab@redhat.com>
41526
41527 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41528 __ieee754_sqrt instead of sqrt.
41529 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41530 __ieee754_sqrtf instead of sqrtf.
41531 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41532 __floorf instead of floorf.
41533 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41534 __floorf, __truncf instead of floorf, truncf.
41535
cd205654
UD
415362011-09-14 Ulrich Drepper <drepper@gmail.com>
41537
ee4d0315
UD
41538 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41539
cd205654
UD
41540 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41541 __extern_always_inline.
41542 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41543 32-bit.
41544
48b67d71
AS
415452011-09-14 Andreas Schwab <schwab@redhat.com>
41546
41547 * elf/rtld.c (dl_main): Also relocate in dependency order when
41548 doing symbol dependency testing.
41549
1ae12c75
AS
415502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41551
41552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41553 Always define `refsym'.
41554
995a80df
AS
415552011-09-13 Andreas Schwab <schwab@redhat.com>
41556
e529793b
AS
41557 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41558 (__FD_ELT): Renamed from __FDELT.
41559 * misc/bits/select2.h (__FD_ELT): Likewise.
41560 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41561 __FD_MASK instead of __FDELT, __FDMASK.
41562 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41563 Likewise.
41564 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41565 Likewise.
41566
52d4fef8
AS
41567 * elf/Makefile (gen-ldd): Fix pattern.
41568
995a80df
AS
41569 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41570 (init_tls): Likewise.
41571
8682f8b0
UD
415722011-09-12 Ulrich Drepper <drepper@gmail.com>
41573
41574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41575
de82006d
AS
415762011-09-12 Andreas Schwab <schwab@redhat.com>
41577
a7c8e6a1
AS
41578 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41579 `struct cmsghdr *' instead of `void *'.
41580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41581 Likewise.
41582
0f31fe77
AS
415832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41584
41585 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41586 if non-absolute.
41587 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41588 ldd_rewrite_script.
0f31fe77 41589
32b4c839
UD
415902011-09-11 Ulrich Drepper <drepper@gmail.com>
41591
83cd1420
UD
41592 * configure.in: Remove --with-tls option.
41593 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41594 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41595 out in case it is missing.
41596 * sysdeps/ia64/elf/configure.in: Likewise.
41597 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41598 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41599 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41600 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41601 * sysdeps/sh/elf/configure.in: Likewise.
41602 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41603 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41604 * sysdeps/x86_64/elf/configure.in: Likewise.
41605 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41606 * sysdeps/mach/hurd/tls.h: Likewise.
41607
633f745d
UD
41608 [BZ #13067]
41609 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41610
f318beb8
UD
41611 [BZ #13090]
41612 * configure.in: Fix use of AC_INIT.
41613
32b4c839
UD
41614 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41615
3ce1f295
UD
416162011-09-10 Ulrich Drepper <drepper@gmail.com>
41617
bb016596
UD
41618 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41619 __set_errno.
8e58439c
UD
41620 * malloc/hooks.c: Likewise.
41621
aebae053 41622 [BZ #11929]
02d46fc4
UD
41623 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41624 variables statically.
41625 (narenas): Initialize.
41626 (list_lock): Initialize.
bb016596
UD
41627 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41628 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41629 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41630 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41631 Add initializers to main_arena and mp_.
41632 (malloc_state): Remove pagesize member. Change all users to use
41633 GLRO(dl_pagesize).
41634
41635 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41636 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41637 is always initialized.
41638
22a89187
UD
41639 * malloc/malloc.c: Removed unused configurations and dead code.
41640 * malloc/arena.c: Likewise.
41641 * malloc/hooks.c: Likewise.
02d46fc4 41642 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41643
d063d164
UD
41644 * include/tls.h: Removed. USE___THREAD must always be defined.
41645 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41646 * elf/dl-libc.c: Likewise.
41647 * elf/dl-tsd.c: Likewise.
41648 * include/errno.h: Likewise.
41649 * include/netdb.h: Likewise.
41650 * include/resolv.h: Likewise.
41651 * inet/herrno-loc.c: Likewise.
41652 * inet/herrno.c: Likewise.
41653 * malloc/arena.c: Likewise.
41654 * malloc/hooks.c: Likewise.
41655 * malloc/malloc.c: Likewise.
41656 * resolv/res-state.c: Likewise.
41657 * resolv/res_libc.c: Likewise.
41658 * sysdeps/i386/dl-machine.h: Likewise.
41659 * sysdeps/ia64/dl-machine.h: Likewise.
41660 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41661 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41662 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41663 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41664 * sysdeps/sh/dl-machine.h: Likewise.
41665 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41666 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41667 * sysdeps/unix/i386/sysdep.S: Likewise.
41668 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41669 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41674 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41675 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41678 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41679 * sysdeps/x86_64/dl-machine.h: Likewise.
41680 * tls.make.c: Likewise.
41681
3ce1f295
UD
41682 * configure.in: Remove --with-__thread option. Make tests for
41683 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41684 tls_model attribute fail if no support is available. Remove
41685 USE_IN_LIBIO.
41686 * Makeconfig: Adjust for dropped configure option. All features are
41687 now mandatory.
41688 * Makerules: Likewise.
41689 * Versions.def: Likewise.
41690 * argp/argp-fmtstream.c: Likewise.
41691 * argp/argp-fmtstream.h: Likewise.
41692 * argp/argp-help.c: Likewise.
41693 * assert/assert.c: Likewise.
41694 * config.h.in: Likewise.
41695 * config.make.in: Likewise.
41696 * configure: Likewise.
41697 * configure.in: Likewise.
41698 * csu/Versions: Likewise.
41699 * csu/init.c: Likewise.
41700 * elf/tst-audit2.c: Likewise.
41701 * elf/tst-tls10.c: Likewise.
41702 * elf/tst-tls10.h: Likewise.
41703 * elf/tst-tls11.c: Likewise.
41704 * elf/tst-tls12.c: Likewise.
41705 * elf/tst-tls14.c: Likewise.
41706 * elf/tst-tlsmod11.c: Likewise.
41707 * elf/tst-tlsmod12.c: Likewise.
41708 * elf/tst-tlsmod13.c: Likewise.
41709 * elf/tst-tlsmod13a.c: Likewise.
41710 * elf/tst-tlsmod14a.c: Likewise.
41711 * elf/tst-tlsmod15b.c: Likewise.
41712 * elf/tst-tlsmod16a.c: Likewise.
41713 * elf/tst-tlsmod16b.c: Likewise.
41714 * elf/tst-tlsmod7.c: Likewise.
41715 * elf/tst-tlsmod8.c: Likewise.
41716 * elf/tst-tlsmod9.c: Likewise.
41717 * gmon/gmon.c: Likewise.
41718 * grp/fgetgrent_r.c: Likewise.
41719 * grp/putgrent.c: Likewise.
41720 * hurd/fopenport.c: Likewise.
41721 * include/libc-symbols.h: Likewise.
41722 * include/tls.h: Likewise.
41723 * intl/gettextP.h: Likewise.
41724 * intl/loadinfo.h: Likewise.
41725 * locale/global-locale.c: Likewise.
41726 * locale/localeinfo.h: Likewise.
41727 * mach/devstream.c: Likewise.
41728 * malloc/arena.c: Likewise.
41729 * malloc/set-freeres.c: Likewise.
41730 * misc/err.c: Likewise.
41731 * misc/getttyent.c: Likewise.
41732 * misc/mntent_r.c: Likewise.
41733 * posix/getopt.c: Likewise.
41734 * posix/wordexp.c: Likewise.
41735 * pwd/fgetpwent_r.c: Likewise.
41736 * resolv/Versions: Likewise.
41737 * resolv/res_hconf.c: Likewise.
41738 * shadow/fgetspent_r.c: Likewise.
41739 * shadow/putspent.c: Likewise.
41740 * stdio-common/printf_fphex.c: Likewise.
41741 * stdio-common/tmpfile.c: Likewise.
41742 * stdlib/abort.c: Likewise.
41743 * stdlib/fmtmsg.c: Likewise.
41744 * sunrpc/auth_unix.c: Likewise.
41745 * sunrpc/clnt_perr.c: Likewise.
41746 * sunrpc/clnt_tcp.c: Likewise.
41747 * sunrpc/clnt_udp.c: Likewise.
41748 * sunrpc/clnt_unix.c: Likewise.
41749 * sunrpc/openchild.c: Likewise.
41750 * sunrpc/svc_simple.c: Likewise.
41751 * sunrpc/svc_tcp.c: Likewise.
41752 * sunrpc/svc_udp.c: Likewise.
41753 * sunrpc/svc_unix.c: Likewise.
41754 * sunrpc/xdr.c: Likewise.
41755 * sunrpc/xdr_array.c: Likewise.
41756 * sunrpc/xdr_rec.c: Likewise.
41757 * sunrpc/xdr_ref.c: Likewise.
41758 * sunrpc/xdr_stdio.c: Likewise.
41759
1248c1c4
PB
417602011-09-09 Ulrich Drepper <drepper@gmail.com>
41761
41762 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41763
417642011-07-03 Andreas Jaeger <aj@suse.de>
41765
41766 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41767 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41768 regenerate with gen-libm-tests.pl.
41769
417702010-05-12 Petr Baudis <pasky@suse.cz>
41771
41772 [BZ #11589]
41773 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41774 around j0() zero points by switching to j1().
41775 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41776 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41778 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41779
f22e1074
UD
417802011-09-09 Ulrich Drepper <drepper@gmail.com>
41781
f19009c1
UD
41782 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41783 instead of 0.
41784 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41785 instead of 0.
f19009c1
UD
41786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41787 Patch in part by Pavel Roskin <proski@gnu.org>.
41788
3f8cc204
UD
41789 [BZ #13138]
41790 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41791 realloc.
41792 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41793 Free memory block if necessary.
41794
f22e1074
UD
41795 [BZ #12847]
41796 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41797 be NULL. Don't lock in this case.
41798
0a2349f9
RM
417992011-09-09 Roland McGrath <roland@hack.frob.com>
41800
41801 * elf/elf.h (ELFOSABI_GNU): New macro.
41802 (ELFOSABI_LINUX): Define to that.
41803
f3cdd467
DZ
418042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41805
41806 * string/strncat.c (strncat): Undef the symbol in case it has been
41807 defined in bits/string.h.
41808
74718d13
UD
418092011-09-09 Ulrich Drepper <drepper@gmail.com>
41810
633e9e0f
UD
41811 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41812
0a2349f9 41813 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41814 link map.
41815
f9924780
AJ
418162011-08-17 Andreas Jaeger <aj@suse.de>
41817
41818 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41819
7f5517aa
PP
418202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41821 Ian Lance Taylor <iant@google.com>
41822
41823 * math/libm-test.inc (lround_test): New testcase.
41824 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41825
762011fe
UD
418262011-09-08 Ulrich Drepper <drepper@gmail.com>
41827
92963737
UD
41828 * Makefile: Remove support for automatic cvs check-ins.
41829 * Makerules: Likewise.
41830 * config.make.in: Likewise.
41831 * configure.in: Likewise.
41832 * intl/Makefile: Likewise.
41833 * locale/Makefile: Likewise.
41834 * po/Makefile: Likewise.
41835 * posix/Makefile: Likewise.
41836 * sysdeps/gnu/Makefile: Likewise.
41837 * sysdeps/mach/hurd/Makefile: Likewise.
41838 * sysdeps/sparc/sparc32/Makefile: Likewise.
41839
b0727fd8
JS
41840 [BZ #13118]
41841 * posix/Makefile (bug-regex32-ENV): Define.
41842 Patch by John Stanley <jpsinthemix@verizon.net>.
41843
a0f33f99
UD
41844 * misc/Makefile (headers): Add bits/select2.h.
41845 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41846 * misc/bits/select2.h: New file.
41847 * include/bits/select2.h: New file.
41848 * debug/Makefile (routines): Add fdelt_chk.
41849 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41850 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41851 FD_ISSET.
41852 * debug/fdelt_chk.c: New file.
41853
762011fe
UD
41854 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41855 * wcsmbs/test-wmemcmp.c: Likewise.
41856 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41857 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41858
418592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41860
41861 * string/Makefile (strop-tests): Add memcmp.
41862 * string/test-wmemcmp.c: New file.
41863 * string/test-memcmp.c: Add wmemcmp support.
41864
7f513ec8
RM
418652011-09-08 Roland McGrath <roland@hack.frob.com>
41866
0442afb4
RM
41867 [BZ #13153]
41868 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41869 2011-07-19 change.
41870
7f513ec8
RM
41871 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41872 garbage value in a __mach_port_mod_refs call in the cases of the
41873 task-self and thread-self ports.
41874
a12b2239
ST
418752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41876
41877 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41878
610f9ab4
AS
418792011-09-08 Andreas Schwab <schwab@redhat.com>
41880
7f513ec8 41881 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41882
48882a1a
LD
418832011-09-07 Ulrich Drepper <drepper@gmail.com>
41884
b49865be
UD
41885 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41886
fdc86bc9
UD
41887 * elf/dl-libc.c (dlerror_run): Pass back error code from
41888 dl_catch_error.
41889
c966526a
UD
41890 [BZ #13123]
41891 * elf/dl-load.c (lose): Free l_origin if it is valid.
41892
48882a1a
LD
41893 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41894 names.
41895 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41896 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41897 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41898 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41899 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41900 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41901
77a2a8b4
AZ
419022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41903
41904 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41905 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41906 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41907 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41908 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41909 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41910 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41911 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41912 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41913 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41914
24f579d8
AM
419152011-08-15 Alan Modra <amodra@gmail.com>
41916
41917 [BZ #13092]
41918 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41919 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41920 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41921 ppc_mcount to static-only-routines.
41922 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41923 __mcount_internal.
41924 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41925 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41926
3d4837df
UD
419272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41928
41929 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41930 for finite and infinity parameters.
41931
22700377
WS
419322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41933
41934 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41935 and add nop instructions for throughput optimization.
41936 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41937
5025581e
WS
419382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41939
41940 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41941 aligned copy for power7 with vector-scalar instructions.
41942 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41943
08a300c9
L
419442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41945
41946 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41947 AVX check.
41948
59178ef9
AS
419492011-09-07 Andreas Schwab <schwab@redhat.com>
41950
41951 [BZ #13144]
41952 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41953 last change.
41954
e38ba7ab
UD
419552011-09-07 Ulrich Drepper <drepper@gmail.com>
41956
41957 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41958 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41959 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41960 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41961 clock_gettime.
41962
d53a73ac
UD
419632011-09-06 Ulrich Drepper <drepper@gmail.com>
41964
fc8bffcc
UD
41965 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41966 Forgot to demangle the pointer.
41967
ceaa0c5d
UD
41968 * sysdeps/i386/sysdep.h: Define atom_text_section.
41969 * sysdeps/x86_64/sysdep.h: Likewise.
41970 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41971 section with atom_text_section.
41972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41973 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41974 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41975 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41976 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41977
a77d3c17
UD
41978 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41979 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41980 already be defined. Change to take two parameters and don't assign
41981 result to variable. Adjust all users.
41982 Define INTERNAL_GETTIME if not already defined.
41983 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41984 call.
41985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41986 HAVE_CLOCK_GETTIME_VSYSCALL.
41987 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41988
d53a73ac
UD
41989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41990 gettimeofday vsyscall, just use time.
41991
a8f84144
AS
419922011-09-06 Andreas Schwab <schwab@redhat.com>
41993
41994 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41995 <errno.h>.
41996
ef606249
UD
419972011-09-06 Ulrich Drepper <drepper@gmail.com>
41998
41999 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42000 syscall on x86-64.
42001 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42002 syscall.
42003 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42004 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42005 syscall if possible.
42006
6585cb60
UD
420072011-09-05 Ulrich Drepper <drepper@gmail.com>
42008
42009 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42010 e_ident. Don't pass to find_mapsXX.
42011 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42012
a5f524e4
LD
420132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42014
42015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42016 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42017 * sysdeps/x86_64/multiarch/strchr.S: Update.
42018 Check bit_slow_BSF bit.
42019 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42020 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42021 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42022
554881ef
UD
420232011-09-05 Ulrich Drepper <drepper@gmail.com>
42024
d96de963
UD
42025 [BZ #13134]
42026 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42027 before glibc 2.15.
42028 (tryshell): Define.
42029 (__spawni): Change last parameter to be flag. Test
42030 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42031 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42032 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42033 * posix/spawni.c: Likewise.
42034 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42035 * posix/spawnp.c: Likewise. Change normal version to use
42036 SPAWN_XFLAGS_USE_PATH.
42037 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42038 SPAWN_XFLAGS_TRY_SHELL.
42039
d48e5868
UD
42040 [BZ #13150]
42041 * posix/glob.h: Remove gcc 1.x support.
42042
554881ef
UD
42043 [BZ #13068]
42044 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42045
693fb948
LD
420462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42047
42048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42049 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42050 strrchr-sse2-bsf
42051 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42052 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42053 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42054 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42055 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42056 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42057
1b48c537
UD
420582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42059
49d42c37
UD
42060 * sysdeps/x86_64/wcscmp.S: New file.
42061
1b48c537
UD
42062 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42063 wcscmp-c wcscmp-sse2
42064 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42065 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42066 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42067 * wcsmbs/wcscmp.c: Allow renaming.
42068
15c95c5d
DM
420692011-09-05 David S. Miller <davem@davemloft.net>
42070
42071 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42072 stack slot, rather than the struct return pointer slot.
42073 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42074 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42076 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42077
2f0ad8f3
UD
420782011-09-05 Ulrich Drepper <drepper@gmail.com>
42079
d88ae418
UD
42080 * po/ja.po: Update from translation team.
42081
2f0ad8f3
UD
42082 [BZ #13144]
42083 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42084 kernel in 64-bit binaries.
42085
5f4318d1
DM
420862011-09-01 David S. Miller <davem@davemloft.net>
42087
42088 * elf/elf.h (HWCAP_SPARC_*): Move to..
42089 * sysdeps/sparc/sysdep.h: this new file and add new values.
42090 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42091 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42092 _DL_HWCAP_COUNT to 24.
42093 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42094 entries.
42095 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42096 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42097 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42099 instead of magic constants.
42100 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42101
3ba57516
DM
421022011-08-31 David S. Miller <davem@davemloft.net>
42103
42104 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42106 Reimplement to do errno handling inline.
42107 (SYSCALL_ERROR_HANDLER): New macro.
42108 (__SYSCALL_STRING): Do not do errno handling in asm.
42109 (__CLONE_SYSCALL_STRING): Delete.
42110 (__INTERNAL_SYSCALL_STRING): Delete.
42111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42112 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42113 (PSEUDO): Reimplement to do errno handling inline.
42114 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42115 (SYSCALL_ERROR_HANDLER): New macro.
42116 (__SYSCALL_STRING): Do not do errno handling in asm.
42117 (__CLONE_SYSCALL_STRING): Delete.
42118 (__INTERNAL_SYSCALL_STRING): Delete.
42119 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42120 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42121 i386.
42122 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42123 (inline_syscall*): Add 'err' argument.
42124 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42125 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42126 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42127 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42128
42129 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42130 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42131
2bc17433
AS
421322011-08-30 Andreas Schwab <schwab@redhat.com>
42133
42134 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42135
fbeb5f4d
JO
421362011-08-29 Jiri Olsa <jolsa@redhat.com>
42137
42138 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42139 directive.
42140
ad69cc26
DM
421412011-08-24 David S. Miller <davem@davemloft.net>
42142
42143 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42144
39dd69df
AS
421452011-08-24 Andreas Schwab <schwab@redhat.com>
42146
42147 * elf/Makefile: Add rules to build and run unload8 test.
42148 * elf/unload8.c: New file.
42149 * elf/unload8mod1.c: New file.
42150 * elf/unload8mod1x.c: New file.
42151 * elf/unload8mod2.c: New file.
42152 * elf/unload8mod3.c: New file.
42153
42154 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42155 it wasn't used.
42156
2c0b250a
DM
421572011-08-23 David S. Miller <davem@davemloft.net>
42158
42159 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42160 subtract stack bias.
42161 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42162 %sp not %fp in calculations.
42163 (_JMPBUF_UNWINDS_ADJ): Likewise.
42164
22044b48
DM
42165 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42166 (aio_suspend): Call it to force an exception region around the
42167 AIO_MISC_WAIT() invocation.
42168
2cae4995
AS
421692011-08-23 Andreas Schwab <schwab@redhat.com>
42170
42171 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42172 backslash.
42173
873a772e
AJ
421742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42175
42176 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42177 protection macro.
42178 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42179 and <dl-machine.h>.
42180 (Elf64_FuncDesc): Remove.
42181
25ad0df1
DM
421822011-08-22 David S. Miller <davem@davemloft.net>
42183
42184 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42185 sigaltstack check, add missing cfi directives.
42186 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42187 missing cfi directives, and sigaltstack handling.
42188
e888bcbe
AS
421892011-08-16 Andreas Schwab <schwab@redhat.com>
42190
42191 [BZ #11724]
42192 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42193 object is seen twice.
42194 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42195
42196 * elf/Makefile (distribute): Add tst-initorder2.c.
42197 (tests): Add tst-initorder2.
42198 (modules-names): Add tst-initorder2a tst-initorder2b
42199 tst-initorder2c tst-initorder2d. Add rules to build them.
42200 ($(objpfx)tst-initorder2.out): New rule.
42201 * elf/tst-initorder2.c: New file.
42202 * elf/tst-initorder2.exp: New file.
42203
87162f46
AS
422042011-08-22 Andreas Schwab <schwab@redhat.com>
42205
70538b7f
AS
42206 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42207
f55ffe58
AS
42208 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42209 dependencies back to end of function.
42210
87162f46
AS
42211 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42212 $(elfobjdir)/ld.so.
42213
91b392a4
UD
422142011-08-21 Ulrich Drepper <drepper@gmail.com>
42215
42216 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42217 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42218 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42219 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42220 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42221 of __vdso_gettimeofday.
42222 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42223 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42224 attribute_hidden.
42225 (_libc_vdso_platform_setup): Remove initialization of
42226 __vdso_gettimeofday and __vdso_time.
42227
5c43483f
UD
422282011-08-20 Ulrich Drepper <drepper@gmail.com>
42229
775a77e7
UD
42230 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42231 and fgetc_unlocked.
42232 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42233 getc_unlocked.
89f447ed 42234
49c74ba9
UD
42235 * elf/dl-open.c (add_to_global): Report additions to the global scope
42236 for LD_DEBUG=scopes.
42237 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42238 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42239
5c43483f
UD
42240 [BZ #13114]
42241 * stdio-common/Makefile (tests): Add bug24.
42242 * stdio-common/bug24.c: New file.
42243
a101b025
AJ
422442011-08-19 Andreas Jaeger <aj@suse.de>
42245
42246 [BZ #13114]
42247 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42248 non-existant file when using close-on-exec mode.
42249
c88f1766
UD
422502011-08-20 Ulrich Drepper <drepper@gmail.com>
42251
0276a718
UD
42252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42253 the very first instruction.
42254
c88f1766
UD
42255 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42256 the CFI state in the end.
42257 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42258 inclusion of dl-trampoline.h.
42259 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42260
51ccffa0
AS
422612011-08-19 Andreas Schwab <schwab@redhat.com>
42262
94d7165f
AS
42263 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42264 expectations for long double.
42265
51ccffa0
AS
42266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42267 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42268
fd708658 422692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42270
42271 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42272 artificual limit depends upon the system page size.
42273
44f0a71e
UD
422742011-08-17 Ulrich Drepper <drepper@gmail.com>
42275
42276 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42277 * resolv/Makefile: Define CFLAGS-libresolv.
42278
8de79a24
AS
422792011-08-17 Andreas Schwab <schwab@redhat.com>
42280
42281 * nss/makedb.c (compute_tables): Make variables used in nested
42282 function static.
42283
27724598
UD
422842011-08-17 Ulrich Drepper <drepper@gmail.com>
42285
c5305d88
UD
42286 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42287 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42288 if buffer was too small.
42289
27724598
UD
42290 * elf/pldd.c (main): Attach to all threads in the process.
42291 Rewrite /proc handling to use *at functions.
42292
076fe015
UD
422932011-08-16 Ulrich Drepper <drepper@gmail.com>
42294
174baab3
UD
42295 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42296 specifies first scope to show.
42297 (dl_open_worker): Update callers. Move printing scope of new
42298 object to before the relocation.
44f0a71e 42299 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42300 * sysdeps/generic/ldsodefs.h: Update declaration.
42301
076fe015
UD
42302 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42303 string for the scope number.
42304
a60df2c3
UD
423052011-08-14 Ulrich Drepper <drepper@gmail.com>
42306
42307 * nscd/servicescache.c (cache_addserv): Make sure written is always
42308 initialized.
42309
5e4287d1
RM
423102011-08-14 Roland McGrath <roland@hack.frob.com>
42311
85ae0589
RM
42312 * sysdeps/i386/i486/bits/atomic.h
42313 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42314 statement expression, so as to suppress "set but not used" warning.
42315 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42316
69f63097
RM
42317 * string/strncat.c (STRNCAT): Use prototype definition.
42318
675456ef
RM
42319 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42320 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42321 -Iprograms here.
42322 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42323 (localedef-modules): Add localedef.
42324 (locale-modules): Add locale.
42325
5e4287d1
RM
42326 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42327 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42328 to avoid a warning.
42329
9c96ff23
DM
423302011-08-14 David S. Miller <davem@davemloft.net>
42331
42332 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42333 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42334
f9ddf089
UD
423352011-08-13 Ulrich Drepper <drepper@gmail.com>
42336
44f0a71e 42337 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42338 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42339 * elf/rtld.c (dl_main): Set l_name of vDSO.
42340 Call _dl_show_scope when DL_DEBUG_SCOPES.
42341 (process_dl_debug): Recognize scopes flag and also set it for all.
42342 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42343 Declare _dl_show_scope.
42344
1dc27704
UD
42345 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42346 (do_dlopen): Pass caller_dlopen to dl_open.
42347 (__libc_dlopen_mode): Initialize caller_dlopen.
42348
f9ddf089
UD
42349 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42350 of libc. Make tolower call locale-independent. Optimize a bit by
42351 using isdigit instead of isalnum.
42352 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42353
9ac533d3
UD
423542011-08-12 Ulrich Drepper <drepper@gmail.com>
42355
42356 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42357 was a dependency or dynamically loaded.
42358
89edf2e9
UD
423592011-08-11 Ulrich Drepper <drepper@gmail.com>
42360
8e999d29
UD
42361 * intl/l10nflist.c: Allow architecture-specific pop function.
42362 * sysdeps/x86_64/l10nflist.c: New file.
42363
89edf2e9
UD
42364 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42365 classification.
42366
14d96785
AS
423672011-08-10 Andreas Schwab <schwab@redhat.com>
42368
42369 * include/dirent.h: Add libc_hidden_proto for scandirat and
42370 scandirat64. Don't declare __scandirat64.
42371 * dirent/scandirat.c: Add libc_hidden_def.
42372 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42373 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42374
6761ac04
DM
423752011-08-10 David S. Miller <davem@davemloft.net>
42376
42377 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42378 enum.
42379 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42382
c55fbd1e
UD
423832011-08-09 Ulrich Drepper <drepper@gmail.com>
42384
42385 * Versions.def [libc]: Add GLIBC_2.15.
42386 * dirent/Makefile (routines): Add scandirat and scandirat64.
42387 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42388 GLIBC_2.15.
42389 * dirent/dirent.h: Declare scandirat and scandirat64.
42390 * dirent/scandirat.c: New file.
42391 * dirent/scandirat64.c: New file.
42392 * sysdeps/wordsize-64/scandirat.c: New file.
42393 * sysdeps/wordsize-64/scandirat64.c: New file.
42394 * dirent/opendir.c: Define opendirat.
42395 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42396 using scandirat.
42397 * dirent/scandir64.c: Adjust for scandir.c change.
42398 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42399 __scandirat64, and __scandir_cancel_handler.
42400 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42401 additional parameter and use openat instead of open (outside of ld.so).
42402 Add new __opendir as wrapper around __opendirat.
42403 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42404 here without requiring old scandirat implementation.
42405
879165f2
UD
424062011-08-08 Ulrich Drepper <drepper@gmail.com>
42407
42408 * dirent/scandir.c (cancel_handler): Renamed to
42409 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42410 defined. Adjust users.
42411 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42412 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42413
cb7e923b
UD
424142011-08-04 Ulrich Drepper <drepper@gmail.com>
42415
16292edd
UD
42416 * string/test-string.h (IMPL): Use __STRING to expand name and then
42417 stringify it.
42418
cb7e923b
UD
42419 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42420 of cleanups.
42421
cff82933
LD
424222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42423
42424 * string/Makefile: Update.
42425 (strop-tests): Append strncat.
42426 * string/test-wcscmp.c: New file.
42427 New comprehensive test for wcscmp.
42428 * string/test-strcmp.c: Update.
42429 (WIDE): New define.
42430
9be9bfcc
AS
424312011-07-22 Andreas Schwab <schwab@redhat.com>
42432
42433 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42434 line.
42435
2e96f1c7
AS
424362011-07-26 Andreas Schwab <schwab@redhat.com>
42437
42438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42439 encoding to ACE if AI_IDN.
42440
85188888
JJ
424412011-08-01 Jakub Jelinek <jakub@redhat.com>
42442
42443 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42444 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42445
5fa16e9b
LD
424462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42447
42448 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42449 Fix overflow bug in strncat.
42450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42451
42452 * string/test-strncat.c: Update.
42453 Add new tests for checking overflow bugs.
42454
424552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42456
42457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42458 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42459 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42460 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42462 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42463 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42464 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42465 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42466
42467 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42468 (USE_AS_STRCAT): Define.
42469 Add strcat and strncat support.
42470 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42471
8c1a459f
AS
424722011-07-25 Andreas Schwab <schwab@redhat.com>
42473
42474 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42475 __n bigger than INT_MAX+1.
42476 (__strncmp_g): Likewise.
42477
bba33c28
UD
424782011-07-23 Ulrich Drepper <drepper@gmail.com>
42479
798be72d
UD
42480 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42481 * libio/stido.h: Likewise.
42482
8accd4dc
UD
42483 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42484 (AF_NFC): Define.
42485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42486 (AF_NFC): Define.
42487
cbff0d96
UD
42488 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42489 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42491 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42493
9191c04a
UD
42494 [BZ #13021]
42495 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42496 installed.
42497
bba33c28
UD
42498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42499 typo.
42500 (_dl_x86_64_save_sse): Likewise.
42501
90f139dd
UD
425022011-07-22 Ulrich Drepper <drepper@gmail.com>
42503
1aae088a
UD
42504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42505 OSXSAVE.
42506 (_dl_x86_64_save_sse): Likewise.
42507
8e2045f5
UD
42508 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42509
90f139dd
UD
42510 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42511
1d002f25
AS
425122011-07-21 Andreas Schwab <schwab@redhat.com>
42513
42514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42515 change.
42516 (_dl_x86_64_save_sse): Use correct AVX check.
42517
21137f89
UD
425182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42519
42520 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42521 bug in strncpy/strncat.
42522 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42523
a65c0b7a
UD
425242011-07-21 Ulrich Drepper <drepper@gmail.com>
42525
42526 * string/tester.c (test_strcat): Add tests for different alignments
42527 of source and destination.
42528 (test_strncat): Likewise.
42529
6986b98a
UD
425302011-07-20 Ulrich Drepper <drepper@gmail.com>
42531
90bb2039
UD
42532 [BZ #12852]
42533 * posix/glob.c (glob): Check passed in values before using them in
42534 expressions to avoid some overflows.
42535 (glob_in_dir): Likewise.
42536
5644ef54
UD
42537 [BZ #13007]
42538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42539 check for AVX enablement so that we don't crash with old kernels and
42540 new hardware.
42541 * elf/tst-audit4.c: Add same checks here.
42542 * elf/tst-audit6.c: Likewise.
42543
42544 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42545
bfc9dc9b
AS
425462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42547
42548 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42549
702e64bb
UD
425502011-07-20 Ulrich Drepper <drepper@gmail.com>
42551
42552 * po/cs.po: Update from translation team.
42553 * po/bg.po: Likewise.
42554
295e904f
MP
425552011-07-12 Marek Polacek <mpolacek@redhat.com>
42556
42557 * misc/sys/cdefs.h: Add support for const attribute.
42558 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42559 to gnu_dev_{major,minor,makedev} functions.
42560
3ff94596
MP
425612011-07-20 Marek Polacek <mpolacek@redhat.com>
42562
42563 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42564
28b59fca
AS
425652011-07-20 Andreas Schwab <schwab@redhat.com>
42566
42567 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42568 strlen results.
42569
19df733e
AK
425702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42571
42572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42573 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42574 register in order to avoid conflicts with the soft frame pointer
42575 being held in r11 when necessary.
42576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42577 (INTERNAL_VSYSCALL_NCS): Likewise.
42578
c8835729
MP
425792011-07-14 Marek Polacek <mpolacek@redhat.com>
42580
42581 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42582 * elf/dl-fini.c (_dl_fini): Adjust caller.
42583 * elf/dl-close.c (_dl_close_worker): Likewise.
42584 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42585
b902330c
MP
425862011-07-15 Marek Polacek <mpolacek@redhat.com>
42587
8991e135
MP
42588 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42589 "aux_cache->nlibs < 0".
42590
b902330c
MP
42591 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42592 in the reload-count case.
42593
99710781
LD
425942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42595
42596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42597 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42598 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42599 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42600 * sysdeps/x86_64/multiarch/strcat.S: New file.
42601 * sysdeps/x86_64/multiarch/strncat.S: New file.
42602 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42603 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42604 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42605 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42607 (USE_AS_STRCAT): Define.
42608 Add strcat and strncat support.
42609 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42610 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42611 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42612 * string/strncat.c: Update.
42613 (USE_AS_STRNCAT): Define.
42614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42615 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42616 and i7.
42617 * sysdeps/x86_64/multiarch/init-arch.h
42618 (bit_Prefer_PMINUB_for_stringop): New.
42619 (index_Prefer_PMINUB_for_stringop): Likewise.
42620 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42621 bit_Prefer_PMINUB_for_stringop.
42622
7dc6bd90
UD
426232011-07-19 Ulrich Drepper <drepper@gmail.com>
42624
42625 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42626 buffer64.
42627 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42628 of casting of buffer.
42629 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42630 buffer32 and buffer64.
42631 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42632 writes instead of casting of buffer.
42633 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42634 buffer32.
42635 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42636 casting of buffer.
42637
e0e72284
AS
426382011-07-19 Andreas Schwab <schwab@redhat.com>
42639
42640 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42641
feb1eb0b
UD
426422011-07-19 Ulrich Drepper <drepper@gmail.com>
42643
42644 * nscd/nscd.c (termination_handler): Don't do anything for a database
42645 if it has not yet been initialized.
42646
298711ff
UD
426472011-07-18 Ulrich Drepper <drepper@gmail.com>
42648
42649 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42650
426512011-07-15 Marek Polacek <mpolacek@redhat.com>
42652
42653 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42654
f9d68389
UD
426552011-07-18 Ulrich Drepper <drepper@gmail.com>
42656
42657 * po/nl.po: Update from translation team.
42658 * po/sv.po: Likewise.
42659
db290cf5
RM
426602011-07-16 Roland McGrath <roland@hack.frob.com>
42661
42662 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42663 now disallowed by GCC.
5c550700 42664
fd5e21c7
RM
42665 * configure.in (use-default-link): Default to yes if a test -shared
42666 link meets our qualifications.
42667 * configure: Regenerated.
42668
5c550700
RM
42669 * config.make.in (output-format): New variable.
42670 * configure.in: Check for ld --print-output-format support.
42671 * configure: Regenerated.
42672 * Makerules ($(common-objpfx)format.lds)
42673 [$(output-format) != unknown]: Just use $(output-format),
42674 instead of the linker-script munging.
42675
9fa2c032
RM
426762011-07-14 Roland McGrath <roland@hack.frob.com>
42677
a6928d51
RM
42678 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42679 of $(common-objpfx)shlib.lds.
42680 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42681
661607b3
RM
42682 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42683 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42684
9fa2c032
RM
42685 * configure.in (-z relro check): Adjust test code to add a large
42686 writable data section after it.
42687 * configure: Regenerated.
42688
defe9061
RM
426892011-07-11 Roland McGrath <roland@hack.frob.com>
42690
42691 * configure.in (-z relro check): Fix test code to make the variable
42692 truly const.
42693 * configure: Regenerated.
42694
319b9ad4
UD
426952011-07-11 Ulrich Drepper <drepper@gmail.com>
42696
42697 * nscd/nscd.h (struct traced_file): Define.
42698 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42699 elements. Add traced_files.
42700 (inotify_fd): Declare.
42701 (register_traced_file): Declare.
42702 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42703 (inotify_fd): Export.
42704 (resolv_conf_descr): Remove.
42705 (nscd_init): Move inotify descriptor creation to main.
42706 Don't register files for notification here.
42707 (register_traced_file): New function.
42708 (invalidate_cache): Don't use reset_res to determine whether to call
42709 res_init, go through the list of registered files.
42710 (main_loop_poll): The inotify descriptors are now stored in the
42711 structures for the traced files.
42712 (main_loop_epoll): Likewise
42713 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42714 to __nss_disable_nscd.
42715 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42716 for a database anymore. Check the records for all the registered
42717 files instead.
42718 * nss/Makefile (libnss_files-routines): Add files-init.
42719 (libnss_db-routines): Add db-init.
42720 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42721 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42722 * nss/nss_db/db-init.c: New file.
42723 * nss/nss_files/files-init.c: New file.
42724 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42725 __nss_lookup_function.
42726 (__nss_lookup_function): Call nss_load_library.
42727 (nss_load_all_libraries): New function.
42728 (__nss_disable_nscd): Take parameter with callback function for files
42729 to register. Set is_nscd. Load all the DSOs for the NSS modules
42730 used for the cached services.
42731 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42732 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42733 options for features to all the files in nscd.
42734
42735 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42736
23bee3e8
RM
427372011-07-10 Roland McGrath <roland@hack.frob.com>
42738
42739 * csu/elf-init.c (__libc_csu_init): Comment typo.
42740
46a5b7f0
UD
427412011-07-09 Ulrich Drepper <drepper@gmail.com>
42742
42743 * po/pl.po: Update from translation team.
42744 * po/ja.po: Likewise.
42745 * po/ru.po: Likewise.
42746 * po/ko.po: Likewise.
42747 * po/fr.po: Likewise.
42748
d30cf5bb
RM
427492011-07-09 Roland McGrath <roland@hack.frob.com>
42750
113ddea4
RM
42751 * configure.in (.ctors/.dtors header and trailer check):
42752 Use an empirical test on a built program.
42753 * configure: Regenerated.
42754
574920b4
RM
42755 * configure.in (-z relro check): Use an empirical test on a built DSO.
42756 Detect, but do not require, on ia64.
42757 * configure: Regenerated.
42758
d30cf5bb
RM
42759 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42760 Update tests that use readelf to use $READELF instead.
42761 * configure: Regenerated.
42762
8538fdb3
UD
427632011-07-08 Ulrich Drepper <drepper@gmail.com>
42764
42765 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42766 if the result is not used.
42767
04d08991
AJ
427682011-07-05 Andreas Jaeger <aj@suse.de>
42769
42770 [BZ#9696]
42771 * stdlib/tst-strtod.c: Add testcase.
42772
de283087
AD
427732011-07-07 Ulrich Drepper <drepper@gmail.com>
42774
4e5f31c8 42775 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42776 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42777 The latter has a higher limit. Take additional parameter to pass to
42778 the new function.
42779 (__pathconf): Pass file to __statfs_link_max.
42780 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42781 __statfs_link_max.
42782 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42783 __statfs_link_max.
42784
de283087
AD
42785 [BZ #12868]
42786 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42787 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42788 Handle Lustre.
42789 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42790 (__statfs_filesize_max): Likewise.
42791 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42792
c75fa153
AJ
427932011-07-05 Andreas Jaeger <aj@suse.de>
42794
42795 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42796
1a544854
UD
427972011-07-06 Marek Polacek <mpolacek@redhat.com>
42798
42799 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42800 `status' variable.
42801 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42802 Likewise.
42803
6f0eec67
UD
428042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42805
42806 * Makefile (strop-tests): Add strncat.
42807 * string/test-strncat.c: New file.
42808
aae30307
UD
428092011-06-30 Marek Polacek <mpolacek@redhat.com>
42810
42811 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42812
c0cfb5eb
UD
428132011-06-21 Andreas Jaeger <aj@suse.de>
42814
42815 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42816 Copy rule from iconvdata/Makefile.
42817
01636b21
UD
428182011-07-06 Ulrich Drepper <drepper@gmail.com>
42819
42820 [BZ #12922]
42821 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42822 but no long options are defined, just return 'W'.
42823
9895c8bc
UD
428242011-06-22 Marek Polacek <mpolacek@redhat.com>
42825
42826 [BZ #9696]
42827 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42828
5d4cf042
UD
428292011-07-06 Ulrich Drepper <drepper@gmail.com>
42830
42831 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42832 netgroups to read.
960e5535 42833 (innetgr): Likewise.
5d4cf042 42834
751eb97e
RM
428352011-07-05 Roland McGrath <roland@hack.frob.com>
42836
42837 * config.make.in (install_root): Default to $(DESTDIR).
42838
f15f1e45
UD
428392011-07-05 Ulrich Drepper <drepper@gmail.com>
42840
42841 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42842
4e34ac6a
RM
428432011-07-02 Roland McGrath <roland@hack.frob.com>
42844
5e9b6af4
RM
42845 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42846
84f9ea0f
RM
42847 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42848 containing directory rather than embedding absolute directory names.
42849
ea5ee9f7
RM
42850 * scripts/check-local-headers.sh: Rewritten using awk.
42851 Match by word, not by line. Print error messages for matches.
42852 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42853
1b74661a
RM
42854 * Makerules [shlib-lds-flags empty]:
42855 ($(common-objpfx)libc_pic.opts): New target.
42856 ($(common-objpfx)libc_pic.os.clean): New target.
42857 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42858
42859 * config.make.in (OBJCOPY): New variable.
42860 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42861 * configure: Regenerated.
42862
f781ef40
RM
42863 * config.make.in (use-default-link): New variable.
42864 * configure.in (use_default_link): Grok --with-default-link to set it.
42865 * configure: Regenerated.
42866 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42867 (shlib-lds, shlib-lds-flags): Define to empty.
42868
2d4fa81e
RM
42869 * Makerules (shlib-lds): New variable.
42870 (shlib-lds-flags): New variable.
42871 (build-shlib, build-moduile, build-module-asneeded): Use it.
42872 ($(common-objpfx)libc.so): Use $(shlib-lds).
42873 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42874 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42875
31fffa6b
RM
42876 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42877 DT_FLAGS/DT_FLAGS_1 with zero flags.
42878
4e34ac6a
RM
42879 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42880 linker script munging.
42881
fcfc776b
UD
428822011-07-02 Ulrich Drepper <drepper@gmail.com>
42883
42884 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42885 as 128-bit value.
42886 * crypt/sha512.c (sha512_process_block): Perform total addition using
42887 128-bit if possible.
42888 (__sha512_finish_ctx): Likewise.
42889 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42890 as 64-bit value.
42891 * crypt/sha256.c (SWAP64): Define.
42892 (sha256_process_block): Perform total addition using 64-bit if
42893 possible.
42894 (__sha256_finish_ctx): Likewise.
42895
99231d9a
UD
428962011-07-01 Ulrich Drepper <drepper@gmail.com>
42897
42898 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42899 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42900 * nscd/hstcache.c (cache_addhst): Likewise.
42901 * nscd/grpcache.c (cache_addgr): Likewise.
42902 * nscd/aicache.c (addhstaiX): Likewise
42903 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42904
445b4a53
TK
429052011-07-01 Thorsten Kukuk <kukuk@suse.de>
42906
42907 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42909 * nscd/hstcache.c (cache_addhst): Likewise.
42910 * nscd/grpcache.c (cache_addgr): Likewise.
42911 * nscd/aicache.c (addhstaiX): Likewise
42912
6d4d8e8e
AS
429132011-07-01 Andreas Schwab <schwab@redhat.com>
42914
42915 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42916 domain only when needed.
42917
89f654c5
AS
429182011-06-30 Andreas Schwab <schwab@redhat.com>
42919
42920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42921 is always restored.
42922
cf3b23ff
UD
429232011-06-29 Ulrich Drepper <drepper@gmail.com>
42924
42925 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42926 are re-adding the entry.
42927 * nscd/servicescache.c (cache_addserv): Likewise.
42928
751626f9
AJ
429292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42930
42931 * sysdeps/generic/dl-irel.h: fix protection against multiple
42932 inclusions.
42933 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42934
9113ea1f
UD
429352011-06-28 Ulrich Drepper <drepper@gmail.com>
42936
5c0b8d90
UD
42937 [BZ #12935]
42938 * malloc/memusage.sh: Fix quoting in message.
42939 * debug/xtrace.sh: Likewise.
42940
9113ea1f
UD
42941 * configure.in: Remove support for --experimental-malloc option, make
42942 it the default.
42943 * config.make.in: Likewise.
42944 * malloc/Makefile: Likewise.
42945
a4172181
AS
429462011-06-27 Andreas Schwab <schwab@redhat.com>
42947
42948 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42949 two-byte characters.
42950
78a7eee7
RM
429512011-06-27 Roland McGrath <roland@hack.frob.com>
42952
62bede13
RM
42953 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42954 AC_CACHE_CHECK invocation.
42955 * configure: Regenerated.
42956
78a7eee7
RM
42957 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42958
5ce33a62
UD
429592011-06-27 Ulrich Drepper <drepper@gmail.com>
42960
034807a9
UD
42961 [BZ #12350]
42962 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42963 bit from old_res_options.
42964
4902da17
UD
42965 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42966
5ce33a62
UD
42967 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42968 value type for setfct.
42969
c2344f56
L
429702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42971
42972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42973 __gettimeofday instead of gettimeofday.
42974
68468076
UD
429752011-06-26 Ulrich Drepper <drepper@gmail.com>
42976
42977 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42978
acb0d739
L
429792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42980
42981 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42982
42983 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42984 info.
42985
8912479f
L
429862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42987
42988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42989 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42990 strcpy-sse2-unaligned strncpy-sse2-unaligned
42991 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42992 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42993 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42994 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42995 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42996 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42997 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42998 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42999 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43000 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43001 (STRCPY): Support SSE2 and SSSE3 versions.
43002
d5495a11
UD
430032011-06-24 Ulrich Drepper <drepper@gmail.com>
43004
43005 [BZ #12874]
43006 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43007 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43008 kernels which artificially limit size of requests.
43009
0b1cbaae
L
430102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43011
43012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43013 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43014 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43015 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43016 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43017 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43018 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43019 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43020 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43021 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43022 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43023 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43024 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43025 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43026 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43028 Enable unaligned load optimization for Intel Core i3, i5 and i7
43029 processors.
43030 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43031 Define.
43032 (index_Fast_Unaligned_Load): Define.
43033 (HAS_FAST_UNALIGNED_LOAD): Define.
43034
07f494a0
MP
430352011-06-23 Marek Polacek <mpolacek@redhat.com>
43036
43037 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43038
fa3fc0fe
UD
430392011-06-22 Ulrich Drepper <drepper@gmail.com>
43040
43041 [BZ #12907]
43042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43043 until it is clear that the information is realy needed.
43044 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43045
e12df166
AS
430462011-06-22 Andreas Schwab <schwab@redhat.com>
43047
43048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43049
852eb34d
UD
430502011-06-22 Ulrich Drepper <drepper@gmail.com>
43051
84e2a551
UD
43052 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43053 /sys/devices/system/cpu/online if it is usable.
43054
852eb34d
UD
43055 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43056 reading the information from the /proc filesystem to once a second.
43057
6e502e19
UD
430582011-06-21 Andreas Jaeger <aj@suse.de>
43059
43060 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43061 NULL after inclusion of kernel headers.
43062
75d39ff2
UD
430632011-06-21 Ulrich Drepper <drepper@gmail.com>
43064
51f9aa6a
UD
43065 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43066 calls to internal_setent.
43067
c0244a9d
UD
43068 [BZ #12885]
43069 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43070 addresses using gethostbyname4_r ignore IPv4 addresses.
43071
c5e3c2ae
UD
43072 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43073 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43074
75d39ff2
UD
43075 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43076
42675c6f
DM
430772011-06-20 David S. Miller <davem@davemloft.net>
43078
43079 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43080 inclusions.
43081 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43082
43083 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43084 (elf_irel): Use it.
43085 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43086 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43087 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43088 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43089 * sysdeps/x86_64/dl-irel.h: Likewise.
43090
43091 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43092 * elf/dl-sym.c: Likewise.
43093
57912a71
UD
430942011-06-15 Ulrich Drepper <drepper@gmail.com>
43095
43096 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43097 need to dereference resplen2.
43098
ee22793d
AS
430992011-06-14 Andreas Schwab <schwab@redhat.com>
43100
43101 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43102
a9e836b0
UD
431032011-06-15 Ulrich Drepper <drepper@gmail.com>
43104
77fb9117
UD
43105 * Makeconfig: Define vardbdir and inst_vardbdir.
43106 * nss/Makefile: Add rules to install db-Makefile.
43107
40c1b22c
UD
43108 * nss/nss_db/db-XXX.c: Cleanup.
43109
9f2da732
UD
43110 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43111 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43112 GLIBC_PRIVATE.
43113 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43114 * nss/makedb.c: Implement -g option to specify that value strings
43115 are generated and should not be added to table iterated over for
43116 get*ent calls.
43117 * nss/nss_db/db-initgroups.c: New file.
43118
82e9a1f7
UD
43119 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43120 interface.
43121
c41af17e
UD
43122 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43123 (internal_getgrouplist): Adjust to name change.
43124 Update use_initgroups_entry if this is not the first call.
43125 * nss/databases.def: Add initgroups entry.
43126
a9e836b0
UD
43127 * nss/makedb.c (compute_tables): Check result of multiple hash table
43128 sizes to minimize maximum chain length.
43129
2666d441
UD
431302011-06-14 Ulrich Drepper <drepper@gmail.com>
43131
43132 * Versions.def: Add entry for libnss_db.
43133 * shlib-versions: Likewise.
43134 * nss/Makefile: Add rules to build libnss_db.
43135 * nss/Versions: Add libnss_db information. Organize libnss_files
43136 entries better.
43137 * nss/db-Makefile: Add gshadow support. Change rules for the new
43138 makedb progra. Some minor improvements to generate smaller files.
43139 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43140 here from...
43141 * nss/makedb.c: ...here.
43142 Improve database format to be smaller and require less memory at
43143 runtime.
43144 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43145 db anymore.
43146 * nss/nss_db/db-netgrp.c: Likewise.
43147 * nss/nss_db/db-open.c: Likewise.
43148 * nss/nss_files/flies-XXX.x: Adjust comments.
43149 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43150 * nss/nss_files/files-grp.c: Likewise.
43151 * nss/nss_files/files-hosts.c: Likewise.
43152 * nss/nss_files/files-network.c: Likewise.
43153 * nss/nss_files/files-proto.c: Likewise.
43154 * nss/nss_files/files-pwd.c: Likewise.
43155 * nss/nss_files/files-rpc.c: Likewise.
43156 * nss/nss_files/files-service.c: Likewise.
43157 * nss/nss_files/files-sgrp.c: Likewise.
43158 * nss/nss_files/files-spwd.c: Likewise.
43159 * nss/nss_db/db-alias.c: Removed.
43160 * nss/nss_db/dummy-db.h: Removed.
43161
9ee76b5a
UD
431622011-06-02 Ulrich Drepper <drepper@gmail.com>
43163
43164 * nss/makedb.c: Rewritten to not use database library.
43165 * nss/Makefile: Update to build new makedb program.
43166
c71ca1f8
AJ
431672011-06-14 Andreas Jaeger <aj@suse.de>
43168
43169 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43170 memset declaration.
43171
3154bfb8
UD
431722011-06-10 Andreas Schwab <schwab@redhat.com>
43173
43174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43175 tmpbuf.
43176
b350afab
RM
431772011-06-10 Roland McGrath <roland@hack.frob.com>
43178
decd4e50
RM
43179 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43180 * elf/Makefile ($(objpfx)ld.so): Likewise.
43181
5615eaf2
RM
43182 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43183 Don't list ld.so twice in dependencies.
43184
43185 * posix/bug-regex31.c: Include <stdlib.h>.
43186
43187 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43188
43189 * nis/nss_compat/compat-spwd.c
43190 (getspent_next_nss_netgr): Remove unused variable.
43191 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43192
43193 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43194 nonmembers" output to use the right array.
43195
43196 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43197
43198 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43199
43200 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43201 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43202 * catgets/gencat.c (read_input_file): Likewise.
43203 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43204
43205 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43206 variable definition inside #if's controlling its use.
43207
43208 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43209
43210 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43211
43212 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43213
43214 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43215 unreachable code.
43216
43217 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43218
b68e08db
RM
43219 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43220 * configure: Regenerated.
43221
b350afab
RM
43222 * Makerules: Revert last change.
43223 * elf/Makefile: Likewise.
43224
28368601
RM
432252011-06-09 Roland McGrath <roland@hack.frob.com>
43226
43227 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43228 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43229 (reloc-link): Likewise.
43230
11988f8f
UD
432312011-06-09 Ulrich Drepper <drepper@gmail.com>
43232
43233 * elf/Makefile: Add rules to build pldd.
43234 * elf/pldd.c: New file.
43235 * elf/pldd-xx.c: New file.
43236
e80fab37
UD
432372011-06-07 Ulrich Drepper <drepper@gmail.com>
43238
43239 * version.h: Update for 2.15 development version.
43240
9b849836
DM
432412011-06-07 David S. Miller <davem@davemloft.net>
43242
43243 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43244 ifuncs.
43245 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43246 elf_machine_lazy_rel): Likewise.
43247 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43248 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43249 elf_machine_lazy_rel): Likewise.
43250 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43251 dl_hwcap via passed in argument.
43252 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43253 Likewise.
43254
5a31b283
AK
432552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43256
43257 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43258
069e52f8
RM
432592011-06-06 Roland McGrath <roland@hack.frob.com>
43260
43261 [BZ #12849]
43262 * manual/fdl-1.1.texi: New file, verbatim from:
43263 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43264 * manual/lgpl-2.1.texi: New file, verbatim from:
43265 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43266 * manual/Makefile (licenses): New variable, list those new file names.
43267 (texis): Use it.
43268 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43269
43270 * manual/fdl.texi: File removed.
43271 * manual/lesser.texi: File removed.
43272 * manual/libc.texinfo (Copying, Documentation License):
43273 Use new @include file names, put @appendix directive before @include.
43274
f16846a5
JJ
432752011-06-04 Jakub Jelinek <jakub@redhat.com>
43276
43277 [BZ #12841]
43278 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43279 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43280 (mq_open): Add __NTH.
43281
3d29045b
L
432822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43283
43284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43285 Assume Intel Core i3/i5/i7 processor if AVX is available.
43286
8c297311
UD
432872011-05-31 Ulrich Drepper <drepper@gmail.com>
43288
43289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43290 typo.
43291
c8fc0c91
UD
432922011-05-31 Andreas Schwab <schwab@redhat.com>
43293
43294 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43295 memory. Use alloca_account. Fix memory leak when retrying.
43296
5b27a807
UD
432972011-05-31 Ulrich Drepper <drepper@gmail.com>
43298
356f8bc6
UD
43299 * version.h (RELEASE): Bump for 2.14 release.
43300 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43301
5b27a807
UD
43302 * config.make.in (RANLIB): Remove entry.
43303
01f16ab0
UD
433042011-05-30 Ulrich Drepper <drepper@gmail.com>
43305
41fce8bd
UD
43306 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43307 (libc.pot): Work around missing support for .ksh extension in xgettext.
43308
4769ae77
UD
43309 [BZ #12684]
43310 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43311 if both request failed.
43312 (send_dg): In case of server errors clear resplen or *resplen2.
43313
6b1e7d19
UD
43314 [BZ #12454]
43315 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43316 when there are multiple maps.
43317 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43318 (_dl_fini): Remove test here.
43319
01f16ab0
UD
43320 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43321
b1ebd700
UD
433222011-05-29 Ulrich Drepper <drepper@gmail.com>
43323
7ae22829
UD
43324 [BZ #12350]
43325 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43326 bit from old_res_options.
43327 (gaih_inet): Likewise.
43328
553149f6 43329 [BZ #11099]
18a84741 43330 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43331 as signed.
43332
652ffab1
UD
43333 * resolv/res_init.c (res_setoptions): Make the code more compact.
43334
16985fd0
UD
43335 [BZ #11558]
43336 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43337 set RES_USEVC.
43338
0464f746
UD
43339 [BZ #11634]
43340 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43341
7d17596c
UD
43342 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43343
cf6bbbd7
UD
43344 [BZ #11781]
43345 * malloc/malloc.h: Declare malloc hook variables as volatile.
43346
13f1ab36
UD
43347 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43348 in last patch.
43349
b1ebd700
UD
43350 [BZ #11799]
43351 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 43352 raise in the comment.
80e2212d
UD
43353 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43354 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43355 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 43356
ce67228d
UD
433572011-05-28 Ulrich Drepper <drepper@gmail.com>
43358
8887a920
UD
43359 [BZ #12811]
43360 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43361 grow the buffers more if it already has to be sufficient.
43362 (build_wcs_upper_buffer): Likewise.
43363 * posix/regexec.c (check_matching): Likewise.
43364 (clean_state_log_if_needed): Likewise.
43365 (extend_buffers): Don't enlarge buffers beyond size of the input
43366 buffer.
43367 Patches mostly by Emil Wojak <emil@wojak.eu>.
43368 * posix/bug-regex32.c: New file.
43369 * posix/Makefile (tests): Add bug-regex32.
43370
4f031072
UD
43371 * locale/findlocale.c (_nl_find_locale): Return right away if
43372 _nl_explode_name failed.
43373 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43374
d0478f0c
UD
43375 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43376
de81b246
UD
43377 * debug/xtrace.sh: Unify messages.
43378 * malloc/memusage.sh: Likewise.
43379
c738465a
UD
43380 [BZ #12813]
43381 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43382 time symbol from vDSO. Substitute with vsyscall if not available.
43383 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43384 __vdso_time.
43385
f1f929d7
UD
43386 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43387 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43388 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43389 Add sendmmsg and internal_sendmmsg.
43390 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43391 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43392 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43393
ce67228d
UD
43394 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43395 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43396 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43397
e57420c6
UD
433982011-05-27 Ulrich Drepper <drepper@gmail.com>
43399
a8509ca5
UD
43400 [BZ #12813]
43401 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43402 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43403 available.
43404 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43405 __vdso_getcpu.
43406
e57420c6
UD
43407 [BZ #12814]
43408 * iconvdata/Makefile (tests): Add bug-iconv9.
43409 * iconvdata/bug-iconv9.c: New file.
43410
4d07db15
AS
434112011-05-27 Andreas Schwab <schwab@redhat.com>
43412
43413 [BZ #12814]
43414 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43415
ea486f69
JJ
434162011-05-25 Jakub Jelinek <jakub@redhat.com>
43417
43418 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43419 (struct user_regs_struct): Change intcs field back to cs.
43420
6f038433
UD
434212011-05-25 Ulrich Drepper <drepper@gmail.com>
43422
43423 * po/ja.po: Update from translation team.
43424
67f86a25
UD
434252011-05-23 Ulrich Drepper <drepper@gmail.com>
43426
43427 [BZ #12795]
43428 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43429 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43430
def7fbd6
AS
434312011-05-20 Andreas Schwab <schwab@redhat.com>
43432
43433 * stdlib/longlong.h: Update from GCC.
43434
f50ef8f1
AS
434352011-05-23 Andreas Schwab <schwab@redhat.com>
43436
43437 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43438 parameter name.
43439 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43440 Add parameter name.
43441 (__sysconf): Pass it down.
43442
de7ce8f1
UD
434432011-05-22 Ulrich Drepper <drepper@gmail.com>
43444
f2962a71
UD
43445 [BZ #12671]
43446 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43447 some situations.
43448 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43449 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43450 add in in __libc_use_alloca calls. Adjust callers.
43451 (glob): Use malloc in some situations.
43452
de7ce8f1
UD
43453 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43454 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43455 pltexit.
43456
aec84f53
UD
434572011-05-21 Ulrich Drepper <drepper@gmail.com>
43458
05bb4a68
UD
43459 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43460 and CLOCK_BOOTTIME_ALARM.
43461
7ea72f99
UD
43462 [BZ #12782]
43463 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43464 is returned.
43465
7e4afad5
UD
43466 * string/_strerror.c (__strerror_r): Print negative errors as signed
43467 numbers.
43468
8e211fec
UD
43469 [BZ #12777]
43470 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43471 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43472 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43473
f7d82dc9
UD
43474 * configure.in: Fix typo in redirection and correct removal of test
43475 files in two cases.
43476
cc9e536d
UD
43477 [BZ #12788]
43478 * locale/setlocale.c (new_composite_name): Fix test to check for
43479 identical name of all categories.
43480
aec84f53
UD
43481 [BZ #12792]
43482 * libio/filedoalloc.c (local_isatty): New function.
43483 (_IO_file_doallocate): Use local_isatty.
43484 * stdio-common/perror.c (perror): In case a new stream is used
43485 forward the stream error.
43486 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43487 error flag.
43488
78e64fdc
RT
434892011-05-20 Ulrich Drepper <drepper@gmail.com>
43490
34a9094f
UD
43491 [BZ #11869]
43492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43493 alloca.
43494 * include/alloca.h (extend_alloca_account): Define.
43495
78e64fdc
RT
43496 [BZ #11857]
43497 * posix/regex.h: Fix comments with documentation of user-accessible
43498 fields after compilation and describe correct free'ing of pattern
43499 after re_compile_pattern.
43500 Patch by Reuben Thomas <rrt@sc3d.org>.
43501
457bddfc
RA
435022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43503
43504 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43505 and -mno-altivec to prevent the compiler from using Altivec and/or
43506 VSX instructions when the corresponding registers are not available.
43507
a4527b51
AS
435082011-05-19 Andreas Schwab <schwab@redhat.com>
43509
43510 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43511
ed690b2f
UD
435122011-05-19 Ulrich Drepper <drepper@gmail.com>
43513
43514 * libio/freopen.c (freopen): Use __dup2, not dup2.
43515 * libio/freopen64.c (freopen64): Likewise.
43516
8db73634
L
435172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43518
43519 [BZ #12775]
43520 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43521 * math/Makefile (tests): Add test-powl.
43522 (CFLAGS-test-powl.c): Define.
43523 * math/test-powl.c: New file.
43524
0a197a9d
L
435252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43526
43527 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43528
ee30c380
UD
435292011-05-17 Ulrich Drepper <drepper@gmail.com>
43530
43531 [BZ #11837]
43532 * iconvdata/gb18030.c: Update to GB18020-2005.
43533
6ce75379
UD
435342011-05-16 Ulrich Drepper <drepper@gmail.com>
43535
a4b89fd8
AR
43536 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43537 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43538 Patch by Aharon Robbins <arnold@skeeve.com>.
43539
ea389b12
UD
43540 [BZ #11892]
43541 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43542 on the stack.
43543
68a3f91f
UD
43544 [BZ #11895]
43545 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43546 through underflows.
43547
15cc7dd1
UD
43548 [BZ #12766]
43549 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43550 point to strings before performing equality test for error_one_per_line
43551 mode.
43552
f3799213
UD
43553 [BZ #11697]
43554 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43555
d79a9c94
UD
43556 [BZ #11820]
43557 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43558 (struct user_fpregs_struct): Avoid __uint*_t types.
43559
56e5eb46
UD
43560 [BZ #6420]
43561 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43562 symbol info. Use it instead of calling _dl_addr locally.
43563 (lock_and_info): New function.
43564 (tr_freehook): Call lock_and_info and pass symbol info as additional
43565 parameter to tr_where.
43566 (tr_mallochook): Likewise.
43567 (tr_reallochook): Likewise.
43568 (tr_memalignhook): Likewise.
43569
6ce75379
UD
43570 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43571 used and couldn't be at all thread-safe.
43572
f8a3b5bf
UD
435732011-05-15 Ulrich Drepper <drepper@gmail.com>
43574
94b7cc37
UD
43575 * libio/freopen.c (freopen): Don't close old file descriptor
43576 before the new one is opened. Instead dup the new file descriptor
43577 to the old one after the new stream is created.
43578 * libio/freopen64.c (freopen64): Likewise.
43579 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43580 * libio/fileops.c (_IO_new_file_close_it): Handle new
43581 _IO_FLAGS2_NOCLOSE flag.
43582 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43583 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43584 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43585 _IO_FLAGS2_NOCLOSE flag.
43586 * include/unistd.h: Add hidden_proto for dup3.
43587 Define __have_dup3.
43588 * io/dup3.c: Define hidden symbol.
43589 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43590
bd25564e
UD
43591 [BZ #7101]
43592 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43593 when an incomplete long option is used.
43594 * posix/tst-getopt_long1.c: New file.
43595 * posix/Makefile (tests): Add tst-getopt_long1.
43596
c84cfef4
UD
43597 [BZ #10138]
43598 * scripts/config.guess: Update from autoconf-2.68.
43599 * scripts/config.sub: Likewise.
43600
3b85df27
UD
43601 [BZ #10157]
43602 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43603 tests into ...
43604 (has_cpuclock): ...this. New function.
43605 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43606 macro here based on has_cpuclock code.
43607
15a856b1
UD
43608 [BZ #10149]
43609 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43610 First byte (not low byte) is now always NUL.
43611 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43612
05f399e6
UD
43613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43614 Use non-cancelable interfaces.
43615
10a52685 43616 [BZ #9809]
94ecc67d
UD
43617 * locale/iso-639.def: Add entry for Sorani.
43618
f8a3b5bf
UD
43619 [BZ #11901]
43620 * include/stdlib.h: Move include protection to the right place.
43621 Define abort_msg_s. Declare __abort_msg with it.
43622 * stdlib/abort.c (__abort_msg): Adjust type.
43623 * assert/assert.c (__assert_fail_base): New function. Majority
43624 of code from __assert_fail. Allocate memory for __abort_msg with
43625 mmap.
43626 (__assert_fail): Now call __assert_fail_base.
43627 * assert/assert-perr.c: Remove bulk of implementation. Use
43628 __assert_fail_base.
43629 * include/assert.hL Declare __assert_fail_base.
43630 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43631 mmap.
43632 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43633
1af4e298
UD
436342011-05-14 Ulrich Drepper <drepper@gmail.com>
43635
f8a3b5bf 43636 [BZ #11952]
d26dfc60
MG
43637 [BZ #12453]
43638 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43639 until all modules are registered in the DTV.
43640 * elf/Makefile: Add rules to build and run tst-tls19.
43641 * elf/tst-tls19.c: New file.
43642 * elf/tst-tls19mod1.c: New file.
43643 * elf/tst-tls19mod2.c: New file.
43644 * elf/tst-tls19mod3.c: New file.
43645 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43646
2fc54d6f
UD
43647 [BZ #12083]
43648 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43649 correctly.
43650
98d76b46
UD
43651 [BZ #12601]
43652 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43653 two-byte sequence errors.
43654 * iconvdata/Makefile (tests): Add bug-iconv8.
43655 * iconvdata/bug-iconv8.c: New file.
43656
da3c19ef
UD
43657 [BZ #12626]
43658 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43659 buf2 definition.
43660
ca408c15
UD
43661 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43662
d6f67f7d
UD
43663 [BZ #12432]
43664 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43665 (dummy_getcfa): New function.
43666 (init): Get _Unwind_GetCFA address, use dummy if not found.
43667 (backtrace_helper): In recursion check, also check whether CFA changes.
43668 (__backtrace): Completely initialize arg.
43669
1af4e298 43670 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43671 storing incomplete byte sequence in state object. Avoid testing for
43672 guaranteed too small input if we know there is enough data available.
1af4e298 43673
da62f81b
AS
436742011-05-11 Andreas Schwab <schwab@redhat.com>
43675
43676 * Makeconfig (+link-pie): Indent.
43677 * Rules (binaries-pie): Define if $(have-fpie) and
43678 $(build-shared).
43679 (binaries-shared): Also filter out $(binaries-pie).
43680 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43681 * nscd/Makefile (others-pie): Add nscd.
43682 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43683 ($(objpfx)nscd): Remove command override.
43684 * login/Makefile (others-pie): Add pt_chown.
43685 ($(objpfx)pt_chown): Remove command override.
43686 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43687 remove command overrides.
43688
fcabc0f8
UD
436892011-05-13 Ulrich Drepper <drepper@gmail.com>
43690
20030ae6
UD
43691 * libio/tst_putwc.c: Fix error messages.
43692
fcabc0f8
UD
43693 [BZ #12724]
43694 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43695 currently writing and seek to current position when not.
43696 * libio/Makefile (tests): Add bug-fclose1.
43697 * libio/bug-fclose1.c: New file.
43698
320a5dc0
PB
436992011-05-12 Ulrich Drepper <drepper@gmail.com>
43700
43701 [BZ #12511]
43702 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43703 don't set DF_1_NODELETE here.
43704 (do_lookup_x): When entering new entry test for copy relocation
43705 and if necessary set DF_1_NODELETE flag.
43706 * elf/tst-unique4.cc: New file.
43707 * elf/tst-unique4.h: New file.
43708 * elf/tst-unique4lib.cc: New file.
43709 * elf/Makefile: Add rules to build and run tst-unique4.
43710 Patch by Piotr Bury <pbury@goahead.com>.
43711
22836f52
UD
437122011-05-11 Ulrich Drepper <drepper@gmail.com>
43713
f574184a
UD
43714 [BZ #12052]
43715 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43716
e1fb097f
UD
43717 [BZ #12625]
43718 * misc/mntent_r.c (addmntent): Flush the stream after the output
43719
22836f52
UD
43720 [BZ #12393]
43721 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43722 (is_trusted_path_normalize): Skip initial colon. Append slash
43723 to empty buffer. Duplicate is_trusted_path code but allow
43724 constructed patch to be prefix.
43725 (is_dst): Allow $ORIGIN followed by /.
43726 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43727 Correct testing of result of is_trusted_path_normalize
43728 (decompose_rpath): Fix warning.
43729
7b3b0b2a
UD
437302011-05-10 Ulrich Drepper <drepper@gmail.com>
43731
43732 [BZ #11257]
43733 * grp/initgroups.c (internal_getgrouplist): When we found the service
43734 list through the initgroups entry in nsswitch.conf do not always
43735 continue on a successful lookup. Don't always use the
eac80ce2 43736 __nss_group_database value if it is set.
7b3b0b2a
UD
43737 * nss/nsswitch.conf (initgroups): Change action for successful db
43738 lookup to continue for compatibility.
43739
2a81eaa5
UD
437402011-05-09 Ulrich Drepper <drepper@gmail.com>
43741
be97a69e
UD
43742 [BZ #11532]
43743 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43744 and CP774 modules.
43745 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43746 and CP774 modules.
43747 * iconvdata/tst-tables.sh: Likewise.
43748 * iconvdata/cp770.c: New file.
43749 * iconvdata/cp771.c: New file.
43750 * iconvdata/cp772.c: New file.
43751 * iconvdata/cp773.c: New file.
43752 * iconvdata/cp774.c: New file.
43753 * iconvdata/testdata/CP770: New file.
43754 * iconvdata/testdata/CP770..UTF8: New file.
43755 * iconvdata/testdata/CP771: New file.
43756 * iconvdata/testdata/CP771..UTF8: New file.
43757 * iconvdata/testdata/CP772: New file.
43758 * iconvdata/testdata/CP772..UTF8: New file.
43759 * iconvdata/testdata/CP773: New file.
43760 * iconvdata/testdata/CP773..UTF8: New file.
43761 * iconvdata/testdata/CP774: New file.
43762 * iconvdata/testdata/CP774..UTF8: New file.
43763
43764 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43765 END CHARMAP line.
43766 * iconvdata/gen-8bit-gap.sh: Likewise.
43767 * iconvdata/gen-8bit.sh: Likewise.
43768
c1e9e399
UD
43769 * locale/iso-639.def: Add ary entry.
43770
24c55fb3 43771 [BZ #11258]
96b4b1b0
UD
43772 * locale/C-translit.h.in: Add U20A1 transliteration.
43773
bdc2f971
KB
43774 [BZ #12178]
43775 * locale/iso-639.def: Add wae entry.
43776 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43777
2952b117
UD
43778 [BZ #12545]
43779 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43780 for n.
43781
2a81eaa5
UD
43782 [BZ #12711]
43783 * locale/C-translit.h.in: Add entry for U20B9.
43784 Patch by pravin.d.s@gmail.com.
43785
28377d1b
UD
437862011-05-08 Ulrich Drepper <drepper@gmail.com>
43787
7fb90fb8
UD
43788 [BZ #12713]
43789 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43790 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43791 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43792 in rtld. Use *stat64.
7fb90fb8 43793 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43794 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43795 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43796 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43797 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43798 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43799 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43800 __fstatat64 macros.
7fb90fb8
UD
43801 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43802 * dirent/rewinddir.c: Add libc_hidden_def.
43803 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43804 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43805
28377d1b
UD
43806 * include/dirent.h (__alloc_dir): Add flags parameter.
43807 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43808 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43809 __alloc_dir.
43810 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43811 from fdopendir if O_CLOEXEC is already set.
43812
66bdbaa4
AM
438132011-03-15 Alan Modra <amodra@gmail.com>
43814
43815 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43816 l_tls_firstbyte_offset non-zero. Save padding offset in
43817 l_tls_firstbyte_offset for later use.
43818 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43819 freeing static tls block.
43820
95721191
JN
438212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43822
43823 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43824 where #ifdef was intended. The intent is to prevent ARG_MAX from
43825 being defined by the kernel headers.
43826
f87dfb1f
UD
438272011-05-07 Ulrich Drepper <drepper@gmail.com>
43828
43829 [BZ #12734]
43830 * resolv/resolv.h: Define RES_NOTLDQUERY.
43831 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43832 no-tld-query and set RES_NOTLDQUERY.
43833 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43834 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43835 modern BIND to search name as TLD unless forbidden.
43836
47c3cd7a
UD
438372011-05-07 Petr Baudis <pasky@suse.cz>
43838 Ulrich Drepper <drepper@gmail.com>
43839
43840 [BZ #12393]
43841 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43842 (is_trusted_path): ...to here.
c1e9ea35 43843 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43844 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43845 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43846
8a35c912
PP
438472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43848
43849 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43850 __BEGIN/__END_DECLS.
43851
acd41f47
UD
438522011-05-06 Ulrich Drepper <drepper@gmail.com>
43853
43854 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43855 NSS_STATUS_NOTFOUND if no record was found.
43856
597df647
AS
438572011-05-05 Andreas Schwab <schwab@redhat.com>
43858
43859 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43860 (headers-not-in-tirpc): Remove rpc/netdb.h
43861 * resolv/netdb.h: Revert last change.
43862
b9af1301
PP
438632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43864
43865 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43866 circular dependency between libgcc.a and libc.a.
43867
4e34d5f5
AS
438682011-05-05 Andreas Schwab <schwab@redhat.com>
43869
43870 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43871 * nis/Makefile: Don't install rpcsvc/*.
43872 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43873 instead of <rpc/types.h>.
43874 (MAXHOSTNAMELEN): Define.
43875
00ee369c
AS
438762011-05-03 Andreas Schwab <schwab@redhat.com>
43877
43878 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43879
0b592a30
MB
438802011-04-28 Maciej Babinski <mbabinski@google.com>
43881
43882 [BZ #12714]
43883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43884 gethostbyname4_r when IPv6 results are possible.
43885
6e04cbbe
UD
438862011-05-02 Ulrich Drepper <drepper@gmail.com>
43887
43888 [BZ #12723]
43889 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43890 _PC_PIPE_BUF handling.
43891
e4ecafe0
BH
438922011-04-30 Bruno Haible <bruno@clisp.org>
43893
43894 [BZ #12717]
43895 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43896 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43897 to 'int'.
43898 * inet/getnameinfo.c (getnameinfo): Likewise.
43899
125ee683
UD
439002011-04-29 Ulrich Drepper <drepper@gmail.com>
43901
43902 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43903 to groups setting in database lookup.
43904 * nss/nsswitch.conf: Add initgroups entry.
43905
b722481a
EB
439062011-04-22 Ulrich Drepper <drepper@gmail.com>
43907
43908 [BZ #12685]
43909 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43910 mode string.
43911 Patch by Eric Blake <eblake@redhat.com>.
43912
4df46dbd
L
439132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43914
43915 * sunrpc/Makefile (need-export-routines): Add svc_run.
43916 (routines): Remove svc_run.
43917 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43918 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43919 * sunrpc/svc_run.c (svc_run): Likewise.
43920 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43921
e84142d2
UD
439222011-04-21 Ulrich Drepper <drepper@gmail.com>
43923
43924 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43925 problem in reallocation in last patch.
43926
877175d8
UD
439272011-04-20 Ulrich Drepper <drepper@gmail.com>
43928
43929 * sunrpc/Makefile: Move inclusion of Rules.
43930
ab8eed78
UD
439312011-04-19 Ulrich Drepper <drepper@gmail.com>
43932
43933 * nss/nss_files/files-initgroups.c: New file.
43934 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43935 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43936 _nss_files_initgroups_dyn.
43937
e3d8f584
RS
439382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43939
43940 * elf/elf.h (R_ARM_IRELATIVE): Define.
43941
af190f45
UD
439422011-04-19 Ulrich Drepper <drepper@gmail.com>
43943
43944 * po/ru.po: Update from translation team.
43945
53cf59ef
UD
439462011-04-17 Ulrich Drepper <drepper@gmail.com>
43947
43948 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43949 dependencies.
43950
4c559bcd
MF
439512011-02-06 Mike Frysinger <vapier@gentoo.org>
43952
43953 [BZ #12653]
43954 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43955 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43956 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43957 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43958 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43959
4420675c
AS
439602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43961
43962 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43963 differing bytes.
43964 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43965 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43966 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43967
75ea32ab
UD
439682011-04-17 Ulrich Drepper <drepper@gmail.com>
43969
43970 [BZ #12420]
43971 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43972 storing it.
43973 * stdlib/bug-getcontext.c: New file.
43974 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43975
27390476
AK
439762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43977
43978 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43979 instructions into .machine "z9-109".
43980 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43981 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43982
10442705
AK
439832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43984
43985 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43986 between environment variables and auxiliary vector.
43987
7b57bfe5
UD
439882011-04-16 Ulrich Drepper <drepper@gmail.com>
43989
43990 * Makefile: Add rules to build linkobj/libc.so.
43991 * include/libc-symbols.h: Define libc_hidden_nolink.
43992 * include/rpc/auth.h: Mark functions which are to be hidden.
43993 * include/rpc/auth_des.h: Likewise.
43994 * include/rpc/auth_unix.h: Likewise.
43995 * include/rpc/clnt.h: Likewise.
43996 * include/rpc/des_crypt.h: Likewise.
43997 * include/rpc/key_prot.h: Likewise.
43998 * include/rpc/pmap_clnt.h: Likewise.
43999 * include/rpc/pmap_prot.h: Likewise.
44000 * include/rpc/pmap_rmt.h: Likewise.
44001 * include/rpc/rpc_msg.h: Likewise.
44002 * include/rpc/svc.h: Likewise.
44003 * include/rpc/svc_auth.h: Likewise.
44004 * include/rpc/xdr.h: Likewise.
44005 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44006 * nss/Makefile: Likewise.
44007 * sunrpc/Makefile: Don't install headers. Build library with normal
44008 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44009 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44010 for the compat linking library. Remove use of INTDEF/INTUSE.
44011 * sunrpc/auth_none.c: Likewise.
44012 * sunrpc/auth_unix.c: Likewise.
44013 * sunrpc/authdes_prot.c: Likewise.
44014 * sunrpc/authuxprot.c: Likewise.
44015 * sunrpc/clnt_gen.c: Likewise.
44016 * sunrpc/clnt_perr.c: Likewise.
44017 * sunrpc/clnt_raw.c: Likewise.
44018 * sunrpc/clnt_simp.c: Likewise.
44019 * sunrpc/clnt_tcp.c: Likewise.
44020 * sunrpc/clnt_udp.c: Likewise.
44021 * sunrpc/clnt_unix.c: Likewise.
44022 * sunrpc/des_crypt.c: Likewise.
44023 * sunrpc/des_soft.c: Likewise.
44024 * sunrpc/get_myaddr.c: Likewise.
44025 * sunrpc/key_call.c: Likewise.
44026 * sunrpc/key_prot.c: Likewise.
44027 * sunrpc/netname.c: Likewise.
44028 * sunrpc/pm_getmaps.c: Likewise.
44029 * sunrpc/pm_getport.c: Likewise.
44030 * sunrpc/pmap_clnt.c: Likewise.
44031 * sunrpc/pmap_prot.c: Likewise.
44032 * sunrpc/pmap_prot2.c: Likewise.
44033 * sunrpc/pmap_rmt.c: Likewise.
44034 * sunrpc/publickey.c: Likewise.
44035 * sunrpc/rpc_cmsg.c: Likewise.
44036 * sunrpc/rpc_common.c: Likewise.
44037 * sunrpc/rpc_dtable.c: Likewise.
44038 * sunrpc/rpc_prot.c: Likewise.
44039 * sunrpc/rpc_thread.c: Likewise.
44040 * sunrpc/rtime.c: Likewise.
44041 * sunrpc/svc.c: Likewise.
44042 * sunrpc/svc_auth.c: Likewise.
44043 * sunrpc/svc_authux.c: Likewise.
44044 * sunrpc/svc_raw.c: Likewise.
44045 * sunrpc/svc_run.c: Likewise.
44046 * sunrpc/svc_simple.c: Likewise.
44047 * sunrpc/svc_tcp.c: Likewise.
44048 * sunrpc/svc_udp.c: Likewise.
44049 * sunrpc/svc_unix.c: Likewise.
44050 * sunrpc/svcauth_des.c: Likewise.
44051 * sunrpc/xcrypt.c: Likewise.
44052 * sunrpc/xdr.c: Likewise.
44053 * sunrpc/xdr_array.c: Likewise.
44054 * sunrpc/xdr_float.c: Likewise.
44055 * sunrpc/xdr_intXX_t.c: Likewise.
44056 * sunrpc/xdr_mem.c: Likewise.
44057 * sunrpc/xdr_rec.c: Likewise.
44058 * sunrpc/xdr_ref.c: Likewise.
44059 * sunrpc/xdr_sizeof.c: Likewise.
44060 * sunrpc/xdr_stdio.c: Likewise.
44061
e6c61494
UD
440622011-04-10 Ulrich Drepper <drepper@gmail.com>
44063
44064 [BZ #12650]
44065 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44066 * sysdeps/ia64/dl-tls.h: Likewise.
44067 * sysdeps/powerpc/dl-tls.h: Likewise.
44068 * sysdeps/s390/dl-tls.h: Likewise.
44069 * sysdeps/sh/dl-tls.h: Likewise.
44070 * sysdeps/sparc/dl-tls.h: Likewise.
44071 * sysdeps/x86_64/dl-tls.h: Likewise.
44072 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44073
34fe483e
AS
440742011-03-14 Andreas Schwab <schwab@redhat.com>
44075
44076 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44077 rpath element also skip the following colon.
44078 (expand_dynamic_string_token): Add is_path parameter and pass
44079 down to DL_DST_REQUIRED and _dl_dst_substitute.
44080 (decompose_rpath): Call expand_dynamic_string_token with
44081 non-zero is_path. Ignore empty rpaths.
44082 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44083 with zero is_path.
44084
f12a32e6
AS
440852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44086
44087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44088 Make cancelable.
44089
38a7d692
UD
440902011-04-09 Ulrich Drepper <drepper@gmail.com>
44091
44092 [BZ #12655]
44093 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44094 Patch by Filipe David Manana <fdmanana@apache.org>.
44095
e451d22b
AS
440962011-04-07 Andreas Schwab <schwab@redhat.com>
44097
44098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44099 Maintain aligned stack.
44100 (CHECK_RSP): Remove unused macro.
44101
dedc7c7b
UD
441022011-04-03 Ulrich Drepper <drepper@gmail.com>
44103
44104 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44105 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44106
94521213
UD
441072011-04-02 Ulrich Drepper <drepper@gmail.com>
44108
44109 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44110
8cb700c0 44111 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44112
0354e355
L
441132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44114
44115 [BZ #12518]
44116 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44117 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44118 * sysdeps/x86_64/memmove.c: New file.
44119 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44120 (memcpy): Renamed to ...
44121 (__new_memcpy): This.
44122 (memcpy): Provide GLIBC_2_14 memcpy.
44123 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44124 (memcpy): Provide GLIBC_2_2_5 memcpy.
44125
8593482f
UD
441262011-04-01 Ulrich Drepper <drepper@gmail.com>
44127
44128 [BZ #12631]
44129 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44130
81a5726b
AS
441312011-03-30 Andreas Schwab <schwab@redhat.com>
44132
44133 * misc/syncfs.c: New file.
44134 * misc/Makefile (routines): Add syncfs.
44135 * posix/unistd.h: Declare syncfs.
44136 * sysdeps/unix/syscalls.list: Add syncfs.
44137
00e5419f
AS
441382011-04-01 Andreas Schwab <schwab@redhat.com>
44139
44140 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44141 open_by_handle_at.
44142 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44143 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44145 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44147 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44149
748876bf
UD
441502011-04-01 Ulrich Drepper <drepper@gmail.com>
44151
658e451d
UD
44152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44153 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44154 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44156 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44158 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44159
748876bf
UD
44160 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44161 sync_file_range.c with -fexceptions.
44162 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44163 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44164 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44165 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44166 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44167 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44169 sync_file_range as cancellation point
44170 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44171 now a wrapper around __call_sync_file_range with cancellation handling.
44172 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44173 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44174 function name to __call_sync_file_range.
44175 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44176 Add call_sync_file_range.
748876bf 44177
6e63d5e1
AS
441782011-04-01 Andreas Schwab <schwab@redhat.com>
44179
44180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44181 bits/timex.h.
6e63d5e1 44182
46998f74
UD
441832011-04-01 Ulrich Drepper <drepper@gmail.com>
44184
4c1423ed
UD
44185 * iconv/iconv.h: Fix typo in comment.
44186 * io/fcntl.h: Likewise.
44187 * libio/stdio.h: Likewise.
44188 * posix/spawn.h: Likewise.
44189 * posix/unistd.h: Likewise.
44190 * stdlib/stdlib.h: Likewise.
44191 * time/time.h: Likewise.
44192 * wcsmbs/wchar.h: Likewise.
44193
158648c0
UD
44194 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44195 open_by_handle): Add.
44196 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44197 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44198 Augment a few comments.
44199 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44204 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44205 open_by_handle.
44206
46998f74
UD
44207 * io/fcntl.h (AT_EMPTY_PATH): Define.
44208
83fe108b
UD
442092011-03-30 Ulrich Drepper <drepper@gmail.com>
44210
44211 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44212 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44213 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44214 to...
44215 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44216 * Versions.def: Add GLIBC_2.14.
44217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44218 Export.
83fe108b 44219
bb242059
UD
442202011-03-22 Ulrich Drepper <drepper@gmail.com>
44221
44222 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44223 round counter.
44224 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44225
c97a1282
L
442262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44227
44228 [BZ #12597]
44229 * string/test-strncmp.c (do_page_test): New function.
44230 (check2): Likewise.
44231 (test_main): Call check2.
44232 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44233
2a115601
UD
442342011-03-20 Ulrich Drepper <drepper@gmail.com>
44235
44236 [BZ #12587]
44237 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44238 Handle cache information in CPU leaf 4.
44239 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44240
8126d904
UD
442412011-03-18 Ulrich Drepper <drepper@gmail.com>
44242
042c49c6 44243 [BZ #12583]
8126d904
UD
44244 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44245 character representation.
44246 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44247
ccfe366e
RA
442482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44249
44250 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44251 END(__isnan) to END(__isnanf) to match function entry point/label
44252 EALIGN(__isnanf,...).
44253
c6e13027
JJ
442542011-03-10 Jakub Jelinek <jakub@redhat.com>
44255
44256 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44257
33f85a3f
UD
442582011-03-10 Ulrich Drepper <drepper@gmail.com>
44259
028478fa
UD
44260 [BZ #12510]
44261 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44262 copy from the symbol referenced in the relocation to initialize the
44263 used variable.
44264 Patch by Piotr Bury <pbury@goahead.com>.
44265 * elf/Makefile: Add rules to build and tst-unique3.
44266 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44267 * elf/tst-unique3.cc: New file.
44268 * elf/tst-unique3.h: New file.
44269 * elf/tst-unique3lib.cc: New file.
44270 * elf/tst-unique3lib2.cc: New file.
44271
33f85a3f
UD
44272 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44273
03592fc7
MF
442742011-03-10 Mike Frysinger <vapier@gentoo.org>
44275
44276 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44277 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44278 to _start.
03592fc7 44279
6a5ee102
UD
442802011-03-06 Ulrich Drepper <drepper@gmail.com>
44281
44282 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44283 to-be-loaded object along a path to loader is ld.so.
44284
7e4ba49c
HJ
442852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44286 Ulrich Drepper <drepper@gmail.com>
44287
44288 * sysdeps/x86_64/memset.S: After aligning destination, code
44289 branches to different locations depending on the value of
44290 misalignment, when multiarch is enabled. Fix this.
44291
442922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44293
44294 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44295 Set _x86_64_preferred_memory_instruction for AMD processsors.
44296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44297 Set bit_Prefer_SSE_for_memop for AMD processors.
44298
13a804de
UD
442992011-03-04 Ulrich Drepper <drepper@gmail.com>
44300
44301 * libio/fmemopen.c (fmemopen): Optimize a bit.
44302
9d25c392
AS
443032011-03-03 Andreas Schwab <schwab@redhat.com>
44304
44305 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44306
a5543c6a
RM
443072011-03-03 Roland McGrath <roland@redhat.com>
44308
44309 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44310
012d35f7
DM
443112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44312
7e4ba49c 44313 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44314 __bzero_ultra1 instead of __memset_ultra1.
44315
4bff6e01
AS
443162011-02-23 Andreas Schwab <schwab@redhat.com>
44317 Ulrich Drepper <drepper@gmail.com>
44318
44319 [BZ #12509]
44320 * include/link.h (struct link_map): Add l_orig_initfini.
44321 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44322 returning unsuccessfully.
44323 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44324 close of a file loaded at startup, restore the original l_initfini
44325 list.
44326 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44327 list, store the pointer.
44328 * elf/Makefile ($(objpfx)noload-mem): New rule.
44329 (noload-ENV): Define.
44330 (tests): Add $(objpfx)noload-mem.
44331 * elf/noload.c: Include <memcheck.h>.
44332 (main): Call mtrace. Close all opened handles.
44333
f2092faf
AS
443342011-02-17 Andreas Schwab <schwab@redhat.com>
44335
44336 [BZ #12454]
44337 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44338 dependencies are missing.
44339
6c8a2e88
ST
443402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44341
f2092faf 44342 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
44343 Hurd needs munmap.
44344 * sysdeps/mach/hurd/ifreq.h: New file.
44345
84a42118
PB
443462011-01-27 Petr Baudis <pasky@suse.cz>
44347 Ulrich Drepper <drepper@gmail.com>
44348
071f805e 44349 [BZ 12445]#
84a42118
PB
44350 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44351 to extend_alloca().
44352 * stdio-common/bug23.c: New file.
44353 * stdio-common/Makefile (tests): Add bug23.
44354
e23fe25b
AS
443552010-09-28 Andreas Schwab <schwab@redhat.com>
44356 Ulrich Drepper <drepper@gmail.com>
44357
44358 [BZ #12489]
44359 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44360 before performing relro protection. At old place add assertion
44361 to make sure nothing changed.
44362
d3f02e10
NS
443632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44364 Glauber de Oliveira Costa <glommer@gmail.com>
44365
44366 * elf/elf.h: Add new ARM TLS relocs.
44367
d55fd7a5
RA
443682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44369
44370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44371 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44372 cast from r3.
44373 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44374 'tests' variable.
44375 * sysdeps/wordsize-64/tst-writev.c: New file.
44376
2206397e
RA
443772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44378
44379 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44380 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44381 insns in _dl_start to prevent a TOC reference before relocs are
44382 resolved.
44383
e9433893
UD
443842011-02-15 Ulrich Drepper <drepper@gmail.com>
44385
44386 [BZ #12469]
44387 * Makeconfig: Remove RANLIB definition.
44388 * Makerules: Don't use RANLIB.
44389 * aclocal.m4: Remove ranlib test.
44390 * configure.in: No need to check for ranlib.
44391 * elf/rtld-Rules: Don't use RANLIB.
44392
f75286c6
ST
443932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44394
8e31c82d
ST
44395 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44396 protection macro.
44397 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44398 inclusion protection macro.
44399
f75286c6
ST
44400 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44401 SIGRTMIN and SIGRTMAX and print information in that case only when
44402 SIGRTMIN is defined.
44403
c1d0e639
JJ
444042011-02-11 Jakub Jelinek <jakub@redhat.com>
44405
44406 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44407 arginfo fn returning -1.
44408
44409 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44410 and thousands string is zero terminated.
44411
edf9294e
AS
444122011-02-03 Andreas Schwab <schwab@redhat.com>
44413
44414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44415 sysdeps/unix/sysv/linux/bits/socket.h.
44416
2b7e92df
ST
444172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44418
edf9294e
AS
44419 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44420 (__CPU_COUNT): Remove old macros.
44421 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44422 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44423 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
44424 (__sched_cpualloc, __sched_cpufree): Add declarations.
44425
a4c7ea7b
UD
444262011-02-05 Ulrich Drepper <drepper@gmail.com>
44427
44428 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44429 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44430 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44431 (readdhstai): Return value of addhstaiX call.
44432 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44433 (addgrbyX): Return value returned by cache_addgr.
44434 (readdgrbyname): Return value returned by addgrbyX.
44435 (readdgrbygid): Likewise.
44436 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44437 (addpwbyX): Return value returned by cache_addpw.
44438 (readdpwbyname): Return value returned by addhstbyX.
44439 (readdpwbyuid): Likewise.
44440 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44441 (addservbyX): Return value returned by cache_addserv.
44442 (readdservbyname): Return value returned by addservbyX:
44443 (readdservbyport): Likewise.
44444 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44445 (addhstbyX): Return value returned by cache_addhst.
44446 (readdhstbyname): Return value returned by addhstbyX.
44447 (readdhstbyaddr): Likewise.
44448 (readdhstbynamev6): Likewise.
44449 (readdhstbyaddrv6): Likewise.
44450 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44451 (readdinitgroups): Return value returned by addinitgroupsX.
44452 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44453 (prune_cache): Keep track of timeout value of re-added entries.
44454 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44455 * nscd/nscd.h: Adjust prototypes of readd* functions.
44456
a0bf67cc
RM
444572011-02-04 Roland McGrath <roland@redhat.com>
44458
44459 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44460 (nis_stats): Likewise.
44461 * nis/nis_modify.c (nis_modify): Likewise.
44462 * nis/nis_remove.c (nis_remove): Likewise.
44463 * nis/nis_add.c (nis_add): Likewise.
44464
44465 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44466
44467 * posix/fnmatch_loop.c: Add some consts.
44468
44469 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44470
435b95eb
L
444712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44472
44473 [BZ #12460]
44474 * config.make.in (config-cflags-novzeroupper): Define.
44475 * configure.in: Substitute libc_cv_cc_novzeroupper.
44476 * elf/Makefile (AVX-CFLAGS): Define.
44477 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44478 (CFLAGS-tst-auditmod4a.c): Likewise.
44479 (CFLAGS-tst-auditmod4b.c): Likewise.
44480 (CFLAGS-tst-auditmod6b.c): Likewise.
44481 (CFLAGS-tst-auditmod6c.c): Likewise.
44482 (CFLAGS-tst-auditmod7b.c): Likewise.
44483 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44484
8517b15e
UD
444852011-02-02 Ulrich Drepper <drepper@gmail.com>
44486
44487 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44488 function to the callback.
44489 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44490
10a656fe
AS
444912011-02-02 Andreas Schwab <schwab@redhat.com>
44492
44493 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44494 of errno.
44495
968dad0a
UD
444962011-01-19 Ulrich Drepper <drepper@gmail.com>
44497
9f94d2ea 44498 [BZ #11724]
968dad0a
UD
44499 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44500 of constructors.
44501 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44502 of destructors.
44503 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44504
44505 [BZ #11724]
44506 * elf/Makefile: Add rules to build and run new test.
44507 * elf/tst-initorder.c: New file.
44508 * elf/tst-initorder.exp: New file.
44509 * elf/tst-initordera1.c: New file.
44510 * elf/tst-initordera2.c: New file.
44511 * elf/tst-initordera3.c: New file.
44512 * elf/tst-initordera4.c: New file.
44513 * elf/tst-initorderb1.c: New file.
44514 * elf/tst-initorderb2.c: New file.
44515 * elf/tst-order-a1.c: New file.
44516 * elf/tst-order-a2.c: New file.
44517 * elf/tst-order-a3.c: New file.
44518 * elf/tst-order-a4.c: New file.
44519 * elf/tst-order-b1.c: New file.
44520 * elf/tst-order-b2.c: New file.
44521 * elf/tst-order-main.c: New file.
44522 New test case by George Gensure <werkt0@gmail.com>.
44523
86e92359
UD
445242010-10-01 Andreas Schwab <schwab@redhat.com>
44525
44526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44527 decoding ACE if AI_CANONIDN.
44528
5d5732b0
UD
445292011-01-18 Ulrich Drepper <drepper@gmail.com>
44530
44531 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44532
a77e8cbc
UD
445332011-01-17 Ulrich Drepper <drepper@gmail.com>
44534
6392473f
UD
44535 * version.h (RELEASE): Bump for 2.13 release.
44536 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44537
620a0529
UD
44538 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44539
18ba70a5
UD
44540 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44541 MADV_NOHUGEPAGE.
32465c3e
UD
44542 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44543 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44544 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44545 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44546 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44547 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44548
c0dafcf1
UD
44549 * posix/getconf.c: Update copyright year.
44550 * catgets/gencat.c: Likewise.
44551 * csu/version.c: Likewise.
44552 * debug/catchsegv.sh: Likewise.
44553 * debug/xtrace.sh: Likewise.
44554 * elf/ldconfig.c: Likewise.
44555 * elf/ldd.bash.in: Likewise.
44556 * elf/sprof.c (print_version): Likewise.
44557 * iconv/iconv_prog.c: Likewise.
44558 * iconv/iconvconfig.c: Likewise.
44559 * locale/programs/locale.c: Likewise.
44560 * locale/programs/localedef.c: Likewise.
44561 * malloc/memusage.sh: Likewise.
44562 * malloc/mtrace.pl: Likewise.
44563 * nscd/nscd.c (print_version): Likewise.
44564 * nss/getent.c: Likewise.
44565
a77e8cbc
UD
44566 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44567 PF_CAIF, and PF_ALG.
44568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44569
77e8bddf
AS
445702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44571
1f20b93a
AS
44572 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44573 (modules-names): Use them.
44574 (ifunc-test-modules, ifunc-pie-tests): Define.
44575 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44576 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44577 (test-extras): Likewise.
44578 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44579 $(compile-command.c).
44580 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44581 (all-built-dso): Define.
44582 (check-textrel.out, check-execstack.out): Depend on it.
44583
77e8bddf
AS
44584 * configure.in: Don't override --enable-multi-arch.
44585
bc425b33
UD
445862011-01-15 Ulrich Drepper <drepper@gmail.com>
44587
44588 [BZ #6812]
44589 * nscd/hstcache.c (tryagain): Define.
44590 (cache_addhst): Return tryagain not notfound for temporary errors.
44591 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44592 failed.
44593
794c3ad3
UD
445942011-01-14 Ulrich Drepper <drepper@gmail.com>
44595
70181fdd
UD
44596 [BZ #10563]
44597 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44598 to make the syscall.
44599 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44600
794c3ad3
UD
44601 [BZ #12378]
44602 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44603 and fall back to matching as normal character if the string ends before
44604 the matching ']' is found. This is what POSIX requires.
44605 * posix/testfnm.c: Adjust test result.
44606 * posix/globtest.sh: Adjust test result. Add new test.
44607 * posix/tst-fnmatch.input: Likewise.
44608 * posix/tst-fnmatch2.c: Add new test.
44609
68dc9497
AS
446102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44611
44612 * elf/Makefile (check-execstack): Revert last change. Depend on
44613 check-execstack.h.
44614 (check-execstack.h): New target.
44615 (generated): Add check-execstack.h.
44616 * elf/check-execstack.c: Include "check-execstack.h".
44617 (main): Revert last change.
44618 (handle_file): Return zero if GNU_STACK is absent and
44619 DEFAULT_STACK_PERMS doesn't include PF_X.
44620
451f001b
UD
446212011-01-13 Ulrich Drepper <drepper@gmail.com>
44622
cfa28e56
UD
44623 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44624 in child fails because the descriptor is already closed.
8cf8ce17
UD
44625 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44626 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44627 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44628
1086d70d
UD
44629 [BZ #12397]
44630 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44631 syscall.
44632
451f001b
UD
44633 [BZ #10484]
44634 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44635 temporary buffer used to handle multi lookups locally.
a85b5cb4 44636 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44637
08769175
UD
446382011-01-12 Ulrich Drepper <drepper@gmail.com>
44639
44640 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44641 loader is ld.so.
44642
5e49c52e
UD
446432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44644
44645 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44646 alignment for SSE2.
44647
60522a5f
UD
446482011-01-12 Ulrich Drepper <drepper@gmail.com>
44649
44650 [BZ #12394]
44651 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44652 characters. When rounding increased number of integer digits recompute
44653 number of groups.
44654 * stdio-common/tst-grouping.c: New file.
44655 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44656
f257bbd7
UD
446572011-01-09 Ulrich Drepper <drepper@gmail.com>
44658
44659 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44660 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44661
44662 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44663 void.
44664 * bits/select.h: Likewise.
44665
fa9c15cb
UD
446662011-01-08 Ulrich Drepper <drepper@gmail.com>
44667
44668 * po/ja.po: Update from translation team.
44669
16c2895f
DM
446702011-01-04 David S. Miller <davem@sunset.davemloft.net>
44671
44672 [BZ #11155]
44673 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44674 implementation just like for lxstat, fxstatat, et al.
44675
2543fef2
JM
446762010-12-27 Jim Meyering <meyering@redhat.com>
44677
44678 [BZ #12348]
44679 * posix/regexec.c (build_trtable): Return failure indication upon
44680 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44681
98727dbe
UD
446822010-12-25 Ulrich Drepper <drepper@gmail.com>
44683
5bd6dc5c
UD
44684 [BZ #12201]
44685 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44686 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44687 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44688 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44689
97983464
UD
44690 [BZ #12207]
44691 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44692
98727dbe
UD
44693 [BZ #12204]
44694 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44695 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44696
4a531bb0
L
446972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44698
44699 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44700 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44701 script has SORT_BY_INIT_PRIORITY.
44702 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44703 NO_CTORS_DTORS_SECTIONS is defined.
44704 * elf/soinit.c: Likewise.
44705 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44706 NO_CTORS_DTORS_SECTIONS is defined.
44707 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44708 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44709 * sysdeps/sh/init-first.c: Likewise.
44710 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44711
07eb4b71
UD
447122010-12-24 Ulrich Drepper <drepper@gmail.com>
44713
44714 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44715 always use the slow path.
44716
30950a5f
RA
447172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44718
44719 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44720 similar rule which adds the sysdep directories to the header search in
44721 order to pick up the correct platform stackinfo.h.
44722 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44723 perform test if it is, otherwise return successfully without testing.
44724 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44725 DEFAULT_STACK_PERMS define in stackinfo.h.
44726 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44727 defined in stackinfo.h.
44728 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44729 DEFAULT_STACK_PERMS defined in stackinfo.h.
44730 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44731 * sysdeps/ia64/stackinfo.h: Likewise.
44732 * sysdeps/s390/stackinfo.h: Likewise.
44733 * sysdeps/sh/stackinfo.h: Likewise.
44734 * sysdeps/sparc/stackinfo.h: Likewise.
44735 * sysdeps/x86_64/stackinfo.h: Likewise.
44736 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44737 PF_X for powerpc64. Retain PF_X for powerpc32.
44738
db753e2c
UD
447392010-12-19 Ulrich Drepper <drepper@gmail.com>
44740
14b697f7
UD
44741 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44742 accurately.
db753e2c
UD
44743 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44744 GETDENTS_64BIT_ALIGNED.
44745
28300719
UD
447462010-12-14 Ulrich Drepper <dreper@gmail.com>
44747
14b697f7 44748 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44749
4f197237
AS
447502010-12-10 Andreas Schwab <schwab@redhat.com>
44751
dbb0472f
AS
44752 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44753 _GNU_SOURCE.
44754
4f197237
AS
44755 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44756 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44757 Remove __restrict.
44758 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44759 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44760
fb88ac72
UD
447612010-12-09 Ulrich Drepper <drepper@gmail.com>
44762
44763 [BZ #11655]
44764 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44765 are initialized.
44766
42acbb92
JJ
447672010-12-09 Jakub Jelinek <jakub@redhat.com>
44768
44769 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44770
c038d98d
UD
447712010-12-03 Ulrich Drepper <drepper@gmail.com>
44772
44773 * po/it.po: Update from translation team.
44774
3a4a2499
L
447752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44776
44777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44778 unused codes.
44779
1e24cf6e
UD
447802010-11-30 Ulrich Drepper <drepper@gmail.com>
44781
44782 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44783
a7690819
AS
447842010-11-24 Andreas Schwab <schwab@redhat.com>
44785
44786 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44787 specially.
44788 (gaih_getanswer_slice): Likewise.
44789
3bf8d1b1
JJ
447902010-10-20 Jakub Jelinek <jakub@redhat.com>
44791
44792 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44793
6db52fbb
PB
447942010-05-31 Petr Baudis <pasky@suse.cz>
44795
44796 [BZ #11149]
44797 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44798 silently even in the chroot mode.
44799
eaca7569
UD
448002010-11-22 Ulrich Drepper <drepper@gmail.com>
44801
44802 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44803 last patch a bit. Pretty printing
44804
3056dcdb
UD
448052010-05-31 Petr Baudis <pasky@suse.cz>
44806
44807 [BZ #10085]
44808 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44809 initialization of skip_initgroups_dyn.
44810
cf7c9078
UD
448112010-11-19 Ulrich Drepper <drepper@gmail.com>
44812
44813 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44814 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44815
a1fb5e3e
UD
448162010-11-16 Ulrich Drepper <drepper@gmail.com>
44817
44818 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44819
3540d66b
AS
448202010-11-11 Andreas Schwab <schwab@redhat.com>
44821
44822 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44823 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44824 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44825 ($(objpfx)tst-fnmatch-mem): New rule.
44826 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44827 * posix/tst-fnmatch.c (main): Call mtrace.
44828
13b69574
L
448292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44830
44831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44832 Support Intel processor model 6 and model 0x2c.
44833
da93d214
LM
448342010-11-10 Luis Machado <luisgpm@br.ibm.com>
44835
44836 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44837 signed comparison.
44838
8ca52c6e
L
448392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44840
44841 [BZ #12205]
44842 * string/test-strncasecmp.c (check_result): New function.
44843 (do_one_test): Use it.
44844 (check1): New function.
44845 (test_main): Use it.
44846 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44847 Support strcasecmp and strncasecmp.
44848
69da074d
UD
448492010-11-08 Ulrich Drepper <drepper@gmail.com>
44850
44851 [BZ #12194]
44852 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44853 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44854
ff02d528
L
448552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44856
44857 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44858 IFUNC support.
44859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44860 memset-x86-64.
44861 * sysdeps/x86_64/multiarch/bzero.S: New file.
44862 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44863 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44864 * sysdeps/x86_64/multiarch/memset.S: New file.
44865 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44867 Set bit_Prefer_SSE_for_memop for Intel processors.
44868 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44869 Define.
44870 (index_Prefer_SSE_for_memop): Define.
44871 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44872
344d0b54
LM
448732010-11-04 Luis Machado <luisgpm@br.ibm.com>
44874
44875 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44876 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44877
c0dde15b
UD
448782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44879
44880 [BZ #12191]
44881 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44882 (__x86_64_raw_data_cache_size_half): Likewise.
44883 (__x86_64_raw_shared_cache_size): Likewise.
44884 (__x86_64_raw_shared_cache_size_half): Likewise.
44885
44886 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44887 (__x86_64_raw_data_cache_size_half): Likewise.
44888 (__x86_64_raw_shared_cache_size): Likewise.
44889 (__x86_64_raw_shared_cache_size_half): Likewise.
44890 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44891 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44892 and __x86_64_raw_shared_cache_size_half. Round
44893 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44894 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44895 to multiple of 256 bytes.
44896
0e516e0e
MS
448972010-11-03 Ulrich Drepper <drepper@gmail.com>
44898
44899 [BZ #12167]
44900 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44901 of inacessible symlinks. Verify result of symlink before returning it.
44902 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44903 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44904
0e012e87
ER
449052010-10-28 Erich Ritz <erichritz@gmail.com>
44906
44907 * math/math.h (isinf): Fix typo in comment.
44908
de0ff7bc
UD
449092010-11-01 Ulrich Drepper <drepper@gmail.com>
44910
44911 * po/da.po: Update from translation team.
44912
fa41c84d
UD
449132010-10-26 Ulrich Drepper <drepper@gmail.com>
44914
44915 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44916 is added to the list.
44917
f0967738
AK
449182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44919 Ulrich Drepper <drepper@gmail.com>
44920
44921 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44922 the global list here. Move code to...
44923 (_dl_add_to_namespace_list): ...here. New function.
44924 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44925 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44926 * elf/dl-load.c (lose): Don't remove the element from the list.
44927 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44928 (_dl_map_object): Likewise.
44929
449302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
44931
44932 [BZ #12159]
44933 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44934 into all bytes of SSE register.
44935 Patch by Richard Li <richardpku@gmail.com>.
44936
f0967738 449372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
44938
44939 [BZ #12140]
44940 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44941 perturbing.
44942
d0b9e94f
MB
449432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44944
44945 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44946 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44947 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44948 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44950 submachine.
44951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44952
8e9f92e9
AS
449532010-10-22 Andreas Schwab <schwab@redhat.com>
44954
44955 * include/dlfcn.h (__RTLD_SECURE): Define.
44956 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44957 mode & __RTLD_SECURE instead.
44958 (open_path): Rename preloaded parameter to secure.
44959 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44960 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44961 * elf/dl-deps.c (openaux): Likewise.
44962 * elf/rtld.c (struct map_args): Remove is_preloaded.
44963 (map_doit): Don't use it.
44964 (dl_main): Likewise.
44965 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44966 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44967
bc96fbda
AS
449682010-09-09 Andreas Schwab <schwab@redhat.com>
44969
44970 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44971 (sysd-rules-targets): Remove duplicates.
44972 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44973 rtld-%.$o dependency.
44974
22cd1c9b
AS
449752010-10-18 Andreas Schwab <schwab@redhat.com>
44976
44977 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44978 _dl_map_object do it.
44979
18edac48
UD
449802010-10-19 Ulrich Drepper <drepper@gmail.com>
44981
44982 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44983 fast fma builtins, define the macros in the C99 standard.
44984 (FP_FAST_FMAF): Likewise.
44985 (FP_FAST_FMAL): Likewise.
44986 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44987
44988 * bits/mathdef.h: Update copyright year.
44989 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44990
d2050124
MM
449912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44992
44993 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44994 builtins, define the macros in the C99 standard.
44995 (FP_FAST_FMAF): Likewise.
44996 (FP_FAST_FMAL): Likewise.
44997 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44998 multiply/add.
44999 (FP_FAST_FMAF): Likewise.
45000
475facd1
JJ
450012010-10-15 Jakub Jelinek <jakub@redhat.com>
45002
45003 [BZ #3268]
45004 * math/libm-test.inc (fma_test): Some new testcases.
45005 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45006 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45007 y and infinite z. Do multiplication by C already in long double.
45008 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45010 y and infinite z. Do bitwise or of inexact bit into u.d.
45011 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45012 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45013 * sysdeps/i386/fpu/s_fma.S: Removed.
45014 * sysdeps/i386/fpu/s_fmal.S: Removed.
45015
7c08a05c
JJ
450162010-10-16 Jakub Jelinek <jakub@redhat.com>
45017
45018 [BZ #3268]
45019 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45021 computation is not scheduled after fetestexcept. Fix value
45022 of minimum denormal long double.
45023
f3f7372d
JJ
450242010-10-14 Jakub Jelinek <jakub@redhat.com>
45025
45026 [BZ #3268]
45027 * math/libm-test.inc (fma_test): Add some more tests.
45028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45029 correctly.
45030
14d43591
AS
450312010-10-15 Andreas Schwab <schwab@redhat.com>
45032
45033 * scripts/data/localplt-s390-linux-gnu.data: New file.
45034 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45035
5e908464
JJ
450362010-10-13 Jakub Jelinek <jakub@redhat.com>
45037
45038 [BZ #3268]
45039 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45040 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45041 instead of dbl-64.
45042 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45043 inlines.
45044 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45046 if one of x and y is very large and the other is subnormal.
45047 * sysdeps/s390/fpu/s_fmaf.c: New file.
45048 * sysdeps/s390/fpu/s_fma.c: New file.
45049 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45050 * sysdeps/powerpc/fpu/s_fma.S: New file.
45051 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45052 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45053 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45054
450552010-10-12 Jakub Jelinek <jakub@redhat.com>
45056
45057 [BZ #3268]
45058 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45059 fma tests.
45060 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45061 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45062 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45063 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45064 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45065 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45066 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45067
b833d51f
UD
450682010-10-12 Ulrich Drepper <drepper@redhat.com>
45069
45070 [BZ #12078]
45071 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45072 * posix/bug-regex31.input: Add test case.
45073
1751705d
UD
450742010-10-11 Ulrich Drepper <drepper@gmail.com>
45075
e9b9cbf5
UD
45076 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45077 * posix/bug-regex31.input: New file.
45078
45079 [BZ #12078]
45080 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45081 (parse_sub_exp): Fix last change, use postorder.
45082
ef06edbe
UD
45083 * posix/bug-regex31.c: New file.
45084 * posix/Makefile: Add rules to build and run bug-regex31.
45085
a129c80d
UD
45086 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45087
45088 [BZ #12078]
45089 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45090
b76b818e
UD
45091 [BZ #12108]
45092 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45093 to have entries in sys_siglist.
45094
1751705d
UD
45095 [BZ #12093]
45096 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45097 be NULL.
45098
9ff8d36f
JJ
450992010-10-07 Jakub Jelinek <jakub@redhat.com>
45100
45101 [BZ #3268]
45102 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45103 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45104 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45105 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45106 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45107 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45108 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45109 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45110 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45111 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45112 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45113 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45114 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45115 * math/ftestexcept.c (fetestexcept): Likewise.
45116 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45117 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45118 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45119 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45120 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45121 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45122 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45123
af325969
UD
451242010-10-11 Ulrich Drepper <drepper@gmail.com>
45125
c579b202 45126 [BZ #12107]
af325969
UD
45127 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45128 newline.
45129
67a67b95
UD
451302010-10-06 Ulrich Drepper <drepper@gmail.com>
45131
45132 * string/bug-strstr1.c: New file.
45133 * string/Makefile: Add rules to build and run bug-strstr1.
45134
5fb308bc
EB
451352010-10-05 Eric Blake <eblake@redhat.com>
45136
45137 [BZ #12092]
45138 * string/str-two-way.h (two_way_long_needle): Always clear memory
45139 when skipping input due to the shift table.
45140
45db99c7
UD
451412010-10-03 Ulrich Drepper <drepper@gmail.com>
45142
3b111893
UD
45143 [BZ #12005]
45144 * malloc/mcheck.c: Handle large requests.
45145
45db99c7
UD
45146 [BZ #12077]
45147 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45148 for strncmp and strncasecmp.
45149 * string/stratcliff.c: Add tests for strcmp and strncmp.
45150 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45151
cf7a1eb8
NI
451522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45153
45154 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45155 __set_fpscr.
45156
6484ba5e
AJ
451572010-09-30 Andreas Jaeger <aj@suse.de>
45158
45159 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45160 (CGROUP_SUPER_MAGIC): Define.
45161 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45162 Handle btrfs and cgroup file systems.
45163 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45164 Likewise.
45165
91c42559
LM
451662010-09-27 Luis Machado <luisgpm@br.ibm.com>
45167
45168 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45169 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45170
87a97932
AK
451712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45172
45173 [BZ #12067]
45174 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45175 trying to locate the ELF header.
45176
c21cc9bc
AS
451772010-09-27 Andreas Schwab <schwab@redhat.com>
45178
45179 [BZ #11611]
45180 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45181 Mask out sign-bit copies when constructing f_fsid.
45182
315970f6
PB
451832010-09-24 Petr Baudis <pasky@suse.cz>
45184
45185 * debug/stack_chk_fail_local.c: Add missing licence exception.
45186 * debug/warning-nop.c: Likewise.
45187
1ac7a2c7
JM
451882010-09-15 Joseph Myers <joseph@codesourcery.com>
45189
45190 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45191 implementing getdents64 using getdents syscall, set d_type if
45192 __ASSUME_GETDENTS32_D_TYPE.
45193
56801c50
AS
451942010-09-16 Andreas Schwab <schwab@redhat.com>
45195
45196 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45197 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45198
dda51327
UD
451992010-09-21 Ulrich Drepper <drepper@redhat.com>
45200
45201 [BZ #12037]
45202 * posix/unistd.h: Undo change of feature selection for ftruncate from
45203 2010-01-11.
45204
8ffcee4a
UD
452052010-09-20 Ulrich Drepper <drepper@redhat.com>
45206
a545ecd9 45207 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45208 detection.
45209
e24f0a8b
AS
452102010-09-20 Andreas Schwab <schwab@redhat.com>
45211
45212 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45213 fanotify_mark.
45214 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45215
7291c56f
AS
452162010-09-14 Andreas Schwab <schwab@redhat.com>
45217
45218 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45219 variables after CHECK_SP call.
45220 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45221
bc5fb037
AS
452222010-09-13 Andreas Schwab <schwab@redhat.com>
45223 Ulrich Drepper <drepper@redhat.com>
45224
45225 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45226 re-relocationg ld.so.
45227 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45228 _dl_init_paths call.
45229 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45230 here anymore.
45231
e66e7419
UD
452322010-09-14 Ulrich Drepper <drepper@redhat.com>
45233
45234 * resolv/res_init.c (__res_vinit): Count the default server we added.
45235
c044aa75
CLT
452362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45237 Ulrich Drepper <drepper@redhat.com>
45238
45239 [BZ #11968]
45240 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45241 (____longjmp_chk): Use %ebx for saving value across system call.
45242 Add unwind info.
45243
32cf4069
AS
452442010-09-06 Andreas Schwab <schwab@redhat.com>
45245
45246 * manual/Makefile: Don't mix pattern rules with normal rules.
45247
817328ee
AS
452482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45249
45250 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45251 operation.
45252 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45253 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45254 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45255 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45256 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45257 Likewise.
45258
29fddf61
UD
452592010-09-04 Ulrich Drepper <drepper@redhat.com>
45260
45261 [BZ #11979]
45262 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45263 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45264
0959ffc9
UD
452652010-09-02 Ulrich Drepper <drepper@redhat.com>
45266
45267 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45268 * sysdeps/x86_64/addmul_1.S: Likewise.
45269 * sysdeps/x86_64/lshift.S: Likewise.
45270 * sysdeps/x86_64/mul_1.S: Likewise.
45271 * sysdeps/x86_64/rshift.S: Likewise.
45272 * sysdeps/x86_64/sub_n.S: Likewise.
45273 * sysdeps/x86_64/submul_1.S: Likewise.
45274
ece29840
ST
452752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45276
0959ffc9
UD
45277 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45278 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45279 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45280 * bits/sched.h [__need_schedparam]
ece29840 45281 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45282 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45283 (__defined_schedparam): Define to 1.
ece29840
ST
45284 (__sched_param): New structure, identical to sched_param.
45285 (__need_schedparam): Undefine.
45286
e53a31fe
MF
452872010-08-31 Mike Frysinger <vapier@gentoo.org>
45288
fdc0c10d
MF
45289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45290 (epoll_create1): Declare.
45291
e53a31fe
MF
45292 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45293
a726d796
AS
452942010-08-31 Andreas Schwab <schwab@redhat.com>
45295
45296 [BZ #7066]
45297 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45298 shifting retval into place.
45299
2f3e3dc7
UD
453002010-09-01 Ulrich Drepper <drepper@redhat.com>
45301
f2933da9
UD
45302 * nis/rpcsvc/nis.h: Update copyright notice.
45303 * nis/rpcsvc/nis.x: Likewise.
45304 * nis/rpcsvc/nis_callback.h: Likewise.
45305 * nis/rpcsvc/nis_callback.x: Likewise.
45306 * nis/rpcsvc/nis_object.x: Likewise.
45307 * nis/rpcsvc/nis_tags.h: Likewise.
45308 * nis/rpcsvc/yp.h: Likewise.
45309 * nis/rpcsvc/yp.x: Likewise.
45310 * nis/rpcsvc/ypupd.h: Likewise.
45311 * nis/yp_xdr.c: Likewise.
45312 * nis/ypupdate_xdr.c: Likewise.
45313
2f3e3dc7
UD
45314 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45315 mainly the body of pmap_getport. Add parameters to specify timeouts.
45316 (pmap_getport): Use __libc_rpc_getport.
45317 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45318 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45319 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45320
f3dcc2f9
AS
453212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45322
45323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45324 fanotify_mark.
45325
6d34eb5b
RM
453262010-08-27 Roland McGrath <roland@redhat.com>
45327
45328 * sysdeps/i386/i686/multiarch/Makefile
45329 (CFLAGS-varshift.c): New variable.
45330
9ea3de11
UD
453312010-08-27 Ulrich Drepper <drepper@redhat.com>
45332
c96d23fc
UD
45333 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45334 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45335
9ea3de11
UD
45336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45337
45338 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45339
623aac7f
L
453402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45341
45342 * sysdeps/x86_64/strlen.S: Unroll the loop.
45343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45344 strlen-sse2 strlen-sse2-bsf.
45345 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45346 __strlen_no_bsf if bit_Slow_BSF is set.
45347 (__strlen_sse42): Removed.
45348 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45349 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45350
8b2b7715
RM
453512010-08-25 Roland McGrath <roland@redhat.com>
45352
45353 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45354 * sysdeps/x86_64/multiarch/varshift.c: New file.
45355 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45356 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45357 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45358 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45359
e73015f2
L
453602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45361
45362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45363 strlen-sse2 strlen-sse2-bsf.
45364 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45365 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45366 (__strlen_sse2): Removed.
45367 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45370 bit_Slow_BSF for Atom.
45371 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45372 (index_Slow_BSF): Define.
45373 (HAS_SLOW_BSF): Define.
45374
df24a73e
UD
453752010-08-25 Ulrich Drepper <drepper@redhat.com>
45376
45377 [BZ #10851]
45378 * resolv/res_init.c (__res_vinit): When no server address at all
45379 is given default to loopback.
45380
f2ac4868
RM
453812010-08-24 Roland McGrath <roland@redhat.com>
45382
09055553
RM
45383 * configure.in: Remove config-name.h generation.
45384 * configure: Regenerated.
45385 * config-name.in: File removed.
45386 * scripts/config-uname.sh: New file.
45387 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45388 ($(objdir)config-name.h): New target.
45389
f2ac4868
RM
45390 * sunrpc/rpc_parse.h: Avoid nested comment.
45391
73f27d5e
RH
453922010-08-24 Richard Henderson <rth@redhat.com>
45393 Ulrich Drepper <drepper@redhat.com>
45394 H.J. Lu <hongjiu.lu@intel.com>
45395
45396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45398 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45399 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45400 _mm_alignr_epi8 with _mm_loadu_si128.
45401 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45402 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45403 (__m128i_shift_right): Removed.
45404 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45405 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45406 * sysdeps/x86_64/multiarch/varshift.h: New file.
45407 * sysdeps/x86_64/multiarch/varshift.S: New file.
45408
84b9230c
MF
454092010-08-21 Mike Frysinger <vapier@gentoo.org>
45410
45411 * configure.in: Move assembler checks to before sysdep dir checking.
45412
9bbd0ddc
PB
454132010-08-20 Petr Baudis <pasky@suse.cz>
45414
45415 * LICENSES: Sync the sunrpc license.
45416
9da4bb31
UD
454172010-08-19 Ulrich Drepper <drepper@redhat.com>
45418
a7ab6ec8
UD
45419 * sunrpc/auth_des.c: Update copyright notice once again.
45420 * sunrpc/auth_none.c: Likewise.
45421 * sunrpc/auth_unix.c: Likewise.
45422 * sunrpc/authdes_prot.c: Likewise.
45423 * sunrpc/authuxprot.c: Likewise.
45424 * sunrpc/bindrsvprt.c: Likewise.
45425 * sunrpc/clnt_gen.c: Likewise.
45426 * sunrpc/clnt_perr.c: Likewise.
45427 * sunrpc/clnt_raw.c: Likewise.
45428 * sunrpc/clnt_simp.c: Likewise.
45429 * sunrpc/clnt_tcp.c: Likewise.
45430 * sunrpc/clnt_udp.c: Likewise.
45431 * sunrpc/clnt_unix.c: Likewise.
45432 * sunrpc/des_crypt.c: Likewise.
45433 * sunrpc/des_soft.c: Likewise.
45434 * sunrpc/get_myaddr.c: Likewise.
45435 * sunrpc/getrpcport.c: Likewise.
45436 * sunrpc/key_call.c: Likewise.
45437 * sunrpc/key_prot.c: Likewise.
45438 * sunrpc/openchild.c: Likewise.
45439 * sunrpc/pm_getmaps.c: Likewise.
45440 * sunrpc/pm_getport.c: Likewise.
45441 * sunrpc/pmap_clnt.c: Likewise.
45442 * sunrpc/pmap_prot.c: Likewise.
45443 * sunrpc/pmap_prot2.c: Likewise.
45444 * sunrpc/pmap_rmt.c: Likewise.
45445 * sunrpc/rpc/auth.h: Likewise.
45446 * sunrpc/rpc/auth_unix.h: Likewise.
45447 * sunrpc/rpc/clnt.h: Likewise.
45448 * sunrpc/rpc/des_crypt.h: Likewise.
45449 * sunrpc/rpc/key_prot.h: Likewise.
45450 * sunrpc/rpc/netdb.h: Likewise.
45451 * sunrpc/rpc/pmap_clnt.h: Likewise.
45452 * sunrpc/rpc/pmap_prot.h: Likewise.
45453 * sunrpc/rpc/pmap_rmt.h: Likewise.
45454 * sunrpc/rpc/rpc.h: Likewise.
45455 * sunrpc/rpc/rpc_des.h: Likewise.
45456 * sunrpc/rpc/rpc_msg.h: Likewise.
45457 * sunrpc/rpc/svc.h: Likewise.
45458 * sunrpc/rpc/svc_auth.h: Likewise.
45459 * sunrpc/rpc/types.h: Likewise.
45460 * sunrpc/rpc/xdr.h: Likewise.
45461 * sunrpc/rpc_clntout.c: Likewise.
45462 * sunrpc/rpc_cmsg.c: Likewise.
45463 * sunrpc/rpc_common.c: Likewise.
45464 * sunrpc/rpc_cout.c: Likewise.
45465 * sunrpc/rpc_dtable.c: Likewise.
45466 * sunrpc/rpc_hout.c: Likewise.
45467 * sunrpc/rpc_main.c: Likewise.
45468 * sunrpc/rpc_parse.c: Likewise.
45469 * sunrpc/rpc_parse.h: Likewise.
45470 * sunrpc/rpc_prot.c: Likewise.
45471 * sunrpc/rpc_sample.c: Likewise.
45472 * sunrpc/rpc_scan.c: Likewise.
45473 * sunrpc/rpc_scan.h: Likewise.
45474 * sunrpc/rpc_svcout.c: Likewise.
45475 * sunrpc/rpc_tblout.c: Likewise.
45476 * sunrpc/rpc_util.c: Likewise.
45477 * sunrpc/rpc_util.h: Likewise.
45478 * sunrpc/rpcinfo.c: Likewise.
45479 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45480 * sunrpc/rpcsvc/key_prot.x: Likewise.
45481 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45482 * sunrpc/rpcsvc/mount.x: Likewise.
45483 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45484 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45485 * sunrpc/rpcsvc/rex.x: Likewise.
45486 * sunrpc/rpcsvc/rstat.x: Likewise.
45487 * sunrpc/rpcsvc/rusers.x: Likewise.
45488 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45489 * sunrpc/rpcsvc/spray.x: Likewise.
45490 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45491 * sunrpc/rtime.c: Likewise.
45492 * sunrpc/svc.c: Likewise.
45493 * sunrpc/svc_auth.c: Likewise.
45494 * sunrpc/svc_authux.c: Likewise.
45495 * sunrpc/svc_raw.c: Likewise.
45496 * sunrpc/svc_run.c: Likewise.
45497 * sunrpc/svc_simple.c: Likewise.
45498 * sunrpc/svc_tcp.c: Likewise.
45499 * sunrpc/svc_udp.c: Likewise.
45500 * sunrpc/svc_unix.c: Likewise.
45501 * sunrpc/svcauth_des.c: Likewise.
45502 * sunrpc/xcrypt.c: Likewise.
45503 * sunrpc/xdr.c: Likewise.
45504 * sunrpc/xdr_array.c: Likewise.
45505 * sunrpc/xdr_float.c: Likewise.
45506 * sunrpc/xdr_mem.c: Likewise.
45507 * sunrpc/xdr_rec.c: Likewise.
45508 * sunrpc/xdr_ref.c: Likewise.
45509 * sunrpc/xdr_sizeof.c: Likewise.
45510 * sunrpc/xdr_stdio.c: Likewise.
45511
9da4bb31
UD
45512 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45513 handling.
45514
bdaa77bc
AS
455152010-08-19 Andreas Schwab <schwab@redhat.com>
45516
45517 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45518
fe2f79db
LM
455192010-08-19 Luis Machado <luisgpm@br.ibm.com>
45520
45521 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45522 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45523 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45524 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45525 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45526 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45527 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45528 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45529 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45530 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45531 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45532 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45533 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45534 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45535
b9b42ee0
AB
455362010-07-26 Anton Blanchard <anton@samba.org>
45537
45538 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45539 * malloc/arena.c (heap_trim): Likewise.
45540
1c06ba31
UD
455412010-08-16 Ulrich Drepper <drepper@redhat.com>
45542
45543 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45544 here. Not...
45545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45546 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45547
f8392f40
L
455482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45549
45550 * sysdeps/i386/elf/Makefile: New file.
45551
3162f12e
AS
455522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45553
45554 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45555 from fanotify_init.
45556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45557 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45558
28c90b2c
UD
455592010-08-15 Ulrich Drepper <drepper@redhat.com>
45560
45561 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45562 of strncasecmp_l.
1feccb6c 45563 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45564
ca6bb004
UD
455652010-08-14 Ulrich Drepper <drepper@redhat.com>
45566
e9f82e0d
UD
45567 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45568 strncase_l-nonascii.
45569 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45570 Add strncase_l-ssse3.
45571 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45572 * sysdeps/x86_64/strcmp.S: Likewise.
45573 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45574 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45575 * sysdeps/x86_64/strncase.S: New file.
45576 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45577 * sysdeps/x86_64/strncase_l.S: New file.
45578 * string/Makefile (strop-tests): Add strncasecmp.
45579 * string/test-strncasecmp.c: New file.
45580
45581 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45582 warning.
45583
ca6bb004
UD
45584 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45585 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45586
052fa7b3
AS
455872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45588
45589 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45590
962dba78
UD
455912010-08-12 Ulrich Drepper <drepper@redhat.com>
45592
45593 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45594 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45595 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45596
bebff237
AM
455972010-05-01 Alan Modra <amodra@gmail.com>
45598
45599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45600 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45601 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45602 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45603 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45604 tidying. Don't tail-call __sigjmp_save for static lib.
45605 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45606 save location.
45607 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45608 (CALL_MCOUNT): Add eh info, and nop after bl.
45609 (TAIL_CALL_SYSCALL_ERROR): New macro.
45610 (PSEUDO_RET): Use it.
45611 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45612 Correct save location of integer regs and cr.
45613 (_dl_profile_resolve): Correct cr save location. Delete nops
45614 after bl when SHARED. Reduce cfi size a little by better
45615 placement of cfi directives.
45616 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45617 make a stack frame. Instead use parm save area as a temp.
45618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45619 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45621 Don't make a stack frame for parent, use parm save area.
45622 Increase child stack frame to 112 bytes. Don't save unused reg,
45623 and adjust reg usage. Set up cfi on error recovery and
45624 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45626 (__makecontext): Add dummy nop after jump to exit.
45627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45628 Use correct parm save area and cr save, reduce stack frame.
45629 Correct cfi for possible PSEUDO_RET frame setup.
45630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45631 Branch to local label emitted by PSEUDO_RET rather than
45632 __syscall_error.
45633
02637374
AS
456342010-08-12 Andreas Schwab <schwab@redhat.com>
45635
45636 [BZ #11904]
45637 * locale/programs/locale.c (print_assignment): New function.
45638 (show_locale_vars): Use it.
45639
c3e2f19b
UD
456402010-08-11 Ulrich Drepper <drepper@redhat.com>
45641
3cdaa6ad
UD
45642 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45643 field.
45644 (struct statfs64): Likewise.
45645 (_STATFS_F_FLAGS): Define.
45646 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45647 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45648 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45649 (ST_VALID): Define locally.
45650 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45651 __statvfs_getflags, use the provided value.
45652 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45653 __ASSUME_STATFS_F_FLAGS.
45654
754f7da3
UD
45655 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45656
10b3bedc
UD
45657 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45658 Add sys/fanotify.h.
45659 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45660 fanotify_mask for GLIBC_2.13.
45661 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45662 fanotify_init and fanotify_mark.
45663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45664 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45665
c08fb0d7
UD
45666 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45667 Add prlimit.
45668 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45669 prlimit64 for GLIBC_2.13.
45670 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45671 prlimit64.
45672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45673 syscall.
45674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45675 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45676 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45677 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45678 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45679 add prlimit alias.
45680 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45681
15bac72b
UD
45682 [BZ #11903]
45683 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45684 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45685
c3e2f19b
UD
45686 * nss/Makefile: Add rules to build and run tst-nss-test1.
45687 * shlib-versions: Add entry for libnss_test1.
45688 * nss/nss_test1.c: New file.
45689 * nss/tst-nss-test1.c: New file.
45690
45691 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45692 (__nss_configure_lookup): Set appropriate entry in
45693 __nss_configure_lookup to true.
45694 * nss/nsswitch.h: Define enum with indeces of databases in
45695 databases and __nss_database_custom arrays. Declare
45696 __nss_database_custom.
45697 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45698 to avoid using nscd when custom rules are installed.
45699 * nss/getXXbyYY_r.c: Likewise.
45700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45701
45702 * nss/nss_files/files-parse.c: Whitespace fixes.
45703
f15ce4d8
UD
457042010-08-09 Ulrich Drepper <drepper@redhat.com>
45705
45706 [BZ #11883]
45707 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45708 * posix/fnmatch_loop.c: Likewise.
45709
d22e4cc9
AK
457102010-07-17 Andi Kleen <ak@linux.intel.com>
45711
45712 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45713 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45714 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45715 * Versions.def [GLIBC_2.13]: Add.
45716
805bc17d
UD
457172010-08-06 Ulrich Drepper <drepper@redhat.com>
45718
45719 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45720 Also fail if tpwd after pwuid call is NULL.
45721
5a42321d
ST
457222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45723
45724 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45725 when converting to ms.
45726
fd3ebeda
ST
457272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45728
45729 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45730 EOPNOTSUPP errors with ENOTTY.
45731 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45732 EOPNOTSUPP errors with ENOTTY.
45733
73507d3a
UD
457342010-07-31 Ulrich Drepper <drepper@redhat.com>
45735
45736 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45737 Add strcasecmp_l-ssse3.
45738 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45739 strcasecmp.
45740 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45741 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45742 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45743
fe36dd02
UD
457442010-07-30 Ulrich Drepper <drepper@redhat.com>
45745
66f6765a
UD
45746 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45747
42e08a54
UD
45748 * string/Makefile (strop-tests): Add strcasecmp.
45749 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45750 strcasecmp_l-nonascii.
45751 (gen-as-const-headers): Add locale-defines.sym.
45752 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45753 * sysdeps/x86_64/strcasecmp.S: New file.
45754 * sysdeps/x86_64/strcasecmp_l.S: New file.
45755 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45756 * sysdeps/x86_64/locale-defines.sym: New file.
45757 * string/test-strcasecmp.c: New file.
45758
fe36dd02
UD
45759 * string/test-strcasestr.c: Test both ends of the range of characters.
45760 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45761
48cbc0d6
RM
457622010-07-29 Roland McGrath <roland@redhat.com>
45763
76e6d6bc 45764 [BZ #11856]
48cbc0d6
RM
45765 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45766
880113d9
UD
457672010-07-27 Ulrich Drepper <drepper@redhat.com>
45768
45769 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45770 for ld.so.
45771
deb9cabb
AS
457722010-07-27 Andreas Schwab <schwab@redhat.com>
45773
45774 * manual/memory.texi (Malloc Tunable Parameters): Document
45775 M_PERTURB.
45776
1c7570ff
RM
457772010-07-26 Roland McGrath <roland@redhat.com>
45778
45779 [BZ #11840]
45780 * configure.in (-fgnu89-inline check): Set and substitute
45781 gnu89_inline, not libc_cv_gnu89_inline.
45782 * configure: Regenerated.
45783 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45784
24fb0f88
UD
457852010-07-26 Ulrich Drepper <drepper@redhat.com>
45786
45787 * string/test-strnlen.c: New file.
45788 * string/Makefile (strop-tests): Add strnlen.
45789 * string/tester.c (test_strnlen): Add a few more test cases.
45790 * string/tst-strlen.c: Better error reporting.
45791
45792 * sysdeps/x86_64/strnlen.S: New file.
45793
8e96b93a
UD
457942010-07-24 Ulrich Drepper <drepper@redhat.com>
45795
45796 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45797 lower-latency instructions.
45798
dbc676d4
UD
457992010-07-23 Ulrich Drepper <drepper@redhat.com>
45800
45801 * string/test-strcasestr.c: New file.
45802 * string/test-strstr.c: New file.
45803 * string/Makefile (strop-tests): Add strstr and strcasestr.
45804 * string/str-two-way.h: Don't undefine MAX.
45805 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45806
f6a31e0e
AS
458072010-07-21 Andreas Schwab <schwab@redhat.com>
45808
45809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45810 strcasestr-nonascii.
45811 (CFLAGS-strcasestr-nonascii.c): Define.
45812 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45813 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45814 Remove unused attribute.
45815
5dbc3b6c
RM
458162010-07-20 Roland McGrath <roland@redhat.com>
45817
45818 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45819 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45820 ld.so.cache was broken. With it, there is no way to disable dsocaps
45821 like LD_HWCAP_MASK can disable hwcaps.
45822
23d101d8
EPM
458232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45824
45825 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45826
cc9f2e47
UD
458272010-07-16 Ulrich Drepper <drepper@redhat.com>
45828
45829 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45830 call in strcasestr.
45831 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45832 __strcasestr_sse42_nonascii.
45833 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45834 strcasestr-nonascii.c.
45835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45836
77c1b069
LM
458372010-06-15 Luis Machado <luisgpm@br.ibm.com>
45838
45839 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45840 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45841 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45843
440566c3
UD
458442010-07-09 Ulrich Drepper <drepper@redhat.com>
45845
45846 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45847 fcntl.
45848
5be9d05d
AS
458492010-07-06 Andreas Schwab <schwab@redhat.com>
45850
c30b7ee2 45851 [BZ #11577]
5be9d05d
AS
45852 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45853 dl_signal_cerror.
45854
8a492a67
UD
458552010-07-06 Ulrich Drepper <drepper@redhat.com>
45856
45857 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45858 _PC_PIPE_BUF using F_GETPIPE_SZ.
45859
713df3d5
RM
458602010-07-05 Roland McGrath <roland@redhat.com>
45861
45862 * manual/arith.texi (Rounding Functions): Fix rint description
45863 implicit in round description.
45864
702e8f14
UD
458652010-07-02 Ulrich Drepper <drepper@redhat.com>
45866
45867 * elf/Makefile: Fix linking for a few tests to make recent linker
45868 happy.
45869
52ed8be9
AS
458702010-06-30 Andreas Schwab <schwab@redhat.com>
45871
45872 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45873 $(common-objpfx)libc_nonshared.a.
45874
f47c9a11
LM
458752010-06-21 Luis Machado <luisgpm@br.ibm.com>
45876
45877 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45878 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45879 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45880 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45881 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45882 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45883 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45884 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45899 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45900 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45901 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45902 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45903 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45904 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45905 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45906 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45907 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45908 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45909 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45910 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45925
6fb8cbcb
L
459262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45927
45928 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45929 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45930 * string/memmove.c (memmove): Renamed to ...
45931 (MEMMOVE): ...this. Default to memmove.
45932 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45933 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45934 (END_CHK): Define.
45935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45936 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45937 mempcpy-ssse3-back memmove-ssse3-back.
45938 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45939 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45940 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45941 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45942 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45943 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45944 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45945 * sysdeps/x86_64/multiarch/memmove.c: New file.
45946 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45947 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45948 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45949 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45950 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45952 Define.
45953 (index_Fast_Copy_Backward): Define.
45954 (HAS_ARCH_FEATURE): Define.
45955 (HAS_FAST_REP_STRING): Define.
45956 (HAS_FAST_COPY_BACKWARD): Define.
45957
4e733bac 459582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
45959
45960 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45961 Restore proper fallback handling.
45962
63c4ed22
UD
459632010-06-19 Ulrich Drepper <drepper@redhat.com>
45964
ac2b484c
UD
45965 [BZ #11701]
45966 * posix/group_member.c (__group_member): Correct checking loop.
45967
63c4ed22
UD
45968 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45969 OOM in getpwuid_r correctly. Return error number when the caller
45970 should return, otherwise -1.
45971 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45972 call returning > 0 value.
45973 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45974
765ade4b
AS
459752010-06-07 Andreas Schwab <schwab@redhat.com>
45976
45977 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45978 libc_nonshared.a from targets in modules-names.
45979
80da2e09
KS
459802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45981
45982 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45983 requires it.
45984
158db122
LM
459852010-06-10 Luis Machado <luisgpm@br.ibm.com>
45986
45987 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45988 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45989 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45990 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45991
caa78cf8
AS
459922010-06-02 Andreas Schwab <schwab@redhat.com>
45993
45994 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45995
b2ef2c01
UD
459962010-06-14 Ulrich Drepper <drepper@redhat.com>
45997
45998 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45999 and F_GETPIPE_SZ.
46000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46001 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46004 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46005 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46006
fbd643b6
RM
460072010-06-14 Roland McGrath <roland@redhat.com>
46008
46009 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46010
f32f2869
JJ
460112010-06-07 Jakub Jelinek <jakub@redhat.com>
46012
46013 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46014 __REDIRECT followed by __THROW.
46015 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46016 * posix/getopt.h (getopt): Likewise.
46017
2a50c078
EPM
460182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46019
46020 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46021 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46022 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46023 in AT_FLAGS.
46024 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46025 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46026
eb5ad2eb
LM
460272010-05-28 Luis Machado <luisgpm@br.ibm.com>
46028
46029 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46030
3c88fe1e
L
460312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46032
46033 [BZ #11640]
46034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46035 Properly check family and model.
46036
d2f73151
TY
460372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46038
46039 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46040
ebd2e13d
LM
460412010-05-24 Luis Machado <luisgpm@br.ibm.com>
46042
46043 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46044
b32b8b45
UD
460452010-05-21 Ulrich Drepper <drepper@redhat.com>
46046
46047 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46048 symbol reference.
46049
9acbe24d
AS
460502010-05-19 Andreas Schwab <schwab@redhat.com>
46051
46052 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46053 symbol reference.
46054
f0ccf6ea
AS
460552010-05-21 Andreas Schwab <schwab@redhat.com>
46056
3d04ff3a
AS
46057 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46058 and internal_recvmmsg.
46059 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46060 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46061 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46062 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46063
f0ccf6ea
AS
46064 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46065 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46066 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46067
5b08ac57
AS
460682010-05-20 Andreas Schwab <schwab@redhat.com>
46069
46070 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46071
4828935d
LM
460722010-05-17 Luis Machado <luisgpm@br.ibm.com>
46073
46074 POWER7 optimizations.
46075 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46076 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46077
373d545e
UD
460782010-05-19 Ulrich Drepper <drepper@redhat.com>
46079
46080 * version.h: Update for 2.13 development version.
46081
21a2b1ae
AS
460822010-05-12 Andrew Stubbs <ams@codesourcery.com>
46083
46084 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46085 exceptions. Return 0.
46086
3f7dcb2b
RM
460872010-05-07 Roland McGrath <roland@redhat.com>
46088
46089 * elf/ldconfig.c (main): Add a const.
46090
5f24d53a 460912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46092
a160f8d8
UD
46093 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46094 (args_options): Add no-idn option.
46095 (ahosts_keys_int): Add idn_flags to ai_flags.
46096 (parse_option): Handle 'i' option to clear idn_flags.
46097
5f24d53a
UD
46098 * malloc/malloc.c (_int_free): Possible race in the most recently
46099 added check. Only act on the data if no current modification
46100 happened.
265bb1ce
UD
46101
46102See ChangeLog.17 for earlier changes.
This page took 6.669246 seconds and 5 git commands to generate.