]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix pthread.h in installed-headers list.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
38bbbb9f
SL
12014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2
3 * Makefile (installed-headers): Adjust path of pthread.h header.
4
45193bb8
RM
52014-06-13 Roland McGrath <roland@hack.frob.com>
6
9a25fd1e
RM
7 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11
4004f7e4
RM
12 * nptl/sysdeps/s390/Makefile: Moved ...
13 * sysdeps/s390/nptl/Makefile: ... here.
14 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
21 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
22 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
23 * sysdeps/s390/nptl/pthreaddef.h: ... here.
24 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
26 * nptl/sysdeps/s390/tls.h: Moved ...
27 * sysdeps/s390/nptl/tls.h: ... here.
28
45193bb8
RM
29 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31
f6fdf533
DM
322014-06-13 David S. Miller <davem@davemloft.net>
33
34 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
36 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
38 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
40 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
41 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
42 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
43 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
45 Remove RESET_PID cpp guards.
46 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
47 Remove RESET_PID cpp guards.
48 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
49
f5d71e14
AS
502014-06-13 Andreas Schwab <schwab@linux-m68k.org>
51
52 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
53 __sp to uintptr_t.
54
b7aa8caa
AK
552014-06-13 Andi Kleen <ak@linux.intel.com>
56
57 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
58 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
59 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
60 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
61 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
62 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
63 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
64 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
65 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
66 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
67 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
68 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
69 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
70 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
71 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
72 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
73 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
74 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
75 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
76 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
77
8491ed6d
AK
782014-06-13 Andi Kleen <ak@linux.intel.com>
79
80 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
81 (pthread_rwlock_rdlock): Add elision.
82 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
83 (pthread_rwlock_wrlock): Add elision.
84 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
85 (pthread_rwlock_trywrlock): Add elision.
86 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
87 (pthread_rwlock_tryrdlock): Add elision.
88 * nptl/pthread_rwlock_unlock.c: Include elide.h.
89 (pthread_rwlock_tryrdlock): Add elision unlock.
90 * nptl/sysdeps/pthread/pthread.h:
91 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
92 (PTHREAD_RWLOCK_INITIALIZER,
93 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
94 Handle new elision field.
95 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
96 * sysdeps/arm/nptl/bits/pthreadtypes.h
97 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
98 * sysdeps/sh/nptl/bits/pthreadtypes.h
99 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
100 * sysdeps/tile/nptl/bits/pthreadtypes.h
101 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
102 * sysdeps/a/nptl/bits/pthreadtypes.h
103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
104 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
106 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
107 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
108 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
109 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
110 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
111 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
112 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
113 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
114 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
115 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
116 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
117 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
118 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
119 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
120 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
121 (elision_init): Set try_xbegin to zero when no RTM.
122 * sysdeps/x86/nptl/bits/pthreadtypes.h
123 (pthread_rwlock_t): Change __pad1 to __rwelision.
124 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
125
a832bdd3
AK
1262014-06-13 Andi Kleen <ak@linux.intel.com>
127
128 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
129 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
130 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
131 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
132
995a46bb
MI
1332014-06-13 Meador Inge <meadori@codesourcery.com>
134
135 [BZ #16996]
03ed7738 136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
137 that the cached result has been set before returning it.
138
45262aee
RM
1392014-06-12 Roland McGrath <roland@hack.frob.com>
140
febf6cc5
RM
141 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
142 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
143 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
144 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
145 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
146 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
147
e2682246
RM
148 * nptl/sysdeps/sparc/Makefile: Moved ...
149 * sysdeps/sparc/nptl/Makefile: ... here.
150 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
151 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
152 * nptl/sysdeps/sparc/tls.h: Moved ...
153 * sysdeps/sparc/nptl/tls.h: ... here.
154 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
155 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
156 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
157 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
158 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
159 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
160 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
161 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
162 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
163 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
164 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
165 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
166 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
167 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
168 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
169 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
170 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
171 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
172 Update #include.
173 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
174 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
175 Update #include.
176 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
177 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
178 Update #include.
179 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
180 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
181 Update #include.
182
b0725f43
RM
183 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
184
b14368b8
RM
185 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
186 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
187
c5620eb3
RM
188 * sysdeps/pthread/posix-timer.h: Include <list.h>.
189 (struct list_links): Type removed.
190 (struct thread_node, struct timer_node): Replace struct list_links
191 with struct list_head.
192 (list_unlink_ip): Likewise.
193 * sysdeps/pthread/timer_routines.c
194 (timer_free_list, thread_free_list, thread_active_list): Likewise.
195 (list_append, list_insbefore): Likewise.
196 (list_init): Function removed.
197 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
198 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
199 * sysdeps/pthread/Makefile: ... here, new file.
200
201 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
202 * sysdeps/nptl/Implies: ... here.
203 * sysdeps/unix/sysv/linux/Implies: Add nptl.
204 * nptl/sysdeps/pthread/list.h: Moved ...
205 * include/list.h: ... here.
206 * nptl/sysdeps/pthread/createthread.c: Moved ...
207 * nptl/createthread.c: ... here.
208 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
209 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
210 * nptl/pt-longjmp.c: ... here.
211 * nptl/sysdeps/pthread/Makefile: Moved ...
212 * sysdeps/nptl/Makefile: ... here.
213 * nptl/sysdeps/pthread/Subdirs: Moved ...
214 * sysdeps/nptl/Subdirs: ... here.
215 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
216 * sysdeps/nptl/aio_misc.h: ... here.
217 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
218 * sysdeps/nptl/bits/libc-lock.h: ... here.
219 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
220 * sysdeps/nptl/bits/libc-lockP.h: ... here.
221 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
222 * sysdeps/nptl/bits/stdio-lock.h: ... here.
223 * nptl/sysdeps/pthread/configure: Moved ...
224 * sysdeps/nptl/configure: ... here.
225 * nptl/sysdeps/pthread/configure.ac: Moved ...
226 * sysdeps/nptl/configure.ac: ... here.
227 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
228 * sysdeps/nptl/gai_misc.h: ... here.
229 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
230 * sysdeps/nptl/librt-cancellation.c: ... here.
231 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
232 * sysdeps/nptl/malloc-machine.h: ... here.
233 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
234 * sysdeps/nptl/pthread-functions.h: ... here.
235 * nptl/sysdeps/pthread/pthread.h: Moved ...
236 * sysdeps/nptl/pthread.h: ... here.
237 * nptl/sysdeps/pthread/setxid.h: Moved ...
238 * sysdeps/nptl/setxid.h: ... here.
239 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
240 * sysdeps/nptl/sigfillset.c: ... here.
241 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
242 * sysdeps/nptl/tcb-offsets.h: ... here.
243 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
244 * sysdeps/nptl/tst-mqueue8x.c: ... here.
245 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
246 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
247 * nptl/sysdeps/pthread/allocalim.h: Moved ...
248 * sysdeps/pthread/allocalim.h: ... here.
249 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
250 * sysdeps/pthread/bits/sigthread.h: ... here.
251 * nptl/sysdeps/pthread/flockfile.c: Moved ...
252 * sysdeps/pthread/flockfile.c: ... here.
253 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
254 * sysdeps/pthread/ftrylockfile.c: ... here.
255 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
256 * sysdeps/pthread/funlockfile.c: ... here.
257 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
258 * sysdeps/pthread/posix-timer.h: ... here.
259 * nptl/sysdeps/pthread/timer_create.c: Moved ...
260 * sysdeps/pthread/timer_create.c: ... here.
261 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
262 * sysdeps/pthread/timer_delete.c: ... here.
263 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
264 * sysdeps/pthread/timer_getoverr.c: ... here.
265 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
266 * sysdeps/pthread/timer_gettime.c: ... here.
267 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
268 * sysdeps/pthread/timer_routines.c: ... here.
269 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
270 * sysdeps/pthread/timer_settime.c: ... here.
271 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
272 * sysdeps/pthread/tst-timer.c: ... here.
273 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
274 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
275
e876b090
RM
276 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
277 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
278
f6b07b3d
RM
279 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
280 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
281 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
282 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
283 Update #include target.
284 * nptl/sysdeps/i386/i686/Makefile: Moved ...
285 * sysdeps/i386/i686/nptl/Makefile: ... here.
286 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
287 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
288 Update #include target.
289 * nptl/sysdeps/i386/i686/tls.h: Moved ...
290 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
291 * nptl/sysdeps/i386/Makefile: Moved ...
292 * sysdeps/i386/nptl/Makefile: ... here.
293 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
294 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
295 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
296 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
297 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
298 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
299 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
300 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
301 * sysdeps/i386/nptl/pthreaddef.h: ... here.
302 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
303 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
304 * nptl/sysdeps/i386/tls.h: Moved ...
305 * sysdeps/i386/nptl/tls.h: ... here.
306
45262aee
RM
307 * sysdeps/sh/Makefile [$(subdir) = csu]
308 (gen-as-const-headers): Add tcb-offsets.sym.
309 * nptl/sysdeps/sh/Makefile: File removed.
310 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
311 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
312 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
313 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
314 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
315 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
316 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
317 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
318 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
319 * sysdeps/sh/nptl/pthreaddef.h: ... here.
320 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
321 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
322 * nptl/sysdeps/sh/tls.h: Moved ...
323 * sysdeps/sh/nptl/tls.h: ... here.
324 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
325 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
326 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
327 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
328 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
329 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
330 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
331 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
332 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
333 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
334 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
335 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
336 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
337 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
338 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
339 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
340 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
341 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
342 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
343 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
344 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
345 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
346 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
347 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
348 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
349 Moved ...
350 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
351 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
352 Moved ...
353 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
354 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
355 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
356 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
357 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
358 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
359 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
360 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
361 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
362 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
363 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
364 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
365 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
366 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
367 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
368 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
369 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
370 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
371 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
372
35a5e3e3
SL
3732014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
374
375 * posix/spawn_faction_addopen.c: Include string.h.
376
14642b85
RM
3772014-06-11 Roland McGrath <roland@hack.frob.com>
378
379 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
380 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
381 * nptl/sysdeps/x86_64/Makefile: Moved ...
382 * sysdeps/x86_64/nptl/Makefile: ... here.
383 * nptl/sysdeps/x86_64/configure: Moved ...
384 * sysdeps/x86_64/nptl/configure: ... here.
385 * nptl/sysdeps/x86_64/configure.ac: Moved ...
386 * sysdeps/x86_64/nptl/configure.ac: ... here.
387 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
388 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
389 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
390 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
391 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
392 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
393 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
394 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
395 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
396 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
397 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
398 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
399 * nptl/sysdeps/x86_64/tls.h: Moved ...
400 * sysdeps/x86_64/nptl/tls.h: ... here.
401 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
402 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
403 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
404 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
405
406 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
407
31c44fea
AZ
4082014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
409
410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
411
e81a4f9a
JM
4122014-06-11 Joseph Myers <joseph@codesourcery.com>
413
414 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
415 type.
416 [POSIX] (off_t): Likewise.
417 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
418 [POSIX] (S_ISBLK): Require macro.
419 [POSIX] (S_ISCHR): Likewise.
420 [POSIX] (S_ISDIR): Likewise.
421 [POSIX] (S_ISFIFO): Likewise.
422 [POSIX] (S_ISREG): Likewise.
423 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
424 optional-macro.
425 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
426 type.
427 [POSIX] (time_t): Likewise.
428 [POSIX] (timer_t): Likewise.
429
89e435f3
FW
4302014-06-11 Florian Weimer <fweimer@redhat.com>
431
432 [BZ #17048]
433 * posix/spawn_int.h (struct __spawn_action): Make the path string
434 non-const to support deallocation.
435 * posix/spawn_faction_addopen.c
436 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
437 * posix/spawn_faction_destroy.c
438 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
439 path in all spawn_do_open actions.
440 * posix/tst-spawn.c (do_test): Exercise the copy operation in
441 posix_spawn_file_actions_addopen.
442
c3a2ebe1
CM
4432014-06-11 Chris Metcalf <cmetcalf@tilera.com>
444
445 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
446 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
447 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
448 conditional code always true.
449 (__libc_vfork): New alias.
450
9503784a
RM
4512014-06-11 Roland McGrath <roland@hack.frob.com>
452
c9cab3d2
RM
453 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
454 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
455
d3996c79
RM
456 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
457
ba5ec611
RM
458 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
459 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
460
f12b4814
RM
461 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
462 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
463
9503784a
RM
464 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
465 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
466
e23d3d26
VR
4672014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
468
469 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
470 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
471 multiarch strcmp for PPC64.
472 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
473 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
475 multiarch optimizations.
476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
477 (__libc_ifunc_impl_list): Likewise.
478
42b1161e
SP
4792014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
480
481 * benchtests/scripts/validate_benchout.py: New script.
482 * benchtests/Makefile (bench-func): Call it.
483 * benchtests/scripts/benchout.schema.json: New file.
484
2d0fc4dc
CM
4852014-06-10 Chris Metcalf <cmetcalf@tilera.com>
486
4a594c34
AZ
487 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
488 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
489 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
490 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
491 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
492 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
493 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
494 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
495 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
496 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
497 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
498 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
499 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
500 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
501 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
502 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 504 Moved ...
4a594c34 505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 506 ... here.
4a594c34 507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 508 Moved ...
4a594c34
AZ
509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 511 Moved ...
4a594c34 512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 513 ... here.
4a594c34 514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 515 Moved ...
4a594c34 516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 517 ... here.
4a594c34 518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 519 Moved ...
4a594c34
AZ
520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 522 Moved ...
4a594c34 523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 524 ... here.
4a594c34 525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 526 Moved ...
4a594c34 527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 528 ... here.
4a594c34 529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 530 Moved ...
4a594c34
AZ
531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 533 Moved ...
4a594c34 534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 535 ... here.
4a594c34 536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 537 Moved ...
4a594c34 538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 539 ... here.
4a594c34 540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 541 Moved ...
4a594c34 542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 543 ... here.
4a594c34 544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 545 Moved ...
4a594c34
AZ
546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 548 Moved ...
4a594c34 549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 550 ... here.
4a594c34 551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 552 Moved ...
4a594c34 553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 554 ... here.
4a594c34 555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 556 Moved ...
4a594c34 557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 558 ... here.
4a594c34 559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 560 Moved ...
4a594c34
AZ
561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 563 Moved ...
4a594c34 564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 565 ... here.
4a594c34 566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 567 Moved ...
4a594c34 568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 569 ... here.
4a594c34 570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 571 Moved ...
4a594c34
AZ
572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 574 Moved ...
4a594c34 575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 576 ... here.
4a594c34 577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 578 Moved ...
4a594c34
AZ
579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 581 Moved ...
4a594c34
AZ
582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 584 Moved ...
4a594c34 585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 586 ... here.
4a594c34 587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 588 Moved ...
4a594c34 589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 590 ... here.
4a594c34 591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 592 Moved ...
4a594c34 593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 594 ... here.
4a594c34 595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 596 Moved ...
4a594c34
AZ
597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 599 Moved ...
4a594c34 600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 601 ... here.
4a594c34 602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 603 Moved ...
4a594c34 604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 605 ... here.
4a594c34
AZ
606 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
607 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
608 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
609 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
610 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 611 Moved ...
4a594c34 612 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 613 ... here.
4a594c34
AZ
614 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
615 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
616 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
617 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
618 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
619 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
620 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
621 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
622 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
623 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
624 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
625 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
626 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 627 Moved ...
4a594c34
AZ
628 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
629 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 630 Moved ...
4a594c34
AZ
631 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
632 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
633 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
634 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 635 Moved ...
4a594c34
AZ
636 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
637 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
638 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
639 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
640 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
641 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
642 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 643
0570cfed
W
6442014-06-10 Wilco <wdijkstr@arm.com>
645
646 * math/test-fenv-return.c: New file.
647 * math/Makefile: Add new test test-fenv-return.
648
f8ba1b56
JM
6492014-06-10 Joseph Myers <joseph@codesourcery.com>
650
651 [BZ #17042]
652 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
653 when x - 1 is zero.
654 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
655 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
656 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
657 0.0L for an argument of 1.0L.
658 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
659 Likewise.
660 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
661 value when x - 1 is zero.
662 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
663 * sysdeps/i386/fpu/libm-test-ulps: Update.
664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
665
2c3520d9
BO
6662014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
667
668 [BZ #15119]
669 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
670
acaa4d24
RM
6712014-06-09 Roland McGrath <roland@hack.frob.com>
672
673 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
674 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
675
962b744d
RM
6762014-06-09 Roland McGrath <roland@hack.frob.com>
677
d752f0cc
RM
678 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
679 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
680
34eda6d1
RM
681 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
682 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
683
50f0a637
RM
684 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
685 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
686
08f41f04
RM
687 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
688 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
689
962b744d
RM
690 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
691 if not already defined.
692 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
693 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
694 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
695 (TLS_INIT_TP): Use it.
696 (TLS_DEFINE_INIT_TP): New macro.
697 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
698
09f19b05
JM
6992014-06-09 Joseph Myers <joseph@codesourcery.com>
700
701 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
702 constant.
703 [POSIX] (IXANY): Likewise.
704 [POSIX] (OLCUC): Likewise.
705 [POSIX || POSIX2008] (CBAUD): Do not allow.
706 [POSIX || POSIX2008] (DEFECHO): Likewise.
707 [POSIX || POSIX2008] (ECHOCTL): Likewise.
708 [POSIX || POSIX2008] (ECHOKE): Likewise.
709 [POSIX || POSIX2008] (ECHOPRT): Likewise.
710 [POSIX || POSIX2008] (EXTA): Likewise.
711 [POSIX || POSIX2008] (EXTB): Likewise.
712 [POSIX || POSIX2008] (FLUSHO): Likewise.
713 [POSIX || POSIX2008] (LOBLK): Likewise.
714 [POSIX || POSIX2008] (PENDIN): Likewise.
715 [POSIX || POSIX2008] (SWTCH): Likewise.
716 [POSIX || POSIX2008] (VDISCARD): Likewise.
717 [POSIX || POSIX2008] (VDSUSP): Likewise.
718 [POSIX || POSIX2008] (VLNEXT): Likewise.
719 [POSIX || POSIX2008] (VREPRINT): Likewise.
720 [POSIX || POSIX2008] (VSTATUS): Likewise.
721 [POSIX || POSIX2008] (VWERASE): Likewise.
722 (B*): Change to B[0123456789]*.
723 * conform/data/time.h-data [POSIX || UNIX98]
724 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
725 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
726 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
727 [POSIX] (tm_*): Do not allow.
728
686554bf
JM
7292014-06-07 Joseph Myers <joseph@codesourcery.com>
730
731 * Makefile (install): Don't set LANGUAGE.
732 * Makefile.in (install): Likewise.
733 * assert/Makefile (test-assert-ENV): Remove variable.
734 (test-assert-perr-ENV): Likewise.
735 * elf/Makefile (neededtest4-ENV): Likewise.
736 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
737 [$(cross-compiling) = no]: Don't set LANGUAGE.
738 * io/ftwtest-sh (LANG): Remove variable.
739 * libio/Makefile (tst-widetext-ENV): Likewise.
740 * manual/install.texi (Running make install): Don't refer to
741 environment settings for make install.
742 * INSTALL: Regenerated.
743 * nptl/tst-tls6.sh: Don't set LANG.
744 * posix/globtest.sh (LANG): Remove variable.
745 * string/Makefile (tester-ENV): Likewise.
746 (inl-tester-ENV): Likewise.
747 (noinl-tester-ENV): Likewise.
748 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
749 [$(cross-compiling) = no]: Don't set LANGUAGE.
750 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
751 without explicit environment settings.
752
68e6b6b1
RM
7532014-06-06 Roland McGrath <roland@hack.frob.com>
754
755 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
756 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
757 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
758 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
759
4d3ae034
CM
7602014-06-06 Chris Metcalf <cmetcalf@tilera.com>
761
762 * crypt/crypt-private.h [DOS]: Add some includes taken from the
763 other files in the crypt directory.
764 * crypt/crypt.c: Remove duplicate includes.
765 * crypt/crypt-entry.c: Likewise.
766 * crypt/crypt_util.c: Likewise.
767
8540f6d2
JM
7682014-06-06 Joseph Myers <joseph@codesourcery.com>
769
770 * Makeconfig (run-program-env): New variable.
771 (run-program-prefix-before-env): Likewise.
772 (run-program-prefix-after-env): Likewise.
773 (run-program-prefix): Define in terms of new variables.
774 (built-program-cmd-before-env): New variable.
775 (built-program-cmd-after-env): Likewise.
776 (built-program-cmd): Define in terms of new variables.
777 (test-program-prefix-before-env): New variable.
778 (test-program-prefix-after-env): Likewise.
779 (test-program-prefix): Define in terms of new variables.
780 (test-program-cmd-before-env): New variable.
781 (test-program-cmd-after-env): Likewise.
782 (test-program-cmd): Define in terms of new variables.
783 * Rules (make-test-out): Use $(run-program-env).
784 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
785 (help): Do not mention environment variables. Mention
786 --timeoutfactor option.
787 (timeoutfactor): New variable.
788 (blacklist_exports): Remove function.
789 (exports): Remove variable.
790 (command): Do not include ${exports}.
791 * manual/install.texi (Configuring and compiling): Do not mention
792 test wrappers preserving environment variables. Mention that last
793 assignment to a variable must take precedence.
794 * INSTALL: Regenerated.
795 * benchtests/Makefile (run-bench): Use $(run-program-env).
796 * catgets/Makefile ($(objpfx)test1.cat): Use
797 $(built-program-cmd-before-env), $(run-program-env) and
798 $(built-program-cmd-after-env).
799 ($(objpfx)test2.cat): Do not specify environment variables
800 explicitly.
801 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
802 $(run-program-env) and $(built-program-cmd-after-env).
803 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
804 $(run-program-env) and $(test-program-cmd-after-env).
805 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
806 explicitly.
807 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
808 run_program_env and test_program_cmd_after_env arguments.
809 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
810 * elf/tst-pathopt.sh: Use run_program_env argument.
811 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
812 $(test-wrapper-env) and $(run-program-env).
813 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
814 run_program_env arguments.
815 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
816 * intl/Makefile ($(objpfx)tst-gettext.out): Use
817 $(test-program-prefix-before-env), $(run-program-env) and
818 $(test-program-prefix-after-env).
819 ($(objpfx)tst-gettext2.out): Likewise.
820 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
821 run_program_env and test_program_prefix_after_env arguments.
822 * intl/tst-gettext2.sh: Likewise.
823 * intl/tst-gettext4.sh: Do not set environment variables
824 explicitly.
825 * intl/tst-gettext6.sh: Likewise.
826 * intl/tst-translit.sh: Likewise.
827 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
828 $(test-program-prefix-before-env), $(run-program-env) and
829 $(test-program-prefix-after-env).
830 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
831 run_program_env and test_program_prefix_after_env arguments.
832 * math/Makefile (run-regen-ulps): Use $(run-program-env).
833 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
834 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
835 explicitly with each use of ${test_wrapper_env}.
836 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
837 $(test-program-prefix-before-env), $(run-program-env) and
838 $(test-program-prefix-after-env).
839 * posix/tst-getconf.sh: Do not set environment variables
840 explicitly.
841 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
842 run_program_env and test_program_prefix_after_env arguments.
843 * stdio-common/tst-printf.sh: Do not set environment variables
844 explicitly.
845 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
846 $(test-program-prefix-before-env), $(run-program-env) and
847 $(test-program-prefix-after-env).
848 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
849 run_program_env and test_program_prefix_after_env arguments.
850 Split $test calls into $test_pre and $test.
851 * timezone/Makefile (build-testdata): Use
852 $(built-program-cmd-before-env), $(run-program-env) and
853 $(built-program-cmd-after-env).
854
ed36bfa1
AZ
8552014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
856
857 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
858 strlen for non SHARED builds.
859
fc75bf46
SP
8602014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
861
862 * nptl/allocatestack.c (check_list): Inlined function...
863 (__reclaim_stacks): ... here.
864
d89b3d80
OB
8652014-06-05 Ondřej Bílka <neleai@seznam.cz>
866
867 [BZ #15698]
868 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
869 memory overrun.
870
2bf18041
JM
8712014-06-05 Joseph Myers <joseph@codesourcery.com>
872
873 * Rules (make-test-out): Include
874 LOCPATH=$(common-objpfx)localedata in default environment.
875 * debug/Makefile (tst-chk1-ENV): Remove variable.
876 (tst-chk2-ENV): Likewise.
877 (tst-chk3-ENV): Likewise.
878 (tst-chk4-ENV): Likewise.
879 (tst-chk5-ENV): Likewise.
880 (tst-chk6-ENV): Likewise.
881 (tst-lfschk1-ENV): Likewise.
882 (tst-lfschk2-ENV): Likewise.
883 (tst-lfschk3-ENV): Likewise.
884 (tst-lfschk4-ENV): Likewise.
885 (tst-lfschk5-ENV): Likewise.
886 (tst-lfschk6-ENV): Likewise.
887 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
888 (tst-iconv7-ENV): Likewise.
889 * intl/Makefile (LOCPATH-ENV): Likewise.
890 (tst-codeset-ENV): Likewise.
891 (tst-gettext3-ENV): Likewise.
892 (tst-gettext5-ENV): Likewise.
893 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
894 (tst-fopenloc-ENV): Likewise.
895 (tst-fgetws-ENV): Remove variable.
896 (tst-ungetwc1-ENV): Likewise.
897 (tst-ungetwc2-ENV): Likewise.
898 (bug-ungetwc2-ENV): Likewise.
899 (tst-swscanf-ENV): Likewise.
900 (bug-ftell-ENV): Likewise.
901 (tst-fgetwc-ENV): Likewise.
902 (tst-fseek-ENV): Likewise.
903 (tst-ftell-partial-wide-ENV): Likewise.
904 (tst-ftell-active-handler-ENV): Likewise.
905 (tst-ftell-append-ENV): Likewise.
906 * posix/Makefile (tst-fnmatch-ENV): Likewise.
907 (tst-regexloc-ENV): Likewise.
908 (bug-regex1-ENV): Likewise.
909 (tst-regex-ENV): Likewise.
910 (tst-regex2-ENV): Likewise.
911 (bug-regex5-ENV): Likewise.
912 (bug-regex6-ENV): Likewise.
913 (bug-regex17-ENV): Likewise.
914 (bug-regex18-ENV): Likewise.
915 (bug-regex19-ENV): Likewise.
916 (bug-regex20-ENV): Likewise.
917 (bug-regex22-ENV): Likewise.
918 (bug-regex23-ENV): Likewise.
919 (bug-regex25-ENV): Likewise.
920 (bug-regex26-ENV): Likewise.
921 (bug-regex30-ENV): Likewise.
922 (bug-regex32-ENV): Likewise.
923 (bug-regex33-ENV): Likewise.
924 (bug-regex34-ENV): Likewise.
925 (bug-regex35-ENV): Likewise.
926 (tst-rxspencer-ENV): Likewise.
927 (tst-rxspencer-no-utf8-ENV): Likewise.
928 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
929 (tst-sscanf-ENV): Likewise.
930 (tst-swprintf-ENV): Likewise.
931 (tst-swscanf-ENV): Likewise.
932 (test-vfprintf-ENV): Likewise.
933 (scanf13-ENV): Likewise.
934 (bug14-ENV): Likewise.
935 (tst-grouping-ENV): Likewise.
936 * stdlib/Makefile (tst-strtod-ENV): Likewise.
937 (tst-strtod3-ENV): Likewise.
938 (tst-strtod4-ENV): Likewise.
939 (tst-strtod5-ENV): Likewise.
940 (testmb2-ENV): Likewise./
941 * string/Makefile (tst-strxfrm-ENV): Likewise.
942 (tst-strxfrm2-ENV): Likewise.
943 (bug-strcoll1-ENV): Likewise.
944 (test-strcasecmp-ENV): Likewise.
945 (test-strncasecmp-ENV): Likewise.
946 * time/Makefile (tst-strptime-ENV): Likewise.
947 (tst-ftime_l-ENV): Likewise.
948 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
949 (tst-mbrtowc-ENV): Likewise.
950 (tst-wcrtomb-ENV): Likewise.
951 (tst-mbrtowc2-ENV): Likewise.
952 (tst-c16c32-1-ENV): Likewise.
953 (tst-mbsnrtowcs-ENV): Likewise.
954
cd1fb604
OB
9552014-06-05 Ondřej Bílka <neleai@seznam.cz>
956
957 * manual/resource.texi (How to get information about the memory
958 subsystem?): Fix typo.
959 Reported by Peon de la Parra Ivan <peon@keba.com>
960
b42eca7d
GY
9612014-06-03 Guo Yixuan <culu.gyx@gmail.com>
962
963 [BZ #16882]
964 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
965 (pthread_spin_lock): Branch out of spin loop to proper location.
966 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
967 (pthread_spin_lock): Likewise.
968
902b71f9
DM
969 * nptl/tst-spin4.c: New test.
970 * nptl/Makefile (tests): Add tst-spin4.
971
f9d2d032
AS
9722014-06-03 Andreas Schwab <schwab@suse.de>
973
974 [BZ #15946]
975 * resolv/res_send.c (send_dg): Reload file descriptor after
976 calling reopen.
977
cf7bfd28
SL
9782014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
979
980 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
981
111cc714
RH
9822014-06-03 Richard Henderson <rth@redhat.com>
983
89b4bd6b
RH
984 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
985 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
986 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
987 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
988 in the SAVE_PID block.
989 (__libc_vfork): New alias.
71840409 990 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 991
111cc714
RH
992 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
993 child in registers, not on the stack. Remove RESET_PID conditionals.
994 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
995
ccc39911
MS
9962014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
997
998 * sysdeps/aarch64/libm-test-ulps: Regenerate.
999
693096cc
W
10002014-06-03 Wilco <wdijkstr@arm.com>
1001
1002 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1003 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1004 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1005 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1006 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1007 Likewise.
1008
0b4366bc
W
10092014-06-03 Wilco <wdijkstr@arm.com>
1010
1011 * sysdeps/aarch64/fpu/math_private.h
1012 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1013 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1014 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1015 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1016 Fix declarations.
1017
8747cd03
KS
10182014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1019
1020 * crypt/crypt-private.h: Include ufc-crypt.h.
1021 (__b64_from_24bit): Declare extern.
1022 * crypt/crypt_util.c(__b64_from_24bit): New function.
1023 (b64t): New static const variable.
1024 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1025 (b64t): Remove variable.
1026 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1027 * crypt/sha256-crypt.c: Include crypt-private.h.
1028 (b64t): Remove variable.
1029 (__sha256_crypt_r): Remove b64_from_24bit and replace
1030 with __b64_from_24bit.
1031 * crypt/sha512-crypt.c: Likewise.
1032
d936d379
RM
10332014-06-02 Roland McGrath <roland@hack.frob.com>
1034
1035 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1036 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1037 Label the code __libc_vfork rather than __vfork.
1038 [!NOT_IN_libc] (vfork): Define as weak alias.
1039 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1040 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1041 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1042
9fa76613
SP
10432014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1044
1045 * malloc/malloc.c (malloc_info): Fix format specifier for
1046 n_mmaps.
1047
a88dadbe
W
10482014-06-02 Wilco <wdijkstr@arm.com>
1049
1050 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1051 FPCR write.
1052
c95b3011
W
10532014-06-02 Wilco <wdijkstr@arm.com>
1054
1055 [BZ #17009]
1056 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1057 Rewrite to reduce FPCR/FPSR accesses.
1058
6b4d7a90
DM
10592014-06-01 David S. Miller <davem@davemloft.net>
1060
1061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1062
30f3d07c
DM
10632014-05-31 David S. Miller <davem@davemloft.net>
1064
1065 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1066 to occur in round to nearest mode when |x| >= 2.0
1067
74f31c18
RH
10682014-05-30 Richard Henderson <rth@twiddle.net>
1069
f0712b54
RH
1070 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1071 (PSEUDO_RET_NOERRNO): Remove.
1072 (ret): Don't redefine.
1073 (ret_NOERRNO): Define in terms of ret.
1074 (ret_ERRVAL): Likewise.
1075
74f31c18
RH
1076 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1077 use of PSEUDO_RET; perform the error check directly.
1078
30477995
MM
10792014-05-30 Marko Myllynen <myllynen@redhat.com>
1080
1081 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1082 with __int128_t.
1083
62a58816
SP
10842014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1085
1086 * malloc/malloc (malloc_info): Fix formatting.
1087
4d653a59
SP
10882014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1089 Roland McGrath <roland@hack.frob.com>
1090
1091 * malloc/malloc (malloc_info): Also print mmapped statistics.
1092
5190c17f
RM
10932014-05-30 Roland McGrath <roland@hack.frob.com>
1094
1095 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1096 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1097
987c0269
OB
10982014-05-30 Ondřej Bílka <neleai@seznam.cz>
1099
1100 * malloc/malloc.c (malloc_info): Inline mi_arena.
1101
af4e8ef9
RH
11022014-05-29 Richard Henderson <rth@twiddle.net>
1103
1670e207
RH
1104 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1105 Remove comma before expanding ASM_ARGS_##nr.
1106 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1107 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1108 of ASM_ARGS_##nr.
1109 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1110 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1111 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1112 (ASM_ARGS_1): Add leading comma.
1113
11a28aee
RH
1114 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1115 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1116 to __errno_location.
1117 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1118 Remove the expected plt for __errno_location.
1119
a17e5ffb 1120 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 1121 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
1122 call to __read_tp.
1123
b5be4597
RH
1124 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1125 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1126 it and break it down.
1127 (DOCARGS_0, DOCARGS_1): Do nothing.
1128 (DOCARGS_2): Update to store into the new stack frame.
1129 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1130 (UNDOCARGS_1): Update to restore from the new stack frame.
1131 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1132 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1133
645d44ab
RH
1134 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1135 (SINGLE_THREAD_P): New parameter for result regno.
1136 (PSEUDO): Update to match; use cbz instead of beq.
1137
a8b4f04a
RH
1138 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1139 Use ENTRY to define the _nocancel entry point. Share the syscall
1140 and syscall error check paths with the cancel path.
1141 (PSEUDO_END): New.
1142
af4e8ef9
RH
1143 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1144 whitespace; tabs before and after asm mnemonics.
1145
26b0d2e1
EW
11462014-05-29 Eric Wong <normalperson@yhbt.net>
1147
1148 [BZ #15132]
1149 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1150 Call fstat64 or stat64 internally, depending on arguments passed.
1151 Replace stat buffer argument with file descriptor argument.
1152 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1153 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1154 Pass fd to __internal_statvfs instead of calling fstat64.
1155 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1156 Pass fd to __internal_statvfs64 instead of calling fstat64.
1157 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1158 Pass -1 to __internal_statvfs instead of calling stat64.
1159 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1160 Pass -1 to __internal_statvfs64 instead of calling stat64.
1161
1efe2bd9
RM
11622014-05-28 Roland McGrath <roland@hack.frob.com>
1163
0d3b7a19
RM
1164 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1165 that was previously under [RESET_PID].
1166 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1167
1efe2bd9
RM
1168 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1169 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1170
a6bea3ca
RM
11712014-05-27 Roland McGrath <roland@hack.frob.com>
1172
30b6629e
RM
1173 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1174
a6bea3ca
RM
1175 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1176 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1177
3dfb9a5c
OB
11782014-05-27 Ondřej Bílka <neleai@seznam.cz>
1179
1180 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1181
774f9285
AS
11822014-05-27 Andreas Schwab <schwab@suse.de>
1183
1184 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1185 TLS_INIT_TP macro.
1186 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1187 * elf/rtld.c (init_tls, dl_main): Likewise.
1188 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1189 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1190 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1191 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1192 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1193 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1194 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1195 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1196 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1197 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1198 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1199 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1200 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1201 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1202 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1203 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1204 * sysdeps/generic/tls.h: Update description.
1205
36ffe739
WN
12062014-05-27 Will Newton <will.newton@linaro.org>
1207
1208 [BZ #16990]
1209 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1210 and restore r2 rather than just restoring.
1211
2482ae43
SP
12122014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1213
1214 [BZ #16724]
1215 * libio/tst-ftell-append.c: New test case.
1216 * libio/Makefile (tests): Add test case.
1217 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1218 append mode.
1219 * libio/wfileops.c (do_ftell_wide): Likewise.
1220
3d1024e8
AZ
12212014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1222
bab90016
AZ
1223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1224
c7a8d667
AZ
1225 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1226 ...
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1229 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1230 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1231 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1232 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1233 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1234 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1235 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1236 Moved ...
1237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1238 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1239 Moved ...
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1241 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1242 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1243 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1244 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1245 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1246 ...
1247 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1248 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1249 Moved ...
1250 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1251 here.
1252 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1253 ...
1254 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1255 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1256 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1257
daee7851
AZ
1258 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1259 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1260 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1261 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1262
50a40819
AZ
1263 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1264 merge into ...
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1266 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1267 ...
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1269 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1270 ...
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1272 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1273 Moved ...
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1275 here.
1276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1277 Moved ...
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1279 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1280 Moved ...
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1282
8464c2a1
AZ
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1284 conditional [RESET_PID].
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1286 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1287 removed.
1288 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1289 removed.
1290
3d1024e8
AZ
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1292 <tcb-offsets.h>.
1293 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1294 (__libc_vfork): New strong alias.
1295 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1296 removed.
1297 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1298 Removed.
1299
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1301 <tcb-offsets.h>.
1302 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1303 (__libc_vfork): New strong alias.
1304 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1305 removed.
1306 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1307 removed.
1308
fdfd175d
CD
13092014-05-26 Carlos O'Donell <carlos@redhat.com>
1310
1311 * malloc/malloc.c (mi_arena): New function.
1312 (malloc_info): Remove nested function mi_arena. Call non-nosted
1313 function mi_arena.
1314
d298c416
AZ
13152014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1316
1317 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1318 by insrwi.
1319 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1320 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1321 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1322 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1323 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1324 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1325 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1326
b60ea6ff
AS
13272014-05-26 Andreas Schwab <schwab@suse.de>
1328
1329 [BZ #16984]
1330 * locale/programs/repertoire.c (repertoire_read): Add slash
1331 between I18NPATH element and file name.
1332 * locale/programs/locfile.c (locfile_read): Likewise.
1333
67365926
SL
13342014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1335
1336 * nptl/pthread_mutexattr_settype.c
1337 (__pthread_mutexattr_settype):
1338 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1339
f8bdf1f0
SL
13402014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1341
1342 * nptl/tst-mutex5 (do_test):
1343 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1344
15eaf6ff
SP
13452014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1346
1347 * benchtests/README: Document 'init' directive.
1348 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1349 BENCH_INIT.
1350 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1351 (parse_file): Recognize 'init' directive.
1352
75f11331
KM
13532014-05-26 Kyle McMartin <kyle@redhat.com>
1354
1355 [BZ #16796]
1356 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1357 alignment of struct pthread.
1358
c3ec475c
SP
13592014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1360
1361 [BZ #16878]
1362 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1363 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1364 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1365 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1366
82aab97c
RH
13672014-05-25 Richard Henderson <rth@twiddle.net>
1368
aa2f176d
RH
1369 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1370 (SINGLE_THREAD_P_PIC): Remove.
1371 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1372 (SINGLE_THREAD_P_PIC): Remove.
1373
ca3cfa40
RH
1374 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1375 branch to syscall error ...
1376 (PSEUDO): ... here.
1377 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1378 from __local_syscall_error to .Lsyscall_error.
1379 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1380 (SYSCALL_ERROR): Update label name.
1381
6e6c2d01
RH
1382 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1383 Do not use DOARGS/UNDOARGS.
1384 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1385 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1386 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1387 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1388 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1389
c69abcee
RH
1390 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1391 block comment.
1392
82aab97c
RH
1393 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1394 define if !NOT_IN_libc.
1395 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1396 define with non-default symbol versions.
1397
8820e3ac
RH
13982014-05-23 Richard Henderson <rth@twiddle.net>
1399
900e445f
RH
1400 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1401 (vfork, __vfork): Define via compat_symbol.
1402
8820e3ac
RH
1403 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1404 [!HAVE_IFUNC] (vfork_compat): Remove.
1405 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1406
e59252a5
JM
14072014-05-23 Joseph Myers <joseph@codesourcery.com>
1408
1409 [BZ #16978]
1410 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1411 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1412 variable.
1413
132c7f5f
RH
14142014-05-23 Richard Henderson <rth@twiddle.net>
1415
bc89e962
RH
1416 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1417 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1418 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1419 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1420
1421 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1422 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1423 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1424 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1425 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1426 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1427 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1428 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1429 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1430 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1431 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1432 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1433 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1434 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1435 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1436 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1437 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1440 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1442 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1444 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1445 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1446 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1448 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1450 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1453 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1454 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1456 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1457 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1458 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1459 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1460 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1461 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1462 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1463 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1464 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1465 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1466 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1467 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1468 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1469 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1470 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1471 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1472 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1473 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1474 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1475 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1476 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1477
e2fa4bc2
RH
1478 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1479 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1480 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1481 before exiting on error.
1482 (__libc_vfork): New strong alias.
1483 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1484 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1485
279b24e2
RH
1486 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1487 that was previously under [RESET_PID].
1488 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1489
132c7f5f
RH
1490 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1491
b72592e7
JM
14922014-05-23 Joseph Myers <joseph@codesourcery.com>
1493
1494 [BZ #16977]
1495 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1496 value when x - 1 is zero.
1497 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1498 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1499 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1500 0.0L for an argument of 1.0L.
1501 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1502 Likewise.
1503 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1504 value when x - 1 is zero.
1505 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1506 * sysdeps/i386/fpu/libm-test-ulps: Update.
1507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1508
2302d679
RV
15092014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1510
1511 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1512 alphasort and versionsort.
1513
32999d63
AZ
15142014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1515
1516 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1517 macro.
1518 [copysignf]: Likewise.
1519
019324d0
SP
15202014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1521
1522 * crypt/md5-crypt.c: Fix formatting.
1523
34fff5c2
KS
15242014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1525
1526 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1527 (b64_from_24bit): New function.
1528
3d2badac
AZ
15292014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1530
1531 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1532 libc_hidden_builtin_def to ifunc.
1533 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1534 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1535
f7bb179f 15362014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
1537
1538 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1539 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1540
4134b50d
JM
15412014-05-21 Joseph Myers <joseph@codesourcery.com>
1542
bb7d0337
JM
1543 * nscd/Depend (linuxthreads): Remove.
1544 (nptl): Add.
1545 * resolv/Depend (linuxthreads): Remove.
1546 * rt/Depend (linuxthreads): Remove.
1547
4134b50d
JM
1548 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1549 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1550 $(common-objpfx)elf/.
1551 (link-libc-before-gnulib): Likewise.
1552 (elfobjdir): Remove variable.
1553 * Makefile (install): Use $(elf-objpfx) instead of
1554 $(common-objpfx)elf/.
1555 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1556 $(elfobjdir)/.
1557 (link-libc-deps): Likewise.
1558 ($(common-objpfx)libc.so): Likewise.
1559 ($(common-objpfx)linkobj/libc.so): Likewise.
1560 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1561 instead of $(common-objpfx)elf/.
1562 (symbolic-link-list): Likewise.
1563 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1564 [$(cross-compiling) = no]: Likewise.
1565 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1566 $(elfobjdir)/.
1567 (static-gnulib-arch): Likewise.
1568 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1569 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1570 $(common-objpfx)elf/.
1571
3612eb8f
RH
15722014-05-21 Richard Henderson <rth@redhat.com>
1573
a6b3657b
RH
1574 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1575 (SINGLE_THREAD_P): Use the correct width load. Fold
1576 into the ldr offset.
1577
3612eb8f
RH
1578 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1579 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1580
175cef41
JM
15812014-05-20 Joseph Myers <joseph@codesourcery.com>
1582
1583 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1584 (libgcc_s_resume): Use __attribute_used__.
1585 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1586 Likewise.
1587
e13bccd3
AZ
15882014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1589
1590 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1591 optimization when used with float constants.
1592
7c112a38
AZ
1593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1594
ae75a883
AJ
15952014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1596
1597 [BZ #16915]
1598 * locale/nl_langinfo_l.c: Make direct reference to every
1599 _nl_current_CATEGORY symbol.
1600 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1601 (tests-static): Add tst-langinfo-static.
1602 (tests-special): Add tst-langinfo-static.out.
1603 ($(objpfx)tst-langinfo.out): Redirect output.
1604 ($(objpfx)tst-langinfo-static.out): New.
1605 * localedata/tst-langinfo.sh: Send output to stdout.
1606 * localedata/tst-langinfo-static.c: New file.
1607
4406c41c
AJ
1608 [BZ #16965]
1609 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1610 when the shift amount is modulo the limb size.
1611
4c0a1e63
RH
16122014-05-20 Richard Henderson <rth@redhat.com>
1613
de9d8f20
RH
1614 [BZ #16967]
1615 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1616 Change type of sa_flags from unsigned int to int.
1617
4c0a1e63
RH
1618 [BZ #16966]
1619 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
1620
1621 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1622
a60339aa
WN
16232014-05-20 Will Newton <will.newton@linaro.org>
1624
1625 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1626 Test the return value of the system call in the nocancel case.
1627
7d05a816
YR
16282014-05-20 Will Newton <will.newton@linaro.org>
1629 Yvan Roux <yvan.roux@linaro.org>
1630
1631 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1632 #include of asm/ptrace.h.
1633 (PTRACE_GET_THREAD_AREA): Remove #undef.
1634 (PTRACE_GETHBPREGS): Likewise.
1635 (PTRACE_SETHBPREGS): Likewise.
1636 (struct user_regs_struct): New structure.
1637 (struct user_fpsimd_struct): New structure.
1638 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1639 #include of asm/ptrace.h and second #include of sys/user.h.
1640 (PTRACE_GET_THREAD_AREA): Remove #undef.
1641 (PTRACE_GETHBPREGS): Likewise.
1642 (PTRACE_SETHBPREGS): Likewise.
1643 (ELF_NGREG): Use new struct user_regs_struct.
1644 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1645
af121e37
AZ
16462014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1647
1648 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1649 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1650
834caf06
JM
16512014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1652
1653 [BZ #16958]
1654 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1655 membar to avoid block loads/stores to overlap previous stores.
1656
e184a918
RH
16572014-05-17 Richard Henderson <rth@redhat.com>
1658
1659 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1660 Create the __##syscall_name##_nocancel entry point.
1661 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1662 Remove; let the sysdep-cancel.h code create it.
1663
f56c7a6a
DM
16642014-05-17 David S. Miller <davem@davemloft.net>
1665
1666 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1667 Protect with __USE_GNU.
1668 (TIOCSET_TEMPT): Likewise.
1669 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1670 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1671 these are already provided in bits/ioctl-types.h
1672
f75616b2
RM
16732014-05-16 Roland McGrath <roland@hack.frob.com>
1674
3edeca86
RM
1675 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1676 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1677
f75616b2
RM
1678 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1679 Use wait4 regardless of [__NR_waitpid].
1680
deb0f7f6
MR
16812014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1682
1683 PR libgcc/60166
1684 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1685 (_FP_NANSIGN_Q): Set the quiet bit.
1686
79520f4b
JM
16872014-05-16 Joseph Myers <joseph@codesourcery.com>
1688
1689 * benchtests/Makefile
1690 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1691 not $(common-objpfx)math/libm.so.
1692 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1693 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1694 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1695 $(common-objpfx)dlfcn/libdl.so.
1696 ($(objpfx)tst-audit8): Depend on $(libm), not
1697 $(common-objpfx)math/libm.so.
1698 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1699 not $(common-objpfx)dlfcn/libdl.so.
1700 * math/Makefile
1701 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1702 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1703 [$(build-shared) = yes].
1704 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1705 $(common-objpfx)nptl/libpthread.so.
1706 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1707 $(common-objpfx)math/libm.so$(libm.so-version) or
1708 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1709 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1710 $(common-objpfx)dlfcn/libdl.so.
1711 * setjmp/Makefile (link-libm): Remove variable.
1712 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1713 * stdio-common/Makefile (link-libm): Remove variable.
1714 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1715 * stdlib/Makefile (link-libm): Remove variable.
1716 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1717 ($(objpfx)tst-strtod-round): Likewise.
1718 ($(objpfx)tst-tininess): Likewise.
1719 ($(objpfx)tst-strtod-underflow): Likewise.
1720 ($(objpfx)tst-strtod6): Likewise.
1721 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1722 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1723 $(common-objpfx)dlfcn/libdl.so.
1724
026b0fe4
AZ
17252014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1726
1727 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1728 BSD terminal modes definitions.
1729
def4bcb2
RM
17302014-05-16 Roland McGrath <roland@hack.frob.com>
1731
fe39b021
RM
1732 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1733 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1734
1d1fc46e 1735 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1736 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1737 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1738 Don't do #include_next.
1739 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1740 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1741 Don't do #include_next.
1742 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1743 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1744 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1745 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1746
c72399fb
AM
17472014-05-16 Allan McRae <allan@archlinux.org>
1748
d51d659d
AM
1749 * po/sv.po: Update Swedish translation from translation project.
1750
c72399fb
AM
1751 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1752 in sed expression.
1753
d0583c40
AJ
17542014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1755
1756 [BZ #16917]
1757 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1758 errno if the TIOCGPTN ioctl fails with an error different than
1759 EINVAL.
1760 * login/tst-ptsname.c: New file.
1761 * login/Makefile (tests): Add tst-ptsname.
1762
d16e6ec7
AJ
1763 [BZ #16943]
1764 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1765 and prlimit64.
1766
cf26a0cb
SP
17672014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1768
1769 [BZ #16849]
1770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1771 herrno to return EAI_AGAIN.
1772
5675da1e
RM
17732014-05-14 Roland McGrath <roland@hack.frob.com>
1774
a5d87b3d
RM
1775 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1776 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1777 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1778 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1779 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1780 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1781 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1782 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1783 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1784 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1785 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1786 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1787 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1788 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1789 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1790 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1792 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1793 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1794 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1795 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1796 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1797 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1798 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1799 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1800 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1801 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1802 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1803 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1804 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1806 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1808 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1810 Moved ...
1811 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1813 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1815 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1817 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1819 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1821 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1823 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1825 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1827 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1829 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1831 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1833 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1835 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1837 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1839 Moved ...
1840 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1842 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1844 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1846 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1848 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1850 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1852 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1854 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1856 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1858 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1860 Moved ...
1861 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1863 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1864
039890a6
RM
1865 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1866 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1867 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1868 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1869 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1870 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1871 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1872 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1873 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1874 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1875 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1876 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1877 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1878 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1879 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1880 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1881 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1882 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1883 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1884 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1885 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1886 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1887 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1888 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1889 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1890 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1891 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1892 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1893 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1894 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1895 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1896
65c89320
RM
1897 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1898 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1899
348f8e8c
RM
1900 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1901 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1902 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1904 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1906 Moved ...
1907 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1908 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1909 Moved ...
1910 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1912 Moved ...
1913 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1914 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1915 Moved ...
1916 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1918 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1919 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1920 Moved ...
1921 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1922 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1923 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1924 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1925 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1926 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1927 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1928 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1929 Moved ...
1930 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1931 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1932 Moved ...
1933 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1934 ... here.
1935 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1936 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1937 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1938 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1939 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1940 Moved ...
1941 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1942 ... here.
1943 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1944 Moved ...
1945 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1946 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1947 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1948 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1949 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1950 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1951 Moved ...
1952 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1953 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1954 Moved ...
1955 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1956 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1957 Moved ...
1958 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1959 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1960 Moved ...
1961 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1962 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1963 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1964 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1965 Moved ...
1966 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1967 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1968 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1969 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1970 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1971 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1972 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1973 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1974 Moved ...
1975 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1976 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1977 Moved ...
1978 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1979 ... here.
1980 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1981 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1982 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1983 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1984 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1985 Moved ...
1986 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1987 ... here.
1988 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1989 Moved ...
1990 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1991 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1992 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1993 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1994 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1995 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1996 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1997 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1998 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1999 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2000 Moved ...
2001 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2002 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2003 Moved ...
2004 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2005 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2006 Moved ...
2007 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2009 Moved ...
2010 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2011 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2012 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2013 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2014 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2015 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2016 Moved ...
2017 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2018 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2019 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2020 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2021 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2022 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2023 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2024 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2025 Moved ...
2026 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2027 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2028 Moved ...
2029 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2030 ... here.
2031 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2032 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2033 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2034 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2035 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2036 Moved ...
2037 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2038 ... here.
2039 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2040 Moved ...
2041 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2042 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2043 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2044 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2045 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2046 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2047 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2049 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2050 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2051 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2052
5085af05
RM
2053 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2054 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2055
708f0813
RM
2056 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2057 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2058
c96067bc
RM
2059 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2060 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2061 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2062 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2063 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2064 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2065 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2066 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2067 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2068 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2069 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2070 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2071 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2072 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2073 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2074 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2075 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2076 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2077 Moved ...
2078 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2079 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2080 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2081 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2082 Moved ...
2083 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2084 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2085 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2087 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2089 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2090 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2091 Moved ...
2092 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2093 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2094 Moved ...
2095 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2096 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2097 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2098 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2099 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2100 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2101 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2102 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2103 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2104 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2105 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2106 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2107 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2108 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2109 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2110 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2111 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2112
ec136444
RM
2113 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2114 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2115 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2116 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2117 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2118
2fbdf533
RM
2119 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2120 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2121 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2122 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2123 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2124 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2125 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2126 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2127 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2128 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2129
4c68138b
RM
2130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2131 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2132
4eaae765
RM
2133 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2134 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
2135 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2136 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2137 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2138 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2139 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2140 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2141 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2142 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2143 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2144 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2145 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2146 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2147 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2148 Update #include.
2149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2150 Likewise.
2151 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2152 Likewise.
2153 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2154 Likewise.
2155 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2156 Likewise.
2157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2158 Likewise.
2159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2160 Likewise.
2161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2162 Likewise.
2163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2164 Likewise.
2165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2166 Likewise.
4ef6befa
RM
2167 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2168 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2169 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2170 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2171 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2172 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2173 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2174 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2175 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2176 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2177 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2178 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2179 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2180 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2181 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2182
941d7dfd
RM
2183 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2184 that was previously under [RESET_PID].
2185 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2186 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2187 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2188
1b731c35
RM
2189 * sysdeps/i386/nptl/Implies: New file.
2190 * sysdeps/x86_64/nptl/Implies: New file.
2191 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2192 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2193 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2194 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2195
e2787137
RM
2196 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2197 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2198 (__libc_vfork): New strong alias.
2199 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2200 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2201
2202 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2203 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2204 (__libc_vfork): New strong alias.
2205 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2206 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2207
5675da1e
RM
2208 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2209 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2210 (__libc_vfork): New strong alias.
2211 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2212 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2213 * nptl/pt-vfork.c: New file.
2214 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2215 (libpthread: GLIBC_2.20): New version set (empty).
2216
4f02e2b8
WN
22172014-05-14 Will Newton <will.newton@linaro.org>
2218
2219 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2220 rather than #if.
2221
0bf061d3
JM
22222014-05-14 Joseph Myers <joseph@codesourcery.com>
2223
1a84c3d6
JM
2224 [BZ #16564]
2225 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2226 arguments with exponent 65 or above.
2227 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2228 arguments 0x1p113L or above.
2229 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2230 to arguments 0x1p107L or above.
2231 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2232 positive arguments with exponent 65 or above.
2233 * math/auto-libm-test-in: Add more tests of log1p.
2234 * math/auto-libm-test-out: Regenerated.
2235
01dbacd2
JM
2236 [BZ #16928]
2237 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2238 non-finite arguments is +0.
2239 * math/s_cacosf.c (__cacosf): Likewise.
2240 * math/s_cacosl.c (__cacosl): Likewise.
2241 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2242 * sysdeps/i386/fpu/libm-test-ulps: Update.
2243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2244
913d03c8
JM
2245 [BZ #16927]
2246 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2247 value.
2248 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2249 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2250 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2251 for explicit high bit of mantissa when testing for argument equal
2252 to 1.
2253 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2254 * sysdeps/i386/fpu/libm-test-ulps: Update.
2255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2256
0bf061d3
JM
2257 [BZ #16516]
2258 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2259 (__erf): Scale by 16 instead of 8 in potentially underflowing
2260 case. Ensure exception if result actually underflows.
2261 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2262 (__erff): Scale by 16 instead of 8 in potentially underflowing
2263 case. Ensure exception if result actually underflows.
2264 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2265 (efx8): Remove variable.
2266 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2267 case. Ensure exception if result actually underflows.
2268 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2269 (efx8): Remove variable.
2270 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2271 case. Ensure exception if result actually underflows.
2272 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2273 (efx8): Remove variable.
2274 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2275 case. Ensure exception if result actually underflows.
2276 * math/auto-libm-test-in: Add more tests of erf.
2277 * math/auto-libm-test-out: Regenerated.
2278
73ba67cb
AS
22792014-05-14 Andreas Schwab <schwab@suse.de>
2280
3d8c8bff
AS
2281 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2282 Remove code conditionalized on USE___THREAD.
2283
73ba67cb
AS
2284 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2285 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2286 not definedness.
2287
5c521ecd
JM
22882014-05-14 Joseph Myers <joseph@codesourcery.com>
2289
5e7698c6
JM
2290 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2291 Define unconditionally.
2292 (__ASSUME_O_CLOEXEC): Likewise.
2293 (__ASSUME_SOCK_CLOEXEC): Likewise.
2294 (__ASSUME_IN_NONBLOCK): Likewise.
2295 (__ASSUME_PIPE2): Likewise.
2296 (__ASSUME_EVENTFD2): Likewise.
2297 (__ASSUME_SIGNALFD4): Likewise.
2298 (__ASSUME_DUP3): Likewise.
2299 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2300 (__ASSUME_DUP3): Do not define.
2301 (__ASSUME_EVENTFD2): Likewise.
2302 (__ASSUME_IN_NONBLOCK): Likewise.
2303 (__ASSUME_O_CLOEXEC): Likewise.
2304 (__ASSUME_PIPE2): Likewise.
2305 (__ASSUME_SIGNALFD4): Likewise.
2306 (__ASSUME_SOCK_CLOEXEC): Likewise.
2307 (__ASSUME_UTIMES): Undefine.
2308 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2309 (__ASSUME_UTIMES): Do not define.
2310 (__ASSUME_O_CLOEXEC): Likewise.
2311 (__ASSUME_SOCK_CLOEXEC): Likewise.
2312 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2313 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2314 0x020621].
2315 (__ASSUME_PIPE2): Likewise.
2316 (__ASSUME_EVENTFD2): Likewise.
2317 (__ASSUME_SIGNALFD4): Likewise.
2318 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2319 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2320 Do not define.
2321 (__ASSUME_EVENTFD2): Likewise.
2322 (__ASSUME_SIGNALFD4): Likewise.
2323 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2324 (__ASSUME_32BITUIDS): Likewise.
2325 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2326 (__ASSUME_IPC64): Likewise.
2327 (__ASSUME_ST_INO_64_BIT): Likewise.
2328 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2329 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2330 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2331 (__ASSUME_UTIMES): Do not define.
2332 (__ASSUME_PSELECT): Likewise.
2333 (__ASSUME_PPOLL): Likewise.
2334 (__ASSUME_O_CLOEXEC): Likewise.
2335 (__ASSUME_SOCK_CLOEXEC): Likewise.
2336 (__ASSUME_IN_NONBLOCK): Likewise.
2337 (__ASSUME_PIPE2): Likewise.
2338 (__ASSUME_EVENTFD2): Likewise.
2339 (__ASSUME_SIGNALFD4): Likewise.
2340 (__ASSUME_DUP3): Likewise.
2341 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2342 (__ASSUME_UTIMES): Likewise.
2343 (__ASSUME_O_CLOEXEC): Likewise.
2344 (__ASSUME_SOCK_CLOEXEC): Likewise.
2345 (__ASSUME_IN_NONBLOCK): Likewise.
2346 (__ASSUME_PIPE2): Likewise.
2347 (__ASSUME_EVENTFD2): Likewise.
2348 (__ASSUME_SIGNALFD4): Likewise.
2349 (__ASSUME_DUP3): Likewise.
2350 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2351 (__ASSUME_UTIMES): Likewise.
2352 (__ASSUME_O_CLOEXEC): Likewise.
2353 (__ASSUME_SOCK_CLOEXEC): Likewise.
2354 (__ASSUME_IN_NONBLOCK): Likewise.
2355 (__ASSUME_PIPE2): Likewise.
2356 (__ASSUME_EVENTFD2): Likewise.
2357 (__ASSUME_SIGNALFD4): Likewise.
2358 (__ASSUME_DUP3): Likewise.
2359 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2360 Likewise.
2361 (__ASSUME_UTIMES): Likewise.
2362 (__ASSUME_EVENTFD2): Likewise.
2363 (__ASSUME_SIGNALFD4): Likewise.
2364 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2365 (__ASSUME_O_CLOEXEC): Likewise.
2366 (__ASSUME_SOCK_CLOEXEC): Likewise.
2367 (__ASSUME_IN_NONBLOCK): Likewise.
2368 (__ASSUME_PIPE2): Likewise.
2369 (__ASSUME_EVENTFD2): Likewise.
2370 (__ASSUME_SIGNALFD4): Likewise.
2371 (__ASSUME_DUP3): Likewise.
2372 (__ASSUME_UTIMES): Undefine.
2373
5c521ecd
JM
2374 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2375 feclearexcept. Remove symbol versioning code.
2376 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2377 symbol versioning code.
2378 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2379 symbol versioning code.
2380 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2381 feupdateenv. Remove symbol versioning code.
2382 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2383 fegetexceptflag. Remove symbol versioning code.
2384 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2385 fesetexceptflag. Remove symbol versioning code.
2386 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2387 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2388 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2389 (__posix_fadvise64_l32): Remove prototype.
2390 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2391 code.
2392
5da9dfad
RM
23932014-05-13 Roland McGrath <roland@hack.frob.com>
2394
2395 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2396 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2397 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2398 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2399
893b4f37
SK
24002014-05-13 Sami Kerola <kerolasa@iki.fi>
2401
2402 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2403 current working directory
2404
e0db6517
RM
24052014-05-13 Roland McGrath <roland@hack.frob.com>
2406
58aa195d
RM
2407 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2408 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2409 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2410 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2411 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2412 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2413 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2414 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2416 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2420 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2421 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2422 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2423 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2424 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2425 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2426 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2427 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2428 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2429 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2430 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2431 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2432 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2433 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2434 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2435 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2436 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2437 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2438 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2439 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2440 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2441 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2442 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2443 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2444 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2445 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2446 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2447 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2448 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2449
8c6d01f0
RM
2450 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2451 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2452
2453 * sysdeps/unix/sysv/linux/arm/Makefile
2454 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2455 Add rt-aeabi_unwind_cpp_pr1.
2456 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2457 Add nptl-aeabi_unwind_cpp_pr1.
2458 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2459 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2460 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2461 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2462 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2463 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2464
2465 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2466 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2467 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2468 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2469
bba6da4e
RM
2470 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2471 Deconditionalize the code that was previously under [RESET_PID].
2472 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2473
e0db6517
RM
2474 * sysdeps/generic/exit-thread.h: New file.
2475 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2476 * include/unistd.h (__exit_thread): Remove declaration.
2477 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2478 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2479 * csu/libc-start.c: Include <exit-thread.h>.
2480 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2481 * nptl/pthread_create.c: Include <exit-thread.h>.
2482 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2483 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2484 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2485 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2486 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2487 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2488 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2489 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2490 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2491 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2492 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2493 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2494 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2495 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2496 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2497 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2498 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2499
01eb16fd
AS
25002014-05-13 Andreas Schwab <schwab@suse.de>
2501
2502 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2503
637461d9
JM
25042014-05-12 Joseph Myers <joseph@codesourcery.com>
2505
2506 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2507 (__ASSUME_UTIMES): Do not condition on kernel version.
2508 (__ASSUME_PSELECT): Define unconditionally.
2509 (__ASSUME_PPOLL): Likewise.
2510 (__ASSUME_ATFCTS): Likewise.
2511 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2512 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2513 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2514 (__ASSUME_UTIMENSAT): Define unconditionally.
2515 (__ASSUME_PRIVATE_FUTEX): Likewise.
2516 (__ASSUME_FALLOCATE): Likewise.
2517 (__ASSUME_O_CLOEXEC): Likewise.
2518 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2519 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2520 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2521 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2522 (__ASSUME_IN_NONBLOCK): Likewise.
2523 (__ASSUME_PIPE2): Likewise.
2524 (__ASSUME_EVENTFD2): Likewise.
2525 (__ASSUME_SIGNALFD4): Likewise.
2526 (__ASSUME_DUP3): Likewise.
2527 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2528 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2529 (__ASSUME_AT_RANDOM): Likewise.
2530 (__ASSUME_PREADV): Likewise.
2531 (__ASSUME_PWRITEV): Likewise.
2532 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2533 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2534 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2535 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2536 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2537 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2538 (__ASSUME_O_CLOEXEC): Define unconditionally.
2539 (__ASSUME_PSELECT): Do not undefine conditionally.
2540 (__ASSUME_PPOLL): Likewise.
2541 (__ASSUME_ATFCTS): Likewise.
2542 (__ASSUME_SET_ROBUST_LIST): Likewise.
2543 (__ASSUME_UTIMENSAT): Likewise.
2544 (__ASSUME_FDATASYNC): Define unconditionally.
2545 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2546 (__ASSUME_SIGFRAME_V2): Likewise.
2547 )__ASSUME_EVENTFD2): Likewise.
2548 (__ASSUME_SIGNALFD4): Likewise.
2549 (__ASSUME_PSELECT): Do not undefine conditionally.
2550 (__ASSUME_PPOLL): Likewise.
2551 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2552 (__ASSUME_PSELECT): Define unconditionally.
2553 (__ASSUME_PPOLL): Likewise.
2554 (__ASSUME_O_CLOEXEC): Likewise.
2555 (__ASSUME_SOCK_CLOEXEC): Likewise.
2556 (__ASSUME_IN_NONBLOCK): Likewise.
2557 (__ASSUME_PIPE2): Likewise.
2558 (__ASSUME_EVENTFD2): Likewise.
2559 (__ASSUME_SIGNALFD4): Likewise.
2560 (__ASSUME_DUP3): Likewise.
2561 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2562 (__ASSUME_O_CLOEXEC): Likewise.
2563 (__ASSUME_SOCK_CLOEXEC): Likewise.
2564 (__ASSUME_IN_NONBLOCK): Likewise.
2565 (__ASSUME_PIPE2): Likewise.
2566 (__ASSUME_EVENTFD2): Likewise.
2567 (__ASSUME_SIGNALFD4): Likewise.
2568 (__ASSUME_DUP3): Likewise.
2569 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2570 (__ASSUME_EVENTFD2): Likewise.
2571 (__ASSUME_SIGNALFD4): Likewise.
2572 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2573
315eb1d8
AS
25742014-05-12 Andreas Schwab <schwab@suse.de>
2575
2576 [BZ #16932]
2577 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2578 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2579 than maximum RPC packet size.
2580 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2581 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2582 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2583 (_nss_nis_getservbyport_r): Likewise.
2584
91df99f7
WN
25852014-05-12 Will Newton <will.newton@linaro.org>
2586
2587 * malloc/Makefile (tests): Add tst-mallopt.
2588 * malloc/tst-mallopt.c: New file.
2589
0a982a29
RM
25902014-05-09 Roland McGrath <roland@hack.frob.com>
2591
2592 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2593 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2594
0ded08a5
AZ
25952014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2596
2597 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2598 (tst-tlsmod6.so): Likewise.
2599
55d4d550
RM
26002014-05-09 Roland McGrath <roland@hack.frob.com>
2601
2602 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2603
77d08aca
JM
26042014-05-09 Joseph Myers <joseph@codesourcery.com>
2605
2606 [BZ #16064]
2607 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2608 and <dl-procinfo.h>.
2609 (__fegetenv): Save SSE state in envp->__eip if supported.
2610 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2611 envp->__eip if supported.
2612 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2613 and <dl-procinfo.h>.
2614 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2615 __data_offset and __data_selector in environment to 0. Set SSE
2616 state if supported.
2617 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2618 test-fenv-sse.
2619 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2620 -mfpmath=sse.
2621 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2622
28162f4d
WN
26232014-05-09 Will Newton <will.newton@linaro.org>
2624
2625 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2626 and libc_relro_required for ARM.
2627 * sysdeps/arm/preconfigure: Regenerate.
2628
5a414ff7
DV
26292014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2630 Stefan Liebler <stli@linux.vnet.ibm.com>
2631
2632 * config.make.in (enable-lock-elision): New Makefile variable.
2633 * configure.ac: Likewise.
2634 * configure: Regenerate.
2635 * sysdeps/s390/configure.ac:
2636 Add check for gcc transactions support.
2637 * sysdeps/s390/configure: Regenerate.
2638 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2639 Build elision files if enabled.
2640 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2641 Add lock elision support for s390.
2642 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2643 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2644 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2645 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2646 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2647 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2648 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2649 Likewise.
2650 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2651 Likewise.
2652 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2653 Likewise.
2654 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2655 Likewise.
2656 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2657 (__lll_timedlock_elision, __lll_lock_elision)
2658 (__lll_unlock_elision, __lll_trylock_elision)
2659 (lll_timedlock_elision, lll_lock_elision)
2660 (lll_unlock_elision, lll_trylock_elision): Add.
2661 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2662 (pthread_mutex_t): Add lock elision support for s390.
2663
1a2f40e5
W
26642014-05-14 Wilco <wdijkstr@arm.com>
2665
2666 * sysdeps/arm/fclrexcpt.c: Cleanup.
2667 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2668 * sysdeps/arm/feenablxcpt.c: Cleanup.
2669 * sysdeps/arm/fegetenv.c: Cleanup.
2670 * sysdeps/arm/fegetexcept.c: Cleanup.
2671 * sysdeps/arm/fegetround.c: Cleanup.
2672 * sysdeps/arm/feholdexcpt.c: Cleanup.
2673 * sysdeps/arm/fesetenv.c: Cleanup.
2674 * sysdeps/arm/fesetround.c: Cleanup.
2675 * sysdeps/arm/feupdateenv.c: Cleanup.
2676 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2677 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2678 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2679 * sysdeps/arm/ftestexcept.c: Cleanup.
2680 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2681 * sysdeps/arm/setfpucw.c: Cleanup.
2682
f63c86fe
WN
26832014-05-09 Will Newton <will.newton@linaro.org>
2684
2685 * sysdeps/arm/armv7/strcmp.S: New file.
2686 * NEWS: Mention addition of ARMv7 optimized strcmp.
2687
7a1a51b5
RM
26882014-05-08 Roland McGrath <roland@hack.frob.com>
2689
95afbbe5
RM
2690 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2691 look for %.ac rather than %.in.
2692
2693 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2694 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2695 * sysdeps/mach/hurd/configure: Regenerated.
2696 * sysdeps/unix/sysv/linux/configure: Regenerated.
2697
7a1a51b5
RM
2698 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2699
5057ad3b
SE
27002014-05-07 Steve Ellcey <sellcey@mips.com>
2701
2702 [BZ# 16922]
2703 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2704 (LONG_SUB): Ditto.
2705 (PTR_SUB): Ditto.
2706
8dc97517
AS
27072014-05-07 Andreas Schwab <schwab@suse.de>
2708
2709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2710 when skipping over non-matching result from nscd.
2711
ce0c5b8f
OB
27122014-05-07 Ondřej Bílka <neleai@seznam.cz>
2713
2714 [BZ #16876]
2715 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2716
a1189263
OB
2717 [BZ #16877]
2718 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2719 nscd security class.
ce0c5b8f 2720
0f58d252
RM
27212014-05-06 Roland McGrath <roland@hack.frob.com>
2722
2723 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2724 * sysdeps/arm/unwind.h: ... here.
2725
83df9ad0
AJ
27262014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2727
ce0c5b8f
OB
2728 [BZ# 16916]
2729 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2730 Define.
83df9ad0 2731
f360f94a
VR
27322014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2733
2734 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2735 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2736 multiarch strncpy for PPC64.
2737 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2738 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2739 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2740 multiarch optimizations.
2741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2742 (__libc_ifunc_impl_list): Likewise.
2743 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2744 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2745 multiarch stpncpy for PPC64.
2746 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2747 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2748
978a41c3
AS
27492014-05-06 Andreas Schwab <schwab@suse.de>
2750
2751 [BZ #16912]
2752 * gmon/mcount.c (_MCOUNT_DECL): Use
2753 atomic_compare_and_exchange_bool_acq instead of
2754 catomic_compare_and_exchange_bool_acq.
2755
eb1ed03d
RM
27562014-05-05 Roland McGrath <roland@hack.frob.com>
2757
fe658845
RM
2758 * elf/Makefile (others, install-bin): Remove pldd.
2759 (pldd-modules): Variable removed.
2760 ($(objpfx)pldd): Target removed.
2761 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2762 (others, install-bin): Append pldd here.
2763 ($(objpfx)pldd): New target.
2764
eb1ed03d
RM
2765 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2766 to 0, so the first #if test emitted later doesn't see it undefined.
2767 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2768 * sysdeps/gnu/errlist.c: Regenerated.
2769
19c4bec0
AZ
27702014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2771
2772 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2773 [libc_hidden_builtin_def]: Define to empty value.
2774 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2775 [libc_hidden_builtin_def]: Likewise.
2776 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2777 [libc_hidden_builtin_def]: Likewise.
2778 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2779 [libc_hidden_builtin_def]: Likewise.
2780 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2781 __redirect_memcpy and define ifunc as default hidden symbol.
2782 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2783 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2784
7776e669
AC
27852014-05-04 Adam Conrad <adconrad@0c3.net>
2786
2787 * locale/iso-4217.def: Reintroduce XDR currency.
2788
d69aeb12
AM
27892014-05-04 Allan McRae <allan@archlinux.org>
2790
2791 * po/eo.po: Update Esperanto translation from translation project.
2792
8f1df5cf
CD
27932014-05-02 Carlos O'Donell <carlos@redhat.com>
2794
2795 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2796 and FEATURE_INDEX_MAX to 1.
2797 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2798
13e402e7
SE
27992014-05-01 Steve Ellcey <sellcey@mips.com>
2800
2801 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2802 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2803 * iconvdata/big5.c (ONE_DIRECTION): Define.
2804 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2805 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2806 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2807 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2808 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2809 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2810 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2811 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2812 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2813 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2814 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2815 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2816 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2817 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2818 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2819 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2820 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2821 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2822 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2823 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2824 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2825 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2826 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2827 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2828 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2829 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2830 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2831 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2832 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2833 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2834 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2835 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2836 * iconvdata/johab.c (ONE_DIRECTION): Define.
2837 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2838 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2839 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2840 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2841 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2842 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2843 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2844 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2845 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2846 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2847
c727f032
RM
28482014-05-01 Roland McGrath <roland@hack.frob.com>
2849
8f2f08d0
RM
2850 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2851 (_IO_JUMPS_OFFSET): Define to 0.
2852
c727f032
RM
2853 * nptl/sysdeps/pthread/bits/libc-lock.h
2854 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2855 (__libc_lock_define_initialized_recursive): Always define using
2856 initializer. Modern compilers treat uninitialized (implicit zero) and
2857 explicit zero initializers the same (i.e. put the datum in bss).
2858
a849e800
AS
28592014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2860
2861 * nscd/nscd-client.h: Include <string.h>.
2862
5331255b
DM
28632014-05-01 David S. Miller <davem@davemloft.net>
2864
2865 [BZ #16885]
2866 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2867 multiple zero bytes exist at the end of a string.
2868 Reported by Aurelien Jarno <aurelien@aurel32.net>
2869
2870 * string/test-strcmp.c (check): Add explicit test for situations where
2871 there are multiple zero bytes after the first.
2872
4fdfe821
AS
28732014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2874
2875 [BZ #16890]
2876 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2877 when compiling wprintf.
2878 * stdio-common/tstdiomisc.c (t3): New function.
2879 (main): Call it.
2880
0cdddc25
SE
28812014-05-01 Steve Ellcey <sellcey@mips.com>
2882
2883 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2884 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2885 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2886 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2887
6426d77e
SE
28882014-05-01 Steve Ellcey <sellcey@mips.com>
2889
2890 * stdlib/longlong.h: Updated from GCC.
2891
6d96f5e4
WN
28922014-05-01 Will Newton <will.newton@linaro.org>
2893 Bernard Ogden <bernie.ogden@linaro.org>
2894
7470db0c
WN
2895 * NEWS: Update fixed bug list.
2896
6d96f5e4
WN
2897 [BZ #15119]
2898 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2899
211d653c
DM
29002014-04-30 David S. Miller <davem@davemloft.net>
2901
4fa262fa
DM
2902 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2903 (libc_feholdexcept_setround_sparc_ctx): New function.
2904 (libc_fesetenv_sparc_ctx): Likewise.
2905 (libc_feupdateenv_sparc_ctx): Likewise.
2906 (libc_feholdsetround_sparc_ctx): Likewise.
2907 (libc_feholdexcept_setround_ctx): Define.
2908 (libc_feholdexcept_setroundf_ctx): Likewise.
2909 (libc_feholdexcept_setroundl_ctx): Likewise.
2910 (libc_fesetenv_ctx): Likewise.
2911 (libc_fesetenvf_ctx): Likewise.
2912 (libc_fesetenvl_ctx): Likewise.
2913 (libc_feupdateenv_ctx): Likewise.
2914 (libc_feupdateenvf_ctx): Likewise.
2915 (libc_feupdateenvl_ctx): Likewise.
2916 (libc_feresetround_ctx): Likewise.
2917 (libc_feresetroundf_ctx): Likewise.
2918 (libc_feresetroundl_ctx): Likewise.
2919 (libc_feholdsetround_ctx): Likewise.
2920 (libc_feholdsetroundf_ctx): Likewise.
2921 (libc_feholdsetroundl_ctx): Likewise.
2922
1d3d93ef
DM
2923 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2924 with __USE_GNU instead of XOPEN cpp guards.
2925
8aa583c3
DM
2926 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2927 0.
2928
211d653c
DM
2929 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2930 with XOPEN cpp guards.
2931
60c8f1f6
JB
29322014-04-30 Julian Brown <julian@codesourcery.com>
2933
2934 [BZ #16888]
2935 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2936 handling.
2937
9a461d46
JM
29382014-04-30 Joseph Myers <joseph@codesourcery.com>
2939
d0f5b3f8
JM
2940 [BZ #9894]
2941 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2942 Change to 2.6.32.
2943 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2944 * sysdeps/unix/sysv/linux/configure: Regenerated.
2945 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2946 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2947 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2948 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2949 * README: Update reference to required Linux kernel version.
2950 * manual/install.texi (Linux): Update reference to required Linux
2951 kernel headers version.
2952 * INSTALL: Regenerated.
2953
9a461d46
JM
2954 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2955 header inclusion.
2956 [POSIX] (limits.h): Likewise.
2957 [POSIX] (math.h): Likewise.
2958 [POSIX] (sys/wait.h): Likewise.
2959 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2960 function.
2961 [POSIX] (stddef.h): Do not allow header inclusion.
2962
1775babf
AZ
29632014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2964
57f41c40 2965 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2966
8f630cca
YY
29672014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2968
2969 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2970 Return immediately after lll_futex_wake.
2971
1cdeb237
SP
29722014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2973
bc8f194c
SP
2974 [BZ #16791]
2975 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2976 structure.
2977 (datahead_init_pos): Call datahead_init_common early.
2978 (datahead_init_neg): Likewise.
2979
1cdeb237
SP
2980 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2981 datahead_init_neg): New functions.
2982 * nscd/aicache.c (addhstaiX): Use them.
2983 * nscd/grpcache.c (cache_addgr): Likewise.
2984 * nscd/hstcache.c (cache_addhst): Likewise.
2985 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2986 * nscd/netgroupcache.c (do_notfound): Likewise.
2987 (addgetnetgrentX): Likewise.
2988 (addinnetgrX): Likewise.
2989 * nscd/pwdcache.c (cache_addpw): Likewise.
2990 * nscd/servicescache.c (cache_addserv): Likewise.
2991
16b293a7
SP
29922014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2993 Atsushi Onoe <atsushi@onoe.org>
2994
2995 [BZ #14308]
2996 [BZ #12994]
2997 [BZ #13651]
2998 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2999 one response is valid.
3000 * resolv/res_send.c (send_dg): Check for validity of other
3001 response if the current response is a referral.
3002
a28a9b94
SE
30032014-04-29 Steve Ellcey <sellcey@mips.com>
3004
3005 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3006
2ca180e9
SL
30072014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3008
3009 [BZ #16823]
3010 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3011 Always divide by positive zero when computing -Inf result.
3012 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3013 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3014
18f2945a
AZ
30152014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3016
3017 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3018 FPSCR if value do not change.
3019 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3020 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3021 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3022 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3023 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3024 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3025 function.
3026
5abebba4
CD
30272014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3028
3029 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3030 * sysdeps/unix/sysv/linux/hppa: Move directory from
3031 ports/systeps/unix/sysv/linux/hppa.
3032 * README: Update listing for hppa-*-linux-gnu.
3033
f7ed60c2
OB
30342014-04-28 Ondřej Bílka <neleai@seznam.cz>
3035
fff763a5
OB
3036 [BZ #16754]
3037 * manual/stdio.texi (Hook functions): Fix types of stream hook
3038 functions.
f7ed60c2
OB
3039 [BZ #16854]
3040 * socket/sys/socket.h: Fix typo in comment.
3041
df639d73
WD
30422014-04-28 Wilco <wdijkstr@arm.com>
3043
f7ed60c2 3044 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
3045 * sysdeps/arm/math_private.h: New file.
3046 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3047
48332d82
L
30482014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3049
3050 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3051 with __int128_t.
3052 (La_x86_64_retval): Likewise.
3053
e5e0d9a4
IB
30542014-04-24 Ian Bolton <ian.bolton@arm.com>
3055
3056 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3057 fpsr if value didn't change.
3058 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3059 to fpcr if value didn't change.
3060 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3061 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3062 fpsr or fpcr if value didn't change.
3063 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3064 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3065 fpcr if value didn't change.
3066 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3067 to fpsr if value didn't change.
3068
bacc75f7
SP
30692014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3070
3071 * nptl/tst-sem3.c: Use test-skeleton.c
3072 (main): Rename to do_test. Use return instead of
3073 exit.
3074 * nptl/tst-sem4.c: Use test-skeleton.c
3075 (main): Rename to do_test.
3076
a059d359
DM
30772014-04-22 David S. Miller <davem@davemloft.net>
3078
3079 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3080 (struct sigaction): New struct member __glibc_reserved0, change
3081 type of sa_flags to int.
3082
ea6c92f3
YZ
30832014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3084
3085 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3086 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3087
766c4a36
SP
30882014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3089
3090 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3091 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3092
140cc7ab
VK
30932014-04-22 Will Newton <will.newton@linaro.org>
3094 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3095
3096 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3097 (__longjmp): Add longjmp and longjmp_target SystemTap
3098 probes.
3099 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3100 (__sigsetjmp): Add setjmp SystemTap probe.
3101
c54e5cf7
CD
31022014-04-17 Carlos O'Donell <carlos@redhat.com>
3103
3104 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3105 match manual order.
3106
75ffb047
AZ
31072014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3108
3109 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3110
2cd925f7
AZ
3111 * sysdeps/powerpc/fpu/fenv_private.h
3112 (libc_feholdexcept_setroundl_ctx): Define to
3113 libc_feholdexcept_setround_ppc_ctx.
3114 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3115 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3116 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3117 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3118
39e6cd8d
IB
31192014-04-17 Ian Bolton <ian.bolton@arm.com>
3120
3121 * sysdeps/aarch64/math-tests.h: New file.
3122
f9281df9
SY
31232014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3124
3125 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3126 New.
3127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3128 Check and set bit_AVX2_Usable.
3129 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3130 macro.
3131 (bit_AVX2): Likewise.
3132 (index_AVX2_Usable): Likewise.
3133 (CPUID_AVX2): Likewise.
3134 (HAS_AVX2): Likewise.
3135
37d35007
WN
31362014-04-17 Will Newton <will.newton@linaro.org>
3137
7c677662
WN
3138 * manual/setjmp.texi (System V contexts): Add note that
3139 calling setcontext on a context created by a call to a
3140 signal handler is undefined. Update text to note that
3141 setcontext from a signal handler is possible but not
3142 recommended.
3143
37d35007 3144 [BZ #16629]
e04a4e9d
WN
3145 * stdlib/tst-setcontext.c: Include signal.h.
3146 (main): Check that the signal stack before and
3147 after swapcontext is the same.
3148
37d35007
WN
3149 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3150 Re-implement to restore registers in user code and avoid
3151 rt_sigreturn system call.
3152
423a7160
W
31532014-04-17 Wilco <wdijkstr@arm.com>
3154
3155 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3156 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3157 * math/test-fenv.c: Skip exception trap tests on targets which only
3158 support non-stop mode.
3159
bc93ab29
IB
31602014-04-17 Ian Bolton <ian.bolton@arm.com>
3161 Wilco Dijkstra <wilco.dijkstra@arm.com>
3162
3163 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3164 (libc_feholdsetround_aarch64_ctx)
3165 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3166 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3167 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3168 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3169 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3170 (libc_feresetround_noexl_ctx): Define.
3171
95fc5fa3
RH
31722014-04-16 Richard Henderson <rth@redhat.com>
3173
ddb04724
RH
3174 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3175
d77c0899
RH
3176 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3177 unwind tables.
3178
a3df56fc
RH
3179 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3180 const from the non-libc, non-ldso copy.
3181
95fc5fa3
RH
3182 * sysdeps/alpha/libm-test-ulps: Regenerate.
3183
7e0b6763
IB
31842014-04-16 Ian Bolton <ian.bolton@arm.com>
3185 Wilco Dijkstra <wilco.dijkstra@arm.com>
3186
3187 * sysdeps/aarch64/fpu/math_private.h: New file.
3188
a9ea2e0c
MS
31892014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3190
3191 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3192
ea8ba7cd
IZ
31932014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3194
3195 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3196 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3197 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3198 Intel MPX bound registers before _dl_profile_fixup.
3199 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3200 registers after _dl_profile_fixup. Save and restore bound
3201 registers bnd0/bnd1 when calling _dl_call_pltexit.
3202 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3203 (LR_BND_OFFSET): Likewise.
3204 (LRV_BND0_OFFSET): Likewise.
3205 (LRV_BND1_OFFSET): Likewise.
3206
9f2a4fbc
ST
32072014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3208
3209 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3210 to...
3211 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3212 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3213 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3214 fields.
9f2a4fbc 3215
fd15a59b
ST
32162014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3217
3218 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3219
f19dfa0a
SL
32202014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3221
3222 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3223
4fa8bc3b
SL
32242014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3225
3226 [BZ #14770]
3227 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3228 * sysdeps/s390/configure: Regenerate.
3229
8ea587db
SL
3230 [BZ #16824]
3231 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3232 Set round-to-nearest internally to reduce error accumulation.
3233
aa5f0ff1
AM
32342014-04-16 Alan Modra <amodra@gmail.com>
3235
3236 [BZ #16740]
3237 [BZ #16619]
3238 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3239 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3240 * NEWS: Update fixed bug list.
aa5f0ff1 3241
bb9c256f
SP
32422014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3243
3244 * benchtests/Makefile: Depend on libraries in build directory.
3245 (bench-math): Separate out math tests.
3246 (bench-pthread): Separate out pthread tests.
3247 (bench): Include math and pthread tests.
3248
f737dfd0
CD
32492014-04-14 Carlos O'Donell <carlos@redhat.com>
3250
3251 [BZ #16831]
3252 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3253 _dl_debug_initialize.
3254
0699f766
CD
3255 * configure.ac: Remove SELinux header check.
3256 * configure: Regenerate.
3257 * nscd/selinux.c (perms): Array of const char* to permission names.
3258 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3259 default policy. Call string_to_security_class and string_to_av_perm to
3260 translate strings. Enforce default policy and call avs_has_perm with
3261 results of translated strings.
3262
809bd45f
DM
32632014-04-13 David S. Miller <davem@davemloft.net>
3264
3265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3266
89e691f2
AM
32672014-04-12 Allan McRae <allan@archlinux.org>
3268
3269 [BZ #16838]
3270 * manual/string.texi (Collation Functions): Fix qsort argument
3271 order in example.
3272 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3273
9c9daaeb
CM
32742014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3275
3276 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3277 Make the test a no-op if there are no exceptions defined.
3278
95561fb9
PP
32792014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3280
fe8d072c 3281 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3282 enable-hardcoded-path-in-tests
3283
970c602a
WN
32842014-04-11 Will Newton <will.newton@linaro.org>
3285
3286 * benchtests/Makefile (extra-objs): Add json-lib.o.
3287 (bench-func): Tidy up JSON output.
3288 * benchtests/bench-skeleton.c: Include json-lib.h.
3289 (main): Use JSON library functions to do output of
3290 benchmark results.
3291 * benchtests/bench-timing-type.c (main): Output the
3292 timing type simply, leaving formatting to the user.
3293 * benchtests/json-lib.c: New file.
3294 * benchtests/json-lib.h: Likewise.
3295
36875b06
TR
32962014-04-11 Torvald Riegel <triegel@redhat.com>
3297
3298 [BZ #15215]
3299 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3300 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3301 memory barriers. Add comments.
3302 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3303 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3304 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3305 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3306 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3307 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3308
579db35a
SL
33092014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3310
3311 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3312 * sysdeps/s390/s390-64/configure.ac: ... this ...
3313 * sysdeps/s390/configure.ac: ... to here.
3314 * sysdeps/s390/s390-32/configure: Delete file.
3315 * sysdeps/s390/s390-64/configure: Delete file.
3316 * sysdeps/s390/configure: Regenerate.
3317
c12e9f37
JAPH
33182014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3319
3320 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3321
439bda32
WN
33222014-04-11 Will Newton <will.newton@linaro.org>
3323
3324 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3325 to zero if it is not defined elsewhere. (mtrim): Test
3326 the value of MALLOC_DEBUG with #if rather than #ifdef.
3327
6a5d6ea1
TR
33282014-04-10 Torvald Riegel <triegel@redhat.com>
3329
3330 * benchtests/pthread_once-inputs: New file.
3331 * benchtests/pthread_once-source.c: New file.
3332 * benchtests/README: Update documentation.
3333
a4c75cfd
IZ
33342014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3335 H.J. Lu <hongjiu.lu@intel.com>
3336
3337 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3338 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3339 * sysdeps/x86_64/configure: Regenerated.
3340 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3341 macro.
3342 (REGISTER_SAVE_RAX): Likewise.
3343 (REGISTER_SAVE_RCX): Likewise.
3344 (REGISTER_SAVE_RDX): Likewise.
3345 (REGISTER_SAVE_RSI): Likewise.
3346 (REGISTER_SAVE_RDI): Likewise.
3347 (REGISTER_SAVE_R8): Likewise.
3348 (REGISTER_SAVE_R9): Likewise.
3349 (REGISTER_SAVE_BND0): Likewise.
3350 (REGISTER_SAVE_BND1): Likewise.
3351 (REGISTER_SAVE_BND2): Likewise.
3352 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3353 bound registers when calling _dl_fixup.
3354
27822ce6
AZ
33552014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3356
3357 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3358 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3359 of its definition.
27822ce6
AZ
3360 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3361 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3362 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3363 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3364 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3365 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3366 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3367
a88ddc90
PTB
33682014-04-09 Peter Brett <peter@peter-b.co.uk>
3369
3370 [BZ #15514]
3371 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3372 pathconf(_PC_NAME_MAX).
3373
01f8eac2
AZ
33742014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3375
3376 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3377 Remove macro usage.
3378 (__PTHREAD_SPINS): Move definition to ...
3379 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3380 (__PTHREAD_SPINS): ... here.
3381 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3382 (__PTHREAD_SPIN): Likewise.
3383 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3384 (__PTHREAD_SPIN): Likewise.
3385 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3386 (__PTHREAD_SPIN): Likewise.
3387 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3388 (__PTHREAD_SPIN): Likewise.
3389 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3390 (__PTHREAD_SPIN): Likewise.
3391 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3392 (__PTHREAD_SPIN): Likewise.
3393 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3394 (__PTHREAD_SPIN): Likewise.
3395 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3396 (__PTHREAD_SPIN): Likewise.
3397 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3398 (__PTHREAD_SPIN): Likewise.
3399 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3400 (__PTHREAD_SPIN): Likewise.
3401 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3402 (__PTHREAD_SPIN): Likewise.
3403 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3404 (__PTHREAD_SPIN): Likewise.
3405
de21c33c
AZ
3406 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3407 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3408 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3409 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3410 imply folder.
3411 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3412 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3413 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3414 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3415 correct imply path.
3416 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3417 strlen symbol for non multi-arch builds.
3418 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3419 missing hidden_def and weak_alias.
3420
862c472e
CD
34212014-04-08 Carlos O'Donell <carlos@redhat.com>
3422
3423 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3424
8667f90e
WN
34252014-04-07 Will Newton <will.newton@linaro.org>
3426
3427 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3428 and contents. [!_LIBC] Remove #ifndef and contents.
3429 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3430 * string/memccpy.c (__memccpy): Use ANSI prototype.
3431 * string/memfrob.c (memfrob): Likewise.
3432 * string/strcoll.c (STRCOLL): Likewise.
3433 * string/strlen.c (strlen): Likewise.
3434 * string/strtok.c (STRTOK): Likewise.
3435 * string/strcat.c: Remove unused #include of memcopy.h.
3436 (strcat): Use ANSI prototype.
3437 * string/strchr.c: Remove unused #include of memcopy.h.
3438 (strchr): Use ANSI prototype.
3439 * string/strcmp.c: Remove unused #include of memcopy.h.
3440 (strcmp): Use ANSI prototype.
3441 * string/strcpy.c: Remove unused #include of memcopy.h.
3442 (strcpy): Use ANSI prototype.
3443
7ffa9423
AZ
34442014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3445
3446 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3447 * config.make.in (config-extra-cppflags): Set it from
3448 libc_extra_cppflags.
3449 * configure.ac (libc_extra_cflags): Make it accumulate over
3450 configure fragments.
3451 (libc_extra_cppflags): New flag.
3452 * configure. Regenerate.
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3454 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3455 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3457
8bd70862
AZ
3458 [BZ #16815]
3459 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3460 result for FE_DOWNWARD rounding mode.
3461 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3462 Likewise.
3463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3464
d42f3448
CM
34652014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3466
3467 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3468 in function argument name.
3469
1c21d115
DS
34702014-04-03 David Svoboda <svoboda@cert.org>
3471
3472 [BZ #5666]
3473 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3474 explicitly.
3475
fcccd512
RM
34762014-04-03 Roland McGrath <roland@hack.frob.com>
3477
3478 * elf/dl-unmap-segments.h: New file.
3479 * sysdeps/generic/ldsodefs.h
3480 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3481 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3482 * elf/dl-fptr.c: Likewise.
3483 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3484 * sysdeps/aarch64/tlsdesc.c: Likewise.
3485 * sysdeps/arm/tlsdesc.c: Likewise.
3486 * sysdeps/i386/tlsdesc.c: Likewise.
3487 * sysdeps/tile/dl-runtime.c: Likewise.
3488 * sysdeps/x86_64/tlsdesc.c: Likewise.
3489 * elf/dl-load.h: New file.
3490 * elf/dl-load.c: Include it.
3491 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3492 Macros moved to dl-load.h.
3493 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3494 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3495 Use _dl_unmap_segments in place of __munmap.
3496 Break out segment-mapping loop into ...
3497 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3498
f6488e2b
WN
34992014-04-03 Will Newton <will.newton@linaro.org>
3500
3501 * elf/dl-lookup.c (do_lookup_x): Remove comment
3502 referring to nested function and move variable
3503 declarations down to before first use.
3504
6f05bafe
JM
35052014-04-02 Joseph Myers <joseph@codesourcery.com>
3506
a84e78c8
JM
3507 [BZ #16799]
3508 [BZ #16800]
3509 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3510 with 0 numerator.
3511 * math/s_catanf.c (__catanf): Likewise.
3512 * math/s_catanh.c (__catanh): Likewise.
3513 * math/s_catanhf.c (__catanhf): Likewise.
3514 * math/s_catanhl.c (__catanhl): Likewise.
3515 * math/s_catanl.c (__catanl): Likewise.
3516 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3517 by positive zero when computing -Inf result.
3518 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3519 (catanh_test): Likewise.
3520 * sysdeps/i386/fpu/libm-test-ulps: Update.
3521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3522
6f05bafe
JM
3523 [BZ #16789]
3524 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3525 instead of using underflowing value in computing result.
3526 * math/s_clog10.c (__clog10): Likewise.
3527 * math/s_clog10f.c (__clog10f): Likewise.
3528 * math/s_clog10l.c (__clog10l): Likewise.
3529 * math/s_clogf.c (__clogf): Likewise.
3530 * math/s_clogl.c (__clogl): Likewise.
3531 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3532 (clog10_test): Likewise.
3533 * sysdeps/i386/fpu/libm-test-ulps: Update.
3534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3535
b0abbc21
AM
35362014-04-02 Alan Modra <amodra@gmail.com>
3537
3538 [BZ #16739]
3539 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3540 output when value is near a power of two. Use int64_t for lx and
3541 remove casts. Use decimal rather than hex exponent constants.
3542 Don't use long double multiplication when double will suffice.
3543 * math/libm-test.inc (nextafter_test_data): Add tests.
3544 * NEWS: Add 16739 and 16786 to bug list.
3545
af6b1797
AM
3546 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3547
483818d7
AM
3548 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3549
f6c55796
WN
35502014-04-01 Will Newton <will.newton@linaro.org>
3551
3552 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3553 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3554
13f7fe35
FW
35552014-04-01 Florian Weimer <fweimer@redhat.com>
3556
3557 [BZ #13347]
3558 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3559 * nptl/tst-setuid2.c: New file.
3560 * nptl/Makefile (xtests): Add tst-setuid2.
3561
c859b32e
AM
35622014-04-01 Alan Modra <amodra@gmail.com>
3563
3564 [BZ #16786]
3565 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3566
54fa2475
JM
35672014-03-31 Joseph Myers <joseph@codesourcery.com>
3568
8795b4a4
JM
3569 [BZ #6803]
3570 [BZ #6804]
3571 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3572 set errno as appropriate.
3573 * math/w_scalbf.c (__scalbf): Likewise.
3574 * math/w_scalbl.c (__scalbl): Likewise.
3575 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3576 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3577 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3578 Add more NaN tests.
3579
54fa2475
JM
3580 [BZ #16349]
3581 * math/w_atan2.c: Include <errno.h>.
3582 (__atan2): Set errno for result underflowing to zero.
3583 * math/w_atan2f.c: Include <errno.h>.
3584 (__atan2f): Set errno for result underflowing to zero.
3585 * math/w_atan2l.c: Include <errno.h>.
3586 (__atan2l): Set errno for result underflowing to zero.
3587 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3588 tests.
3589 * math/auto-libm-test-out: Regenerated.
3590
757d9dd5
AZ
35912014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3592
3593 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3594 Encode instruction correctly in little endian.
3595 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3596 Likewise.
3597 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3598 Likewise.
3599 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3600 Likewise.
3601 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3602 Likewise.
3603
d7a68734
JM
36042014-03-31 Joseph Myers <joseph@codesourcery.com>
3605
47c5adeb
JM
3606 [BZ #9894]
3607 * sysdeps/unix/sysv/linux/kernel-features.h
3608 [__sparc__ && !__arch64__ && !__sparc_v9__]
3609 (__ASSUME_SET_ROBUST_LIST): Do not define.
3610 [__sparc__ && !__arch64__ && !__sparc_v9__]
3611 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3612 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3613 Likewise.
3614 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3615 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3616 (__ASSUME_REQUEUE_PI): Likewise.
3617 (__ASSUME_SET_ROBUST_LIST): Likewise.
3618 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3619 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3620 Undefine.
3621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3622 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3623 Likewise.
3624 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3625 Likewise.
3626 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3627 Likewise.
3628 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3629 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3630 Undefine.
3631 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3632 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3633 Likewise.
3634
d7a68734
JM
3635 [BZ #16648]
3636 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3637 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3638 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3639
c760f5c2
WN
36402014-03-31 Will Newton <will.newton@linaro.org>
3641
3642 * benchtests/Makefile (bench): Add ffs and ffsll to list
3643 of tests.
3644 * benchtests/ffs-inputs: New file.
3645 * benchtests/ffsll-inputs: Likewise.
3646
ea6029b1
JM
36472014-03-29 Joseph Myers <joseph@codesourcery.com>
3648
3649 [BZ #16770]
3650 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3651 too large before casting to int.
3652 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3653 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3654 * math/libm-test.inc (scalb_test_data): Add more tests.
3655
cf806aff
SP
36562014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3657
56737508
SP
3658 * benchtests/Makefile (DETAILED_OPT): New make option.
3659 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3660 set.
3661 * benchtests/bench-skeleton.c: Include stdbool.h.
3662 (main): Store and print timings per input.
3663 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3664 member to each argument value.
3665 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3666 (_print_arg_data): Initialize per-input timing to 0.
3667
cb5e4aad
SP
3668 * benchtests/Makefile (timing-type): New binary.
3669 (bench-clean): Also remove bench-timing-type.
3670 (bench): New target for timing-type.
3671 (bench-func): Print output in JSON format.
3672 * benchtests/bench-skeleton.c (main): Print output in JSON
3673 format.
3674 * benchtests/bench-timing-type.c: New file.
3675 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3676 (TIMING_PRINT_STATS): Remove.
3677 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3678 name separately.
3679
cf806aff
SP
3680 * benchtests/bench-modf.c: Remove.
3681 * benchtests/modf-inputs: New inputs file.
3682
289e0779
JM
36832014-03-28 Joseph Myers <joseph@codesourcery.com>
3684
3685 [BZ #16362]
3686 * math/s_clog10.c (M_PI_LOG10E): New macro.
3687 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3688 imaginary parts are 0.
3689 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3690 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3691 imaginary parts are 0.
3692 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3693 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3694 imaginary parts are 0.
3695 * math/libm-test.inc (clog10_test_data): Update expected results
3696 for when real and imaginary parts are 0.
3697
277ae3f1
PP
36982014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3699
3700 * elf/dl-load.c: Finish conversion of __builtin_expect into
3701 __glibc_{un}likely.
3702
03a7091f
JM
37032014-03-27 Joseph Myers <joseph@codesourcery.com>
3704
3705 [BZ #16348]
3706 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3707 1+x for argument with exponent below -67.
3708 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3709 Likewise.
3710 * math/auto-libm-test-in: Add more tests of exp.
3711 * math/auto-libm-test-out: Regenerated.
3712
ea7d8b95
SP
37132014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3714
dd3022d7
SP
3715 [BZ #16759]
3716 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3717 (nscd_getnetgrent): Use it.
3718
ea7d8b95
SP
3719 [BZ #16760]
3720 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3721 of stpcpy.
3722
df5b85da
AK
37232014-03-27 Andi Kleen <ak@linux.intel.com>
3724
57f41c40
AS
3725 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3726 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3727 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3728 (lll_robust_unlock): Remove out of line section. Use cfi
3729 intrinsics.
df5b85da 3730 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3731 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3732 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3733 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3734 (lll_robust_unlock): Remove out of line section. Use cfi
3735 intrinsics.
df5b85da
AK
3736 (LLL_STUB_UNWIND_INFO*): Remove.
3737
fbd6b5a4
SP
37382014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3739
3740 [BZ #16758]
3741 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3742 blank values.
3743
1b26b855
PP
37442014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3745
3746 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3747
9be36fb8
JM
37482014-03-26 Joseph Myers <joseph@codesourcery.com>
3749
3750 [BZ #16198]
3751 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3752 fnstenv.
3753 * math/test-fenv-preserve.c: New file.
3754 * math/Makefile (tests): Add test-fenv-preserve.
3755
60a2f3c1
WN
37562014-03-26 Will Newton <will.newton@linaro.org>
3757
3758 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3759
a5e5f1e2
RM
37602014-03-25 Roland McGrath <roland@hack.frob.com>
3761
3762 * scripts/versionlist.awk: Partition the version sets and emit all
3763 GLIBC_* (sorted) before all others (sorted).
3764
00f4012a
JM
37652014-03-25 Joseph Myers <joseph@codesourcery.com>
3766
3767 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3768 GLIBC_2.2.5 version.
3769
7bc5a741
AZ
37702014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3771
3772 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3773 calls.
3774
7578473b
AZ
3775 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3776 previous change.
3777
f3f1dab3
AZ
3778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3779
6da36183
AS
37802014-03-25 Andreas Schwab <schwab@suse.de>
3781
3782 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3783 label to be used after in6ailist is initialized.
3784
f3f1dab3 37852014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3786
7578473b 3787 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3788 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3789
046651c1
JM
37902014-03-25 Joseph Myers <joseph@codesourcery.com>
3791
3792 [BZ #16357]
3793 [BZ #16599]
3794 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3795 min_plus_half.
3796 (fp_formats): Update initializers.
3797 (init_fp_formats): Initialize new field.
3798 (output_for_one_input_case): Allow underflow for results up to
3799 min_plus_half.
3800 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3801 * math/auto-libm-test-in: Don't mark some underflows from asin and
3802 atanh as spurious.
3803 * math/auto-libm-test-out: Regenerated.
3804 * sysdeps/i386/fpu/libm-test-ulps: Update.
3805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3806
003e49ed
AS
38072014-03-25 Andreas Schwab <schwab@suse.de>
3808
3809 * libio/Makefile (tst-ftell-partial-wide-ENV)
3810 (tst-ftell-active-handler-ENV): Define.
3811
de031874
SL
38122014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3813
3814 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3815
55a81e3b
PP
38162014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3817
3818 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3819
f3426898
JM
38202014-03-24 Joseph Myers <joseph@codesourcery.com>
3821
3822 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3823 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3824 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3825
a42faf59
PP
38262014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3827
3828 [BZ #16634]
a42faf59 3829 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3830 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3831 (open_path): Change from boolean 'secure' to complete flag 'mode'
3832 (_dl_map_object): Adjust.
a42faf59
PP
3833 * elf/Makefile (tests): Add tst-dlopen-aout.
3834 * elf/tst-dlopen-aout.c: New test.
3835
50936127
SL
38362014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3837
3838 [BZ #16714]
3839 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3840 (struct stat): Rename member pad0 to __glibc_reserved0.
3841
26011b5c
SL
3842 [BZ #16712]
3843 * sysdeps/s390/s390-32/bits/wordsize.h
3844 (__WORDSIZE32_SIZE_ULONG): New define.
3845 * sysdeps/s390/s390-64/bits/wordsize.h
3846 (__WORDSIZE32_SIZE_ULONG): Likewise.
3847 * sysdeps/generic/stdint.h (SIZE_MAX):
3848 Define as UL if __WORDSIZE32_SIZE_ULONG.
3849
a2d86bf1
SL
3850 [BZ #16713]
3851 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3852 (__glibc_reserved0): New variable.
3853 (sa_flags): Change type to int.
3854
78b6eebc
SL
3855 * posix/Makefile (before-compile): Use += before-compile instead
3856 of a :=.
3857
f1399b5a
SL
3858 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3859 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3860
a071766e
AS
38612014-03-20 Andreas Schwab <schwab@suse.de>
3862
3863 [BZ #16743]
3864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3865 non-matching result from nscd.
3866
27c673b8
SP
38672014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3868
3869 * scripts/bench.py: Moved to ...
3870 * benchtests/scripts/bench.py: ... here.
3871 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3872
44152e4b
AS
38732014-03-24 Andreas Schwab <schwab@suse.de>
3874
3875 [BZ #16002]
3876 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3877 alloca_account and account alloca use for struct in6ailist.
3878
b376a11a
JM
38792014-03-24 Joseph Myers <joseph@codesourcery.com>
3880
3881 [BZ #16284]
3882 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3883 rounding mode to recompute results that overflow to infinity or
3884 underflow to zero.
3885 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3886 bug 16284.
3887 * math/auto-libm-test-out: Regenerated.
3888 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3889 (ccosh_test): Likewise.
3890 (csin_test_data): Use plus_oflow.
3891 (csin_test): Use ALL_RM_TEST.
3892 (csinh_test_data): Use plus_oflow.
3893 (csinh_test): Use ALL_RM_TEST.
3894 * sysdeps/i386/fpu/libm-test-ulps: Update.
3895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3896
f7be7376
JM
38972014-03-21 Joseph Myers <joseph@codesourcery.com>
3898
1ca2d03e
JM
3899 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3900 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3901 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3902
f7be7376
JM
3903 [BZ #16731]
3904 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3905 when x - 1 is zero.
3906 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3907 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3908 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3909 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3910 argument is 1.
3911 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3912 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3913 zero.
3914 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3915 * sysdeps/i386/fpu/libm-test-ulps: Update.
3916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3917
fdf4534d
SP
39182014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3919
df26ea53
SP
3920 * scripts/bench.pl: Remove file.
3921 * scripts/bench.py: New benchmark script.
3922 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3923 * benchtests/README: Mention python dependency.
3924 * scripts/pylintrc: New file.
3925 * scripts/pylint: New file.
3926
fdf4534d
SP
3927 * bits/mathdef.h: Use #ifdef instead of #if.
3928 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3929 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3930 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3931 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3932 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3933 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3934
6f23d093
AZ
39352014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3936 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3937
3938 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3939 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3940 and strpbrk-ppc64 objects.
3941 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3942 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3943 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3944 multiarch strpbrk for POWER7.
3945 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3946 multiarch strpbrk for PPC64.
3947 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3948 ifunc selector.
3949 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3950 strpbrk for POWER7.
3951
8c92dfff
JM
39522014-03-20 Joseph Myers <joseph@codesourcery.com>
3953
3954 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3955 (atan_test): Likewise.
3956 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3957 (atanh_test): Use ALL_RM_TEST.
3958 (atan2_test_data): Likewise.
3959 (cabs_test): Likewise.
3960 (cacosh_test): Likewise.
3961 (carg_test): Likewise.
3962 (casin_test): Likewise.
3963 (casinh_test): Likewise.
3964 (cbrt_test): Likewise.
3965 (csqrt_test): Likewise.
3966 (erf_test): Likewise.
3967 (erfc_test): Likewise.
3968 (pow10_test): Likewise.
3969 (exp2_test): Likewise.
3970 (hypot_test): Likewise.
3971 (j0_test): Likewise.
3972 (j1_test): Likewise.
3973 (lgamma_test): Likewise.
3974 (gamma_test): Likewise.
3975 (sincos_test): Likewise.
3976 (tanh_test): Likewise.
3977 (y0_test): Likewise.
3978 (y1_test): Likewise.
3979 * sysdeps/i386/fpu/libm-test-ulps: Update.
3980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3981
6eaf95cb
AZ
39822014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3983
a387428c
SP
3984 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3986 and strcspn-ppc64 objects.
3987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3988 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3989 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3990 multiarch strcspn for POWER7.
3991 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3992 multiarch strcspn for PPC64.
3993 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3994 ifunc selector.
3995 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3996 strcspn for POWER7.
3997
ae3a5dff
JM
39982014-03-20 Joseph Myers <joseph@codesourcery.com>
3999
4000 * math/gen-libm-test.pl (generate_testfile): Expect only function
4001 name as argument to AUTO_TESTS_* and pass results for all rounding
4002 modes to parse_args.
4003 (parse_auto_input): Separate inputs of automatic tests from
4004 outputs before storing in %auto_tests.
4005 * math/libm-test.inc (acos_test_data): Update call to
4006 AUTO_TESTS_f_f.
4007 (acos_test): Use ALL_RM_TEST.
4008 (acos_tonearest_test_data): Remove.
4009 (acos_test_tonearest): Likewise.
4010 (acos_towardzero_test_data): Likewise.
4011 (acos_test_towardzero): Likewise.
4012 (acos_downward_test_data): Likewise.
4013 (acos_test_downward): Likewise.
4014 (acos_upward_test_data): Likewise.
4015 (acos_test_upward): Likewise.
4016 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4017 (asin_test_data): Likewise.
4018 (asin_test): Use ALL_RM_TEST.
4019 (asin_tonearest_test_data): Remove.
4020 (asin_test_tonearest): Likewise.
4021 (asin_towardzero_test_data): Likewise.
4022 (asin_test_towardzero): Likewise.
4023 (asin_downward_test_data): Likewise.
4024 (asin_test_downward): Likewise.
4025 (asin_upward_test_data): Likewise.
4026 (asin_test_upward): Likewise.
4027 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4028 (atan_test_data): Likewise.
4029 (atanh_test_data): Likewise.
4030 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4031 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4032 (carg_test_data): Likewise.
4033 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4034 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4035 (ccosh_test_data): Likewise.
4036 (cexp_test_data): Likewise.
4037 (clog_test_data): Likewise.
4038 (clog10_test_data): Likewise.
4039 (cos_test_data): Update call to AUTO_TESTS_f_f.
4040 (cos_test): Use ALL_RM_TEST.
4041 (cos_tonearest_test_data): Remove.
4042 (cos_test_tonearest): Likewise.
4043 (cos_towardzero_test_data): Likewise.
4044 (cos_test_towardzero): Likewise.
4045 (cos_downward_test_data): Likewise.
4046 (cos_test_downward): Likewise.
4047 (cos_upward_test_data): Likewise.
4048 (cos_test_upward): Likewise.
4049 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4050 (cosh_test): Use ALL_RM_TEST.
4051 (cosh_tonearest_test_data): Remove.
4052 (cosh_test_tonearest): Likewise.
4053 (cosh_towardzero_test_data): Likewise.
4054 (cosh_test_towardzero): Likewise.
4055 (cosh_downward_test_data): Likewise.
4056 (cosh_test_downward): Likewise.
4057 (cosh_upward_test_data): Likewise.
4058 (cosh_test_upward): Likewise.
4059 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4060 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4061 (ctan_test_data): Likewise.
4062 (ctan_test): Use ALL_RM_TEST.
4063 (ctan_tonearest_test_data): Remove.
4064 (ctan_test_tonearest): Likewise.
4065 (ctan_towardzero_test_data): Likewise.
4066 (ctan_test_towardzero): Likewise.
4067 (ctan_downward_test_data): Likewise.
4068 (ctan_test_downward): Likewise.
4069 (ctan_upward_test_data): Likewise.
4070 (ctan_test_upward): Likewise.
4071 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4072 (ctanh_test): Use ALL_RM_TEST.
4073 (ctanh_tonearest_test_data): Remove.
4074 (ctanh_test_tonearest): Likewise.
4075 (ctanh_towardzero_test_data): Likewise.
4076 (ctanh_test_towardzero): Likewise.
4077 (ctanh_downward_test_data): Likewise.
4078 (ctanh_test_downward): Likewise.
4079 (ctanh_upward_test_data): Likewise.
4080 (ctanh_test_upward): Likewise.
4081 (erf_test_data): Update call to AUTO_TESTS_f_f.
4082 (erfc_test_data): Likewise.
4083 (exp_test_data): Likewise.
4084 (exp_test): Use ALL_RM_TEST.
4085 (exp_tonearest_test_data): Remove.
4086 (exp_test_tonearest): Likewise.
4087 (exp_towardzero_test_data): Likewise.
4088 (exp_test_towardzero): Likewise.
4089 (exp_downward_test_data): Likewise.
4090 (exp_test_downward): Likewise.
4091 (exp_upward_test_data): Likewise.
4092 (exp_test_upward): Likewise.
4093 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4094 (exp10_test): Use ALL_RM_TEST.
4095 (exp10_tonearest_test_data): Remove.
4096 (exp10_test_tonearest): Likewise.
4097 (exp10_towardzero_test_data): Likewise.
4098 (exp10_test_towardzero): Likewise.
4099 (exp10_downward_test_data): Likewise.
4100 (exp10_test_downward): Likewise.
4101 (exp10_upward_test_data): Likewise.
4102 (exp10_test_upward): Likewise.
4103 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4104 (expm1_test_data): Likewise.
4105 (expm1_test): Use ALL_RM_TEST.
4106 (expm1_tonearest_test_data): Remove.
4107 (expm1_test_tonearest): Likewise.
4108 (expm1_towardzero_test_data): Likewise.
4109 (expm1_test_towardzero): Likewise.
4110 (expm1_downward_test_data): Likewise.
4111 (expm1_test_downward): Likewise.
4112 (expm1_upward_test_data): Likewise.
4113 (expm1_test_upward): Likewise.
4114 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4115 (fma_test): Use ALL_RM_TEST.
4116 (fma_towardzero_test_data): Remove.
4117 (fma_test_towardzero): Likewise.
4118 (fma_downward_test_data): Likewise.
4119 (fma_test_downward): Likewise.
4120 (fma_upward_test_data): Likewise.
4121 (fma_test_upward): Likewise.
4122 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4123 (j0_test_data): Update call to AUTO_TESTS_f_f.
4124 (j1_test_data): Likewise.
4125 (jn_test_data): Update call to AUTO_TESTS_if_f.
4126 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4127 (log_test_data): Update call to AUTO_TESTS_f_f.
4128 (log10_test_data): Likewise.
4129 (log1p_test_data): Likewise.
4130 (log2_test_data): Likewise.
4131 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4132 (pow_tonearest_test_data): Likewise.
4133 (sin_test_data): Update call to AUTO_TESTS_f_f.
4134 (sin_test): Use ALL_RM_TEST.
4135 (sin_tonearest_test_data): Remove.
4136 (sin_test_tonearest): Likewise.
4137 (sin_towardzero_test_data): Likewise.
4138 (sin_test_towardzero): Likewise.
4139 (sin_downward_test_data): Likewise.
4140 (sin_test_downward): Likewise.
4141 (sin_upward_test_data): Likewise.
4142 (sin_test_upward): Likewise.
4143 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4144 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4145 (sinh_test): Use ALL_RM_TEST.
4146 (sinh_tonearest_test_data): Remove.
4147 (sinh_test_tonearest): Likewise.
4148 (sinh_towardzero_test_data): Likewise.
4149 (sinh_test_towardzero): Likewise.
4150 (sinh_downward_test_data): Likewise.
4151 (sinh_test_downward): Likewise.
4152 (sinh_upward_test_data): Likewise.
4153 (sinh_test_upward): Likewise.
4154 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4155 (sqrt_test): Use ALL_RM_TEST.
4156 (sqrt_tonearest_test_data): Remove.
4157 (sqrt_test_tonearest): Likewise.
4158 (sqrt_towardzero_test_data): Likewise.
4159 (sqrt_test_towardzero): Likewise.
4160 (sqrt_downward_test_data): Likewise.
4161 (sqrt_test_downward): Likewise.
4162 (sqrt_upward_test_data): Likewise.
4163 (sqrt_test_upward): Likewise.
4164 (tan_test_data): Update call to AUTO_TESTS_f_f.
4165 (tan_test): Use ALL_RM_TEST.
4166 (tan_tonearest_test_data): Remove.
4167 (tan_test_tonearest): Likewise.
4168 (tan_towardzero_test_data): Likewise.
4169 (tan_test_towardzero): Likewise.
4170 (tan_downward_test_data): Likewise.
4171 (tan_test_downward): Likewise.
4172 (tan_upward_test_data): Likewise.
4173 (tan_test_upward): Likewise.
4174 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4175 (tgamma_test_data): Likewise.
4176 (y0_test_data): Likewise.
4177 (y1_test_data): Likewise.
4178 (yn_test_data): Update call to AUTO_TESTS_if_f.
4179 (main): Do not call removed functions.
4180
d71aeee8
JM
41812014-03-19 Joseph Myers <joseph@codesourcery.com>
4182
4183 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4184 (ldexp_test_data): Remove.
4185 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4186 scalbn_test_data.
4187 (scalb_test): Use ALL_RM_TEST.
4188
baaf1ded
AS
41892014-03-19 Andreas Schwab <schwab@suse.de>
4190
4191 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4192
b1115e91
JM
41932014-03-19 Joseph Myers <joseph@codesourcery.com>
4194
4195 [BZ #16649]
4196 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4197 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4198 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4199 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4200 (__ASSUME_PREADV): Undefine.
4201 (__ASSUME_PWRITEV): Likewise.
4202
0283ecca
RM
42032014-03-18 Roland McGrath <roland@hack.frob.com>
4204
7d375303
RM
4205 * bits/mman-linux.h: Add comment about non-Linux use.
4206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4207 bits/mman-linux.h resting place.
4208
0283ecca
RM
4209 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4210 * bits/mman-linux.h: ... here.
4211
aebe1003
AZ
42122014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4213
4214 * conform/conformtest.pl: Add standard definition when calling C
4215 preprocessor on data files.
4216 (checknamespace): Remove unused variable.
4217
b29b6bb8
JM
42182014-03-18 Joseph Myers <joseph@codesourcery.com>
4219
4220 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4221 minus_oflow, plus_uflow and minus_uflow in expected results.
4222 * math/libm-test.inc (scalbn_test_data): Add more tests of
4223 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4224 minus_uflow.
4225 (scalbn_test): Use ALL_RM_TEST.
4226 (scalbln_test_data): Add more tests of negative arguments. Use
4227 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4228 (scalbln_test): Use ALL_RM_TEST.
4229
c8f8fa15
RM
42302014-03-18 Roland McGrath <roland@hack.frob.com>
4231
4232 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4233
fede7a5f
WN
42342014-03-18 Will Newton <will.newton@linaro.org>
4235
4236 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4237 inaccurate comment.
4238
80cf0a58
JM
42392014-03-18 Joseph Myers <joseph@codesourcery.com>
4240
4241 * Makerules [!subdir] (check-abi): Exit with error status if a
4242 test failed.
4243
b3620862
JM
42442014-03-17 Joseph Myers <joseph@codesourcery.com>
4245
4246 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4247 for rint. Include results for all rounding modes.
4248 (nearbyint_test): Use ALL_RM_TEST.
4249 (rint_test_data): Include all tests used for nearbyint.
4250
788bba36
WN
42512014-03-17 Will Newton <will.newton@linaro.org>
4252
04ec140a
WN
4253 * nptl/sysdeps/pthread/pthread.h: Revert previous
4254 change.
4255
7579d8d5
WN
4256 * sysdeps/generic/ldsodefs.h: Revert previous
4257 change.
4258
c15cf13a
WN
4259 * libio/genops.c: Revert previous change.
4260 * libio/libioP.h: Likewise.
4261 * stdio-common/vfprintf.c: Likewise.
4262
d0ac1324
WN
4263 * sysdeps/generic/math_private.h: Revert previous
4264 change.
4265
9290130a
WN
4266 * sysdeps/generic/math_private.h: Check whether
4267 HAVE_RM_CTX is defined with #ifdef rather
4268 than #if.
4269
afb466fc
WN
4270 * argp/argp-fmtstream.h: Check whether
4271 __STRICT_ANSI__ is defined with #ifdef rather
4272 than #if.
4273 * argp/argp.h: Likewise.
4274
f7efd7c3
WN
4275 * libio/genops.c: Check whether
4276 _IO_JUMPS_OFFSET is defined with #ifdef rather
4277 than #if.
4278 * libio/libioP.h: Likewise.
4279 * stdio-common/vfprintf.c: Likewise.
4280
53f1bed3
WN
4281 * sysdeps/generic/ldsodefs.h: Check whether
4282 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4283 than #if.
4284
788bba36
WN
4285 * nptl/sysdeps/pthread/pthread.h: Check
4286 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4287 its value.
4288
fcd89ebe
SP
42892014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4290
ae42bbc5
SP
4291 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4292 setting O_APPEND.
4293 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4294 test case.
4295
ea33158c
SP
4296 [BZ #16680]
4297 * libio/fileops.c (_IO_file_open): Seek to end of file but
4298 don't cache the offset.
4299 (get_file_offset): Remove function.
4300 (do_ftell): Use cached offset when available.
4301 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4302 don't cache the offset.
4303 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4304 case.
4305 (do_one_test): Call it.
4306 (do_ftell_test): Fix up expected old offset for a+ mode.
4307 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4308 available.
4309
b1dbb426
SP
4310 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4311 up test status with function return status.
4312 (do_write_test): Likewise.
4313 (do_append_test): Likewise.
4314
fcd89ebe
SP
4315 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4316 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4317 Remove.
4318
9962a2d3
JM
43192014-03-17 Joseph Myers <joseph@codesourcery.com>
4320
4321 * math/gen-libm-test.pl (parse_args): Handle results specified for
4322 each rounding mode separately.
4323 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4324 tests and results from lrint_tonearest_test_data,
4325 lrint_towardzero_test_data, lrint_downward_test_data and
4326 lrint_upward_test_data.
4327 (lrint_test): Use ALL_RM_TEST.
4328 (lrint_tonearest_test_data): Remove.
4329 (lrint_test_tonearest): Likewise.
4330 (lrint_towardzero_test_data): Likewise.
4331 (lrint_test_towardzero): Likewise.
4332 (lrint_downward_test_data): Likewise.
4333 (lrint_test_downward): Likewise.
4334 (lrint_upward_test_data): Likewise.
4335 (lrint_test_upward): Likewise.
4336 (llrint_test_data): Merge in per-rounding-mode tests and results
4337 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4338 llrint_downward_test_data and llrint_upward_test_data.
4339 (llrint_test): Use ALL_RM_TEST.
4340 (llrint_tonearest_test_data): Remove.
4341 (llrint_test_tonearest): Likewise.
4342 (llrint_towardzero_test_data): Likewise.
4343 (llrint_test_towardzero): Likewise.
4344 (llrint_downward_test_data): Likewise.
4345 (llrint_test_downward): Likewise.
4346 (llrint_upward_test_data): Likewise.
4347 (llrint_test_upward): Likewise.
4348 (rint_test_data): Merge in per-rounding-mode tests and results
4349 from rint_tonearest_test_data, rint_towardzero_test_data,
4350 rint_downward_test_data and rint_upward_test_data. Add
4351 per-rounding-mode results for tests not in those arrays.
4352 (rint_test): Use ALL_RM_TEST.
4353 (rint_tonearest_test_data): Remove.
4354 (rint_test_tonearest): Likewise.
4355 (rint_towardzero_test_data): Likewise.
4356 (rint_test_towardzero): Likewise.
4357 (rint_downward_test_data): Likewise.
4358 (rint_test_downward): Likewise.
4359 (rint_upward_test_data): Likewise.
4360 (rint_test_upward): Likewise.
4361 (main): Don't call removed functions.
4362
5006148e
RM
43632014-03-14 Roland McGrath <roland@hack.frob.com>
4364
4365 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4366 "Compiled on ..." crapola. It is anti-useful.
4367
d6fe5e58
JM
43682014-03-14 Joseph Myers <joseph@codesourcery.com>
4369
4370 * scripts/evaluate-test.sh: Handle fourth argument to determine
4371 whether test run should stop on failure.
4372 * Makeconfig (stop-on-test-failure): New variable.
4373 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4374 $(stop-on-test-failure).
4375 * Makefile (tests): Give a summary of results from testing and
4376 exit with failure status if they include an ERROR or FAIL.
4377 (xtests): Likewise.
4378 * manual/install.texi (Configuring and compiling): Mention
4379 stop-on-test-failure=y.
4380 * INSTALL: Regenerated.
4381
498a2233
RM
43822014-03-14 Roland McGrath <roland@hack.frob.com>
4383
22dbc19d
RM
4384 * scripts/versionlist.awk: New file.
4385 * Makerules [$(build-shared) = yes]
4386 (postclean-generated): Add Versions.def, not Versions.def.v and
4387 Versions.def.v.i.
4388 ($(common-objpfx)Versions.def.v.i): Target removed.
4389 ($(common-objpfx)Versions.def): New target.
4390 ($(common-objpfx)Versions.all): Depend on that rather that
4391 $(common-objpfx)Versions.def.v.
4392 * Versions.def: File removed.
4393
498a2233
RM
4394 * Makeconfig (+gccwarn): Add -Wundef.
4395 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4396 a dl-sysdep.h breaking its contract.
4397 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4398 * include/stackinfo.h: New file.
4399 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4400 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4401 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4402 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4403 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4404 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4405 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4406 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4407 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4408 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4409 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4410 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4411 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4412 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4413 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4414
c7de5025
AZ
44152014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4416
4417 [BZ #16707]
4418 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4419 implementation.
4420 * math/libm-test.inc (round_test_data): Add more tests.
4421
98fb27a3
AZ
4422 [BZ #16706]
4423 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4424 implementation.
4425 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4426
374f7f61
AZ
4427 [BZ #16701]
4428 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4429 implementation.
4430 * math/libm-test.inc (ceil_test_data): Add more tests.
4431
4655c291
AZ
4432 * math/libm-test.inc (trunc_test_data): Add more tests related to
4433 BZ#16414.
4434
d7329d4b
RM
44352014-03-14 Roland McGrath <roland@hack.frob.com>
4436
4437 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4438 with #if rather than #ifdef.
4439 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4440
aa4de9ce
L
44412014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4442
4443 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4444 first. Disable AVX-512 GCC support if assembler doesn't support
4445 it.
4446 * sysdeps/x86_64/configure: Regenerated.
4447
2e03fae7
CD
44482014-03-13 Carlos O'Donell <carlos@redhat.com>
4449
4450 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4451 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4452 (__old_pthread_attr_setstack): Likewise.
4453 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4454 [!_STACK_GROWS_DOWN]: Likewise.
4455
43ca83ec
MF
44562014-03-13 Mike Frysinger <vapier@gentoo.org>
4457
4458 * config.make.in (have-bash2): Delete.
4459 * configure.ac (libc_cv_have_bash2): Delete.
4460 * configure: Regenerate.
4461 * elf/Makefile (common-ldd-rewrite): Rename to ...
4462 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4463 (sh-ldd-rewrite): Delete.
4464 (bash-ldd-rewrite): Delete.
4465 (have-bash2): Delete checks.
57f41c40
AS
4466 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4467 ldd-rewrite.
c66e48b4
MF
4468
4469 * config.make.in (have-ksh): Delete.
4470 (KSH): Delete.
4471 * configure.ac (libc_cv_have_ksh): Delete.
4472 * configure: Regenerate.
4473
b93834ef
MF
4474 * elf/Makefile: Delete $(have-ksh) check.
4475 ($(objpfx)sotruss): Change KSH to BASH.
4476 * elf/sotruss.ksh: Rename to ...
4477 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4478 function style to match POSIX. Drop ksh vim mode setting.
4479
f3a4632a
MF
4480 * manual/time.texi (Specifying the Time Zone with TZ): Change
4481 Tuesday to Thursday.
4482
5896c8bd
MF
4483 * debug/tst-longjmp_chk2.c: Update header comment.
4484 (stackoverflow_handler): Add comment. Call assert on pass value.
4485
2d63a517
IZ
44862014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4487
4488 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4489 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4490 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4491 (La_x86_64_vector): Add zmm.
4492 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4493 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4494 ($(objpfx)tst-audit10): New target.
4495 ($(objpfx)tst-audit10.out): Likewise.
4496 (tst-audit10-ENV): New.
4497 (AVX512-CFLAGS): Likewise.
4498 (CFLAGS-tst-audit10.c): Likewise.
4499 (CFLAGS-tst-auditmod10a.c): Likewise.
4500 (CFLAGS-tst-auditmod10b.c): Likewise.
4501 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4502 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4503 * sysdeps/x86_64/configure: Regenerated.
4504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4505 AVX-512 zmm register support.
4506 (_dl_x86_64_save_sse): Likewise.
4507 (_dl_x86_64_restore_sse): Likewise.
4508 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4509 size vector registers.
4510 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4511 (ZMM_SIZE): Likewise.
4512 * sysdeps/x86_64/tst-audit10.c: New file.
4513 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4514 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4515
44c4e5d5
RM
45162014-03-13 Roland McGrath <roland@hack.frob.com>
4517
4518 * configure.ac (HAVE_EHDR_START): New check.
4519 * configure: Regenerated.
4520 * config.h.in (HAVE_EHDR_START): New #undef.
4521 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4522 assuming the lowest-addressed segment maps the start of the file.
4523
acd6e389
JM
45242014-03-13 Joseph Myers <joseph@codesourcery.com>
4525
4526 * INSTALL: Regenerated.
4527
6f918f36
WN
45282014-03-13 Will Newton <will.newton@linaro.org>
4529
4530 * manual/setjmp.texi (System V contexts): Improve
4531 clarity and grammar of documentation.
4532
798212a0
PP
45332014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4534
4535 [BZ #16381]
798212a0 4536 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 4537 (tests-pie): Add tst-pie2.
798212a0
PP
4538 * elf/tst-pie2.c: New file.
4539 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4540 for ET_EXEC.
4541 * elf/rtld.c (map_doit): Load executable as lt_executable.
4542 (dl_main): Likewise.
4543
abe6d90c
JM
45442014-03-12 Joseph Myers <joseph@codesourcery.com>
4545
4546 [BZ #16642]
4547 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4548 (__ASSUME_PSELECT): Undefine.
4549
dd3946c6
AZ
45502014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4551
4552 [BZ #16689]
4553 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4554 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4555 static build.
4556 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4557 selector for static builds.
4558
c44496df
SP
45592014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4560
4561 [BZ #16695]
4562 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4563 key in the buffer.
4564
27c7220a
AZ
45652014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4566
57f41c40
AS
4567 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4568 IFUNC selector for static builds.
27c7220a 4569
600fa361
JM
45702014-03-11 Joseph Myers <joseph@codesourcery.com>
4571
76c96cf7
JM
4572 * sysdeps/mips/math_private.h [__mips_hard_float]
4573 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4574 libc_feresetround_mips_ctx.
4575 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4576 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4577 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4578
600fa361
JM
4579 [BZ #16677]
4580 * math/s_nextafter.c (__nextafter): Do not return value from
4581 overflowing computation.
4582 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4583 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4584 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4585 Likewise.
4586 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4587 Likewise.
4588 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4589 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4590
d7706c32
RM
45912014-03-11 Roland McGrath <roland@hack.frob.com>
4592
4593 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4594 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4595 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4596 the new mov targetting sp.
4597
4facea47
AZ
45982014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4599
4600 [BZ #16683]
4601 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4602 Define it for static builds as well.
4603 (NO_BZERO_IMPL): Likewise.
4604
e65caf1f
VR
46052014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4606
4607 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4608 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4609 multiarch strspn for PPC64.
4610 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4611 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4613 (__libc_ifunc_impl_list): Likewise.
4614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4615 multiarch optimizations
4616 * string/strspn.c (strspn): Using macro to redefine symbol name.
4617
ba9cc071
AZ
46182014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4619 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4620
4621 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4622 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4623 multiarch strncat for PPC64.
4624 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4625 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4627 (__libc_ifunc_impl_list): Likewise.
4628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4629 multiarch optimizations
4630
8b4ff974
SP
46312014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4632
4633 [BZ #16639]
4634 * nscd/nscd.service: Make service type forking.
4635
54b46a4b
AZ
46362014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4637
4638 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4639 sign in non default rounding modes.
4640 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4641
e9996ef7
JM
46422014-03-08 Joseph Myers <joseph@codesourcery.com>
4643
4644 * math/libm-test.inc (ALL_RM_TEST): New macro.
4645 (ceil_test): Use ALL_RM_TEST.
4646 (cimag_test): Likewise.
4647 (conj_test): Likewise.
4648 (copysign_test): Likewise.
4649 (cproj_test): Likewise.
4650 (creal_test): Likewise.
4651 (fabs_test): Likewise.
4652 (floor_test): Likewise.
4653 (fmax_test): Likewise.
4654 (fmin_test): Likewise.
4655 (fmod_test): Likewise.
4656 (fpclassify_test): Likewise.
4657 (frexp_test): Likewise.
4658 (ilogb_test): Likewise.
4659 (isfinite_test): Likewise.
4660 (finite_test): Likewise.
4661 (isgreater_test): Likewise.
4662 (isgreaterequal_test): Likewise.
4663 (isinf_test): Likewise.
4664 (isless_test): Likewise.
4665 (islessequal_test): Likewise.
4666 (islessgreater_test): Likewise.
4667 (isnan_test): Likewise.
4668 (isnormal_test): Likewise.
4669 (issignaling_test): Likewise.
4670 (isunordered_test): Likewise.
4671 (logb_test): Likewise.
4672 (logb_downward_test_data): Remove.
4673 (logb_test_downward): Likewise.
4674 (lround_test): Use ALL_RM_TEST.
4675 (llround_test): Likewise.
4676 (modf_test): Likewise.
4677 (nexttoward_test): Likewise.
4678 (remainder_test): Likewise.
4679 (drem_test): Likewise.
4680 (remainder_tonearest_test_data): Likewise.
4681 (remainder_test_tonearest): Likewise.
4682 (drem_test_tonearest): Likewise.
4683 (remainder_towardzero_test_data): Likewise.
4684 (remainder_test_towardzero): Likewise.
4685 (drem_test_towardzero): Likewise.
4686 (remainder_downward_test_data): Likewise.
4687 (remainder_test_downward): Likewise.
4688 (drem_test_downward): Likewise.
4689 (remainder_upward_test_data): Likewise.
4690 (remainder_test_upward): Likewise.
4691 (drem_test_upward): Likewise.
4692 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4693 (round_test): Use ALL_RM_TEST.
4694 (signbit_test): Likewise.
4695 (trunc_test): Likewise.
4696 (significand_test): Likewise.
4697 (main): Don't call removed functions.
4698
bc61d27c
JM
46992014-03-07 Joseph Myers <joseph@codesourcery.com>
4700
5c780849
JM
4701 [BZ #16674]
4702 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4703 || __USE_XOPEN2K8].
4704 (ILL_ILLOPN): Likewise.
4705 (ILL_ILLADR): Likewise.
4706 (ILL_ILLTRP): Likewise.
4707 (ILL_PRVOPC): Likewise.
4708 (ILL_PRVREG): Likewise.
4709 (ILL_COPROC): Likewise.
4710 (ILL_BADSTK): Likewise.
4711 (FPE_INTDIV): Likewise.
4712 (FPE_INTOVF): Likewise.
4713 (FPE_FLTDIV): Likewise.
4714 (FPE_FLTOVF): Likewise.
4715 (FPE_FLTUND): Likewise.
4716 (FPE_FLTRES): Likewise.
4717 (FPE_FLTINV): Likewise.
4718 (FPE_FLTSUB): Likewise.
4719 (SEGV_MAPERR): Likewise.
4720 (SEGV_ACCERR): Likewise.
4721 (BUS_ADRALN): Likewise.
4722 (BUS_ADRERR): Likewise.
4723 (BUS_OBJERR): Likewise.
4724 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4725 (TRAP_TRACE): Likewise.
4726 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4727 __USE_XOPEN2K8].
4728 (CLD_KILLED): Likewise.
4729 (CLD_DUMPED): Likewise.
4730 (CLD_TRAPPED): Likewise.
4731 (CLD_STOPPED): Likewise.
4732 (CLD_CONTINUED): Likewise.
4733 (POLL_IN): Likewise.
4734 (POLL_OUT): Likewise.
4735 (POLL_MSG): Likewise.
4736 (POLL_ERR): Likewise.
4737 (POLL_PRI): Likewise.
4738 (POLL_HUP): Likewise.
4739 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4740 Likewise.
4741 (ILL_ILLOPN): Likewise.
4742 (ILL_ILLADR): Likewise.
4743 (ILL_ILLTRP): Likewise.
4744 (ILL_PRVOPC): Likewise.
4745 (ILL_PRVREG): Likewise.
4746 (ILL_COPROC): Likewise.
4747 (ILL_BADSTK): Likewise.
4748 (FPE_INTDIV): Likewise.
4749 (FPE_INTOVF): Likewise.
4750 (FPE_FLTDIV): Likewise.
4751 (FPE_FLTOVF): Likewise.
4752 (FPE_FLTUND): Likewise.
4753 (FPE_FLTRES): Likewise.
4754 (FPE_FLTINV): Likewise.
4755 (FPE_FLTSUB): Likewise.
4756 (SEGV_MAPERR): Likewise.
4757 (SEGV_ACCERR): Likewise.
4758 (BUS_ADRALN): Likewise.
4759 (BUS_ADRERR): Likewise.
4760 (BUS_OBJERR): Likewise.
4761 (BUS_MCEERR_AR): Likewise.
4762 (BUS_MCEERR_AO): Likewise.
4763 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4764 (TRAP_TRACE): Likewise.
4765 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4766 __USE_XOPEN2K8].
4767 (CLD_KILLED): Likewise.
4768 (CLD_DUMPED): Likewise.
4769 (CLD_TRAPPED): Likewise.
4770 (CLD_STOPPED): Likewise.
4771 (CLD_CONTINUED): Likewise.
4772 (POLL_IN): Likewise.
4773 (POLL_OUT): Likewise.
4774 (POLL_MSG): Likewise.
4775 (POLL_ERR): Likewise.
4776 (POLL_PRI): Likewise.
4777 (POLL_HUP): Likewise.
4778 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4779 (ILL_ILLOPN): Likewise.
4780 (ILL_ILLADR): Likewise.
4781 (ILL_ILLTRP): Likewise.
4782 (ILL_PRVOPC): Likewise.
4783 (ILL_PRVREG): Likewise.
4784 (ILL_COPROC): Likewise.
4785 (ILL_BADSTK): Likewise.
4786 (FPE_INTDIV): Likewise.
4787 (FPE_INTOVF): Likewise.
4788 (FPE_FLTDIV): Likewise.
4789 (FPE_FLTOVF): Likewise.
4790 (FPE_FLTUND): Likewise.
4791 (FPE_FLTRES): Likewise.
4792 (FPE_FLTINV): Likewise.
4793 (FPE_FLTSUB): Likewise.
4794 (SEGV_MAPERR): Likewise.
4795 (SEGV_ACCERR): Likewise.
4796 (BUS_ADRALN): Likewise.
4797 (BUS_ADRERR): Likewise.
4798 (BUS_OBJERR): Likewise.
4799 (BUS_MCEERR_AR): Likewise.
4800 (BUS_MCEERR_AO): Likewise.
4801 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4802 (TRAP_TRACE): Likewise.
4803 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4804 __USE_XOPEN2K8].
4805 (CLD_KILLED): Likewise.
4806 (CLD_DUMPED): Likewise.
4807 (CLD_TRAPPED): Likewise.
4808 (CLD_STOPPED): Likewise.
4809 (CLD_CONTINUED): Likewise.
4810 (POLL_IN): Likewise.
4811 (POLL_OUT): Likewise.
4812 (POLL_MSG): Likewise.
4813 (POLL_ERR): Likewise.
4814 (POLL_PRI): Likewise.
4815 (POLL_HUP): Likewise.
4816 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4817 Likewise.
4818 (ILL_ILLOPN): Likewise.
4819 (ILL_ILLADR): Likewise.
4820 (ILL_ILLTRP): Likewise.
4821 (ILL_PRVOPC): Likewise.
4822 (ILL_PRVREG): Likewise.
4823 (ILL_COPROC): Likewise.
4824 (ILL_BADSTK): Likewise.
4825 (ILL_BADIADDR): Likewise.
4826 (ILL_BREAK): Likewise.
4827 (FPE_INTDIV): Likewise.
4828 (FPE_INTOVF): Likewise.
4829 (FPE_FLTDIV): Likewise.
4830 (FPE_FLTOVF): Likewise.
4831 (FPE_FLTUND): Likewise.
4832 (FPE_FLTRES): Likewise.
4833 (FPE_FLTINV): Likewise.
4834 (FPE_FLTSUB): Likewise.
4835 (FPE_DECOVF): Likewise.
4836 (FPE_DECDIV): Likewise.
4837 (FPE_DECERR): Likewise.
4838 (FPE_INVASC): Likewise.
4839 (FPE_INVDEC): Likewise.
4840 (SEGV_MAPERR): Likewise.
4841 (SEGV_ACCERR): Likewise.
4842 (SEGV_PSTKOVF): Likewise.
4843 (BUS_ADRALN): Likewise.
4844 (BUS_ADRERR): Likewise.
4845 (BUS_OBJERR): Likewise.
4846 (BUS_MCEERR_AR): Likewise.
4847 (BUS_MCEERR_AO): Likewise.
4848 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4849 (TRAP_TRACE): Likewise.
4850 (TRAP_BRANCH): Likewise.
4851 (TRAP_HWBKPT): Likewise.
4852 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4853 __USE_XOPEN2K8].
4854 (CLD_KILLED): Likewise.
4855 (CLD_DUMPED): Likewise.
4856 (CLD_TRAPPED): Likewise.
4857 (CLD_STOPPED): Likewise.
4858 (CLD_CONTINUED): Likewise.
4859 (POLL_IN): Likewise.
4860 (POLL_OUT): Likewise.
4861 (POLL_MSG): Likewise.
4862 (POLL_ERR): Likewise.
4863 (POLL_PRI): Likewise.
4864 (POLL_HUP): Likewise.
4865 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4866 (ILL_ILLOPN): Likewise.
4867 (ILL_ILLADR): Likewise.
4868 (ILL_ILLTRP): Likewise.
4869 (ILL_PRVOPC): Likewise.
4870 (ILL_PRVREG): Likewise.
4871 (ILL_COPROC): Likewise.
4872 (ILL_BADSTK): Likewise.
4873 (FPE_INTDIV): Likewise.
4874 (FPE_INTOVF): Likewise.
4875 (FPE_FLTDIV): Likewise.
4876 (FPE_FLTOVF): Likewise.
4877 (FPE_FLTUND): Likewise.
4878 (FPE_FLTRES): Likewise.
4879 (FPE_FLTINV): Likewise.
4880 (FPE_FLTSUB): Likewise.
4881 (SEGV_MAPERR): Likewise.
4882 (SEGV_ACCERR): Likewise.
4883 (BUS_ADRALN): Likewise.
4884 (BUS_ADRERR): Likewise.
4885 (BUS_OBJERR): Likewise.
4886 (BUS_MCEERR_AR): Likewise.
4887 (BUS_MCEERR_AO): Likewise.
4888 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4889 (TRAP_TRACE): Likewise.
4890 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4891 __USE_XOPEN2K8].
4892 (CLD_KILLED): Likewise.
4893 (CLD_DUMPED): Likewise.
4894 (CLD_TRAPPED): Likewise.
4895 (CLD_STOPPED): Likewise.
4896 (CLD_CONTINUED): Likewise.
4897 (POLL_IN): Likewise.
4898 (POLL_OUT): Likewise.
4899 (POLL_MSG): Likewise.
4900 (POLL_ERR): Likewise.
4901 (POLL_PRI): Likewise.
4902 (POLL_HUP): Likewise.
4903 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4904 (ILL_ILLOPN): Likewise.
4905 (ILL_ILLADR): Likewise.
4906 (ILL_ILLTRP): Likewise.
4907 (ILL_PRVOPC): Likewise.
4908 (ILL_PRVREG): Likewise.
4909 (ILL_COPROC): Likewise.
4910 (ILL_BADSTK): Likewise.
4911 (FPE_INTDIV): Likewise.
4912 (FPE_INTOVF): Likewise.
4913 (FPE_FLTDIV): Likewise.
4914 (FPE_FLTOVF): Likewise.
4915 (FPE_FLTUND): Likewise.
4916 (FPE_FLTRES): Likewise.
4917 (FPE_FLTINV): Likewise.
4918 (FPE_FLTSUB): Likewise.
4919 (SEGV_MAPERR): Likewise.
4920 (SEGV_ACCERR): Likewise.
4921 (BUS_ADRALN): Likewise.
4922 (BUS_ADRERR): Likewise.
4923 (BUS_OBJERR): Likewise.
4924 (BUS_MCEERR_AR): Likewise.
4925 (BUS_MCEERR_AO): Likewise.
4926 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4927 (TRAP_TRACE): Likewise.
4928 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4929 __USE_XOPEN2K8].
4930 (CLD_KILLED): Likewise.
4931 (CLD_DUMPED): Likewise.
4932 (CLD_TRAPPED): Likewise.
4933 (CLD_STOPPED): Likewise.
4934 (CLD_CONTINUED): Likewise.
4935 (POLL_IN): Likewise.
4936 (POLL_OUT): Likewise.
4937 (POLL_MSG): Likewise.
4938 (POLL_ERR): Likewise.
4939 (POLL_PRI): Likewise.
4940 (POLL_HUP): Likewise.
4941 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4942 (ILL_ILLOPN): Likewise.
4943 (ILL_ILLADR): Likewise.
4944 (ILL_ILLTRP): Likewise.
4945 (ILL_PRVOPC): Likewise.
4946 (ILL_PRVREG): Likewise.
4947 (ILL_COPROC): Likewise.
4948 (ILL_BADSTK): Likewise.
4949 (FPE_INTDIV): Likewise.
4950 (FPE_INTOVF): Likewise.
4951 (FPE_FLTDIV): Likewise.
4952 (FPE_FLTOVF): Likewise.
4953 (FPE_FLTUND): Likewise.
4954 (FPE_FLTRES): Likewise.
4955 (FPE_FLTINV): Likewise.
4956 (FPE_FLTSUB): Likewise.
4957 (SEGV_MAPERR): Likewise.
4958 (SEGV_ACCERR): Likewise.
4959 (BUS_ADRALN): Likewise.
4960 (BUS_ADRERR): Likewise.
4961 (BUS_OBJERR): Likewise.
4962 (BUS_MCEERR_AR): Likewise.
4963 (BUS_MCEERR_AO): Likewise.
4964 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4965 (TRAP_TRACE): Likewise.
4966 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4967 __USE_XOPEN2K8].
4968 (CLD_KILLED): Likewise.
4969 (CLD_DUMPED): Likewise.
4970 (CLD_TRAPPED): Likewise.
4971 (CLD_STOPPED): Likewise.
4972 (CLD_CONTINUED): Likewise.
4973 (POLL_IN): Likewise.
4974 (POLL_OUT): Likewise.
4975 (POLL_MSG): Likewise.
4976 (POLL_ERR): Likewise.
4977 (POLL_PRI): Likewise.
4978 (POLL_HUP): Likewise.
4979 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4980 (ILL_ILLOPN): Likewise.
4981 (ILL_ILLADR): Likewise.
4982 (ILL_ILLTRP): Likewise.
4983 (ILL_PRVOPC): Likewise.
4984 (ILL_PRVREG): Likewise.
4985 (ILL_COPROC): Likewise.
4986 (ILL_BADSTK): Likewise.
4987 (ILL_DBLFLT): Likewise.
4988 (ILL_HARDWALL): Likewise.
4989 (FPE_INTDIV): Likewise.
4990 (FPE_INTOVF): Likewise.
4991 (FPE_FLTDIV): Likewise.
4992 (FPE_FLTOVF): Likewise.
4993 (FPE_FLTUND): Likewise.
4994 (FPE_FLTRES): Likewise.
4995 (FPE_FLTINV): Likewise.
4996 (FPE_FLTSUB): Likewise.
4997 (SEGV_MAPERR): Likewise.
4998 (SEGV_ACCERR): Likewise.
4999 (BUS_ADRALN): Likewise.
5000 (BUS_ADRERR): Likewise.
5001 (BUS_OBJERR): Likewise.
5002 (BUS_MCEERR_AR): Likewise.
5003 (BUS_MCEERR_AO): Likewise.
5004 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5005 (TRAP_TRACE): Likewise.
5006 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5007 __USE_XOPEN2K8].
5008 (CLD_KILLED): Likewise.
5009 (CLD_DUMPED): Likewise.
5010 (CLD_TRAPPED): Likewise.
5011 (CLD_STOPPED): Likewise.
5012 (CLD_CONTINUED): Likewise.
5013 (POLL_IN): Likewise.
5014 (POLL_OUT): Likewise.
5015 (POLL_MSG): Likewise.
5016 (POLL_ERR): Likewise.
5017 (POLL_PRI): Likewise.
5018 (POLL_HUP): Likewise.
5019 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5020 (ILL_ILLOPN): Likewise.
5021 (ILL_ILLADR): Likewise.
5022 (ILL_ILLTRP): Likewise.
5023 (ILL_PRVOPC): Likewise.
5024 (ILL_PRVREG): Likewise.
5025 (ILL_COPROC): Likewise.
5026 (ILL_BADSTK): Likewise.
5027 (FPE_INTDIV): Likewise.
5028 (FPE_INTOVF): Likewise.
5029 (FPE_FLTDIV): Likewise.
5030 (FPE_FLTOVF): Likewise.
5031 (FPE_FLTUND): Likewise.
5032 (FPE_FLTRES): Likewise.
5033 (FPE_FLTINV): Likewise.
5034 (FPE_FLTSUB): Likewise.
5035 (SEGV_MAPERR): Likewise.
5036 (SEGV_ACCERR): Likewise.
5037 (BUS_ADRALN): Likewise.
5038 (BUS_ADRERR): Likewise.
5039 (BUS_OBJERR): Likewise.
5040 (BUS_MCEERR_AR): Likewise.
5041 (BUS_MCEERR_AO): Likewise.
5042 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5043 (TRAP_TRACE): Likewise.
5044 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5045 __USE_XOPEN2K8].
5046 (CLD_KILLED): Likewise.
5047 (CLD_DUMPED): Likewise.
5048 (CLD_TRAPPED): Likewise.
5049 (CLD_STOPPED): Likewise.
5050 (CLD_CONTINUED): Likewise.
5051 (POLL_IN): Likewise.
5052 (POLL_OUT): Likewise.
5053 (POLL_MSG): Likewise.
5054 (POLL_ERR): Likewise.
5055 (POLL_PRI): Likewise.
5056 (POLL_HUP): Likewise.
5057 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5058 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5059
bc61d27c
JM
5060 [BZ #16670]
5061 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5062 before #include of <time.h>.
5063 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5064 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5065 (test-xfail-UNIX98/sched.h/conform): Likewise.
5066
302949e2
MS
50672014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5068
5069 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5070 error absence of trapping exception support.
5071 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5072
a00f522a
JM
50732014-03-07 Joseph Myers <joseph@codesourcery.com>
5074
6f99f280
JM
5075 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5076 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5077 * timezone/Makefile (testdata): Move definition above include of
5078 Rules.
5079 (test-zones): New variable.
5080 (tests-special): Add zone files.
5081 (build-testdata): Use $(evaluate-test).
5082
0b20a9e8
JM
5083 * elf/Makefile (tests-special): Rename tests to end with .out.
5084 ($(objpfx)noload-mem): Likewise.
5085 ($(objpfx)tst-leaks1-mem): Likewise.
5086 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5087 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5088 $(objpfx)test-iconvconfig.out.
5089 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5090 set -e inside subshell and redirect output to file.
5091 * iconvdata/Makefile (generated): Rename tests to end with .out.
5092 Correct type.
5093 (tests-special): Rename tests to end with .out.
5094 ($(objpfx)mtrace-tst-loading): Likewise.
5095 * intl/Makefile (generated): Likewise.
5096 (tests-special): Likewise.
5097 ($(objpfx)mtrace-tst-gettext): Likewise.
5098 * misc/Makefile (generated): Likewise.
5099 (tests-special): Likewise.
5100 ($(objpfx)tst-error1-mem): Likewise.
5101 * nptl/Makefile (tests-special): Likewise.
5102 ($(objpfx)tst-stack3-mem): Likewise.
5103 (generated): Likewise.
5104 * posix/Makefile (generated): Likewise.
5105 (tests-special): Likewise.
5106 (xtests-special): Likewise.
5107 ($(objpfx)tst-fnmatch-mem): Likewise.
5108 ($(objpfx)bug-regex2-mem): Likewise.
5109 ($(objpfx)bug-regex14-mem): Likewise.
5110 ($(objpfx)bug-regex21-mem): Likewise.
5111 ($(objpfx)bug-regex31-mem): Likewise.
5112 ($(objpfx)tst-vfork3-mem): Likewise.
5113 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5114 ($(objpfx)tst-pcre-mem): Likewise.
5115 ($(objpfx)tst-boost-mem): Likewise.
5116 ($(objpfx)bug-ga2-mem): Likewise.
5117 ($(objpfx)bug-glob2-mem): Likewise.
5118 * resolv/Makefile (generate): Likewise.
5119 (tests-special): Likewise.
5120 (xtests-special): Likewise.
5121 (generated): Likewise.
5122 ($(objpfx)mtrace-tst-leaks): Likewise.
5123 ($(objpfx)mtrace-tst-leaks2): Likewise.
5124
265d52ab
JM
5125 * scripts/merge-test-results.sh: New file.
5126 * Makefile (tests-special-notdir): New variable.
5127 (tests): Run merge-test-results.sh.
5128 (xtests): Likewise.
5129 * Rules (tests-special-notdir): New variable.
5130 (xtests-special-notdir): Likewise.
5131 (tests): Run merge-test-results.sh
5132 (xtests): Likewise.
5133
54ee292d
JM
5134 * Makeconfig (test-xfail-name): New variable.
5135 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5136 compute variable name for expected failures.
5137 * conform/Makefile (conformtest-headers-data): New variable.
5138 (conformtest-standards): Likewise.
5139 (conformtest-headers-ISO): Likewise.
5140 (conformtest-headers-ISO99): Likewise.
5141 (conformtest-headers-ISO11): Likewise.
5142 (conformtest-headers-POSIX): Likewise.
5143 (conformtest-headers-XPG3): Likewise.
5144 (conformtest-headers-XPG4): Likewise.
5145 (conformtest-headers-UNIX98): Likewise.
5146 (conformtest-headers-XOPEN2K): Likewise.
5147 (conformtest-headers-POSIX2008): Likewise.
5148 (conformtest-headers-XOPEN2K8): Likewise.
5149 (conformtest-header-list-base): Likewise.
5150 (conformtest-header-list-tests): Likewise.
5151 (conformtest-header-base): Likewise.
5152 (conformtest-header-tests): Likewise.
5153 (tests-special): Add $(conformtest-header-list-tests). If
5154 [$(fast-check) && !$(cross-compiling)], add
5155 $(conformtest-header-tests) instead of
5156 $(objpfx)run-conformtest.out.
5157 (generated): Add $(conformtest-header-list-base). If
5158 [$(fast-check) && !$(cross-compiling)], add
5159 $(conformtest-header-base). Remove previous setting.
5160 ($(conformtest-header-list-tests)): New target.
5161 (test-xfail-run-conformtest): Remove variable.
5162 ($(objpfx)run-conformtest.out): Remove target.
5163 (test-xfail-ISO11/complex.h/conform): New variable.
5164 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5165 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5166 (test-xfail-XPG3/varargs.h/conform): Likewise.
5167 (test-xfail-XPG4/varargs.h/conform): Likewise.
5168 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5169 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5170 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5171 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5172 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5173 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5174 (test-xfail-XPG3/ftw.h/conform): Likewise.
5175 (test-xfail-XPG3/grp.h/conform): Likewise.
5176 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5177 (test-xfail-XPG3/limits.h/conform): Likewise.
5178 (test-xfail-XPG3/pwd.h/conform): Likewise.
5179 (test-xfail-XPG3/search.h/conform): Likewise.
5180 (test-xfail-XPG3/signal.h/conform): Likewise.
5181 (test-xfail-XPG3/stdio.h/conform): Likewise.
5182 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5183 (test-xfail-XPG3/string.h/conform): Likewise.
5184 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5185 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5186 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5187 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5188 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5189 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5190 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5191 (test-xfail-XPG3/termios.h/conform): Likewise.
5192 (test-xfail-XPG3/time.h/conform): Likewise.
5193 (test-xfail-XPG3/unistd.h/conform): Likewise.
5194 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5195 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5196 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5197 (test-xfail-XPG4/netdb.h/conform): Likewise.
5198 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5199 (test-xfail-XPG4/signal.h/conform): Likewise.
5200 (test-xfail-XPG4/stdio.h/conform): Likewise.
5201 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5202 (test-xfail-XPG4/stropts.h/conform): Likewise.
5203 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5204 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5205 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5206 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5207 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5208 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5209 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5210 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5211 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5212 (test-xfail-XPG4/termios.h/conform): Likewise.
5213 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5214 (test-xfail-XPG4/unistd.h/conform): Likewise.
5215 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5216 (test-xfail-POSIX/sched.h/conform): Likewise.
5217 (test-xfail-POSIX/signal.h/conform): Likewise.
5218 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5219 (test-xfail-POSIX/tar.h/conform): Likewise.
5220 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5221 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5222 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5223 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5224 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5225 (test-xfail-UNIX98/sched.h/conform): Likewise.
5226 (test-xfail-UNIX98/signal.h/conform): Likewise.
5227 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5228 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5229 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5230 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5231 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5232 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5233 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5234 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5235 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5236 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5237 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5238 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5239 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5240 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5241 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5242 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5243 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5244 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5245 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5246 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5247 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5248 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5249 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5250 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5251 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5252 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5253 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5254 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5255 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5256 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5257 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5258 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5259 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5260 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5261 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5262 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5263 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5264 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5265 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5266 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5267 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5268 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5269 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5270 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5271 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5272 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5273 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5274 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5275 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5276 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5277 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5278 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5279 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5280 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5281 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5282 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5283 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5284 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5285 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5286 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5287 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5288 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5289 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5290 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5291 (conformtest-cc-flags): Likewise.
5292 ($(conformtest-header-tests): New target.
5293 * conform/check-header-lists.sh: New file.
5294 * conform/run-conformtest.sh: Remove.
5295
a00f522a
JM
5296 * conform/conformtest.pl: Allow ' and \ in values given for
5297 constants.
5298 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5299 inclusion.
5300 [POSIX] (sys/types.h): Likewise.
5301 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5302 inclusion.
5303 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5304 inclusion.
5305 * conform/data/signal.h-data (SIGIO): Remove expectation.
5306 [XPG3] (SIGBUS): Do not expect.
5307 [POSIX || XPG3] (SIGPOLL): Likewise.
5308 [POSIX || XPG3] (SIGPROF): Likewise.
5309 [POSIX || XPG3] (SIGSYS): Likewise.
5310 [XPG3] (SIGTRAP): Likewise.
5311 [POSIX || XPG3] (SIGURG): Likewise.
5312 [POSIX || XPG3] (SIGVTALRM): Likewise.
5313 [POSIX || XPG3] (SIGXCPU): Likewise.
5314 [POSIX || XPG3] (SIGXFSZ): Likewise.
5315 [POSIX] (SA_SIGINFO): Expect.
5316 [XPG3] (siginfo_t): Do not expect type or contents.
5317 [POSIX] (si_pid): Do not expect element.
5318 [POSIX] (si_uid): Likewise.
5319 [POSIX] (si_addr): Likewise.
5320 [POSIX] (si_status): Likewise.
5321 [POSIX] (si_band): Likewise.
5322 [XPG4] (si_value): Likewise.
5323 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5324 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5325 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5326 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5327 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5328 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5329 [POSIX || XPG3] (ILL_COPROC): Likewise.
5330 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5331 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5332 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5333 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5334 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5335 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5336 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5337 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5338 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5339 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5340 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5341 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5342 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5343 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5344 [POSIX || XPG3] (CLD_EXITED): Likewise.
5345 [POSIX || XPG3] (CLD_KILLED): Likewise.
5346 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5347 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5348 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5349 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5350 [POSIX || XPG3] (POLL_IN): Likewise.
5351 [POSIX || XPG3] (POLL_OUT): Likewise.
5352 [POSIX || XPG3] (POLL_MSG): Likewise.
5353 [POSIX || XPG3] (POLL_ERR): Likewise.
5354 [POSIX || XPG3] (POLL_PRI): Likewise.
5355 [POSIX || XPG3] (POLL_HUP): Likewise.
5356 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5357 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5358 (SIG*): Do not allow.
5359 [XPG3] (si_*): Likewise.
5360 [XPG3] (SI_*): Likewise.
5361 [XPG3 || XPG4] (sigev_*): Likewise.
5362 [XPG3 || XPG4] (SIGEV_*): Likewise.
5363 [XPG3 || XPG4] (sival_*): Likewise.
5364 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5365 [POSIX || XPG3] (BUS_*): Likewise.
5366 [POSIX || XPG3] (CLD_*): Likewise.
5367 [POSIX || XPG3] (FPE_*): Likewise.
5368 [POSIX || XPG3] (ILL_*): Likewise.
5369 [POSIX || XPG3] (POLL_*): Likewise.
5370 [POSIX || XPG3] (SEGV_*): Likewise.
5371 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5372 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5373 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5374 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5375 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5376 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5377 Specify type and value.
5378 (TVERSLEN): Likewise.
5379 (REGTYPE): Likewise.
5380 (AREGTYPE): Likewise.
5381 (LNKTYPE): Likewise.
5382 (SYMTYPE): Likewise.
5383 (CHRTYPE): Likewise.
5384 (BLKTYPE): Likewise.
5385 (DIRTYPE): Likewise.
5386 (FIFOTYPE): Likewise.
5387 (CONTTYPE): Likewise.
5388 (TSUID): Likewise.
5389 (TSGID): Likewise.
5390 (TSVTX): Likewise.
5391 (TUREAD): Likewise.
5392 (TUWRITE): Likewise.
5393 (TUEXEC): Likewise.
5394 (TGREAD): Likewise.
5395 (TGWRITE): Likewise.
5396 (TGEXEC): Likewise.
5397 (TOREAD): Likewise.
5398 (TOWRITE): Likewise.
5399 (TOEXEC): Likewise.
5400 [POSIX] (TSVTX): Expect constant.
5401
aa97dee1
JM
54022014-03-06 Joseph Myers <joseph@codesourcery.com>
5403
f214606a
JM
5404 * Makefile (tests): Change dependencies to ....
5405 (tests-special): ... additions to this variable.
5406 (tests): Depend on $(tests-special).
5407 * Makerules (check-abi-list): New variable.
5408 (check-abi): Depend on $(check-abi-list).
5409 [$(subdir) = elf] (tests-special): Add
5410 $(objpfx)check-abi-libc.out.
5411 [$(build-shared) = yes && subdir] (tests-special): Add
5412 $(check-abi-list).
5413 [$(build-shared) = yes && subdir] (tests): Do not depend on
5414 check-abi.
5415 * Rules (tests): Depend on $(tests-special).
5416 (xtests): Depend on $(xtests-special).
5417 * catgets/Makefile (tests): Change dependencies to ....
5418 (tests-special): ... additions to this variable.
5419 * conform/Makefile (tests): Change dependencies to ....
5420 (tests-special): ... additions to this variable.
5421 * elf/Makefile (tests): Change dependencies to ....
5422 (tests-special): ... additions to this variable.
5423 * grp/Makefile (tests): Change dependencies to ....
5424 (tests-special): ... additions to this variable.
5425 * iconv/Makefile (xtests): Change dependencies to ....
5426 (xtests-special): ... additions to this variable.
5427 * iconvdata/Makefile (tests): Change dependencies to ....
5428 (tests-special): ... additions to this variable.
5429 * intl/Makefile (tests): Change dependencies to ....
5430 (tests-special): ... additions to this variable. Also add
5431 $(objpfx)tst-gettext.out.
5432 * io/Makefile (tests): Change dependencies to ....
5433 (tests-special): ... additions to this variable.
5434 * libio/Makefile (tests): Change dependencies to ....
5435 (tests-special): ... additions to this variable.
5436 * malloc/Makefile (tests): Change dependencies to ....
5437 (tests-special): ... additions to this variable.
5438 * misc/Makefile (tests): Change dependencies to ....
5439 (tests-special): ... additions to this variable.
5440 * nptl/Makefile (tests): Change dependencies to ....
5441 (tests-special): ... additions to this variable.
5442 * nptl_db/Makefile (tests): Change dependencies to ....
5443 (tests-special): ... additions to this variable.
5444 * posix/Makefile (tests): Change dependencies to ....
5445 (tests-special): ... additions to this variable.
5446 (xtests): Change dependencies to ....
5447 (xtests-special): ... additions to this variable.
5448 * resolv/Makefile (tests): Change dependencies to ....
5449 (tests-special): ... additions to this variable.
5450 (xtests): Change dependencies to ....
5451 (xtests-special): ... additions to this variable.
5452 * stdio-common/Makefile (tests): Change dependencies to ....
5453 (tests-special): ... additions to this variable.
5454 (do-tst-unbputc): Remove target.
5455 (do-tst-printf): Likewise.
5456 * stdlib/Makefile (tests): Change dependencies to ....
5457 (tests-special): ... additions to this variable.
5458 * string/Makefile (tests): Change dependencies to ....
5459 (tests-special): ... additions to this variable.
5460 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5461 (tests-special): ... additions to this variable.
5462
81700b53
JM
5463 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5464 whole file.
5465 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5466 whole file.
5467 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5468 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5469
2ea18461
JM
5470 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5471 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5472 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5473 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5474 * conform/data/libgen.h-data [XPG3]: Likewise.
5475 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5476 * conform/data/ndbm.h-data [XPG3]: Likewise.
5477 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5478 * conform/data/netdb.h-data [XPG3]: Likewise.
5479 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5480 * conform/data/poll.h-data [XPG3]: Likewise.
5481 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5482 * conform/data/strings.h-data [XPG3]: Likewise.
5483 * conform/data/stropts.h-data [XPG3]: Likewise.
5484 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5485 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5486 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5487 Likewise.
5488 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5489 * conform/data/sys/time.h-data [XPG3]: Likewise.
5490 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5491 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5492 * conform/data/sys/un.h-data [XPG3]: Likewise.
5493 * conform/data/syslog.h-data [XPG3]: Likewise.
5494 * conform/data/ucontext.h-data [XPG3]: Likewise.
5495 * conform/data/utmpx.h-data [XPG3]: Likewise.
5496 * conform/data/varargs.h-data [UNIX98]: Enable file.
5497
355bc986
JM
5498 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5499
215db402
JM
5500 * math/libm-test.inc (struct test_f_f_data): Move expected results
5501 into structure for each rounding mode.
5502 (struct test_ff_f_data): Likewise.
5503 (struct test_ff_f_data_nexttoward): Likewise.
5504 (struct test_fi_f_data): Likewise.
5505 (struct test_fl_f_data): Likewise.
5506 (struct test_if_f_data): Likewise.
5507 (struct test_fff_f_data): Likewise.
5508 (struct test_c_f_data): Likewise.
5509 (struct test_f_f1_data): Likewise.
5510 (struct test_fF_f1_data): Likewise.
5511 (struct test_ffI_f1_data): Likewise.
5512 (struct test_c_c_data): Likewise.
5513 (struct test_cc_c_data): Likewise.
5514 (struct test_f_i_data): Likewise.
5515 (struct test_ff_i_data): Likewise.
5516 (struct test_f_l_data): Likewise.
5517 (struct test_f_L_data): Likewise.
5518 (struct test_fFF_11_data): Likewise.
5519 (RM_): New macro.
5520 (RM_FE_DOWNWARD): Likewise.
5521 (RM_FE_TONEAREST): Likewise.
5522 (RM_FE_TOWARDZERO): Likewise.
5523 (RM_FE_UPWARD): Likewise.
5524 (RUN_TEST_LOOP_f_f): Update references to expected results.
5525 (RUN_TEST_LOOP_2_f): Likewise.
5526 (RUN_TEST_LOOP_fff_f): Likewise.
5527 (RUN_TEST_LOOP_c_f): Likewise.
5528 (RUN_TEST_LOOP_f_f1): Likewise.
5529 (RUN_TEST_LOOP_fF_f1): Likewise.
5530 (RUN_TEST_LOOP_fI_f1): Likewise.
5531 (RUN_TEST_LOOP_ffI_f1): Likewise.
5532 (RUN_TEST_LOOP_c_c): Likewise.
5533 (RUN_TEST_LOOP_cc_c): Likewise.
5534 (RUN_TEST_LOOP_f_i): Likewise.
5535 (RUN_TEST_LOOP_f_i_tg): Likewise.
5536 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5537 (RUN_TEST_LOOP_f_b): Likewise.
5538 (RUN_TEST_LOOP_f_b_tg): Likewise.
5539 (RUN_TEST_LOOP_f_l): Likewise.
5540 (RUN_TEST_LOOP_f_L): Likewise.
5541 (RUN_TEST_LOOP_fFF_11): Likewise.
5542 * math/gen-libm-test.pl (parse_args): Output four copies of
5543 expected results for each test.
5544
67737b8f
JM
5545 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5546 (__ASSUME_UTIMES): Remove.
5547 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5548 (__ASSUME_UTIMES): Likewise.
5549
aa97dee1
JM
5550 * math/gen-auto-libm-tests.c: Update comment on output format.
5551 (output_for_one_input_case): Generate before-rounding and
5552 after-rounding information as conditions on output flags not
5553 floating-point format.
5554 * math/auto-libm-test-out: Regenerated.
5555 * math/gen-libm-test.pl (cond_value): New function.
5556 (or_cond_value): Use cond_value.
5557 (generate_testfile): Handle conditional exceptions.
5558
e6b6a857
JM
55592014-03-05 Joseph Myers <joseph@codesourcery.com>
5560
2f0a0f44
JM
5561 * math/libm-test.inc (max_valid_error): New variable.
5562 (init_max_error): Take new argument specifying whether function
5563 results are exactly determined. Set max_valid_error and bound
5564 other variables for errors based on this argument.
5565 (set_max_error): Do not record results above max_valid_error.
5566 (check_float_internal): Only accept errors of up to 0.5ulps if
5567 also at most max_valid_error.
5568 (START): Take new argument EXACT and pass it to init_max_error.
5569 (acos_test): Update call to START.
5570 (acos_test_tonearest): Likewise.
5571 (acos_test_towardzero): Likewise.
5572 (acos_test_downward): Likewise.
5573 (acos_test_upward): Likewise.
5574 (acosh_test): Likewise.
5575 (asin_test): Likewise.
5576 (asin_test_tonearest): Likewise.
5577 (asin_test_towardzero): Likewise.
5578 (asin_test_downward): Likewise.
5579 (asin_test_upward): Likewise.
5580 (asinh_test): Likewise.
5581 (atan_test): Likewise.
5582 (atanh_test): Likewise.
5583 (atan2_test): Likewise.
5584 (cabs_test): Likewise.
5585 (cacos_test): Likewise.
5586 (cacosh_test): Likewise.
5587 (carg_test): Likewise.
5588 (casin_test): Likewise.
5589 (casinh_test): Likewise.
5590 (catan_test): Likewise.
5591 (catanh_test): Likewise.
5592 (cbrt_test): Likewise.
5593 (ccos_test): Likewise.
5594 (ccosh_test): Likewise.
5595 (ceil_test): Likewise.
5596 (cexp_test): Likewise.
5597 (cimag_test): Likewise.
5598 (clog_test): Likewise.
5599 (clog10_test): Likewise.
5600 (conj_test): Likewise.
5601 (copysign_test): Likewise.
5602 (cos_test): Likewise.
5603 (cos_test_tonearest): Likewise.
5604 (cos_test_towardzero): Likewise.
5605 (cos_test_downward): Likewise.
5606 (cos_test_upward): Likewise.
5607 (cosh_test): Likewise.
5608 (cosh_test_tonearest): Likewise.
5609 (cosh_test_towardzero): Likewise.
5610 (cosh_test_downward): Likewise.
5611 (cosh_test_upward): Likewise.
5612 (cpow_test): Likewise.
5613 (cproj_test): Likewise.
5614 (creal_test): Likewise.
5615 (csin_test): Likewise.
5616 (csinh_test): Likewise.
5617 (csqrt_test): Likewise.
5618 (ctan_test): Likewise.
5619 (ctan_test_tonearest): Likewise.
5620 (ctan_test_towardzero): Likewise.
5621 (ctan_test_downward): Likewise.
5622 (ctan_test_upward): Likewise.
5623 (ctanh_test): Likewise.
5624 (ctanh_test_tonearest): Likewise.
5625 (ctanh_test_towardzero): Likewise.
5626 (ctanh_test_downward): Likewise.
5627 (ctanh_test_upward): Likewise.
5628 (erf_test): Likewise.
5629 (erfc_test): Likewise.
5630 (exp_test): Likewise.
5631 (exp_test_tonearest): Likewise.
5632 (exp_test_towardzero): Likewise.
5633 (exp_test_downward): Likewise.
5634 (exp_test_upward): Likewise.
5635 (exp10_test): Likewise.
5636 (exp10_test_tonearest): Likewise.
5637 (exp10_test_towardzero): Likewise.
5638 (exp10_test_downward): Likewise.
5639 (exp10_test_upward): Likewise.
5640 (pow10_test): Likewise.
5641 (exp2_test): Likewise.
5642 (expm1_test): Likewise.
5643 (expm1_test_tonearest): Likewise.
5644 (expm1_test_towardzero): Likewise.
5645 (expm1_test_downward): Likewise.
5646 (expm1_test_upward): Likewise.
5647 (fabs_test): Likewise.
5648 (fdim_test): Likewise.
5649 (floor_test): Likewise.
5650 (fma_test): Likewise.
5651 (fma_test_towardzero): Likewise.
5652 (fma_test_downward): Likewise.
5653 (fma_test_upward): Likewise.
5654 (fmax_test): Likewise.
5655 (fmin_test): Likewise.
5656 (fmod_test): Likewise.
5657 (fpclassify_test): Likewise.
5658 (frexp_test): Likewise.
5659 (hypot_test): Likewise.
5660 (ilogb_test): Likewise.
5661 (isfinite_test): Likewise.
5662 (finite_test): Likewise.
5663 (isgreater_test): Likewise.
5664 (isgreaterequal_test): Likewise.
5665 (isinf_test): Likewise.
5666 (isless_test): Likewise.
5667 (islessequal_test): Likewise.
5668 (islessgreater_test): Likewise.
5669 (isnan_test): Likewise.
5670 (isnormal_test): Likewise.
5671 (issignaling_test): Likewise.
5672 (isunordered_test): Likewise.
5673 (j0_test): Likewise.
5674 (j1_test): Likewise.
5675 (jn_test): Likewise.
5676 (ldexp_test): Likewise.
5677 (lgamma_test): Likewise.
5678 (gamma_test): Likewise.
5679 (lrint_test): Likewise.
5680 (lrint_test_tonearest): Likewise.
5681 (lrint_test_towardzero): Likewise.
5682 (lrint_test_downward): Likewise.
5683 (lrint_test_upward): Likewise.
5684 (llrint_test): Likewise.
5685 (llrint_test_tonearest): Likewise.
5686 (llrint_test_towardzero): Likewise.
5687 (llrint_test_downward): Likewise.
5688 (llrint_test_upward): Likewise.
5689 (log_test): Likewise.
5690 (log10_test): Likewise.
5691 (log1p_test): Likewise.
5692 (log2_test): Likewise.
5693 (logb_test): Likewise.
5694 (logb_test_downward): Likewise.
5695 (lround_test): Likewise.
5696 (llround_test): Likewise.
5697 (modf_test): Likewise.
5698 (nearbyint_test): Likewise.
5699 (nextafter_test): Likewise.
5700 (nexttoward_test): Likewise.
5701 (pow_test): Likewise.
5702 (pow_test_tonearest): Likewise.
5703 (pow_test_towardzero): Likewise.
5704 (pow_test_downward): Likewise.
5705 (pow_test_upward): Likewise.
5706 (remainder_test): Likewise.
5707 (drem_test): Likewise.
5708 (remainder_test_tonearest): Likewise.
5709 (drem_test_tonearest): Likewise.
5710 (remainder_test_towardzero): Likewise.
5711 (drem_test_towardzero): Likewise.
5712 (remainder_test_downward): Likewise.
5713 (drem_test_downward): Likewise.
5714 (remainder_test_upward): Likewise.
5715 (drem_test_upward): Likewise.
5716 (remquo_test): Likewise.
5717 (rint_test): Likewise.
5718 (rint_test_tonearest): Likewise.
5719 (rint_test_towardzero): Likewise.
5720 (rint_test_downward): Likewise.
5721 (rint_test_upward): Likewise.
5722 (round_test): Likewise.
5723 (scalb_test): Likewise.
5724 (scalbn_test): Likewise.
5725 (scalbln_test): Likewise.
5726 (signbit_test): Likewise.
5727 (sin_test): Likewise.
5728 (sin_test_tonearest): Likewise.
5729 (sin_test_towardzero): Likewise.
5730 (sin_test_downward): Likewise.
5731 (sin_test_upward): Likewise.
5732 (sincos_test): Likewise.
5733 (sinh_test): Likewise.
5734 (sinh_test_tonearest): Likewise.
5735 (sinh_test_towardzero): Likewise.
5736 (sinh_test_downward): Likewise.
5737 (sinh_test_upward): Likewise.
5738 (sqrt_test): Likewise.
5739 (sqrt_test_tonearest): Likewise.
5740 (sqrt_test_towardzero): Likewise.
5741 (sqrt_test_downward): Likewise.
5742 (sqrt_test_upward): Likewise.
5743 (tan_test): Likewise.
5744 (tan_test_tonearest): Likewise.
5745 (tan_test_towardzero): Likewise.
5746 (tan_test_downward): Likewise.
5747 (tan_test_upward): Likewise.
5748 (tanh_test): Likewise.
5749 (tgamma_test): Likewise.
5750 (trunc_test): Likewise.
5751 (y0_test): Likewise.
5752 (y1_test): Likewise.
5753 (yn_test): Likewise.
5754 (significand_test): Likewise.
5755
e6b6a857
JM
5756 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5757 individual tests in comment.
5758 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5759 (prev_max_error): New variable.
5760 (prev_real_max_error): Likewise.
5761 (prev_imag_max_error): Likewise.
5762 (compare_ulp_data): Don't refer to test names in comment.
5763 (find_test_ulps): Remove function.
5764 (find_function_ulps): Likewise.
5765 (find_complex_function_ulps): Likewise.
5766 (init_max_error): Take function name as argument. Look up ulps
5767 for that function.
5768 (print_ulps): Remove function.
5769 (print_max_error): Use prev_max_error instead of calling
5770 find_function_ulps.
5771 (print_complex_max_error): Use prev_real_max_error and
5772 prev_imag_max_error instead of calling find_complex_function_ulps.
5773 (check_float_internal): Take max_ulp parameter instead of calling
5774 find_test_ulps. Don't call print_ulps.
5775 (check_float): Update call to check_float_internal.
5776 (check_complex): Update calls to check_float_internal.
5777 (START): Pass argument to init_max_error.
5778 * math/gen-libm-test.pl (%results): Don't include "kind"
5779 information.
5780 (parse_ulps): Don't handle ulps of individual tests.
5781 (print_ulps_file): Likewise.
5782 (output_ulps): Likewise.
5783 * math/README.libm-test: Update.
5784 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5785 individual tests.
5786 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5787 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5788 * sysdeps/arm/libm-test-ulps: Likewise.
5789 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5790 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5791 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5792 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5793 * sysdeps/microblaze/libm-test-ulps: Likewise.
5794 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5795 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5796 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5797 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5798 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5799 * sysdeps/sh/libm-test-ulps: Likewise.
5800 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5801 * sysdeps/tile/libm-test-ulps: Likewise.
5802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5803
45adef3c
JM
58042014-03-04 Joseph Myers <joseph@codesourcery.com>
5805
5806 * math/libm-test.inc (print_complex_max_error): Check separately
5807 whether real and imaginary errors are within allowed range and
5808 pass 0 to print_complex_function_ulps instead of value within
5809 allowed range.
5810
000232b9
SP
58112014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5812
d4b17258
SP
5813 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5814 formatting.
5815 (get_handles_fopen): Likewise.
5816 (do_write_test): Likewise.
5817
091eff71
SP
5818 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5819
fa3cd248
SP
5820 * libio/fileops.c (do_ftell): Use cached offset when
5821 available.
5822 * libio/iofwide.c (do_ftell_wide): Likewise.
5823 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5824 _IO_file_attach.
5825 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5826
000232b9
SP
5827 [BZ #16532]
5828 * libio/libioP.h (get_file_offset): New function.
5829 * libio/fileops.c (get_file_offset): Likewise.
5830 (do_ftell): Likewise.
5831 (_IO_new_file_seekoff): Split out ftell logic.
5832 * libio/wfileops.c (do_ftell_wide): Likewise.
5833 (_IO_wfile_seekoff): Split out ftell logic.
5834 * libio/tst-ftell-active-handler.c: New test case.
5835 * libio/Makefile (tests): Add it.
5836
116f4d1a
RM
58372014-03-03 Roland McGrath <roland@hack.frob.com>
5838
5839 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5840 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5841
532a6035
SP
58422014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5843
5844 [BZ #16639]
5845 * nscd/connections.c (nscd_init): Call do_exit.
5846 (start_threads): Call do_exit and notify_parent.
5847 (begin_drop_privileges): Call do_exit.
5848 (finish_drop_privileges): Likewise.
5849 * nscd/selinux.c (preserve_capabilities): Likewise.
5850 (install_real_capabilities): Likewise.
5851 (nscd_selinux_enabled): Likewise.
5852 (avc_create_thread): Likewise.
5853 (avc_alloc_lock): Likewise.
5854 (nscd_avc_init): Likewise.
5855 * nscd/nscd.c (parent_fd): New static variable.
5856 (main): Create a pipe between parent and child processes.
5857 Skip closing parent_fd.
5858 (monitor_child): New function.
5859 (do_exit): Likewise.
5860 (notify_parent): Likewise.
5861 * nscd/nscd.h (notify_parent): Likewise.
5862 (do_exit): Likewise.
5863
d6285c9f
CD
58642014-03-03 Carlos O'Donell <carlos@redhat.com>
5865
5866 * malloc/malloc.c (__libc_calloc): Revert last change.
5867
2b85d2a0
AZ
58682014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5869
5870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5871
c7debbdf
RS
58722014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5873
5874 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5875 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5876 implementation.
5877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5878 (__libc_ifunc_impl_list): Likewise.
5879 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5880 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5881 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5882 * string/strrchr.c: Define STRRCHR.
5883
235eed86
OB
58842014-02-28 Ondřej Bílka <neleai@seznam.cz>
5885
5886 * benchtest/bench-strtok.c (simple_strtok): Delete.
5887 (strtok_string): Use as benchmark.
5888 * string/strtok (STRTOK): New macro.
5889
8e25d1e7
CD
58902014-02-28 Carlos O'Donell <carlos@redhat.com>
5891
ef563f92
CD
5892 * manual/threads.texi: Add header and standard comments to all
5893 functions.
5894
8e25d1e7
CD
5895 * elf/dl-lookup.c (check_match): New function.
5896 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5897 (do_lookup_x): Remove nested function check_match. Use non-nested
5898 function check_match.
5899
ff71cc37
RM
59002014-02-28 Roland McGrath <roland@hack.frob.com>
5901
f08e9a26
RM
5902 * csu/Makefile (generated, before-compile): Use += rather than =.
5903 * catgets/Makefile (generated, generated-dirs): Likewise.
5904 * debug/Makefile (generated): Likewise.
5905 * dlfcn/Makefile (generated): Likewise.
5906 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5907 * iconvdata/Makefile (before-compile, generated): Likewise.
5908 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5909 * libio/Makefile (generated): Likewise.
5910 * malloc/Makefile (generated): Likewise.
5911 * manual/Makefile (generated, generated-dirs): Likewise.
5912 * misc/Makefile (generated): Likewise.
5913 * posix/Makefile (generated): Likewise.
5914 * resolv/Makefile (generated): Likewise.
5915 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5916 * timezone/Makefile (generated, generated-dirs): Likewise.
5917
ff71cc37
RM
5918 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5919
fe13a20c
AZ
59202014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5921
57f41c40
AS
5922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5923 power8 implementation.
5924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5925 file: POWER8 llround ifunc implementation.
5926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5927 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5928 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5929 POWER8 llround implementation.
5930
57f41c40
AS
5931 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5932 power8 implementation.
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5934 file: POWER8 llrint ifunc implementation.
5935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5936 Add POWER8 implementation.
1ad8950a
AZ
5937 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5938 POWER8 llrint implementation.
5939
57f41c40
AS
5940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5941 power8 implementation.
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5943 file: POWER8 finite ifunc implementation.
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5945 Add POWER8 implementation.
cac626d6
AZ
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5947 Likewise.
5948 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5949 POWER8 finite implementation.
5950 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5951
57f41c40
AS
5952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5953 power8 implementation.
5954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5955 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5957 POWER8 implementation.
5958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5959 Likewise.
57f41c40
AS
5960 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5961 isinf implementation.
4393fc11
AZ
5962 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5963
57f41c40
AS
5964 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5965 (INIT_ARCH): Add hwcap2 initialization.
5966 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5967 power8 implementation.
5968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5969 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5971 POWER8 implementation.
5972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5973 Likewise.
57f41c40
AS
5974 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5975 isnan implementation.
487972ae
AZ
5976 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5977
7d92b787
JY
59782014-02-27 Joey Ye <joey.ye@arm.com>
5979
5980 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5981 (_FP_NANFRAC_Q): Set to zero.
5982
1cadc858
SP
59832014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5984
5985 [BZ #16623]
5986 * math/auto-libm-test-in: New test inputs.
5987 * math/auto-libm-test-out: Regenerate.
5988 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5989 and DA.
5990 (__cos): Likewise.
5991 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5992
f8c17e79
JM
59932014-02-27 Joseph Myers <joseph@codesourcery.com>
5994
5995 * scripts/evaluate-test.sh: Take new argument indicating whether
5996 failure is expected.
5997 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5998 indicating whether failure is expected.
5999 * conform/Makefile (test-xfail-run-conformtest): New variable.
6000 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6001 level.
6002 * posix/Makefile (test-xfail-annexc): New variable.
6003 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6004
a5f891ac
JM
60052014-02-26 Joseph Myers <joseph@codesourcery.com>
6006
6007 * argp/Makefile: Include Makeconfig immediately after defining
6008 subdir.
6009 * assert/Makefile: Likewise.
6010 * benchtests/Makefile: Likewise.
6011 * catgets/Makefile: Likewise.
6012 * conform/Makefile: Likewise.
6013 * crypt/Makefile: Likewise.
6014 * csu/Makefile: Likewise.
6015 (all): Remove target.
6016 * ctype/Makefile: Include Makeconfig immediately after defining
6017 subdir.
6018 * debug/Makefile: Likewise.
6019 * dirent/Makefile: Likewise.
6020 * dlfcn/Makefile: Likewise.
6021 * gmon/Makefile: Likewise.
6022 * gnulib/Makefile: Likewise.
6023 * grp/Makefile: Likewise.
6024 * gshadow/Makefile: Likewise.
6025 * hesiod/Makefile: Likewise.
6026 * hurd/Makefile: Likewise.
6027 (all): Remove target.
6028 * iconvdata/Makefile: Include Makeconfig immediately after
6029 defining subdir.
6030 * inet/Makefile: Likewise.
6031 * intl/Makefile: Likewise.
6032 * io/Makefile: Likewise.
6033 * libio/Makefile: Likewise.
6034 (all): Remove target.
6035 * locale/Makefile: Include Makeconfig immediately after defining
6036 subdir.
6037 * login/Makefile: Likewise.
6038 * mach/Makefile: Likewise.
6039 (all): Remove target.
6040 * malloc/Makefile: Include Makeconfig immediately after defining
6041 subdir.
6042 (all): Remove target.
6043 * manual/Makefile: Include Makeconfig immediately after defining
6044 subdir.
6045 * math/Makefile: Likewise.
6046 * misc/Makefile: Likewise.
6047 * nis/Makefile: Likewise.
6048 * nss/Makefile: Likewise.
6049 * po/Makefile: Likewise.
6050 (all): Remove target.
6051 * posix/Makefile: Include Makeconfig immediately after defining
6052 subdir.
6053 * pwd/Makefile: Likewise.
6054 * resolv/Makefile: Likewise.
6055 * resource/Makefile: Likewise.
6056 * rt/Makefile: Likewise.
6057 * setjmp/Makefile: Likewise.
6058 * shadow/Makefile: Likewise.
6059 * signal/Makefile: Likewise.
6060 * socket/Makefile: Likewise.
6061 * soft-fp/Makefile: Likewise.
6062 * stdio-common/Makefile: Likewise.
6063 * stdlib/Makefile: Likewise.
6064 * streams/Makefile: Likewise.
6065 * string/Makefile: Likewise.
6066 * sunrpc/Makefile: Likewise.
6067 (all): Remove target.
6068 * sysvipc/Makefile: Include Makeconfig immediately after defining
6069 subdir.
6070 * termios/Makefile: Likewise.
6071 * time/Makefile: Likewise.
6072 * timezone/Makefile: Likewise.
6073 (all): Remove target.
6074 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6075 subdir.
6076 * wctype/Makefile: Likewise.
6077
5b456e9d
SE
60782014-02-26 Steve Ellcey <sellcey@mips.com>
6079
6080 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6081 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6082 (libc_feholdexcept_setround_mips): Ditto.
6083 (libc_feholdsetround): New.
6084 (libc_feholdsetroundf): New.
6085 (libc_feholdsetroundl): New.
6086 (libc_feupdateenv_test_mips): New.
6087 (libc_feupdateenv_test): New.
6088 (libc_feupdateenv_testf): New.
6089 (libc_feupdateenv_testl): New.
6090 (libc_feresetround): New.
6091 (libc_feresetroundf): New.
6092 (libc_feresetroundl): New.
6093 (libc_fetestexcept_mips): New.
6094 (libc_fetestexcept): New.
6095 (libc_fetestexceptf): New.
6096 (libc_fetestexceptl): New.
6097 (HAVE_RM_CTX): New.
6098 (libc_feholdexcept_setround_mips_ctx): New.
6099 (libc_feholdexcept_setround_ctx): New.
6100 (libc_feholdexcept_setroundf_ctx): New.
6101 (libc_feholdexcept_setroundl_ctx): New.
6102 (libc_fesetenv_mips_ctx): New.
6103 (libc_fesetenv_ctx): New.
6104 (libc_fesetenv_ctxf): New.
6105 (libc_fesetenv_ctxl): New.
6106 (libc_feupdateenv_mips_ctx): New.
6107 (libc_feupdateenv_ctx): New.
6108 (libc_feupdateenvf_ctx): New.
6109 (libc_feupdateenvl_ctx): New.
6110 (libc_feholdsetround_mips_ctx): New.
6111 (libc_feholdsetround_ctx): New.
6112 (libc_feholdsetroundf_ctx): New.
6113 (libc_feholdsetroundl_ctx): New.
6114 (libc_feresetround_mips_ctx): New.
6115 (libc_feresetround_ctx): New.
6116 (libc_feresetroundf_ctx): New.
6117 (libc_feresetroundl_ctx): New.
6118
085d0e35
CD
61192014-02-26 Carlos O'Donell <carlos@redhat.com>
6120
f067bf1f
CD
6121 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6122
085d0e35
CD
6123 * manual/ipc.texi: New file.
6124 * manual/Makefile (chapters): Add ipc.
6125 * manual/job.texi: Add "Inter-Process Communication" to next.
6126 * manual/process.texi: Add "Inter-Process Communication" to prev.
6127
86e58c08
AZ
61282014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6129
6130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6131
4248f0da
OB
61322014-02-26 Ondřej Bílka <neleai@seznam.cz>
6133
6134 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6135
cf822e3c
OB
6136 * manual/arith.texi: Fix spaces after sentences.
6137 * manual/charset.texi: Likewise.
6138 * manual/errno.texi: Likewise.
6139 * manual/install.texi: Likewise.
6140 * manual/llio.texi: Likewise.
6141 * manual/locale.texi: Likewise.
6142 * manual/maint.texi: Likewise.
6143 * manual/math.texi: Likewise.
6144 * manual/memory.texi: Likewise.
6145 * manual/message.texi: Likewise.
6146 * manual/probes.texi: Likewise.
6147 * manual/resource.texi: Likewise.
6148 * manual/signal.texi: Likewise.
6149 * manual/socket.texi: Likewise.
6150 * manual/stdio.texi: Likewise.
6151 * manual/string.texi: Likewise.
6152 * manual/time.texi: Likewise.
6153 * manual/users.texi: Likewise.
6154
ade40b10
CD
61552014-02-25 Carlos O'Donell <carlos@redhat.com>
6156
6157 [BZ #16632]
6158 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6159 _DEFAULT_SOURCE is defined.
6160
d0503676
CD
61612014-02-25 Ulrich Drepper <drepper@gmail.com>
6162 Carlos O'Donell <carlos@redhat.com>
6163
6164 [BZ #16613]
6165 * elf/dl-tls.c (_dl_count_modids): New function.
6166 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6167 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6168 audit library and increment generation counter.
6169 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6170 * elf/tst-audit9.c: New file.
6171 * elf/tst-auditmod9a.c: New file.
6172 * elf/tst-auditmod9b.c: New file.
6173 * elf/Makefile: Add rules to build and run tst-audit9.
6174
4cbf380c
FW
61752014-02-25 Florian Weimer <fweimer@redhat.com>
6176
6177 [BZ #15347]
6178 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6179
80a56cc3
WN
61802014-02-25 Will Newton <will.newton@linaro.org>
6181
6182 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6183 (__longjmp): Restore sp and lr before restoring callee
6184 saved registers. Add longjmp and longjmp_target
6185 SystemTap probe point.
6186 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6187 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6188 Define to zero to match jmpbuf layout.
6189 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6190 (__sigsetjmp): Save sp and lr before saving callee
6191 saved registers. Add setjmp SystemTap probe point.
6192
3ea0f74e
SL
61932014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6194
6195 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6196
b04acb26
AS
61972014-02-24 Andreas Schwab <schwab@suse.de>
6198
6199 [BZ #15804]
6200 * elf/pldd.c (wait_for_ptrace_stop): New function.
6201 (main): Call it after attaching.
6202
098ad55c
RM
62032014-02-22 Roland McGrath <roland@hack.frob.com>
6204
d4ec6ae1
RM
6205 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6206 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6207 Versions files is now verboten.
6208 * hurd/Versions (libc: GLIBC_2.0):
6209 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6210 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6211 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6212 * mach/Versions: Likewise.
6213
098ad55c
RM
6214 * csu/Versions: Remove unused %include.
6215 * resolv/Versions: Likewise.
6216
acd7f096
JM
62172014-02-21 Joseph Myers <joseph@codesourcery.com>
6218
f0881698
JM
6219 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6220 ($(objpfx)check-local-headers.out): Likewise.
6221 ($(objpfx)begin-end-check.out): Likewise.
6222 * Makerules (check-abi-%.out): Likewise.
6223 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6224 ($(objpfx)test2.cat): Likewise.
6225 ($(objpfx)de/libc.cat): Likewise.
6226 ($(objpfx)test-gencat.out): Likewise.
6227 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6228 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6229 ($(objpfx)noload-mem): Likewise.
6230 ($(objpfx)tst-pathopt.out): Likewise.
6231 ($(objpfx)tst-rtld-load-self.out): Likewise.
6232 ($(objpfx)tst-array1-cmp.out): Likewise.
6233 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6234 ($(objpfx)tst-array2-cmp.out): Likewise.
6235 ($(objpfx)tst-array3-cmp.out): Likewise.
6236 ($(objpfx)tst-array4-cmp.out): Likewise.
6237 ($(objpfx)tst-array5-cmp.out): Likewise.
6238 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6239 ($(objpfx)check-textrel.out): Likewise.
6240 ($(objpfx)check-execstack.out): Likewise.
6241 ($(objpfx)check-localplt.out): Likewise.
6242 ($(objpfx)order2-cmp.out): Likewise.
6243 ($(objpfx)tst-leaks1-mem): Likewise.
6244 ($(objpfx)tst-leaks1-static-mem): Likewise.
6245 ($(objpfx)tst-initorder-cmp.out): Likewise.
6246 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6247 ($(objpfx)tst-unused-dep.out): Likewise.
6248 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6249 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6250 * iconv/Makefile (test-iconvconfig): Likewise.
6251 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6252 ($(objpfx)iconv-test.out): Likewise.
6253 ($(objpfx)tst-tables.out): Likewise.
6254 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6255 ($(objpfx)tst-gettext.out): Likewise.
6256 ($(objpfx)tst-translit.out): Likewise.
6257 ($(objpfx)tst-gettext2.out): Likewise.
6258 ($(objpfx)tst-gettext4.out): Likewise.
6259 ($(objpfx)tst-gettext6.out): Likewise.
6260 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6261 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6262 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6263 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6264 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6265 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6266 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6267 ($(objpfx)wordexp-tst.out): Likewise.
6268 ($(objpfx)annexc.out): Likewise.
6269 ($(objpfx)tst-fnmatch-mem): Likewise.
6270 ($(objpfx)bug-regex2-mem): Likewise.
6271 ($(objpfx)bug-regex14-mem): Likewise.
6272 ($(objpfx)bug-regex21-mem): Likewise.
6273 ($(objpfx)bug-regex31-mem): Likewise.
6274 ($(objpfx)tst-vfork3-mem): Likewise.
6275 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6276 ($(objpfx)tst-pcre-mem): Likewise.
6277 ($(objpfx)tst-boost-mem): Likewise.
6278 ($(objpfx)tst-getconf.out): Likewise.
6279 ($(objpfx)bug-ga2-mem): Likewise.
6280 ($(objpfx)bug-glob2-mem): Likewise.
6281 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6282 ($(objpfx)mtrace-tst-leaks2): Likewise.
6283 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6284 ($(objpfx)tst-printf.out): Likewise.
6285 ($(objpfx)tst-setvbuf1.out): Likewise.
6286 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6287 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6288 ($(objpfx)tst-fmtmsg.out): Likewise.
6289 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6290 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6291
acd7f096
JM
6292 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6293 * bits/sigaction.h [__USE_MISC]: Likewise.
6294 * bits/waitstatus.h: Update #endif comments.
6295 * ctype/ctype.h: Likewise.
6296 * dirent/dirent.h: Likewise.
6297 [__USE_MISC]: Remove redundant conditionals.
6298 * grp/grp.h: Update #endif comments.
6299 [__USE_GNU]: Remove redundant conditionals.
6300 [__USE_MISC]: Likewise.
6301 * inet/netinet/in.h [__USE_GNU]: Likewise.
6302 * io/sys/stat.h [__USE_MISC]: Likewise.
6303 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6304 * libio/bits/stdio.h: Update #endif comments.
6305 [__USE_MISC]: Remove redundant conditionals.
6306 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6307 * libio/stdio.h: Update #endif comments.
6308 [__USE_MISC]: Remove redundant conditionals.
6309 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6310 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6311 * math/math.h: Update #else and #endif comments.
6312 [__USE_MISC]: Remove redundant conditionals.
6313 * misc/sys/uio.h: Update #endif comments.
6314 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6315 * posix/glob.h [__USE_MISC]: Likewise.
6316 * posix/sys/types.h: Update #endif comments.
6317 [__USE_MISC]: Remove redundant conditionals.
6318 * posix/sys/wait.h: Update #endif comments.
6319 [__USE_MISC]: Remove redundant conditionals.
6320 * posix/unistd.h: Update #endif comments.
6321 [__USE_MISC]: Remove redundant conditionals.
6322 * pwd/pwd.h [__USE_GNU]: Likewise.
6323 [__USE_MISC]: Likewise.
6324 * resolv/netdb.h [__USE_GNU]: Likewise.
6325 * signal/signal.h: Update #endif comments.
6326 [__USE_MISC]: Remove redundant conditionals.
6327 * stdlib/stdlib.h: Update #else and #endif comments.
6328 [__USE_MISC]: Remove redundant conditionals.
6329 [__USE_GNU]: Likewise.
6330 * string/bits/string2.h [__USE_MISC]: Likewise.
6331 * string/string.h: Update #endif comments.
6332 [__USE_MISC]: Remove redundant conditionals.
6333 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6334 Likewise.
6335 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6336 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6337 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6338 Likewise.
6339 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6340 Likewise.
6341 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6342 comments.
6343 [__USE_MISC]: Remove redundant conditionals.
6344 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6345 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6346 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6347 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6348 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6349 Likewise.
6350 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6351 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6352 Likewise.
6353 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6354 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6355 Likewise.
6356 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6357 Likewise.
6358 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6359 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6360 Likewise.
6361 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6362 Likewise.
6363 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6364 * sysdeps/x86/bits/string.h: Update #endif comments.
6365 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6366 conditionals.
6367 * time/sys/time.h: Update #endif comments.
6368 * time/time.h: Likewise.
6369 [__USE_MISC]: Remove redundant conditionals.
6370
a5d82e4e
YG
63712014-02-21 Yury Gribov <y.gribov@samsung.com>
6372
6373 [BZ #16600]
6374 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6375
9a80491d
AS
63762014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6377
6378 * Versions.def (librt): Add GLIBC_2.17.
6379
105fa381
AC
63802014-02-21 Adam Conrad <adconrad@0c3.net>
6381
6382 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6383 synonym for _SYS_AUXV_H to allow direct inclusion.
6384 * sysdeps/sparc/bits/hwcap.h: Likewise.
6385 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6386 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6387 * sysdeps/sparc/sysdep.h: Likewise.
6388
b8cd1c4e
SP
63892014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6390
6391 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6392
bd939d23
RS
63932014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6394
6395 * benchtests/bench-strrchr.c: Print length instead of position.
6396
5d7b57ca
JM
63972014-02-20 Joseph Myers <joseph@codesourcery.com>
6398
bc688c10
JM
6399 [BZ #16611]
6400 * sysdeps/unix/sysv/linux/kernel-features.h
6401 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6402 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6403 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6404 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6405 Likewise.
6406 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6407 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6408 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6409 (__ASSUME_SENDMMSG): Define instead of using previous
6410 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6411 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6412 (__ASSUME_SENDMMSG_SYSCALL): Define.
6413 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6414 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6415 Likewise.
6416 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6417 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6418 Likewise.
6419 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6420 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6421 Likewise.
6422 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6423 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6424 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6425 [__ASSUME_SENDMMSG]: Change conditionals to
6426 [__ASSUME_SENDMMSG_SOCKETCALL].
6427 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6428 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6429 Define.
6430 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6431 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6432 Likewise.
6433 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6434 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6435 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6436 [!__ASSUME_SENDMMSG]: Change conditional to
6437 [!__ASSUME_SENDMMSG_SOCKETCALL].
6438 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6439 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6440 Define.
6441
0e31b18c
JM
6442 [BZ #16610]
6443 * sysdeps/unix/sysv/linux/kernel-features.h
6444 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6445 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6446 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6447 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6448 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6449 [__i386__ || __sparc__]
6450 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6451 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6452 (__ASSUME_RECVMMSG): Define instead of using previous
6453 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6454 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6455 (__ASSUME_RECVMMSG_SYSCALL): Define.
6456 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6457 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6458 Likewise.
6459 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6460 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6461 Likewise.
6462 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6463 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6464 Likewise.
6465 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6466 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6467 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6468 [__ASSUME_RECVMMSG]: Change condition to
6469 [__ASSUME_RECVMMSG_SOCKETCALL].
6470 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6471 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6472 Define.
6473 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6474 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6475 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6476 Likewise.
6477 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6478 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6479 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6480 [!__ASSUME_RECVMMSG]: Change condition to
6481 [!__ASSUME_RECVMMSG_SOCKETCALL].
6482 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6483 (__ASSUME_RECVMMSG_SYSCALL): Define.
6484
dd481ccf
JM
6485 [BZ #16609]
6486 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6487 __powerpc__ || __s390__ || __sh__ || __sparc__]
6488 (__ASSUME_SOCKETCALL): Define.
6489 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6490 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6491 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6492 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6493 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6494 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6495 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6496 (__ASSUME_ACCEPT4): Define instead of using previous
6497 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6498 __powerpc__ || __sparc__ || __s390__)] condition.
6499 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6500 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6501 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6502 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6503 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6504 [!__ASSUME_ACCEPT4]: Change condition to
6505 [!__ASSUME_ACCEPT4_SOCKETCALL].
6506 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6507 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6508 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6509 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6510 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6511 __ASSUME_ACCEPT4_SYSCALL.
6512 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6513 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6514 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6515 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6516 __ASSUME_ACCEPT4_SYSCALL.
6517 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6518 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6519 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6520 [__ASSUME_ACCEPT4]: Change condition to
6521 [__ASSUME_ACCEPT4_SOCKETCALL].
6522 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6523 (__ASSUME_SOCKETCALL): Define.
6524 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6525 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6526 (__ASSUME_SOCKETCALL): Define.
6527 (__ASSUME_ACCEPT4): Remove.
6528 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6529 Define.
6530 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6531 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6532 Likewise.
6533 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6534 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6535
5d7b57ca
JM
6536 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6537 macro.
6538 (HWCAP_ARM_LPAE): Likewise.
6539 (HWCAP_ARM_EVTSTRM): Likewise.
6540 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6541 Add vpfd32, lpae and evtstrm.
6542 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6543 Increase to 22.
6544
63689d61
JM
65452014-02-19 Joseph Myers <joseph@codesourcery.com>
6546
6547 * math/auto-libm-test-in: Add tests of clog10.
6548 * math/auto-libm-test-out: Regenerated.
6549 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6550 * sysdeps/i386/fpu/libm-test-ulps: Update.
6551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6552
ab09bf61
AS
65532014-02-18 Andreas Schwab <schwab@suse.de>
6554
6555 [BZ #16574]
6556 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6557 Store non-zero if the second buffer was newly allocated.
6558 (send_dg): Likewise.
6559 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6560 to send_vc and send_dg.
6561 (res_nsend): Pass NULL for ansp2_malloced.
6562 * resolv/res_query.c (__libc_res_nquery): Add parameter
6563 answerp2_malloced and pass it down to __libc_res_nsend.
6564 (res_nquery): Pass additional NULL to __libc_res_nquery.
6565 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6566 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6567 second answer buffer if answerp2_malloced was set.
6568 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6569 (__libc_res_nquerydomain): Add parameter
6570 answerp2_malloced and pass it down to __libc_res_nquery.
6571 (res_nquerydomain): Pass additional NULL to
6572 __libc_res_nquerydomain.
6573 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6574 additional NULL to __libc_res_nsend and __libc_res_nquery.
6575 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6576 additional NULL to __libc_res_nsearch.
6577 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6578 parameter of __libc_res_nsearch to check for separately allocated
6579 second buffer.
6580 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6581 __libc_res_nquery.
6582 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6583 additional NULL to __libc_res_nquery.
6584 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6585 __libc_res_nsearch.
6586 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6587 * include/resolv.h: Update prototypes of __libc_res_nquery,
6588 __libc_res_nsearch, __libc_res_nsend.
6589
a4fb7861
JM
65902014-02-18 Joseph Myers <joseph@codesourcery.com>
6591
c6af2d89
JM
6592 * math/auto-libm-test-in: Add tests of fma.
6593 * math/auto-libm-test-out: Regenerated.
6594 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6595 (fma_towardzero_test_data): Likewise.
6596 (fma_downward_test_data): Likewise.
6597 (fma_upward_test_data): Likewise.
6598 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6599 mpc_mode.
6600 (rounding_modes): Add values for new field.
6601 (func_calc_method): Add value mpfr_fff_f.
6602 (func_calc_desc): Add mpfr_fff_f union field.
6603 (test_function): Add field exact_args.
6604 (FUNC): Add macro argument EXACT_ARGS.
6605 (FUNC_mpfr_f_f): Update call to FUNC.
6606 (FUNC_mpfr_f_f): Likewise.
6607 (FUNC_mpfr_ff_f): Likewise.
6608 (FUNC_mpfr_if_f): Likewise.
6609 (FUNC_mpc_c_f): Likewise.
6610 (FUNC_mpc_c_c): Likewise.
6611 (test_functions): Add fma. Update calls to FUNC.
6612 (handle_input_arg): Add argument exact_args.
6613 (add_test): Update call to handle_input_arg.
6614 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6615 (output_for_one_input_case): Update call to calc_generic_results.
6616 Recalculate exact zero results in each rounding mode.
6617
a4fb7861
JM
6618 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6619 non-negative before setting low bit.
6620 * math/auto-libm-test-in: Mark one asin test possibly having
6621 spurious underflow.
6622 * math/auto-libm-test-out: Regenerated.
6623 * sysdeps/i386/fpu/libm-test-ulps: Update.
6624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6625
ef114eaf
DH
66262014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6627
2b7f4f2c
SP
6628 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6629 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6630 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
6631 * README: Add missing listing for microblaze*-*-linux-gnu.
6632
c70a4b1d
MF
66332014-02-16 Mike Frysinger <vapier@gentoo.org>
6634
6635 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6636 * sysdeps/unix/sysv/linux/ia64: Move directory from
6637 ports/sysdeps/unix/sysv/linux/ia64.
6638 * README: Update listing for ia64-*-linux-gnu.
6639
591aeaf7
TD
66402014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6641 Joseph Myers <joseph@codesourcery.com>
6642
6643 * Makeconfig (test-name): New variable.
6644 (evaluate-test): Likewise.
6645 * Makerules (do-test-clean): Remove .test-result files.
6646 (common-mostlyclean): Likewise.
6647 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6648 * scripts/evaluate-test.sh: New file.
6649
6e89caf1
JM
66502014-02-14 Joseph Myers <joseph@codesourcery.com>
6651
7f98f180
JM
6652 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6653 separate $(objpfx)tst-fopenloc-cmp.out and
6654 $(objpfx)tst-fopenloc-mem.out targets.
6655 (tests): Update dependencies.
6656 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6657 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6658 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6659 (tst-rxspencer-no-utf8-ARGS): New variable.
6660 (tst-rxspencer-no-utf8-ENV): Likewise.
6661 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6662 instead of $(objpfx)tst-rxspencer-mem.
6663 ($(objpfx)tst-rxspencer-mem): Change target to
6664 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6665 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6666 * posix/tst-rxspencer-no-utf8.c: New file.
6667
6e89caf1
JM
6668 * elf/Makefile ($(objpfx)order.out): Remove rule.
6669 [$(run-built-tests) = yes] (tests): Depend on
6670 $(objpfx)order-cmp.out.
6671 ($(objpfx)order-cmp.out): New rule.
6672 [$(run-built-tests) = yes] (tests): Depend on
6673 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6674 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6675 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6676 $(objpfx)tst-array5-static-cmp.out.
6677 ($(objpfx)tst-array1.out): Remove rule.
6678 ($(objpfx)tst-array1-cmp.out): New rule.
6679 ($(objpfx)tst-array1-static.out): Remove rule.
6680 ($(objpfx)tst-array1-static-cmp.out): New rule.
6681 ($(objpfx)tst-array2.out): Remove rule.
6682 ($(objpfx)tst-array2-cmp.out): New rule.
6683 ($(objpfx)tst-array3.out): Remove rule.
6684 ($(objpfx)tst-array3-cmp.out): New rule.
6685 ($(objpfx)tst-array4.out): Remove rule.
6686 ($(objpfx)tst-array4-cmp.out): New rule.
6687 ($(objpfx)tst-array5.out): Remove rule.
6688 ($(objpfx)tst-array5-cmp.out): New rule.
6689 ($(objpfx)tst-array5-static.out): Remove rule.
6690 ($(objpfx)tst-array5-static-cmp.out): New rule.
6691 [$(run-built-tests) = yes] (tests): Depend on
6692 $(objpfx)order2-cmp.out.
6693 ($(objpfx)order2.out): Remove rule.
6694 ($(objpfx)order2-cmp.out): New rule.
6695 ($(objpfx)tst-initorder.out): Remove rule.
6696 [$(run-built-tests) = yes] (tests): Depend on
6697 $(objpfx)tst-initorder-cmp.out.
6698 ($(objpfx)tst-initorder-cmp.out): New rule.
6699 ($(objpfx)tst-initorder2.out): Remove rule.
6700 [$(run-built-tests) = yes] (tests): Depend on
6701 $(objpfx)tst-initorder2-cmp.out.
6702 ($(objpfx)tst-initorder2-cmp.out): New rule.
6703 [$(run-built-tests) = yes] (tests): Depend on
6704 $(objpfx)tst-unused-dep-cmp.out.
6705 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6706 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6707 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6708 on $(objpfx)tst-setvbuf1-cmp.out.
6709 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6710 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6711 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6712 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6713 ($(objpfx)tst-svc.out): Remove rule.
6714 ($(objpfx)tst-svc-cmp.out): New rule.
6715
ed9a38e2
JM
67162014-02-13 Joseph Myers <joseph@codesourcery.com>
6717
6718 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6719 * ctype/ctype.h [__USE_MISC]: Likewise.
6720 * dirent/dirent.h [__USE_MISC]: Likewise.
6721 * grp/grp.h [__USE_MISC]: Likewise.
6722 * io/fcntl.h [__USE_MISC]: Likewise.
6723 * io/sys/stat.h [__USE_MISC]: Likewise.
6724 * libio/stdio.h [__USE_MISC]: Likewise.
6725 * posix/unistd.h [__USE_MISC]: Likewise.
6726 * pwd/pwd.h [__USE_MISC]: Likewise.
6727 * stdlib.h [__USE_MISC]: Likewise.
6728 * string/bits/string2.h [__USE_MISC]: Likewise.
6729 * string/string.h [__USE_MISC]: Likewise.
6730 * time/time.h [__USE_MISC]: Likewise.
6731
d6680619
AS
67322014-02-13 Andreas Schwab <schwab@suse.de>
6733
6734 [BZ #16574]
6735 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6736 second answer buffer if it was separately allocated.
6737
ace614b8
JM
67382014-02-12 Joseph Myers <joseph@codesourcery.com>
6739
743151ae
JM
6740 * sysdeps/mips/math-tests.h: Include <features.h>.
6741 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6742 (ROUNDING_TESTS_long_double): Do not define.
6743 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6744 (EXCEPTION_TESTS_long_double): Likewise.
6745 * sysdeps/mips/mips64/libm-test-ulps: Update.
6746
498afc54
JM
6747 * include/features.h (__USE_BSD): Remove macro definitions.
6748 (__USE_SVID): Likewise.
6749 (_BSD_SOURCE): Likewise.
6750 (_SVID_SOURCE): Likewise.
6751 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6752 from definition of _DEFAULT_SOURCE.
6753 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6754 [_DEFAULT_SOURCE].
6755 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6756 * bits/mman.h [__USE_BSD]: Likewise.
6757 * bits/termios.h [__USE_BSD]: Likewise.
6758 * bits/waitstatus.h [__USE_BSD]: Likewise.
6759 * ctype/ctype.h [__USE_SVID]: Likewise.
6760 * dirent/dirent.h [__USE_BSD]: Likewise.
6761 * grp/grp.h [__USE_SVID]: Likewise.
6762 [__USE_BSD]: Likewise.
6763 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6764 * io/fcntl.h [__USE_BSD]: Likewise.
6765 * io/ftw.h [__USE_BSD]: Likewise.
6766 * io/sys/stat.h [__USE_BSD]: Likewise.
6767 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6768 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6769 * libio/stdio.h [__USE_SVID]: Likewise.
6770 [__USE_BSD]: Likewise.
6771 * math/math.h [__USE_SVID]: Likewise.
6772 [__USE_BSD]: Likewise.
6773 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6774 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6775 * misc/search.h [__USE_SVID]: Likewise.
6776 * misc/sys/mman.h [__USE_BSD]: Likewise.
6777 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6778 * misc/sys/uio.h [__USE_BSD]: Likewise.
6779 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6780 * posix/glob.h [__USE_BSD]: Likewise.
6781 * posix/regex.h [__USE_BSD]: Likewise.
6782 * posix/sys/types.h [__USE_BSD]: Likewise.
6783 [__USE_SVID]: Likewise.
6784 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6785 * posix/sys/wait.h [__USE_BSD]: Likewise.
6786 [__USE_SVID]: Likewise.
6787 * posix/unistd.h [__USE_BSD]: Likewise.
6788 [__USE_SVID]: Likewise.
6789 * pwd/pwd.h [__USE_SVID]: Likewise.
6790 * resolv/netdb.h [__USE_BSD]: Likewise.
6791 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6792 * signal/signal.h [__USE_BSD]: Likewise.
6793 [__USE_SVID]: Likewise.
6794 * socket/sys/socket.h [__USE_BSD]: Likewise.
6795 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6796 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6797 [__USE_SVID]: Likewise.
6798 * string/bits/string2.h [__USE_BSD]: Likewise.
6799 [__USE_SVID]: Likewise.
6800 * string/bits/string3.h [__USE_BSD]: Likewise.
6801 * string/endian.h [__USE_BSD]: Likewise.
6802 * string/string.h [__USE_SVID]: Likewise.
6803 [__USE_BSD]: Likewise.
6804 * string/strings.h [__USE_BSD]: Likewise.
6805 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6806 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6807 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6808 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6809 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6810 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6811 Likewise.
6812 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6813 Likewise.
6814 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6815 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6816 Likewise.
6817 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6818 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6819 Likewise.
6820 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6821 Likewise.
6822 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6823 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6824 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6825 Likewise.
6826 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6827 Likewise.
6828 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6829 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6830 * termios/termios.h [__USE_BSD]: Likewise.
6831 * time/sys/time.h [__USE_BSD]: Likewise.
6832 * time/time.h [__USE_BSD]: Likewise.
6833 [__USE_SVID]: Likewise.
6834
dd7b064c
JM
6835 * Makefile (subdir_targets): Remove subdir_lint.out.
6836
a2c4c199
JM
6837 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6838 (do-tst-printf): Likewise.
6839 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6840 $(objpfx)tst-printf.out.
6841
8756f740
JM
6842 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6843
1b6dd3f1
JM
6844 * Makerules (check-abi-%): Change target to
6845 $(objpfx)check-abi-%.out.
6846 (check-abi target): Update dependencies.
6847 (check-abi-pattern variable): Redirect output of diff to $@.
6848 (check-abi variable): Likewise.
6849 * elf/Makefile (check-abi): Update dependencies.
6850
ace614b8
JM
6851 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6852 unused.
6853 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6854 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6855 subnormal range.
6856 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6857 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6858 value has largest subnormal exponent.
6859 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6860 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6861 * sysdeps/aarch64/soft-fp/sfp-machine.h
6862 (_FP_TININESS_AFTER_ROUNDING): New macro.
6863 * sysdeps/alpha/soft-fp/sfp-machine.h
6864 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6865 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6866 Likewise.
6867 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6868 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6869 * sysdeps/mips/soft-fp/sfp-machine.h
6870 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6871 * sysdeps/powerpc/soft-fp/sfp-machine.h
6872 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6873 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6874 Likewise.
6875 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6876 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6877 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6878 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6879 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6880 Likewise.
6881
fbfdf9cb
DAS
68822014-02-12 Dylan Alex Simon <dylan@dylex.net>
6883
6884 [BZ #16545]
6885 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6886 model 1.
6887
68b7efaa
RH
68882014-02-12 Richard Henderson <rth@redhat.com>
6889
c70a4b1d 6890 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6891 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6892 * sysdeps/unix/sysv/linux/alpha: Move directory from
6893 ports/sysdeps/unix/sysv/linux/alpha.
6894 * README: Update listing for alpha-*-linux-gnu.
6895
cb4a2928
JM
68962014-02-11 Joseph Myers <joseph@codesourcery.com>
6897
c941736c
JM
6898 * include/features.h: Update comment documenting feature test
6899 macros.
6900 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6901 _DEFAULT_SOURCE.
6902 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6903 (_SVID_SOURCE): Likewise.
6904 (_DEFAULT_SOURCE): Update description of default features.
6905 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6906 with _GNU_SOURCE.
6907 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6908 (S_ISVTX): Likewise.
6909 * manual/math.texi (Mathematical Constants): Likewise.
6910 * manual/signal.texi (Interrupted Primitives): Likewise.
6911 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6912 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6913 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6914 Don't refer to _SVID_SOURCE in warning text.
6915
e8d8d7ec
JM
6916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6917
cb4a2928
JM
6918 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6919 already defined.
6920 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6921 * sysdeps/mips/dl-lookup.c: Remove.
6922 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6923
7e6424e3
AK
69242014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6925
6926 [BZ #16447]
6927 * math/auto-libm-test-in: Add testcase for expl.
6928 * math/auto-libm-test-out: Regenerate.
6929 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6930 calculation of unsafe.
6931 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6932
75eff3fe
MS
69332014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6934
6935 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6936 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6937 ports/sysdeps/unix/sysv/linux/aarch64.
6938 * README: Update listing for aarch64*-*-linux-gnu.
6939
d35f1e80
WN
69402014-02-11 Will Newton <will.newton@linaro.org>
6941
6942 * manual/probes.texi (Mathematical Function Probes): Use
6943 "triggered" instead of "hit".
6944
7b3436d4
WN
6945 * manual/probes.texi (Internal Probes): Add documentation
6946 of setjmp, longjmp and longjmp_target probes.
6947
b4f12ca3
WN
6948 * include/stap-probe.h: Add comment about probe argument
6949 format.
6950
c13a72b7
WN
6951 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6952 definition. (tr_where, tr_freehook, tr_mallochook,
6953 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6954
195b8165
DM
69552014-02-11 David S. Miller <davem@davemloft.net>
6956
6957 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6958 processing int_tests.
6959
2ad7600b
JM
69602014-02-10 Joseph Myers <joseph@codesourcery.com>
6961
6962 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6963 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6964 * sysdeps/unix/sysv/linux/mips: Move directory from
6965 ports/sysdeps/unix/sysv/linux/mips.
6966 * README: Update listing for mips-*-linux-gnu and
6967 mips64-*-linux-gnu.
6968
73588a72
AS
69692014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6970
6971 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6972 * sysdeps/unix/sysv/linux/m68k: Move directory from
6973 ports/sysdeps/unix/sysv/linux/m68k.
6974 * README: Update listing for m68k-*-linux-gnu.
6975
4372980f
CM
69762014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6977
6978 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6979 * sysdeps/unix/sysv/linux/generic: Move directory from
6980 ports/sysdeps/unix/sysv/linux/generic.
6981 * sysdeps/unix/sysv/linux/tile: Move directory from
6982 ports/sysdeps/unix/sysv/linux/tile.
6983 * README: Update listing for tile*-*-linux-gnu.
6984
a1ffb40e
OB
69852014-02-10 Ondřej Bílka <neleai@seznam.cz>
6986
57f41c40
AS
6987 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6988 __builtin_expect.
a1ffb40e
OB
6989 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6990 * catgets/open_catalog.c (__open_catalog): Likewise.
6991 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6992 * debug/confstr_chk.c: Likewise.
6993 * debug/fread_chk.c (__fread_chk): Likewise.
6994 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6995 * debug/getgroups_chk.c: Likewise.
6996 * debug/mbsnrtowcs_chk.c: Likewise.
6997 * debug/mbsrtowcs_chk.c: Likewise.
6998 * debug/mbstowcs_chk.c: Likewise.
6999 * debug/memcpy_chk.c: Likewise.
7000 * debug/memmove_chk.c: Likewise.
7001 * debug/mempcpy_chk.c: Likewise.
7002 * debug/memset_chk.c: Likewise.
7003 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7004 * debug/strcat_chk.c (__strcat_chk): Likewise.
7005 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7006 * debug/strncat_chk.c (__strncat_chk): Likewise.
7007 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7008 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7009 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7010 * debug/wcpncpy_chk.c: Likewise.
7011 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7012 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7013 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7014 * debug/wcsncpy_chk.c: Likewise.
7015 * debug/wcsnrtombs_chk.c: Likewise.
7016 * debug/wcsrtombs_chk.c: Likewise.
7017 * debug/wcstombs_chk.c: Likewise.
7018 * debug/wmemcpy_chk.c: Likewise.
7019 * debug/wmemmove_chk.c: Likewise.
7020 * debug/wmempcpy_chk.c: Likewise.
7021 * debug/wmemset_chk.c: Likewise.
7022 * dirent/scandirat.c (SCANDIRAT): Likewise.
7023 * dlfcn/dladdr1.c (dladdr1): Likewise.
7024 * dlfcn/dladdr.c (dladdr): Likewise.
7025 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7026 * dlfcn/dlerror.c (__dlerror): Likewise.
7027 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7028 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7029 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7030 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7031 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7032 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7033 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7034 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7035 Likewise.
7036 * elf/dl-conflict.c: Likewise.
7037 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7038 * elf/dl-dst.h: Likewise.
7039 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7040 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7041 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7042 * elf/dl-init.c (call_init, _dl_init): Likewise.
7043 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
7044 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7045 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7046 Likewise.
a1ffb40e
OB
7047 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7048 Likewise.
7049 * elf/dl-minimal.c (__libc_memalign): Likewise.
7050 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7051 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7052 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7053 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
7054 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7055 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
7056 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7057 * elf/dl-writev.h (_dl_writev): Likewise.
7058 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
7059 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7060 (dl_main): Likewise.
a1ffb40e
OB
7061 * elf/setup-vdso.h (setup_vdso): Likewise.
7062 * grp/compat-initgroups.c (compat_call): Likewise.
7063 * grp/fgetgrent.c (fgetgrent): Likewise.
7064 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7065 * grp/putgrent.c (putgrent): Likewise.
7066 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7067 Likewise.
7068 * hurd/hurdinit.c: Likewise.
7069 * iconvdata/8bit-gap.c (struct): Likewise.
7070 * iconvdata/ansi_x3.110.c : Likewise.
7071 * iconvdata/big5.c : Likewise.
7072 * iconvdata/big5hkscs.c : Likewise.
7073 * iconvdata/cp1255.c: Likewise.
7074 * iconvdata/cp1258.c : Likewise.
7075 * iconvdata/cp932.c : Likewise.
7076 * iconvdata/euc-cn.c: Likewise.
7077 * iconvdata/euc-jisx0213.c : Likewise.
7078 * iconvdata/euc-jp.c: Likewise.
7079 * iconvdata/euc-jp-ms.c : Likewise.
7080 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7081 * iconvdata/gb18030.c : Likewise.
7082 * iconvdata/gbbig5.c (const): Likewise.
7083 * iconvdata/gbgbk.c: Likewise.
7084 * iconvdata/gbk.c : Likewise.
7085 * iconvdata/ibm1364.c : Likewise.
7086 * iconvdata/ibm930.c : Likewise.
7087 * iconvdata/ibm932.c: Likewise.
7088 * iconvdata/ibm933.c : Likewise.
7089 * iconvdata/ibm935.c : Likewise.
7090 * iconvdata/ibm937.c : Likewise.
7091 * iconvdata/ibm939.c : Likewise.
7092 * iconvdata/ibm943.c: Likewise.
7093 * iconvdata/iso_11548-1.c: Likewise.
7094 * iconvdata/iso-2022-cn.c : Likewise.
7095 * iconvdata/iso-2022-cn-ext.c : Likewise.
7096 * iconvdata/iso-2022-jp-3.c: Likewise.
7097 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7098 * iconvdata/iso-2022-kr.c : Likewise.
7099 * iconvdata/iso646.c (gconv_end): Likewise.
7100 * iconvdata/iso_6937-2.c : Likewise.
7101 * iconvdata/iso_6937.c : Likewise.
7102 * iconvdata/iso8859-1.c: Likewise.
7103 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7104 * iconvdata/shift_jisx0213.c : Likewise.
7105 * iconvdata/sjis.c : Likewise.
7106 * iconvdata/t.61.c : Likewise.
7107 * iconvdata/tcvn5712-1.c : Likewise.
7108 * iconvdata/tscii.c: Likewise.
7109 * iconvdata/uhc.c : Likewise.
7110 * iconvdata/unicode.c (gconv_end): Likewise.
7111 * iconvdata/utf-16.c (gconv_end): Likewise.
7112 * iconvdata/utf-32.c (gconv_end): Likewise.
7113 * iconvdata/utf-7.c (base64): Likewise.
7114 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7115 * iconv/gconv_close.c (__gconv_close): Likewise.
7116 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
7117 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7118 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7119 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7120 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7121 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
7122 * iconv/iconv.c (iconv): Likewise.
7123 * iconv/iconv_close.c: Likewise.
7124 * iconv/loop.c (SINGLE): Likewise.
7125 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7126 * include/atomic.h: Likewise.
7127 * inet/inet6_option.c (option_alloc): Likewise.
7128 * intl/bindtextdom.c (set_binding_values): Likewise.
7129 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7130 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7131 * intl/localealias.c (read_alias_file): Likewise.
7132 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
7133 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7134 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
7135 * libio/fmemopen.c (fmemopen): Likewise.
7136 * libio/iofgets.c (_IO_fgets): Likewise.
7137 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7138 * libio/iofgetws.c (fgetws): Likewise.
7139 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7140 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
7141 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7142 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
7143 * locale/findlocale.c (_nl_find_locale): Likewise.
7144 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7145 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7146 Likewise.
7147 * locale/setlocale.c (setlocale): Likewise.
7148 * login/programs/pt_chown.c (main): Likewise.
7149 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7150 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7151 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7152 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7153 * math/e_exp2l.c: Likewise.
7154 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7155 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7156 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7157 * math/s_catan.c (__catan): Likewise.
7158 * math/s_catanf.c (__catanf): Likewise.
7159 * math/s_catanh.c (__catanh): Likewise.
7160 * math/s_catanhf.c (__catanhf): Likewise.
7161 * math/s_catanhl.c (__catanhl): Likewise.
7162 * math/s_catanl.c (__catanl): Likewise.
7163 * math/s_ccosh.c (__ccosh): Likewise.
7164 * math/s_ccoshf.c (__ccoshf): Likewise.
7165 * math/s_ccoshl.c (__ccoshl): Likewise.
7166 * math/s_cexp.c (__cexp): Likewise.
7167 * math/s_cexpf.c (__cexpf): Likewise.
7168 * math/s_cexpl.c (__cexpl): Likewise.
7169 * math/s_clog10.c (__clog10): Likewise.
7170 * math/s_clog10f.c (__clog10f): Likewise.
7171 * math/s_clog10l.c (__clog10l): Likewise.
7172 * math/s_clog.c (__clog): Likewise.
7173 * math/s_clogf.c (__clogf): Likewise.
7174 * math/s_clogl.c (__clogl): Likewise.
7175 * math/s_csin.c (__csin): Likewise.
7176 * math/s_csinf.c (__csinf): Likewise.
7177 * math/s_csinh.c (__csinh): Likewise.
7178 * math/s_csinhf.c (__csinhf): Likewise.
7179 * math/s_csinhl.c (__csinhl): Likewise.
7180 * math/s_csinl.c (__csinl): Likewise.
7181 * math/s_csqrt.c (__csqrt): Likewise.
7182 * math/s_csqrtf.c (__csqrtf): Likewise.
7183 * math/s_csqrtl.c (__csqrtl): Likewise.
7184 * math/s_ctan.c (__ctan): Likewise.
7185 * math/s_ctanf.c (__ctanf): Likewise.
7186 * math/s_ctanh.c (__ctanh): Likewise.
7187 * math/s_ctanhf.c (__ctanhf): Likewise.
7188 * math/s_ctanhl.c (__ctanhl): Likewise.
7189 * math/s_ctanl.c (__ctanl): Likewise.
7190 * math/w_pow.c: Likewise.
7191 * math/w_powf.c: Likewise.
7192 * math/w_powl.c: Likewise.
7193 * math/w_scalb.c (sysv_scalb): Likewise.
7194 * math/w_scalbf.c (sysv_scalbf): Likewise.
7195 * math/w_scalbl.c (sysv_scalbl): Likewise.
7196 * misc/error.c (error_tail): Likewise.
7197 * misc/pselect.c (__pselect): Likewise.
7198 * nis/nis_callback.c (__nis_create_callback): Likewise.
7199 * nis/nis_call.c (__nisfind_server): Likewise.
7200 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7201 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7202 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7203 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7204 * nis/nis_lookup.c (nis_lookup): Likewise.
7205 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7206 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7207 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7208 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7209 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7210 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7211 * nis/nss_compat/compat-initgroups.c (add_group)
7212 (internal_getgrent_r): Likewise.
7213 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7214 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7215 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7216 (internal_getspnam_r): Likewise.
7217 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7218 (_nss_nis_getaliasbyname_r): Likewise.
7219 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7220 (_nss_nis_getntohost_r): Likewise.
7221 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7222 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7223 (_nss_nis_getgrgid_r): Likewise.
7224 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7225 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7226 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7227 (_nss_nis_gethostbyname4_r): Likewise.
7228 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7229 (initgroups_netid): Likewise.
a1ffb40e 7230 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7231 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7232 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7233 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7234 (_nss_nis_getprotobynumber_r): Likewise.
7235 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7236 (_nss_nis_getsecretkey): Likewise.
7237 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7238 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7239 (_nss_nis_getpwuid_r): Likewise.
7240 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7241 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7242 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7243 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7244 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7245 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7246 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7247 Likewise.
57f41c40
AS
7248 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7249 (_nss_nisplus_getntohost_r): Likewise.
7250 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7251 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7252 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7253 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7254 Likewise.
57f41c40
AS
7255 * nis/nss_nisplus/nisplus-initgroups.c
7256 (_nss_nisplus_initgroups_dyn): Likewise.
7257 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7258 (_nss_nisplus_getnetbyaddr_r): Likewise.
7259 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7260 (_nss_nisplus_getprotobynumber_r): Likewise.
7261 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7262 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7263 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7264 Likewise.
57f41c40
AS
7265 * nis/nss_nisplus/nisplus-service.c
7266 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7267 (_nss_nisplus_getservbyport_r): Likewise.
7268 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7269 (_nss_nisplus_getspnam_r): Likewise.
7270 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7271 Likewise.
a1ffb40e
OB
7272 * nscd/aicache.c (addhstaiX): Likewise.
7273 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7274 * nscd/connections.c (register_traced_file, send_ro_fd)
7275 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7276 (main_loop_epoll): Likewise.
a1ffb40e
OB
7277 * nscd/grpcache.c (addgrbyX): Likewise.
7278 * nscd/hstcache.c (addhstbyX): Likewise.
7279 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7280 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7281 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7282 (addinnetgrX): Likewise.
7283 * nscd/nscd-client.h (__nscd_acquire_maplock)
7284 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7285 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7286 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7287 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7288 Likewise.
7289 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7290 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7291 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7292 (__nscd_get_map_ref): Likewise.
a1ffb40e 7293 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7294 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7295 Likewise.
a1ffb40e
OB
7296 * nscd/pwdcache.c (addpwbyX): Likewise.
7297 * nscd/selinux.c (preserve_capabilities): Likewise.
7298 * nscd/servicescache.c (addservbyX): Likewise.
7299 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7300 * posix/fnmatch.c (fnmatch): Likewise.
7301 * posix/getopt.c (_getopt_internal_r): Likewise.
7302 * posix/glob.c (glob, glob_in_dir): Likewise.
7303 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7304 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7305 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7306 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7307 * resolv/res_init.c: Likewise.
7308 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7309 * resolv/res_query.c (__libc_res_nquery): Likewise.
7310 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7311 Likewise.
7312 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7313 * stdio-common/perror.c (perror): Likewise.
7314 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7315 * stdio-common/tmpnam.c (tmpnam): Likewise.
7316 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7317 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7318 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7319 Likewise.
a1ffb40e
OB
7320 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7321 * stdlib/putenv.c (putenv): Likewise.
7322 * stdlib/setenv.c (__add_to_environ): Likewise.
7323 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7324 * stdlib/strtol_l.c (INTERNAL): Likewise.
7325 * string/memmem.c (memmem): Likewise.
7326 * string/strerror.c (strerror): Likewise.
7327 * string/strnlen.c (__strnlen): Likewise.
7328 * string/test-memmem.c (simple_memmem): Likewise.
7329 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7330 * sunrpc/pm_getport.c (__get_socket): Likewise.
7331 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7332 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7333 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7334 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7335 Likewise.
7336 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7337 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7338 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7339 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7340 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7341 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7342 Likewise.
7343 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7344 Likewise.
a1ffb40e
OB
7345 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7346 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7347 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7348 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7349 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7351 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7352 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7353 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7354 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7355 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7356 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7357 Likewise.
7358 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7359 Likewise.
7360 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7361 Likewise.
7362 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7363 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7364 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7365 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7366 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7367 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7368 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7370 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7371 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7372 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7373 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7374 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7375 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7377 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7378 Likewise.
a1ffb40e
OB
7379 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7380 Likewise.
7381 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7382 Likewise.
7383 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7384 Likewise.
7385 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7387 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7388 Likewise.
7389 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7390 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7391 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7392 * sysdeps/posix/sleep.c: Likewise.
7393 * sysdeps/posix/tempname.c: Likewise.
7394 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7395 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7396 Likewise.
57f41c40
AS
7397 * sysdeps/powerpc/powerpc32/dl-machine.h
7398 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7399 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7401 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7402 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7403 Likewise.
7404 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7405 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7406 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7407 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7408 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7409 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7410 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7411 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7412 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7413 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7414 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7415 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7416 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7417 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7418 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7419 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7420 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7421 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7422 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7423 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7424 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7425 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7426 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7427 Likewise.
7428 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7429 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7430 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7431 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7432 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7433 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7434 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7435 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7436 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7437 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7438 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7439 Likewise.
7440 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7441 (__posix_fallocate64_l64): Likewise.
7442 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7443 (posix_fallocate): Likewise.
57f41c40
AS
7444 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7445 Likewise.
a1ffb40e 7446 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7447 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7448 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7449 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7450 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7451 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7452 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7453 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7454 (__posix_fallocate64_l64): Likewise.
7455 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7456 Likewise.
7457 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7458 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7459 (__get_clockfreq): Likewise.
a1ffb40e
OB
7460 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7461 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7462 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7463 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7465 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7466 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7467 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7468 Likewise.
7469 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7470 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7471 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7472 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7473 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7474 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7475 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7476 Likewise.
7477 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7478 (posix_fallocate): Likewise.
7479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7480 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7481 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7482 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7483 (elf_machine_rela, elf_machine_rela_relative)
7484 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7485 * time/asctime.c (asctime_internal): Likewise.
7486 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7487 * time/tzset.c (__tzset_parse_tz): Likewise.
7488 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7489 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7490 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7491 * wcsmbs/wcsmbsload.h: Likewise.
7492
f3d338c9
OB
7493 [BZ #15894]
7494 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7495
57f41c40
AS
7496 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7497 (arena_get2): Remove THREAD_STATS conditionals.
7498 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7499 (__malloc_stats, int): Likewise.
bdfe308a 7500
d674667c
MF
75012014-02-08 Mike Frysinger <vapier@gentoo.org>
7502
7503 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7504 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7505
6349768c
MF
7506 * manual/setjmp.texi: Fix typos/grammar errors.
7507
0b7c7473
MF
7508 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7509 Only return early when n is <= 0. Delete unused return statement.
7510
ac8cc9e3
MF
7511 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7512 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7513 * debug/tst-longjmp_chk3.c: New file.
7514
c5bb8e23
MF
7515 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7516 (test_main): Replace code with set_fortify_handler call.
7517 * debug/test-strcpy_chk.c: Likewise.
7518 * debug/tst-chk1.c: Likewise.
7519 * debug/tst-longjmp_chk.c: Likewise.
7520 * test-skeleton.c: Include fcntl.h & paths.h
7521 (set_fortify_handler): Define.
7522
10444e42
MF
7523 * debug/tst-longjmp_chk.c: Add header comment and include
7524 ../test-skeleton.c.
7525 (do_test): Mark static.
7526 (TEST_FUNCTION): Define.
7527
1e805e8d
MF
7528 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7529 (IP_PMTUDISC_INTERFACE): Likewise.
7530 (IP_MULTICAST_IF): Likewise.
7531 (IP_MULTICAST_TTL): Likewise.
7532 (IP_MULTICAST_LOOP): Likewise.
7533 (IP_ADD_MEMBERSHIP): Likewise.
7534 (IP_DROP_MEMBERSHIP): Likewise.
7535 (IP_UNBLOCK_SOURCE): Likewise.
7536 (IP_BLOCK_SOURCE): Likewise.
7537 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7538 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7539 (IP_MSFILTER): Likewise.
7540 (MCAST_JOIN_GROUP): Likewise.
7541 (MCAST_BLOCK_SOURCE): Likewise.
7542 (MCAST_UNBLOCK_SOURCE): Likewise.
7543 (MCAST_LEAVE_GROUP): Likewise.
7544 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7545 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7546 (MCAST_MSFILTER): Likewise.
7547 (IP_MULTICAST_ALL): Likewise.
7548 (IP_UNICAST_IF): Likewise.
7549
73f79bb7
MF
7550 * timezone/Makefile: Delete $(have-ksh) check.
7551 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7552 * timezone/tzselect.ksh: Add +x mode bits.
7553
8da79b60
MF
7554 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7555 (ANON_INODE_FS_MAGIC): Likewise.
7556 (BDEVFS_MAGIC): Likewise.
7557 (BINFMTFS_MAGIC): Likewise.
7558 (BTRFS_TEST_MAGIC): Likewise.
7559 (CRAMFS_MAGIC_WEND): Likewise.
7560 (DEBUGFS_MAGIC): Likewise.
7561 (ECRYPTFS_SUPER_MAGIC): Likewise.
7562 (EXT3_SUPER_MAGIC): Likewise.
7563 (EXT4_SUPER_MAGIC): Likewise.
7564 (FUTEXFS_SUPER_MAGIC): Likewise.
7565 (HOSTFS_SUPER_MAGIC): Likewise.
7566 (HUGETLBFS_MAGIC): Likewise.
7567 (MINIX3_SUPER_MAGIC): Likewise.
7568 (MTD_INODE_FS_MAGIC): Likewise.
7569 (NILFS_SUPER_MAGIC): Likewise.
7570 (OPENPROM_SUPER_MAGIC): Likewise.
7571 (PIPEFS_MAGIC): Likewise.
7572 (PSTOREFS_MAGIC): Likewise.
7573 (QNX6_SUPER_MAGIC): Likewise.
7574 (RAMFS_MAGIC): Likewise.
7575 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7576 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7577 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7578 (SECURITYFS_MAGIC): Likewise.
7579 (SELINUX_MAGIC): Likewise.
7580 (SMACK_MAGIC): Likewise.
7581 (SOCKFS_MAGIC): Likewise.
7582 (SQUASHFS_MAGIC): Likewise.
7583 (STACK_END_MAGIC): Likewise.
7584 (TMPFS_MAGIC): Likewise.
7585 (USBDEVICE_SUPER_MAGIC): Likewise.
7586 (V9FS_MAGIC): Likewise.
7587 (XENFS_SUPER_MAGIC): Likewise.
7588 (CRAMFS_MAGIC): Fix typo in comment.
7589 (EXT2_SUPER_MAGIC): Update comment.
7590 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7591
464263cc
JM
75922014-02-08 Joseph Myers <joseph@codesourcery.com>
7593
c6bfe5c4
JM
7594 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7595 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7596 * sysdeps/unix/sysv/linux/arm: Move directory from
7597 ports/sysdeps/unix/sysv/linux/arm.
7598 * README: Update listing for arm-*-linux-gnueabi.
7599
464263cc
JM
7600 * README: Remove mention of am33.
7601
32749f6c
RM
76022014-02-07 Roland McGrath <roland@hack.frob.com>
7603
7604 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7605 than the comma operator, to avoid "rhs of comma has no effect"
7606 compiler warnings.
7607 (__sigfillset, __sigandset, __sigorset): Likewise.
7608 * include/signal.h (__sigemptyset): Likewise.
7609 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7610
d5b396c1
AM
76112014-02-07 Allan McRae <allan@archlinux.org>
7612
7613 * version.h (RELEASE): Set to "development".
7614 (VERSION): Set to "2.19.90"
7615 * NEWS: Add 2.20 section.
7616
3bfff2ed
CD
76172014-02-06 Carlos O'Donell <carlos@redhat.com>
7618
7619 [BZ #16529]
7620 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7621
ee7cc385
SP
76222014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7623
7624 * manual/contrib.texi: Update entry for Carlos O'Donell,
7625 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7626
f877c4f2
CD
76272014-02-05 Carlos O'Donell <carlos@rehdat.com>
7628
27e839f6
CD
7629 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7630
f877c4f2
CD
7631 * sysdeps/unix/sysv/linux/kernel-features.h
7632 [__LINUX_KERNEL_VERSION >= 0x020621]
7633 (__ASSUME_PROC_PID_TASK_COMM): Define.
7634
68159946
SP
76352014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7636
ba17cdbd
SP
7637 [BZ #16398]
7638 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7639 conversion when destination buffer does not have enough space.
7640 * libio/tst-ftell-partial-wide.c: New test case.
7641 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7642
68159946
SP
7643 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7644 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7645 Leonard and Allan McRae.
7646
2b528732
DM
76472014-02-04 David S. Miller <davem@davemloft.net>
7648
7649 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7650 32-bit.
7651
0ff82463
AZ
76522014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7653
57f41c40
AS
7654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7655 New file
c01603f7
AZ
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7657 New file
57f41c40
AS
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7659 New file.
7660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7661 New file.
c01603f7
AZ
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7663 New file.
57f41c40
AS
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7665 New file.
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7667 New file.
c01603f7
AZ
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7669 New file.
7670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7671 New file.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7673 New file.
7674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7675 New file.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7677 New file.
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7679 New file.
7680
76812014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7682
0ff82463
AZ
7683 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7684 * shlib-versions: Likewise.
7685
1695c773
AZ
76862014-02-04 Roland McGrath <roland@hack.frob.com>
7687 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7688
7689 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7690 (abilist-pattern): New variable, set to %-le.abilist.
7691
7692 * Makerules (abilist-pattern): New variable.
7693 (vpath): Use $(abilist-pattern) in place of %.abilist.
7694 (check-abi-% pattern rule): Likewise.
7695 (check-abi, update-abi): Likewise.
7696
6c0ce4b4
EW
76972014-02-04 Eric Wong <normalperson@yhbt.net>
7698
7699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7700
481e3524
CD
77012014-02-03 Carlos O'Donell <carlos@redhat.com>
7702
7703 * manual/startup.texi: Add next, previous, and top entries for
7704 the `Program Arguments' and `Environment Variables' nodes.
7705
375592d3
AO
77062014-02-03 Alexandre Oliva <aoliva@redhat.com>
7707
7708 * manual/macros.texi: Add comments before MTASC-safety macros.
7709
f54838ba
AO
7710 * manual/users.texi: Document MTASC-safety properties.
7711
57f41c40
AS
7712 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7713 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7714 @deftypefun, and add @safety note.
7715 * manual/signal.texi: Move comments that analyze the above
7716 functions to their home place.
7717
fd3daba4
AM
77182014-02-03 Allan McRae <allan@archlinux.org>
7719
7720 * po/sl.po: Update Slovenian translation from translation project.
7721
597636d7
AO
77222014-02-02 Alexandre Oliva <aoliva@redhat.com>
7723
7724 * manual/time.texi (timegm): Add missing blank after @c.
7725 Reported by Joseph Myers <joseph@codesourcery.com>.
7726
ee196e3c
AO
77272014-02-01 Alexandre Oliva <aoliva@redhat.com>
7728
7729 * manual/check-safety.sh: New.
7730 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7731
f8d529d5
AO
7732 * manual/terminal.texi: Document MTASC-safety properties.
7733
de55fdf4
AO
7734 * manual/filesys.texi: Document MTASC-safety properties.
7735
c3299c08
AO
7736 * manual/errno.texi: Document MTASC-safety properties.
7737
06e90b14
AO
7738 * manual/intro.texi: Document safety identifiers and
7739 conditionals.
7740
1acd4371
AO
7741 * manual/string.texi (wcstok): Fix prototype.
7742 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7743
23e5b8cb
AO
7744 * manual/time.texi: Document MTASC-safety properties.
7745
11087373
AO
7746 * manual/string.texi: Document MTASC-safety properties.
7747
5da2c93d
AO
7748 * manual/threads.texi: Document MTASC-safety properties.
7749
171e9210
AO
7750 * manual/stdio.texi: Document MTASC-safety properties.
7751
d9e02532
AO
7752 * manual/syslog.texi: Document MTASC-safety properties.
7753
6af8bab7
AO
7754 * manual/sysinfo.texi: Document MTASC-safety properties.
7755
663b02d7
AO
7756 * manual/startup.texi: Document MTASC-safety properties.
7757
973f180b
AO
7758 * manual/socket.texi: Document MTASC-safety properties.
7759
8f3c25c8
AO
7760 * manual/signal.texi: Document MTASC-safety properties.
7761
542210fb
AO
77622014-01-31 Alexandre Oliva <aoliva@redhat.com>
7763
7764 * manual/setjmp.texi: Document MTASC-safety properties.
7765
433c45a2
AO
7766 * manual/search.texi: Document MTASC-safety properties.
7767
c8ce789c
AO
7768 * manual/resource.texi: Document MTASC-safety properties.
7769
19f5d29c
AO
7770 * manual/process.texi: Document MTASC-safety properties.
7771
e2dfb7f4
AO
7772 * manual/platform.texi: Document MTASC-safety properties.
7773
8c1413f5
AO
7774 * manual/pipe.texi: Document MTASC-safety properties.
7775
03483ada
AO
7776 * manual/pattern.texi: Document MTASC-safety properties.
7777
29e7e2df
AO
7778 * manual/message.texi: Document MTASC-safety properties.
7779
9f529d7c
AO
7780 [BZ #12751]
7781 * manual/memory.texi: Document MTASC-safety properties.
7782
27aaa791
AO
7783 * manual/math.texi: Document MTASC-safety properties.
7784
f2d58726
AO
7785 * manual/locale.texi: Document MTASC-safety properties.
7786
2cc3615c
AO
7787 * manual/llio.texi: Document MTASC-safety properties.
7788
d9f0ec97
AO
7789 * manual/libdl.texi: New.
7790
e7c4409a
AO
7791 * manual/lang.texi: Document MTASC-safety properties.
7792
27bdc63c
AO
7793 * manual/job.texi: Document MTASC-safety properties.
7794
a7b90ea9
AO
7795 * manual/getopt.texi: Document MTASC-safety properties.
7796
c49130e3
AO
7797 * manual/ctype.texi: Document MTASC-safety properties.
7798
0d23a5c1
MR
77992014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7800
7801 [BZ #16046]
7802 * csu/libc-tls.c (static_map): Remove variable.
7803 (__libc_setup_tls): Use main executable's link map for TLS data.
7804 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7805 casing for LM_ID_BASE and GL(dl_nns).
7806 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7807 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7808 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7809 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7810 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7811 member.
7812 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7813 l_phnum members.
7814
0037bb60
AO
78152014-01-30 Alexandre Oliva <aoliva@redhat.com>
7816
7817 * manual/debug.texi: Document MTASC-safety properties.
7818
409e00bd
L
78192014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7820
7821 [BZ #16510]
7822 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7823 of __x86_64__ when disabling x87 inline functions.
7824
86e60666
AO
78252014-01-29 Alexandre Oliva <aoliva@redhat.com>
7826
7827 * manual/charset.texi: Document MTASC-safety properties.
7828
76167637
AO
7829 * manual/crypt.texi: Document MTASC-safety properties.
7830
e567f2a0
AO
7831 * manual/conf.texi: Document MTASC-safety properties.
7832
b719dafd
AO
7833 * manual/arith.texi: Document MTASC-safety properties.
7834
4a16c662
AO
7835 * manual/argp.texi: Document MTASC-safety properties.
7836
0a57b83e
AO
7837 * manual/macros.texi: Introduce macros to document multi
7838 thread, asynchronous signal and asynchronous cancellation
7839 safety properties.
7840 * manual/intro.texi: Introduce the properties themselves.
7841
feab2397
KK
78422014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7843
7844 * sysdeps/sh/sh4/Makefile: New file.
7845
1c0d11bc
AS
78462014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7847
7848 * math/gen-libm-test.pl ($srcdir): New variable.
7849 ($auto_input): Use it.
7850
af37a8a3
SP
78512014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7852
d7b00f98
SP
7853 [BZ #16506]
7854 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7855 access beyond array bounds when parsing netgroups file.
7856
af37a8a3
SP
7857 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7858 the old buffer before realloc.
7859
0c00f062
AM
78602014-01-27 Allan McRae <allan@archlinux.org>
7861
7862 * po/fr.po: Update French translation from translation project.
7863
7d69a1b0
KK
78642014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7865
7866 * sysdeps/sh/libm-test-ulps: Regenerate.
7867
6e697ff7
DM
78682014-01-24 David S. Miller <davem@davemloft.net>
7869
7870 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7871
9cadb35c
KK
78722014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7873
7874 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7875 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7876
5d41dadf
SP
78772013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7878
7879 [BZ #16474]
7880 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7881 string pointers after reallocation.
7882
0bad441c
KK
78832014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7884
7885 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7886 __SH4A__ instead of __SH_FPU_ANY__.
7887
7007c661
KK
78882014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7889
7890 * sysdeps/sh/fpu_control.h: New file.
7891 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7892 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7893 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7894 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7895 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7896 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7897 * sysdeps/sh/sys/ucontext.h: Remove.
7898 * sysdeps/sh/sys: Remove directory.
7899
0f0c35e4
AK
79002014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7901
7902 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7903 s390/sys/ucontext.h.
7904 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7905 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7906
4959e284
L
79072014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7908
7909 [BZ #15605]
7910 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7911
d98720e0
AZ
79122014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7913
7914 [BZ#16431]
7915 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7916 Adjust the vDSO correctly for internal calls.
7917 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7918
91cbd0bc
AM
79192014-01-20 Allan McRae <allan@archlinux.org>
7920
7921 * po/ca.po: Update Catalan translation from translation project.
7922
7a02cfad
MF
79232014-01-16 Mike Frysinger <vapier@gentoo.org>
7924
7925 * sysdeps/s390/sotruss-lib.c: New file.
7926
736c304a
AZ
79272014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928
7929 [BZ#16430]
6e077ee5 7930 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7931 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7932 local calls issues by not having a PLT stub required for IFUNC calls.
7933 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7934
94d0cea0
JM
79352014-01-16 Joseph Myers <joseph@codesourcery.com>
7936
7937 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7938 * math/test-fpucw-static.c: Likewise.
7939
980cb518
SP
79402013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7941
7942 [BZ #16453]
7943 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7944
2393fc01
AZ
79452014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7946
7947 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7948 implementation for powerpc.
7949
d359bcc2
OB
79502014-01-15 Ondřej Bílka <neleai@seznam.cz>
7951
7952 [BZ #14782]
7953 * sysdeps/posix/system.c (__libc_system): Do not enable
7954 asynchronous cancellation.
7955
7beb48cb
AK
79562014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7957
7958 [BZ #16427]
7959 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7960 handling only for numbers special also in the IEEE case.
7961
c20d5bf5
AK
79622014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7963
7964 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7965
e83bd4ee
AM
79662014-01-11 Allan McRae <allan@archlinux.org>
7967
76d0ea69
AM
7968 * po/bg.po: Update Bulgarian translation from translation project.
7969
e83bd4ee
AM
7970 * po/de.po: Update German translation from translation project.
7971
bc2ba20a
RM
79722014-01-10 Roland McGrath <roland@hack.frob.com>
7973
7974 * sysdeps/generic/gcc-compat.h: New file.
7975
649ecea2
SP
79762014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7977
7978 * benchtests/asin-inputs: Correct slow inputs.
7979 * benchtests/acos-inputs: Likewise.
7980
1b19c006
AM
79812014-01-10 Allan McRae <allan@archlinux.org>
7982
a46dab08
AM
7983 * po:sv.po: Update Swedish translation from translation project.
7984
421df74a
AM
7985 * po/vi.po: Update Vietnamese translation from translation project.
7986
d61c51a7
AM
7987 * po/eo.po: Update Esperanto translation from translation project.
7988
0339a319
AM
7989 * po/cs.po: Update Czech translation from translation project.
7990
94ad3e99
AM
7991 * po/nl.po: Update Dutch translation from translation project.
7992
e349ca71
AM
7993 * po/pl.po: Update Polish translation from translation project.
7994
ddf930c1
AM
7995 * po/ru.po: Update Russian translation from translation project.
7996
1b19c006
AM
7997 * po/uk.po: Update Ukrainian translation from translation project.
7998
9f236c49
BM
79992014-01-08 Brooks Moses <bmoses@google.com>
8000
8001 * elf/dl-load.c: Fix comment typo.
8002
cd6701cf
CD
80032014-01-08 Carlos O'Donell <carlos@redhat.com>
8004
8005 * po/header.pot: Rename to...
8006 * po/pot.header: ... this.
8007 * po/Makefile: Use pot.header.
8008
66671c84
YK
80092014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8010 Maxim Kuvyrkov <maxim@kugelworks.com>
8011
8012 [BZ #16394]
cd6701cf
CD
8013 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8014 SRC and DEST against LEN.
66671c84 8015
38f34581
AZ
80162014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8017
8018 [BZ #16414]
8019 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8020 implementation.
8021 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8022
80232014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
8024
8025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8026
4c327f2a
JM
80272014-01-08 Joseph Myers <joseph@codesourcery.com>
8028
8029 [BZ #16408]
8030 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8031 for large positive arguments.
8032
b821f414
JM
80332014-01-07 Joseph Myers <joseph@codesourcery.com>
8034
1f0f2067
JM
8035 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8036
a5a326f6
JM
8037 * math/auto-libm-test-in: Mark various tests with
8038 xfail-rounding:ldbl-128ibm.
8039 * math/auto-libm-test-out: Regenerated.
8040
b821f414
JM
8041 [BZ #16407]
8042 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8043 Increase overflow threshold.
8044
94c8a4bc
OB
80452014-01-07 Ondřej Bílka <neleai@seznam.cz>
8046
8047 [BZ #14286]
8048 * stdio-common/vfprintf.c: Check for integer overflow.
8049
87ded0c3
AK
80502014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8051
8052 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8053 the first argument and return value of __tls_get_addr_internal.
8054
c5eebdd0
AK
80552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8056
8057 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8058 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8059
05d138ef
AK
80602014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8061
8062 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8063 * sysdeps/s390/rtld-global-offsets.sym: New file.
8064 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8065 GLIBC_2.19 symbol.
8066 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8067 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8068 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8069 ... this.
8070 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8071 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8072 ... this.
8073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8074 Regenerate.
8075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8076 Regenerate.
8077 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8078 halfs of GPRs for high_gprs contexts.
8079 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8080 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8081 field.
8082 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8083 uc_flags field.
8084 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8085 64 bit versions:
8086 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8087 for high GPRs (uc_high_gprs) and for future extensions
8088 (__reserved).
8089 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8090 for future extensions (__reserved).
8091 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8092 64 bit versions:
8093 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8094 SC_HIGHGPRS offset definition.
8095 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8096 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8097
93a45ff1
AK
8098 * Versions.def: Add GLIBC_2.19 for libpthread.
8099 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8100 siglongjmp for libpthread with GLIBC_2.19 symver.
8101 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8102 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8103 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8104 * sysdeps/s390/__longjmp.c: New file.
8105 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8106 * sysdeps/s390/longjmp.c: New file.
8107 * sysdeps/s390/setjmp.S: New file.
8108 * sysdeps/s390/sigjmp.S: New file.
8109 * sysdeps/s390/v1-longjmp.c: New file.
8110 * sysdeps/s390/v1-setjmp.h: New file.
8111 * sysdeps/s390/v1-sigjmp.c: New file.
8112 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8113 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8114 GLIBC_2.19 version.
8115 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8116 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8117 versioned symbols for ____longjmp_chk.
8118 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8119 Likewise.
8120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8121 Regenerate.
8122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8123 Regenerate.
8124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8125 Regenerate.
8126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8127 Regenerate.
8128 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8129 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8130 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8131 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8132 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8133 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8134 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8135 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8136 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8137 * sysdeps/s390/rtld-__longjmp.c: New file.
8138 * sysdeps/s390/rtld-setjmp.S: New file.
8139
eb3fc44b
JM
81402014-01-06 Joseph Myers <joseph@codesourcery.com>
8141
8142 [BZ #16400]
8143 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8144 Return -__logl (x) for small positive arguments without evaluating
8145 a polynomial.
8146
9341dde4
MF
81472014-01-06 Mike Frysinger <vapier@gentoo.org>
8148
8149 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8150 Rename to ...
8151 (__ptrace_peeksiginfo_args): ... this.
8152 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8153 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8154 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8155
4cff0293
AM
81562014-01-06 Allan McRae <allan@archlinux.org>
8157
8158 * inet/netinet/in.h: Fix typo in comment.
8159
75595dcf
AJ
81602014-01-05 Andreas Jaeger <aj@suse.de>
8161
8162 * sysdeps/i386/fpu/libm-test-ulps: Update.
8163
79c1e109
AM
81642014-01-05 Allan McRae <allan@archlinux.org>
8165
dd804818
AM
8166 * po/libc.pot: Regenerated.
8167
79c1e109
AM
8168 * malloc/memusagestat.c: Fix gettext call formatting.
8169
0c813d1f
SK
81702014-01-04 Sami Kerola <kerolasa@iki.fi>
8171
8172 * nscd/nscd.c: Improve usage() output.
8173
20f4a8d9
MF
81742014-01-04 Mike Frysinger <vapier@gentoo.org>
8175
8176 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8177 * sysdeps/unix/sysv/linux/configure: Regenerated.
8178 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8179 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8180
22562bb2
JM
81812014-01-03 Joseph Myers <joseph@codesourcery.com>
8182
8183 [BZ #16390]
8184 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8185 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8186
d7ad2d9b
AZ
81872014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8188
8189 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8190 extra tokens at end of #undef directive.
8191 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8192 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8193 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8194
7dd009d8
JM
81952014-01-03 Joseph Myers <joseph@codesourcery.com>
8196
24db925a
JM
8197 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8198
7dd009d8
JM
8199 * math/auto-libm-test-in: Mark various tests with
8200 xfail-rounding:ldbl-128ibm.
8201 * math/auto-libm-test-out: Regenerated.
8202
396e3ecf
JM
82032014-01-02 Joseph Myers <joseph@codesourcery.com>
8204
819e5d50
JM
8205 [BZ #16386]
8206 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8207 numbers with subnormal high part when calculating exponent.
8208
90b6a1e5
JM
8209 [BZ #16385]
8210 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8211 fabs.
8212
396e3ecf
JM
8213 [BZ #16384]
8214 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8215 M_LN2l.
8216 (__ieee754_acoshl): Use __log1pl not __log1p.
8217
6c8dbf00
OB
82182013-01-02 Ondřej Bílka <neleai@seznam.cz>
8219
57f41c40
AS
8220 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8221 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8222 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8223 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8224 (reused_arena, arena_get2): Convert to GNU style.
8225 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8226 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8227 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8228 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8229 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8230 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8231 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8232 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8233 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8234 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8235 * malloc/malloc.h: Likewise.
57f41c40
AS
8236 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8237 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8238 * malloc/mcheck.h: Likewise.
57f41c40
AS
8239 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8240 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8241 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8242 * malloc/morecore.c (__default_morecore): Likewise.
8243 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8244 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8245 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8246 (print_and_abort): Likewise.
6c8dbf00
OB
8247 * malloc/obstack.h: Likewise.
8248 * malloc/set-freeres.c (__libc_freeres): Likewise.
8249 * malloc/tst-mallocstate.c (main): Likewise.
8250 * malloc/tst-mtrace.c (main): Likewise.
8251 * malloc/tst-realloc.c (do_test): Likewise.
8252
d4124212
SP
82532013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8254
9a3c6a6f
SP
8255 [BZ #16366]
8256 * nscd/netgroupcache.c (do_notfound): New function.
8257 (addgetnetgrentX): Use it.
8258
d4124212
SP
8259 [BZ # 16365]
8260 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8261 NSS_STATUS_NOTFOUND.
8262
97b9a009
JM
82632014-01-01 Joseph Myers <joseph@codesourcery.com>
8264
8265 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8267
d4697bc9
AM
82682014-01-01 Allan McRae <allan@archlinux.org>
8269
ddb3687f
AM
8270 * scripts/update-copyrights: Update configure input file suffix.
8271
88726d48
AM
8272 * NEWS: Update copyright year.
8273 * catgets/gencat.c: Likewise.
8274 * csu/version.c: Likewise.
8275 * debug/catchsegv.sh: Likewise.
8276 * debug/pcprofiledump.c: Likewise.
8277 * debug/xtrace.sh: Likewise.
8278 * elf/ldconfig.c: Likewise.
8279 * elf/ldd.bash.in: Likewise.
8280 * elf/pldd.c: Likewise.
8281 * elf/sotruss.ksh: Likewise.
8282 * elf/sprof.c: Likewise.
8283 * iconv/iconv_prog.c: Likewise.
8284 * iconv/iconvconfig.c: Likewise.
8285 * locale/programs/locale.c: Likewise.
8286 * locale/programs/localedef.c: Likewise.
8287 * login/programs/pt_chown.c: Likewise.
8288 * malloc/memusage.sh: Likewise.
8289 * malloc/memusagestat.c: Likewise.
8290 * malloc/mtrace.pl: Likewise.
8291 * manual/libc.texinfo: Likewise.
8292 * nscd/nscd.c: Likewise.
8293 * nss/getent.c: Likewise.
8294 * nss/makedb.c: Likewise.
8295 * posix/getconf.c: Likewise.
8296 * scripts/test-installation.pl: Likewise.
8297
d4697bc9
AM
8298 * All files with FSF copyright notices: Update copyright dates
8299 using scripts/update-copyrights.
8300 * intl/plural.c: Regenerated.
8301 * locale/programs/charmap-kw.h: Likewise.
8302 * locale/programs/locfile-kw.h: Likewise.
8303
c8590f9d
MF
83042013-12-31 Mike Frysinger <vapier@gentoo.org>
8305
8306 * sysdeps/unix/sysv/linux/configure: Regenerated.
8307 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8308 the linux/fanotify.h header.
8309 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8310 HAVE_LINUX_FANOTIFY_H is defined.
8311
b19221b9
SP
83122013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8313
dd1d85e5
SP
8314 * benchtests/cos-inputs: New inputs.
8315 * benchtests/sin-inputs: Likewise.
8316
1acbb90f
SP
8317 * benchtests/atan-inputs: New inputs. Fix name of multiple
8318 precision fallback inputs.
8319
4c012ed3
SP
8320 * benchtests/atanh-inputs: New inputs.
8321 * benchtests/tanh-inputs: Likewise.
8322
eff98324
SP
8323 * benchtests/acosh-inputs: New inputs.
8324 * benchtests/asinh-inputs: Likewise.
8325
ce641152
SP
8326 * benchtests/cosh-inputs: New inputs.
8327 * benchtests/sinh-inputs: Likewise.
8328
b19221b9
SP
8329 * benchtests/acos-inputs: Add more inputs.
8330 * benchtests/asin-inputs: Likewise.
8331
030a4976 83322013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8333
030a4976 8334 [BZ #16375]
9dcc8f11
VS
8335 * manual/arith.texi: Fix spelling.
8336 * manual/charset.texi: Likewise.
8337 * manual/errno.texi: Likewise.
8338 * manual/filesys.texi: Likewise.
8339 * manual/lang.texi: Likewise.
8340 * manual/llio.texi: Likewise.
8341 * manual/locale.texi: Likewise.
8342 * manual/message.texi: Likewise.
8343 * manual/resource.texi: Likewise.
8344 * manual/search.texi: Likewise.
8345 * manual/setjmp.texi: Likewise.
8346 * manual/stdio.texi: Likewise.
8347 * manual/string.texi: Likewise.
8348 * manual/sysinfo.texi: Likewise.
8349 * manual/time.texi: Likewise.
8350
11520a57
CD
83512013-12-27 Carlos O'Donell <carlos@redhat.com>
8352
8353 * po/sl.po: New file.
8354
471103ae
MF
83552013-12-27 Mike Frysinger <vapier@gentoo.org>
8356
8357 * .gitignore: Add core/.gdbinit/.gdb_history.
8358
6c9642ed
AM
83592013-12-27 Allan McRae <allan@archlinux.org>
8360
8361 [BZ #16369]
8362 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8363 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8364
3f637079
BM
83652013-12-24 Brooks Moses <bmoses@google.com>
8366
8367 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8368 all compilers that claim C++98 compliance, not just GCC.
8369 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8370 Likewise.
8371
abc26e99
MK
83722013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8373
8374 * NEWS: Restore accidentally deleted bug-fix entries.
8375
362b47fe
MK
83762013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8377 Ondřej Bílka <neleai@seznam.cz>
8378
8379 [BZ #15073]
8380 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8381 have_lock.
362b47fe 8382
b9bcbbcb
OB
83832013-12-23 Ondřej Bílka <neleai@seznam.cz>
8384
8385 [BZ #12986]
8386 * manual/stdio.texi (String Input Conversions): Clarify that character
8387 classes are not supported.
8388
fb55fcd2
AZ
83892013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8390
8391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8392
ef7344f0
JM
83932013-12-22 Joseph Myers <joseph@codesourcery.com>
8394
4f40e4b3
JM
8395 [BZ #16337]
8396 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8397 Calculate results for small negative arguments directly rather
8398 than using reflection formula with special underflow handling.
8399
ef7344f0
JM
8400 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8401 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8402 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8403 (fchflags): Likewise.
8404 (revoke): Likewise.
8405 (setlogin): Likewise.
8406 (sigaltstack): Likewise.
8407 (wait4): Likewise.
8408 (sigblock): Remove.
8409 (sigsetmask): Likewise.
8410 (wait3): Likewise.
8411 (waitpid): Likewise.
8412 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8413 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8414 file.
8415 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8416 * sysdeps/unix/bsd/Makefile: ... here.
8417 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8418 * sysdeps/unix/bsd/Versions: ... here.
8419 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8420 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8421 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8422 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8423 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8424 * sysdeps/unix/bsd/sigblock.c: ... here.
8425 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8426 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8427 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8428 * sysdeps/unix/bsd/sigvec.c: ... here.
8429 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8430 * sysdeps/unix/bsd/tcdrain.c: ... here.
8431 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8432 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8433 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8434 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8435 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8436 * sysdeps/unix/bsd/wait.c: ... here.
8437 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8438 * sysdeps/unix/bsd/wait3.c: ... here.
8439 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8440 * sysdeps/unix/bsd/waitpid.c: ... here.
8441
5b0626b9
JM
84422013-12-21 Joseph Myers <joseph@codesourcery.com>
8443
8444 [BZ #16356]
8445 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8446 round-to-nearest for [!USE_AS_EXPM1L].
8447 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8448 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8449 more tests of exp and exp10. Expect some exp10 tests to miss
8450 exceptions or fail in directed rounding modes.
8451 * math/auto-libm-test-out: Regenerated.
8452 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8453 (exp10_test_tonearest): New function.
8454 (exp10_towardzero_test_data): New array.
8455 (exp10_test_towardzero): New function.
8456 (exp10_downward_test_data): New array.
8457 (exp10_test_downward): New function.
8458 (exp10_upward_test_data): New array.
8459 (exp10_test_upward): New function.
8460 (main): Call the new functions.
8461 * sysdeps/i386/fpu/libm-test-ulps: Update.
8462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8463
7fda5682
JM
84642013-12-20 Joseph Myers <joseph@codesourcery.com>
8465
31e3a405
JM
8466 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8467 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8468 * math/auto-libm-test-out: Regenerated.
8469 * math/libm-test.inc (acosh_test_data): Add more tests.
8470 (atanh_test_data): Likewise.
8471 (ceil_test_data): Likewise.
8472 (copysign_test_data): Likewise.
8473 * sysdeps/i386/fpu/libm-test-ulps: Update.
8474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8475
85bff96a
JM
8476 * timezone/checktab.awk: Update from tzcode 2013i.
8477 * timezone/private.h: Likewise.
8478 * timezone/scheck.c: Likewise.
8479 * timezone/tzfile.h: Likewise.
8480 * timezone/tzselect.ksh: Likewise.
8481 * timezone/zdump.c: Likewise.
8482 * timezone/zic.c: Likewise.
8483
b7867a3b
JM
8484 * math/auto-libm-test-in: Add tests of cpow.
8485 * math/auto-libm-test-out: Regenerated.
8486 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8487 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
8488 mpc_cc_c.
8489 (func_calc_desc): Add mpc_cc_c union field.
8490 (test_functions): Add cpow.
8491 (special_fill_2pi): New function.
8492 (special_real_inputs): Add 2pi.
8493 (calc_generic_results): Handle mpc_cc_c.
8494 * sysdeps/i386/fpu/libm-test-ulps: Update.
8495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8496
7fda5682
JM
8497 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8498 csqrt, ctan and ctanh.
8499 * math/auto-libm-test-out: Regenerated.
8500 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8501 (TEST_COND_x86): Likewise.
8502 (ccos_test_data): Use AUTO_TESTS_c_c.
8503 (ccosh_test_data): Likewise.
8504 (cexp_test_data): Likewise.
8505 (clog_test_data): Likewise.
8506 (csqrt_test_data): Likewise.
8507 (ctan_test_data): Likewise.
8508 (ctan_tonearest_test_data): Likewise.
8509 (ctan_towardzero_test_data): Likewise.
8510 (ctan_downward_test_data): Likewise.
8511 (ctan_upward_test_data): Likewise.
8512 (ctanh_test_data): Likewise.
8513 (ctanh_tonearest_test_data): Likewise.
8514 (ctanh_towardzero_test_data): Likewise.
8515 (ctanh_downward_test_data): Likewise.
8516 (ctanh_upward_test_data): Likewise.
8517 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8518 mpc_c_c.
8519 (func_calc_desc): Add mpc_c_c union field.
8520 (FUNC_mpc_c_c): New macro.
8521 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8522 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8523 ctanh.
8524 (special_fill_min_subnorm_p120): New function.
8525 (special_real_inputs): Add min_subnorm_p120.
8526 (calc_generic_results): Handle mpc_c_c.
8527 * sysdeps/i386/fpu/libm-test-ulps: Update.
8528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8529
5ff8d60e
SP
85302013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8531
57f41c40
AS
8532 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8533 (do_sin_slow): New functions.
8534 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8535 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 8536
84ba214c
SP
8537 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8538 Use M to change sign of result instead of X. Assume X is
8539 positive.
8540 (csloww1): Likewise.
8541 (__sin): Adjust.
8542 (__cos): Adjust.
8543
975195e4
SP
8544 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8545 arguments A and DA.
8546 (__sin): Adjust.
8547 (__cos): Likewise.
8548
5ff8d60e
SP
8549 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8550 (__cos): Likewise.
8551 (sloww1): Don't adjust sign of DX.
8552 (csloww1): Likewise.
8553 (sloww2): Use X directly and don't adjust sign of DX.
8554 (csloww2): Likewise.
8555
eb983568
JM
85562013-12-19 Joseph Myers <joseph@codesourcery.com>
8557
64a17f1a
JM
8558 * math/auto-libm-test-in: Add tests of cabs and carg.
8559 * math/auto-libm-test-out: Regenerated.
8560 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8561 (carg_test_data): Likewise.
8562 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8563 mpc_c_f.
8564 (func_calc_desc): Add mpc_c_f union field.
8565 (test_functions): Add cabs and carg.
8566 (calc_generic_results): Handle mpc_c_f.
8567
eb983568
JM
8568 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8569 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8570 as a macro and a compat symbol.
8571 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8572 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8573 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8574 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8575 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8576 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8577 not use .hidden.
8578 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8579 Likewise.
8580 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8581 Likewise.
8582 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8583 Likewise.
8584 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8585 Likewise.
8586 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8587 Likewise.
8588 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8589 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8590 from GLIBC_2.3.2.
8591
6eeb678a
AZ
85922013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8593
8594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8595
6f6fc482
JM
85962013-12-19 Joseph Myers <joseph@codesourcery.com>
8597
21fea2e2
JM
8598 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8599 trailing whitespace removed.
8600 * scripts/config.guess: Update to version 2013-11-29.
8601 * scripts/config.sub: Update to version 2013-10-01.
8602
6f6fc482
JM
8603 * math/auto-libm-test-in: Add tests of sincos.
8604 * math/auto-libm-test-out: Regenerated.
8605 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8606 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8607 mpfr_f_11.
8608 (func_calc_desc): Add mpfr_f_11 union field.
8609 (test_functions): Add sincos.
8610 (calc_generic_results): Handle mpfr_f_11.
8611 * sysdeps/i386/fpu/libm-test-ulps: Update.
8612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8613
83f5c32d
AS
86142013-12-19 Andreas Schwab <schwab@suse.de>
8615
8616 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8617 CALL_MCOUNT.
8618 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8619 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8620 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8621
c688b419
JM
86222013-12-19 Joseph Myers <joseph@codesourcery.com>
8623
335ee092
JM
8624 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8625 * sysdeps/i386/fpu/libm-test-ulps: Update.
8626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8627
f88acd39
JM
8628 [BZ #16293]
8629 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8630 round-to-nearest mode when using frndint.
8631 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8632 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8633 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8634 Likewise.
8635 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8636 sinh test to fail.
8637 * math/auto-libm-test-out: Regenerated.
8638 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8639 (TEST_COND_x86): Likewise.
8640 (expm1_tonearest_test_data): New array.
8641 (expm1_test_tonearest): New function.
8642 (expm1_towardzero_test_data): New array.
8643 (expm1_test_towardzero): New function.
8644 (expm1_downward_test_data): New array.
8645 (expm1_test_downward): New function.
8646 (expm1_upward_test_data): New array.
8647 (expm1_test_upward): New function.
8648 (main): Run the new test functions.
8649 * sysdeps/i386/fpu/libm-test-ulps: Update.
8650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8651
c688b419
JM
8652 * include/features.h: Update comment documenting feature test
8653 macros. Mention _DEFAULT_SOURCE in comment.
8654 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8655 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8656 _BSD_SOURCE and _SVID_SOURCE.
8657 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8658 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8659 !_SVID_SOURCE]: Likewise.
8660 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8661 (__USE_POSIX_IMPLICITLY): Define.
8662 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8663 (_POSIX_SOURCE): Undefine and redefine.
8664 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8665 (_POSIX_C_SOURCE): Likewise.
8666 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8667 (Feature Test Macros): Update documentation of default features.
8668
9f6e964c
RS
86692013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8670
8671 * benchtests/Makefile: Add bench-strtok.
8672 * benchtests/bench-strtok.c: New file: strtok benchtest.
8673
ee0a148a
AM
86742013-12-19 Allan McRae <allan@archlinux.org>
8675
8676 * manual/install.texi: Suppress menu for plain text output.
8677 * INSTALL: Regenerated.
8678
b9ab448f
BM
86792013-12-18 Brooks Moses <bmoses@google.com>
8680
8681 [BZ #15846]
8682 * misc/getauxval.c: Include errno.h.
8683 (__getauxval): Set errno to ENOENT if the requested type is not
8684 found.
8685 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8686 don't declare with __attribute_const__.
8687 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8688 * manual/startup.texi: Document that getauxval sets errno.
8689
23776487
JM
86902013-12-18 Joseph Myers <joseph@codesourcery.com>
8691
f889953b
JM
8692 * math/auto-libm-test-in: Add tests of jn and yn.
8693 * math/auto-libm-test-out: Regenerated.
8694 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8695 (yn_test_data): Likewise.
8696 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8697 mpfr_if_f.
8698 (func_calc_desc): Add mpfr_if_f union field.
8699 (FUNC_mpfr_if_f): New macro.
8700 (test_functions): Add jn and yn.
8701 (calc_generic_results): Assert type of second input for
8702 mpfr_ff_f. Handle mpfr_if_f.
8703 (output_for_one_input_case): Disable all checking for arguments
8704 fitting floating-point types in case of an integer argument.
8705 * sysdeps/i386/fpu/libm-test-ulps: Update.
8706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8707
23776487
JM
8708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8709 Don't expect fegetround reference in libm.so.
8710
cb756c6d
MS
87112013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8712
8713 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8714 $(config-cflags-nofma).
8715
2dec468f
JM
87162013-12-18 Joseph Myers <joseph@codesourcery.com>
8717
5953eb3a
JM
8718 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8719 * math/auto-libm-test-out: Regenerated.
8720
2dec468f
JM
8721 [BZ #16338]
8722 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8723 to determine exponent and adjust argument to have exponent of -1.
8724 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8725 log2.
8726 * math/auto-libm-test-out: Regenerated.
8727 * sysdeps/i386/fpu/libm-test-ulps: Update.
8728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8729
4d84e6ad
OB
87302013-12-18 Ondřej Bílka <neleai@seznam.cz>
8731
8732 * manual/probes.texi: Remove cases when per-thread arenas are
8733 disabled.
8734
1818483b
AS
87352013-12-18 Andreas Schwab <schwab@suse.de>
8736
8737 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8738 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8739 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8740 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8741 * sysdeps/i386/i686/multiarch/Makefile: Update.
8742 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8743
25de95bf
JM
87442013-12-17 Joseph Myers <joseph@codesourcery.com>
8745
8746 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8747 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8748
674762d9
PE
87492013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8750
ed27ed83 8751 [BZ #15968]
0748546f
PE
8752 Support TZ transition times < 00:00:00.
8753 This is needed for version-3 tz-format files; it supports time
8754 stamps past 2037 for America/Godthab (the only entry in the tz
8755 database for which this change is relevant).
8756 * manual/time.texi (TZ Variable): Document transition times
8757 from -167:59:59 through -00:00:01.
8758 * time/tzset.c (tz_rule): Time of day is now signed.
8759 (__tzset_parse_tz): Parse negative time of day.
8760
4480e934
PE
8761 Document TZ transition times >= 25:00:00.
8762 * manual/time.texi (TZ Variable): Document transition times from
8763 25:00:00 through 167:59:59. These are already supported, and this
8764 support will help with version-3 tz-format files.
8765
69947401
PE
8766 * manual/time.texi (TZ Variable): Modernize North America example
8767 to reflect current (i.e., 2007-and-later) daylight saving rules.
8768
674762d9
PE
8769 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8770
7011c262
JM
87712013-12-17 Joseph Myers <joseph@codesourcery.com>
8772
2fc6557e
JM
8773 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8774 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8775 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8776 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8777 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8778 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8779 * sysdeps/unix/bsd/clock.c: Likewise.
8780 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8781 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8782 * sysdeps/unix/bsd/init-posix.c: Likewise.
8783 * sysdeps/unix/bsd/poll.c: Likewise.
8784 * sysdeps/unix/bsd/ptsname.c: Likewise.
8785 * sysdeps/unix/bsd/seekdir.c: Likewise.
8786 * sysdeps/unix/bsd/setegid.c: Likewise.
8787 * sysdeps/unix/bsd/seteuid.c: Likewise.
8788 * sysdeps/unix/bsd/setgid.c: Likewise.
8789 * sysdeps/unix/bsd/setrgid.c: Likewise.
8790 * sysdeps/unix/bsd/setruid.c: Likewise.
8791 * sysdeps/unix/bsd/setsid.c: Likewise.
8792 * sysdeps/unix/bsd/setuid.c: Likewise.
8793 * sysdeps/unix/bsd/sigaction.c: Likewise.
8794 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8795 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8796 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8797 * sysdeps/unix/bsd/telldir.c: Likewise.
8798 * sysdeps/unix/bsd/times.c: Likewise.
8799 * sysdeps/unix/bsd/usleep.c: Likewise.
8800
029c7b25
JM
8801 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8802 ($(objpfx)libbsd-compat.a): Remove rule.
8803
7011c262
JM
8804 * include/features.h (__FAVOR_BSD): Do not define.
8805 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8806 features conflicting with POSIX.
8807 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8808 (_BSD_SOURCE): Remove description of not being a subset of other
8809 feature test macros.
8810 * manual/job.texi (getpgrp): Do not document BSD version.
8811 (getpgid): Do not document by reference to BSD getpgrp.
8812 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8813 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8814 * signal/signal.h [__FAVOR_BSD]: Likewise.
8815 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8816 instead of making contents conditional on [__FAVOR_BSD].
8817 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8818
affb6f78
AZ
88192013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8820
8821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8822
c88769dd
JM
88232013-12-17 Joseph Myers <joseph@codesourcery.com>
8824
6432a540
JM
8825 [BZ #16314]
8826 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8827 values below 2**-450, not 2**-500.
8828 * math/auto-libm-test-in: Don't allow spurious underflow from
8829 hypot.
8830 * math/auto-libm-test-out: Regenerated.
8831
c88769dd
JM
8832 [BZ #16316]
8833 [BZ #16330]
8834 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8835 values of ha and hb and sort them after adjusting subnormal
8836 arguments.
8837 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8838 Likewise.
8839 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8840 values of ea and eb and sort them after adjusting subnormal
8841 arguments.
8842 * math/auto-libm-test-in: Do not expect some hypot tests of
8843 subnormals to fail. Add more hypot tests.
8844 * math/auto-libm-test-out: Regenerated.
8845
29618f6b
KK
88462013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8847
8848 [BZ #13304]
8849 * sysdeps/sh/s_fma.c: New file.
8850 * sysdeps/sh/s_fmaf.c: New file.
8851 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8852 version.
8853 * sysdeps/sh/Implies: Add sh/soft-fp.
8854
eacfdfbf
RM
88552013-12-16 Roland McGrath <roland@hack.frob.com>
8856
8857 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8858 level of indirection to members `objname', `errstring', `malloced'.
8859 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8860 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8861 it as the __longjmp argument (just pass 1 instead).
8862 (_dl_catch_error): Initialize C with argument pointers and address of
8863 volatile local ERRCODE rather than copying values out of C at return.
8864
ff362e5b
JM
88652013-12-16 Joseph Myers <joseph@codesourcery.com>
8866
8867 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8868 * math/auto-libm-test-out: Regenerated.
8869 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8870 (hypot_test_data): Likewise.
8871 (pow_test_data): Likewise.
8872 (pow_tonearest_test_data): Likewise.
8873 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8874 mpfr_ff_f.
8875 (func_calc_desc): Add mpfr_ff_f union field.
8876 (FUNC_mpfr_ff_f): New macro.
8877 (test_functions): Add atan2, hypot and pow.
8878 (special_fill_min): New function.
8879 (special_fill_minus_min): Likewise.
8880 (special_fill_min_subnorm): Likewise.
8881 (special_fill_minus_min_subnorm): Likewise.
8882 (special_real_inputs): Add min, -min, min_subnorm and
8883 -min_subnorm.
8884 (calc_generic_results): Handle mpfr_ff_f.
8885 * sysdeps/i386/fpu/libm-test-ulps: Update.
8886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8887
5764c27f
WN
88882013-12-16 Will Newton <will.newton@linaro.org>
8889
8890 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8891 (Aligned Memory Blocks): Add documentation for aligned_alloc
8892 and suggest it as an alternative to posix_memalign.
8893 (Hooks for Malloc): Document __memalign_hook is also called
8894 for aligned_alloc. (Summary of Malloc): Add summary for
8895 aligned alloc. Document __memalign_hook is also called
8896 for aligned_alloc.
8897
0a096e44
WN
88982013-12-16 Will Newton <will.newton@linaro.org>
8899
8900 * manual/memory.texi (Malloc Examples): Clarify default
8901 alignment documentation. Suggest posix_memalign rather
8902 than memalign or valloc.
8903 (Aligned Memory Blocks): Remove suggestion to use memalign
8904 or valloc. Remove obsolete comment about BSD.
8905 Document memalign errno values and mark the function obsolete.
8906 Document posix_memalign returned error codes. Mark valloc
8907 as obsolete. (Hooks for Malloc): __memalign_hook is also
8908 called for posix_memalign and valloc.
8909 (Summary of Malloc): Add posix_memalign to function summary.
8910 __memalign_hook is also called for posix_memalign and valloc.
8911
8d561986
SP
89122013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8913
8914 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8915 TAYLOR_SIN.
8916 (__sin): Adjust.
8917 (__cos): Likewise.
8918 (sloww): Use mynumber union. Expand ternary operator into
8919 if-else statements.
8920 (cslow): use mynumber union.
8921
73616a74
AM
89222013-12-16 Allan McRae <allan@archlinux.org>
8923
9e8ac24b
AM
8924 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8925 * configure: Regenerated.
8926
6f8e37eb
AM
8927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8928
8894bad3
AM
8929 [BZ #14120]
8930 * configure.ac: Added --enable-maintainer-mode. Check for
8931 autoconf when enabled.
8932 * configure: Regenerated.
8933
73616a74
AM
8934 * nscd/nscd.service: New file.
8935 * nscd/nscd.tmpfiles: New file.
8936
584b18eb
OB
89372013-12-14 Ondřej Bílka <neleai@seznam.cz>
8938
8939 [BZ #12100]
8940 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8941 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8942 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8943 (strstr): Add __strstr_sse2_unaligned ifunc.
8944 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8945 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8946 (strcasestr): Remove __strcasestr_sse42 ifunc.
8947 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8948 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8950
8a5c7897
KK
89512013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8952
8953 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8954 * sysdeps/sh/bits/fenv.h: ... here.
8955 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8956
fd712ef3
AZ
89572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8958
8959 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8960
42fcb46c
AZ
8961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8962 hypotf multiarch implementations.
8963 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8964 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8966 multiarch hypot for PPC64.
8967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8969 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8970 multiarch hypotf for PPC64.
8971
83efded4
AZ
8972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8973 modff multiarch implementations.
8974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8977 multiarch modf for PPC64.
8978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8981 multiarch modff for PPC64.
8982
43e246d2
AZ
8983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8984 and logl multiarch implementations.
8985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8988 multiarch logb for PPC64.
8989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8992 multiarch logb for PPC64.
8993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8996 multiarch logb for PPC64.
8997
8fdad123
AZ
8998 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8999 isinff multiarch implementation.
9000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9001 file.
9002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9004 multiarch isinf for PPC64.
9005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9006 file.
9007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9008 multiarch isinff for PPC64.
9009
1481d706
AZ
9010 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9011 finitef multiarch implementation.
9012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9013 file.
9014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9016 multiarch finite for PPC64.
9017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9018 file.
9019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9020 multiarch finitef for PPC64.
9021
5ccd5fc8
AZ
9022 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9023 lrint multiarch implementation.
9024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9025 file.
9026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9028 multiarch llrint for PPC64.
9029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9030 multiarch lrint for PPC64.
9031
2568f3fa
AZ
9032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9033 copysignf multiarch implementation.
9034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9035 file.
9036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9037 file.
9038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9039 multiarch copysign for PPC64.
9040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9041 multiarch copysignf for PPC64.
9042
1cb341fd
AZ
9043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9044 multiarch implementation.
9045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9046 file.
9047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9048 file.
9049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9050 file.
9051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9052 file.
9053 multiarch llround for PPC64.
9054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9055 multiarch trunc for PPC64.
9056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9057 multiarch truncf for PPC64.
9058
59a3e194
AZ
9059 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9060 multiarch implementation.
9061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9062 file.
9063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9064 file.
9065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9066 file.
9067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9068 file.
9069 multiarch llround for PPC64.
9070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9071 multiarch round for PPC64.
9072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9073 multiarch roundf for PPC64.
9074
357fd3b4
AZ
9075 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9076 multiarch implementation.
9077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9078 file.
9079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9080 file.
9081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9082 file.
9083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9084 file.
9085 multiarch llround for PPC64.
9086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9087 multiarch floor for PPC64.
9088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9089 multiarch floorf for PPC64.
9090
96770f12
AZ
9091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9092 multiarch implementation.
9093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9094 file.
9095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9096 file.
9097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9098 file.
9099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9100 file.
9101 multiarch llround for PPC64.
9102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9103 multiarch ceil for PPC64.
9104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9105 multiarch ceilf for PPC64.
9106
c3627f6e
AZ
9107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9108 multiarch implementation.
9109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9110 file.
9111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9112 file.
9113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9114 file.
9115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9116 multiarch llround for PPC64.
9117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9118 multiarch lround for PPC64.
9119
b2284ad7
AZ
9120 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9121 multiarch implementation.
9122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9125 file.
9126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9129 multiarch isnan for PPC64.
9130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9131 multiarch isnanf for PPC64.
9132
69bbc63d
AZ
9133 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9134 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9135 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9136 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9137 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9139
c24517c9
AZ
9140 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9141 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9143 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9144
a52374e8
AZ
9145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9146 multiarch implementations.
9147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9148 (__libc_ifunc_impl_list): Likewise.
9149 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9150 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9151 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9152 multiarch stpcpy for PPC64.
9153
7f5ec113
AZ
9154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9155 multiarch implementations.
9156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9157 (__libc_ifunc_impl_list): Likewise.
9158 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9159 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9160 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9161 multiarch strcpy for PPC64.
9162
e28bcd42
AZ
9163 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9164 redefine function name.
9165 (_wordcopy_fwd_dest_aligned): Likewise.
9166 (_wordcopy_bwd_aligned): Likewise.
9167 (_wordcopy_bwd_dest_aligned): Likewise.
9168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9169 multiarch implementations.
9170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9171 (__libc_ifunc_impl_list): Likewise.
9172 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9173 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9174 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9175 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9176 multiarch wcscpy for PPC64.
9177
92cacfce
AZ
9178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9179 multiarch implementations.
9180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9181 (__libc_ifunc_impl_list): Likewise.
9182 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9183 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9184 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9185 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9186 multiarch wcscpy for PPC64.
9187
7b714620
AZ
9188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9189 multiarch implementations.
9190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9191 (__libc_ifunc_impl_list): Likewise.
9192 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9193 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9194 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9195 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9196 multiarch wcsrchr for PPC64.
9197
16fd2ae3
AZ
9198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9199 multiarch implementations.
9200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9201 (__libc_ifunc_impl_list): Likewise.
9202 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9203 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9204 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9205 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9206 multiarch wcschr for PPC64.
9207
9ee2969b
AZ
9208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9209 multiarch implementations.
9210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9211 (__libc_ifunc_impl_list): Likewise.
9212 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9213 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9214 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9215 multiarch strchrnul for PPC64.
9216
372dc060
AZ
9217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9218 implementations.
9219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9220 (__libc_ifunc_impl_list): Likewise.
9221 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9222 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9223 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9224 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9225 strchr for PPC64.
9226
24c2c3b9
AZ
9227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9228 implementations.
9229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9230 (__libc_ifunc_impl_list): Likewise.
9231 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9232 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9233 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9234 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9235 strncmp for PPC64.
9236
1c92d9a0
AZ
9237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9238 multiarch implementations.
9239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9240 (__libc_ifunc_impl_list): Likewise.
9241 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9242 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9243 strncasecmp for PPC64.
9244 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9245 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9246 multiarch strncasecmp_l for PPC64.
9247
17de3ee3
AZ
9248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9249 multiarch implementations.
9250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9251 (__libc_ifunc_impl_list): Likewise.
9252 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9253 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9254 multiarch strcasecmp for PPC64.
9255 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9256 file.
9257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9258 multiarch strcasecmp_l for PPC64.
9259
62982bf9
AZ
9260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9261 implementations.
9262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9263 (__libc_ifunc_impl_list): Likewise.
9264 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9265 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9266 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9267 strnlen for PPC64.
9268
a65f4904
AZ
9269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9270 implementations.
9271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9272 (__libc_ifunc_impl_list): Likewise.
9273 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9274 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9275 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9276 strlen for PPC64.
9277
1fd005ad
AZ
9278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9279 implementations.
9280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9281 (__libc_ifunc_impl_list): Likewise.
9282 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9283 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9284 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9285 rawmemrchr for PPC64.
9286
cd05ba91
AZ
9287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9288 implementation.
9289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9290 (__libc_ifunc_impl_list): Likewise.
9291 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9292 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9293 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9294 memrchr for PPC64.
9295
870f8676
AZ
9296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9297 implementation.
9298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9299 (__libc_ifunc_impl_list): Likewise.
9300 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9301 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9302 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9303 memchr for PPC64.
9304
f00be62b
AZ
9305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9306 implementation.
9307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9308 (__libc_ifunc_impl_list): Likewise.
9309 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9310 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9311 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9312 mempcpy for PPC64.
9313
8a29a3d0
AZ
9314 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9315 avoid cretion of __bzero symbol.
9316 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9317 Likewise.
9318 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9319 Likewise.
9320 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9321 Likewise.
9322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9323 multiarch implementations.
9324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9325 (__libc_ifunc_impl_list): Likewise.
9326 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9327 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9328 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9329 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9330 bzero for PPC32.
9331 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9332 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9333 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9334 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9335 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9336 memset for PPC64.
9337 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9338
07253fcf
AZ
9339 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9341 implementations.
9342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9343 (__libc_ifunc_impl_list): Likewise.
9344 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9345 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9346 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9347 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9348 memcmp for PPC64.
9349
b5beafbc
AZ
9350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9351 multiarch for POWER/PPC64.
9352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9353 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9354 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9355 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9356 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9357 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9358 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9359 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9360 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9361 memcpy for PPC64.
9362
5e6a4d4b
AZ
9363 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9364 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9365 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9366 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9367 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9368 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9369 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9370 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9371 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9372 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9373 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9374 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9375 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9376 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9377 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9385
ddfab6dc
KK
93862013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9387
9388 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9389
19b5525e
SP
93902013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9391
9392 * benchtests/Makefile (bench): Add exp2 and log2.
9393 (LDLIBS-bench-exp2): Add -lm.
9394 (LDLIBS-bench-log2): Likewise.
9395 * benchtests/exp2-inputs: New inputs file.
9396 * benchtests/log2-inputs: New inputs file.
9397 * benchtests/log-inputs: Add new inputs.
9398 * benchtests/tan-inputs: Likewise.
9399
196f7f5d
SP
94002013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9401
7a74607f
SP
9402 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9403 definition...
57f41c40
AS
9404 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9405 (csloww2): ... from here.
7a74607f 9406
196f7f5d
SP
9407 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9408 instead of structures.
9409 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9410 (POLYNOMIAL): Likewise.
9411 (TAYLOR_SLOW): Likewise.
9412 (__sin): Likewise.
9413 (__cos): Likewise.
9414 (slow1): Likewise.
9415 (slow2): Likewise.
9416 (sloww): Likewise.
9417 (sloww1); Likewise.
9418 (sloww2): Likewise.
9419 (bsloww1): Likewise.
9420 (bsloww2): Likewise.
9421 (cslow2): Likewise.
9422 (csloww): Likewise.
9423 (csloww1): Likewise.
9424 (csloww2): Likewise.
9425
0dfa665c
OB
94262013-12-10 Ondřej Bílka <neleai@seznam.cz>
9427
9428 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9429 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9430 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9431 * malloc/hooks.c (realloc_check): Likewise.
9432
5782a80f
OB
9433 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9434 * malloc/arena.c: Remove PER_THREAD conditional.
9435 [!PER_THREAD]: Remove code.
9436 (ptmalloc_unlock_all2): Likewise.
9437 (ptmalloc_init): Likewise.
9438 (_int_new_arena): Likewise.
9439 (arena_get2): Likewise.
9440 * malloc/hooks.c (__malloc_get_state): Likewise.
9441 (__malloc_set_state): Likewise.
9442 * malloc/malloc.c: Likewise.
9443 (struct malloc_state): Likewise.
9444 (struct malloc_par): Likewise.
9445 (__libc_realloc): Likewise.
9446 (__libc_mallopt): Likewise.
9447
aeb95445
AZ
94482013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9449
9450 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9451
e8349efd
OB
94522013-12-09 Ondřej Bílka <neleai@seznam.cz>
9453
9454 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9455 macro to a function. Check for zero perturb_byte.
9456 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9457
f3eeb3fc 9458 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9459 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9460 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9461 force_reg by atomic_forced_read.
9462 * malloc/arena.c (ptmalloc_init): Likewise.
9463 * malloc/hooks.c (top_check): Likewise.
9464
be2f9009
AZ
94652013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9466
9467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9468
e7b914bd
MT
94692013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9470
9471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9472
9f0be4f8
JM
94732013-12-08 Joseph Myers <joseph@codesourcery.com>
9474
9475 * math/auto-libm-test-in: Add tests of lgamma.
9476 * math/auto-libm-test-out: Regenerated.
9477 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9478 (M_LOG_2_SQRT_PIl): Likewise.
9479 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9480 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9481 mpfr_f_f1.
9482 (func_calc_desc): Add mpfr_f_f1 union field.
9483 (ARGS1): New macro.
9484 (ARGS2): Likewise.
9485 (ARGS3): Likewise.
9486 (ARGS4): Likewise.
9487 (RET1): Likewise.
9488 (RET2): Likewise.
9489 (CALC): Likewise.
9490 (FUNC): Likewise.
9491 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9492 (test_functions): Add lgamma.
9493 (calc_generic_results): Handle mpfr_f_f1.
9494 * sysdeps/i386/fpu/libm-test-ulps: Update.
9495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9496
24eeafdb
AZ
94972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9498
9499 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9500 __mpn_add_n for PowerPC64/POWER7.
9501 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9502 __mpn_sub_n for PowerPC64/POWER7.
9503
4a2c0fd4
AZ
9504 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9505 __mpn_addmul_1 for PowerPC64.
9506 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9507 __mpn_submul_1 for PowerPC64.
9508 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9509 for PowerPC64.
9510 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9511 for PowerPC64.
9512
4b5b548c
FS
95132013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9514
9515 [BZ #15089]
9516 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9517
0a3ac0aa
AZ
95182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9519
9520 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9521
ccdc8438
AZ
9522 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9523 add multiarch folders.
9524 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9525 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9526 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9527 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9528 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9529 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9530 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9531 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9532 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9533 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9534 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9541
2e973d99
AZ
9542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9543 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9545 New file.
9546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9547 New file.
9548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9549 multiarch __ieee754_hypot for PowerPC32.
9550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9551 New file.
9552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9553 New file.
9554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9555 multiarch __ieee754_hypotf for PowerPC32.
9556
2d9470b2
AZ
9557 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9558 long_double_symbol only if __logbl is defined.
9559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9560 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9562 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9563 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9564 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9565 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9566 path for implementation.
9567 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9568 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9570 logb, and logbl multiarch implementations for PowerPC32.
9571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9572 file.
9573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9574 file.
9575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9576 multiarch logb for PowerPC32.
9577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9578 file.
9579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9580 file.
9581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9582 multiarch logbf for PowerPC32.
9583 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9585 file.
9586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9587 multiarch logbl implementation for PowerPC32.
9588
5212ffce
AZ
9589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9590 and modff multiarch implementations.
9591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9592 New file.
9593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9594 New file.
9595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9596 multiarch modf for PowerPC32.
9597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9598 New file.
9599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9600 New file.
9601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9602 multiarch modff for PowerPC32.
9603
79dccf31
AZ
9604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9605 and lrintf multiarch implementations.
9606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9607 New file.
9608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9609 New file.
9610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9611 multiarch lrint for PowerPC32.
9612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9613 file: multiarch lrintf for PowerPC32.
9614
deb66480
AZ
9615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9616 and lroundf multiarch implementations.
9617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9618 New file.
9619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9620 New file.
9621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9622 New file.
9623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9624 multiarch lround for PowerPC32.
9625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9626 file: multiarch lroundf for PowerPC32.
9627
264b036b
AZ
9628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9629 copysign and copysignf multiarch implementations.
9630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9631 New file.
9632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9633 New file.
9634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9635 file: multiarch copysign for PowerPC32.
9636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9637 file: multiarch copysignf for PowerPC32.
9638
d47db6c9
AZ
9639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9640 and truncf multiarch implementations.
9641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9642 New file.
9643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9644 file.
9645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9646 multiarch trunc for PowerPC32.
9647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9648 New file.
9649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9650 New file.
9651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9652 multiarch truncf for PowerPC32.
9653
ddb60b5a
AZ
9654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9655 and roundf multiarch implementations.
9656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9657 New file.
9658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9659 file.
9660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9661 multiarch round for PowerPC32.
9662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9663 New file.
9664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9665 New file.
9666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9667 multiarch roundf for PowerPC32.
9668
bedcf49b
AZ
9669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9670 and floorf multiarch implementations.
9671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9672 New file.
9673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9674 file.
9675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9676 multiarch floor for PowerPC32.
9677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9678 New file.
9679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9680 New file.
9681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9682 multiarch floorf for PowerPC32.
9683
35ae5b40
AZ
9684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9685 and ceilf multiarch implementations.
9686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9687 New file.
9688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9689 file.
9690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9691 multiarch ceil for PowerPC32.
9692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9693 New file.
9694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9695 file.
9696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9697 multiarch ceilf for PowerPC32.
9698
ae1a4cd9
AZ
9699 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9700 is defined.
9701 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9702 FINITEF is defined.
9703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9704 and finitef multiarch implementations.
9705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9706 New file.
9707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9708 file.
9709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9710 multiarch finite for PowerPC32.
9711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9712 New file.
9713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9714 file: multiarch finitef for PowerPC32.
9715
64fffd65
AZ
9716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9717 and isinff multiarch implementations.
9718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9719 file.
9720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9721 file.
9722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9723 multiarch isinf for PowerPC32.
9724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9725 New file.
9726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9727 multiarch isinff for PowerPC32.
9728
8e4e7ba2
AZ
9729 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9730 alias when __isnan is defined.
9731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9732 and isnanf multiarch implementations.
9733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9734 file.
9735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9736 file.
9737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9738 file.
9739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9740 file.
9741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9742 multiarch isnan for PowerPC32.
9743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9744 New file.
9745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9746 New file.
9747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9748 multiarch isnanf for PowerPC32.
9749
ddba588e
AZ
9750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9751 and sqrtf multiarch implementations.
9752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9753 file.
9754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9755 file.
9756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9757 multiarch sqrt for PowerPC32.
9758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9759 file.
9760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9761 file.
9762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9763 multiarch sqrtf for PowerPC32.
9764
0f96a2f0
AZ
9765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9766 and llroundf multiarch implementations.
9767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9768 New file.
9769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9770 New file.
9771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9772 New file.
9773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9774 file: multiarch llround for PowerPC32.
9775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9776 file: multiarch llroundf for PowerPC32.
9777
c9b5d79e
AZ
9778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9779 multiarch PowerPC32 fpu implementations.
9780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9781 New file.
9782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9783 New file.
9784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9785 multiarch llrint for PowerPC32.
9786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9787 New file.
9788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9789 New file.
9790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9791 file.
9792
9cbb3aab
AZ
9793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9794
ea5a72f8
AZ
9795 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9796 file.
9797 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9798 file.
9799 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9800 file.
9801 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9802 multiarch wordcopy for PPC32.
9803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9804 wordcopy objects.
9805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9806 (__libc_ifunc_impl_list): Likewise.
9807 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9808 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9809 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9810 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9811 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9812 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9813
93be09e7
AZ
9814 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9816 file.
9817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9818 file.
9819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9820 file.
9821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9822 multiarch wcscpy for PPC32.
9823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9824 multiarch objects.
9825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9826 (__libc_ifunc_impl_list): Likewise.
9827 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9828 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9829 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9830 sysdeps/powerpc/power6/wcscpy.c.
9831
bb04e529
AZ
9832 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9833 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9834 file.
9835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9836 file.
9837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9838 file.
9839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9840 multiarch wcsrchr for PPC32.
9841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9842 multiarch objects.
9843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9844 (__libc_ifunc_impl_list): Likewise.
9845 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9846 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9847 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9848 sysdeps/powerpc/power6/wcsrchr.c.
9849
05b5cd1c
AZ
9850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9851 file.
9852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9853 file.
9854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9856 multiarch wcschr for PPc32.
9857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9858 multiarch objects.
9859 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9860 (__libc_ifunc_impl_list): Likewise.
9861 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9862 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9863 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9864 sysdeps/powerpc/power6/wcschr.c.
9865
ba964147
AZ
9866 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9867 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9868 file.
9869 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9870 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9871 file: multiarch strchr for PPC32.
9872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9873 multiarch objects.
9874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9875 (__libc_ifunc_impl_list): Likewise.
9876
31c81aaa
AZ
9877 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9878 name.
9879 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9880 file.
9881 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9882 file.
9883 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9884 multiarch strchrnul for PPC32.
9885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9886 multiarch objects.
9887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9888 (__libc_ifunc_impl_list): Likewise.
9889
0d0607d9
AZ
9890 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9891 file.
9892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9893 multiarch strncasecmp for PPC32.
9894 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9895 file.
9896 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9897 multiarch strncasecmp_l for PPC32.
9898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9899 strncasecmp multiarch objects.
9900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9901 (__libc_ifunc_impl_list): Likewise.
9902
4dfd5c86
AZ
9903 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9904 file.
9905 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9906 multiarch strncasecmp for PPC32.
9907 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9908 New file.
9909 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9910 multiarch strcasecmp_l for PPC32.
9911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9912 multiarch objects.
9913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9914 (__libc_ifunc_impl_list): Likewise.
9915
a19e01a3
AZ
9916 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9917 file.
9918 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9919 file.
9920 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9921 multiarch strncmp for PPC32.
9922 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9923 multiarch objects.
9924 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9925 (__libc_ifunc_impl_list): Likewise.
9926
ae9cf7a2
AZ
9927 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9928 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9929 file.
9930 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9931 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9933 multiarch objects.
9934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9935 (__libc_ifunc_impl_list): Likewise.
9936
3148bb7d
AZ
9937 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9938 file.
9939 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9940 file.
9941 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9943 multiarch objects.
9944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9945 (__libc_ifunc_impl_list): Likewise.
9946
7af8b946
AZ
9947 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9948 file.
9949 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9950 file.
9951 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9952 multiarch rawmemchr for PPC32.
9953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9954 multiarch objects.
9955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9956 (__libc_ifunc_impl_list): Likewise.
9957
03a6aa6a
AZ
9958 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9959 file.
9960 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9961 file.
9962 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9963 file: memrchr multiarch for PPC32.
9964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9965 multiarch objects.
9966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9967 (__libc_ifunc_impl_list): Likewise.
9968
1c62e6d9
AZ
9969 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9970 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9971 file.
9972 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9973 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9974 multiarch memchr for PPC32.
9975 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9976 multiarch objects.
9977 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9978 (__libc_ifunc_impl_list): Likewise.
9979
87da8bdb
AZ
9980 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9981 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9982 file.
9983 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9984 file.
9985 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9986 file: multiarch mempcpy for PPC32.
9987 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9988 multiarch objects.
9989 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9990 (__libc_ifunc_impl_list): Likewise.
9991
20ed4714
AZ
9992 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9993 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9994 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9995 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9996 multiarch bzero for PPC32.
9997 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9998 file.
9999 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10000 file.
10001 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10002 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10003 file: multiarch memset for PPC32.
10004 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10006 memset multiarch objects.
10007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10008 (__libc_ifunc_impl_list): Likewise.
10009
ab3e3a46
AZ
10010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10011 file.
10012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10013 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10014 memcmp for PPC32.
10015 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10017 multiarch objects.
10018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10019 (__libc_ifunc_impl_list): Likewise.
10020
930de6f0
AZ
10021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10022 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10024 file.
10025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10026 file.
10027 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10028 file.
10029 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10030 multiarch memcpy for PPC32.
10031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10032 multiarch objects.
10033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10034 (__libc_ifunc_impl_list): Likewise.
10035
4c628e00
AZ
10036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10037 support multiarch for POWER/PPC32.
10038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10039 Likewise.
10040 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10042 Implies file to make multiarch folder appers before the fpu and
10043 default folder for power4 configuration.
10044
f4479220
SP
100452013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10046
10047 * scripts/bench.pl: Append volatile keyword to type.
10048
8517800f
KK
100492013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10050
10051 * sysdeps/sh/sotruss-lib.c: New file.
10052 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10053
180138f1
AZ
100542013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10055
10056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10057
bbf37bdc
JM
100582013-12-05 Joseph Myers <joseph@codesourcery.com>
10059
e47cc4e0
JM
10060 [BZ #6810]
10061 * math/w_tgamma.c: Include <errno.h>.
10062 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10063 * math/w_tgammaf.c: Include <errno.h>.
10064 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10065 * math/w_tgammal.c: Include <errno.h>.
10066 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10067 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10068 underflow. Add more tgamma tests.
10069 * math/auto-libm-test-out: Regenerated.
10070 * sysdeps/i386/fpu/libm-test-ulps: Update.
10071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10072
bbf37bdc
JM
10073 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10074 sin, sinh, tan, tanh, tgamma, y0 and y1.
10075 * math/auto-libm-test-out: Regenerated.
10076 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10077 (TEST_COND_x86): Likewise.
10078 (M_E2l): Remove macro.
10079 (M_E3l): Likewise.
10080 (M_2_SQRT_PIl): Likewise.
10081 (M_SQRT_PIl): Likewise.
10082 (M_1_DIV_El): Likewise.
10083 (log_test_data): Use AUTO_TESTS_f_f.
10084 (log10_test_data): Likewise.
10085 (log1p_test_data): Likewise.
10086 (log2_test_data): Likewise.
10087 (sin_test_data): Likewise.
10088 (sin_tonearest_test_data): Likewise.
10089 (sin_towardzero_test_data): Likewise.
10090 (sin_downward_test_data): Likewise.
10091 (sin_upward_test_data): Likewise.
10092 (sinh_test_data): Likewise.
10093 (sinh_tonearest_test_data): Likewise.
10094 (sinh_towardzero_test_data): Likewise.
10095 (sinh_downward_test_data): Likewise.
10096 (sinh_upward_test_data): Likewise.
10097 (tan_test_data): Likewise.
10098 (tan_tonearest_test_data): Likewise.
10099 (tan_towardzero_test_data): Likewise.
10100 (tan_downward_test_data): Likewise.
10101 (tan_upward_test_data): Likewise.
10102 (tanh_test_data): Likewise.
10103 (tgamma_test_data): Likewise.
10104 (y0_test_data): Likewise.
10105 (y1_test_data): Likewise.
10106 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10107 (special_real_inputs): Add pi/4.
10108 * sysdeps/i386/fpu/libm-test-ulps: Update.
10109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10110
eb5ad6b9
AZ
101112013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10112
10113 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10114 "longjmp_target" static probes.
10115 (__longjmp): Rename to __longjmp_symbol.
10116 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10117 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10118 on which longjmp to generate.
10119 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10120 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10121 probe.
10122 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10123 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10124 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10125 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10126 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10127 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10129 __longjmp_symbol based on which __longjmp to generate.
10130 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10131 probe.
10132 (setjmp): Rename to setjmp_symbol.
10133 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10134 (_setjmp): Rename to _setjmp_symbol.
10135 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10136 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10137 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10138 which setjmp to generate.
10139 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10140 "longjmp_target" static probes.
10141
d136c6dc
SP
101422013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10143
9298ecba
SP
10144 * benchtests/README: Add note about output arguments.
10145 * benchtests/bench-sincos.c: Remove file.
10146 * benchtests/sincos-inputs: New file.
10147 * scripts/bench.pl: Identify output arguments and define
10148 static variables for them.
10149
232983e9
SP
10150 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10151
d136c6dc
SP
10152 [BZ #15941]
10153 * Makefile (INSTALL): Add install-plain.texi as the primary
10154 dependency.
10155 * manual/install-plain.texi: New file.
10156 * manual/install.texi: Include node directive only for
10157 non-plaintext output.
10158
699ff837
JM
101592013-12-04 Joseph Myers <joseph@codesourcery.com>
10160
ab07cea8
JM
10161 * stdlib/longlong.h: Update from GCC.
10162
699ff837
JM
10163 [BZ #6807]
10164 [BZ #15901]
10165 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10166 * math/w_j0f.c (y0f): Likewise.
10167 * math/w_j0l.c (__y0l): Likewise.
10168 * math/w_j1.c (y1): Likewise.
10169 * math/w_j1f.c (y1f): Likewise.
10170 * math/w_j1l.c (__y1l): Likewise
10171 * math/w_jn.c (yn): Likewise.
10172 * math/w_jnf.c (ynf): Likewise.
10173 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10174 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10175 value for Bessel function domain errors outside _SVID_ mode.
10176 Adjust sign of return value for yn (negative integer, 0).
10177 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10178 by zero in return for negative x and set sign appropriately for
10179 negative n.
10180 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10181 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10182 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10183 expectations in error cases.
10184 (y1_test_data): Likewise.
10185 (yn_test_data): Likewise.
10186 * sysdeps/i386/fpu/libm-test-ulps: Update.
10187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10188
5b118558
UW
101892013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10190
10191 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10192 "64" to "64-v1". Add "64-v2".
10193 (abi-64-options): Rename to ...
10194 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10195 (abi-64-condition): Rename to ...
10196 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10197 (abi-64-ld-soname): Rename to ...
10198 (abi-64-v1-ld-soname): ... this.
10199 (abi-64-v2-options): Define.
10200 (abi-64-v2-condition): Likewise.
10201 (abi-64-v2-ld-soname): Likewise.
10202 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10203 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10207
61cd8fe4
UW
102082013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10209 Alan Modra <amodra@gmail.com>
10210
10211 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10212 New versions for use with the ELFv2 ABI.
10213 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10214 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10215 declaration.
10216 (struct La_ppc64v2_retval): Likewise.
10217 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10218 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10219 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10220 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10221 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10222 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10223 Do not save or restore CR.
10224 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10225 (_dl_profile_resolve): Do no save or restore CR. Support extended
10226 return values for ELFv2 ABI. Fix location of FPR return registers.
10227 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10228 updated values for _CALL_ELF == 2.
10229 (La_regs, La_retval, int_retval): Likewise.
10230
8b8a692c
UW
102312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10232
10233 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10234 (FRAME_MIN_SIZE_PARM): Likewise.
10235 (FRAME_BACKCHAIN): Likewise.
10236 (FRAME_CR_SAVE): Likewise.
10237 (FRAME_LR_SAVE): Likewise.
10238 (FRAME_TOC_SAVE): Likewise.
10239 (FRAME_PARM_SAVE): Likewise.
10240 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10241 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10242 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10243 (call_mcount_parm_offset): New macro.
10244 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10245 (PROF): Use symbolic stack frame offsets.
10246 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10247 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10248 Redefine in terms of FRAME_MIN_SIZE.
10249 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10250 (_dl_profile_resolve): Likewise. Update comment.
10251 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10252 symbols stack frame offsets.
10253 (__sigsetjmp): Likewise.
10254 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10255 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10256 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10257 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10258
10259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10260 (FRAME_BACKCHAIN): Remove.
10261 (FRAME_CR_SAVE): Likewise.
10262 (FRAME_LR_SAVE): Likewise.
10263 (FRAME_COMPILER_DW): Likewise.
10264 (FRAME_LINKER_DW): Likewise.
10265 (FRAME_TOC_SAVE): Likewise.
10266 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10267 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10268 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10269 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10271 (CHECK_SP): Use symbolic stack frame offsets.
10272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10273 zone" instead of caller's parameter save area for temp storage.
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10275 Likewise. Also, use symbolic stack frame offsets.
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10277 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10278 our own stack frame instead of the caller's.
10279 (__socket): Use symbolic stack frame offsets.
10280
122b66de
UW
102812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10282 Alan Modra <amodra@gmail.com>
10283
10284 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10285 Define.
57f41c40
AS
10286 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10287 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10288 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10289 New function.
10290 (elf_machine_fixup_plt): Call it.
10291 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10292 reloc arguments.
10293 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10294 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10295 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10296 r2 before calling target.
10297
696caf1d
UW
102982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10299 Alan Modra <amodra@gmail.com>
10300
10301 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10302 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10303 versions of macros to support ELFv2 ABI.
10304 (LOCALENTRY): New macro.
10305 (ENTRY, EALIGN): Use it.
10306 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10307 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10308 fall through into ENTRY entry point.
10309 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10310 Only define if _CALL_ELF != 2.
10311
10312 (elf_machine_matches_host): Verify ABI version matches.
10313 (RTLD_START): Use LOCALENTRY.
10314 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10315 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10316 (PLT_ENTRY_WORDS): New macro.
10317 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10318 (elf_machine_runtime_setup): Support ELFv2 ABI.
10319 (elf_machine_fixup_plt): Likewise.
10320 (elf_machine_plt_conflict): Likewise.
10321 (resolve_ifunc): Likewise.
10322 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10323 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10324 Likewise.
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10326 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10328 (makecontext): Support ELFv2 ABI.
10329 * elf/elf.h (EF_PPC64_ABI): Define.
10330
d31beafa
UW
103312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10332
57f41c40
AS
10333 * sysdeps/powerpc/powerpc64/sysdep.h
10334 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10335 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10336 (ENTRY) [ASSEMBLER]: ... but instead here ...
10337 (EALIGN) [ASSEMBLER]: ... and here.
10338 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10339 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10340 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10341 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10342 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10343 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10344 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10345 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10347 Use PPC64_LOAD_FUNCPTR.
10348
b525166b
UW
10349 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10350
7ec07d9a
AM
103512013-12-04 Alan Modra <amodra@gmail.com>
10352
10353 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10354 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10355 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10356 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10357
10358 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10359 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10360 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10361 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10362 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10363 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10364
5162e7dd
UW
103652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10366
10367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10368 (__makecontext): Fix incorrect CFI when backtracing out of
10369 context created via makecontext.
10370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10371 (__setcontext): Fix incorrect CFI during switch to new context.
10372 (__novec_setcontext): Likewise.
10373
19e3372b
OB
103742013-12-04 Ondřej Bílka <neleai@seznam.cz>
10375
10376 [BZ #4772]
10377 * time/strptime_l.c (__strptime_internal): Allow modifiers
10378 in strptime.
10379 * time/tst-strptime.c (day_tests): Add testcase.
10380
ecaf142d
SP
103812013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10382
10383 * scripts/bench.pl: Skip over blank lines.
10384
fbf964ae
PE
103852013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10386
10387 [BZ #926]
10388 * manual/time.texi (Calendar Time): Clarify what timezone functions
10389 use.
10390
fa60a674
AZ
103912013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10392
10393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10394
d674f0ef
OB
103952013-12-04 Ondřej Bílka <neleai@seznam.cz>
10396
10397 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10398 implementation.
10399 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10400 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10401 * debug/memset_chk.c (__memset_chk): Likewise.
10402 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10403 * debug/strncpy_chk.c: Likewise.
10404
17dea188
JM
104052013-12-03 Joseph Myers <joseph@codesourcery.com>
10406
749008ff
JM
10407 [BZ #15268]
10408 [BZ #15425]
10409 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10410 (__ieee754_exp): For possibly underflowing results, check size of
10411 result and force underflow exception if required.
10412 * math/auto-libm-test-in: Add more tests of exp.
10413 * math/auto-libm-test-out: Regenerated.
10414 * sysdeps/i386/fpu/libm-test-ulps: Update.
10415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10416
17dea188
JM
10417 [BZ #16283]
10418 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10419 * math/w_exp2f.c (__exp2f): Likewise.
10420 * math/w_exp2l.c (__exp2l): Likewise.
10421 * math/auto-libm-test-in: Do not allow missing errno on exp2
10422 underflow.
10423 * math/auto-libm-test-out: Regenerated.
10424
b20de2c3
OB
104252013-12-03 Ondřej Bílka <neleai@seznam.cz>
10426
10427 [BZ #16274]
10428 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10429 handle filename validation.
10430 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10431 (do_open): Delete.
10432
d8e2dbe3
JM
104332013-12-03 Joseph Myers <joseph@codesourcery.com>
10434
34e16df5
JM
10435 [BZ #6786]
10436 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10437 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10438 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10439 <float.h>.
10440 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10441 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10442 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10443 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10444 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10445 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10446 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10447 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10448 Add more erfc tests.
10449 * math/auto-libm-test-out: Regenerated.
10450 * sysdeps/i386/fpu/libm-test-ulps: Update.
10451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10452
d8e2dbe3
JM
10453 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10454 exp2, expm1, j0 and j1.
10455 * math/auto-libm-test-out: Regenerated.
10456 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10457 (erfc_test_data): Likewise.
10458 (exp_test_data): Likewise.
10459 (exp_tonearest_test_data): Likewise.
10460 (exp_towardzero_test_data): Likewise.
10461 (exp_downward_test_data): Likewise.
10462 (exp_upward_test_data): Likewise.
10463 (exp10_test_data): Likewise.
10464 (exp2_test_data): Likewise.
10465 (expm1_test_data): Likewise.
10466 (j0_test_data): Likewise.
10467 (j1_test_data): Likewise.
10468 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10469 (input_flag_type): Add flag_xfail_rounding.
10470 (input_flags): Add xfail-rounding.
10471 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10472 (output_for_one_input_case): Handle flag_xfail_rounding.
10473 * sysdeps/i386/fpu/libm-test-ulps: Update.
10474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10475
18d14251
AJ
104762013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10477
3d2e6075 10478 [BZ #16289]
18d14251
AJ
10479 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10480 division by 0.
10481
520d437b
SP
104822013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10483
10484 [BZ #16195]
10485 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10486 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10487 (STAP_PROBE0): New macro.
10488 (STAP_PROBE1): Likewise.
10489 (STAP_PROBE2): Likewise.
10490 (STAP_PROBE3): Likewise.
10491 (STAP_PROBE4): Likewise.
10492
416e0145
OB
104932013-12-02 Ondřej Bílka <neleai@seznam.cz>
10494
10495 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10496
9d17796a
SE
104972013-12-02 Steve Ellcey <sellcey@mips.com>
10498
10499 * benchtests/Makefile (bench): Add sqrt.
10500 (LDLIBS-bench-sqrt): New.
10501 * benchtests/sqrt-input: New.
10502
f524d6a8
PS
105032013-12-02 Pavel Simerda <psimerda@redhat.com>
10504
639a0ef8
PS
10505 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10506 (GAIH_EAI): Likewise.
10507 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10508 (gaih_inet): Likewise.
10509 (getaddrinfo): Don't use GAIH_EAI.
10510
f524d6a8
PS
10511 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10512 (struct gaih): Remove definition.
10513
df3aedaf
SP
105142013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10515
10516 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10517 Use HERRNOP directly.
10518
1ab19dec
AZ
105192013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10520
b42ad38d 10521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 10522
176b0c79
JM
105232013-11-30 Joseph Myers <joseph@codesourcery.com>
10524
10525 * math/gen-auto-libm-tests.c (test_functions): Add more
10526 single-argument functions.
10527 (special_fill_pi_2): New function.
10528 (special_fill_minus_pi_2): Likewise.
10529 (special_fill_pi_6): Likewise.
10530 (special_fill_minus_pi_6): Likewise.
10531 (special_fill_pi_3): Likewise.
10532 (special_fill_2pi_3): Likewise.
10533 (special_fill_e): Likewise.
10534 (special_fill_1_e): Likewise.
10535 (special_fill_e_minus_1): Likewise.
10536 (special_real_inputs): Add more special inputs.
10537 (output_for_one_input_case): Do not require ERANGE on underflow to
10538 zero if round-to-nearest result does not underflow to zero, unless
10539 exact results required.
10540 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10541 atan, atanh, cbrt, cos and cosh.
10542 * math/auto-libm-test-out: Regenerated.
10543 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10544 (acos_tonearest_test_data): Likewise.
10545 (acos_towardzero_test_data): Likewise.
10546 (acos_downward_test_data): Likewise.
10547 (acos_upward_test_data): Likewise.
10548 (acosh_test_data): Likewise.
10549 (asin_test_data): Likewise.
10550 (asin_tonearest_test_data): Likewise.
10551 (asin_towardzero_test_data): Likewise.
10552 (asin_upward_test_data): Likewise.
10553 (asinh_test_data): Likewise.
10554 (atan_test_data): Likewise.
10555 (atanh_test_data): Likewise.
10556 (cbrt_test_data): Likewise.
10557 (cos_test_data): Likewise.
10558 (cos_tonearest_test_data): Likewise.
10559 (cos_towardzero_test_data): Likewise.
10560 (cos_downward_test_data): Likewise.
10561 (cos_upward_test_data): Likewise.
10562 (cosh_test_data): Likewise.
10563 (cosh_tonearest_test_data): Likewise.
10564 (cosh_towardzero_test_data): Likewise.
10565 (cosh_downward_test_data): Likewise.
10566 (cosh_upward_test_data): Likewise.
10567 * sysdeps/i386/fpu/libm-test-ulps: Update.
10568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10569
ffb536d0
JM
105702013-11-29 Joseph Myers <joseph@codesourcery.com>
10571
2a77a467
JM
10572 [BZ #6787]
10573 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10574 * math/w_exp10f.c (__exp10f): Likewise.
10575 * math/w_exp10l.c (__exp10l): Likewise.
10576 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10577 errno settings in existing tests.
10578
ea3bc4e8
JM
10579 [BZ #14032]
10580 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10581 precision control set to double precision.
10582 * sysdeps/i386/fpu/w_sqrt.c: New file.
10583 * math/auto-libm-test-in: Add more tests.
10584 * math/auto-libm-test-out: Update.
10585
0712c9d8
JM
10586 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10587 (sqrt_test_tonearest): New function.
10588 (sqrt_towardzero_test_data): New variable.
10589 (sqrt_test_towardzero): New function.
10590 (sqrt_downward_test_data): New variable.
10591 (sqrt_test_downward): New function.
10592 (sqrt_upward_test_data): New variable.
10593 (sqrt_test_upward): New function.
10594 (main): Call the new functions.
10595
ffb536d0
JM
10596 * math/gen-auto-libm-tests.c: New file.
10597 * math/auto-libm-test-in: Likewise.
10598 * math/auto-libm-test-out: New generated file.
10599 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10600 variables.
10601 (%beautify): Add generated representations of zero.
10602 (top level): Set $auto_input and call parse_auto_input.
10603 (beautify): Remove trailing "f" from hex float constants.
10604 (parse_args): Handle XFAIL_TEST.
10605 (convert_condition): New function.
10606 (or_value): Likewise.
10607 (or_cond_value): Likewise.
10608 (generate_testfile): Handle AUTO_TESTS_* lines.
10609 (parse_auto_input): New function.
10610 * math/libm-test.inc (XFAIL_TEST): New macro.
10611 (ERRNO_UNCHANGED): Update value.
10612 (ERRNO_EDOM): Likewise.
10613 (ERRNO_ERANGE): Likewise.
10614 (IGNORE_RESULT): Likewise.
10615 (TEST_COND_flt_32): New macro.
10616 (TEST_COND_dbl_64): Likewise.
10617 (TEST_COND_ldbl_96_intel): Likewise.
10618 (TEST_COND_ldbl_96_m68k): Likewise.
10619 (TEST_COND_ldbl_128): Likewise.
10620 (TEST_COND_ldbl_128ibm): Likewise.
10621 (TEST_COND_long32): Likewise.
10622 (TEST_COND_long64): Likewise.
10623 (TEST_COND_before_rounding): Likewise.
10624 (TEST_COND_after_rounding): Likewise.
10625 (enable_test): Handle XFAIL_TEST flag.
10626 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10627 with finite results.
10628 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10629 auto-libm-test-out.
10630
acd98a8e
AK
106312013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10632 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10633
10634 [BZ #16214]
10635 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10636 __tls_get_addr_internal instead of __tls_get_offset in order to
10637 avoid GOT pointer dependency. Make rtld export
10638 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10639 __tls_get_addr since we are a __tls_get_offset platform.
10640 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10641 GOT pointer being set up before.
10642 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10643
3c1c46a6
JM
106442013-11-28 Joseph Myers <joseph@codesourcery.com>
10645
7475aef5
JM
10646 * manual/math.texi (Errors in Math Functions): Document accuracy
10647 goals.
10648
8bca7cd8
JM
10649 [BZ #15004]
10650 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10651 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10652 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10653 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10654 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10655 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10656 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10657 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10658 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10659 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10660 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10661 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10662 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10663 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10664 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10665 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10666
91a1f3fe
JM
10667 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10668 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10669 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10670 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10671 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10672 Likewise.
10673 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10674 Likewise.
10675 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10676 Likewise.
10677 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10678 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10679 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10680 atomic-feupdateenv and flt-rounds.
10681 * sysdeps/powerpc/nofpu/Versions (libc): Add
10682 __atomic_feholdexcept, __atomic_feclearexcept,
10683 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10684 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10685 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10686 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10687 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10688 here.
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10690 Update.
10691
c5df7609
JM
10692 * manual/arith.texi (FP Exceptions): Document that exceptions may
10693 not be raised when matherr is used.
10694 (Math Error Reporting): Document overflow in directed rounding
10695 modes. Document that errno may not be set when finite values are
10696 returned on overflow. Document intent to set errno on underflow
10697 only for underflow to zero.
10698
3c1c46a6
JM
10699 [BZ #16271]
10700 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10701 round-to-nearest then adjust result for other rounding modes.
10702 * include/fenv.h (fegetround): Use libm_hidden_proto.
10703 * math/fegetround.c (fegetround): Use libm_hidden_def.
10704 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10705 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10706 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10707 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10708 Likewise.
10709 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10710 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10711 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10712 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10713
5a4c6d53
SP
107142013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10715
10716 [BZ #16077]
10717 * nss/Versions (libnss_files): Add
10718 _nss_files_gethostbyname3_r.
10719 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10720 New function.
10721 (HOST_DB_LOOKUP): Remove macro.
10722 (_nss_files_gethostbyname_r): Implement function without the
10723 HOST_DB_LOOKUP macro.
10724 (_nss_files_gethostbyname2_r): Likewise.
10725
897b98ba
OB
107262013-11-28 Ondřej Bílka <neleai@seznam.cz>
10727
10728 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10729
6f476861
UB
107302013-11-26 Uros Bizjak <ubizjak@gmail.com>
10731
10732 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10733 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10734 warning.
10735
bd12ab55
AZ
107362013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10737
10738 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10739 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10740 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10741 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10742 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10743 __fe_nomask_env_priv and attribute_hidden.
10744 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10745 (libc_feupdateenv_test_ppc): Likewise.
10746 (libc_feresetround_ppc): Likewise.
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10748 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10749 compat_symbol macro.
10750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10751 (__fe_nomask_env): Likewise.
10752 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10753
52bb6543
OB
107542013-11-26 Ondřej Bílka <neleai@seznam.cz>
10755
10756 * string/Makefile: Remove ifunc tests.
10757 * string/test-string.h: Define TEST_IFUNC.
10758 * string/test-bcopy-ifunc.c: Remove.
10759 * string/test-bzero-ifunc.c: Likewise.
10760 * string/test-memccpy-ifunc.c: Likewise.
10761 * string/test-memchr-ifunc.c: Likewise.
10762 * string/test-memcmp-ifunc.c: Likewise.
10763 * string/test-memcpy-ifunc.c: Likewise.
10764 * string/test-memmem-ifunc.c: Likewise.
10765 * string/test-memmove-ifunc.c: Likewise.
10766 * string/test-mempcpy-ifunc.c: Likewise.
10767 * string/test-memrchr-ifunc.c: Likewise.
10768 * string/test-memset-ifunc.c: Likewise.
10769 * string/test-rawmemchr-ifunc.c: Likewise.
10770 * string/test-stpcpy-ifunc.c: Likewise.
10771 * string/test-stpncpy-ifunc.c: Likewise.
10772 * string/test-strcasecmp-ifunc.c: Likewise.
10773 * string/test-strcasestr-ifunc.c: Likewise.
10774 * string/test-strcat-ifunc.c: Likewise.
10775 * string/test-strchr-ifunc.c: Likewise.
10776 * string/test-strchrnul-ifunc.c: Likewise.
10777 * string/test-strcmp-ifunc.c: Likewise.
10778 * string/test-strcpy-ifunc.c: Likewise.
10779 * string/test-strcspn-ifunc.c: Likewise.
10780 * string/test-strlen-ifunc.c: Likewise.
10781 * string/test-strncasecmp-ifunc.c: Likewise.
10782 * string/test-strncat-ifunc.c: Likewise.
10783 * string/test-strncmp-ifunc.c: Likewise.
10784 * string/test-strncpy-ifunc.c: Likewise.
10785 * string/test-strnlen-ifunc.c: Likewise.
10786 * string/test-strpbrk-ifunc.c: Likewise.
10787 * string/test-strrchr-ifunc.c: Likewise.
10788 * string/test-strspn-ifunc.c: Likewise.
10789 * string/test-strstr-ifunc.c: Likewise.
10790
ab260039 107912013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10792
10793 * benchtests/Makefile: Remove ifunc tests.
10794 * benchtests/bench-string.h: Define TEST_IFUNC.
10795 * benchtests/bench-bcopy-ifunc.c: Remove.
10796 * benchtests/bench-bzero-ifunc.c: Likewise.
10797 * benchtests/bench-memccpy-ifunc.c: Likewise.
10798 * benchtests/bench-memchr-ifunc.c: Likewise.
10799 * benchtests/bench-memcmp-ifunc.c: Likewise.
10800 * benchtests/bench-memcpy-ifunc.c: Likewise.
10801 * benchtests/bench-memmem-ifunc.c: Likewise.
10802 * benchtests/bench-memmove-ifunc.c: Likewise.
10803 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10804 * benchtests/bench-memrchr-ifunc.c: Likewise.
10805 * benchtests/bench-memset-ifunc.c: Likewise.
10806 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10807 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10808 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10809 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10810 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10811 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10812 * benchtests/bench-strcat-ifunc.c: Likewise.
10813 * benchtests/bench-strchr-ifunc.c: Likewise.
10814 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10815 * benchtests/bench-strcmp-ifunc.c: Likewise.
10816 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10817 * benchtests/bench-strcpy-ifunc.c: Likewise.
10818 * benchtests/bench-strcspn-ifunc.c: Likewise.
10819 * benchtests/bench-strlen-ifunc.c: Likewise.
10820 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10821 * benchtests/bench-strncat-ifunc.c: Likewise.
10822 * benchtests/bench-strncmp-ifunc.c: Likewise.
10823 * benchtests/bench-strncpy-ifunc.c: Likewise.
10824 * benchtests/bench-strnlen-ifunc.c: Likewise.
10825 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10826 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10827 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10828 * benchtests/bench-strspn-ifunc.c: Likewise.
10829 * benchtests/bench-strstr-ifunc.c: Likewise.
10830
108312013-11-26 Ondřej Bílka <neleai@seznam.cz>
10832
ab260039
OB
10833 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10834
d1d9eaf4 108352013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10836
d1d9eaf4
OB
10837 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10838 * rt/aio.h: Likewise.
10839 * sysdeps/gnu/bits/utmp.h: Likewise.
10840 * sysdeps/gnu/bits/utmpx.h: Likewise.
10841 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10842 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10843 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10844 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10845 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10846 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10847 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10848 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10849 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10850 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10851 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10852 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10853 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10855 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10856 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10857 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10858 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10859 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10860 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10861 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10862 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10863 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10864 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10865 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10867 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10868 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10869 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10870 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10871 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10872 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10873 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10874 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10875 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10876 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10877 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10878 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10879 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10880 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10881 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10882 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10883
a7624ed9
CD
108842013-11-25 Carlos O'Donell <carlos@redhat.com>
10885
10886 [BZ #16245]
10887 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10888 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10889
63cfe52b
JM
108902013-11-25 Joseph Myers <joseph@codesourcery.com>
10891
10892 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10893 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10894 Likewise.
10895
41e8926a
AZ
108962013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10897
10898 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10899 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10900 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10901 (__fesetround): Remove define.
10902 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10903 rounding and exceptions handling.
10904 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10905 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10906 (__fe_nomask_env): Likewise.
10907 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10908 __fegetround instead of fegetround.
10909 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10910 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10911
6851bd4d
RM
109122013-11-21 Roland McGrath <roland@hack.frob.com>
10913
070906ff
RM
10914 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10915 it's there.
10916
6851bd4d
RM
10917 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10918
84ae135d
MI
109192013-11-21 Meador Inge <meadori@codesourcery.com>
10920
10921 [BZ #11157]
10922 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10923 (encrypt_r): Likewise.
10924 * malloc/obstack.h (obstack_free): Likewise.
10925 * posix/unistd.h (encrypt): Likewise.
10926
daf75146
GM
109272013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10928
10929 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10930 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10931 DL_CALL_DT_FINI() that call the functions directly.
10932 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10933 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10934 * elf/dl-fini.c: Likewise.
10935
10ad46bc
OB
109362013-11-20 Ondřej Bílka <neleai@seznam.cz>
10937
10938 * malloc/hooks.c (memalign_check): Add alignment rounding.
10939 * malloc/malloc.c (_mid_memalign): New function.
10940 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10941 Implement by calling _mid_memalign.
10942 * manual/probes.texi (Memory Allocation Probes): Remove
10943 memory_valloc_retry and memory_pvalloc_retry.
10944
f3fd2628
SP
109452013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10946
4712799f
SP
10947 * locale/programs/locarchive.c (open_archive): Add const
10948 qualifier to ARCHIVEFNAME and copy default fname to
10949 DEFAULT_FNAME.
10950
0417b20f
SP
10951 [BZ #15601]
10952 * libio/tst-widetext.input: Rename Oriya to Odia.
10953 * locale/iso-639.def: Likewise.
10954
f3fd2628
SP
10955 * manual/probes.texi (Mathematical Function Probes): Add
10956 documentation for sin, cos, asin and acos probes.
10957 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10958 (__sin32): Add slowasin probe.
10959 (__cos32): Add slowacos probe.
10960 (__mpsin): Add slowsin probe.
10961 (__mpcos): Add slowcos probe.
10962
73c1ce4f
JM
109632013-11-19 Joseph Myers <joseph@codesourcery.com>
10964
10965 [BZ #15483]
10966 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10967 thread-local __sim_exceptions_thread and global
10968 __sim_exceptions_global.
10969 (__sim_disabled_exceptions): Change to thread-local
10970 __sim_disabled_exceptions_thread and global
10971 __sim_disabled_exceptions_global.
10972 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10973 and global __sim_round_mode_global.
10974 (__simulate_exceptions): Use thread-local floating-point state and
10975 set global state from it as needed.
10976 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10977 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10978 __sim_round_mode_thread.
10979 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10980 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10981 and global __sim_exceptions_global.
10982 (__sim_disabled_exceptions): Change to thread-local
10983 __sim_disabled_exceptions_thread and global
10984 __sim_disabled_exceptions_global.
10985 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10986 and global __sim_round_mode_global.
10987 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10988 (SIM_SET_GLOBAL): Likewise.
10989 * sysdeps/powerpc/soft-fp/sfp-machine.h
10990 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10991 __sim_round_mode_thread.
10992 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10993 __sim_disabled_exceptions_thread.
10994 (__sim_exceptions): Change to __sim_exceptions_thread.
10995 (__sim_disabled_exceptions): Change to
10996 __sim_disabled_exceptions_thread.
10997 (__sim_round_mode): Change to __sim_round_mode_thread.
10998 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10999 thread-local floating-point state and set global state from it as
11000 needed.
11001 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11002 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11003 (__sim_disabled_exceptions): Remove extern declaration.
11004 (feenableexcept): Use thread-local floating-point state and set
11005 global state from it as needed.
11006 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11007 extern declaration.
11008 (__sim_disabled_exceptions): Likewise.
11009 (__sim_round_mode): Likewise.
11010 (__fegetenv): Use thread-local floating-point state.
11011 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11012 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11013 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11014 floating-point state and set global state from it as needed.
11015 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11016 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11017 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11018 Likewise.
11019 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11020 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11021 Likewise.
11022 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11023 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11024 Use __sim_round_mode_thread.
11025 * math/test-fenv-tls.c: New file.
11026 * math/Makefile (tests): Add test-fenv-tls.
11027 ($(objpfx)test-fenv-tls): Depend on
11028 $(common-objpfx)nptl/libpthread.so.
11029
b5449b12
AS
110302013-11-19 Andreas Schwab <schwab@suse.de>
11031
11032 * locale/programs/locale.c (show_info): Decode wordarray elements.
11033 * locale/categories.def (LC_MONETARY): Add element for
11034 _NL_MONETARY_CRNCYSTR.
11035 * locale/C-monetary.c (conversion_rate): New variable.
11036 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11037 element.
11038
e186536b
CM
110392013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11040
11041 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11042 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11043
5c349950
PP
110442013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11045
11046 * elf/Makefile (tst-auxv): New test.
11047 * elf/tst-auxv.c: New
11048 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11049
699df45b
JM
110502013-11-18 Joseph Myers <joseph@codesourcery.com>
11051
11052 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11053 (hidden_proto): Caller changed.
11054 (hidden_tls_proto): New macro.
11055 (libc_hidden_tls_proto): Likewise.
11056 (rtld_hidden_tls_proto): Likewise.
11057 (libm_hidden_tls_proto): Likewise.
11058 (libresolv_hidden_tls_proto): Likewise.
11059 (librt_hidden_tls_proto): Likewise.
11060 (libdl_hidden_tls_proto): Likewise.
11061 (libnss_files_hidden_tls_proto): Likewise.
11062 (libnsl_hidden_tls_proto): Likewise.
11063 (libnss_nisplus_hidden_tls_proto): Likewise.
11064 (libutil_hidden_tls_proto): Likewise.
11065
b7589107
OB
110662013-11-18 Ondřej Bílka <neleai@seznam.cz>
11067
11068 [BZ #10253]
11069 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11070 (decompose_rpath): Defer expansion to fillin_rpath.
11071 (_dl_init_paths): Pass linkmap to fillin_rpath.
11072
250c23bd
RS
110732013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11074
11075 * benchtests/Makefile: Add strsep.
11076 * benchtests/bench-strsep.c: New file: strsep benchtest.
11077 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11078
a7931fcf
AS
110792013-11-18 Andreas Schwab <schwab@suse.de>
11080
11081 * locale/programs/locale.c (show_info) [case byte]: Check for
11082 '\377' instead of '\177'.
11083 * locale/C-monetary.c (not_available): Always use "\377".
11084 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11085 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11086 detect unavailable sign_posn locale elements.
11087 * locale/localeconv.c (__localeconv): For grouping and
11088 mon_grouping handle "\177" and "\377" like no grouping.
11089 (INT_ELEM): New macro. Use it to set all numeric members.
11090 * locale/programs/ld-monetary.c (monetary_read)
11091 <tok_mon_grouping>: Normalize single -1 to the empty string.
11092 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11093 Likewise.
11094
728dab0e
OB
110952013-11-07 Ondřej Bílka <neleai@seznam.cz>
11096
11097 [BZ #16055]
11098 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11099 when we match (nil).
11100 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11101
66294491
JM
111022013-11-16 Joseph Myers <joseph@codesourcery.com>
11103
ce665817
JM
11104 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11105 (NO_TEST_INLINE): Update value.
11106 (ERRNO_UNCHANGED): Likewise.
11107 (ERRNO_EDOM): Likewise.
11108 (ERRNO_ERANGE): Likewise.
11109 (IGNORE_RESULT): Likewise.
11110 (check_float_internal): Check signs of NaN results if
11111 TEST_NAN_SIGN used.
11112 (check_complex): Pass TEST_NAN_SIGN flag through to second
11113 check_float_internal call.
11114 (copysign_test_data): Add tests with quiet NaNs as second
11115 argument. Use TEST_NAN_SIGN.
11116 (fabs_test_data): Add test of negative quiet NaN argument. Use
11117 TEST_NAN_SIGN.
11118 (signbit_test_data): Add tests of quiet NaN argument.
11119 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11120
ee1466a9
JM
11121 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11122 $ignore_result.
11123 (parse_args): Handle function results specified as IGNORE.
11124 * math/libm-test.inc (IGNORE_RESULT): New macro.
11125 (check_float_internal): Do not check numerical result if flag
11126 IGNORE_RESULT set.
11127 (check_complex): Pass through IGNORE_RESULT to second
11128 check_float_internal call.
11129 (check_int): Do not check numerical result if flag IGNORE_RESULT
11130 set.
11131 (check_long): Likewise.
11132 (check_bool): Likewise.
11133 (check_longlong): Likewise.
11134 (lrint_test_data): Add tests of infinite and NaN arguments.
11135 (lrint_tonearest_test_data): Likewise.
11136 (lrint_towardzero_test_data): Likewise.
11137 (lrint_downward_test_data): Likewise.
11138 (lrint_upward_test_data): Likewise.
11139 (llrint_test_data): Likewise.
11140 (llrint_tonearest_test_data): Likewise.
11141 (llrint_towardzero_test_data): Likewise.
11142 (llrint_downward_test_data): Likewise.
11143 (llrint_upward_test_data): Likewise.
11144 (lround_test_data): Likewise.
11145 (llround_test_data): Likewise.
11146
14407b7e
JM
11147 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11148 (ERRNO_UNCHANGED): Update value.
11149 (ERRNO_EDOM): Likewise.
11150 (ERRNO_ERANGE): Likewise.
11151 (NO_TEST_INLINE_FLOAT): New macro.
11152 (NO_TEST_INLINE_DOUBLE): Likewise.
11153 (enable_test): New function.
11154 (RUN_TEST_f_f): Check enable_test before running test.
11155 (RUN_TEST_2_f): Likewise.
11156 (RUN_TEST_fff_f): Likewise.
11157 (RUN_TEST_c_f): Likewise.
11158 (RUN_TEST_f_f1): Likewise.
11159 (RUN_TEST_fF_f1): Likewise.
11160 (RUN_TEST_fI_f1): Likewise.
11161 (RUN_TEST_ffI_f1): Likewise.
11162 (RUN_TEST_c_c): Likewise.
11163 (RUN_TEST_cc_c): Likewise.
11164 (RUN_TEST_f_i): Likewise.
11165 (RUN_TEST_f_i_tg): Likewise.
11166 (RUN_TEST_ff_i_tg): Likewise.
11167 (RUN_TEST_f_b): Likewise.
11168 (RUN_TEST_f_b_tg): Likewise.
11169 (RUN_TEST_f_l): Likewise.
11170 (RUN_TEST_f_L): Likewise.
11171 (RUN_TEST_fFF_11): Likewise.
11172 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11173 conditionals.
11174 (cosh_test_data): Likewise.
11175 (exp_test_data): Likewise.
11176 (expm1_test_data): Likewise.
11177 (hypot_test_data): Likewise.
11178 (pow_test_data): Likewise.
11179 (sinh_test_data): Likewise.
11180 (tanh_test_data): Likewise.
11181 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11182 flags argument.
11183
ca07f197
JM
11184 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11185 tests with quiet NaN input and output.
11186 (acosh_test_data): Likewise.
11187 (asin_test_data): Likewise.
11188 (asinh_test_data): Likewise.
11189 (atan_test_data): Likewise.
11190 (atanh_test_data): Likewise.
11191 (atan2_test_data): Likewise.
11192 (cbrt_test_data): Likewise.
11193 (cos_test_data): Likewise.
11194 (cosh_test_data): Likewise.
11195 (erf_test_data): Likewise.
11196 (erfc_test_data): Likewise.
11197 (exp_test_data): Likewise.
11198 (exp10_test_data): Likewise.
11199 (exp2_test_data): Likewise.
11200 (expm1_test_data): Likewise.
11201 (hypot_test_data): Likewise.
11202 (j0_test_data): Likewise.
11203 (j1_test_data): Likewise.
11204 (jn_test_data): Likewise.
11205 (lgamma_test_data): Likewise.
11206 (log_test_data): Likewise.
11207 (log10_test_data): Likewise.
11208 (log1p_test_data): Likewise.
11209 (log2_test_data): Likewise.
11210 (pow_test_data): Likewise.
11211 (scalb_test_data): Likewise.
11212 (sin_test_data): Likewise.
11213 (sincos_test_data): Likewise.
11214 (sinh_test_data): Likewise.
11215 (tan_test_data): Likewise.
11216 (tanh_test_data): Likewise.
11217 (tgamma_test_data): Likewise.
11218 (y0_test_data): Likewise.
11219 (y1_test_data): Likewise.
11220 (yn_test_data): Likewise.
11221
66294491
JM
11222 [BZ #16167]
11223 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11224 argument being NaN and avoid computations with second argument in
11225 that case.
11226 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11227 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11228 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11229
1820b143
CL
112302013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11231
11232 * locale/iso-639.def: Add Chitwani Tharu (the).
11233
714bd261
AS
112342013-11-14 Andreas Schwab <schwab@suse.de>
11235
11236 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11237 word instead of empty string.
11238
7ab44563
AZ
112392013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11240
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11242 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11244 (__fe_nomask_env): Likewise.
11245
e8470ea2
SE
112462013-11-13 Steve Ellcey <sellcey@mips.com>
11247
11248 * benchtests/bench-timing.h: Include time.h.
11249
17c1d9f0
L
112502013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11251
11252 [BZ #15997]
11253 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11254 to 3.4.0 for x32.
11255 * sysdeps/unix/sysv/linux/configure: Regenerated.
11256
9310c284
JM
112572013-11-13 Joseph Myers <joseph@codesourcery.com>
11258
11259 [BZ #16151]
11260 * stdlib/strtod_l.c (round_and_return): Do not consider
11261 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11262 exponent one less than half the least subnormal exponent.
11263 * stdlib/test-strtod-round-data: Add more tests.
11264 * stdlib/tst-strtod-round.c (tests): Regenerated.
11265
7a2ad8cf
AZ
112662013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11267
11268 [BZ #14143]
11269 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11270 (__fe_mask_env): Likewise.
11271 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11272 libm_hidden_proto and add function prototype.
11273 (__fe_mask_env): Add function prototype.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11275 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11277 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11279 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11280
50727aa7
MS
112812013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11282
b2f386c1 11283 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11284 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11285
a615be46
MS
112862013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11287
11288 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11289 of htab_find_slot().
11290
7ddace62
DM
112912013-11-11 David S. Miller <davem@davemloft.net>
11292
11293 [BZ #16150]
11294 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11295 symbol in the non-vis3 case in static builds.
11296 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11297 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11298 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11299 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11300
9182aa67
JK
113012013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11302
11303 [BZ #387]
11304 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11305 it is empty.
11306
450a2e2d
AZ
113072013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11308
b2f386c1
SP
11309 * benchtests/Makefile: Add bench-strtod.
11310 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11311
8ec3f656
AS
113122013-11-11 Andreas Schwab <schwab@suse.de>
11313
11314 [BZ #16153]
11315 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11316 terminating NUL in key length.
11317
76a9b998
AZ
113182013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11319
11320 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11321 Add artificial ODP entry for vDSO symbol for PPC64.
11322 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11323 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11324
e4368156
OB
113252013-11-07 Ondřej Bílka <neleai@seznam.cz>
11326
11327 [BZ #15374]
11328 * nss/getent.c (services_keys): Recognize services starting with digit.
11329
8d6bb57c
DM
113302013-11-06 David S. Miller <davem@davemloft.net>
11331
11332 [BZ #15985]
11333 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11334 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11335
e256c421
WN
113362013-11-06 Will Newton <will.newton@linaro.org>
11337
11338 * manual/memory.texi (Malloc Examples): Remove register
11339 keyword from examples.
11340
f6e12daa 113412013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11342
f6e12daa 11343 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11344
9d880655
AS
113452013-11-04 Joseph Myers <joseph@codesourcery.com>
11346
fd2f9486 11347 [BZ #6981]
9d880655
AS
11348 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11349 depending on [__GCC_IEC_559 > 0].
11350 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11351 depending on [__GCC_IEC_559_COMPLEX > 0].
11352
ae129d3c
CL
113532013-11-03 Chris Leonard <cjl@sugarlabs.org>
11354
11355 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11356 to iso-639.def.
11357
4a15c2a4 113582013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11359
11360 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11361
8b35e35d
OB
113622013-11-01 Ondřej Bílka <neleai@seznam.cz>
11363
11364 [BZ #16112]
11365 * malloc/malloc (malloc_info): Do not handle first bin as
11366 special case.
11367
1d70fd6c
CL
113682013-11-01 Chris Leonard <cjl@sugarlabs.org>
11369
11370 * locale/iso-639.def: Add Central Nahuatl (nhn).
11371
8c5c2600
BH
113722013-11-01 Bruno Haible <bruno@clisp.org>
11373
11374 [BZ #7003]
11375 * manual/math.texi (BSD Random): Specify range upper bound as
11376 in POSIX.
11377
da5579c2
CL
113782013-10-31 Chris Leonard <cjl@sugarlabs.org>
11379
11380 * locale/iso-639.def: Add Meadow Mari (mhr).
11381
5d30d853
OB
113822013-10-31 Ondřej Bílka <neleai@seznam.cz>
11383
11384 [BZ #14752], [BZ #15763]
11385 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11386 Validate name.
11387 * rt/tst_shm.c: Add test for escaping directory.
11388
a4966c61
AS
113892013-10-31 Andreas Schwab <schwab@suse.de>
11390
8a43e768 11391 [BZ #15917]
a4966c61
AS
11392 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11393 followed by 'x' as part of digit sequence.
11394 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11395
28d708c4
MAP
113962013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11397
11398 [BZ #16037]
11399 * configure.ac: allow GNU Make 4.0 and greater.
11400 * configure: Regenerated.
11401
a56ee40b
WN
114022013-10-30 Will Newton <will.newton@linaro.org>
11403
11404 [BZ #16038]
11405 * malloc/hooks.c (memalign_check): Limit alignment to the
11406 maximum representable power of two.
11407 * malloc/malloc.c (__libc_memalign): Likewise.
11408 * malloc/tst-memalign.c (do_test): Add test for very
11409 large alignment values.
11410 * malloc/tst-posix_memalign.c (do_test): Likewise.
11411
c6e4925d
OB
114122013-10-30 Ondřej Bílka <neleai@seznam.cz>
11413
11414 [BZ #11087]
11415 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11416 (munmap_chunk): Likewise.
11417 (mremap_chunk): Likewise.
11418
114192013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11420
8a43e768 11421 [BZ #15799]
bbea82f7
OB
11422 * stdlib/div.c (div): Remove obsolete code.
11423 * stdlib/ldiv.c (ldiv): Likewise.
11424 * stdlib/lldiv.c (lldiv): Likewise.
11425
977f4b31
SP
114262013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11427
11428 [BZ #16071]
11429 * nss/nss_files/files-XXX.c (get_contents_ret): New
11430 enumerator.
11431 (get_contents): New function.
11432 (internal_getent): Use it. Expand size of LINEBUFLEN.
11433
cb8a6dbd
MF
114342013-10-30 Mike Frysinger <vapier@gentoo.org>
11435
11436 * configure.in: Moved to ...
11437 * configure.ac: ... here. Change reference to configure.in
11438 to configure.ac.
11439 * sysdeps/arm/preconfigure.ac: ... here.
11440 configure.in to configure.ac.
11441 * sysdeps/gnu/configure.in: Moved to ...
11442 * sysdeps/gnu/configure.ac: ... here.
11443 * sysdeps/i386/configure.in: Moved to ...
11444 * sysdeps/i386/configure.ac: ... here.
11445 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11446 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11447 * sysdeps/mach/configure.in: Moved to ...
11448 * sysdeps/mach/configure.ac: ... here.
11449 * sysdeps/mach/hurd/configure.in: Moved to ...
11450 * sysdeps/mach/hurd/configure.ac: ... here.
11451 * sysdeps/powerpc/configure.in: Moved to ...
11452 * sysdeps/powerpc/configure.ac: ... here.
11453 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11454 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11455 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11456 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11457 * sysdeps/s390/s390-32/configure.in: Moved to ...
11458 * sysdeps/s390/s390-32/configure.ac: ... here.
11459 * sysdeps/s390/s390-64/configure.in: Moved to ...
11460 * sysdeps/s390/s390-64/configure.ac: ... here.
11461 * sysdeps/sh/configure.in: Moved to ...
11462 * sysdeps/sh/configure.ac: ... here.
11463 * sysdeps/sparc/configure.in: Moved to ...
11464 * sysdeps/sparc/configure.ac: ... here.
11465 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11466 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11467 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11468 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11469 * sysdeps/x86_64/configure.in: Moved to ...
11470 * sysdeps/x86_64/configure.ac: ... here.
11471 * sysdeps/x86_64/preconfigure.in: Moved to ...
11472 * sysdeps/x86_64/preconfigure.ac: ... here.
11473 * aclocal.m4: Change reference to configure.in to configure.ac.
11474 * config.h.in: Likewise.
11475 * manual/install.texi: Likewise.
11476 * manual/maint.texi: Likewise.
11477 * Makefile: Likewise.
11478 * malloc/Makefile: Likewise.
11479 * nscd/Makefile: Likewise.
11480 * Makeconfig: Change reference to configure.in and
11481 preconfigure.in to configure.ac and preconfigure.ac
11482 respectively.
11483 * INSTALL: Regenerated.
11484 * configure: Likewise.
11485 * sysdeps/gnu/configure: Likewise.
11486 * sysdeps/i386/configure: Likewise.
11487 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11488 * sysdeps/mach/configure: Likewise.
11489 * sysdeps/mach/hurd/configure: Likewise.
11490 * sysdeps/powerpc/configure: Likewise.
11491 * sysdeps/powerpc/powerpc32/configure: Likewise.
11492 * sysdeps/powerpc/powerpc64/configure: Likewise.
11493 * sysdeps/s390/s390-32/configure: Likewise.
11494 * sysdeps/s390/s390-64/configure: Likewise.
11495 * sysdeps/sh/configure: Likewise.
11496 * sysdeps/sparc/configure: Likewise.
11497 * sysdeps/unix/sysv/linux/configure: Likewise.
11498 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11499 * sysdeps/x86_64/configure: Likewise.
11500 * sysdeps/x86_64/preconfigure: Likewise.
11501
36a4953a
AS
115022013-10-29 Andreas Schwab <schwab@suse.de>
11503
11504 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11505
c79a1204
SP
115062013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11507
dfa1b402
SP
11508 * benchtests/pow-inputs: Add new inputs.
11509
54f73d9c
SP
11510 * benchtests/exp-inputs: Add new inputs.
11511
c79a1204
SP
11512 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11513 conditional check for return value.
11514 (__cos32): Likewise.
11515
67beb545 115162013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
11517
11518 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11519 to provide a boost for large inputs with word alignment.
11520 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11521 implementation based on optimized PPC64 strcpy.
11522 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11523 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11524 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11525 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11526
151659f6
OB
115272013-10-25 Ondřej Bílka <neleai@seznam.cz>
11528
482a077e 11529 [BZ #2801]
151659f6
OB
11530 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11531
10b0f26b
OB
115322013-10-25 Ondřej Bílka <neleai@seznam.cz>
11533
11534 [BZ #14876]
11535 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11536 * time/tst-strptime.c (day_tests): Add testcase.
11537
ca42d35e
OB
115382013-10-25 Ondřej Bílka <neleai@seznam.cz>
11539
482a077e 11540 [BZ #14029]
ca42d35e
OB
11541 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11542
52e6d801
FB
115432013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11544
11545 [BZ #16074]
11546 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11547 MAP_FAILED on error.
11548
7cbcdb36
SP
115492013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11550
11551 [BZ #16072]
11552 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11553 heap for large requests.
11554
894f3f10
AM
115552013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11556
11557 [BZ #9954]
11558 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11559 result if the result has no associated interface.
11560 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11561 interface for all 127.X.Y.Z addresses.
11562
b85545a6
CL
115632013-10-24 Chris Leonard <cjl@sugarlabs.org>
11564
11565 * locale/iso-639.def: Add Ligurian (lij)
11566
d1f23d46
OB
115672013-10-21 Ondřej Bílka <neleai@seznam.cz>
11568
11569 [BZ #15825]
11570 * sunrpc/rpc_main.c: Document rpcgen -5.
11571
4db5b08f
MS
115722013-10-19 Michael Stahl <mstahl@redhat.com>
11573
11574 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11575
a471e96a
OB
115762013-10-19 Ondřej Bílka <neleai@seznam.cz>
11577
d1f23d46 11578 [BZ #10278]
a471e96a
OB
11579 * posix/glob.c: Match only directories when trailing slash is present.
11580 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11581 (main): Add testcase.
11582
45c30c61
OB
115832013-10-19 Ondřej Bílka <neleai@seznam.cz>
11584
11585 [BZ #15670]
11586 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11587
484c12fb
CD
115882013-10-18 Carlos O'Donell <carlos@redhat.com>
11589
3d7dc513
CD
11590 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11591 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11592 AUTH_DES and cindex for FIPS 140-2.
11593 (DES Encryption): Add cindex FIPS 46-3.
11594
484c12fb
CD
11595 * locale/locarchive.h (struct locarhandle): Add fname.
11596 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11597 if an optional argument was specified to --list-archive,
11598 otherwise NULL.
11599 * locale/programs/locarchive.c (show_archive_content): Take new
11600 argument fname and pass it via ah.fname to open_archive.
11601 * locale/programs/localedef.h: Update decl.
11602 (open_archive): If AH->fname is non-null, open that file
11603 rather than the default file name, and don't ignore ENOENT.
11604 (create_archive): Set AH.fname to NULL.
11605 (delete_locales_from_archive): Likewise.
11606 (add_locales_to_archive): Likewise.
11607 * locale/programs/locfile.c (write_all_categories): Likewise.
11608
3c8325fb
JM
116092013-10-18 Joseph Myers <joseph@codesourcery.com>
11610 Aldy Hernandez <aldyh@redhat.com>
11611
11612 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11613 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11614 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11615 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11616 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11617 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11618 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11619 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11620 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11621 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11622 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11623 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11624 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11625 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11626 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11627 Likewise.
11628 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11629 Likewise.
11630 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11631 Likewise.
11632 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11633 Likewise.
11634 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11635 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11636 Likewise.
11637 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11638 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11639 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11640 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11641 Likewise.
11642 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11643 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11644 * sysdeps/powerpc/preconfigure: Likewise.
11645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11646 Likewise.
11647 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11648 Replace contents of file by #include of <fenv_libc.h>.
11649 * sysdeps/powerpc/soft-fp/sfp-machine.h
11650 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11651 and <sys/prctl.h>.
11652 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11653 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11654 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11655 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11656 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11662 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11663 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11665 Allow copysignl PLT reference to be missing.
11666
5abe0682
RS
116672013-10-18 Richard Sandiford <richard@codesourcery.com>
11668 Joseph Myers <joseph@codesourcery.com
11669
11670 [BZ #15948]
11671 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11672 single character.
11673 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11674
c7738d08
SP
116752013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11676
11677 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11678 * elf/tst-tls1.c: Likewise.
11679 * elf/tst-tls10.h: Likewise.
11680 * elf/tst-tls14.c: Likewise.
11681 * elf/tst-tls2.c: Likewise.
11682 * elf/tst-tls3.c: Likewise.
11683 * elf/tst-tls4.c: Likewise.
11684 * elf/tst-tls5.c: Likewise.
11685 * elf/tst-tls6.c: Likewise.
11686 * elf/tst-tls7.c: Likewise.
11687 * elf/tst-tls8.c: Likewise.
11688 * elf/tst-tls9.c: Likewise.
11689 * elf/tst-tlsmod1.c: Likewise.
11690 * elf/tst-tlsmod13.c: Likewise.
11691 * elf/tst-tlsmod13a.c: Likewise.
11692 * elf/tst-tlsmod14a.c: Likewise.
11693 * elf/tst-tlsmod16a.c: Likewise.
11694 * elf/tst-tlsmod16b.c: Likewise.
11695 * elf/tst-tlsmod2.c: Likewise.
11696 * elf/tst-tlsmod3.c: Likewise.
11697 * elf/tst-tlsmod4.c: Likewise.
11698 * elf/tst-tlsmod5.c: Likewise.
11699 * elf/tst-tlsmod6.c: Likewise.
11700
0bfcf2c7
OB
117012013-10-18 Ondřej Bílka <neleai@seznam.cz>
11702
11703 [BZ #12486]
11704 * malloc/malloc.c: remove checks for statistics.
11705
264aad1e
OB
117062013-10-17 Ondřej Bílka <neleai@seznam.cz>
11707
11708 [BZ #15277]
11709 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11710 * inet/tst-network.c: Add testcase.
11711
b957ced8
AS
117122013-10-17 Andreas Schwab <schwab@suse.de>
11713
11714 [BZ #15218]
11715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11716 to determine canonical name.
11717
c5d5d574
OB
117182013-10-17 Ondřej Bílka <neleai@seznam.cz>
11719
11720 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11721 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11723 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11725 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11726 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11727 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11728 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11729 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11730 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11731 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11732 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11733 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11734 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11735 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11737 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11738 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11739 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11740 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11741 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11742 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11743 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11744 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11745 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11746 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11747 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11748 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11749 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11750 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11751 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11752 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11753 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11754 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11755 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11756 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11757 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11758 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11759 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11760 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11761 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11762 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11763 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11764 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11765 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11766 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11767 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11768 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11769 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11770 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11771 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11772 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11773 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11774 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11775 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11776 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11777 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11778
e5c2c2d0
JM
117792013-10-17 Joseph Myers <joseph@codesourcery.com>
11780
11781 [BZ #16041]
11782 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11783 make result into a quiet NaN.
11784
51ca9e29
JM
117852013-10-16 Joseph Myers <joseph@codesourcery.com>
11786
11787 * soft-fp/adddf3.c: Fix horizontal whitespace.
11788 * soft-fp/addsf3.c: Likewise.
11789 * soft-fp/addtf3.c: Likewise.
11790 * soft-fp/divdf3.c: Likewise.
11791 * soft-fp/divsf3.c: Likewise.
11792 * soft-fp/divtf3.c: Likewise.
11793 * soft-fp/double.h: Likewise.
11794 * soft-fp/eqdf2.c: Likewise.
11795 * soft-fp/eqsf2.c: Likewise.
11796 * soft-fp/eqtf2.c: Likewise.
11797 * soft-fp/extenddftf2.c: Likewise.
11798 * soft-fp/extended.h: Likewise.
11799 * soft-fp/extendsfdf2.c: Likewise.
11800 * soft-fp/extendsftf2.c: Likewise.
11801 * soft-fp/extendxftf2.c: Likewise.
11802 * soft-fp/fixdfdi.c: Likewise.
11803 * soft-fp/fixdfsi.c: Likewise.
11804 * soft-fp/fixdfti.c: Likewise.
11805 * soft-fp/fixsfdi.c: Likewise.
11806 * soft-fp/fixsfsi.c: Likewise.
11807 * soft-fp/fixsfti.c: Likewise.
11808 * soft-fp/fixtfdi.c: Likewise.
11809 * soft-fp/fixtfsi.c: Likewise.
11810 * soft-fp/fixtfti.c: Likewise.
11811 * soft-fp/fixunsdfdi.c: Likewise.
11812 * soft-fp/fixunsdfsi.c: Likewise.
11813 * soft-fp/fixunsdfti.c: Likewise.
11814 * soft-fp/fixunssfdi.c: Likewise.
11815 * soft-fp/fixunssfsi.c: Likewise.
11816 * soft-fp/fixunssfti.c: Likewise.
11817 * soft-fp/fixunstfdi.c: Likewise.
11818 * soft-fp/fixunstfsi.c: Likewise.
11819 * soft-fp/fixunstfti.c: Likewise.
11820 * soft-fp/floatdidf.c: Likewise.
11821 * soft-fp/floatdisf.c: Likewise.
11822 * soft-fp/floatditf.c: Likewise.
11823 * soft-fp/floatsidf.c: Likewise.
11824 * soft-fp/floatsisf.c: Likewise.
11825 * soft-fp/floatsitf.c: Likewise.
11826 * soft-fp/floattidf.c: Likewise.
11827 * soft-fp/floattisf.c: Likewise.
11828 * soft-fp/floattitf.c: Likewise.
11829 * soft-fp/floatundidf.c: Likewise.
11830 * soft-fp/floatundisf.c: Likewise.
11831 * soft-fp/floatunditf.c: Likewise.
11832 * soft-fp/floatunsidf.c: Likewise.
11833 * soft-fp/floatunsisf.c: Likewise.
11834 * soft-fp/floatunsitf.c: Likewise.
11835 * soft-fp/floatuntidf.c: Likewise.
11836 * soft-fp/floatuntisf.c: Likewise.
11837 * soft-fp/floatuntitf.c: Likewise.
11838 * soft-fp/fmadf4.c: Likewise.
11839 * soft-fp/fmasf4.c: Likewise.
11840 * soft-fp/fmatf4.c: Likewise.
11841 * soft-fp/gedf2.c: Likewise.
11842 * soft-fp/gesf2.c: Likewise.
11843 * soft-fp/getf2.c: Likewise.
11844 * soft-fp/ledf2.c: Likewise.
11845 * soft-fp/lesf2.c: Likewise.
11846 * soft-fp/letf2.c: Likewise.
11847 * soft-fp/muldf3.c: Likewise.
11848 * soft-fp/mulsf3.c: Likewise.
11849 * soft-fp/multf3.c: Likewise.
11850 * soft-fp/negdf2.c: Likewise.
11851 * soft-fp/negsf2.c: Likewise.
11852 * soft-fp/negtf2.c: Likewise.
11853 * soft-fp/op-1.h: Likewise.
11854 * soft-fp/op-2.h: Likewise.
11855 * soft-fp/op-4.h: Likewise.
11856 * soft-fp/op-8.h: Likewise.
11857 * soft-fp/op-common.h: Likewise.
11858 * soft-fp/quad.h: Likewise.
11859 * soft-fp/single.h: Likewise.
11860 * soft-fp/soft-fp.h: Likewise.
11861 * soft-fp/sqrtdf2.c: Likewise.
11862 * soft-fp/sqrtsf2.c: Likewise.
11863 * soft-fp/sqrttf2.c: Likewise.
11864 * soft-fp/subdf3.c: Likewise.
11865 * soft-fp/subsf3.c: Likewise.
11866 * soft-fp/subtf3.c: Likewise.
11867 * soft-fp/truncdfsf2.c: Likewise.
11868 * soft-fp/trunctfdf2.c: Likewise.
11869 * soft-fp/trunctfsf2.c: Likewise.
11870 * soft-fp/trunctfxf2.c: Likewise.
11871 * soft-fp/unorddf2.c: Likewise.
11872 * soft-fp/unordsf2.c: Likewise.
11873 * soft-fp/unordtf2.c: Likewise.
11874
9ebb0332
JM
118752013-10-15 Joseph Myers <joseph@codesourcery.com>
11876
11877 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11878 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11879
4b1a6d8b
OB
118802013-10-15 Ondřej Bílka <neleai@seznam.cz>
11881
11882 * elf/dl-libc.c: Clear initfini list after freeing.
11883
1e145589
JM
118842013-10-14 Joseph Myers <joseph@codesourcery.com>
11885
11886 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11887 * soft-fp/addsf3.c: Likewise.
11888 * soft-fp/addtf3.c: Likewise.
11889 * soft-fp/divdf3.c: Likewise.
11890 * soft-fp/divsf3.c: Likewise.
11891 * soft-fp/divtf3.c: Likewise.
11892 * soft-fp/double.h: Likewise.
11893 * soft-fp/eqdf2.c: Likewise.
11894 * soft-fp/eqsf2.c: Likewise.
11895 * soft-fp/eqtf2.c: Likewise.
11896 * soft-fp/extenddftf2.c: Likewise.
11897 * soft-fp/extended.h: Likewise.
11898 * soft-fp/extendsfdf2.c: Likewise.
11899 * soft-fp/extendsftf2.c: Likewise.
11900 * soft-fp/extendxftf2.c: Likewise.
11901 * soft-fp/fixdfdi.c: Likewise.
11902 * soft-fp/fixdfsi.c: Likewise.
11903 * soft-fp/fixdfti.c: Likewise.
11904 * soft-fp/fixsfdi.c: Likewise.
11905 * soft-fp/fixsfsi.c: Likewise.
11906 * soft-fp/fixsfti.c: Likewise.
11907 * soft-fp/fixtfdi.c: Likewise.
11908 * soft-fp/fixtfsi.c: Likewise.
11909 * soft-fp/fixtfti.c: Likewise.
11910 * soft-fp/fixunsdfdi.c: Likewise.
11911 * soft-fp/fixunsdfsi.c: Likewise.
11912 * soft-fp/fixunsdfti.c: Likewise.
11913 * soft-fp/fixunssfdi.c: Likewise.
11914 * soft-fp/fixunssfsi.c: Likewise.
11915 * soft-fp/fixunssfti.c: Likewise.
11916 * soft-fp/fixunstfdi.c: Likewise.
11917 * soft-fp/fixunstfsi.c: Likewise.
11918 * soft-fp/fixunstfti.c: Likewise.
11919 * soft-fp/floatdidf.c: Likewise.
11920 * soft-fp/floatdisf.c: Likewise.
11921 * soft-fp/floatditf.c: Likewise.
11922 * soft-fp/floatsidf.c: Likewise.
11923 * soft-fp/floatsisf.c: Likewise.
11924 * soft-fp/floatsitf.c: Likewise.
11925 * soft-fp/floattidf.c: Likewise.
11926 * soft-fp/floattisf.c: Likewise.
11927 * soft-fp/floattitf.c: Likewise.
11928 * soft-fp/floatundidf.c: Likewise.
11929 * soft-fp/floatundisf.c: Likewise.
11930 * soft-fp/floatunsidf.c: Likewise.
11931 * soft-fp/floatunsisf.c: Likewise.
11932 * soft-fp/floatuntidf.c: Likewise.
11933 * soft-fp/floatuntisf.c: Likewise.
11934 * soft-fp/floatuntitf.c: Likewise.
11935 * soft-fp/fmadf4.c: Likewise.
11936 * soft-fp/fmasf4.c: Likewise.
11937 * soft-fp/fmatf4.c: Likewise.
11938 * soft-fp/gedf2.c: Likewise.
11939 * soft-fp/gesf2.c: Likewise.
11940 * soft-fp/getf2.c: Likewise.
11941 * soft-fp/ledf2.c: Likewise.
11942 * soft-fp/lesf2.c: Likewise.
11943 * soft-fp/letf2.c: Likewise.
11944 * soft-fp/muldf3.c: Likewise.
11945 * soft-fp/mulsf3.c: Likewise.
11946 * soft-fp/multf3.c: Likewise.
11947 * soft-fp/negdf2.c: Likewise.
11948 * soft-fp/negsf2.c: Likewise.
11949 * soft-fp/negtf2.c: Likewise.
11950 * soft-fp/op-1.h: Likewise.
11951 * soft-fp/op-2.h: Likewise.
11952 * soft-fp/op-4.h: Likewise.
11953 * soft-fp/op-8.h: Likewise.
11954 * soft-fp/op-common.h: Likewise.
11955 * soft-fp/quad.h: Likewise.
11956 * soft-fp/single.h: Likewise.
11957 * soft-fp/soft-fp.h: Likewise.
11958 * soft-fp/sqrtdf2.c: Likewise.
11959 * soft-fp/sqrtsf2.c: Likewise.
11960 * soft-fp/sqrttf2.c: Likewise.
11961 * soft-fp/subdf3.c: Likewise.
11962 * soft-fp/subsf3.c: Likewise.
11963 * soft-fp/subtf3.c: Likewise.
11964 * soft-fp/truncdfsf2.c: Likewise.
11965 * soft-fp/trunctfdf2.c: Likewise.
11966 * soft-fp/trunctfsf2.c: Likewise.
11967 * soft-fp/trunctfxf2.c: Likewise.
11968 * soft-fp/unorddf2.c: Likewise.
11969 * soft-fp/unordsf2.c: Likewise.
11970 * soft-fp/unordtf2.c: Likewise.
11971
17c48a60
OB
119722013-10-14 Ondřej Bílka <neleai@seznam.cz>
11973
11974 [BZ #15672]
11975 * misc/error.c (error_tail): Fix possible buffer overflow.
11976
cabba934
OB
119772013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11978
11979 [BZ #13028]
11980 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11981 address.
11982
94bf958a
PM
119832013-10-14 P. J. McDermott <pj@pehjota.net>
11984
11985 [BZ #832]
11986 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11987 testing pipefail option.
11988
71b4dea7
JM
119892013-10-12 Joseph Myers <joseph@codesourcery.com>
11990
11991 * soft-fp/double.h: Indent preprocessor directives inside #if.
11992 * soft-fp/extended.h: Likewise.
11993 * soft-fp/op-2.h: Likewise.
11994 * soft-fp/op-4.h: Likewise.
11995 * soft-fp/op-common.h: Likewise.
11996 * soft-fp/quad.h: Likewise.
11997 * soft-fp/single.h: Likewise.
11998 * soft-fp/soft-fp.h: Likewise.
11999
55602758
YC
120002013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12001
12002 * iconv/iconv_prog.c: Fix typos.
12003 * stdio-common/psiginfo-data.h: Likewise.
12004
9cd83302
RT
120052013-10-12 Reuben Thomas <rrt@sc3d.org>
12006
12007 [BZ #15764]
12008 * locale/setlocale.c: Fix typo.
12009
99fd9f47
JM
120102013-10-12 Joseph Myers <joseph@codesourcery.com>
12011
b7ea74f0
JM
12012 [BZ #16036]
12013 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12014 signaling NaN arguments.
12015 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12016 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12017
8a509447
JM
12018 [BZ #14910]
12019 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12020 unordered operands.
12021 * soft-fp/gesf2.c (__gesf2): Likewise.
12022 * soft-fp/getf2.c (__getf2): Likewise.
12023 * soft-fp/ledf2.c (__ledf2): Likewise.
12024 * soft-fp/lesf2.c (__lesf2): Likewise.
12025 * soft-fp/letf2.c (__letf2): Likewise.
12026
98998e9f
JM
12027 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12028 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12029 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12030 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12031 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12032 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12033 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12034 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12035 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12036 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12037 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12038 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12039 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12040 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12041 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12042 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12043 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12044 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12045 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12046 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12047 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12048 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12049 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12050 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12051 * soft-fp/floattidf.c (__floattidf): Likewise.
12052 * soft-fp/floattisf.c (__floattisf): Likewise.
12053 * soft-fp/floattitf.c (__floattitf): Likewise.
12054 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12055 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12056 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12057 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12058 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12059 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12060 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12061 * soft-fp/gesf2.c (__gesf2): Likewise.
12062 * soft-fp/getf2.c (__getf2): Likewise.
12063 * soft-fp/ledf2.c (__ledf2): Likewise.
12064 * soft-fp/lesf2.c (__lesf2): Likewise.
12065 * soft-fp/letf2.c (__letf2): Likewise.
12066
8edc4a11
JM
12067 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12068 Undefine and redefine.
12069 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12070 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12071 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12072 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12073 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12074 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12075 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12076 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12077 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12078 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12079 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12080 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12081 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12082 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12083 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12084
8399acaf
JM
12085 [BZ #16032]
12086 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12087 without decrementing exponent if mantissa >= that for the
12088 denominator, not >.
12089 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12090 denominator, not >. Decrement exponent in < case instead of
12091 incrementing in >= case.
12092 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12093 without decrementing exponent if mantissa >= that for the
12094 denominator, not >.
12095
99fd9f47
JM
12096 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12097 computing saturated result for unsigned overflow.
12098
10e1cf6b
SP
120992013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12100 Jeff Law <law@redhat.com>
12101
12102 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12103 (atan2Mp): Add systemtap probe marker.
12104 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12105 (__ieee754_log): Add systemtap probe marker.
12106 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12107 (atanMp): Add systemtap probe marker.
12108 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12109 (tanMp): Add systemtap probe marker.
12110 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12111 (__slowexp): Add systemtap probe marker.
12112 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12113 (__slowpow): Add systemtap probe marker.
12114 * manual/probes.texi: Document probes.
12115
3d110c7c
EB
121162013-10-11 Eric Biggers <ebiggers3@gmail.com>
12117
12118 [BZ #15362]
12119 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12120 written.
12121 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12122 written.
12123 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12124 written to buffer but not flushed.
12125 * libio/iofwrite_u.c: Likewise.
12126 * libio/iopadn.c: Return bytes returned even if EOF was
12127 encountered.
12128 * libio/iowpadn.c: Likewise.
12129 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12130 if _IO_padn does not write the whole buffer.
12131 [!COMPILE_WPRINTF] (PAD): Likewise.
12132
75b4202a
DM
121332013-10-10 David S. Miller <davem@davemloft.net>
12134
12135 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12136 directory block.
12137
6c6352e6
JM
121382013-10-10 Joseph Myers <joseph@codesourcery.com>
12139
33b853c3
JM
12140 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12141 instead of FSF address.
12142 * soft-fp/fixdfti.c: Likewise.
12143 * soft-fp/fixsfti.c: Likewise.
12144 * soft-fp/fixtfti.c: Likewise.
12145 * soft-fp/fixunsdfti.c: Likewise.
12146 * soft-fp/fixunssfti.c: Likewise.
12147 * soft-fp/fixunstfti.c: Likewise.
12148 * soft-fp/floattidf.c: Likewise.
12149 * soft-fp/floattisf.c: Likewise.
12150 * soft-fp/floattitf.c: Likewise.
12151 * soft-fp/floatuntidf.c: Likewise.
12152 * soft-fp/floatuntisf.c: Likewise.
12153 * soft-fp/floatuntitf.c: Likewise.
12154 * soft-fp/trunctfxf2.c: Likewise.
12155
6c6352e6
JM
12156 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12157 * soft-fp/fixdfti.c: Likewise.
12158 * soft-fp/fixsfti.c: Likewise.
12159 * soft-fp/fixtfti.c: Likewise.
12160 * soft-fp/fixunsdfti.c: Likewise.
12161 * soft-fp/fixunssfti.c: Likewise.
12162 * soft-fp/fixunstfti.c: Likewise.
12163 * soft-fp/floattidf.c: Likewise.
12164 * soft-fp/floattisf.c: Likewise.
12165 * soft-fp/floattitf.c: Likewise.
12166 * soft-fp/floatuntidf.c: Likewise.
12167 * soft-fp/floatuntisf.c: Likewise.
12168 * soft-fp/floatuntitf.c: Likewise.
12169 * soft-fp/trunctfxf2.c: Likewise.
12170
3bf78b71
DM
121712013-10-10 David S. Miller <davem@davemloft.net>
12172
12173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12174
6f10289e
JM
121752013-10-10 Joseph Myers <joseph@codsourcery.com>
12176
bd878fc0
JM
12177 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12178 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12179 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12180 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12181 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12182 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12183 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12184
6f10289e
JM
12185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12186 for NaNs before doing comparisons on argument.
12187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12188 Likewise.
12189
321e2684
WN
121902013-10-10 Will Newton <will.newton@linaro.org>
12191
12192 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12193 passed to _int_memalign does not overflow.
12194
40fefba1
TR
121952013-10-10 Torvald Riegel <triegel@redhat.com>
12196
12197 * scripts/bench.pl: Add include-sources directive.
12198 * benchtests/README: Update documentation.
12199
2ae21ed2
JM
122002013-10-10 Joseph Myers <joseph@codesourcery.com>
12201
dcc2dd3f
JM
12202 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12203 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12204 instead of FP_INIT_ROUNDMODE.
12205 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12206 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12207
2ae21ed2
JM
12208 [BZ #16034]
12209 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12210 copy class of input value.
12211 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12212 not handle exceptions.
12213 * soft-fp/negsf2.c (__negsf2): Likewise.
12214 * soft-fp/negtf2.c (__negtf2): Likewise.
12215 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12216
cb8f9562
JM
122172013-10-09 Joseph Myers <joseph@codesourcery.com>
12218
12219 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12220 semicolon. From Linux kernel.
12221
5b60c59d
AB
122222013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12223
12224 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12225
b86835ca
YC
122262013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12227
12228 [BZ #156]
12229 * manual/socket.texi: Added statement about buffer
12230 for gethostbyname2_r.
12231
e7044ea7
OB
122322013-10-08 Ondřej Bílka <neleai@seznam.cz>
12233
12234 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12235 Use .p2align directive instead, throughout.
12236 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12237 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12238 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12239 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12240 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12241 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12242 * sysdeps/x86_64/strchr.S: Likewise.
12243 * sysdeps/x86_64/strrchr.S: Likewise.
12244
09544cbc
SP
122452013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12246
88576635
SP
12247 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12248
e7b2d1dd
SP
12249 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12250
09544cbc
SP
12251 * sysdeps/generic/math_private.h (__mpsin1): Remove
12252 declaration.
12253 (__mpcos1): Likewise.
12254 (__mpsin): New argument __range_reduce.
12255 (__mpcos): Likewise.
12256 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12257 (slow): Use __mpsin and __mpcos.
12258 (slow1): Likewise.
12259 (slow2): Likewise.
12260 (sloww): Likewise.
12261 (sloww1): Likewise.
12262 (sloww2): Likewise.
12263 (bsloww): Likewise.
12264 (bsloww1): Likewise.
12265 (bsloww2): Likewise.
12266 (cslow2): Likewise.
12267 (csloww): Likewise.
12268 (csloww1): Likewise.
12269 (csloww2): Likewise.
12270 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12271 range_reduce. Merge in __mpsin1.
12272 (__mpcos): Likewise.
12273 (__mpsin1): Remove.
12274 (__mpcos1): Likewise.
12275
7602d070
JM
122762013-10-07 Joseph Myers <joseph@codesourcery.com>
12277
12278 * locale/loadlocale.c (_nl_intern_locale_data): Use
12279 LOCFILE_ALIGNED_P.
12280 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12281 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12282 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12283 obstack data is appropriately aligned.
12284 (obstack_int32_grow_fast): Likewise.
12285 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12286 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12287 (add_locale_uint32_array): Likewise.
12288
a357259b
SP
122892013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12290
12291 * benchtests/Makefile: Remove ARGLIST and RET variables.
12292 ($(objpfx)bench-%.c): Pass only function name to the script.
12293 * benchtests/README: Update documentation.
12294 * benchtests/acos-inputs: Add new directives.
12295 * benchtests/acosh-inputs: Likewise.
12296 * benchtests/asin-inputs: Likewise.
12297 * benchtests/asinh-inputs: Likewise.
12298 * benchtests/atan-inputs: Likewise.
12299 * benchtests/atanh-inputs: Likewise.
12300 * benchtests/cos-inputs: Likewise.
12301 * benchtests/cosh-inputs: Likewise.
12302 * benchtests/exp-inputs: Likewise.
12303 * benchtests/log-inputs: Likewise.
12304 * benchtests/pow-inputs: Likewise.
12305 * benchtests/rint-inputs: Likewise.
12306 * benchtests/sin-inputs: Likewise.
12307 * benchtests/sinh-inputs: Likewise.
12308 * benchtests/tan-inputs: Likewise.
12309 * benchtests/tanh-inputs: Likewise.
12310 * scripts/bench.pl: Add support for new directives.
12311
9ec1b13d
AM
123122013-10-07 Alan Modra <amodra@gmail.com>
12313
12314 * README: Fix careless merge.
12315
8b7d57cd
AM
123162013-10-05 Alan Modra <amodra@gmail.com>
12317
12318 * NEWS: Mention powerpc64le support and bugs fixed.
12319 * README: Both big-endian and little-endian powerpc64 supported.
12320
7b7bab13
ST
123212013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12322
57f41c40
AS
12323 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12324 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12325 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12326 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12327
d39baad1
RA
123282013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12329
12330 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12331 match prototype.
12332
cd78f7e7
JM
123332013-10-04 Joseph Myers <joseph@codesourcery.com>
12334
29d73d86
JM
12335 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12336 Move -mhard-float appending from
12337 ports/sysdeps/powerpc/powerpc32/Makefile.
12338 [$(with-fp) = yes] (ASFLAGS): Likewise.
12339 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12340 * sysdeps/powerpc/nofpu: Move directory from
12341 ports/sysdeps/powerpc/nofpu.
12342 * sysdeps/powerpc/soft-fp: Move directory from
12343 ports/sysdeps/powerpc/soft-fp.
12344 * sysdeps/powerpc/powerpc32/405: Move directory from
12345 ports/sysdeps/powerpc/powerpc32/405.
12346 * sysdeps/powerpc/powerpc32/440: Move directory from
12347 ports/sysdeps/powerpc/powerpc32/440.
12348 * sysdeps/powerpc/powerpc32/464: Move directory from
12349 ports/sysdeps/powerpc/powerpc32/464.
12350 * sysdeps/powerpc/powerpc32/476: Move directory from
12351 ports/sysdeps/powerpc/powerpc32/476.
12352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12353 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12355 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12357 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12359 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12361 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12362 * README: Update for powerpc-*-linux-gnu software floating point
12363 support in libc.
12364
e246b347
JM
12365 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12366 case to powerpc/powerpc32*.
12367 * sysdeps/unix/sysv/linux/configure: Regenerated.
12368
89c2003e
JM
12369 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12370 (_FPU_MASK_OM): Define as 0x04.
12371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12373 0x00c10080.
12374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12375 0x0000003c.
12376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12377
cd78f7e7
JM
12378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12379 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12380 getcontext_e500.
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12382 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12383 setcontext_e500.
12384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12385 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12386 and setcontext_e500.
12387
c755294d
CL
123882013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12389
12390 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12391
e16d221c
SP
123922013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12393
12394 * manual/threads.texi (Default Thread Attributes): Fix typo.
12395
215c7d43
WN
123962013-10-04 Will Newton <will.newton@linaro.org>
12397
12398 * malloc/Makefile: Add tst-memalign.
12399 * malloc/tst-memalign.c: New file.
12400
27d0461b
WN
12401 * malloc/tst-posix_memalign.c: Add comments.
12402 (do_test): Add comments and call free on all potentially
12403 allocated pointers. Add space after cast.
12404
1bc92709
WN
12405 * malloc/tst-pvalloc.c: Add comments.
12406 (do_test): Add comments and call free on all potentially
12407 allocated pointers. Remove duplicate check for NULL pointer.
12408 Add space after cast.
12409
66a9be9d
WN
12410 * malloc/tst-valloc.c: Add comments.
12411 (do_test): Add comments and call free on all potentially
12412 allocated pointers. Remove duplicate check for NULL pointer.
12413 Add space after cast.
12414
4cb81307
AM
124152013-10-04 Alan Modra <amodra@gmail.com>
12416
12417 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12418 Use stdint types in rather than __attribute__((mode())).
12419 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12420
f8e3e9f3
AM
124212013-10-04 Alan Modra <amodra@gmail.com>
12422
12423 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12424 Correct handling of unaligned relocs for little-endian.
12425 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12426
8f9ebb08
AM
124272013-10-04 Alan Modra <amodra@gmail.com>
12428
12429 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12430 * configure: Regenerate.
12431 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12432 * shlib-versions: Likewise.
12433
0edf96c2
AM
124342013-10-04 Alan Modra <amodra@gmail.com>
12435
12436 * string/tester.c (test_memrchr): Increment reported test cycle.
12437
e0f7a380
AM
124382013-10-04 Alan Modra <amodra@gmail.com>
12439
12440 * string/test-memcpy.c (do_one_test): When reporting errors, print
12441 string address and don't overrun end of string.
12442
466b0393
AM
124432013-10-04 Alan Modra <amodra@gmail.com>
12444
12445 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12446 insrdi. Make better use of reg selection to speed exit slightly.
12447 Schedule entry path a little better. Remove useless "are we done"
12448 checks on entry to main loop. Handle wrapping around zero address.
12449 Correct main loop count. Handle single left-over word from main
12450 loop inline rather than by using loop_small. Remove extra word
12451 case in loop_small caused by wrong loop count. Add little-endian
12452 support.
12453 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12454 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12455 cache hint.
12456 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12457 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12458 support. Avoid rlwimi.
12459 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12460
3be87c77
AM
124612013-10-04 Alan Modra <amodra@gmail.com>
12462
12463 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12464 insrdi. Formatting.
3be87c77
AM
12465 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12466 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12467 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12468 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12469 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12470 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12471
759cfef3
AM
124722013-10-04 Alan Modra <amodra@gmail.com>
12473
12474 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12475 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12476 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12477 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12478 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12479 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12480 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12481 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12482 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12483 use of regs. Use power7 mtocrf. Tidy function tails.
12484
fe6e95d7
AM
124852013-10-04 Alan Modra <amodra@gmail.com>
12486
12487 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12488 Formatting. Consistently use rXXX register defines or rN defines.
12489 Use early exit labels that avoid restoring unused non-volatile regs.
12490 Make cr field use more consistent with rWORDn compares. Rename
12491 regs used as shift registers for unaligned loop, using rN defines
12492 for short lifetime/multiple use regs.
12493 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12494 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12495 addi 1,1,64 to pop stack frame. Simplify return value code.
12496 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12497
664318c3
AM
124982013-10-04 Alan Modra <amodra@gmail.com>
12499
12500 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12501 support. Correct typos, formatting. Optimize tail. Use insrdi
12502 rather than rlwimi.
12503 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12504 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12505 little-endian support. Correct typos.
12506 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12507 rather than rlwimi.
12508 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12509 in loop and entry code to keep "and." results.
12510 (strchr): Add little-endian support. Comment. Move cntlzd
12511 earlier in tail.
12512 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12513
43b84013
AM
125142013-10-04 Alan Modra <amodra@gmail.com>
12515
12516 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12517 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12518 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12519 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12520
8a7413f9
AM
125212013-10-04 Alan Modra <amodra@gmail.com>
12522
12523 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12524 (rTMP): Define as r11.
12525 (strcmp): Add little-endian support. Optimise tail.
12526 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12527 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12528 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12529 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12530 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12531 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12532 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12533
33ee81de
AM
125342013-10-04 Alan Modra <amodra@gmail.com>
12535
12536 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12537 little-endian support. Remove unnecessary "are we done" tests.
12538 Handle "s" wrapping around zero and extremely large "size".
12539 Correct main loop count. Handle single left-over word from main
12540 loop inline rather than by using small_loop. Correct comments.
12541 Delete "zero" tail, use "end_max" instead.
12542 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12543
db9b4570
AM
125442013-10-04 Alan Modra <amodra@gmail.com>
12545
12546 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12547 support. Don't branch over align.
12548 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12549 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12550 support. Rearrange tmp reg use to suit. Comment.
12551 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12552
f7c399cf
AM
125532013-10-04 Alan Modra <amodra@gmail.com>
12554
12555 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12556
0b2c2ace
AM
125572013-10-04 Alan Modra <amodra@gmail.com>
12558
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12560 conditional form of branch and link when obtaining pc.
12561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12562
02f04a6c
AM
125632013-10-04 Alan Modra <amodra@gmail.com>
12564
12565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12566 HIWORD/LOWORD.
12567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12569
9b874b2f
AM
125702013-10-04 Alan Modra <amodra@gmail.com>
12571
12572 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12573 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12574 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12575 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12576 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12577 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12578 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12579 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12580 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12581 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12582
be1e5d31
AB
125832013-10-04 Anton Blanchard <anton@au1.ibm.com>
12584 Alistair Popple <alistair@ozlabs.au.ibm.com>
12585 Alan Modra <amodra@gmail.com>
12586
12587 [BZ #15723]
12588 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12589 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12590 _dl_hwcap access for little-endian.
12591 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12592 destroy vmx regs when saving unaligned.
12593 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12594 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12595 destroy vmx regs when saving unaligned.
12596
fef13a78
AM
125972013-10-04 Alan Modra <amodra@gmail.com>
12598
12599 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12600 Don't use a union to pack hi/low value.
12601
76a66d51
AB
126022013-10-04 Anton Blanchard <anton@au1.ibm.com>
12603
12604 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12605 for little-endian.
12606 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12607 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12608 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12609 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12610 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12611
6a31fe7f
AM
126122013-10-04 Alan Modra <amodra@gmail.com>
12613
12614 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12615 constants to usual value for .cst8 section, and remove redundant
12616 high address load.
12617 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12618 constant for 0x1p52. Load little-endian words of double from
12619 correct stack offsets.
12620
7b88401f
AM
126212013-10-04 Alan Modra <amodra@gmail.com>
12622
12623 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12624 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12625 words of double from correct stack offsets.
12626 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12627 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12628 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12629 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12630 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12631 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12632 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12633 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12634 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12635 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12636 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12637 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12638 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12639 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12640 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12641 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12642 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12643
9c008155
AM
126442013-10-04 Alan Modra <amodra@gmail.com>
12645
12646 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12647 64-bit int/double union.
12648 (_FPU_SETCW): Likewise.
12649 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12650 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12651
da13146d
AM
126522013-10-04 Alan Modra <amodra@gmail.com>
12653
12654 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12655 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12656
603e8410
AM
126572013-10-04 Alan Modra <amodra@gmail.com>
12658
12659 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12660 use vector int constants.
12661 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12662
4a28b3ca
AB
126632013-10-04 Anton Blanchard <anton@au1.ibm.com>
12664
12665 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12666 array with long long.
12667 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12668 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12669 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12670 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12671 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12672 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12673 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12674 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12675 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12676 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12677 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12678 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12679 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12680
2ca85d2b
AB
126812013-10-04 Anton Blanchard <anton@au1.ibm.com>
12682
12683 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12684 (__signbit): Likewise. Correct for little-endian.
12685 (__signbitl): Call __signbit.
12686 (lrint): Correct for little-endian.
12687 (lrintf): Call lrint.
12688
62a728ae
AM
126892013-10-04 Alan Modra <amodra@gmail.com>
12690
12691 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12692 union 32-bit int array member with 64-bit int array.
12693 (t515, tm256): Double rather than long double.
12694 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12695
32c301df
AM
126962013-10-04 Alan Modra <amodra@gmail.com>
12697
12698 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12699 Delete.
12700 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12701 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12702 version of math_ldbl.h.
12703
650ef4bd
AM
127042013-10-04 Alan Modra <amodra@gmail.com>
12705
12706 [BZ #15734], [BZ #15735]
12707 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12708 all uses of ieee875 long double macros and unions. Simplify test
12709 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12710 ldbl_extract_mantissa value for ix,iy exponents. Properly
12711 normalize after ldbl_extract_mantissa, and don't add hidden bit
12712 already handled. Don't treat low word of ieee854 mantissa like
12713 low word of IBM long double and mask off bit when testing for
12714 zero.
12715 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12716 all uses of ieee875 long double macros and unions. Simplify tests
12717 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12718 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12719 two1022, instead use their values. Recognise that tests for large
12720 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12721 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12722 Rewrite all uses of ieee875 long double macros and unions. Simplify
12723 test for 0.0L and nan. Correct negation.
12724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12725 ieee875 long double macros and unions. Correct output for large
12726 magnitude x. Correct absolute value calculation.
12727 (__erfcl): Likewise.
12728 * math/libm-test.inc: Add tests for errors discovered in IBM long
12729 double versions of fmodl, remainderl, erfl and erfcl.
12730
765714ca
AM
127312013-10-04 Alan Modra <amodra@gmail.com>
12732
12733 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12734 all uses of ieee854 long double macros and unions. Simplify tests
12735 for long doubles that are fully specified by the high double.
12736 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12737 Likewise.
12738 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12739 Remove dead code too.
12740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12741 (__ieee754_ynl): Likewise.
12742 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12743 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12744 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12745 Remove dead code too.
12746 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12747 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12748 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12749 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12750 Simplify.
12751 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12752 Simplify.
12753 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12754 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12755 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12756 Comment on variable precision.
12757 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12758 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12759 Likewise.
12760 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12761 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12762 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12763 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12764 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12765
4ebd120c
AM
127662013-10-04 Alan Modra <amodra@gmail.com>
12767
12768 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12769 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12770 all uses of ieee854 long double macros and unions.
12771 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12772 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12773 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12774 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12775 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12776 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12777 Likewise.
12778 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12779 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12780 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12781 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12782 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12783 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12784 Simplify sign and nan test too.
12785 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12786 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12787 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12788 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12789 Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12791 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12792 Likewise.
12793 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12794 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12795 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12796 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12797 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12798 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12799
1b6adf88
AM
128002013-10-04 Alan Modra <amodra@gmail.com>
12801
12802 * stdio-common/printf_size.c (__printf_size): Don't use
12803 union ieee854_long_double in fpnum union.
12804 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12805 signbit macro to retrieve sign from long double.
12806 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12807 retrieve sign from long double.
12808 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12809 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12810 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12811 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12812 * math/test-misc.c (main): Don't use union ieee854_long_double.
12813
4cf69995
AM
128142013-10-04 Alan Modra <amodra@gmail.com>
12815
12816 [BZ #15680]
12817 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12818 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12819 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12820 calculation. Remove unnecessary test for denormal exponent.
12821 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12822 Correct handling of denormals. Avoid undefined shift behaviour.
12823 Correct normalisation of low mantissa when low double is denormal.
12824 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12825 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12826 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12827 Correct normalisation of low mantissa. Test for overflow of high
12828 mantissa and normalise.
12829 (ldbl_nearbyint): Use more readable constant for two52.
12830 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12831 (__mpn_construct_long_double): Fix test for overflow of high
12832 mantissa and correct normalisation. Avoid undefined shift.
12833
9605ca6c
AM
128342013-10-04 Alan Modra <amodra@gmail.com>
12835
12836 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12837 (union ibm_extended_long_double): Define as an array of ieee754_double.
12838 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12839 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12840 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12841 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12845 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12849
975569d0
JM
128502013-10-03 Joseph Myers <joseph@codesourcery.com>
12851
d3d23756
JM
12852 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12853 page size instead of calling getpagesize.
12854
975569d0
JM
12855 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12856 (LOCFILE_ALIGN_MASK): Likewise.
12857 (LOCFILE_ALIGN_UP): Likewise.
12858 (LOCFILE_ALIGNED_P): Likewise.
12859 * locale/programs/ld-collate.c (collate_output): Use the new
12860 macros instead of __alignof__ (int32_t).
12861 * locale/weight.h (findidx): Likewise.
12862
b1fe1f2b
OB
128632013-10-03 Ondřej Bílka <neleai@seznam.cz>
12864
12865 [BZ #431]
12866 * manual/string.texi: Fix strncat and wcsncat.
12867
5f855e35
BM
128682013-10-03 Brooks Moses <bmoses@google.com>
12869
12870 [BZ #15915]
12871 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12872 * Makerules: ...here, and adjust associated comments.
12873
3cef6009
WN
128742013-10-02 Will Newton <will.newton@linaro.org>
12875
12876 * malloc/Makefile: Add tst-pvalloc.
12877 * malloc/tst-pvalloc.c: New file.
12878
7815420b
WN
128792013-10-02 Will Newton <will.newton@linaro.org>
12880
12881 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12882 improve test coverage.
12883
4868b204
WN
128842013-10-02 Will Newton <will.newton@linaro.org>
12885
12886 * malloc/Makefile: Add tst-posix_memalign.
12887 * malloc/tst-posix_memalign.c: New file.
12888
29c793b3
EB
128892013-10-01 Eric Blake <eblake@redhat.com>
12890
12891 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12892 Use __THROWNL rather than __THROW on static functions.
12893
fd967522
PM
128942013-09-30 Petr Machata <pmachata@redhat.com>
12895
12896 * elf/elf.h (R_AARCH64_ABS16): New macro.
12897 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12898 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12899 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12900 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12901 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12902 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12903 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12904 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12905 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12906 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12907 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12908 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12909 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12910 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12911 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12912 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12913 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12914 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12915 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12916 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12917 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12918 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12919 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12920 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12921 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12922 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12923 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12924 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12925 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12926 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12927 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12928 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12929 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12930 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12931 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12932 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12933 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12934 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12935 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12936 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12937 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12938 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12939 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12940 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12941 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12942 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12943 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12944 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12945 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12946 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12947 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12948 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12949 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12950 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12951 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12952 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12953 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12954 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12955 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12956 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12957 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12958 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12959 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12960 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12961 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12962 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12963 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12964 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12965 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12966 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12967 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12968 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12969 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12970 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12971 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12972 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12973 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12974 (R_AARCH64_TLSDESC_LDR): Likewise.
12975 (R_AARCH64_TLSDESC_ADD): Likewise.
12976 (R_AARCH64_TLSDESC_CALL): Likewise.
12977
b2179107
AS
129782013-09-30 Andreas Schwab <schwab@suse.de>
12979
12980 [BZ #15048]
12981 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12982 the nss database lookup.
12983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12985
47f28d0a
MF
129862013-09-28 Mike Frysinger <vapier@gentoo.org>
12987
12988 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12989
129902013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12991
12992 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12993 ${Bash-specific parameter/pattern/string} parameter expansion.
12994 * sysdeps/unix/make-syscalls.sh: Likewise.
12995
f4518a17
KK
129962013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12997
12998 * sysdeps/sh/stackguard-macros.h: New file.
12999
dc1a95c7
OB
130002013-09-26 Ondřej Bílka <neleai@seznam.cz>
13001
13002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13004 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13005 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13006 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13007 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13008
5ebbff8f
AZ
130092013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13010
13011 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13012 Fix thread ID register.
13013
4fd2cf9f
JM
130142013-09-25 Joseph Myers <joseph@codesourcery.com>
13015
13016 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13017 [POSIX || UNIX98]: Require rather than permitting all symbols from
13018 <time.h>.
13019 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13020 element of struct sched_param.
13021 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13022 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13023 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13024 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13025 constant.
13026
12c22bc4
OL
130272013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13028
13029 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13030 argument calculation.
13031
a03d8ea7
JM
130322013-09-24 Joseph Myers <joseph@codesourcery.com>
13033
13034 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13035 Expect macro.
13036 [POSIX] (pthread_attr_t): Do not require type.
13037 [POSIX] (pthread_cond_t): Likewise.
13038 [POSIX] (pthread_condattr_t): Likewise.
13039 [POSIX] (pthread_key_t): Likewise.
13040 [POSIX] (pthread_mutex_t): Likewise.
13041 [POSIX] (pthread_mutexattr_t): Likewise.
13042 [POSIX] (pthread_once_t): Likewise.
13043 [POSIX] (pthread_t): Likewise.
13044 [POSIX-based standards] (pthread_atfork): Expect function.
13045
6055173a
JM
130462013-09-24 Joseph Myers <joseph@codesourcery.com>
13047 Richard Sandiford <richard@codesourcery.com>
13048
13049 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13050 (swap_endianness_p): New extern variable.
13051 (set_big_endian): New inline function.
13052 (maybe_swap_uint32): Likewise.
13053 (maybe_swap_uint32_array): Likewise.
13054 (maybe_swap_uint32_obstack): Likewise.
13055 * locale/programs/locfile.c: Include <stdbool.h>.
13056 (swap_endianness_p): New variable.
13057 (add_locale_uint32): Call maybe_swap_uint32.
13058 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13059 (write_locale_data): Call maybe_swap_uint32_array.
13060 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13061 maybe_swap_uint32.
13062 (obstack_int32_grow_fast): Likewise.
13063 (output_weightwc): Call maybe_swap_uint32_obstack.
13064 (collate_output): Likewise.
13065 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13066 (OPT_LITTLE_ENDIAN): Likewise.
13067 (options): Add --little-endian and --big-endian options.
13068 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13069 * locale/programs/locarchive.c: Include "locfile.h".
13070 (GET): New macro.
13071 (SET): Likewise.
13072 (INC): Likewise.
13073 (create_archive): Use the new macros to access fields of
13074 structures directly mapped from or written to locale archives.
13075 (oldlocrecentcmp): Likewise.
13076 (enlarge_archive): Likewise.
13077 (insert_name): Likewise.
13078 (add_alias): Likewise.
13079 (add_locale): Likewise.
13080 (delete_locales_from_archive): Likewise.
13081 (show_archive_content): Likewise.
13082 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13083 locale data.
13084
39bf0bb4
RM
130852013-09-24 Roland McGrath <roland@hack.frob.com>
13086
13087 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13088 http://www.gnu.org/doc/freemanuals.texi.
13089 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13090
f02eed10
WN
130912013-09-24 Will Newton <will.newton@linaro.org>
13092
13093 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13094 macro.
13095
a3a6c312
JM
130962013-09-23 Joseph Myers <joseph@codesourcery.com>
13097
13098 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13099 unsigned char.
13100
107375ac
MR
131012013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13102
13103 * manual/threads.texi (POSIX Threads): Fix a typo.
13104
141f3a77
SP
131052013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13106
303e567a
SP
13107 [BZ #14547]
13108 * string/tst-strcoll-overflow.c: New test case.
13109 * string/Makefile (xtests): Add tst-strcoll-overflow.
13110 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13111 cache if string sizes may cause integer overflow.
13112
141f3a77
SP
13113 [BZ #14547]
13114 * string/strcoll_l.c (coll_seq): New members rule, idx,
13115 save_idx and back_us.
13116 (get_next_seq_nocache): New function.
13117 (do_compare_nocache): New function.
13118 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13119 when malloc fails.
13120
c61b4d41
CD
131212013-09-23 Carlos O'Donell <carlos@redhat.com>
13122
0b1f8e35
CD
13123 [BZ #15754]
13124 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13125 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13126 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13127
c61b4d41
CD
13128 [BZ #15754]
13129 * elf/Makefile (tests): Add tst-ptrguard1.
13130 (tests-static): Add tst-ptrguard1-static.
13131 (tst-ptrguard1-ARGS): Define.
13132 (tst-ptrguard1-static-ARGS): Define.
13133 * elf/tst-ptrguard1.c: New file.
13134 * elf/tst-ptrguard1-static.c: New file.
13135 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13136 * sysdeps/i386/stackguard-macros.h: Likewise.
13137 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13138 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13139 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13140 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13141 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13142 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13143
131442013-09-23 Hector Marco <hecmargi@upv.es>
13145 Ismael Ripoll <iripoll@disca.upv.es>
13146 Carlos O'Donell <carlos@redhat.com>
13147
13148 [BZ #15754]
13149 * sysdeps/generic/stackguard-macros.h: Define
13150 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13151 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13152 Define __pointer_chk_guard_local.
13153 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13154 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13155
f5f4e7b4
VV
131562013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13157
13158 [BZ #15859]
13159 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13160
5bb43a43
AS
131612013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13162
13163 * include/string.h (__ffs): Declare as hidden.
13164 * string/ffs.c (__ffs): Define as hidden.
13165 * sysdeps/i386/ffs.c (__ffs): Likewise.
13166 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13167 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13168 * sysdeps/s390/ffs.c (__ffs): Likewise.
13169 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13170
3ea5be54
AO
131712013-09-20 Alexandre Oliva <aoliva@redhat.com>
13172
ffb89e53
AO
13173 * NEWS: Mention malloc probes.
13174
322dea08
AO
13175 * malloc/arena.c (new_heap): New memory_heap_new probe.
13176 (grow_heap): New memory_heap_more probe.
13177 (shrink_heap): New memory_heap_less probe.
13178 (heap_trim): New memory_heap_free probe.
13179 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13180 (systrim): New memory_sbrk_less probe.
13181 * manual/probes.texi: Document them.
13182
655673f3
AO
13183 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13184 * manual/probes.texi: Document it.
13185
35fed6f1
AO
13186 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13187 (__libc_realloc): Add memory_realloc_retry probe.
13188 (__libc_memalign): Add memory_memalign_retry probe.
13189 (__libc_valloc): Add memory_valloc_retry probe.
13190 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13191 (__libc_calloc): Add memory_calloc_retry probe.
13192 * manual/probes.texi: Document them.
13193
6999d38c
AO
13194 * malloc/arena.c (get_free_list): Add probe
13195 memory_arena_reuse_free_list.
13196 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13197 and memory_arena_reuse.
13198 (arena_get2) [!PER_THREAD]: Likewise.
13199 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13200 memory_arena_reuse_realloc.
13201 * manual/probes.texi: Document them.
13202
0653427f
AO
13203 * malloc/malloc.c (__libc_free): Add
13204 memory_mallopt_free_dyn_thresholds probe.
13205 (__libc_mallopt): Add multiple memory_mallopt probes.
13206 * manual/probes.texi: Document them.
13207
3ea5be54
AO
13208 * malloc/malloc.c: Include stap-probe.h.
13209 (__libc_mallopt): Add memory_mallopt probe.
13210 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13211 * manual/probes.texi: New.
13212 * manual/Makefile (chapters): Add probes.
13213 * manual/threads.texi: Set next node.
13214
e35696c3 132152013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13216
e35696c3
CL
13217 [BZ #15963, #13985]
13218 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13219 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13220 Add `Chinese' to `nan' entry name.
13221
4aafb73c
SP
132222013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13223
13224 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13225 (POLYNOMIAL): Likewise.
13226 (TAYLOR_SINCOS): Likewise.
13227 (TAYLOR_SLOW): Likewise.
13228 (__sin): Use TAYLOR_SINCOS.
13229 (__cos): Likewise.
13230 (slow): Use TAYLOR_SLOW.
13231 (sloww): Likewise.
13232 (bsloww): Likewise.
13233 (csloww): Likewise.
13234
d84f25c7
LD
132352013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13236
13237 * stdlib/strtod_l.c: Fix buffer overrun.
13238
5eea0404
SP
132392013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13240
7849ff93
SP
13241 * benchtests/Makefile (bench): Add sincos.
13242 * benchtests/bench-sincos.c: New file.
13243
cfa3c886
SP
13244 * math/libm-test.inc (cos_test_data): New test inputs.
13245 (sin_test_data): Likewise.
13246
b348e1e3
SP
13247 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13248 macro.
13249 (__sin): Use it.
13250 (__cos): Likewise.
13251 (slow1): Likewise.
13252 (slow2): Likewise.
13253 (sloww1): Likewise.
13254 (sloww2): Likewise.
13255 (bsloww1): Likewise.
13256 (bsloww2): Likewise.
13257 (cslow2): Likewise.
13258 (csloww1): Likewise.
13259 (csloww2): Likewise.
13260
6cce25f8
SP
13261 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13262 function.
13263 (__sin): Use it.
13264 (__cos): Likewise.
13265
5eea0404
SP
13266 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13267 gotos.
13268 (__cos): Likewise.
13269
9c21573c
MR
132702013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13271
13272 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13273 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13274 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13275 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13276 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13277 * elf/cache.c (print_entry): Handle the new cache flags.
13278
24d22e65
JM
132792013-09-18 Joseph Myers <joseph@codesourcery.com>
13280 Aldy Hernandez <aldyh@redhat.com>
13281
13282 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13283 Change condition to [_SOFT_FLOAT].
13284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13296 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13299 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13300 declaration.
13301
d13ef066
JM
133022013-09-18 Joseph Myers <joseph@codesourcery.com>
13303
2e071de0
JM
13304 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13305 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13306 (__longjmp): Use LOAD_GP to load saved GPRs.
13307 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13308 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13309 (__sigsetjmp): Use SAVE_GP to save GPRs.
13310
d13ef066
JM
13311 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13312 Do not append -msoft-float.
13313 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13314
97a0650b
SP
133152013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13316
13317 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13318
11ca09e9
JM
133192013-09-17 Joseph Myers <joseph@codesourcery.com>
13320
13321 [BZ #15966]
13322 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13323 (_FPU_GETCW): Use initial "__" on variable and field names but not
13324 on macro parameter name.
13325 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13326 parentheses around reference to macro parameter.
13327
08ffcf34
RS
133282013-09-13 Richard Sandiford <richard@codesourcery.com>
13329
13330 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13331 prototype.
13332 (ctype_startup): Use uint32_t in cast and sizeof for
13333 ctype->charnames.
13334
ae7080d3
JL
133352013-09-11 Jia Liu <proljc@gmail.com>
13336
13337 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13338 __daddr_t_defined.
13339 [__FreeBSD__]: Likewise.
13340
5905e7b3
OB
133412013-09-11 Ondřej Bílka <neleai@seznam.cz>
13342
13343 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13344 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13345 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13346 (strchr): Remove __strchr_sse42 ifunc selection.
13347 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13348 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13349
b987c776
WN
133502013-09-11 Will Newton <will.newton@linaro.org>
13351
13352 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13353 parameter to RES. Remove hardcoded 1000 value.
13354 * benchtests/bench-skeleton.c (main): Pass RES parameter
13355 to TIMING_INIT and multiply result by 1000.
13356
ddf985af
AZ
133572013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13358
13359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13360
ffdd3181
AS
133612013-09-11 Andreas Schwab <schwab@suse.de>
13362
13363 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13364 if not defined.
13365 (O_TMPFILE) [__USE_GNU]: Define.
13366 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13367 Define.
13368
b73ed247
WN
133692013-09-11 Will Newton <will.newton@linaro.org>
13370
13371 [BZ #15857]
13372 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13373 does not overflow.
13374
55e17aad
WN
133752013-09-11 Will Newton <will.newton@linaro.org>
13376
13377 [BZ #15856]
13378 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13379 does not overflow.
13380
1159a193
WN
133812013-09-11 Will Newton <will.newton@linaro.org>
13382
13383 [BZ #15855]
13384 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13385 does not overflow.
13386
5905e7b3 133872013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13388
13389 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13390 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13394
cdfc721b
AM
133952013-09-10 Allan McRae <allan@archlinux.org>
13396
aa04af00
AM
13397 [BZ #15748]
13398 * manual/arith.texi (Parsing of Floats): Clarify
13399 cross-reference.
13400
cdfc721b
AM
13401 [BZ #15849]
13402 * manual/install.texi (Running make install): Mention
13403 --enable-pt-chown.
13404 * INSTALL: Regenerated.
13405
95e7cf29
MR
134062013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13407
13408 * csu/init-first.c (_init): Remove the !SHARED condition around
13409 FPU control word initialization.
13410 * elf/dl-support.c (_dl_fpu_control): New variable.
13411 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13412 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13413 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13414 * math/test-fpucw-static.c: New file.
13415 * math/test-fpucw-ieee.c: New file.
13416 * math/test-fpucw-ieee-static.c: New file.
13417 * math/Makefile (tests): Add `test-fpucw-ieee' and
13418 `$(tests-static)'.
13419 (tests-static): New variable.
13420 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13421 dependency to...
13422 [($(build-shared),yes)]
13423 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13424 ... this.
13425 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13426 New dependency.
13427
83e43bf0
AM
134282013-09-09 Allan McRae <allan@archlinux.org>
13429
a9f5ce09
AM
13430 [BZ #15939]
13431 * manual/string.texi (Collation Functions): Fix typo in
13432 strcoll example.
13433 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13434
34829bc2
AM
13435 [BZ #15893]
13436 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13437
3932737d
AM
13438 [BZ #15892]
13439 * libio/memstream.c (open_memstream): Fix memory leak.
13440 * libio/wmemstream.c (open_wmemstream): Likewise.
13441
83e43bf0
AM
13442 [BZ #15895]
13443 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13444
0c66b8e9
WN
134452013-09-09 Will Newton <will.newton@linaro.org>
13446
13447 * malloc/Makefile: Add tst-realloc to tests.
13448 * malloc/tst-realloc.c: New file.
13449
f6b00fd1
AM
134502013-09-09 Allan McRae <allan@archlinux.org>
13451
13452 [BZ #15844]
13453 * COPYING: Update from GNU website to fix FSF address.
13454 * COPYING.LIB: Likewise.
13455
eec55e16
DM
134562013-09-06 David S. Miller <davem@davemloft.net>
13457
13458 * po/zh_TW.po: Update Chinese (traditional) translation from
13459 translation project.
13460
1ecbb381
RS
134612013-09-06 Richard Sandiford <richard@codesourcery.com>
13462 Joseph Myers <joseph@codesourcery.com>
13463
13464 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13465 "localeinfo.h".
13466 (obstack_chunk_alloc): New macro.
13467 (obstack_chunk_free): Likewise.
13468 (record_offset): New function.
13469 (init_locale_data): Likewise.
13470 (align_locale_data): Likewise.
13471 (add_locale_empty): Likewise.
13472 (add_locale_raw_data): Likewise.
13473 (add_locale_raw_obstack): Likewise.
13474 (add_locale_string): Likewise.
13475 (add_locale_wstring): Likewise.
13476 (add_locale_uint32): Likewise.
13477 (add_locale_uint32_array): Likewise.
13478 (add_locale_char): Likewise.
13479 (start_locale_structure): Likewise.
13480 (end_locale_structure): Likewise.
13481 (start_locale_prelude): Likewise.
13482 (end_locale_prelude): Likewise.
13483 (write_locale_data): Take locale_file structure rather than an
13484 iovec.
13485 * locale/programs/locfile.h: Include "obstack.h".
13486 (struct locale_file): Change to store locale file contents instead
13487 of header.
13488 (init_locale_data): New prototype.
13489 (align_locale_data): Likewise.
13490 (add_locale_empty): Likewise.
13491 (add_locale_raw_data): Likewise.
13492 (add_locale_raw_obstack): Likewise.
13493 (add_locale_string): Likewise.
13494 (add_locale_wstring): Likewise.
13495 (add_locale_uint32): Likewise.
13496 (add_locale_uint32_array): Likewise.
13497 (add_locale_char): Likewise.
13498 (start_locale_structure): Likewise.
13499 (end_locale_structure): Likewise.
13500 (start_locale_prelude): Likewise.
13501 (end_locale_prelude): Likewise.
13502 (write_locale_data): Update prototype.
13503 * locale/programs/3level.h (struct TABLE): Remove result field.
13504 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13505 Use new locale_file interface.
13506 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13507 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13508 * locale/programs/ld-address.c (address_output): Use new
13509 locale_file interface.
13510 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13511 NO_ADD_LOCALE.
13512 (collate_finish): Don't call collseq_table_finalize.
13513 (collate_output): Use new locale_file interface.
13514 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13515 in file.
13516 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13517 (TABLE): Move defines earlier in file.
13518 (ELEMENT): Likewise.
13519 (DEFAULT): Likewise.
13520 (wctrans_table_add): Move macro and inline function earlier in
13521 file.
13522 (struct wctype_table): Move type earlier in file.
13523 (add_locale_wctype_table): New static prototype.
13524 (struct locale_ctype_t): Use logical types instead of struct iovec
13525 pointers for members.
13526 (ctype_output): Use new locale_file interface.
13527 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13528 new locale_file interface.
13529 (allocate_arrays): Update for use of new locale_file interface.
13530 * locale/programs/ld-identification.c (identification_output): Use
13531 new locale_file interface.
13532 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13533 * locale/programs/ld-messages.c (messages_output): Likewise.
13534 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13535 * locale/programs/ld-name.c (name_output): Likewise.
13536 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13537 * locale/programs/ld-paper.c (paper_output): Likewise.
13538 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13539 * locale/programs/ld-time.c (time_output): Likewise.
13540
e029e2e5
AZ
135412013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13542
13543 * benchtests/Makefile: Add memrchr benchmark.
13544 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13545 benchmark as memrchr.
13546 * benchtests/bench-memrchr-ifunc.c: New file.
13547 * benchtests/bench-memrchr.c: New file.
13548
bbf6e8e4
WN
135492013-09-06 Will Newton <will.newton@linaro.org>
13550
13551 * benchtests/Makefile (string-bench): Add memcpy.
13552
6c82a2f8
CD
135532013-09-05 Carlos O'Donell <carlos@redhat.com>
13554 Cong Wang <amwang@redhat.com>
13555
e732c5f0 13556 [BZ #15850]
6c82a2f8
CD
13557 * sysdeps/unix/sysv/linux/bits/in.h
13558 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13559 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13560 before __USE_KERNEL_IPV6_DEFS uses.
13561 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13562 IPPROTO_BEETPH.
13563 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13564 sockaddr_in6, or ipv6_mreq.
13565
5430fc65
AZ
135662013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13567
13568 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13569 memory access for final bytes in some large inputs.
13570 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13571
4660856c
AZ
135722013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13573
13574 * string/test-memrchr.c: New file.
13575 * string/test-memrchr-ifunc.c: New file.
13576 * string/Makefile: Add new memrchr testcase.
13577
bb8ea713
MF
135782013-09-05 Mike Frysinger <vapier@gentoo.org>
13579
13580 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13581 fanotify_init returns EPERM.
13582
b92a20b5
JM
135832013-09-04 Joseph Myers <joseph@codesourcery.com>
13584
13585 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13586 errors.
13587 (top level): Treat second token from macro or constant entries for
13588 allowed headers as allowed.
13589 * include/complex.h: Condition internal declarations on
13590 [!_ISOMAC].
13591 * include/fenv.h: Condition include of <stdbool.h> and internal
13592 declarations on [!_ISOMAC].
7447ccd9
CL
13593
135942013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13595
3e181dda 13596 [BZ #15923]
7447ccd9
CL
13597 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13598
3f2e46a4
JM
135992013-09-04 Joseph Myers <joseph@codesourcery.com>
13600
13601 * configure.in (--enable-versioning): Remove configure option.
13602 (libc_cv_asm_symver_directive): Remove configure test.
13603 (libc_cv_ld_version_script_option): Likewise.
13604 (VERSIONING): Remove variable and AC_SUBST.
13605 (DO_VERSIONING): Remove AC_DEFINE.
13606 * configure: Regenerated.
13607 * config.h.in (DO_VERSIONING): Remove macro.
13608 * Makerules [$(versioning) = yes]: Change conditionals to
13609 [$(build-shared) = yes].
13610 * config.make.in (versioning): Remove variable.
13611 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13612 [$(build-shared) = yes].
13613 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13614 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13615 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13616 [$(build-shared) = yes].
13617 * extra-lib.mk [$(versioning) = yes]: Likewise.
13618 * hurd/Makefile [$(versioning) = yes]: Likewise.
13619 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13620 [SHARED].
13621 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13622 [SHARED].
13623 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13624 [SHARED && !NO_HIDDEN].
13625 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13626 [SHARED].
13627 [SHARED && DO_VERSIONING]: Likewise..
13628 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13629 [$(build-shared) = yes].
13630 * manual/install.texi (--disable-versioning): Remove
13631 documentation.
13632 * INSTALL: Regenerated.
13633 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13634 to [SHARED].
13635 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13636 [$(build-shared) = yes].
13637 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13638 * sysdeps/i386/i686/multiarch/strstr-c.c
13639 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13640 [SHARED && !NO_HIDDEN].
13641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13642 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13643 * sysdeps/powerpc/powerpc32/dl-machine.c
13644 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13645 * sysdeps/powerpc/powerpc32/sysdep.h
13646 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13647 to [SHARED && PIC && !NO_HIDDEN].
13648 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13649 conditional to [SHARED].
13650
44558701
WN
136512013-09-04 Will Newton <will.newton@linaro.org>
13652
13653 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13654 * benchtests/bench-string.h: Include bench-timing.h instead
13655 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13656 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13657 call to HP_TIMING_DIFF_INIT.
13658 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13659 instead of hp-timing.h macros.
13660 * benchtests/bench-memchr.c: Likewise.
13661 * benchtests/bench-memcmp.c: Likewise.
13662 * benchtests/bench-memcpy.c: Likewise.
13663 * benchtests/bench-memmem.c: Likewise.
13664 * benchtests/bench-memmove.c: Likewise.
13665 * benchtests/bench-memset.c: Likewise.
13666 * benchtests/bench-rawmemchr.c: Likewise.
13667 * benchtests/bench-strcasecmp.c: Likewise.
13668 * benchtests/bench-strcasestr.c: Likewise.
13669 * benchtests/bench-strcat.c: Likewise.
13670 * benchtests/bench-strchr.c: Likewise.
13671 * benchtests/bench-strcmp.c: Likewise.
13672 * benchtests/bench-strcpy.c: Likewise.
13673 * benchtests/bench-strcpy_chk.c: Likewise.
13674 * benchtests/bench-strlen.c: Likewise.
13675 * benchtests/bench-strncasecmp.c: Likewise.
13676 * benchtests/bench-strncat.c: Likewise.
13677 * benchtests/bench-strncmp.c: Likewise.
13678 * benchtests/bench-strncpy.c: Likewise.
13679 * benchtests/bench-strnlen.c: Likewise.
13680 * benchtests/bench-strpbrk.c: Likewise.
13681 * benchtests/bench-strrchr.c: Likewise.
13682 * benchtests/bench-strspn.c: Likewise.
13683 * benchtests/bench-strstr.c: Likewise.
13684
cae16d66
WN
136852013-09-04 Will Newton <will.newton@linaro.org>
13686
13687 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13688
ffa3cd7f
JM
136892013-09-03 Joseph Myers <joseph@codesourcery.com>
13690
13691 [BZ #15427]
13692 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13693 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13694 * math/libm-test.inc (lgamma_test_data): Add more tests.
13695 * sysdeps/i386/fpu/libm-test-ulps: Update.
13696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13697
8f02859f
OB
136982013-09-03 Ondřej Bílka <neleai@seznam.cz>
13699
13700 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13702 Add ifunc.
13703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13704 Add strcmp-sse2-unaligned
13705 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13706
18d43716
MF
137072013-09-02 Mike Frysinger <vapier@gentoo.org>
13708
13709 * Versions.def (libc): Add GLIBC_2.19.
13710
ac444012
MF
137112013-09-02 Mike Frysinger <vapier@gentoo.org>
13712
13713 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13714 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13715
b7835e32
JM
137162013-09-02 Joseph Myers <joseph@codesourcery.com>
13717
13718 [BZ #14155]
13719 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13720 intermediate calculations in recurrence.
13721 (__ieee754_ynf): Likewise.
13722 * math/libm-test.inc (jn_test_data): Do not allow spurious
13723 underflow exception. Add more tests.
13724 (yn_test_data): Add more tests.
13725 * sysdeps/i386/fpu/libm-test-ulps: Update.
13726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13727
8220f4f0
OB
137282013-09-02 Ondřej Bílka <neleai@seznam.cz>
13729
13730 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13731
f24a6d08
OB
137322013-08-30 Ondřej Bílka <neleai@seznam.cz>
13733
13734 * csu/init-first.c: Fix then/than typos.
13735 * locale/programs/ld-collate.c: Likewise.
13736 * locale/programs/linereader.h: Likewise.
13737 * manual/charset.texi: Likewise.
13738 * manual/filesys.texi: Likewise.
13739 * manual/stdio.texi: Likewise.
13740 * manual/string.texi: Likewise.
13741 * stdlib/fmtmsg.c: Likewise.
13742 * sysdeps/i386/stpncpy.S: Likewise.
13743 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13744 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13745 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13746 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13747
382466e0
OB
137482013-08-30 Ondřej Bílka <neleai@seznam.cz>
13749
13750 * elf/dl-open.c: Fix typos.
13751 * iconvdata/gbbig5.c: Likewise.
13752 * iconvdata/iso-2022-jp.c: Likewise.
13753 * iconv/gconv_int.h: Likewise.
13754 * iconv/loop.c: Likewise.
13755 * nis/rpcsvc/nis.h: Likewise.
13756 * resolv/ns_name.c: Likewise.
13757 * stdio-common/vfscanf.c: Likewise.
13758 * streams/stropts.h: Likewise.
13759 * sunrpc/rpc_thread.c: Likewise.
13760 * sysdeps/i386/strpbrk.S: Likewise.
13761 * sysdeps/ieee754/k_standard.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13764 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13765 * sysdeps/mach/hurd/profil.c: Likewise.
13766 * sysdeps/s390/dl-procinfo.h: Likewise.
13767 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13768 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13769 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13770 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13772
0186c6e9
OB
137732013-08-30 Ondřej Bílka <neleai@seznam.cz>
13774
13775 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13777
d4e16af1
OB
137782013-08-29 Ondřej Bílka <neleai@seznam.cz>
13779
13780 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13781 aix specific files.
13782 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13783 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13784 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13785 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13786 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13787 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13788 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13789 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13790
88335980
TS
137912013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13792 Roland McGrath <roland@hack.frob.com>
13793
13794 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13795 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13796
ed479b02
ST
137972013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13798
13799 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13800 __executable_start symbol instead of _start.
13801
f1cc4c86
TS
138022013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13803
d821f07c
TS
13804 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13805 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13806 Move macros to...
13807 * sysdeps/gnu/ldsodefs.h: ... this new file.
13808
c54290cf
TS
13809 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13810 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13811 instead of ELFOSABI_LINUX.
13812
0007fc9b 13813 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13814 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13815 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13816 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13817 Likewise.
13818 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13819 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13820 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13821 Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13823 (ibm_extended_long_double): Add ieee_nan member.
13824 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13825 (do_test): New function.
13826
f1cc4c86
TS
13827 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13828 TEST_TRUNC.
13829 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13830 functions, renamed from truncdfsf_test, trunctfsf_test,
13831 trunctfdf_test.
13832 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13833 functions.
13834 (do_test): Run all these.
13835
6f65e668
OB
138362013-08-29 Ondřej Bílka <neleai@seznam.cz>
13837
13838 * argp/argp-help.c: Fix typos.
13839 * argp/argp-parse.c: Likewise.
13840 * debug/backtracesyms.c: Likewise.
13841 * elf/elf.h: Likewise.
13842 * malloc/malloc.c: Likewise.
13843 * nis/nis_print.c: Likewise.
13844 * resolv/res_comp.c: Likewise.
13845 * stdlib/stdlib.h: Likewise.
13846 * sunrpc/clnt_tcp.c: Likewise.
13847 * sunrpc/clnt_udp.c: Likewise.
13848 * sunrpc/clnt_unix.c: Likewise.
13849 * sysdeps/unix/bsd/ptsname.c: Likewise.
13850 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13851 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13853 Likewise.
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13855 Likewise.
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13857 Likewise.
6f65e668
OB
13858 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13859
3a309239
SP
138602013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13861
13862 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13864
3b813b29
MF
138652013-08-27 Mike Frysinger <vapier@gentoo.org>
13866
13867 [BZ #15897]
13868 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13869 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13870 ($(objpfx)bug-dl-leaf): New rule.
13871 ($(objpfx)bug-dl-leaf.so): Likewise.
13872 ($(objpfx)bug-dl-leaf.out): Likewise.
13873 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13874 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13875 * dlfcn/bug-dl-leaf.c: New test.
13876 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13877 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13878 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13879 (dlclose): Likewise.
13880 (dlmopen): Likewise.
13881
8cc3269f
RM
138822013-08-27 Roland McGrath <roland@hack.frob.com>
13883
7f9d0034
RM
13884 * include/netdb.h [!_ISOMAC]:
13885 Don't include <tls.h>.
13886 (h_errno, __libc_h_errno): Move declaration and macros out of
13887 [_LIBC_REENTRANT].
13888
fb431262
RM
13889 * include/resolv.h [_RESOLV_H_]:
13890 Don't include <tls.h>.
13891 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13892 * resolv/res_libc.c: Don't include <tls.h>.
13893 (_res): Use __attribute__ ((nocommon)) in place of
13894 __attribute__ ((section (".bss"))).
13895
bd81123a
RM
13896 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13897 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13898
c4e42566
RM
13899 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13900
f890a59b
RM
13901 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13902 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13903
13904 * resolv/res_mkquery.c: Include <sys/time.h>.
13905
5d1f0a09
RM
13906 * inet/ifreq.c: Moved to ...
13907 * sysdeps/unix/ifreq.c: ... here.
13908 * inet/ifreq.c: New file, true stub version.
13909
6fcf28b3
RM
13910 * socket/sa_len.c: New file.
13911 * socket/Makefile (aux): Add it.
13912 * sysdeps/unix/sysv/linux/Makefile
13913 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13914 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13915 and #include <socket/sa_len.c>.
13916 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13917 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13918
e041fb8b
RM
13919 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13920 * bits/socket.h: ... here.
13921
8cc3269f
RM
13922 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13923 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13924 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13925
5d228a43
AS
139262013-08-27 Andreas Schwab <schwab@suse.de>
13927
45b8accc
AS
13928 [BZ #15736]
13929 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13930 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13931 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13932 * string/test-strcasecmp.c (test_main): Run tests in several
13933 locales.
13934 * string/test-strncasecmp.c (test_main): Likewise.
13935
5d228a43
AS
13936 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13937 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13938 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13940 (__strncasecmp_ssse3) [PIC]: Likewise.
13941
59d112a4
RM
139422013-08-26 Roland McGrath <roland@hack.frob.com>
13943
53234cc3
RM
13944 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13945
59d112a4
RM
13946 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13947 instead of explicitly declaring xdecrypt.
13948 * nis/nss_nis/nis-publickey.c: Likewise.
13949
595aba70
SP
139502013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13951
13952 [BZ #15890]
13953 * nscd/aicache.c: Include res_hconf.h.
13954 (addhstaiX): Initialize res_hconf.
13955
ffabd393
AS
139562013-08-26 Andreas Schwab <schwab@suse.de>
13957
13958 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13959 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13960
e0a69f5c
SP
139612013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13962
13963 * nscd/aicache.c (addhstaiX): Fix indentation.
13964
8c12f01d
MF
139652013-08-25 Mike Frysinger <vapier@gentoo.org>
13966
13967 * configure.ac: Quote $build_pt_chown test.
13968 * configure: Regenerated.
13969
8fe89494
JM
139702013-08-23 Joseph Myers <joseph@codesourcery.com>
13971
13972 [BZ #15532]
13973 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13974 * math/s_cexpf.c (__cexpf): Likewise.
13975 * math/s_cexpl.c (__cexpl): Likewise.
13976 * math/libm-test.inc (cexp_test_data): Correct expected return
13977 value for NaN + i0. Add another test.
13978
75b181d6
DM
139792013-08-22 David S. Miller <davem@davemloft.net>
13980
13981 * po/ca.po: Update Catalan translation from translation project.
936241e4 13982 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13983
acd06bb1
JM
139842013-08-21 Joseph Myers <joseph@codesourcery.com>
13985
13986 [BZ #15797]
13987 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13988 is infinite, not alongside NaN test.
13989 * math/s_fdimf.c (__fdimf): Likewise.
13990 * math/s_fdiml.c (__fdiml): Likewise.
13991 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13992 errno is unchanged.
13993
c0c3f78a
OB
139942013-08-21 Ondřej Bílka <neleai@seznam.cz>
13995
13996 * argp/argp-help.c: Fix typos.
13997 * crypt/speeds.c: Likewise.
13998 * csu/check_fds.c: Likewise.
13999 * elf/dl-load.c: Likewise.
14000 * elf/dl-open.c: Likewise.
14001 * elf/reldep3.c: Likewise.
14002 * elf/reldep.c: Likewise.
14003 * elf/sprof.c: Likewise.
14004 * iconv/iconv_charmap.c: Likewise.
14005 * iconv/skeleton.c: Likewise.
14006 * iconv/strtab.c: Likewise.
14007 * io/lockf64.c: Likewise.
14008 * libio/libioP.h: Likewise.
14009 * resolv/gai_notify.c: Likewise.
14010 * resolv/ns_name.c: Likewise.
14011 * resolv/ns_samedomain.c: Likewise.
14012 * resolv/res_send.c: Likewise.
14013 * stdlib/random.c: Likewise.
14014 * sunrpc/rpc/xdr.h: Likewise.
14015 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14016 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14017 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14018 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14020 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14021 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14022 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14023 * sysdeps/mach/hurd/check_fds.c: Likewise.
14024 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14025 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14026 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14027 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14028 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14029 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14030 * sysdeps/pthread/aio_notify.c: Likewise.
14031 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14032 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14033 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14034 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14035 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14036
46ed1038
LD
140372013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14038
14039 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14040 version if bit_Slow_SSE4_2 is set.
14041 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14042 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14043
d400dcac
AZ
140442013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14045
14046 [BZ #15867]
14047 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14048 trampoline stack frame information.
14049 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14050 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14051 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14052 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14053 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14054 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14055 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14056 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14057 sa_flags value.
14058 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14059 interrupting a syscall and set with option SA_SIGINFO.
14060
42c8fdd8
JM
140612013-08-20 Joseph Myers <joseph@codesourcery.com>
14062
c980f2f4
JM
14063 [BZ #15531]
14064 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14065 argument is infinite.
14066 * math/s_cprojf.c (__cprojf): Likewise.
14067 * math/s_cprojl.c (__cprojl): Likewise.
14068 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14069 * math/libm-test.inc (cproj_test_data): Add more tests.
14070
0716c4fc
JM
14071 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14072
42c8fdd8
JM
14073 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14074 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14075 size. Use __ffs to determine corresponding shift.
14076
b31469d0
JM
140772013-08-20 Joseph Myers <joseph@codesourcery.com>
14078 Roland McGrath <roland@hack.frob.com>
14079
14080 * Makefile (INSTALL): Remove trailing blank lines from output of
14081 makeinfo.
14082
4e39af6e
AK
140832013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14084
14085 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14086 Align 32 bit compat elf_greg to 8 bytes.
14087
f315524e
AA
140882013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14089
14090 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14091
1326ba1a
SP
140922013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14093
14094 * string/strcoll_l.c (coll_seq): New structure.
14095 (get_next_seq_cached): New function.
14096 (get_next_seq): New function.
14097 (do_compare): New function.
14098 (STRCOLL): Use GNU style definition. Simplify implementation
14099 by using get_next_seq, get_next_seq_cached and do_compare.
14100
91ce4085
FW
141012013-08-16 Florian Weimer <fweimer@redhat.com>
14102
14103 [BZ #14699]
14104 CVE-2013-4237
14105 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14106 member.
14107 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14108 member.
14109 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14110 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14111 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14112 conditional.
14113 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14114 GETDENTS_64BIT_ALIGNED.
14115 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14116 * manual/filesys.texi (Reading/Closing Directory): Document
14117 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14118 strongly.
14119 * manual/conf.texi (Limits for Files): Add portability note to
14120 NAME_MAX, PATH_MAX.
14121 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14122
ca0a6bc4
AS
141232013-08-13 Andreas Schwab <schwab@suse.de>
14124
14125 [BZ #15749]
14126 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14127 of fabs.
14128 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14129 LDBL_MAX_EXP >= 16384]: Add tests for it.
14130
6c1fd795
DM
141312013-08-12 David S. Miller <davem@davemloft.net>
14132
14133 * version.h (RELEASE): Set to "development".
14134 (VERSION): Set to "2.18.90".
14135 * NEWS: Add 2.19 section.
14136
31ad488d
DM
141372013-08-03 David S. Miller <davem@davemloft.net>
14138
14139 * po/ko.po: Update Korean translation from translation project.
14140
db24e684
DM
141412013-08-01 David S. Miller <davem@davemloft.net>
14142
14143 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14144 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14145 Bilka.
14146
f723285b
DM
141472013-07-30 David S. Miller <davem@davemloft.net>
14148
14149 * po/fr.po: Update French translation from translation project.
14150
3cbc52db
DM
141512013-07-28 David S. Miller <davem@davemloft.net>
14152
30bbc0cc
DM
14153 * po/cs.po: Update Czech translation from translation project.
14154
3cbc52db
DM
14155 * po/sv.po: Update Swedish translation from translation project.
14156
d492e6d0
DM
141572013-07-27 David S. Miller <davem@davemloft.net>
14158
f1a7f492
DM
14159 * po/eo.po: Update Esperanto translation from translation project.
14160
90e62a4a
DM
14161 * po/vi.po: Update Vietnamese translation from translation project.
14162
d492e6d0
DM
14163 * po/de.po: Update German translation from translation project.
14164
d4baa62d
DM
141652013-07-26 David S. Miller <davem@davemloft.net>
14166
641aa7b4
DM
14167 * po/bg.po: Update Bulgarian translation from translation project.
14168
d4baa62d
DM
14169 * po/nl.po: Update Dutch translation from translation project.
14170 * po/pl.po: Update Polish translation from translation project.
14171 * po/ru.po: Update Russian translation from translation project.
14172
61a9dcb9
DM
141732013-07-24 David S. Miller <davem@davemloft.net>
14174
14175 * po/libc.pot: Update.
14176
7b1f8b58
AZ
141772013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14178
14179 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14180 variable page size.
14181 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14182 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14183 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14184
a8fc7a03
AK
141852013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14186
14187 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14188
e4608715
CD
141892013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14190 Andreas Schwab <schwab@suse.de>
14191 Roland McGrath <roland@hack.frob.com>
14192 Joseph Myers <joseph@codesourcery.com>
14193 Carlos O'Donell <carlos@redhat.com>
14194
14195 [BZ #15755]
14196 * config.h.in: Define HAVE_PT_CHOWN.
14197 * config.make.in (build-pt-chown): New variable.
14198 * configure.in (--enable-pt_chown): New configure option.
14199 * configure: Regenerate.
14200 * login/Makefile: Include Makeconfig. Build pt_chown only if
14201 build-pt-chown is enabled.
14202 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14203 pt_chown to fix pty ownership.
14204 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14205 CLOSE_ALL_FDS.
14206 * manual/install.texi (Configuring and compiling): Mention
14207 --enable-pt_chown. Add @findex for grantpt.
14208 * INSTALL: Regenerate.
14209
da2d62df
DM
142102013-07-20 David S. Miller <davem@davemloft.net>
14211
14212 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14213 difference between 32-bit and 64-bit.
14214
d7e06450
CD
142152013-07-15 Carlos O'Donell <carlos@redhat.com>
14216
14217 [BZ #15711]
14218 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14219 Avoid system header dependency with -ffreestanding.
14220 ($(objpfx)bits/syscall%d): Likewise.
14221
f959cfd7
DM
142222013-07-13 David S. Miller <davem@davemloft.net>
14223
14224 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14225 underflows from atanl/atan2l due to bug 15319.
14226 (casinh_test_data): Likewise.
14227
c61f8513
DM
142282013-07-07 David S. Miller <davem@davemloft.net>
14229
14230 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14231
72c90ed0
JA
142322013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14233
14234 * sysdeps/i386/fpu/libm-test-ulps: Update.
14235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14236
52dfbe13
SP
142372013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14238
14239 * configure.in (--enable-lock-elision): Fix message text.
14240 * INSTALL: Regenerate.
14241 * configure: Regenerate.
14242
3f169543
AZ
142432013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14244
14245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14246
521c6785
AJ
142472013-07-03 Andreas Jaeger <aj@suse.de>
14248
14249 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14250 define.
14251 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14252 (ptrace_peeksiginfo_args): Add.
14253 (__ptrace_peeksiginfo_flags): Add.
14254 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14256 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14257
d2cc15cb
AM
142582013-07-03 Allan McRae <allan@archlinux.org>
14259
14260 * sysdeps/i386/fpu/libm-test-ulps: Update.
14261
3aaeeca7
DM
142622013-07-02 David S. Miller <davem@davemloft.net>
14263
14264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14265
5314ed1a
MT
142662013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14267
14268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14269
67338156
JM
142702013-07-02 Joseph Myers <joseph@codesourcery.com>
14271
14272 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14274
1717da59
AK
142752013-07-02 Andi Kleen <ak@linux.intel.com>
14276
14277 * config.h.in (ENABLE_LOCK_ELISION): Add.
14278 * configure.in (--enable-lock-elision): Add option.
14279 * manual/install.texi: Document --enable lock elision.
14280 * configure: Regenerate
14281 * INSTALL: Regenerate.
14282
1c81621c
L
142832013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14284
14285 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14286 SSE4.2 strcasecmp for libc.a.
14287 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14288
77f01ab5
JM
142892013-07-02 Joseph Myers <joseph@codesourcery.com>
14290
14291 [BZ #13304]
14292 * soft-fp/op-common.h (_FP_FMA): New macro.
14293 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14294 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14295 (_FP_MUL_MEAT_1_imm): ... here.
14296 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14297 (_FP_MUL_MEAT_1_wide): ... here.
14298 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14299 (_FP_MUL_MEAT_1_hard): ... here.
14300 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14301 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14302 (_FP_MUL_MEAT_2_wide): ... here.
14303 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14304 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14305 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14306 (_FP_MUL_MEAT_2_gmp): ... here.
14307 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14308 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14309 (_FP_MUL_MEAT_4_wide): ... here.
14310 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14311 (_FP_MUL_MEAT_4_gmp): ... here.
14312 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14313 (_FP_WFRACBITS_DW_S): Likewise.
14314 (_FP_WFRACXBITS_DW_S): Likewise.
14315 (_FP_HIGHBIT_DW_S): Likewise.
14316 (FP_FMA_S): Likewise.
14317 (_FP_FRAC_HIGH_DW_S): Likewise.
14318 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14319 (_FP_WFRACBITS_DW_D): Likewise.
14320 (_FP_WFRACXBITS_DW_D): Likewise.
14321 (_FP_HIGHBIT_DW_D): Likewise.
14322 (FP_FMA_D): Likewise.
14323 (_FP_FRAC_HIGH_DW_D): Likewise.
14324 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14325 (_FP_WFRACBITS_DW_E): Likewise.
14326 (_FP_WFRACXBITS_DW_E): Likewise.
14327 (_FP_HIGHBIT_DW_E): Likewise.
14328 (FP_FMA_E): Likewise.
14329 (_FP_FRAC_HIGH_DW_E): Likewise.
14330 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14331 (_FP_WFRACBITS_DW_Q): Likewise.
14332 (_FP_WFRACXBITS_DW_Q): Likewise.
14333 (_FP_HIGHBIT_DW_Q): Likewise.
14334 (FP_FMA_Q): Likewise.
14335 (_FP_FRAC_HIGH_DW_Q): Likewise.
14336 * soft-fp/fmasf4.c: New file.
14337 * soft-fp/fmadf4.c: Likewise.
14338 * soft-fp/fmatf4.c: Likewise.
14339
6308fd9a
LD
143402013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14341
14342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14343 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14344 Silvermont.
14345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14346 macro.
14347 (index_Slow_SSE4_2): Likewise.
14348 (index_Prefer_PMINUB_for_stringop): Likewise.
14349 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14350 bit_Slow_SSE4_2 is set.
14351 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14352 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14353
89cd9569
RA
143542013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14355
14356 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14357 rtld_global._dl_hwcap2.
14358 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14359 POWER8.
14360 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14361 POWER8 feature descriptions defined in _dl_hwcap2.
14362 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14363 string handling for POWER8 feature bits.
14364 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14365 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14366 _dl_powerpc_cap_flags.
14367 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14368 * sysdeps/powerpc/rtld-global-offsets.sym
14369 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14370 _dl_hwcap2 in the rtld_global_ro structure.
14371
1ae8bfe0
RA
143722013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14373
14374 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14375 hardware capabilities in support of AT_HWCAP2.
14376 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14377 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14378 GLRO(dl_hwcap2).
14379 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14380 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14381 explicitly the unknown a_type display mechanism is used.
14382 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14383 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14384 struct member.
14385 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14386 to macro prototype for AT_HWCAP2 support.
14387 * sysdeps/i386/dl-procinfo.h: Likewise.
14388 * sysdeps/s390/dl-procinfo.h: Likewise.
14389 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14390 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14391 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14392 return -1 for unknown a_type display fallback.
14393 * sysdeps/sparc/dl-procinfo.h: Likewise.
14394 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14395 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14396
8fbec010
JM
143972013-06-28 Joseph Myers <joseph@codesourcery.com>
14398
14399 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14400 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14401
0432680e
PY
144022013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14403
14404 [BZ #12492]
14405 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14406 mprotect making __stack_prot writable.
14407
ce61a2ad
NF
144082013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14409 Joseph Myers <joseph@codesourcery.com>
14410
14411 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14412 as being properly aligned.
14413
f91f1c0f
MR
144142013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14415
3d0f5d0c
MR
14416 * dlfcn/modstatic5.c: New file.
14417 * dlfcn/tststatic5.c: New file.
14418 * dlfcn/Makefile (tests): Add tststatic5.
14419 (tests-static): Likewise.
14420 (modules-names): Add modstatic5.
14421 (tststatic5-ENV): New variable.
14422 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14423
f91f1c0f
MR
14424 [BZ #15022]
14425 * elf/dl-support.c (_dl_main_map): New variable.
14426 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14427 (_dl_nns, _dl_load_adds): Set to 1.
14428 (_dl_initial_searchlist): Refer to _dl_main_map.
14429 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14430 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14431 call to _dl_get_origin.
14432 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14433 around call_map.
14434 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14435 * dlfcn/modstatic3.c: New file.
14436 * dlfcn/tststatic3.c: New file.
14437 * dlfcn/tststatic4.c: New file.
14438 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14439 (tests-static): Likewise.
14440 (modules-names): Add modstatic3.
14441 (tststatic3-ENV, tststatic4-ENV): New variables.
14442 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14443 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14444
cbe7d24b
JM
144452013-06-26 Joseph Myers <joseph@codesourcery.com>
14446
14447 * configure.in (CC): Require GCC version 4.4 or later.
14448 * configure: Regenerated.
14449 * manual/install.texi (Tools for Compilation): Update GCC version
14450 requirement.
14451 * INSTALL: Regenerated.
14452
11b8a0e1
LD
144532013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14454
14455 [BZ #15674]
bb5bb87c
L
14456 * string/test-memcmp.c (check2): New.
14457 (main): Call check2.
14458
11b8a0e1
LD
14459 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14460
b0037103
MR
144612013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14462
14463 [BZ #15022]
14464 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14465 over to...
14466 (dl_open_worker) [!SHARED]: ... here.
14467
c18c701d
RA
144682013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14469
14470 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14471
1d17fa5f
RH
144722013-06-25 Richard Henderson <rth@redhat.com>
14473
14474 * locale/programs/locarchive.c: Include <libc-internal.h>
14475
8fcb833a
JM
144762013-06-25 Joseph Myers <joseph@codesourcery.com>
14477
14478 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14479 trailing whitespace removed.
14480
17db6e8d
MF
144812013-06-24 Mike Frysinger <vapier@gentoo.org>
14482
14483 [BZ #10283]
17db6e8d
MF
14484 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14485 * locale/programs/locarchive.c: Include libc-mmap.h.
14486 (prepare_address_space): Take two new outputs (the mmap base and len).
14487 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14488 values.
14489 (create_archive): Declare new mmap base and len values for
14490 prepare_address_space, and store the result in ah.
14491 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14492 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14493 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14494 Declare new mmap base and len values for
14495 prepare_address_space, and store the result in new_ah.
14496 (open_archive): Declare new mmap base and len values for
14497 prepare_address_space, and store the result in ah.
14498 (close_archive): If ah->mmap_base is not NULL, use that and
14499 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14500 * sysdeps/generic/libc-mmap.h: New file.
14501
d605071e
MF
145022013-06-24 Mike Frysinger <vapier@gentoo.org>
14503
14504 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14505 (ALIGN_UP): Likewise.
14506 (PTR_ALIGN_DOWN): Likewise.
14507 (PTR_ALIGN_UP): Likewise.
14508
2f063a6e
RA
145092013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14510
14511 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14512 entry mapped to PPC_PLATFORM_POWER8.
14513 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14514 POWER8.
14515 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14516 (_dl_string_platform): Add case for exporting platform position for
14517 POWER8.
14518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14519 search path to sysdeps/powerpc/powerpc32/power8 directory.
14520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14521 search path to sysdeps/powerpc/powerpc64/power8 directory.
14522 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14523 power7 directories.
14524 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14525 power7 directories.
14526
a31ee4b3
SP
145272013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14528
a74ca98f
SP
14529 * INSTALL: Regenerate.
14530
a31ee4b3
SP
14531 * nscd/connections.c (nscd_init): Fix comment.
14532
695c378f
JM
145332013-06-22 Joseph Myers <joseph@codesourcery.com>
14534
d8412221
JM
14535 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14536
695c378f
JM
14537 [BZ #15667]
14538 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14539 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14540
d1d54715
MR
145412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14542
14543 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14544 DL_DST_REQ_STATIC.
14545 (DL_DST_REQ_STATIC): Remove macro.
14546
8fdda7af
JM
145472013-06-21 Joseph Myers <joseph@codesourcery.com>
14548
14549 [BZ #7006]
14550 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14551 with a shift of 0 bits.
14552
f3bc5e5a
MR
145532013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14554
14555 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14556 $(tststatic-ENV).
14557
be09e8c9
KK
145582013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14559
14560 [BZ #15655]
14561 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14562
85c2e611
AZ
145632013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14564
14565 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14566 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14567 accepts -fno-tree-loop-distribute-patterns.
14568 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14569 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14570 recursive call.
14571 * string/memset.c (memset): Likewise.
14572 * string/test-memmove.c (simple_memmove): Disable loop transformation
14573 to library calls.
14574 * string/test-memset.c (simple_memset): Likewise.
14575 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14576 * benchtests/bench-memset.c (simple_memset): Likewise.
14577 * configure: Regenerated.
14578
c91e0825
JM
145792013-06-20 Joseph Myers <joseph@codesourcery.com>
14580
b8c792af
JM
14581 * math/test-misc.c (main): Ignore fesetround failure when failures
14582 of subsequent rounding tests would be ignored.
14583
c91e0825
JM
14584 [BZ #15654]
14585 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14586 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14587 * math/fegetenv.c (__fegetenv): Return 0.
14588 * math/fegetexcept.c (fegetexcept): Return 0.
14589 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14590 FE_TONEAREST.
14591 * math/feholdexcpt.c (feholdexcept): Return 0.
14592 * math/fesetenv.c (__fesetenv): Return 0.
14593 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14594 argument FE_TONEAREST.
14595 * math/feupdateenv.c (__feupdateenv): Return 0.
14596 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14597
bfcacbde
RM
145982013-06-18 Roland McGrath <roland@hack.frob.com>
14599
14600 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14601 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14602 ($(objpfx)rtld-%.os rules): Use them.
14603
e55a9b25
AZ
146042013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14605
14606 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14607 fields.
14608
346d65b3
RM
146092013-06-17 Roland McGrath <roland@hack.frob.com>
14610
12086fb4
RM
14611 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14612 length of target pattern, then descending length of dependency pattern.
14613 * configure.in (AWK): Require gawk 3.1.2 or newer.
14614 * manual/install.texi (Tools for Compilation): Say that we do.
14615 * configure: Regenerated.
14616
346d65b3
RM
14617 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14618 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14619 * scripts/sysd-rules.awk: ... this new script.
14620 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14621 than a glob-style pattern.
14622
1a846317
JM
146232013-06-17 Joseph Myers <joseph@codesourcery.com>
14624
14625 * math/test-misc.c (main): Do not treat incorrectly rounded
14626 conversions as failure unless ROUNDING_TESTS passes.
14627
8fc75e6f
JM
146282013-06-15 Joseph Myers <joseph@codesourcery.com>
14629
3711a167
JM
14630 [BZ #15631]
14631 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14632 restore exception state around main square root computation, then
14633 check for inexactness explicitly.
14634
8fc75e6f
JM
14635 * math/libm-test.inc (fma_test_data): Add another test.
14636
61dd6208
SP
146372013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14638
adf23d2c
SP
14639 * manual/threads.texi (Non-POSIX Extensions): New document
14640 node. Document pthread_getattr_default_np and
14641 pthread_setattr_default_np.
14642
61dd6208
SP
14643 * Versions.def (libpthread): Add GLIBC_2.18.
14644 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14646 Likewise.
14647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14648 Likewise.
14649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14650 Likewise.
14651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14652 Likewise.
14653 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14654 Likewise.
14655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14656 Likewise.
14657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14658 Likewise.
14659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14660 Likewise.
14661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14662 Likewise.
14663
d086fc7b
LD
146642013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14665
14666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14667 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14668
747ef469
SP
146692013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14670 H.J. Lu <hjl.tools@gmail.com>
14671
14672 [BZ #15627]
14673 * sysdeps/x86_64/rtld-memset.c: Remove file.
14674 * sysdeps/x86_64/rtld-memset.S: New file.
14675
1b2feed2
JM
146762013-06-14 Joseph Myers <joseph@codesourcery.com>
14677
14678 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14679 (test_in_one_mode): Take arguments for whether the rounding mode
14680 is supported for each floating-point type.
14681 (do_test): Pass new arguments to test_in_one_mode using
14682 ROUNDING_TESTS.
14683
a58ad3f8
RM
146842013-06-13 Roland McGrath <roland@hack.frob.com>
14685
14686 * posix/tst-waitid.c (do_test): Distinguish different instances of
14687 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14688 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14689 before entering the kernel for waitpid.
14690
c204ab28
SP
146912013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14692
14693 * NEWS: Fix note on clock function precision. Text by Roland
14694 McGrath.
14695
f4a29fba
RM
146962013-06-13 Roland McGrath <roland@hack.frob.com>
14697
14698 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14699 it into place only when and if the sanity check passes.
14700
1f24b9ad
JM
147012013-06-13 Joseph Myers <joseph@codesourcery.com>
14702
14703 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14704 output for whether conversion result is exact. Take argument
14705 indicating whether type is IBM long double.
14706 (round_for_all): Change need_exact field to ibm_ld.
14707 * stdlib/tst-strtod-round.c (struct exactness): New type.
14708 (struct test): Change bool ld_ok field to struct exactness exact.
14709 (TEST): Update all definitions for change to field.
14710 (tests): Regenerate array contents.
14711 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14712 field value. Check for IBM long double here.
14713 (do_test): Update calls to test_in_one_mode.
14714
58206c68
SP
147152013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14716
14717 [BZ #12515]
14718 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14719 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14720
2d6f4c5b 147212013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14722
14723 [BZ #15605]
14724 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14725 generated by the compiler on loop optimizations.
14726 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14727 general definitions.
14728
94f2c076
JM
147292013-06-12 Joseph Myers <joseph@codesourcery.com>
14730
14731 * math/bug-nextafter.c: Include <math-tests.h>.
14732 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14733 the relevant type.
14734 * math/bug-nexttoward.c: Include <math-tests.h>.
14735 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14736 the relevant type.
14737 * math/test-misc.c: Include <math-tests.h>.
14738 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14739 the relevant type.
14740
e0e50a0a
AJ
147412013-06-12 Andreas Jaeger <aj@suse.de>
14742
14743 * po/ia.po: Update Interlingua translation from translation
14744 project.
14745
25061094
SP
147462013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14747
14748 * include/fenv.h: Include stdbool.h.
14749 (struct rm_ctx): New structure.
14750 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14751 Define macro.
14752 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14753 (SET_RESTORE_ROUNDF): Likewise.
14754 (SET_RESTORE_ROUNDL): Likewise.
14755 (SET_RESTORE_ROUND_NOEX): Likewise.
14756 (SET_RESTORE_ROUND_NOEXF): Likewise.
14757 (SET_RESTORE_ROUND_NOEXL): Likewise.
14758 (SET_RESTORE_ROUND_53BIT): Likewise.
14759 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14760 (libc_feresetround_noexf_ctx): Likewise.
14761 (libc_feresetround_noexl_ctx): Likewise.
14762 (libc_feholdsetround_53bit_ctx): Likewise.
14763 (libc_feresetround_53bit_ctx): Likewise.
14764 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14765 (libc_feholdexcept_setround_sse_ctx): New function.
14766 (libc_fesetenv_sse_ctx): Likewise.
14767 (libc_feupdateenv_sse_ctx): Likewise.
14768 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14769 (libc_feholdexcept_setround_387_ctx): Likewise.
14770 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14771 (libc_feholdsetround_387_prec_ctx): Likewise.
14772 (libc_feholdsetround_387_ctx): Likewise.
14773 (libc_feholdsetround_387_53bit_ctx): Likewise.
14774 (libc_feholdsetround_sse_ctx): Likewise.
14775 (libc_feresetround_sse_ctx): Likewise.
14776 (libc_feresetround_387_ctx): Likewise.
14777 (libc_feupdateenv_387_ctx): Likewise.
14778 (libc_feholdexcept_setroundf_ctx): Define macro.
14779 (libc_fesetenvf_ctx): Likewise.
14780 (libc_feupdateenvf_ctx): Likewise.
14781 (libc_feholdsetroundf_ctx): Likewise.
14782 (libc_feresetroundf_ctx): Likewise.
14783 (libc_feholdexcept_setround_ctx): Likewise.
14784 (libc_fesetenv_ctx): Likewise.
14785 (libc_feupdateenv_ctx): Likewise.
14786 (libc_feholdsetround_ctx): Likewise.
14787 (libc_feresetround_ctx): Likewise.
14788 (libc_feholdexcept_setroundl_ctx): Likewise.
14789 (libc_feupdateenvl_ctx): Likewise.
14790 (libc_feholdsetroundl_ctx): Likewise.
14791 (libc_feresetroundl_ctx): Likewise.
14792 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14793 (libc_feresetround_53bit_ctx): Likewise.
14794
59b30555
SP
147952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14796
14797 * locale/iso-639.def: Convert to UTF-8.
14798
f1d73d30
JM
147992013-06-11 Joseph Myers <joseph@codesourcery.com>
14800
14801 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14802 (EXCEPTION_TESTS_double): Likewise.
14803 (EXCEPTION_TESTS_long_double): Likewise.
14804 (EXCEPTION_TESTS): Likewise.
14805 * math/libm-test.inc (test_exceptions): Only test exceptions if
14806 EXCEPTION_TESTS (FLOAT).
14807
94aca5e7
SP
148082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14809
14810 * benchtests/Makefile (string-bench): Add strcpy_chk and
14811 stpcpy_chk.
14812 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14813 * benchtests/bench-stpcpy_chk.c: New file.
14814 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14815 * benchtests/bench-strcpy_chk.c: New file.
14816 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14817 code.
14818 (do_test): Likewise.
14819
fac0c5f2
RA
148202013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14821
14822 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14823 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14824 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14825 with tabs where appropriate.
14826 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14827 dl-procinfo.h.
14828 [PPC_PLATFORM_PPC440]: Likewise.
14829 [PPC_PLATFORM_PPC464]: Likewise.
14830 [PPC_PLATFORM_PPC476]: Likewise.
14831 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14832 ppc464, and ppc476 platform strings merging from ports/
14833 dl-procinfo.h.
14834
f22bc486
AS
148352013-06-11 Andreas Schwab <schwab@suse.de>
14836
14837 [BZ #14991]
14838 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14839 (from_ucs4_idx): Regenerate.
14840 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14841 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14842 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14843 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14844 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14845 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14846 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14847 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14848 from FROM_LOOP and TO_LOOP specific macros.
14849 (BODY): Handle combining characters.
14850 * iconvdata/BIG5HKSCS.irreversible: Update.
14851 * iconvdata/BIG5HKSCS.precomposed: New file.
14852 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14853 characters.
14854 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14855
c1f75dc3
SP
148562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14857
4eacded2
SP
14858 * include/sys/time.h: Fix indentation and add copyright header.
14859
fec799f8
SP
14860 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14861 (do_test): Likewise.
14862 * string/test-memchr.c (do_one_test): Likewise.
14863 (do_test): Likewise.
14864 * string/test-memcmp.c (do_one_test): Likewise.
14865 (do_test): Likewise.
14866 * string/test-memcpy.c (do_one_test): Likewise.
14867 (do_test): Likewise.
14868 * string/test-memmem.c (do_one_test): Likewise.
14869 (do_test): Likewise.
14870 (do_random_tests): Likewise.
14871 * string/test-memmove.c (do_one_test): Likewise.
14872 (do_test): Likewise.
14873 * string/test-memset.c (do_one_test): Likewise.
14874 (do_test): Likewise.
14875 * string/test-rawmemchr.c (do_one_test): Likewise.
14876 (do_test): Likewise.
14877 * string/test-strcasecmp.c (do_one_test): Likewise.
14878 (do_test): Likewise.
14879 * string/test-strcasestr.c (do_one_test): Likewise.
14880 (do_test): Likewise.
14881 * string/test-strcat.c (do_one_test): Likewise.
14882 (do_test): Likewise.
14883 * string/test-strchr.c (do_one_test): Likewise.
14884 (do_test): Likewise.
14885 * string/test-strcmp.c (do_one_test): Likewise.
14886 (do_test): Likewise.
14887 * string/test-strcpy.c (do_one_test): Likewise.
14888 (do_test): Likewise.
14889 * string/test-string.h: Likewise.
14890 (test_init): Likewise.
14891 * string/test-strlen.c (do_one_test): Likewise.
14892 (do_test): Likewise.
14893 * string/test-strncasecmp.c (do_one_test): Likewise.
14894 (do_test): Likewise.
14895 * string/test-strncat.c (do_one_test): Likewise.
14896 (do_test): Likewise.
14897 * string/test-strncmp.c (do_one_test): Likewise.
14898 (do_test_limit): Likewise.
14899 (do_test): Likewise.
14900 * string/test-strncpy.c (do_one_test): Likewise.
14901 (do_test): Likewise.
14902 * string/test-strnlen.c (do_one_test): Likewise.
14903 (do_test): Likewise.
14904 * string/test-strpbrk.c (do_one_test): Likewise.
14905 (do_test): Likewise.
14906 * string/test-strrchr.c (do_one_test): Likewise.
14907 (do_test): Likewise.
14908 * string/test-strspn.c (do_one_test): Likewise.
14909 (do_test): Likewise.
14910 * string/test-strstr.c (do_one_test): Likewise.
14911 (do_test): Likewise.
14912
97020474
SP
14913 * benchtests/Makefile (string-bench): Add string benchmarks.
14914 * benchtests/bench-bcopy-ifunc.c: New file.
14915 * benchtests/bench-bcopy.c: New file.
14916 * benchtests/bench-bzero-ifunc.c: New file.
14917 * benchtests/bench-bzero.c: New file.
14918 * benchtests/bench-memccpy-ifunc.c: New file.
14919 * benchtests/bench-memccpy.c: New file.
14920 * benchtests/bench-memchr-ifunc.c: New file.
14921 * benchtests/bench-memchr.c: New file.
14922 * benchtests/bench-memcmp-ifunc.c: New file.
14923 * benchtests/bench-memcmp.c: New file.
14924 * benchtests/bench-memmem-ifunc.c: New file.
14925 * benchtests/bench-memmem.c: New file.
14926 * benchtests/bench-memmove-ifunc.c: New file.
14927 * benchtests/bench-memmove.c: New file.
14928 * benchtests/bench-mempcpy-ifunc.c: New file.
14929 * benchtests/bench-mempcpy.c: New file.
14930 * benchtests/bench-memset-ifunc.c: New file.
14931 * benchtests/bench-memset.c: New file.
14932 * benchtests/bench-rawmemchr-ifunc.c: New file.
14933 * benchtests/bench-rawmemchr.c: New file.
14934 * benchtests/bench-stpcpy-ifunc.c: New file.
14935 * benchtests/bench-stpcpy.c: New file.
14936 * benchtests/bench-stpncpy-ifunc.c: New file.
14937 * benchtests/bench-stpncpy.c: New file.
14938 * benchtests/bench-strcasecmp-ifunc.c: New file.
14939 * benchtests/bench-strcasecmp.c: New file.
14940 * benchtests/bench-strcasestr-ifunc.c: New file.
14941 * benchtests/bench-strcasestr.c: New file.
14942 * benchtests/bench-strcat-ifunc.c: New file.
14943 * benchtests/bench-strcat.c: New file.
14944 * benchtests/bench-strchr-ifunc.c: New file.
14945 * benchtests/bench-strchr.c: New file.
14946 * benchtests/bench-strchrnul-ifunc.c: New file.
14947 * benchtests/bench-strchrnul.c: New file.
14948 * benchtests/bench-strcmp-ifunc.c: New file.
14949 * benchtests/bench-strcmp.c: New file.
14950 * benchtests/bench-strcpy-ifunc.c: New file.
14951 * benchtests/bench-strcpy.c: New file.
14952 * benchtests/bench-strcspn-ifunc.c: New file.
14953 * benchtests/bench-strcspn.c: New file.
14954 * benchtests/bench-strlen-ifunc.c: New file.
14955 * benchtests/bench-strlen.c: New file.
14956 * benchtests/bench-strncasecmp-ifunc.c: New file.
14957 * benchtests/bench-strncasecmp.c: New file.
14958 * benchtests/bench-strncat-ifunc.c: New file.
14959 * benchtests/bench-strncat.c: New file.
14960 * benchtests/bench-strncmp-ifunc.c: New file.
14961 * benchtests/bench-strncmp.c: New file.
14962 * benchtests/bench-strncpy-ifunc.c: New file.
14963 * benchtests/bench-strncpy.c: New file.
14964 * benchtests/bench-strnlen-ifunc.c: New file.
14965 * benchtests/bench-strnlen.c: New file.
14966 * benchtests/bench-strpbrk-ifunc.c: New file.
14967 * benchtests/bench-strpbrk.c: New file.
14968 * benchtests/bench-strrchr-ifunc.c: New file.
14969 * benchtests/bench-strrchr.c: New file.
14970 * benchtests/bench-strspn-ifunc.c: New file.
14971 * benchtests/bench-strspn.c: New file.
14972 * benchtests/bench-strstr-ifunc.c: New file.
14973 * benchtests/bench-strstr.c: New file.
14974
c1f75dc3
SP
14975 * benchtests/Makefile: Disable parallel execution of targets.
14976 (string-bench): Add memcpy.
14977 (benchset): New variable to store a list of benchmark sets.
14978 (bench-func): Renamed from bench.
14979 (bench-set): New target.
14980 (bench): Depend on bench-func and bench-set.
14981 * benchtests/README: Add section on benchmark sets.
14982 * benchtests/bench-memcpy-ifunc.c: New file.
14983 * benchtests/bench-memcpy.c: New file.
14984 * benchtests/bench-string.h: New file.
14985
50fd745b
AS
149862013-06-11 Andreas Schwab <schwab@suse.de>
14987
14988 [BZ #15577]
14989 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14990 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14991 values in the triple.
14992 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14993 terminator in the group key.
14994
3ee7e9fe
AJ
149952013-06-11 Andreas Jaeger <aj@suse.de>
14996
14997 * po/zh_TW.po: Update Chinese (traditional) translation from
14998 translation project.
14999
89fb6835
SP
150002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15001
15002 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15003 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15004 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15005 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15006 (clock_getcpuclockid): Likewise.
15007 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15008 Add weak_alias and libc_hidden_def.
15009 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15010 * rt/clock_gettime.c (clock_gettime): Rename to
15011 __clock_gettime. Add weak_alias and libc_hidden_def.
15012 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15013 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15014 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15015 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15016 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15017 Likewise.
15018 * rt/clock_settime.c (clock_settime): Rename to
15019 __clock_settime. Add weak_alias and libc_hidden_def.
15020 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15021
0efa6f8b
JM
150222013-06-10 Joseph Myers <joseph@codesourcery.com>
15023
b8c61b4b
JM
15024 * mach/err_boot.sub: Remove trailing whitespace.
15025 * mach/err_ipc.sub: Likewise.
15026 * mach/err_mach.sub: Likewise.
15027
0efa6f8b
JM
15028 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15029 (ROUNDING_TESTS_double): Likewise.
15030 (ROUNDING_TESTS_long_double): Likewise.
15031 (ROUNDING_TESTS): Likewise.
15032 * math/libm-test.inc: Include <math-tests.h>.
15033 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15034 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15035 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15036 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15037
50b818bf
SP
150382013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15039
15040 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15041 of assigning.
15042
60d2f8f3
JM
150432013-06-08 Joseph Myers <joseph@codesourcery.com>
15044
4902d2c3
JM
15045 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15046 otherwise empty TRANS lines.
15047 * sysdeps/gnu/errlist.c: Regenerated.
15048
60d2f8f3
JM
15049 * catgets/gencat.c (error_print): Use (void) in function
15050 definition.
15051 * crypt/crypt_util.c (__init_des): Likewise.
15052 * crypt/speeds.c (Stop): Likewise.
15053 (main): Likewise.
15054 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15055 * inet/ruserpass.c (token): Likewise.
15056 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15057 * intl/localealias.c (extend_alias_table): Likewise.
15058 * intl/plural-exp.c (init_germanic_plural): Likewise.
15059 * libio/fcloseall.c (__fcloseall): Likewise.
15060 * libio/genops.c (_IO_flush_all): Likewise.
15061 (_IO_flush_all_linebuffered): Likewise.
15062 (_IO_cleanup): Likewise.
15063 (_IO_iter_begin): Likewise.
15064 (_IO_iter_end): Likewise.
15065 (_IO_list_lock): Likewise.
15066 (_IO_list_unlock): Likewise.
15067 (_IO_list_resetlock): Likewise.
15068 * libio/getchar.c (getchar): Likewise.
15069 * libio/getchar_u.c (getchar_unlocked): Likewise.
15070 * libio/getwchar.c (getwchar): Likewise.
15071 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15072 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15073 * login/getpt.c (__getpt): Likewise.
15074 * login/tst-utmp.c (main): Likewise.
15075 * malloc/hooks.c (__malloc_check_init): Likewise.
15076 * malloc/malloc.c (__malloc_stats): Likewise.
15077 * malloc/mtrace.c (tr_break): Likewise.
15078 (mtrace): Likewise.
15079 (muntrace): Likewise.
15080 * misc/fstab.c (endfsent): Likewise.
15081 * misc/getclktck.c (__getclktck): Likewise.
15082 * misc/getdtsz.c (__getdtablesize): Likewise.
15083 * misc/gethostid.c (gethostid): Likewise.
15084 * misc/getpagesize.c (__getpagesize): Likewise.
15085 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15086 (__get_nprocs): Likewise.
15087 (__get_phys_pages): Likewise.
15088 (__get_avphys_pages): Likewise.
15089 * misc/getttyent.c (getttyent): Likewise.
15090 (setttyent): Likewise.
15091 (endttyent): Likewise.
15092 * misc/getusershell.c (getusershell): Likewise.
15093 (endusershell): Likewise.
15094 (setusershell): Likewise.
15095 (initshells): Likewise.
15096 * misc/hsearch.c (__hdestroy): Likewise.
15097 * misc/sync.c (sync): Likewise.
15098 * misc/syslog.c (closelog_internal): Likewise.
15099 (closelog): Likewise.
15100 * misc/ttyslot.c (ttyslot): Likewise.
15101 * misc/vhangup.c (vhangup): Likewise.
15102 * posix/fork.c (__fork): Likewise.
15103 * posix/getegid.c (__getegid): Likewise.
15104 * posix/geteuid.c (__geteuid): Likewise.
15105 * posix/getgid.c (__getgid): Likewise.
15106 * posix/getpid.c (__getpid): Likewise.
15107 * posix/getppid.c (__getppid): Likewise.
15108 * posix/getuid.c (__getuid): Likewise.
15109 * posix/pause.c (pause): Likewise.
15110 * posix/setpgrp.c (setpgrp): Likewise.
15111 * posix/setsid.c (__setsid): Likewise.
15112 * posix/test-vfork.c (noop): Likewise.
15113 * resolv/gethnamaddr.c (_endhtent): Likewise.
15114 (_gethtent): Likewise.
15115 (ht_endhostent): Likewise.
15116 (gethostent): Likewise.
15117 (dns_service): Likewise.
15118 * stdlib/drand48.c (drand48): Likewise.
15119 * stdlib/lrand48.c (lrand48): Likewise.
15120 * stdlib/mrand48.c (mrand48): Likewise.
15121 * stdlib/rand.c (rand): Likewise.
15122 * stdlib/random.c (__random): Likewise.
15123 * stdlib/setenv.c (clearenv): Likewise.
15124 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15125 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15126 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15127 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15128 (__get_nprocs): Likewise.
15129 (__get_phys_pages): Likewise.
15130 (__get_avphys_pages): Likewise.
15131 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15132 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15133 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15134 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15135 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15136 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15137 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15138 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15139 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15140 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15141 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15142 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15143 * sysdeps/posix/clock.c (clock): Likewise.
15144 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15145 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15146 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15147 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15148 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15150 (__get_nprocs_conf): Likewise.
15151 (__get_phys_pages): Likewise.
15152 (__get_avphys_pages): Likewise.
15153 * time/clock.c (clock): Likewise.
15154 * time/tzset.c (__tzname_max): Likewise.
15155
2e09a79a
JM
151562013-06-07 Joseph Myers <joseph@codesourcery.com>
15157
15158 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15159 (__bswap_32): Do not use "register".
15160 * crypt/crypt.c (_ufc_doit_r): Likewise.
15161 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15162 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15163 * gmon/gmon.c (__monstartup): Likewise.
15164 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15165 * hurd/hurdmalloc.c (more_memory): Likewise.
15166 (malloc): Likewise.
15167 (free): Likewise.
15168 (realloc): Likewise.
15169 (malloc_fork_prepare): Likewise.
15170 (malloc_fork_parent): Likewise.
15171 (malloc_fork_child): Likewise.
15172 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15173 (_svcauth_des): Likewise.
15174 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15175 * inet/inet_net.c (inet_network): Likewise.
15176 * inet/inet_netof.c (inet_netof): Likewise.
15177 * inet/rcmd.c (__validuser2_sa): Likewise.
15178 * io/fts.c (fts_open): Likewise.
15179 (fts_load): Likewise.
15180 (fts_close): Likewise.
15181 (fts_read): Likewise.
15182 (fts_children): Likewise.
15183 (fts_build): Likewise.
15184 (fts_stat): Likewise.
15185 (fts_sort): Likewise.
15186 (fts_alloc): Likewise.
15187 (fts_lfree): Likewise.
15188 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15189 (_IO_file_xsgetn): Likewise.
15190 (_IO_file_xsgetn_mmap): Likewise.
15191 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15192 (_IO_cookie_write): Likewise.
15193 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15194 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15195 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15196 * malloc/obstack.c (_obstack_begin): Likewise.
15197 (_obstack_begin_1): Likewise.
15198 (_obstack_newchunk): Likewise.
15199 (_obstack_allocated_p): Likewise.
15200 (obstack_free): Likewise.
15201 (_obstack_memory_used): Likewise.
15202 * misc/getttyent.c (getttynam): Likewise.
15203 (getttyent): Likewise.
15204 (skip): Likewise.
15205 (value): Likewise.
15206 * misc/getusershell.c (initshells): Likewise.
15207 * misc/syslog.c (__vsyslog_chk): Likewise.
15208 * misc/ttyslot.c (ttyslot): Likewise.
15209 * nis/nis_hash.c (__nis_hash): Likewise.
15210 * posix/fnmatch_loop.c (FCT): Likewise.
15211 * posix/getconf.c (print_all): Likewise.
15212 (main): Likewise.
15213 * posix/getopt.c (exchange): Likewise.
15214 * posix/glob.c (globfree): Likewise.
15215 (prefix_array): Likewise.
15216 (__glob_pattern_type): Likewise.
15217 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15218 (NS_GET32): Likewise.
15219 (NS_PUT16): Likewise.
15220 (NS_PUT32): Likewise.
15221 * resolv/gethnamaddr.c (getanswer): Likewise.
15222 (gethostbyname2): Likewise.
15223 (gethostbyaddr): Likewise.
15224 (_gethtent): Likewise.
15225 (_gethtbyname2): Likewise.
15226 (_gethtbyaddr): Likewise.
15227 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15228 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15229 * resolv/res_init.c (__res_vinit): Likewise.
15230 (net_mask): Likewise.
15231 * resolv/res_mkquery.c (outchar): Likewise.
15232 (PRINT): Likewise.
15233 * stdio-common/printf_fp.c (outchar): Likewise.
15234 (PRINT): Likewise.
15235 * stdio-common/printf_fphex.c (outchar): Likewise.
15236 (PRINT): Likewise.
15237 * stdio-common/printf_size.c (outchar): Likewise.
15238 (PRINT): Likewise.
15239 * stdio-common/test_rdwr.c (main): Likewise.
15240 * stdio-common/tfformat.c (matches): Likewise.
15241 * stdio-common/vfprintf.c (outchar): Likewise.
15242 (printf_unknown): Likewise.
15243 (buffered_vfprintf): Likewise.
15244 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15245 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15246 (ReadFile): Likewise.
15247 * stdlib/qsort.c (SWAP): Likewise.
15248 (_quicksort): Likewise.
15249 * stdlib/setenv.c (__add_to_environ): Likewise.
15250 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15251 * stdlib/strtol_l.c (__strtol_l): Likewise.
15252 * stdlib/tst-strtod.c (main): Likewise.
15253 * stdlib/tst-strtol.c (main): Likewise.
15254 * stdlib/tst-strtoll.c (main): Likewise.
15255 * string/bits/string2.h (__strcmp_cc): Likewise.
15256 (__strcmp_cg): Likewise.
15257 (__strcspn_c1): Likewise.
15258 (__strcspn_c2): Likewise.
15259 (__strcspn_c3): Likewise.
15260 (__strspn_c1): Likewise.
15261 (__strspn_c2): Likewise.
15262 (__strspn_c3): Likewise.
15263 (__strsep_1c): Likewise.
15264 (__strsep_2c): Likewise.
15265 (__strsep_3c): Likewise.
15266 * string/memccpy.c (__memccpy): Likewise.
15267 * string/stpcpy.c (__stpcpy): Likewise.
15268 * string/strcmp.c (strcmp): Likewise.
15269 * string/strrchr.c (strrchr): Likewise.
15270 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15271 Likewise.
15272 * sysdeps/mach/hurd/getcwd.c
15273 (_hurd_canonicalize_directory_name_internal): Likewise.
15274 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15275 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15276 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15277 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15278 Likewise, in both definitions.
15279 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15280 definitions.
15281 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15282 64] (__bswap_64): Likewise.
15283 * time/test_time.c (main): Likewise.
15284 * time/tzfile.c (__tzfile_read): Likewise.
15285 (__tzfile_compute): Likewise.
15286 * time/tzset.c (__tzset_parse_tz): Likewise.
15287 (tzset_internal): Likewise.
15288 (compute_change): Likewise.
15289 * wcsmbs/wcscat.c (__wcscat): Likewise.
15290 * wcsmbs/wcschr.c (wcschr): Likewise.
15291 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15292 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15293 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15294 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15295 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15296 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15297 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15298 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15299 * wcsmbs/wmemset.c (wmemset): Likewise.
15300
9e54314b
JM
153012013-06-06 Joseph Myers <joseph@codesourcery.com>
15302
15303 * scripts/config.guess: Update to version 2013-05-16.
15304 * scripts/config.sub: Update to version 2013-04-24.
15305 * scripts/install-sh: Update to version 2011-11-20.07.
15306 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15307 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15308
350635a5
OB
153092013-06-06 Ondřej Bílka <neleai@seznam.cz>
15310
15311 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15312 * elf/sln.c: Likewise.
15313 * hurd/hurd/ioctl.h: Likewise.
15314 * hurd/hurdmalloc.c: Likewise.
15315 * hurd/xattr.c: Likewise.
15316 * include/shlib-compat.h: Likewise.
15317 * inet/ruserpass.c: Likewise.
15318 * libio/iofgets_u.c: Likewise.
15319 * libio/iofgetws_u.c: Likewise.
15320 * locale/programs/ld-identification.c: Likewise.
15321 * locale/programs/ld-time.c: Likewise.
15322 * mach/msg-destroy.c: Likewise.
15323 * nss/nss_files/files-netgrp.c: Likewise.
15324 * resolv/res_data.c: Likewise.
15325 * soft-fp/op-1.h: Likewise.
15326 * soft-fp/op-2.h: Likewise.
15327 * soft-fp/op-4.h: Likewise.
15328 * soft-fp/op-common.h: Likewise.
15329 * stdio-common/printf_fphex.c: Likewise.
15330 * stdlib/strtod_l.c: Likewise.
15331 * sunrpc/rpc/clnt.h: Likewise.
15332 * sysdeps/generic/framestate.c: Likewise.
15333 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15334 * sysdeps/i386/bsd-setjmp.S: Likewise.
15335 * sysdeps/i386/__longjmp.S: Likewise.
15336 * sysdeps/i386/setjmp.S: Likewise.
15337 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15338 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15339 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15340 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15341 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15342 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15343 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15344 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15345 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15346 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15347 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15348 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15349 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15350 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15351 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15352 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15355 * sysdeps/ieee754/support.c: Likewise.
15356 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15357 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15358 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15359 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15360 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15361 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15362 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15363 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15364 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15365 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15366 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15367 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15368 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15369 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15370 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15371 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15372 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15374
44a988af
OB
153752013-06-05 Ondřej Bílka <neleai@seznam.cz>
15376
25506f09 15377 * posix/transbug.c: Remove executable mode.
44a988af 15378
9c84384c
JM
153792013-06-05 Joseph Myers <joseph@codesourcery.com>
15380
15381 * crypt/speeds.c: Remove trailing whitespace.
15382 * dlfcn/default.c: Likewise.
15383 * elf/ifuncdep2.c: Likewise.
15384 * elf/ifuncmain1.c: Likewise.
15385 * elf/ifuncmain1vis.c: Likewise.
15386 * elf/testobj.h: Likewise.
15387 * elf/tst-stackguard1.c: Likewise.
15388 * gmon/sys/gmon.h: Likewise.
15389 * hurd/hurdmsg.c: Likewise.
15390 * hurd/new-fd.c: Likewise.
15391 * hurd/ports-get.c: Likewise.
15392 * iconvdata/ibm1008_420.c: Likewise.
15393 * inet/tst-getni1.c: Likewise.
15394 * inet/tst-getni2.c: Likewise.
15395 * libio/ioungetc.c: Likewise.
15396 * libio/wfiledoalloc.c: Likewise.
15397 * manual/libm-err-tab.pl: Likewise.
15398 * math/w_dremf.c: Likewise.
15399 * misc/ftruncate.c: Likewise.
15400 * posix/bug-glob2.c: Likewise.
15401 * posix/tst-pcre.c: Likewise.
15402 * posix/wait4.c: Likewise.
15403 * resolv/README: Likewise.
15404 * resolv/res_debug.h: Likewise.
15405 * resolv/tst-inet_ntop.c: Likewise.
15406 * setjmp/bug269-setjmp.c: Likewise.
15407 * soft-fp/extended.h: Likewise.
15408 * soft-fp/op-1.h: Likewise.
15409 * soft-fp/op-2.h: Likewise.
15410 * soft-fp/op-4.h: Likewise.
15411 * soft-fp/op-8.h: Likewise.
15412 * soft-fp/testit.c: Likewise.
15413 * stdio-common/bug16.c: Likewise.
15414 * stdlib/random.c: Likewise.
15415 * sunrpc/rpcsvc/rquota.x: Likewise.
15416 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15417 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15418 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15419 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15420 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15421 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15422 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15423 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15424 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15425 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15426 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15427 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15428 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15429 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15430 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15431 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15432 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15433 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15434 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15435 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15436 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15438 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15439 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15441 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15443 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15444 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15445 * sysdeps/ieee754/s_lib_version.c: Likewise.
15446 * sysdeps/mach/hurd/check_fds.c: Likewise.
15447 * sysdeps/mach/hurd/getsockname.c: Likewise.
15448 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15449 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15450 * sysdeps/powerpc/bits/link.h: Likewise.
15451 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15452 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15453 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15454 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15455 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15456 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15457 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15458 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15459 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15460 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15461 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15462 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15463 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15464 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15465 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15466 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15467 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15468 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15469 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15470 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15472 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15473 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15474 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15475 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15476 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15477 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15478 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15479 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15480 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15481 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15482 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15483 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15484 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15485 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15486 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15487 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15488 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15489 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15490 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15491 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15492 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15493 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15494 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15495 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15496 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15497 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15498 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15499 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15500 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15502 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15503 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15504 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15505 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15506 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15507 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15508 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15509 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15510 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15511 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15512 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15513 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15514 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15515 * sysdeps/powerpc/sysdep.h: Likewise.
15516 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15517 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15518 * sysdeps/sh/dl-trampoline.S: Likewise.
15519 * sysdeps/sh/memset.S: Likewise.
15520 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15521 * sysdeps/sh/strlen.S: Likewise.
15522 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15523 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15524 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15525 * sysdeps/sparc/sparc32/rem.S: Likewise.
15526 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15527 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15528 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15529 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15530 * sysdeps/sparc/sparc32/urem.S: Likewise.
15531 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15532 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15533 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15534 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15536 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15537 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15538 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15539 * sysdeps/unix/bsd/times.c: Likewise.
15540 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15541 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15546 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15547 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15548 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15549 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15550 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15551 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15552 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15553 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15554 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15555 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15556 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15557 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15558 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15559 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15560 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15561 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15562 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15563 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15564 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15565 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15566 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15567 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15568 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15569 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15570 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15571 * sysdeps/x86_64/strcspn.S: Likewise.
15572
869378a5
RA
155732013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15574
15575 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15576 generated file. Regenerate properly from gen-translit.pl.
15577 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15578 locale/C-translit.h.
15579
840e2943
AS
155802013-06-05 Andreas Schwab <schwab@suse.de>
15581
15582 [BZ #15100]
15583 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15584 week as 6 instead of -1.
15585 * time/tst-strptime.c (day_tests): Add test case.
15586
4c60cb0c
SP
155872013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15588
15589 * sysdeps/generic/math_private.h
15590 (libc_feholdexcept_setround_53bit): Replace with
15591 libc_feholdsetround_53bit.
15592 (libc_feupdateenv_53bit): Replace with
15593 libc_feresetround_53bit.
15594 (SET_RESTORE_ROUND_53BIT): Adjust.
15595
d180203e
SP
155962013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15597
96df079a
SP
15598 * string/test-strchrnul.c: Add copyright header.
15599
d180203e
SP
15600 * posix/tst-getaddrinfo4.c: Increase test timeout.
15601
8b0ccb2d
CD
156022013-06-03 Carlos O'Donell <carlos@redhat.com>
15603
15604 [BZ #15536]
15605 * math/libm-test.inc (MAX_EXP): Remove
15606 (MIN_EXP): Define.
15607 (ulp): Use MIN_EXP - MANT_DIG.
15608 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15609
3b3c4d40
CD
156102013-05-31 Carlos O'Donell <carlos@redhat.com>
15611
15612 * po/be.po: Revert last change.
15613 * po/zh_CN.po: Likewise.
15614 * po/header.pot: Likewise.
15615
fab7ce3f
JM
156162013-05-31 Joseph Myers <joseph@codesourcery.com>
15617
15618 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15619 link-libc-deps to empty as target-specific variable.
15620 * Makerules (link-libc-args): New variable.
15621 (libc-for-link): Likewise.
15622 (link-libc-deps): Likewise.
15623 (lib%.so): Depend on $(link-libc-deps). Link with
15624 $(link-libc-args).
15625 (build-module): Link with $(link-libc-args).
15626 (build-module-asneeded): Likewise.
15627 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15628 list of objects.
15629 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15630 target-specific variable.
15631 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15632 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15633 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15634 libc.
15635 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15636 libc and ld.so.
15637 ($(objpfx)libpcprofile.so): Likewise.
15638 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15639 libc_nonshared.a.
15640 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15641 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15642 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15643 $(link-libc-deps).
15644 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15645 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15646 * login/Makefile ($(objpfx)libutil.so): Likewise.
15647 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15648 * math/Makefile ($(objpfx)libm.so): Likewise.
15649 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15650 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15651 variable instead of depending directly on libc.
15652 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15653 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15654 $(link-libc-deps).
15655 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15656 libc.
15657 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15658 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15659 ($(objpfx)libanl.so): Likewise.
15660 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15661 ld.so.
15662 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15663 $(link-libc-deps).
15664 * sysdeps/i386/fpu/Makefile: Remove file.
15665 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15666 ($(objpfx)libm.so): Remove dependency on ld.so.
15667
eca5920c
PF
156682013-05-30 Patsy Franklin <pfrankli@redhat.com>
15669
15670 [BZ # 15553]
15671 * nis/yp_xdr.c (XDRMAXNAME): Define.
15672 (XDRMAXRECORD): Define.
15673 (xdr_domainname): Use XDRMAXNAME.
15674 (xdr_mapname): Likewise.
15675 (xdr_peername): Likewise.
15676 (xdr_keydat): Use XDRMAXRECORD.
15677 (xdr_valdat): Likewise.
15678
156792013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15680
15681 [BZ #14256]
15682 * manual/errno.texi (ESTALE): Update to account for more than
15683 just NFS file systems.
15684 * sysdeps/gnu/errlist.c: Regenerated.
15685
b9375348
SP
156862013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15687
15688 [BZ #15465]
15689 * elf/Makefile (tests): Add tst-null-argv.
15690 (modules-names): Add tst-null-argv-lib.
15691 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15692 (tst-null-argv-ENV): Set environment for tst-null-argv.
15693 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15694 (RTLD_PROGNAME): New macro.
15695 * elf/tst-null-argv.c: New test case.
15696 * elf/tst-null-argv-lib.c: Library for test case.
15697 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15698 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15699 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15700 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15701 * elf/dl-init.c (call_init): Likewise.
15702 (_dl_init): Likewise.
15703 * elf/dl-load.c (print_search_path): Likewise.
15704 (_dl_map_object): Likewise.
15705 * elf/dl-lookup.c (do_lookup_x): Likewise.
15706 (add_dependency): Likewise.
15707 (_dl_lookup_symbol_x): Likewise.
15708 (_dl_debug_bindings): Likewise.
15709 * elf/dl-open.c (_dl_show_scope): Likewise.
15710 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15711 * elf/dl-version.c (match_symbol): Likewise.
15712 (_dl_check_map_versions): Likewise.
15713 * elf/rtld.c (dl_main): Likewise.
15714 (print_unresolved): Use RTLD_PROGNAME.
15715 (print_missing_version): Likewise.
15716 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15717 (elf_machine_rela): Likewise.
15718 * sysdeps/powerpc/powerpc32/dl-machine.c
15719 (__process_machine_rela): Likewise.
15720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15721 Likewise.
15722 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15723 Likewise.
15724 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15725 Likewise.
15726 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15728 Likewise.
15729 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15730 Likewise.
15731 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15732
8a9f20c8
CD
157332013-05-28 Carlos O'Donell <carlos@redhat.com>
15734
15735 * po/be.po: Add descriptive title.
15736 * po/zh_CN.po: Likewise.
15737 * po/header.pot: Likewise.
15738
0e60d68e
MF
157392013-05-28 Mike Frysinger <vapier@gentoo.org>
15740
15741 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15742 error message.
15743 (enlarge_archive): Likewise.
15744
56b672e9
BN
157452013-05-28 Ben North <ben@redfrontdoor.org>
15746
15747 * manual/arith.texi (frexp): It is the magnitude of the return
15748 value which lies in [0.5, 1), not the return value itself.
15749
5e056687
AZ
157502013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15751
15752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15753
2b66ef5d
TS
157542013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15755
528c2405
TS
15756 * stdio-common/bug26.c (main): Correct fscanf template.
15757
07b4c13d
TS
15758 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15759 declare _dl_skip_args.
15760
ec9dd97c
TS
15761 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15762 Don't declare.
15763
2b66ef5d
TS
15764 * manual/platform.texi: Add missing @end deftypefun.
15765
4f8dfe27
JM
157662013-05-24 Joseph Myers <joseph@codesourcery.com>
15767
0323d086
JM
15768 [BZ #15529]
15769 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15770 bit of mantissa of 2^16382.
15771 * math/libm-test.inc (hypot_test_data): Add more tests.
15772
dd4259b9
JM
15773 * math/libm-test.inc: Add drem and pow10 to list of tested
15774 functions.
15775 (pow10_test): New function.
15776 (drem_test): Likewise.
15777 (drem_test_tonearest): Likewise.
15778 (drem_test_towardzero): Likewise.
15779 (drem_test_downward): Likewise.
15780 (drem_test_upward): Likewise.
15781 (main): Call the new functions.
15782
4f8dfe27
JM
15783 * math/libm-test.inc (finite_test_data): Remove.
15784 (finite_test): Run tests from isfinite_test_data.
15785 (gamma_test_data): Remove.
15786 (gamma_test): Run tests from lgamma_test_data.
15787 * sysdeps/i386/fpu/libm-test-ulps: Update.
15788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15789
d116b7c4
AZ
157902013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15791
15792 * manual/platform.texi: Add PowerPC PPR function set documentation.
15793 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15794 implementation.
15795
e96e3767
CD
157962013-05-24 Carlos O'Donell <carlos@redhat.com>
15797
15798 * math/libm-test.inc (MAX_EXP): Define.
15799 (ULPDIFF): Define.
15800 (ulp): New function.
15801 (check_float_internal): Use ULPDIFF.
15802 (cpow_test): Disable failing test.
15803 (check_ulp): Test ulp() implemetnation.
15804 (main): Call check_ulp before starting tests.
15805
b679a606
JM
158062013-05-24 Joseph Myers <joseph@codesourcery.com>
15807
e8bdba36
JM
15808 * math/gen-libm-test.pl (generate_testfile): Do not handle
15809 START_DATA and END_DATA.
15810 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15811 END_DATA.
15812 (acos_tonearest_test_data): Likewise.
15813 (acos_towardzero_test_data): Likewise.
15814 (acos_downward_test_data): Likewise.
15815 (acos_upward_test_data): Likewise.
15816 (acosh_test_data): Likewise.
15817 (asin_test_data): Likewise.
15818 (asin_tonearest_test_data): Likewise.
15819 (asin_towardzero_test_data): Likewise.
15820 (asin_downward_test_data): Likewise.
15821 (asin_upward_test_data): Likewise.
15822 (asinh_test_data): Likewise.
15823 (atan_test_data): Likewise.
15824 (atanh_test_data): Likewise.
15825 (atan2_test_data): Likewise.
15826 (cabs_test_data): Likewise.
15827 (cacos_test_data): Likewise.
15828 (cacosh_test_data): Likewise.
15829 (carg_test_data): Likewise.
15830 (casin_test_data): Likewise.
15831 (casinh_test_data): Likewise.
15832 (catan_test_data): Likewise.
15833 (catanh_test_data): Likewise.
15834 (cbrt_test_data): Likewise.
15835 (ccos_test_data): Likewise.
15836 (ccosh_test_data): Likewise.
15837 (ceil_test_data): Likewise.
15838 (cexp_test_data): Likewise.
15839 (cimag_test_data): Likewise.
15840 (clog_test_data): Likewise.
15841 (clog10_test_data): Likewise.
15842 (conj_test_data): Likewise.
15843 (copysign_test_data): Likewise.
15844 (cos_test_data): Likewise.
15845 (cos_tonearest_test_data): Likewise.
15846 (cos_towardzero_test_data): Likewise.
15847 (cos_downward_test_data): Likewise.
15848 (cos_upward_test_data): Likewise.
15849 (cosh_test_data): Likewise.
15850 (cosh_tonearest_test_data): Likewise.
15851 (cosh_towardzero_test_data): Likewise.
15852 (cosh_downward_test_data): Likewise.
15853 (cosh_upward_test_data): Likewise.
15854 (cpow_test_data): Likewise.
15855 (cproj_test_data): Likewise.
15856 (creal_test_data): Likewise.
15857 (csin_test_data): Likewise.
15858 (csinh_test_data): Likewise.
15859 (csqrt_test_data): Likewise.
15860 (ctan_test_data): Likewise.
15861 (ctan_tonearest_test_data): Likewise.
15862 (ctan_towardzero_test_data): Likewise.
15863 (ctan_downward_test_data): Likewise.
15864 (ctan_upward_test_data): Likewise.
15865 (ctanh_test_data): Likewise.
15866 (ctanh_tonearest_test_data): Likewise.
15867 (ctanh_towardzero_test_data): Likewise.
15868 (ctanh_downward_test_data): Likewise.
15869 (ctanh_upward_test_data): Likewise.
15870 (erf_test_data): Likewise.
15871 (erfc_test_data): Likewise.
15872 (exp_test_data): Likewise.
15873 (exp_tonearest_test_data): Likewise.
15874 (exp_towardzero_test_data): Likewise.
15875 (exp_downward_test_data): Likewise.
15876 (exp_upward_test_data): Likewise.
15877 (exp10_test_data): Likewise.
15878 (exp2_test_data): Likewise.
15879 (expm1_test_data): Likewise.
15880 (fabs_test_data): Likewise.
15881 (fdim_test_data): Likewise.
15882 (finite_test_data): Likewise.
15883 (floor_test_data): Likewise.
15884 (fma_test_data): Likewise.
15885 (fma_towardzero_test_data): Likewise.
15886 (fma_downward_test_data): Likewise.
15887 (fma_upward_test_data): Likewise.
15888 (fmax_test_data): Likewise.
15889 (fmin_test_data): Likewise.
15890 (fmod_test_data): Likewise.
15891 (fpclassify_test_data): Likewise.
15892 (frexp_test_data): Likewise.
15893 (gamma_test_data): Likewise.
15894 (hypot_test_data): Likewise.
15895 (ilogb_test_data): Likewise.
15896 (isfinite_test_data): Likewise.
15897 (isgreater_test_data): Likewise.
15898 (isgreaterequal_test_data): Likewise.
15899 (isinf_test_data): Likewise.
15900 (isless_test_data): Likewise.
15901 (islessequal_test_data): Likewise.
15902 (islessgreater_test_data): Likewise.
15903 (isnan_test_data): Likewise.
15904 (isnormal_test_data): Likewise.
15905 (issignaling_test_data): Likewise.
15906 (isunordered_test_data): Likewise.
15907 (j0_test_data): Likewise.
15908 (j1_test_data): Likewise.
15909 (jn_test_data): Likewise.
15910 (ldexp_test_data): Likewise.
15911 (lgamma_test_data): Likewise.
15912 (lrint_test_data): Likewise.
15913 (lrint_tonearest_test_data): Likewise.
15914 (lrint_towardzero_test_data): Likewise.
15915 (lrint_downward_test_data): Likewise.
15916 (lrint_upward_test_data): Likewise.
15917 (llrint_test_data): Likewise.
15918 (llrint_tonearest_test_data): Likewise.
15919 (llrint_towardzero_test_data): Likewise.
15920 (llrint_downward_test_data): Likewise.
15921 (llrint_upward_test_data): Likewise.
15922 (log_test_data): Likewise.
15923 (log10_test_data): Likewise.
15924 (log1p_test_data): Likewise.
15925 (log2_test_data): Likewise.
15926 (logb_test_data): Likewise.
15927 (logb_downward_test_data): Likewise.
15928 (lround_test_data): Likewise.
15929 (llround_test_data): Likewise.
15930 (modf_test_data): Likewise.
15931 (nearbyint_test_data): Likewise.
15932 (nextafter_test_data): Likewise.
15933 (nexttoward_test_data): Likewise.
15934 (pow_test_data): Likewise.
15935 (pow_tonearest_test_data): Likewise.
15936 (pow_towardzero_test_data): Likewise.
15937 (pow_downward_test_data): Likewise.
15938 (pow_upward_test_data): Likewise.
15939 (remainder_test_data): Likewise.
15940 (remainder_tonearest_test_data): Likewise.
15941 (remainder_towardzero_test_data): Likewise.
15942 (remainder_downward_test_data): Likewise.
15943 (remainder_upward_test_data): Likewise.
15944 (remquo_test_data): Likewise.
15945 (rint_test_data): Likewise.
15946 (rint_tonearest_test_data): Likewise.
15947 (rint_towardzero_test_data): Likewise.
15948 (rint_downward_test_data): Likewise.
15949 (rint_upward_test_data): Likewise.
15950 (round_test_data): Likewise.
15951 (scalb_test_data): Likewise.
15952 (scalbn_test_data): Likewise.
15953 (scalbln_test_data): Likewise.
15954 (signbit_test_data): Likewise.
15955 (sin_test_data): Likewise.
15956 (sin_tonearest_test_data): Likewise.
15957 (sin_towardzero_test_data): Likewise.
15958 (sin_downward_test_data): Likewise.
15959 (sin_upward_test_data): Likewise.
15960 (sincos_test_data): Likewise.
15961 (sinh_test_data): Likewise.
15962 (sinh_tonearest_test_data): Likewise.
15963 (sinh_towardzero_test_data): Likewise.
15964 (sinh_downward_test_data): Likewise.
15965 (sinh_upward_test_data): Likewise.
15966 (sqrt_test_data): Likewise.
15967 (tan_test_data): Likewise.
15968 (tan_tonearest_test_data): Likewise.
15969 (tan_towardzero_test_data): Likewise.
15970 (tan_downward_test_data): Likewise.
15971 (tan_upward_test_data): Likewise.
15972 (tanh_test_data): Likewise.
15973 (tgamma_test_data): Likewise.
15974 (trunc_test_data): Likewise.
15975 (y0_test_data): Likewise.
15976 (y1_test_data): Likewise.
15977 (yn_test_data): Likewise.
15978 (significand_test_data): Likewise.
15979
b679a606
JM
15980 * math/gen-libm-test.pl (@functions): Remove variable.
15981 (generate_testfile): Don't handle START and END lines.
15982 * math/libm-test.inc (START): New macro.
15983 (END): Likewise.
15984 (END_COMPLEX): Likewise.
15985 (acos_test): Use END macro without arguments.
15986 (acos_test_tonearest): Likewise.
15987 (acos_test_towardzero): Likewise.
15988 (acos_test_downward): Likewise.
15989 (acos_test_upward): Likewise.
15990 (acosh_test): Likewise.
15991 (asin_test): Likewise.
15992 (asin_test_tonearest): Likewise.
15993 (asin_test_towardzero): Likewise.
15994 (asin_test_downward): Likewise.
15995 (asin_test_upward): Likewise.
15996 (asinh_test): Likewise.
15997 (atan_test): Likewise.
15998 (atanh_test): Likewise.
15999 (atan2_test): Likewise.
16000 (cabs_test): Likewise.
16001 (cacos_test): Use END_COMPLEX macro without arguments.
16002 (cacosh_test): Likewise.
16003 (carg_test): Use END macro without arguments.
16004 (casin_test): Use END_COMPLEX macro without arguments.
16005 (casinh_test): Likewise.
16006 (catan_test): Likewise.
16007 (catanh_test): Likewise.
16008 (cbrt_test): Use END macro without arguments.
16009 (ccos_test): Use END_COMPLEX macro without arguments.
16010 (ccosh_test): Likewise.
16011 (ceil_test): Use END macro without arguments.
16012 (cexp_test): Use END_COMPLEX macro without arguments.
16013 (cimag_test): Use END macro without arguments.
16014 (clog_test): Use END_COMPLEX macro without arguments.
16015 (clog10_test): Likewise.
16016 (conj_test): Likewise.
16017 (copysign_test): Use END macro without arguments.
16018 (cos_test): Likewise.
16019 (cos_test_tonearest): Likewise.
16020 (cos_test_towardzero): Likewise.
16021 (cos_test_downward): Likewise.
16022 (cos_test_upward): Likewise.
16023 (cosh_test): Likewise.
16024 (cosh_test_tonearest): Likewise.
16025 (cosh_test_towardzero): Likewise.
16026 (cosh_test_downward): Likewise.
16027 (cosh_test_upward): Likewise.
16028 (cpow_test): Use END_COMPLEX macro without arguments.
16029 (cproj_test): Likewise.
16030 (creal_test): Use END macro without arguments.
16031 (csin_test): Use END_COMPLEX macro without arguments.
16032 (csinh_test): Likewise.
16033 (csqrt_test): Likewise.
16034 (ctan_test): Likewise.
16035 (ctan_test_tonearest): Likewise.
16036 (ctan_test_towardzero): Likewise.
16037 (ctan_test_downward): Likewise.
16038 (ctan_test_upward): Likewise.
16039 (ctanh_test): Likewise.
16040 (ctanh_test_tonearest): Likewise.
16041 (ctanh_test_towardzero): Likewise.
16042 (ctanh_test_downward): Likewise.
16043 (ctanh_test_upward): Likewise.
16044 (erf_test): Use END macro without arguments.
16045 (erfc_test): Likewise.
16046 (exp_test): Likewise.
16047 (exp_test_tonearest): Likewise.
16048 (exp_test_towardzero): Likewise.
16049 (exp_test_downward): Likewise.
16050 (exp_test_upward): Likewise.
16051 (exp10_test): Likewise.
16052 (exp2_test): Likewise.
16053 (expm1_test): Likewise.
16054 (fabs_test): Likewise.
16055 (fdim_test): Likewise.
16056 (finite_test): Likewise.
16057 (floor_test): Likewise.
16058 (fma_test): Likewise.
16059 (fma_test_towardzero): Likewise.
16060 (fma_test_downward): Likewise.
16061 (fma_test_upward): Likewise.
16062 (fmax_test): Likewise.
16063 (fmin_test): Likewise.
16064 (fmod_test): Likewise.
16065 (fpclassify_test): Likewise.
16066 (frexp_test): Likewise.
16067 (gamma_test): Likewise.
16068 (hypot_test): Likewise.
16069 (ilogb_test): Likewise.
16070 (isfinite_test): Likewise.
16071 (isgreater_test): Likewise.
16072 (isgreaterequal_test): Likewise.
16073 (isinf_test): Likewise.
16074 (isless_test): Likewise.
16075 (islessequal_test): Likewise.
16076 (islessgreater_test): Likewise.
16077 (isnan_test): Likewise.
16078 (isnormal_test): Likewise.
16079 (issignaling_test): Likewise.
16080 (isunordered_test): Likewise.
16081 (j0_test): Likewise.
16082 (j1_test): Likewise.
16083 (jn_test): Likewise.
16084 (ldexp_test): Likewise.
16085 (lgamma_test): Likewise.
16086 (lrint_test): Likewise.
16087 (lrint_test_tonearest): Likewise.
16088 (lrint_test_towardzero): Likewise.
16089 (lrint_test_downward): Likewise.
16090 (lrint_test_upward): Likewise.
16091 (llrint_test): Likewise.
16092 (llrint_test_tonearest): Likewise.
16093 (llrint_test_towardzero): Likewise.
16094 (llrint_test_downward): Likewise.
16095 (llrint_test_upward): Likewise.
16096 (log_test): Likewise.
16097 (log10_test): Likewise.
16098 (log1p_test): Likewise.
16099 (log2_test): Likewise.
16100 (logb_test): Likewise.
16101 (logb_test_downward): Likewise.
16102 (lround_test): Likewise.
16103 (llround_test): Likewise.
16104 (modf_test): Likewise.
16105 (nearbyint_test): Likewise.
16106 (nextafter_test): Likewise.
16107 (nexttoward_test): Likewise.
16108 (pow_test): Likewise.
16109 (pow_test_tonearest): Likewise.
16110 (pow_test_towardzero): Likewise.
16111 (pow_test_downward): Likewise.
16112 (pow_test_upward): Likewise.
16113 (remainder_test): Likewise.
16114 (remainder_test_tonearest): Likewise.
16115 (remainder_test_towardzero): Likewise.
16116 (remainder_test_downward): Likewise.
16117 (remainder_test_upward): Likewise.
16118 (remquo_test): Likewise.
16119 (rint_test): Likewise.
16120 (rint_test_tonearest): Likewise.
16121 (rint_test_towardzero): Likewise.
16122 (rint_test_downward): Likewise.
16123 (rint_test_upward): Likewise.
16124 (round_test): Likewise.
16125 (scalb_test): Likewise.
16126 (scalbn_test): Likewise.
16127 (scalbln_test): Likewise.
16128 (signbit_test): Likewise.
16129 (sin_test): Likewise.
16130 (sin_test_tonearest): Likewise.
16131 (sin_test_towardzero): Likewise.
16132 (sin_test_downward): Likewise.
16133 (sin_test_upward): Likewise.
16134 (sincos_test): Likewise.
16135 (sinh_test): Likewise.
16136 (sinh_test_tonearest): Likewise.
16137 (sinh_test_towardzero): Likewise.
16138 (sinh_test_downward): Likewise.
16139 (sinh_test_upward): Likewise.
16140 (sqrt_test): Likewise.
16141 (tan_test): Likewise.
16142 (tan_test_tonearest): Likewise.
16143 (tan_test_towardzero): Likewise.
16144 (tan_test_downward): Likewise.
16145 (tan_test_upward): Likewise.
16146 (tanh_test): Likewise.
16147 (tgamma_test): Likewise.
16148 (trunc_test): Likewise.
16149 (y0_test): Likewise.
16150 (y1_test): Likewise.
16151 (yn_test): Likewise.
16152 (significand_test): Likewise.
16153
bae143d2
OB
161542013-05-24 Ondřej Bílka <neleai@seznam.cz>
16155
16156 [BZ #15381]
16157 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16158
9323d39b
EM
161592013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16160
d4ea44a0 16161 [BZ #14894]
9323d39b
EM
16162 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16163 __ppc_mdoio and __ppc_mdoom.
16164 * manual/platform.texi: Document new functions __ppc_yield,
16165 __ppc_mdoio and __ppc_mdoom.
16166
13e23af7
CD
161672013-05-22 Carlos O'Donell <carlos@redhat.com>
16168
16169 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16170 (main): Mention "tls" pseudo-hwcap is legacy.
16171 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16172
351fe550
JM
161732013-05-22 Joseph Myers <joseph@codesourcery.com>
16174
16175 * math/gen-libm-test.pl (parse_args): Output only string of
16176 arguments as text for test name, not full call or descriptions of
16177 tests for extra outputs.
16178 (generate_testfile): Do not pass function name to parse_args.
16179 Generate this_func variable from START.
16180 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16181 field to arg_str.
16182 (struct test_ff_f_data): Likewise.
16183 (test_ff_f_data_nexttoward): Likewise.
16184 (struct test_fi_f_data): Likewise.
16185 (struct test_fl_f_data): Likewise.
16186 (struct test_if_f_data): Likewise.
16187 (struct test_fff_f_data): Likewise.
16188 (struct test_c_f_data): Likewise.
16189 (struct test_f_f1_data): Likewise. Remove field extra_name.
16190 (struct test_fF_f1_data): Likewise.
16191 (struct test_ffI_f1_data): Likewise.
16192 (struct test_c_c_data): Rename test_name field to arg_str.
16193 (struct test_cc_c_data): Likewise.
16194 (struct test_f_i_data): Likewise.
16195 (struct test_ff_i_data): Likewise.
16196 (struct test_f_l_data): Likewise.
16197 (struct test_f_L_data): Likewise.
16198 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16199 and extra2_name.
16200 (COMMON_TEST_SETUP): New macro.
16201 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16202 (COMMON_TEST_CLEANUP): Likewise.
16203 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16204 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16205 macros.
16206 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16207 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16208 macros.
16209 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16210 (RUN_TEST_fff_f): Take argument string. Call new setup and
16211 cleanup macros.
16212 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16213 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16214 macros.
16215 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16216 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16217 macros.
16218 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16219 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16220 cleanup macros.
16221 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16222 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16223 cleanup macros.
16224 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16225 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16226 cleanup macros.
16227 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16228 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16229 macros.
16230 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16231 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16232 macros.
16233 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16234 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16235 macros.
16236 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16237 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16238 cleanup macros.
16239 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16240 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16241 cleanup macros.
16242 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16243 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16244 macros.
16245 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16246 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16247 cleanup macros.
16248 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16249 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16250 macros.
16251 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16252 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16253 macros.
16254 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16255 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16256 cleanup macros.
16257 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16258
85118d4d
EBM
162592013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16260
16261 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16262 to _sifields.sigfault.
16263 (si_addr_lsb): Define new macro.
16264 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16265 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16266 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16267
7a44c18f
CD
162682013-05-03 Carlos O'Donell <carlos at redhat.com>
16269
16270 [BZ #15441]
16271 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16272 returns -1.
16273 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16274 null return -1.
16275 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16276 loading the domain.
16277
b50a7181
JM
162782013-05-22 Joseph Myers <joseph@codesourcery.com>
16279
16280 * math/gen-libm-test.pl (parse_args): Do not include expected
16281 result in test name.
16282 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16283 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16284 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16285 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16286 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16288
051063c8
SP
162892013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16290
3ce9e010
SP
16291 * benchtests/Makefile: Sort function entries.
16292
051063c8
SP
16293 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16294 tanh, asinh, acosh, atanh.
16295 * benchtests/acos-inputs: New file.
16296 * benchtests/acosh-inputs: New file.
16297 * benchtests/asin-inputs: New file.
16298 * benchtests/asinh-inputs: New file.
16299 * benchtests/atanh-inputs: New file.
16300 * benchtests/cosh-inputs: New file.
16301 * benchtests/log-inputs: New file.
16302 * benchtests/sinh-inputs: New file.
16303 * benchtests/tanh-inputs: New file.
16304
47c22455
DL
163052013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16306
16307 [BZ #15339]
16308 * posix/tst-getaddrinfo4.c: New test.
16309 * posix/Makefile (tests): Add it.
16310
3d04f5db
SP
163112013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16312
16313 [BZ #15339]
16314 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16315 when no services were used.
16316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16317 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16318
d5dd6189
AS
163192013-05-21 Andreas Schwab <schwab@suse.de>
16320
16321 [BZ #15014]
16322 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16323 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16324 successful.
16325 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16326 redundant variable declarations and reallocation of buffer when
16327 parsing as IPv6 address. Always set NSS status when called from
16328 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16329 buffer too small. Correct computation of needed size.
16330 * nss/Makefile (tests): Add test-digits-dots.
16331 * nss/test-digits-dots.c: New test.
16332
fef94eab
SP
163332013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16334
16335 * benchtests/Makefile: Remove instructions for adding
16336 benchmark tests.
16337 * benchtests/README: New file to explain how to execute and
16338 enhance the benchmark tests.
16339
e39adf43
AS
163402013-05-21 Andreas Schwab <schwab@suse.de>
16341
16342 [BZ #15493]
16343 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16344 * setjmp/tst-sigsetjmp.c: New test.
16345
b2b671b6
OB
163462013-05-20 Ondřej Bílka <neleai@seznam.cz>
16347
16348 * sysdeps/x86_64/memset.S (memset): New implementation.
16349 (__bzero): Likewise.
16350 (__memset_tail): New function.
16351
2d48b41c
OB
163522013-05-20 Ondřej Bílka <neleai@seznam.cz>
16353
16354 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16355 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16356 __memcpy_sse2_unaligned ifunc selection.
16357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16358 Add memcpy-sse2-unaligned.S.
16359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16360 Add: __memcpy_sse2_unaligned.
16361
f16cc3eb
JM
163622013-05-19 Joseph Myers <joseph@codesourcery.com>
16363
3e694268
JM
16364 [BZ #15490]
16365 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16366 math_force_eval before restoring floating-point envrionment.
16367 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16368 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16369 Likewise.
16370 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16371 <math_private.h>.
16372 (__nearbyintl): Use math_force_eval before restoring
16373 floating-point environment.
16374 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16375
db62a907
JM
16376 * math/gen-libm-test.pl (special_functions): Remove.
16377 (parse_args): Don't handle TEST_extra. Handle functions with no
16378 return value.
16379 * math/libm-test.inc (struct test_sincos_data): Replace with
16380 struct test_fFF_11_data.
16381 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16382 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16383 (sincos_test_data): Change element type to struct
16384 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16385 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16386 RUN_TEST_LOOP_sincos.
16387 * math/README.libm-test: Don't mention special handling of
16388 individual functions.
16389 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16390 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16391 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16392 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16393 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16395
f16cc3eb
JM
16396 * math/gen-libm-test.pl (get_variable): Remove function.
16397 (parse_args): Don't show pointer parameters to call in test
16398 names. Use "extra output N" in test names for extra outputs
16399 rather than naming variables.
16400
3779b5b6
JM
164012013-05-18 Joseph Myers <joseph@codesourcery.com>
16402
2ee094ff
JM
16403 [BZ #15488]
16404 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16405 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16406 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16407 double tests.
16408 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16409 disable.
16410 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16411 check_long_double.
16412
3779b5b6
JM
16413 * math/gen-libm-test.pl (@tests): Remove variable.
16414 ($count): Likewise.
16415 (new_test): Remove function.
16416 (show_exceptions): New function.
16417 (special_functions): Use show_exceptions instead of new_test.
16418 (parse_args): Likewise.
16419 (generate_testfile): Pass only function name in generated call to
16420 print_max_error or print_complex_max_error.
16421 (get_ulps): Do not handle complex tests specially.
16422 (output_test): Rename to ...
16423 (get_all_ulps_for_test): ... this. Return a string rather than
16424 printing to a file. Require ulps to be present.
16425 (output_ulps): Generate arrays rather than #defines.
16426 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16427 (struct ulp_data): New type.
16428 (BUILD_COMPLEX_ULP): Remove macro.
16429 (compare_ulp_data): New function.
16430 (find_ulps): Likewise.
16431 (find_test_ulps): Likewise.
16432 (find_function_ulps): Likewise.
16433 (find_complex_function_ulps): Likewise.
16434 (print_max_error): Determine allowed ulps using
16435 find_function_ulps.
16436 (print_complex_max_error): Determine allowed ulps using
16437 find_complex_function_ulps.
16438 (check_float_internal): Determine max ulps using find_test_ulps.
16439 (check_float): Do not take max_ulp parameter. Update call to
16440 check_float_internal.
16441 (check_complex): Likewise.
16442 (check_int): Do not take max_ulp parameter.
16443 (check_long): Likewise.
16444 (check_bool): Likewise.
16445 (check_longlong): Likewise.
16446 (struct test_f_f_data): Remove max_ulp field.
16447 (struct test_ff_f_data): Likewise.
16448 (struct test_ff_f_data_nexttoward): Likewise.
16449 (struct test_fi_f_data): Likewise.
16450 (struct test_fl_f_data): Likewise.
16451 (struct test_if_f_data): Likewise.
16452 (struct test_fff_f_data): Likewise.
16453 (struct test_c_f_data): Likewise.
16454 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16455 (struct test_fF_f1_data): Likewise.
16456 (struct test_ffI_f1_data): Likewise.
16457 (struct test_c_c_data): Remove max_ulp field.
16458 (struct test_cc_c_data): Likewise.
16459 (struct test_f_i_data): Likewise.
16460 (struct test_ff_i_data): Likewise.
16461 (struct test_f_l_data): Likewise.
16462 (struct test_f_L_data): Likewise.
16463 (struct test_sincos_data): Likewise.
16464 (RUN_TEST_f_f): Do not handle ulps.
16465 (RUN_TEST_LOOP_f_f): Likewise.
16466 (RUN_TEST_2_f): Likewise.
16467 (RUN_TEST_LOOP_2_f): Likewise.
16468 (RUN_TEST_fff_f): Likewise.
16469 (RUN_TEST_LOOP_fff_f): Likewise.
16470 (RUN_TEST_c_f): Likewise.
16471 (RUN_TEST_LOOP_c_f): Likewise.
16472 (RUN_TEST_f_f1): Likewise.
16473 (RUN_TEST_LOOP_f_f1): Likewise.
16474 (RUN_TEST_fF_f1): Likewise.
16475 (RUN_TEST_LOOP_fF_f1): Likewise.
16476 (RUN_TEST_fI_f1): Likewise.
16477 (RUN_TEST_LOOP_fI_f1): Likewise.
16478 (RUN_TEST_ffI_f1): Likewise.
16479 (RUN_TEST_LOOP_ffI_f1): Likewise.
16480 (RUN_TEST_c_c): Likewise.
16481 (RUN_TEST_LOOP_c_c): Likewise.
16482 (RUN_TEST_cc_c): Likewise.
16483 (RUN_TEST_LOOP_cc_c): Likewise.
16484 (RUN_TEST_f_i): Likewise.
16485 (RUN_TEST_LOOP_f_i): Likewise.
16486 (RUN_TEST_f_i_tg): Likewise.
16487 (RUN_TEST_LOOP_f_i_tg): Likewise.
16488 (RUN_TEST_ff_i_tg): Likewise.
16489 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16490 (RUN_TEST_f_b): Likewise.
16491 (RUN_TEST_LOOP_f_b): Likewise.
16492 (RUN_TEST_f_b_tg): Likewise.
16493 (RUN_TEST_LOOP_f_b_tg): Likewise.
16494 (RUN_TEST_f_l): Likewise.
16495 (RUN_TEST_LOOP_f_l): Likewise.
16496 (RUN_TEST_f_L): Likewise.
16497 (RUN_TEST_LOOP_f_L): Likewise.
16498 (RUN_TEST_sincos): Likewise.
16499 (RUN_TEST_LOOP_sincos): Likewise.
16500
8269107f
JM
165012013-05-17 Joseph Myers <joseph@codesourcery.com>
16502
bb38759d
JM
16503 [BZ #15480]
16504 [BZ #15485]
16505 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16506 main case of finite arguments, set rounding mode to FE_TONEAREST
16507 and discard exceptions.
16508 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16509 exceptions.
16510 (remainder_tonearest_test_data): New variable.
16511 (remainder_test_tonearest): New function.
16512 (remainder_towardzero_test_data): New variable.
16513 (remainder_test_towardzero): New function.
16514 (remainder_downward_test_data): New variable.
16515 (remainder_test_downward): New function.
16516 (remainder_upward_test_data): New variable.
16517 (remainder_test_upward): New function.
16518 (main): Call the new test functions.
16519
a00bdcf0
JM
16520 * math/libm-test.inc (struct test_f_f1_data): Remove field
16521 extra_init.
16522 (struct test_fF_f1_data): Likewise.
16523 (struct test_ffI_f1_data): Likewise.
16524 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16525 based on value of EXTRA_EXPECTED.
16526 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16527 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16528 EXTRA_VAR based on value of EXTRA_EXPECTED.
16529 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16530 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16531 EXTRA_VAR based on value of EXTRA_EXPECTED.
16532 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16533 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16534 EXTRA_VAR based on value of EXTRA_EXPECTED.
16535 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16536 * math/gen-libm-test.pl (parse_args): Don't output initializers
16537 for extra output values.
16538
de407f79
JM
16539 * math/libm-test.inc (check_int): Expect result to be exactly
16540 equal to expected value and do not handle ulps.
16541 (check_long): Likewise.
16542 (check_longlong): Likewise.
16543
8269107f
JM
16544 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16545 exceptions.
16546 (cimag_test_data): Likewise.
16547 (conj_test_data): Likewise.
16548 (copysign_test_data): Likewise.
16549 (cproj_test_data): Likewise.
16550 (creal_test_data): Likewise.
16551 (fabs_test_data): Likewise.
16552 (fdim_test_data): Likewise.
16553 (finite_test_data): Likewise.
16554 (floor_test_data): Likewise.
16555 (fmax_test_data): Likewise.
16556 (fmin_test_data): Likewise.
16557 (fmod_test_data): Likewise.
16558 (fpclassify_test_data): Likewise.
16559 (frexp_test_data): Likewise.
16560 (ilogb_test_data): Likewise.
16561 (isfinite_test_data): Likewise.
16562 (isgreater_test_data): Likewise.
16563 (isgreaterequal_test_data): Likewise.
16564 (isinf_test_data): Likewise.
16565 (isless_test_data): Likewise.
16566 (islessequal_test_data): Likewise.
16567 (islessgreater_test_data): Likewise.
16568 (isnan_test_data): Likewise.
16569 (isnormal_test_data): Likewise.
16570 (issignaling_test_data): Likewise.
16571 (isunordered_test_data): Likewise.
16572 (ldexp_test_data): Likewise.
16573 (lrint_test_data): Likewise.
16574 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16575 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16576 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16577 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16578 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16579 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16580 test input.
16581 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16582 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16583 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16584 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16585 that test input.
16586 (lrint_downward_test_data): Test for "inexact" exceptions.
16587 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16588 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16589 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16590 test input.
16591 (lrint_upward_test_data): Test for "inexact" exceptions.
16592 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16593 test input.
16594 (llrint_test_data): Test for "inexact" exceptions.
16595 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16596 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16597 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16598 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16599 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16600 (llrint_downward_test_data): Test for "inexact" exceptions.
16601 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16602 (llrint_upward_test_data): Test for "inexact" exceptions.
16603 (logb_test_data): Likewise.
16604 (logb_downward_test_data): Likewise.
16605 (nextafter_test_data): Likewise.
16606 (nexttoward_test_data): Likewise.
16607 (remainder_test_data): Likewise.
16608 (remquo_test_data): Likewise.
16609 (scalbn_test_data): Likewise.
16610 (scalbln_test_data): Likewise.
16611 (signbit_test_data): Likewise.
16612 (sqrt_test_data): Likewise.
16613 (significand_test_data): Likewise.
16614
48a18de1
SP
166152013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16616
16617 [BZ #15424]
16618 * benchtests/bench-modf.c (struct args): Mark arg0 as
16619 volatile.
16620 * scripts/bench.pl: Mark members of struct args as volatile.
16621
13d3b41a
AZ
166222013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16623
68191c1d 16624 [BZ # 15497]
13d3b41a
AZ
16625 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16626 negative infinity on POWER6 or lower.
16627 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16628
2848b105
MR
166292013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16630
16631 [BZ #15442]
16632 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16633 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16634 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16635 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16636 (_FP_SETQNAN): New macro.
16637 (_FP_SETQNAN_SEMIRAW): Likewise.
16638 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16639 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16640 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16641 (FP_EXTEND): Use _FP_FRAC_SNANP.
16642 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16643 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16644 into account.
16645 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16646 New macro.
16647 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16648 Likewise.
16649
323e5cb7
JM
166502013-05-16 Joseph Myers <joseph@codesourcery.com>
16651
c58b274f
JM
16652 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16653 with DIVIDE_BY_ZERO_EXCEPTION.
16654 (gamma_test_data): Likewise.
16655 (lgamma_test_data): Likewise.
16656 (log_test_data): Likewise.
16657 (log10_test_data): Likewise.
16658 (log2_test_data): Likewise.
16659 (tgamma_test_data): Likewise.
16660
0ab34904
JM
16661 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16662 (acos_test_tonearest): Likewise.
16663 (acos_test_towardzero): Likewise.
16664 (acos_test_downward): Likewise.
16665 (acos_test_upward): Likewise.
16666 (acosh_test): Likewise.
16667 (asin_test): Likewise.
16668 (asin_test_tonearest): Likewise.
16669 (asin_test_towardzero): Likewise.
16670 (asin_test_downward): Likewise.
16671 (asin_test_upward): Likewise.
16672 (asinh_test): Likewise.
16673 (atan_test): Likewise.
16674 (atanh_test): Likewise.
16675 (atan2_test): Likewise.
16676 (cabs_test): Likewise.
16677 (cacos_test): Likewise.
16678 (cacosh_test): Likewise.
16679 (casin_test): Likewise.
16680 (casinh_test): Likewise.
16681 (catan_test): Likewise.
16682 (catanh_test): Likewise.
16683 (cbrt_test): Likewise.
16684 (ccos_test): Likewise.
16685 (ccosh_test): Likewise.
16686 (cexp_test): Likewise.
16687 (clog_test): Likewise.
16688 (clog10_test): Likewise.
16689 (cos_test): Likewise.
16690 (cos_test_tonearest): Likewise.
16691 (cos_test_towardzero): Likewise.
16692 (cos_test_downward): Likewise.
16693 (cos_test_upward): Likewise.
16694 (cosh_test): Likewise.
16695 (cosh_test_tonearest): Likewise.
16696 (cosh_test_towardzero): Likewise.
16697 (cosh_test_downward): Likewise.
16698 (cosh_test_upward): Likewise.
16699 (cpow_test): Likewise.
16700 (csin_test): Likewise.
16701 (csinh_test): Likewise.
16702 (csqrt_test): Likewise.
16703 (ctan_test): Likewise.
16704 (ctan_test_tonearest): Likewise.
16705 (ctan_test_towardzero): Likewise.
16706 (ctan_test_downward): Likewise.
16707 (ctan_test_upward): Likewise.
16708 (ctanh_test): Likewise.
16709 (ctanh_test_tonearest): Likewise.
16710 (ctanh_test_towardzero): Likewise.
16711 (ctanh_test_downward): Likewise.
16712 (ctanh_test_upward): Likewise.
16713 (erf_test): Likewise.
16714 (erfc_test): Likewise.
16715 (exp_test): Likewise.
16716 (exp_test_tonearest): Likewise.
16717 (exp_test_towardzero): Likewise.
16718 (exp_test_downward): Likewise.
16719 (exp_test_upward): Likewise.
16720 (exp10_test): Likewise.
16721 (exp2_test): Likewise.
16722 (expm1_test): Likewise.
16723 (fmod_test): Likewise.
16724 (gamma_test): Likewise.
16725 (hypot_test): Likewise.
16726 (j0_test): Likewise.
16727 (j1_test): Likewise.
16728 (jn_test): Likewise.
16729 (lgamma_test): Likewise.
16730 (log_test): Likewise.
16731 (log10_test): Likewise.
16732 (log1p_test): Likewise.
16733 (log2_test): Likewise.
16734 (logb_test_downward): Likewise.
16735 (pow_test): Likewise.
16736 (pow_test_tonearest): Likewise.
16737 (pow_test_towardzero): Likewise.
16738 (pow_test_downward): Likewise.
16739 (pow_test_upward): Likewise.
16740 (remainder_test): Likewise.
16741 (remquo_test): Likewise.
16742 (sin_test): Likewise.
16743 (sin_test_tonearest): Likewise.
16744 (sin_test_towardzero): Likewise.
16745 (sin_test_downward): Likewise.
16746 (sin_test_upward): Likewise.
16747 (sincos_test): Likewise.
16748 (sinh_test): Likewise.
16749 (sinh_test_tonearest): Likewise.
16750 (sinh_test_towardzero): Likewise.
16751 (sinh_test_downward): Likewise.
16752 (sinh_test_upward): Likewise.
16753 (sqrt_test): Likewise.
16754 (tan_test): Likewise.
16755 (tan_test_tonearest): Likewise.
16756 (tan_test_towardzero): Likewise.
16757 (tan_test_downward): Likewise.
16758 (tan_test_upward): Likewise.
16759 (tanh_test): Likewise.
16760 (tgamma_test): Likewise.
16761 (y0_test): Likewise.
16762 (y1_test): Likewise.
16763 (yn_test): Likewise.
16764
323e5cb7
JM
16765 * math/gen-libm-test.pl (adjust_arg): Remove function.
16766 (special_function): Remove argument $in_func. Only handle
16767 generating output for tables of tests, not inside functions.
16768 (parse_args): Likewise.
16769 (generate_testfile): Remove variable $in_func. Update call to
16770 parse_args.
16771 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16772 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16773 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16774 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16775 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16776 (MAX_VALUE_INIT): Rename macro to max_value.
16777 (MIN_VALUE_INIT): Rename macro to min_value.
16778 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16779 (plus_zero): Remove variable.
16780 (minus_zero): Likewise.
16781 (plus_infty): Likewise.
16782 (minus_infty): Likewise.
16783 (qnan_value): Likewise.
16784 (max_value): Likewise.
16785 (min_value): Likewise.
16786 (min_subnorm_value): Likewise.
16787
e054f494
RA
167882013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16789
16790 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16791 uint64_t or uint32_t usage.
16792 * crypt/sha256-block.c: Likewise.
16793 * crypt/sha256-crypt.c: Likewise.
16794 * crypt/sha256.c: Likewise.
16795 * crypt/sha512-block.c: Likewise.
16796 * crypt/sha512-crypt.c: Likewise.
16797 * crypt/sha512.c: Likewise.
16798 * debug/backtrace-tst.c: Likewise.
16799 * debug/pcprofiledump.c: Likewise.
16800 * elf/cache.c: Likewise.
16801 * elf/dl-cache.c: Likewise.
16802 * elf/dl-misc.c: Likewise.
16803 * elf/dl-profile.c: Likewise.
16804 * elf/dl-support.c: Likewise.
16805 * elf/ldconfig.c: Likewise.
16806 * elf/sprof.c: Likewise.
16807 * iconv/dummy-repertoire.c: Likewise.
16808 * iconv/iconv_charmap.c: Likewise.
16809 * iconv/skeleton.c: Likewise.
16810 * iconvdata/8bit-generic.c: Likewise.
16811 * iconvdata/cp737.h: Likewise.
16812 * iconvdata/cp775.h: Likewise.
16813 * iconvdata/ibm1008.h: Likewise.
16814 * iconvdata/ibm1025.h: Likewise.
16815 * iconvdata/ibm1046.h: Likewise.
16816 * iconvdata/ibm1097.h: Likewise.
16817 * iconvdata/ibm1112.h: Likewise.
16818 * iconvdata/ibm1122.h: Likewise.
16819 * iconvdata/ibm1123.h: Likewise.
16820 * iconvdata/ibm1124.h: Likewise.
16821 * iconvdata/ibm1129.h: Likewise.
16822 * iconvdata/ibm1130.h: Likewise.
16823 * iconvdata/ibm1132.h: Likewise.
16824 * iconvdata/ibm1133.h: Likewise.
16825 * iconvdata/ibm1137.h: Likewise.
16826 * iconvdata/ibm1140.h: Likewise.
16827 * iconvdata/ibm1141.h: Likewise.
16828 * iconvdata/ibm1142.h: Likewise.
16829 * iconvdata/ibm1143.h: Likewise.
16830 * iconvdata/ibm1144.h: Likewise.
16831 * iconvdata/ibm1145.h: Likewise.
16832 * iconvdata/ibm1146.h: Likewise.
16833 * iconvdata/ibm1147.h: Likewise.
16834 * iconvdata/ibm1148.h: Likewise.
16835 * iconvdata/ibm1149.h: Likewise.
16836 * iconvdata/ibm1153.h: Likewise.
16837 * iconvdata/ibm1154.h: Likewise.
16838 * iconvdata/ibm1155.h: Likewise.
16839 * iconvdata/ibm1156.h: Likewise.
16840 * iconvdata/ibm1157.h: Likewise.
16841 * iconvdata/ibm1158.h: Likewise.
16842 * iconvdata/ibm1160.h: Likewise.
16843 * iconvdata/ibm1161.h: Likewise.
16844 * iconvdata/ibm1162.h: Likewise.
16845 * iconvdata/ibm1163.h: Likewise.
16846 * iconvdata/ibm1164.h: Likewise.
16847 * iconvdata/ibm1166.h: Likewise.
16848 * iconvdata/ibm1167.h: Likewise.
16849 * iconvdata/ibm12712.h: Likewise.
16850 * iconvdata/ibm1390.h: Likewise.
16851 * iconvdata/ibm1399.h: Likewise.
16852 * iconvdata/ibm16804.h: Likewise.
16853 * iconvdata/ibm4517.h: Likewise.
16854 * iconvdata/ibm4899.h: Likewise.
16855 * iconvdata/ibm4909.h: Likewise.
16856 * iconvdata/ibm4971.h: Likewise.
16857 * iconvdata/ibm5347.h: Likewise.
16858 * iconvdata/ibm803.h: Likewise.
16859 * iconvdata/ibm856.h: Likewise.
16860 * iconvdata/ibm901.h: Likewise.
16861 * iconvdata/ibm902.h: Likewise.
16862 * iconvdata/ibm9030.h: Likewise.
16863 * iconvdata/ibm9066.h: Likewise.
16864 * iconvdata/ibm921.h: Likewise.
16865 * iconvdata/ibm922.h: Likewise.
16866 * iconvdata/ibm9448.h: Likewise.
16867 * iconvdata/isiri-3342.h: Likewise.
16868 * iconvdata/jis0201.h: Likewise.
16869 * include/link.h: Likewise.
16870 * include/netdb.h: Likewise.
16871 * inet/check_native.c: Likewise.
16872 * inet/check_pf.c: Likewise.
16873 * inet/getipv4sourcefilter.c: Likewise.
16874 * inet/getnameinfo.c: Likewise.
16875 * inet/getsourcefilter.c: Likewise.
16876 * inet/htonl.c: Likewise.
16877 * inet/setipv4sourcefilter.c: Likewise.
16878 * inet/setsourcefilter.c: Likewise.
16879 * inet/test-inet6_opt.c: Likewise.
16880 * inet/tst-network.c: Likewise.
16881 * locale/C-collate.c: Likewise.
16882 * locale/C-ctype.c: Likewise.
16883 * locale/C-time.c: Likewise.
16884 * locale/C-translit.h: Likewise.
16885 * locale/loadarchive.c: Likewise.
16886 * locale/programs/3level.h: Likewise.
16887 * locale/programs/charmap.c: Likewise.
16888 * locale/programs/charmap.h: Likewise.
16889 * locale/programs/ld-address.c: Likewise.
16890 * locale/programs/ld-collate.c: Likewise.
16891 * locale/programs/ld-ctype.c: Likewise.
16892 * locale/programs/ld-identification.c: Likewise.
16893 * locale/programs/ld-measurement.c: Likewise.
16894 * locale/programs/ld-messages.c: Likewise.
16895 * locale/programs/ld-monetary.c: Likewise.
16896 * locale/programs/ld-name.c: Likewise.
16897 * locale/programs/ld-numeric.c: Likewise.
16898 * locale/programs/ld-paper.c: Likewise.
16899 * locale/programs/ld-telephone.c: Likewise.
16900 * locale/programs/ld-time.c: Likewise.
16901 * locale/programs/linereader.c: Likewise.
16902 * locale/programs/locale.c: Likewise.
16903 * locale/programs/locarchive.c: Likewise.
16904 * locale/programs/locfile.h: Likewise.
16905 * locale/programs/repertoire.c: Likewise.
16906 * locale/programs/simple-hash.c: Likewise.
16907 * locale/programs/simple-hash.h: Likewise.
16908 * malloc/memusage.c: Likewise.
16909 * malloc/memusagestat.c: Likewise.
16910 * nis/nis_defaults.c: Likewise.
16911 * nis/nis_hash.c: Likewise.
16912 * nis/nis_print.c: Likewise.
16913 * nis/nis_xdr.c: Likewise.
16914 * nscd/connections.c: Likewise.
16915 * nscd/hstcache.c: Likewise.
16916 * nscd/nscd_gethst_r.c: Likewise.
16917 * nscd/nscd_getserv_r.c: Likewise.
16918 * nscd/nscd_helper.c: Likewise.
16919 * nscd/servicescache.c: Likewise.
16920 * nss/makedb.c: Likewise.
16921 * nss/nss_db/db-XXX.c: Likewise.
16922 * nss/nss_db/db-initgroups.c: Likewise.
16923 * nss/nss_db/db-netgrp.c: Likewise.
16924 * nss/nss_files/files-network.c: Likewise.
16925 * nss/nss_files/files-parse.c: Likewise.
16926 * posix/bug-regex5.c: Likewise.
16927 * posix/fnmatch_loop.c: Likewise.
16928 * posix/regcomp.c: Likewise.
16929 * posix/regexec.c: Likewise.
16930 * posix/tst-rfc3484-2.c: Likewise.
16931 * posix/tst-rfc3484-3.c: Likewise.
16932 * posix/tst-rfc3484.c: Likewise.
16933 * resolv/nss_dns/dns-canon.c: Likewise.
16934 * resolv/nss_dns/dns-network.c: Likewise.
16935 * resolv/res_init.c: Likewise.
16936 * resolv/res_mkquery.c: Likewise.
16937 * resolv/tst-aton.c: Likewise.
16938 * stdlib/cxa_atexit.c: Likewise.
16939 * stdlib/cxa_finalize.c: Likewise.
16940 * stdlib/gen-fpioconst.c: Likewise.
16941 * stdlib/strtol_l.c: Likewise.
16942 * string/tst-endian.c: Likewise.
16943 * sunrpc/auth_des.c: Likewise.
16944 * sunrpc/clnt_udp.c: Likewise.
16945 * sunrpc/rtime.c: Likewise.
16946 * sunrpc/svcauth_des.c: Likewise.
16947 * sunrpc/xdr.c: Likewise.
16948 * sunrpc/xdr_intXX_t.c: Likewise.
16949 * sunrpc/xdr_rec.c: Likewise.
16950 * sysdeps/generic/ldconfig.h: Likewise.
16951 * sysdeps/generic/ldsodefs.h: Likewise.
16952 * sysdeps/generic/memusage.h: Likewise.
16953 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16954 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16955 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16956 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16957 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16959 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16960 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16962 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16963 * sysdeps/posix/getaddrinfo.c: Likewise.
16964 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16965 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16966 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16967 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16968 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16969 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16970 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16971 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16972 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16973 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16974 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16975 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16976 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16977 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16978 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16979 * sysdeps/x86_64/dl-tls.h: Likewise.
16980 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16981 * time/alt_digit.c: Likewise.
16982 * time/era.c: Likewise.
16983 * wcsmbs/tst-c16c32-1.c: Likewise.
16984
8c75f674
JM
169852013-05-16 Joseph Myers <joseph@codesourcery.com>
16986
16987 * math/libm-test.inc (struct test_sincos_data): New type.
16988 (RUN_TEST_LOOP_sincos): New macro.
16989 (sincos_test_data): New variable.
16990 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16991
e6e49e59
RH
169922013-05-16 Richard Henderson <rth@redhat.com>
16993
16994 * math/atest-exp2.c (LIMB64): New macro.
16995 (CONSTSZ): New macro.
16996 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16997 (hexdig): Move ...
16998 (print_mpn_fp): ... to function scope.
16999 (read_mpn_hex): Remove.
17000 (get_log2): Remove.
17001 (exp2_mpn): Use mp_log2.
17002 (main): Use mp_exp1.
17003
15c7c18d
JM
170042013-05-16 Joseph Myers <joseph@codesourcery.com>
17005
105a07df
JM
17006 * math/libm-test.inc: Remove comment about not testing "inexact"
17007 exceptions.
17008 (INEXACT_EXCEPTION): New macro.
17009 (NO_INEXACT_EXCEPTION): Likewise.
17010 (INVALID_EXCEPTION_OK): Update value.
17011 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17012 (OVERFLOW_EXCEPTION_OK): Likewise.
17013 (UNDERFLOW_EXCEPTION_OK): Likewise.
17014 (IGNORE_ZERO_INF_SIGN): Likewise.
17015 (ERRNO_UNCHANGED): Likewise.
17016 (ERRNO_EDOM): Likewise.
17017 (ERRNO_ERANGE): Likewise.
17018 (test_exceptions): Handle testing "inexact" exceptions.
17019 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17020 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17021 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17022 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17023 INEXACT_EXCEPTION.
17024 (rint_towardzero_test_data): Likewise.
17025 (rint_downward_test_data): Likewise.
17026 (rint_upward_test_data): Likewise.
17027
e9eee333
JM
17028 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17029 with OVERFLOW_EXCEPTION.
17030 (exp10_test_data): Likewise.
17031 (exp2_test_data): Likewise.
17032 (expm1_test_data): Likewise.
17033 (lgamma_test_data): Likewise.
17034 (pow_test_data): Likewise.
17035 (tgamma_test_data): Likewise.
17036 (yn_test_data): Remove duplicate test of overflow.
17037
1c38ff73
JM
17038 * math/libm-test.inc (struct test_cc_c_data): New type.
17039 (RUN_TEST_LOOP_cc_c): New macro.
17040 (cpow_test_data): New variable.
17041 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17042
15c7c18d
JM
17043 * math/libm-test.inc (struct test_f_L_data): New type.
17044 (RUN_TEST_LOOP_f_L): New macro.
17045 (llrint_test_data): New variable.
17046 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17047 (llrint_tonearest_test_data): New variable.
17048 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17049 (llrint_towardzero_test_data): New variable.
17050 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17051 (llrint_downward_test_data): New variable.
17052 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17053 (llrint_upward_test_data): New variable.
17054 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17055 (llround_test_data): New variable.
17056 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17057
f137ff13
PC
170582013-05-13 Peter Collingbourne <pcc@google.com>
17059
17060 * math/atest-exp2.c (get_log2): Remove const attribute.
17061
3608cb24
JM
170622013-05-15 Joseph Myers <joseph@codesourcery.com>
17063
17064 * math/libm-test.inc (struct test_f_l_data): New type.
17065 (RUN_TEST_LOOP_f_l): New macro.
17066 (lrint_test_data): New variable.
17067 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17068 (lrint_tonearest_test_data): New variable.
17069 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17070 (lrint_towardzero_test_data): New variable.
17071 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17072 (lrint_downward_test_data): New variable.
17073 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17074 (lrint_upward_test_data): New variable.
17075 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17076 (lround_test_data): New variable.
17077 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17078
39b1f617
PC
170792013-05-15 Peter Collingbourne <pcc@google.com>
17080
1deff3dc
PC
17081 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17082 (EXTRACT_WORDS64) Use where appropriate.
17083 (INSERT_WORDS64) Likewise.
17084
791f3ba0
PC
17085 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17086 constraints with x constraints.
17087 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17088
39b1f617
PC
17089 * malloc/obstack.c (_obstack_compat): Add initializer.
17090
12fba011
EM
170912013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17092
17093 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17094 si_trapno and add si_addr_lsb to _sifields.sigfault.
17095 (si_trapno): Remove macro.
17096 (si_addr_lsb): Define new macro.
17097 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17098
d369f531
JM
170992013-05-15 Joseph Myers <joseph@codesourcery.com>
17100
b861c6c4
JM
17101 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17102 instead of TEST_f_l.
17103 (llrint_test_tonearest): Likewise.
17104 (llrint_test_towardzero): Likewise.
17105 (llrint_test_downward): Likewise.
17106 (llrint_test_upward): Likewise.
17107 (llround_test): Likewise.
17108
7abeee12
JM
17109 * math/libm-test.inc (struct test_f_i_data): Add comment.
17110 (RUN_TEST_LOOP_f_b): New macro.
17111 (RUN_TEST_LOOP_f_b_tg): Likewise.
17112 (finite_test_data): New variable.
17113 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17114 (isfinite_test_data): New variable.
17115 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17116 (isinf_test_data): New variable.
17117 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17118 (isnan_test_data): New variable.
17119 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17120 (isnormal_test_data): New variable.
17121 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17122 (issignaling_test_data): New variable.
17123 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17124 (signbit_test_data): New variable.
17125 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17126
cbe8c4d3
JM
17127 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17128 with INVALID_EXCEPTION.
17129 (acosh_test_data): Likewise.
17130 (asin_test_data): Likewise.
17131 (atanh_test_data): Likewise.
17132 (fmod_test_data): Likewise.
17133 (log_test_data): Likewise.
17134 (log10_test_data): Likewise.
17135 (log2_test_data): Likewise.
17136 (pow_test_data): Likewise.
17137 (sqrt_test_data): Likewise.
17138 (y0_test_data): Likewise.
17139 (y1_test_data): Likewise.
17140 (yn_test_data): Likewise.
17141
5575c0e5
JM
17142 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17143 function contents.
17144
d369f531
JM
17145 * math/libm-test.inc (struct test_ff_i_data): New type.
17146 (RUN_TEST_LOOP_ff_i_tg): New macro.
17147 (isgreater_test_data): New variable.
17148 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17149 (isgreaterequal_test_data): New variable.
17150 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17151 (isless_test_data): New variable.
17152 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17153 (islessequal_test_data): New variable.
17154 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17155 (islessgreater_test_data): New variable.
17156 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17157 (isunordered_test_data): New variable.
17158 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17159
781fd748
DM
171602013-05-14 David S. Miller <davem@davemloft.net>
17161
17162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17163
87aa21df
JM
171642013-05-14 Joseph Myers <joseph@codesourcery.com>
17165
5e908270
JM
17166 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17167
f71172e5
JM
17168 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17169 extra_test to int.
17170 (struct test_f_i_data): Change type of max_ulp to int.
17171
8cfa635a
JM
17172 * math/libm-test.inc (test_ffI_f1_data): New type.
17173 (RUN_TEST_LOOP_ffI_f1): New macro.
17174 (remquo_test_data): New variable.
17175 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17176
2bcb36b2
JM
17177 * setjmp/tst-setjmp-fp.c: New file.
17178 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17179 (link-libm): New variable.
17180 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17181
acbd839a
JM
17182 * math/libm-test.inc (struct test_f_i_data): New type.
17183 (RUN_TEST_LOOP_f_i): New macro.
17184 (RUN_TEST_LOOP_f_i_tg): Likewise.
17185 (fpclassify_test_data): New variable.
17186 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17187 (ilogb_test_data): New variable.
17188 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17189
e414d745
JM
17190 * math/libm-test.inc (scalbln_test): Correct function name in END
17191 call.
17192
d9c2a0fd
JM
17193 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17194 (RUN_TEST_LOOP_fI_f1): New macro.
17195 (frexp_test_data): New variable.
17196 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17197
9dc9095d
JM
17198 * math/libm-test.inc (struct test_fF_f1_data): New type.
17199 (RUN_TEST_LOOP_fF_f1): New macro.
17200 (modf_test_data): New variable.
17201 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17202
87aa21df
JM
17203 * math/libm-test.inc (struct test_f_f1_data): New type.
17204 (RUN_TEST_LOOP_f_f1): New macro.
17205 (gamma_test_data): New variable.
17206 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17207 (lgamma_test_data): New variable.
17208 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17209
141af660
CD
172102013-05-13 Carlos O'Donell <carlos@redhat.com>
17211
17212 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17213 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17214 (main): Comment "tls" pseudo-hwcap.
17215
6d33265c
JM
172162013-05-13 Joseph Myers <joseph@codesourcery.com>
17217
68fc074c
JM
17218 * math/libm-test.inc (struct test_fl_f_data): New type.
17219 (RUN_TEST_LOOP_fl_f): New variable.
17220 (scalbln_test_data): New variable.
17221 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17222
243216e1
JM
17223 * math/libm-test.inc (struct test_fi_f_data): New type.
17224 (RUN_TEST_LOOP_fi_f): New macro.
17225 (ldexp_test_data): New variable.
17226 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17227 (scalbn_test_data): New variable.
17228 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17229
6a1992e2
JM
17230 * math/libm-test.inc (struct test_c_f_data): New type.
17231 (RUN_TEST_LOOP_c_f): New macro.
17232 (cabs_test_data): New variable.
17233 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17234 (carg_test_data): New variable.
17235 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17236 (cimag_test_data): New variable.
17237 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17238 (creal_test_data): New variable.
17239 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17240
0e400df5
JM
17241 * math/libm-test.inc (struct test_if_f_data): New type.
17242 (RUN_TEST_LOOP_if_f): New macro.
17243 (jn_test_data): New variable.
17244 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17245 (yn_test_data): New variable.
17246 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17247
6d33265c
JM
17248 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17249
f98ece5f
AZ
172502013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17251
17252 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17253 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17254
0f7d347b
SP
172552013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17256
43fe811b
SP
17257 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17258 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17259 (bench-deps): Add bench-timing.h.
17260 * benchtests-bench-skeleton.c: Include bench-timing.h.
17261 (main): Use TIMING_* macros instead of clock_gettime.
17262 * benchtests/bench-timing.h: New file.
17263
0f7d347b
SP
17264 [BZ #14582]
17265 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17266 Renamed from _LIB_VERSION.
17267 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17268
601a3a5f
JM
172692013-05-12 Joseph Myers <joseph@codesourcery.com>
17270
4f184d30
JM
17271 * math/libm-test.inc (struct test_fff_f_data): New type.
17272 (RUN_TEST_LOOP_fff_f): New macro.
17273 (fma_test_data): New variable.
17274 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17275 (fma_towardzero_test_data): New variable.
17276 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17277 (fma_downward_test_data): New variable.
17278 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17279 (fma_upward_test_data): New variable.
17280 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17281
08198877
JM
17282 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17283 (struct test_c_c_data): New type.
17284 (RUN_TEST_LOOP_c_c): New macro.
17285 (cacos_test_data): New variable.
17286 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17287 (cacosh_test_data): New variable.
17288 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17289 (casin_test_data): New variable.
17290 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17291 (casinh_test_data): New variable.
17292 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17293 (catan_test_data): New variable.
17294 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17295 (catanh_test_data): New variable.
17296 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17297 (ccos_test_data): New variable.
17298 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17299 (ccosh_test_data): New variable.
17300 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17301 (cexp_test_data): New variable.
17302 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17303 (clog_test_data): New variable.
17304 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17305 (clog10_test_data): New variable.
17306 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17307 (conj_test_data): New variable.
17308 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17309 (cproj_test_data): New variable.
17310 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17311 (csin_test_data): New variable.
17312 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17313 (csinh_test_data): New variable.
17314 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17315 (csqrt_test_data): New variable.
17316 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17317 (ctan_test_data): New variable.
17318 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17319 (ctan_tonearest_test_data): New variable.
17320 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17321 (ctan_towardzero_test_data): New variable.
17322 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17323 (ctan_downward_test_data): New variable.
17324 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17325 (ctan_upward_test_data): New variable.
17326 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17327 (ctanh_test_data): New variable.
17328 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17329 (ctanh_tonearest_test_data): New variable.
17330 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17331 (ctanh_towardzero_test_data): New variable.
17332 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17333 (ctanh_downward_test_data): New variable.
17334 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17335 (ctanh_upward_test_data): New variable.
17336 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17337 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17338 of BUILD_COMPLEX.
17339
601a3a5f
JM
17340 * math/libm-test.inc (struct test_ff_f_data): New type.
17341 (struct test_ff_f_data_nexttoward): Likewise.
17342 (RUN_TEST_LOOP_2_f): New macro.
17343 (RUN_TEST_LOOP_ff_f): Likewise.
17344 (atan2_test_data): New variable.
17345 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17346 (copysign_test_data): New variable.
17347 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17348 (fdim_test_data): New variable.
17349 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17350 (fmax_test_data): New variable.
17351 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17352 (fmin_test_data): New variable.
17353 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17354 (fmod_test_data): New variable.
17355 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17356 (hypot_test_data): New variable.
17357 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17358 (nextafter_test_data): New variable.
17359 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17360 (nexttoward_test_data): New variable.
17361 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17362 (pow_test_data): New variable.
17363 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17364 (pow_tonearest_test_data): New variable.
17365 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17366 (pow_towardzero_test_data): New variable.
17367 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17368 (pow_downward_test_data): New variable.
17369 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17370 (pow_upward_test_data): New variable.
17371 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17372 (remainder_test_data): New variable.
17373 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17374 (scalb_test_data): New variable.
17375 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17376 * sysdeps/i386/fpu/libm-test-ulps: Update.
17377
74c57478
JM
173782013-05-11 Joseph Myers <joseph@codesourcery.com>
17379
8329e4da
JM
17380 * math/libm-test.inc (fma_test): Use max_value instead of local
17381 variable fltmax.
17382 (nextafter_test): Likewise.
17383
74c57478
JM
17384 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17385 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17386 (acos_downward_test_data): New variable.
17387 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17388 (acos_upward_test_data): New variable.
17389 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17390 (acosh_test_data): New variable.
17391 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17392 (asin_test_data): New variable.
17393 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17394 (asin_tonearest_test_data): New variable.
17395 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17396 (asin_towardzero_test_data): New variable.
17397 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17398 (asin_downward_test_data): New variable.
17399 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17400 (asin_upward_test_data): New variable.
17401 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17402 (asinh_test_data): New variable.
17403 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17404 (atan_test_data): New variable.
17405 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17406 (atanh_test_data): New variable.
17407 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17408 (cbrt_test_data): New variable.
17409 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17410 (ceil_test_data): New variable.
17411 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17412 (cos_test_data): New variable.
17413 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17414 (cos_tonearest_test_data): New variable.
17415 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17416 (cos_towardzero_test_data): New variable.
17417 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17418 (cos_downward_test_data): New variable.
17419 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17420 (cos_upward_test_data): New variable.
17421 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17422 (cosh_test_data): New variable.
17423 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17424 (cosh_tonearest_test_data): New variable.
17425 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17426 (cosh_towardzero_test_data): New variable.
17427 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17428 (cosh_downward_test_data): New variable.
17429 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17430 (cosh_upward_test_data): New variable.
17431 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17432 (erf_test_data): New variable.
17433 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17434 (erfc_test_data): New variable.
17435 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17436 (exp_test_data): New variable.
17437 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17438 (exp_tonearest_test_data): New variable.
17439 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17440 (exp_towardzero_test_data): New variable.
17441 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17442 (exp_downward_test_data): New variable.
17443 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17444 (exp_upward_test_data): New variable.
17445 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17446 (exp10_test_data): New variable.
17447 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17448 (exp2_test_data): New variable.
17449 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17450 (expm1_test_data): New variable.
17451 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17452 (fabs_test_data): New variable.
17453 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17454 (floor_test_data): New variable.
17455 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17456 (j0_test_data): New variable.
17457 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17458 (j1_test_data): New variable.
17459 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17460 (log_test_data): New variable.
17461 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17462 (log10_test_data): New variable.
17463 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17464 (log1p_test_data): New variable.
17465 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17466 (log2_test_data): New variable.
17467 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17468 (logb_test_data): New variable.
17469 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17470 (logb_downward_test_data): New variable.
17471 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17472 (nearbyint_test_data): New variable.
17473 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17474 (rint_test_data): New variable.
17475 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17476 (rint_tonearest_test_data): New variable.
17477 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17478 (rint_towardzero_test_data): New variable.
17479 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17480 (rint_downward_test_data): New variable.
17481 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17482 (rint_upward_test_data): New variable.
17483 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17484 (round_test_data): New variable.
17485 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17486 (sin_test_data): New variable.
17487 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17488 (sin_tonearest_test_data): New variable.
17489 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17490 (sin_towardzero_test_data): New variable.
17491 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17492 (sin_downward_test_data): New variable.
17493 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17494 (sin_upward_test_data): New variable.
17495 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17496 (sinh_test_data): New variable.
17497 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17498 (sinh_tonearest_test_data): New variable.
17499 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17500 (sinh_towardzero_test_data): New variable.
17501 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17502 (sinh_downward_test_data): New variable.
17503 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17504 (sinh_upward_test_data): New variable.
17505 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17506 (sqrt_test_data): New variable.
17507 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17508 (tan_test_data): New variable.
17509 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17510 (tan_tonearest_test_data): New variable.
17511 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17512 (tan_towardzero_test_data): New variable.
17513 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17514 (tan_downward_test_data): New variable.
17515 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17516 (tan_upward_test_data): New variable.
17517 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17518 (tanh_test_data): New variable.
17519 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17520 (tgamma_test_data): New variable.
17521 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17522 (trunc_test_data): New variable.
17523 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17524 (y0_test_data): New variable.
17525 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17526 (y1_test_data): New variable.
17527 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17528 (significand_test_data): New variable.
17529 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17530
7187d844
CG
175312013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17532
17533 [BZ #12387]
17534 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17535
f63fae73
PT
175362013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17537
17538 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17539
8a67a4b3
AJ
175402013-05-10 Andreas Jaeger <aj@suse.de>
17541
17542 [BZ #15448]
17543 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17544 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17545
51df539d
JM
175462013-05-10 Joseph Myers <joseph@codesourcery.com>
17547
17548 * math/gen-libm-test.pl (adjust_arg): New function.
17549 (special_functions): Handle generating output in both functions
17550 and arrays.
17551 (parse_args): Likewise.
17552 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17553 $in_func argument to parse_args.
17554 * math/libm-test.inc (struct test_f_f_data): New type.
17555 (IF_ROUND_INIT_): New macro.
17556 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17557 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17558 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17559 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17560 (ROUND_RESTORE_): Likewise.
17561 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17562 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17563 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17564 (ROUND_RESTORE_FE_UPWARD): Likewise.
17565 (RUN_TEST_LOOP_f_f): New macro.
17566 (acos_test_data): New variable.
17567 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17568 (acos_tonearest_test_data): New variable.
17569 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17570
5c637fe5
SP
175712013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17572
17573 * benchtests/bench-skeleton.c (startup): Fix coding style.
17574
ab2b9461
JM
175752013-05-10 Joseph Myers <joseph@codesourcery.com>
17576
17577 [BZ #6809]
17578 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17579 negative infinity argument.
17580 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17581 negative infinity argument.
17582 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17583 negative infinity argument.
17584 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17585 domain errors.
17586
4c0fe6fe
FW
175872013-05-10 Florian Weimer <fweimer@redhat.com>
17588
17589 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17590 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17591 * iconv/iconv_prog.c (main): Likewise.
17592 * locale/programs/charmap-dir.c (charmap_readdir)
17593 (fopen_uncompressed): Likewise.
17594 * locale/programs/locfile.c (siblings_uncached)
17595 (write_locale_data): Use lstat64 instead of lstat.
17596 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17597 stat.
17598
a3375d29
AJ
175992013-05-10 Andreas Jaeger <aj@suse.de>
17600
17601 [BZ #15395]
17602 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17603 localization.
17604 Include <locale.h>.
17605
36129722
CD
176062013-05-09 Carlos O'Donell <carlos@redhat.com>
17607
17608 * elf/dl-close.c (_dl_close_worker): Add comments.
17609
faa7f811
JM
176102013-05-09 Joseph Myers <joseph@codesourcery.com>
17611
ed41ffef
JM
17612 [BZ #15359]
17613 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17614 high part of pi/2.
17615 (__ieee754_rem_pio2l): Update comments.
17616
d0213cd0
JM
17617 [BZ #15429]
17618 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17619 high part of pi/2.
17620 (__ieee754_rem_pio2l): Update comments.
17621
0d3e777a
JM
17622 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17623 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17624
24f56066
JM
17625 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17626 M_PI_4l.
17627
faa7f811
JM
17628 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17629 (M_PI_34_LOG10El): Likewise.
17630 (M_PI2_LOG10El): Likewise.
17631 (M_PI4_LOG10El): Likewise.
17632 (M_PI_LOG10El): Likewise.
17633
e9a5e0fd
AZ
176342013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17635
17636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17637
d8cd06db
JM
176382013-05-08 Joseph Myers <joseph@codesourcery.com>
17639
a0d9f9d7
JM
17640 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17641 (MINUS_ZERO_INIT): Likewise.
17642 (PLUS_INFTY_INIT): Likewise.
17643 (MINUS_INFTY_INIT): Likewise.
17644 (QNAN_VALUE_INIT): Likewise.
17645 (MAX_VALUE_INIT): Likewise.
17646 (MIN_VALUE_INIT): Likewise.
17647 (MIN_SUBNORM_VALUE_INIT): Likewise.
17648 (plus_zero): Initialize with PLUS_ZERO_INIT.
17649 (minus_zero): Initialize with MINUS_ZERO_INIT.
17650 (plus_infty): Initialize with PLUS_INFTY_INIT.
17651 (minus_infty): Initialize with MINUS_INFTY_INIT.
17652 (qnan_value): Initialize with QNAN_VALUE_INIT.
17653 (max_value): Initialize with MAX_VALUE_INIT.
17654 (min_value): Initialize with MIN_VALUE_INIT.
17655 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17656
ae08db3b
JM
17657 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17658 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17659 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17660 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17661
f44bf14a
JM
17662 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17663 (RUN_TEST_2_f): Likewise.
17664 (RUN_TEST_ff_f): Likewise.
17665 (RUN_TEST_fi_f): Likewise.
17666 (RUN_TEST_fl_f): Likewise.
17667 (RUN_TEST_fff_f): Likewise.
17668 (RUN_TEST_c_f): Likewise.
17669 (RUN_TEST_f_f1): Likewise.
17670 (RUN_TEST_fF_f1): Likewise.
17671 (RUN_TEST_fI_f1): Likewise.
17672 (RUN_TEST_ffI_f1): Likewise.
17673 (RUN_TEST_c_c): Likewise.
17674 (RUN_TEST_cc_c): Likewise.
17675 (RUN_TEST_f_i): Likewise.
17676 (RUN_TEST_f_i_tg): Likewise.
17677 (RUN_TEST_ff_i_tg): Likewise.
17678 (RUN_TEST_f_b): Likewise.
17679 (RUN_TEST_f_b_tg): Likewise.
17680 (RUN_TEST_f_l): Likewise.
17681 (RUN_TEST_f_L): Likewise.
17682 (RUN_TEST_sincos): Likewise.
17683 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17684 whether to show exceptions. Do not include ");\n" in return
17685 value.
17686 (special_functions): Output call to RUN_TEST_sincos instead of
17687 check_float calls. Update calls to new_test.
17688 (parse_args): Output call to single RUN_TEST_* macro instead of
17689 check_* calls and other assignments. Update calls to new_test.
17690
d8cd06db
JM
17691 [BZ #2546]
17692 [BZ #2560]
17693 [BZ #5159]
17694 [BZ #15426]
17695 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17696 input to result for tgamma overflow.
17697 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17698 (gamma_coeff): New variable.
17699 (NCOEFF): New macro.
17700 (gamma_positive): New function.
17701 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17702 underflow here. Use gamma_positive instead of exp (lgamma) for
17703 other arguments.
17704 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17705 (gamma_coeff): New variable.
17706 (NCOEFF): New macro.
17707 (gammaf_positive): New function.
17708 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17709 underflow here. Use gamma_positive instead of exp (lgamma) for
17710 other arguments.
17711 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17712 (gamma_coeff): New variable.
17713 (NCOEFF): New macro.
17714 (gammal_positive): New function.
17715 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17716 underflow here. Use gamma_positive instead of exp (lgamma) for
17717 other arguments.
17718 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17719 (gamma_coeff): New variable.
17720 (NCOEFF): New macro.
17721 (gammal_positive): New function.
17722 (__ieee754_gammal_r): Handle positive infinity, overflow and
17723 underflow here. Handle NaN the same as positive infinity. Remove
17724 check x < 0xffffffff for negative integers. Use gamma_positive
17725 instead of exp (lgamma) for other arguments.
17726 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17727 (gamma_coeff): New variable.
17728 (NCOEFF): New macro.
17729 (gammal_positive): New function.
17730 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17731 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17732 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17733 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17734 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17735 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17736 * sysdeps/generic/math_private.h (__gamma_productf): New
17737 prototype.
17738 (__gamma_product): Likewise.
17739 (__gamma_productl): Likewise.
17740 * math/Makefile (libm-calls): Add gamma_product.
17741 * math/libm-test.inc (tgamma_test): Add more tests.
17742 * sysdeps/i386/fpu/libm-test-ulps: Update.
17743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17744
bb7cf681
OB
177452013-05-08 Ondřej Bílka <neleai@seznam.cz>
17746
17747 * benchtests/bench-skeleton.c (main): Preheat CPU.
17748
ba853947
AJ
177492013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17750
17751 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17752
8347c74c
RM
177532013-05-07 Roland McGrath <roland@hack.frob.com>
17754
17755 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17756 and _dl_skip_args_internal.
17757
e8dd4791
CD
177582013-05-07 Carlos O'Donell <carlos@redhat.com>
17759
17760 * manual/message.texi (Message Translation): Talk about users.
17761 Message to key mapping impacts design.
17762
c7405830
RM
177632013-05-06 Roland McGrath <roland@hack.frob.com>
17764
a9173057
RM
17765 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17766
976e2f03
RM
17767 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17768
9723ffc5
RM
17769 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17770 * sysdeps/wordsize-64/glob64.c: ... here.
17771
962e6658
RM
17772 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17773 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17774 New macros.
17775
ee586a6d
RM
17776 * debug/getlogin_r_chk.c: Moved to ...
17777 * login/getlogin_r_chk.c: ... here.
17778 * debug/Makefile (routines): Move getlogin_r_chk to ...
17779 * login/Makefile (routines): ... here.
17780 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17781 * login/Versions (libc: GLIBC_2.4): ... here.
17782
355f9165
RM
17783 * io/poll.c (__poll): Renamed from poll.
17784 Add libc_hidden_def.
17785 (poll): Define as weak alias.
17786
bd9ffde6
RM
17787 * debug/ptsname_r_chk.c: Moved to ...
17788 * login/ptsname_r_chk.c: ... here.
17789 * debug/Makefile (routines): Move ptsname_r_chk to ...
17790 * login/Makefile (routines): ... here.
17791 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17792 * login/Versions (libc: GLIBC_2.4): ... here.
17793
8fb16a04
RM
17794 * posix/getlogin.c: Moved to ...
17795 * login/getlogin.c: ... here.
17796 * posix/getlogin_r.c: Moved to ...
17797 * login/getlogin_r.c: ... here.
17798 * posix/getlogin_r.c: Moved to ...
17799 * login/getlogin_r.c: ... here.
17800 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17801 * login/Makefile (routines): ... here.
17802 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17803 * login/Versions (libc: GLIBC_2.0): ... here.
17804
b99b892f
RM
17805 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17806 (setrlimit): Define as weak alias.
17807
c7405830
RM
17808 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17809 Call __ names for open, ftruncate, and close.
17810 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17811 (truncate): Define as weak alias.
17812
5bf96de5
JM
178132013-05-06 Joseph Myers <joseph@codesourcery.com>
17814
9ea3513c
JM
17815 * math/gen-libm-test.pl (parse_args): Initialize x before each
17816 test of frexp, modf and remquo.
17817
5bf96de5
JM
17818 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17819 test signgam value.
17820
16e616a7
AZ
178212013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17822
17823 [BZ #15418]
17824 [BZ #15419]
17825 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17826 internal tests.
17827 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17828
d5e82754
RM
178292013-05-06 Roland McGrath <roland@hack.frob.com>
17830
17831 * elf/dl-writev.h: New file.
17832 * elf/dl-misc.c: Include it.
17833 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17834 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17835
a7548d41
JM
178362013-05-04 Joseph Myers <joseph@codesourcery.com>
17837
b7dab1e4
JM
17838 * math/libm-test.inc (noXFails): Remove variable.
17839 (noXPasses): Likewise.
17840 (BUILD_COMPLEX_INT): Remove macro.
17841 (print_screen): Remove xfail argument.
17842 (print_screen_max_error): Likewise.
17843 (update_stats): Likewise.
17844 (print_max_error): Likewise. Update calls to other affected
17845 functions.
17846 (print_complex_max_error): Likewise.
17847 (test_single_exception): Update calls to print_screen.
17848 (test_single_errno): Likewise.
17849 (check_float_internal): Remove xfail argument. Update calls to
17850 other affected functions.
17851 (check_float): Likewise.
17852 (check_complex): Likewise.
17853 (check_int): Likewise.
17854 (check_long): Likewise.
17855 (check_bool): Likewise.
17856 (check_longlong): Likewise.
17857 (main): Don't print noXFails and noXPasses.
17858 * math/gen-libm-test.pl (top level): Don't mention expected
17859 failure handling in comment.
17860 (new_test): Don't handle expected failures.
17861 (parse_args): Don't mention expected failure handling in comment.
17862 (generate_testfile): Don't handle expected failures.
17863 (parse_ulps): Likewise.
17864 (print_ulps_file): Likewise.
17865 (get_failure): Remove function.
17866 (output_test): Don't handle expected failures.
17867 * make/README.libm-test: Don't mention expected failure handling.
17868
a7548d41
JM
17869 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17870 (minus_zero): Likewise.
17871 (plus_infty): Likewise.
17872 (minus_infty): Likewise.
17873 (qnan_value): Likewise.
17874 (max_value): Likewise.
17875 (min_value): Likewise.
17876 (min_subnorm_value): Likewise.
17877 (initialize): Do not initialize those variables dynamically.
17878
60bfd54c
RM
178792013-05-03 Roland McGrath <roland@hack.frob.com>
17880
cc0e6ed8
RM
17881 * io/open.c (__open_2): Moved to ...
17882 * io/open_2.c: ... this new file.
17883 * io/open64.c (__open64_2): Moved to ...
17884 * io/open64_2.c: ... this new file.
17885 * io/openat.c (__openat_2): Moved to ...
17886 * io/openat_2.c: ... this new file.
17887 * io/openat64.c (__openat64_2): Moved to ...
17888 * io/openat64_2.c: ... this new file.
17889 * io/Makefile (routines): Add them.
17890 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17891 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17892 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17893 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17894 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17895 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17896 (__openat64): Add hidden_ver.
17897 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17898 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17899
60bfd54c
RM
17900 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17901 Separately conditionalize setting of GLRO(dl_sysinfo) so
17902 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17903 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17904
83e7640f
AZ
179052013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17906
17907 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17908 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17909 definition.
17910 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17911 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17912 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17913 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17914 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17915
d5dc2af3
JM
179162013-05-03 Joseph Myers <joseph@codesourcery.com>
17917
c31a5b1e
JM
17918 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17919 test signgam value.
17920
d5dc2af3
JM
17921 * math/libm-test.inc (hypot_test): Do not use
17922 IGNORE_ZERO_INF_SIGN.
17923
164fd39d
AJ
179242013-05-03 Andreas Jaeger <aj@suse.de>
17925
17926 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17927 Linux 3.9.
17928 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17929 (PF_MAX): Adjust for VSOCK change.
17930
8237f48c
AZ
179312013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17932
17933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17934
9df02941
CD
179352013-05-02 Carlos O'Donell <carlos@redhat.com>
17936
17937 [BZ #15264]
17938 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17939 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17940 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17941
d422395e
DM
179422013-05-02 David S. Miller <davem@davemloft.net>
17943
17944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17945
a07c5731
OB
179462013-05-01 Ondřej Bílka <neleai@seznam.cz>
17947
17948 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17949
1324e37f
RM
179502013-05-01 Roland McGrath <roland@hack.frob.com>
17951
17952 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17953
0695940b
RS
179542013-05-01 Richard Smith <richard@metafoo.co.uk>
17955
bb5f27ad 17956 [BZ #14952]
0695940b
RS
17957 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17958 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17959 Use __attribute__ ((__gnu_inline__)).
17960 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17961 Don't use __attribute__ ((__gnu_inline__)).
17962
10de07f5
JM
179632013-05-01 Joseph Myers <joseph@codesourcery.com>
17964
17965 [BZ #15423]
17966 * math/s_catan.c (__catan): Handle small real or imaginary part of
17967 input specially to avoid spurious underflow.
17968 * math/s_catanf.c (__catanf): Likewise.
17969 * math/s_catanh.c (__catanh): Likewise.
17970 * math/s_catanhf.c (__catanhf): Likewise.
17971 * math/s_catanhl.c (__catanhl): Likewise.
17972 * math/s_catanl.c (__catanl): Likewise.
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
cb4d5414
AZ
179782013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17979
17980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17981
caf84319
JM
179822013-04-30 Joseph Myers <joseph@codesourcery.com>
17983
17984 [BZ #15416]
17985 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17986 accurately for denominator in atan2.
17987 * math/s_catanf.c (__catanf): Likewise.
17988 * math/s_catanh.c (__catanh): Likewise.
17989 * math/s_catanhf.c (__catanhf): Likewise.
17990 * math/s_catanhl.c (__catanhl): Likewise.
17991 * math/s_catanl.c (__catanl): Likewise.
17992 * math/libm-test.inc (catan_test): Add more tests.
17993 (catanh_test): Likewise.
17994 * sysdeps/i386/fpu/libm-test-ulps: Update.
17995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17996
d569c6ee
SP
179972013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17998
6dbe713d
SP
17999 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18000
f0ee064b
SP
18001 * benchtests/Makefile (bench): Remove slow benchmarks.
18002 * benchtests/atan-inputs: Add slow benchmark inputs.
18003 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18004 (BENCH_FUNC): Accept variant offset.
18005 (VARIANT): Define.
18006 * benchtests/bench-skeleton.c (main): Run benchmark for each
18007 variant.
18008 * benchtests/cos-inputs: Add slow benchmark inputs.
18009 * benchtests/exp-inputs: Likewise.
18010 * benchtests/pow-inputs: Likewise.
18011 * benchtests/sin-inputs: Likewise.
18012 * benchtests/slowatan-inputs: Remove.
18013 * benchtests/slowatan.c: Remove.
18014 * benchtests/slowcos-inputs: Remove.
18015 * benchtests/slowcos.c: Remove.
18016 * benchtests/slowexp-inputs: Remove.
18017 * benchtests/slowexp.c: Remove.
18018 * benchtests/slowpow-inputs: Remove.
18019 * benchtests/slowpow.c: Remove.
18020 * benchtests/slowsin-inputs: Remove.
18021 * benchtests/slowsin.c: Remove.
18022 * benchtests/slowtan-inputs: Remove.
18023 * benchtests/slowtan.c: Remove.
18024 * benchtests/tan-inputs: Add slow benchmark inputs.
18025 * scripts/bench.pl: Parse comments and directives.
18026
d569c6ee
SP
18027 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18028 in CPPFLAGS.
18029 ($(objpfx)bench-%.c): Remove *-ITER.
18030 * benchtests/bench-modf.c: Remove definition of ITER.
18031 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18032 (main): Loop for DURATION seconds instead of fixed number of
18033 iterations.
18034 * scripts/bench.pl: Don't expect iterations in parameters.
18035
a6a242fe
RM
180362013-04-29 Roland McGrath <roland@hack.frob.com>
18037
18038 * io/fchdir.c (__fchdir): Renamed from fchdir.
18039 (fchdir): Define as weak alias.
18040
f2da7793
JM
180412013-04-29 Joseph Myers <joseph@codesourcery.com>
18042
18043 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18044 (ERRNO_EDOM): Likewise.
18045 (ERRNO_ERANGE): Likewise.
18046 (noErrnoTests): New variable.
18047 (init_max_error): Set errno to 0.
18048 (test_single_errno): New function.
18049 (test_errno): Likewise.
18050 (check_float_internal): Call test_errno. Set errno to 0.
18051 (check_complex): Refer to errno tests in comment.
18052 (check_int): Call test_errno. Set errno to 0.
18053 (check_long): Likewise.
18054 (check_bool): Likewise.
18055 (check_longlong): Likewise.
18056 (cos_test): Use ERRNO_* flags for errno tests instead of
18057 check_int.
18058 (expm1_test): Likewise.
18059 (fmod_test): Likewise.
18060 (ilogb_test): Likewise.
18061 (lgamma_test): Likewise.
18062 (pow_test): Likewise.
18063 (remainder_test): Likewise.
18064 (sin_test): Likewise.
18065 (tan_test): Likewise.
18066 (yn_test): Likewise.
18067 (initialize): Set errno to 0.
18068 (main): Print number of errno tests.
18069 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18070
b1a36ceb
AJ
180712013-04-29 Andreas Jaeger <aj@suse.de>
18072
c3ed8088
AJ
18073 [BZ #15084]
18074 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18075 and RES_USEVC.
18076
f1a24198
AJ
18077 [BZ #15085]
18078 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18079 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18080 unimplemented.
18081
9ce3b2cb
AJ
18082 [BZ #15380]
18083 * stdlib/random.c (__initstate): Return NULL if
18084 __initstate fails.
18085
f1a24198 18086 [BZ #15086]
b1a36ceb
AJ
18087 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18088 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18089 RES_SNGLKUPREOP.
18090
7e7b6f36
AZ
180912013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18092
18093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18094
4d14f449
JM
180952013-04-29 Joseph Myers <joseph@codesourcery.com>
18096
18097 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18098 of individual tests.
18099 (casin_test): Likewise.
18100 (casinh_test): Likewise.
18101
5b4217d7
JM
181022013-04-27 Joseph Myers <joseph@codesourcery.com>
18103
18104 [BZ #15409]
18105 * math/s_catan.c (__catan): Handle arguments with large real or
18106 imaginary part separately without squaring.
18107 * math/s_catanf.c (__catanf): Likewise.
18108 * math/s_catanh.c (__catanh): Likewise.
18109 * math/s_catanhf.c (__catanhf): Likewise.
18110 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18111 and redefine.
18112 (__catanhl): Handle arguments with large real or imaginary part
18113 separately without squaring.
18114 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18115 and redefine.
18116 (__catanl): Handle arguments with large real or imaginary part
18117 separately without squaring.
18118 * math/libm-test.inc (catan_test): Add more tests.
18119 (catanh_test): Likewise.
18120 * sysdeps/i386/fpu/libm-test-ulps: Update.
18121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18122
4220c3ef
AJ
181232013-04-27 Andreas Jaeger <aj@suse.de>
18124
18125 [BZ #15007]
18126 * stdlib/stdlib.h: Update guards for qecvt.
18127 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18128 <stdlib.h>.
18129
4721b2d1
AM
181302013-04-27 Allan McRae <allan@archlinux.org>
18131
18132 * sysdeps/i386/fpu/libm-test-ulps: Update.
18133
f0302940
JM
181342013-04-26 Joseph Myers <joseph@codesourcery.com>
18135
9457fd95
JM
18136 [BZ #15406]
18137 * math/s_catan.c: Include <float.h>.
18138 (__catan): Ensure underflow exception occurs for underflowed
18139 result.
18140 * math/s_catanf.c: Include <float.h>.
18141 (__catanf): Ensure underflow exception occurs for underflowed
18142 result.
18143 * math/s_catanh.c: Include <float.h>.
18144 (__catanh): Ensure underflow exception occurs for underflowed
18145 result.
18146 * math/s_catanhf.c: Include <float.h>.
18147 (__catanhf): Ensure underflow exception occurs for underflowed
18148 result.
18149 * math/s_catanhl.c: Include <float.h>.
18150 (__catanhl): Ensure underflow exception occurs for underflowed
18151 result.
18152 * math/s_catanl.c: Include <float.h>.
18153 (__catanl): Ensure underflow exception occurs for underflowed
18154 result.
18155 * math/libm-test.inc (catan_test): Add more tests.
18156 (catanh_test): Likewise.
18157
f0302940
JM
18158 [BZ #15405]
18159 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18160 underflowed result.
18161 * math/s_ccoshf.c (__ccoshf): Likewise.
18162 * math/s_ccoshl.c (__ccoshl): Likewise.
18163 * math/s_csin.c (__csin): Likewise.
18164 * math/s_csinf.c (__csinf): Likewise.
18165 * math/s_csinh.c (__csinh): Likewise.
18166 * math/s_csinhf.c (__csinhf): Likewise.
18167 * math/s_csinhl.c (__csinhl): Likewise.
18168 * math/s_csinl.c (__csinl): Likewise.
18169 * math/libm-test.inc (ccos_test): Add more tests.
18170 (ccosh_test): Likewise.
18171 (csin_test): Likewise.
18172 (csinh_test): Likewise.
18173
aa630f59
AZ
181742013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18175
18176 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18177 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18178 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18179 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18180 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18181 powerpc/power5+/fpu folders.
18182 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18183
18184
1b835983
MT
181852013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18186
18187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18188
73709b26
JM
181892013-04-25 Joseph Myers <joseph@codesourcery.com>
18190
18191 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18192 additions to variable.
18193 [$(config-machine) = x86_64] (modules-names): Likewise.
18194 ($(objpfx)tst-audit3): Remove dependency.
18195 ($(objpfx)tst-audit3.out): Likewise.
18196 ($(objpfx)tst-audit4): Likewise.
18197 ($(objpfx)tst-audit4.out): Likewise.
18198 ($(objpfx)tst-audit5): Likewise.
18199 ($(objpfx)tst-audit5.out): Likewise.
18200 ($(objpfx)tst-audit6): Likewise.
18201 ($(objpfx)tst-audit6.out): Likewise.
18202 ($(objpfx)tst-audit7): Likewise.
18203 ($(objpfx)tst-audit7.out): Likewise.
18204 (tst-audit3-ENV): Remove variable.
18205 (tst-audit4-ENV): Likewise.
18206 (tst-audit5-ENV): Likewise.
18207 (tst-audit6-ENV): Likewise.
18208 (tst-audit7-ENV): Likewise.
18209 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18210 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18211 addition to variable.
18212 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18213 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18214 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18215 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18216 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18217 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18218 tst-audit3, tst-audit4 and tst-audit5.
18219 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18220 tst-audit6 and tst-audit7.
18221 [$(subdir) = elf] (modules-names): Add audit modules for those
18222 tests.
18223 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18224 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18225 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18226 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18227 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18228 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18229 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18230 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18231 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18232 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18233 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18234 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18235 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18236 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18237 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18238 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18239 Likewise.
18240 [$(subdir) = elf && $(config-cflags-avx) = yes]
18241 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18242 [$(subdir) = elf && $(config-cflags-avx) = yes]
18243 (CFLAGS-tst-auditmod4a.c): Likewise.
18244 [$(subdir) = elf && $(config-cflags-avx) = yes]
18245 (CFLAGS-tst-auditmod4b.c): Likewise.
18246 [$(subdir) = elf && $(config-cflags-avx) = yes]
18247 (CFLAGS-tst-auditmod6b.c): Likewise.
18248 [$(subdir) = elf && $(config-cflags-avx) = yes]
18249 (CFLAGS-tst-auditmod6c.c): Likewise.
18250 [$(subdir) = elf && $(config-cflags-avx) = yes]
18251 (CFLAGS-tst-auditmod7b.c): Likewise.
18252 * elf/tst-audit3.c: Move to ...
18253 * sysdeps/x86_64/tst-audit3.c: ... here.
18254 * elf/tst-audit4.c: Move to ...
18255 * sysdeps/x86_64/tst-audit4.c: ... here.
18256 * elf/tst-audit5.c: Move to ...
18257 * sysdeps/x86_64/tst-audit5.c: ... here.
18258 * elf/tst-audit6.c: Move to ...
18259 * sysdeps/x86_64/tst-audit6.c: ... here.
18260 * elf/tst-audit7.c: Move to ...
18261 * sysdeps/x86_64/tst-audit7.c: ... here.
18262 * elf/tst-auditmod3a.c: Move to ...
18263 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18264 * elf/tst-auditmod3b.c: Move to ...
18265 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18266 * elf/tst-auditmod4a.c: Move to ...
18267 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18268 * elf/tst-auditmod4b.c: Move to ...
18269 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18270 * elf/tst-auditmod5a.c: Move to ...
18271 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18272 * elf/tst-auditmod5b.c: Move to ...
18273 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18274 * elf/tst-auditmod6a.c: Move to ...
18275 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18276 * elf/tst-auditmod6b.c: Move to ...
18277 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18278 * elf/tst-auditmod6c.c: Move to ...
18279 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18280 * elf/tst-auditmod7a.c: Move to ...
18281 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18282 * elf/tst-auditmod7b.c: Move to ...
18283 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18284
1ef74943
PP
182852013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18286
18287 [BZ #15366]
18288 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18289 define unconditionally.
18290 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18291 define unconditionally.
18292 (INT8_C, INT16_C, etc.): Likewise.
18293
93fd48c5
MR
182942013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18295
ae9552cf
MR
18296 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18297 __ehdr_start with hidden visibility.
18298
93fd48c5
MR
18299 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18300
418601aa
CD
183012013-04-24 Carlos O'Donell <carlos@redhat.com>
18302
18303 * math/libm-test.inc (cos_test): Use accurate hex constants.
18304 (sincost_test): Likewise.
18305
2f38fbfe
JM
183062013-04-24 Joseph Myers <joseph@codesourcery.com>
18307
5e221800
JM
18308 * math/libm-test.inc (catan_test): Add more tests.
18309 (catanh_test): Likewise.
18310
77f143fd
JM
18311 * math/s_catanf.c (__catanf): Use suffixed floating-point
18312 constants.
18313 * math/s_catanhf.c (__catanhf): Likewise.
18314 * math/s_catanhl.c (__catanhl): Likewise.
18315 * math/s_catanl.c (__catanl): Likewise.
18316
2f38fbfe
JM
18317 [BZ #15394]
18318 * math/s_catan.c (__catan): Calculate imaginary part of result
18319 with log1p not log unless computing log of number close to 0.
18320 * math/s_catanf.c (__catanf): Likewise.
18321 * math/s_catanl.c (__catanl): Likewise.
18322 * math/s_catanh.c (__catanh): Calculate real part of result with
18323 log1p not log unless computing log of number close to 0.
18324 * math/s_catanhf.c (__catanhf): Likewise.
18325 * math/s_catanhl.c (__catanhl): Likewise.
18326 * math/libm-test.inc (catan_test): Add more tests.
18327 (catanh_test): Likewise.
18328 * sysdeps/i386/fpu/libm-test-ulps: Update.
18329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18330
45d69176
SP
183312013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18332
18333 * benchtests/Makefile: Mention files in which fast and slow
18334 paths of math functions are implemented.
18335
87f51853
RM
183362013-04-23 Roland McGrath <roland@hack.frob.com>
18337
18338 * sysdeps/posix/timespec_get.c: New file.
18339
3c026539
AZ
183402013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18341
18342 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18343 POWER.
18344 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18345 for POWER.
18346 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18347 powerpc/power5/fpu folders.
18348 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18349 * benchtests/Makefile: Add modf testcase.
18350 * benchtests/bench-modf.c: New file: Benchmark test for mo
18351
ff491d14
SP
183522013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18353
18354 [BZ #14888]
18355 * time/Makefile (tests): Add tst-strptime-whitespace.
18356 * time/strptime_l.c (get_number): Use ISSPACE.
18357 (__strptime_internal): Likewise.
18358 * time/tst-strptime-whitespace.c: New test case.
18359
7ed3f4e8
AS
183602013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18361
18362 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18363 member.
18364 (_nss_files_init): Set it here.
18365
5c95f7b6
HC
183662013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18367
18368 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18369 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18370 unsigned.
18371
d34c9158
JBG
183722013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18373
18374 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18375
2169712d
SP
183762013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18377
18378 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18379 size just once.
18380
29c5de99
DM
183812013-04-21 David S. Miller <davem@davemloft.net>
18382
18383 * po/ru.po: Update Russion translation from translation project.
18384
ccdad15d
AC
183852013-04-17 Adam Conrad <adconrad@0c3.net>
18386
18387 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18388 and setfsgid.
18389
0f122b8d
CD
183902013-04-17 Carlos O'Donell <carlos@redhat.com>
18391
5c5b07da 18392 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18393 * configure: Regenerate.
5c5b07da 18394 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18395 Add example to error message.
18396 * sysdeps/i386/configure: Regenerate.
18397
037714dd
SP
183982013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18399
18400 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18401 slowtan.
18402 * benchtests/cos-inputs: New file.
18403 * benchtests/slowcos-inputs: New file.
18404 * benchtests/slowcos.c: New file.
18405 * benchtests/slowtan-inputs: New file.
18406 * benchtests/slowtan.c: New file.
18407 * benchtests/tan-inputs: New file.
18408
e913141d
RM
184092013-04-16 Roland McGrath <roland@hack.frob.com>
18410
18411 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18412 considered kosher.
18413
a2964074
SP
184142013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18415
4856bcd2
SP
18416 * benchtests/Makefile: Include cppflags-iterator.mk to add
18417 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18418
a2964074
SP
18419 * Makefile.in (bench-clean): New target.
18420 * benchtests/Makefile (bench-clean): Likewise.
18421
9fbf9aca
DH
184222013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18423
18424 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18425
207d1e2a
TS
184262013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18427
18428 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18429
306dfba9
AS
184302013-04-15 Andreas Schwab <schwab@suse.de>
18431
18432 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18433 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18434 * nscd/pwdcache.c (cache_addpw): Likewise.
18435 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18436 more than recsize.
18437
206a6699
SP
184382013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18439
18440 * benchtests/Makefile (bench): Write all output to
18441 bench-out.tmp together.
18442
0582f6b3
AS
184432013-04-15 Andreas Schwab <schwab@suse.de>
18444
18445 * nscd/nscd.c (main): Don't fork again after closing files.
18446
acb4325f
SP
184472013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18448
5cb26d0a
SP
18449 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18450
acb4325f
SP
18451 * benchtests/Rules (bench-deps): Collect dependencies into a
18452 single variable. Add Makefile to dependencies.
18453 ($(objpfx)bench-%.c): Depend on bench-deps.
18454
47792506
RM
184552013-04-12 Roland McGrath <roland@hack.frob.com>
18456 Xavier Roche <roche+kml2@exalead.com>
18457
18458 [BZ #15361]
18459 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18460 just that it's a file descriptor.
18461 * manual/llio.texi (Synchronizing AIO Operations): Update description
18462 for EBADF error from aio_fsync.
18463
8fc1bee5
SP
184642013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18465
18466 * Rules (bench): Move target definition...
18467 * benchtests/Makefile: ... here.
18468
aba5e333
CD
184692013-04-11 Carlos O'Donell <carlos@redhat.com>
18470
18471 * math/libm-test.inc (cos_test): Fix PI/2 test.
18472 (sincos_test): Likewise.
18473 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18474 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18475
273cdee8
AS
184762013-04-11 Andreas Schwab <schwab@suse.de>
18477
6ecec3b6
AS
18478 [BZ #13988]
18479 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18480 accept exponent character only when digits were seen.
18481 * stdio-common/Makefile (tests): Add bug26.
18482 * stdio-common/bug26.c: New file.
18483
273cdee8
AS
18484 [BZ #14293]
18485 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18486 non-freeable.
18487
8da491f5
SP
184882013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18489
01dc6df9
SP
18490 * Makeconfig (rtld-prefix): Define built linker prefix.
18491 * Rules (run-bench): Use it.
18492 * math/Makefile (run-regen-ulps): Likewise.
18493
8da491f5
SP
18494 * Rules (bench): Remove eval.
18495
abe7f530
SP
184962013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18497 Roland McGrath <roland@hack.frob.com>
18498 Ondrej Bilka <neleai@seznam.cz>
18499
18500 [BZ #15346]
18501 * time/getdate.c: Include ctype.h and alloca.h.
18502 (__getdate_r): Trim leading and trailing spaces of input.
18503 * time/tst-getdate.c (tests): Add tests with leading and
18504 trailing spaces.
18505
61c23e62
RM
185062013-04-08 Roland McGrath <roland@hack.frob.com>
18507
18508 [BZ #14280]
18509 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18510 when computing value.
18511
7208a313
CD
185122013-04-06 Carlos O'Donell <carlos@redhat.com>
18513
085b2d41
CD
18514 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18515 Use testrun.sh to run libm tests.
18516
7208a313
CD
18517 [BZ #15309]
18518 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18519
872c0acd
MM
185202013-04-06 Marko Myllynen <myllynen@redhat.com>
18521
18522 [BZ #15264]
18523 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18524
26510bdd
CD
185252013-04-06 Carlos O'Donell <carlos@redhat.com>
18526
18527 * Makefile.in (regen-ulps): New target.
18528 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18529 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18530 [ifneq (no,$(PERL)] (regen-ulps): New target.
18531 [ifeq (no,$(PERL)] (regen-ulps): New target.
18532 * math/libm-test.inc (ulps_file_name): Define.
18533 (output_dir): New variable.
18534 (options): Add "output-dir" option.
18535 (parse_opt): Handle 'o' case.
18536 (main): If output_dir is non-NULL use it as a prefix
18537 otherwise use "".
18538 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18539
a01f19c8
CD
185402013-04-06 Carlos O'Donell <carlos@redhat.com>
18541
18542 [BZ #10060, #10062]
18543 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18544 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18545 fail configure if __sync_val_compare_and_swap is not inlined.
18546 * sysdeps/i386/configure: Regenerate.
18547 * configure.in: Build for i686 when configured for i386.
18548 * configure: Regenerate.
18549 * README: Remove i386 reference.
18550
b7a329a5
CD
185512013-04-06 Carlos O'Donell <carlos@redhat.com>
18552
18553 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18554 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18555
bf0f50df
TS
185562013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18557
ee091edf
TS
18558 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18559 (lmsnanval): New variables.
18560 (F): Add conversion tests.
18561 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18562 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18563
a8b792d6
TS
18564 * stdio-common/tstdiomisc.c (F): Properly collect individual
18565 tests' results.
18566
a1cbf437
TS
18567 [BZ #14686, #15336]
18568 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18569 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18570 Instead, use input NaN values or generate a qNaN by arithmetic
18571 operation. Also fix bugs to comply with the standard.
18572 * math/libm-test.inc (remainder_test): Add more tests.
18573
8b43a0c9
TS
18574 [BZ #15335, #15342]
18575 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18576 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18577 input NaN values or generate a qNaN by arithmetic operation.
18578
d91da4ce
TS
18579 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18580 unreachable code.
18581
bf0f50df
TS
18582 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18583 definitions.
18584
05e166c8
JM
185852013-04-03 Joseph Myers <joseph@codesourcery.com>
18586
18587 [BZ #14478]
18588 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18589 underflowed result.
18590 * math/s_cexpf.c (__cexpf): Likewise.
18591 * math/s_cexpl.c (__cexpl): Likewise.
18592 * math/libm-test.inc (cexp_test): Add more tests.
18593
1cef1b19
AS
185942013-04-03 Andreas Schwab <schwab@suse.de>
18595
18596 [BZ #15330]
18597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18598 order arrays from heap if bigger than alloca cutoff.
18599
74d87055
TS
186002013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18601
18602 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18603 (SNAN_TESTS_double): Refer to GCC PR56831.
18604 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18605 GCC PR56828.
18606
d755bba4
SP
186072013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18608
90d5d5bb
SP
18609 * Rules (bench): Move bench.out after the run is complete.
18610
73e0cd5d
SP
18611 * Rules (bench): Echo currently running benchmark.
18612
64aabd4b
SP
18613 * benchtests/Makefile (bench): Add atan and slowatan.
18614 * benchtests/atan-inputs: New file.
18615 * benchtests/slowatan-inputs: New file.
18616 * benchtests/slowatan.c: New file.
18617
c871eccd
SP
18618 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18619 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18620 its value.
18621
d755bba4
SP
18622 [BZ #15305]
18623 * sysdeps/unix/sysv/linux/kernel-features.h
18624 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18625 __ASSUME_XFS_RESTRICTED_CHOWN.
18626 * sysdeps/unix/sysv/linux/pathconf.c
18627 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18628 Save and restore errno.
18629
52ce4860
JM
186302013-04-02 Joseph Myers <joseph@codesourcery.com>
18631
18632 [BZ #15327]
18633 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18634 arguments using __kernel_casinh.
18635 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18636 arguments using __kernel_casinhf.
18637 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18638 arguments using __kernel_casinhl.
18639 * math/libm-test.inc (cacosh_test): Add more tests.
18640 * sysdeps/i386/fpu/libm-test-ulps: Update.
18641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18642
81f311c2
SP
186432013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18644
e7906a47
SP
18645 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18647
92e3664b
SP
18648 * bench/Makefile (bench): Add sin and slowsin.
18649 * benchtests/sin-inputs: New file.
18650 * benchtests/slowsin-inputs: New file.
18651 * benchtests/slowsin.c: New file.
18652
81f311c2
SP
18653 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18654 (bench): Add slowexp and slowpow.
18655 (exp-ITER): Increase iterations.
18656 (pow-ITER): Likewise.
18657 * benchtests/exp-inputs: Change input.
18658 * benchtests/pow-inputs: Likewise.
18659 * benchtests/slowexp-inputs: New file.
18660 * benchtests/slowexp.c: New file.
18661 * benchtests/slowpow-inputs: New file.
18662 * benchtests/slowpow.c: New file.
18663
ab0f1aa9
AZ
186642013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18665
18666 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18667 instructions.
18668 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18669 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18670 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18671 * benchtests/Makefile: Add rint benchtest.
18672 * benchtests/rint-inputs: Input for rint benchtest.
18673
57267616
TS
186742013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18675
18676 * Versions.def (libm): Add GLIBC_2.18.
18677 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18678 hidden libm prototypes.
18679 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18680 * math/Makefile (libm-calls): Add s_issignaling.
18681 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18682 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18683 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18684 declaration.
18685 * math/math.h [__USE_GNU] (issignaling): New macro.
18686 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18687 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18689 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18690 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18691 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18692 * manual/arith.texi (issignaling): New section.
18693 * manual/libm-err-tab.pl (@all_functions): Update comment.
18694 * math/gen-libm-test.pl (parse_args): Apply special handling for
18695 issignaling.
18696 * math/libm-test.inc (print_float, issignaling_test): New
18697 functions.
18698 (check_float_internal): Add issignaling checks.
18699 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18700 default definition.
18701 * sysdeps/powerpc/math-tests.h: New file.
18702 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18703 tests.
18704 * math/test-snan.c (TEST_FUNC): Likewise.
18705
6142896d
DM
187062013-03-30 David S. Miller <davem@davemloft.net>
18707
18708 * po/de.po: Update from translation team.
18709
ccc8cadf
JM
187102013-03-30 Joseph Myers <joseph@codesourcery.com>
18711
18712 [BZ #10357]
18713 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18714 imaginary part less than 1.0 and real part less than 0.5
18715 specially.
18716 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18717 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18718 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18719 (cacos_test): Add more tests.
18720 (casin_test): Likewise.
18721 (casinh_test): Likewise.
18722 * sysdeps/i386/fpu/libm-test-ulps: Update.
18723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18724
0f6a8d4b
SP
187252013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18726
0d1029de
SP
18727 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18728 ONE with its value.
18729
c2d94018
SP
18730 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18731 (__pow_mp): Replace ONE and MONE with their values.
18732 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18733 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18734 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18735 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18736 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18738
27ec37f1
SP
18739 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18740
a64d7e0e
SP
18741 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18742 (__pow_mp): Replace ZERO and MZERO with their values.
18743 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18744 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18745 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18747 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18748 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18749 (__sqr): Likewise.
18750
d26dd3eb
SP
18751 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18752
0f6a8d4b
SP
18753 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18754
e57b0c61
RM
187552013-03-28 Roland McGrath <roland@hack.frob.com>
18756
18757 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18758 Declare with __attribute__ ((weak)).
18759 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18760 Call __call_tls_dtors only if it's not NULL.
18761
356b3480
RM
187622013-03-28 Roland McGrath <roland@hack.frob.com>
18763
288f7d79
RM
18764 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18765 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18766 magic __ehdr_start linker symbol if it's defined.
18767 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18768 them up here if it was already done.
18769
dc0a0263
RM
18770 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18771 (_dl_aux_init): Use const in cast when setting it.
18772 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18773 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18774 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18775
3d3436ae
RM
18776 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18777 Declare them here.
18778 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18779 * csu/libc-tls.c: Nor here.
18780 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18781
356b3480
RM
18782 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18783 (__libc_message): Never call vsyslog.
18784
b0f1246a
AM
187852013-03-28 Alan Modra <amodra@gmail.com>
18786
18787 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18788 Define as empty.
18789 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18790 Likewise.
18791
fbbe2b9a
AZ
187922013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18793
18794 [BZ #15214]
18795 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18796 underflow.
18797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18798
1728ab37
SP
187992013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18800
7a86be6e
SP
18801 [BZ #15304]
18802 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18803 Don't add gid passed as argument.
18804
1728ab37
SP
18805 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18806
3a7182a1
JM
188072013-03-27 Joseph Myers <joseph@codesourcery.com>
18808
18809 [BZ #15307]
18810 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18811 imaginary part between 1.0 and 1.5 and real part less than 0.5
18812 specially.
18813 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18814 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18815 * math/libm-test.inc (cacos_test): Add more tests.
18816 (casin_test): Likewise.
18817 (casinh_test): Likewise.
18818 * sysdeps/i386/fpu/libm-test-ulps: Update.
18819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18820
6f2e90e7
SP
188212013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18822
5739f705
SP
18823 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18824 constants.
18825 (norm): Likewise.
18826 (denorm): Likewise.
18827 (__dbl_mp): Likewise.
18828 (add_magnitudes): Likewise.
18829 (sub_magnitudes): Likewise.
18830 (__add): Likewise.
18831 (__sub): Likewise.
18832 (__mul): Likewise.
18833 (__sqr): Likewise.
18834 (__inv): Likewise.
18835 (__dvd): Likewise.
18836
e375e83d
SP
18837 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18838 commented code.
18839 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18840 (__dubcos): Likewise.
18841 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18842 (__ieee754_acos): Likewise.
18843 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18844 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18845 (__exp1): Likewise.
18846 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18848 (log1): Likewise.
18849 (my_log2): Likewise.
18850 (checkint): Likewise.
18851 * sysdeps/ieee754/dbl-64/e_remainder.c
18852 (__ieee754_remainder): Likewise.
18853 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18854 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18855 (bsloww): Likewise.
18856 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18857
6f2e90e7
SP
18858 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18859 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18860 MANTISSA_STORE_T to store computations on mantissa. Use
18861 macros for rounding and division.
18862 (denorm): Likewise.
18863 (__dbl_mp): Likewise.
18864 (add_magnitudes): Likewise.
18865 (sub_magnitudes): Likewise.
18866 (__mul): Likewise.
18867 (__sqr): Likewise.
18868 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18869 powers of two in terms of TWOPOW macro.
18870 (mp_no): Make type of mantissa as MANTISSA_T.
18871 [!RADIXI]: Define RADIXI.
18872 [!TWO52]: Define TWO52.
18873 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18874
fce14d4e
AZ
188752013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18876
18877 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18878 llroundl symbol when building for PPC32.
18879
9ad027fb
MW
188802013-03-24 Mark H Weaver <mhw@netris.org>
18881
18882 * manual/arith.texi (Normalization Functions): Fix prototypes for
18883 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18884
e42a38dd
AZ
188852013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18886
18887 [BZ #13889]
18888 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18889 high value to check if expl overflow.
18890 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18891 to check for underflow and overflow.
18892 * math/libm-test.inc: Add exp test.
18893
2e0fb521
DL
188942013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18895
18896 [BZ #11120]
18897 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18898 with NOT_IN_libc.
18899
b5784d95
AZ
189002013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18901
18902 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18903 symbol.
18904
5aa4a1a1
TS
189052013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18906
bdef0be7
TS
18907 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18908 wrap blocks consisting of several statements.
18909
5aa4a1a1
TS
18910 * sysdeps/generic/math-tests.h: New file.
18911 * sysdeps/i386/fpu/math-tests.h: Likewise.
18912 * math/test-snan.c: Include it.
18913 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18914
98c48fe5
JM
189152013-03-21 Joseph Myers <joseph@codesourcery.com>
18916
18917 [BZ #15285]
18918 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18919 (__ieee754_j0l): Do not improve calculations using cos of twice
18920 input for inputs above LDBL_MAX / 2.0L.
18921 (__ieee754_y0l): Likewise.
18922 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18923 (__ieee754_j1l): Do not improve calculations using cos of twice
18924 input for inputs above LDBL_MAX / 2.0L.
18925 (__ieee754_y1l): Likewise.
18926 * math/libm-test.inc (j0_test): Add another test.
18927 (j1_test): Likewise.
18928 (y0_test): Likewise.
18929 (y1_test): Likewise.
18930 * sysdeps/i386/fpu/libm-test-ulps: Update.
18931
3775a8bc
SP
189322013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18933
18934 * Rules ($(objpfx)bench-%.c): Include code from a C source
18935 file.
18936
0a1b2ae6
JM
189372013-03-21 Joseph Myers <joseph@codesourcery.com>
18938
18939 [BZ #15287]
18940 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18941 imaginary part 1.0 and real part less than 0.5 specially.
18942 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18943 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18944 * math/libm-test.inc (cacos_test): Add more tests.
18945 (casin_test): Likewise.
18946 (casinh_test): Likewise.
18947 * sysdeps/i386/fpu/libm-test-ulps: Update.
18948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18949
b33d4ce4
SP
189502013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18951
18952 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18953 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18954
bef0b507
JM
189552013-03-20 Joseph Myers <joseph@codesourcery.com>
18956
18957 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18958 * config.make.in (config-cflags-sse4): Remove variable.
18959 (config-cflags-avx): Likewise.
18960 (config-cflags-sse2avx): Likewise.
18961 (config-cflags-novzeroupper): Likewise.
18962 (config-asflags-i686): Likewise.
18963 (have-mfma4): Likewise.
18964 (have-as-vis3): Likewise.
18965 (MIG): Likewise.
18966 * configure.in (MIG): Do not AC_SUBST.
18967 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18968 (libc_cv_cc_sse4): Do not AC_SUBST.
18969 (libc_cv_cc_avx): Likewise.
18970 (libc_cv_cc_sse2avx): Likewise.
18971 (libc_cv_cc_novzeroupper): Likewise.
18972 (libc_cv_cc_fma4): Likewise.
18973 (libc_cv_as_i686): Likewise.
18974 (libc_cv_sparc_as_vis3): Likewise.
18975 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18976 LIBC_CONFIG_VAR.
18977 (config-asflags-i686): Likewise.
18978 (config-cflags-avx): Likewise.
18979 (config-cflags-sse2avx): Likewise.
18980 (have-mfma4): Likewise.
18981 (config-cflags-novzeroupper): Likewise.
18982 * sysdeps/mach/configure.in (MIG): Likewise.
18983 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18984 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18985 LIBC_CONFIG_VAR.
18986 (config-cflags-avx): Likewise.
18987 (config-cflags-sse2avx): Likewise.
18988 (have-mfma4): Likewise.
18989 (config-cflags-novzeroupper): Likewise.
18990 * configure: Regenerated.
18991 * sysdeps/i386/configure: Likewise.
18992 * sysdeps/mach/configure: Likewise.
18993 * sysdeps/sparc/configure: Likewise.
18994 * sysdeps/x86_64/configure: Likewise.
18995
912cc4b3
RM
189962013-03-20 Roland McGrath <roland@hack.frob.com>
18997
18998 [BZ #14812]
18999 * locale/programs/localedef.c (options): Put N_ translation marker
19000 on argument names, not just descriptions.
19001
04eed2b0
MS
190022013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19003
19004 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19005
a065ceff
OB
190062013-03-20 Ondřej Bílka <neleai@seznam.cz>
19007
9bb2a810 19008 [BZ #14176]
a065ceff
OB
19009 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19010
a600e5ce
RM
190112013-03-19 Roland McGrath <roland@hack.frob.com>
19012
19013 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19014 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19015 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19016 [!BEFORE_ABORT] (before_abort): New function.
19017 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19018 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19019 (writev_for_fatal): New function.
19020 (WRITEV_FOR_FATAL): New macro; call that.
19021 (backtrace_and_maps): New function.
19022 (BEFORE_ABORT): New macro; call that.
19023 (struct str_list): Type removed.
19024 (__libc_message, __libc_fatal): Functions removed.
19025 Include <sysdeps/posix/libc_fatal.c> instead.
19026
6b18bea6
JM
190272013-03-19 Joseph Myers <joseph@codesourcery.com>
19028
19029 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19030 constants.
19031 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19032 double constants.
19033
aaa8cb4b
AS
190342013-03-19 Andreas Schwab <schwab@suse.de>
19035
44673770
AS
19036 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19037 * sysdeps/gnu/configure: Regenerate.
19038
aaa8cb4b
AS
19039 * configure.in: Substitute libc_cv_rtlddir.
19040 * configure: Regenerate.
19041 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19042 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19043 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19044 * elf/Makefile (install-others, CFLAGS-interp.c)
19045 (ldso_install, common-ldd-rewrite): Likewise.
19046 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19047 $(inst_slibdir)/$(rtld-installed-name).
19048 * scripts/rellns-sh: Add -p option.
19049 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19050 for source.
19051
d3cfc668
SP
190522013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19053
19054 * manual/nptl.texi: Renamed to ...
19055 * manual/threads.texi: ... this.
19056 * manual/Makefile (chapters): Update.
19057
0e2b9cdd
RM
190582013-03-18 Roland McGrath <roland@hack.frob.com>
19059
19060 [BZ #14812]
19061 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19062 on argument names, not just descriptions.
0e2b9cdd
RM
19063 * malloc/memusagestat.c (options): Likewise.
19064 * nss/getent.c (options): Likewise.
63270c24
RM
19065
190662013-03-18 Benno Schulenberg <bensberg@justemail.net>
19067
19068 [BZ #14812]
19069 * iconv/iconv_prog.c (options): Put N_ translation marker
19070 on argument names, not just descriptions.
19071 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 19072
b2e1393c
OB
190732013-03-18 Ondrej Bilka <neleai@seznam.cz>
19074
19075 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19076 implementation which is faster on all x86_64 architectures.
19077 Tested on AMD, Intel Nehalem, SNB, IVB.
19078 * sysdeps/x86_64/strnlen.S: Likewise.
19079
19080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19081 Remove all multiarch strlen and strnlen versions.
19082 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19083 Remove strlen and strnlen related parts.
19084
19085 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19086 Inline strlen part.
19087 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19088
19089 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19090 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19091 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19092 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19093 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19094 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19095
ec4ff04d
CD
190962013-03-17 Carlos O'Donell <carlos@redhat.com>
19097
19098 * manual/memory.texi (Malloc Tunable Parameters):
19099 Sort parameters alphabetically. Add comments for missing entries.
19100
cd18e90a
DM
191012013-03-17 David S. Miller <davem@davemloft.net>
19102
19103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19104
2a185d32
JM
191052013-03-16 Joseph Myers <joseph@codesourcery.com>
19106
d2f9799e
JM
19107 [BZ #15283]
19108 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19109 for arguments at most half maximum finite value.
19110 * math/libm-test.inc (j0_test): Add more tests.
19111 (j1_test): Likewise.
19112 (y0_test): Likewise.
19113 (y1_test): Likewise.
19114 * sysdeps/i386/fpu/libm-test-ulps: Update.
19115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19116
2a185d32
JM
19117 [BZ #14155]
19118 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19119 1 / x and functions P and Q for arguments above 0x1p256L.
19120 (__ieee754_y0l): Likewise.
19121 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19122 (__ieee754_y1l): Likewise.
19123 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19124 (j1_test): Likewise.
19125 (y0_test): Likewise.
19126 (y1_test): Likewise.
19127
6cbec759
TS
191282013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19129
19130 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19131 variable.
19132
bc16e260
RM
191332013-03-15 Roland McGrath <roland@hack.frob.com>
19134
aefc9b8c
RM
19135 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19136 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19137 zero since it's initialized to EXEC_PAGESIZE.
19138
bc16e260
RM
19139 * sysdeps/unix/sysv/linux/ldsodefs.h
19140 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19141 * sysdeps/generic/ldsodefs.h: ... here.
19142
a57da955
TS
191432013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19144
af00a34d
TS
19145 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19146
495ded2c
TS
19147 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19148 math/test-snan.c.
19149 * math/test-snan.c: Renamed from
19150 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19151 * math/Makefile (tests): Add test-snan.
19152 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19153 test-powerpc-snan.
19154
777b0332
TS
19155 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19156 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19157 functions.
19158 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19159 __builtin_nan family of functions.
19160 * math/libm-test.inc (initialize): Initialize qnan_value with
19161 __builtin_nan family of functions.
19162 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19163 Remove variables.
19164 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19165 Remove functions.
19166 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19167 storage class. Initialize qNaN_var and sNaN_var with
19168 __builtin_nan and __builtin_nans families of functions,
19169 respectively.
19170
64d063b8
TS
19171 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19172 (sqrt_test): Remove duplicate test with qNaN input.
19173 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19174 (round_test, signbit_test, significand_test): Note missing +/-Inf
19175 as well as qNaN tests.
19176
67e971f1
TS
19177 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19178 qNaN_var. Fix a few strings, too.
19179 * math/libm-test.inc (nan_value): Rename to qnan_value.
19180 * math/gen-libm-test.pl (%beautify): Adjust to that.
19181 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19182 * math/test-misc.c (main): Likewise.
19183 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19184 to __qnan_bytes, and __qnan_union, respectively.
19185 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19186 Likewise.
19187 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19188 and lqnanval, respectively.
19189 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19190 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19191 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19192 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19193
64487e12
TS
19194 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19195 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19196 doubles.
19197
e015e27b
TS
19198 * math/test-misc.c (main): Fix copy'n'pastos.
19199 * misc/tst-efgcvt.c (special): Likewise.
19200
a57da955
TS
19201 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19202 Remove declarations.
19203
1e380345
SP
192042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19205
19206 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19207 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19208 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19209 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19210
ef26eece
AZ
192112013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19212
19213 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19214 macro to return vdso values correctly in IFUNC implementations.
19215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19216 Optimization by using IFUNC.
19217
8cfdb7e0
SP
192182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19219 Richard Henderson <rth@redhat.com>
19220 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19221
19222 * Makefile.in (bench): New target.
19223 * NEWS: Mention the benchmark framework.
19224 * Rules (bench): Likewise.
19225 (binaries-bench): Generate binaries for functions to
19226 benchmark.
19227 * benchtests/Makefile: New makefile for benchmark tests.
19228 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19229 programs.
19230 * benchtests/exp-inputs: New input file for EXP function.
19231 * benchtests/pow-inputs: New input file for POW function.
19232 * scripts/bench.pl: New script to generate source files for
19233 benchmark programs.
19234
bcda9880
SP
192352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19236
d22ca8cd
SP
19237 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19238 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19239 computations on mantissa. Use macros for rounding and
19240 division.
19241 (denorm): Likewise.
19242 (__dbl_mp): Likewise.
19243 (add_magnitudes): Likewise.
19244 (sub_magnitudes): Likewise.
19245 (__mul): Likewise.
19246 (__sqr): Likewise.
19247 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19248 powers of two in terms of TWOPOW macro.
19249 (mp_no): Make type of mantissa as MANTISSA_T.
19250 [!RADIXI]: Define RADIXI.
19251 [!TWO52]: Define TWO52.
19252 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19253
bcda9880
SP
19254 * manual/nptl.texi (cindex): Modify threads to pthreads.
19255
06d5adfb
JM
192562013-03-15 Joseph Myers <joseph@codesourcery.com>
19257
19258 * sysdeps/x86_64/preconfigure: Regenerated.
19259
41c7328e
JM
192602013-03-14 Joseph Myers <joseph@codesourcery.com>
19261
19262 [BZ #14155]
19263 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19264 0x1p28 and above.
19265 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19266 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19267 0x1p28 and above.
19268 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19269 * math/libm-test.inc (j0_test): Do not allow one spurious
19270 underflow exception.
19271 (y1_test): Likewise.
19272
e25cfa60
SP
192732013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19274
0409959c
SP
19275 * manual/Makefile (chapters): Add nptl.
19276 * manual/debug.texi (Debugging Support): Add link to Threads
19277 chapter.
19278 * manual/nptl.texi: New file.
19279
e25cfa60
SP
19280 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19281
58a1335e
PB
192822013-03-14 Petr Baudis <pasky@ucw.cz>
19283
19284 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19285 for non-NULL pointer before the memory validity test. Pointed
19286 out by Holger Brunck <holger.brunck@keymile.com>.
19287
9dc7c64f
AS
192882013-03-13 Andreas Schwab <schwab@suse.de>
19289
19290 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19291 instead of .os.
19292
54206aa6
JM
192932013-03-13 Joseph Myers <joseph@codesourcery.com>
19294
19295 * timezone/zic.c: Update from tzcode 2013b.
19296
e98cdb38
CD
192972013-03-12 Carlos O'Donell <carlos@redhat.com>
19298
19299 * manual/install.texi (Configuring and compiling):
19300 Mention i686 and i586.
19301 * INSTALL: Regenerate.
19302
9967e003
RM
193032013-03-12 Roland McGrath <roland@hack.frob.com>
19304
19305 * sysdeps/init_array/elf-init.c: New file.
19306 * csu/elf-init.c
19307 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19308 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19309
19310 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19311 __gmon_start__ as global, but as static with a .preinit_array pointer.
19312 * sysdeps/init_array/gmon-start.c: New file. Use that.
19313 * sysdeps/init_array/crti.S: New file, empty except for comments.
19314 * sysdeps/init_array/crtn.S: Likewise.
19315
e6b5a293 193162013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19317
19318 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19319 definining bcopy.
80f844c9
OB
19320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19321 Remove Prefer_SSE_for_memop.
19322 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19323 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19324 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19326 memset-x86-64.
80f844c9 19327 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19328 Remove bzero, memset ifunc support.
80f844c9
OB
19329 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19330 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19331 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19332 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19333
fb6b0fcb
AS
193342013-03-11 Andreas Schwab <schwab@suse.de>
19335
19336 [BZ #15234]
19337 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19338 by SHLIB_COMPAT.
19339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19340 (GLIBC_2.16): Remove pthread_atfork.
19341
3e6bd4b1
PP
193422013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19343
19344 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19345 (ptestcases.h): Likewise.
19346
222d7f00
RM
193472013-03-08 Roland McGrath <roland@hack.frob.com>
19348
19349 * Makeconfig ($(common-objpfx)config.status): Depend on
19350 sysdeps/*/preconfigure{,.in} too.
19351
1ba4f030
JM
193522013-03-08 Joseph Myers <joseph@codesourcery.com>
19353
a222d91a
JM
19354 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19355 (__free_hook): Use void * instead of __malloc_ptr_t.
19356 (__malloc_hook): Likewise.
19357 (__realloc_hook): Likewise.
19358 (__memalign_hook): Likewise.
19359 (__after_morecore_hook): Likewise.
19360 * malloc/arena.c (save_malloc_hook): Likewise.
19361 (save_free_hook): Likewise.
19362 * malloc/hooks.c (malloc_hook_ini): Likewise.
19363 (realloc_hook_ini): Likewise.
19364 (memalign_hook_ini): Likewise.
19365 * malloc/malloc.c (malloc_hook_ini): Likewise.
19366 (realloc_hook_ini): Likewise.
19367 (memalign_hook_ini): Likewise.
19368 (__free_hook): Likewise.
19369 (__malloc_hook): Likewise.
19370 (__realloc_hook): Likewise.
19371 (__memalign_hook): Likewise.
19372 (__libc_malloc): Likewise.
19373 (__libc_free): Likewise.
19374 (__libc_realloc): Likewise.
19375 (__libc_memalign): Likewise.
19376 (__libc_valloc): Likewise.
19377 (__libc_pvalloc): Likewise.
19378 (__libc_calloc): Likewise.
19379 (__posix_memalign): Likewise.
19380 * malloc/morecore.c (__sbrk): Likewise.
19381 (__default_morecore): Likewise.
19382
5cc45e10
JM
19383 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19384
dd54b864
JM
19385 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19386 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19387 __malloc_ptrdiff_t.
19388
1ba4f030
JM
19389 * malloc/malloc.h (__malloc_size_t): Remove macro.
19390 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19391 __malloc_size_t.
19392 (old_memalign_hook): Likewise.
19393 (old_realloc_hook): Likewise.
19394 (struct hdr): Likewise.
19395 (flood): Likewise.
19396 (mallochook): Likewise.
19397 (memalignhook): Likewise.
19398 (reallochook): Likewise.
19399 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19400 (tr_old_realloc_hook): Likewise.
19401 (tr_old_memalign_hook): Likewise.
19402 (tr_mallochook): Likewise.
19403 (tr_reallochook): Likewise.
19404 (tr_memalignhook): Likewise.
19405
edf66e57
AZ
194062013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19407
19408 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19409 default_ldbl_pack and using as default implementation.
19410 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19411 implementation.
19412 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19413 redundant definition.
19414 (ldbl_insert_mantissa): Likewise.
19415 (ldbl_canonicalize): Likewise.
19416 (ldbl_nearbyint): Likewise.
19417 (ldbl_pack): Rename to ldbl_pack_ppc.
19418 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19419 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19420 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19421
6d9145d8
SP
194222013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19423
19424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19425 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19426 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19427 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19429 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19430 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19431 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19432
4dd4e157
AJ
194332013-03-07 Andreas Jaeger <aj@suse.de>
19434
19435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19436 bits/mman-linux.h.
19437
adbb8027
SP
194382013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19439
ce544b5b
SP
19440 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19441 Include mpa.h and declare __MPEXP.
19442 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19443 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19444 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19445 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19446 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19447 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19448 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19449
4cc149fd
SP
19450 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19451 (__slowpow): Use long double EXPL and LOGL functions to
19452 compute POW.
19453 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19454 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19455 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19456 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19457 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19458 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19459
e6ebd4a7
SP
19460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19461 intermediate variable to calculate exponent.
19462 (__sqr): Likewise.
19463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19464 Likewise.
19465 (__sqr): Likewise.
19466
82a9811d
SP
19467 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19468 [!NO__SQR]: Define __sqr.
19469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19470 and NO__SQR. Remove all code except __mul and __sqr. Include
19471 sysdeps/ieee754/dbl-64/mpa.c.
19472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19473
adbb8027
SP
19474 [BZ #12723]
19475 * posix/Makefile (tests): Add tst-pathconf.
19476 * posix/tst-pathconf.c: New test case.
19477 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19478 _PC_PIPE_BUF.
19479 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19480
39120df9
PF
194812013-03-06 Patsy Franklin <pfrankli@redhat.com>
19482
19483 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19484
67525cb8
AJ
194852013-03-06 Andreas Jaeger <aj@suse.de>
19486
664a9ce4
AJ
19487 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19488 definition via __MAP_ANONYMOUS.
19489
8e39047d
AJ
19490 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19491 it's not part of Linux headers.
19492
67525cb8
AJ
19493 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19494 (MAP_HUGE_MASK): Define.
19495
19496 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19497 Define.
19498 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19499 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19500 Define.
19501 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19502 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19503 Define.
19504 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19505 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19506 Define.
19507 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19508
19509 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19510 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19511 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19512 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19513 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19514 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19515
19516 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19517 Handle f2fs.
19518
19519 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19520 Handle f2fs and efivarfs.
19521
19522 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19523 f2fs.
19524
19525 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19526 (EFIVARFS_MAGIC): Add.
19527 (F2FS_LINK_MAX): Add.
19528
e1b42695
PP
195292013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19530
19531 * stdio-common/vfprintf.c: Replace __builtin_expect with
19532 __glibc_unlikely.
19533
2d67d91a
JM
195342013-03-06 Joseph Myers <joseph@codesourcery.com>
19535
19536 [BZ #13550]
19537 * sysdeps/generic/bp-sym.h: Remove file.
19538 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19539 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19540 <bp-sym.h> and <bp-asm.h>.
19541 (__longjmp): Don't use BP_SYM.
19542 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19543 and <bp-asm.h>.
19544 (memcpy): Don't use BP_SYM.
19545 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19546 <bp-sym.h> and <bp-asm.h>.
19547 (memcpy): Don't use BP_SYM.
19548 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19549 <bp-asm.h>.
19550 (memcpy): Don't use BP_SYM.
19551 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19552 <bp-asm.h>.
19553 (memset): Don't use BP_SYM.
19554 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19555 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19556 (__bzero): Don't use BP_SYM.
19557 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19558 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19559 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19560 <bp-sym.h> and <bp-asm.h>.
19561 (memcmp): Don't use BP_SYM. Remove comment about bounded
19562 pointers.
19563 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19564 <bp-sym.h> and <bp-asm.h>.
19565 (memcpy): Don't use BP_SYM.
19566 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19567 <bp-sym.h> and <bp-asm.h>.
19568 (memset): Don't use BP_SYM.
19569 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19570 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19571 (__bzero): Don't use BP_SYM.
19572 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19573 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19574 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19575 <bp-sym.h> and <bp-asm.h>.
19576 (strncmp): Don't use BP_SYM. Remove comment about bounded
19577 pointers.
19578 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19579 <bp-sym.h> and <bp-asm.h>.
19580 (memcpy): Don't use BP_SYM.
19581 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19582 <bp-sym.h> and <bp-asm.h>.
19583 (memset): Don't use BP_SYM.
19584 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19585 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19586 (__bzero): Don't use BP_SYM.
19587 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19588 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19589 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19590 <bp-sym.h> and <bp-asm.h>.
19591 (__memchr): Don't use BP_SYM.
19592 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19593 <bp-sym.h> and <bp-asm.h>.
19594 (memcmp): Don't use BP_SYM. Remove comment about bounded
19595 pointers.
19596 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19597 <bp-sym.h> and <bp-asm.h>.
19598 (memcpy): Don't use BP_SYM.
19599 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19600 <bp-sym.h> and <bp-asm.h>.
19601 (__mempcpy): Don't use BP_SYM.
19602 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19603 <bp-sym.h> and <bp-asm.h>.
19604 (__memrchr): Don't use BP_SYM.
19605 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19606 <bp-sym.h> and <bp-asm.h>.
19607 (memset): Don't use BP_SYM.
19608 (__bzero): Likewise.
19609 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19610 <bp-sym.h> and <bp-asm.h>.
19611 (__rawmemchr): Don't use BP_SYM.
19612 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19613 <bp-sym.h> and <bp-asm.h>.
19614 (__STRCMP): Don't use BP_SYM.
19615 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19616 <bp-sym.h> and <bp-asm.h>.
19617 (strchr): Don't use BP_SYM.
19618 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19619 <bp-sym.h> and <bp-asm.h>.
19620 (__strchrnul): Don't use BP_SYM.
19621 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19622 <bp-sym.h> and <bp-asm.h>.
19623 (strlen): Don't use BP_SYM.
19624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19625 <bp-sym.h> and <bp-asm.h>.
19626 (strncmp): Don't use BP_SYM. Remove comment about bounded
19627 pointers.
19628 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19629 <bp-sym.h> and <bp-asm.h>.
19630 (__strnlen): Don't use BP_SYM.
19631 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19632 <bp-sym.h> and <bp-asm.h>.
19633 (__GI__setjmp): Don't use BP_SYM.
19634 (_setjmp): Likewise.
19635 (__sigsetjmp): Likewise.
19636 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19637 (L(start_addresses)): Don't use BP_SYM.
19638 (_start): Likewise.
19639 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19640 <bp-asm.h>.
19641 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19642 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19643 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19644 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19645 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19646 <bp-asm.h>.
19647 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19648 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19649 about bounded pointers.
19650 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19651 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19652 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19653 <bp-asm.h>.
19654 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19655 about bounded pointers. Remove GKM FIXME comments.
19656 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19657 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19658 <bp-asm.h>.
19659 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19660 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19661 Remove GKM FIXME comments.
19662 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19663 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19664 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19665 <bp-asm.h>.
19666 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19667 about bounded pointers. Remove GKM FIXME comment.
19668 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19669 and <bp-asm.h>.
19670 (strncmp): Don't use BP_SYM. Remove comment about bounded
19671 pointers.
19672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19673 <bp-sym.h> and <bp-asm.h>.
19674 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19676 <bp-sym.h> and <bp-asm.h>.
19677 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19678 comment.
19679
cdcf361f
PP
196802013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19681
19682 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19683 call free(NULL).
19684
3c4a2b15
DM
196852013-03-05 David S. Miller <davem@davemloft.net>
19686
19687 * po/es.po: Update from translation team.
19688
cdcf361f 196892013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19690
19691 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19692 <bits/mman-linux.h>.
19693 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19694 is fine.
19695 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19696 <bits/mman-linux.h> to end of file.
19697 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19698 is fine.
19699 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19700 <bits/mman-linux.h> to end of file.
19701 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19702 is fine.
19703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19704 <bits/mman-linux.h> to end of file.
19705
19706 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19707 (MCL_CURRENT, MCL_FUTURE): Define here.
19708
5f67c04f
AK
197092013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19710
8a4473cc 19711 [BZ #15232]
5f67c04f
AK
19712 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19713 attribute_hidden.
19714 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19715
c3e94a95
AK
197162013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19717
19718 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19719 fourth parameter needed for rt_sigprocmask syscall.
19720 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19721 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19722 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19723 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19724 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19725 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19726
cfb6382a
JM
197272013-03-04 Joseph Myers <joseph@codesourcery.com>
19728
19729 [BZ #13550]
19730 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19731 comment about bounded pointers.
19732 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19733 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19734
539d8e01
AJ
197352013-03-04 Andreas Jaeger <aj@suse.de>
19736
19737 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19738 common definitions.
19739
19740 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19741 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19742 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19743 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19744 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19745 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19746
2e167a70 197472013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19748
19749 [BZ #15055]
19750 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19751 __ieee754_sqrl instead of __sqrl.
19752
68508633
JM
197532013-03-01 Joseph Myers <joseph@codesourcery.com>
19754
19755 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19756 * sysdeps/powerpc/fpu_control.h: ... here.
19757 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19758 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19759 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19760 * sysdeps/powerpc/bits/mathinline.h: ... here.
19761
7775448e
RM
197622013-03-01 Roland McGrath <roland@hack.frob.com>
19763
19764 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19765 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19766 to just [NEED_DL_SYSINFO_DSO].
19767 * elf/dl-support.c: Likewise.
19768 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19769 * elf/rtld.c (dl_main): Likewise.
19770 * elf/setup-vdso.h (setup_vdso): Likewise.
19771 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19772 * sysdeps/unix/sysv/linux/dl-sysdep.c
19773 (_dl_discover_osversion): Likewise.
19774
4e9b5995
CD
197752013-03-01 Carlos O'Donell <carlos@redhat.com>
19776
19777 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19778 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19779
e23872c8
SP
197802013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19781
e5c74c63
SP
19782 * NEWS: Mention libm performance improvements and non-x86 PI
19783 futex support.
19784
e23872c8
SP
19785 * csu/libc-start.c (__pthread_initialize_minimal): Change
19786 function arguments.
19787 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19788
b5510883
JM
197892013-02-28 Joseph Myers <joseph@codesourcery.com>
19790
19791 [BZ #13550]
19792 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19793 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19794 <bp-sym.h> and <bp-asm.h>.
19795 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19796 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19797 and <bp-asm.h>.
19798 (memcpy): Don't use BP_SYM.
19799 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19800 <bp-asm.h>.
19801 (__mpn_add_n): Don't use BP_SYM.
19802 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19803 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19804 and <bp-asm.h>.
19805 (__mpn_addmul_1): Don't use BP_SYM.
19806 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19807 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19808 <bp-sym.h>.
19809 (_setjmp): Don't use BP_SYM.
19810 (__novmx_setjmp): Likewise.
19811 (__GI__setjmp): Likewise.
19812 (__vmx_setjmp): Likewise.
19813 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19814 <bp-sym.h>.
19815 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19816 (__bzero): Don't use BP_SYM.
19817 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19818 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19819 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19820 <bp-sym.h> and <bp-asm.h>.
19821 (memcpy): Don't use BP_SYM.
19822 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19823 <bp-sym.h> and <bp-asm.h>.
19824 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19825 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19826 <bp-sym.h> and <bp-asm.h>.
19827 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19828 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19829 <bp-asm.h>.
19830 (__mpn_lshift): Don't use BP_SYM.
19831 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19832 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19833 <bp-asm.h>.
19834 (memset): Don't use BP_SYM.
19835 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19836 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19837 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19838 <bp-asm.h>.
19839 (__mpn_mul_1): Don't use BP_SYM.
19840 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19841 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19842 <bp-sym.h> and <bp-asm.h>.
19843 (memcmp): Don't use BP_SYM.
19844 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19845 <bp-sym.h> and <bp-asm.h>.
19846 (memcpy): Don't use BP_SYM.
19847 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19848 <bp-sym.h> and <bp-asm.h>.
19849 (memset): Don't use BP_SYM.
19850 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19851 <bp-sym.h> and <bp-asm.h>.
19852 (strncmp): Don't use BP_SYM.
19853 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19854 <bp-sym.h> and <bp-asm.h>.
19855 (memcpy): Don't use BP_SYM.
19856 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19857 <bp-sym.h> and <bp-asm.h>.
19858 (memset): Don't use BP_SYM.
19859 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19860 <bp-sym.h> and <bp-asm.h>.
19861 (__memchr): Don't use BP_SYM.
19862 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19863 <bp-sym.h> and <bp-asm.h>.
19864 (memcmp): Don't use BP_SYM.
19865 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19866 <bp-sym.h> and <bp-asm.h>.
19867 (memcpy): Don't use BP_SYM.
19868 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19869 <bp-sym.h> and <bp-asm.h>.
19870 (__mempcpy): Don't use BP_SYM.
19871 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19872 <bp-sym.h> and <bp-asm.h>.
19873 (__memrchr): Don't use BP_SYM.
19874 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19875 <bp-sym.h> and <bp-asm.h>.
19876 (memset): Don't use BP_SYM.
19877 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19878 <bp-sym.h> and <bp-asm.h>.
19879 (__rawmemchr): Don't use BP_SYM.
19880 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19881 <bp-sym.h> and <bp-asm.h>.
19882 (__STRCMP): Don't use BP_SYM.
19883 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19884 <bp-sym.h> and <bp-asm.h>.
19885 (strchr): Don't use BP_SYM.
19886 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19887 <bp-sym.h> and <bp-asm.h>.
19888 (__strchrnul): Don't use BP_SYM.
19889 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19890 <bp-sym.h> and <bp-asm.h>.
19891 (strlen): Don't use BP_SYM.
19892 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19893 <bp-sym.h> and <bp-asm.h>.
19894 (strncmp): Don't use BP_SYM.
19895 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19896 <bp-sym.h> and <bp-asm.h>.
19897 (__strnlen): Don't use BP_SYM.
19898 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19899 <bp-asm.h>.
19900 (__mpn_rshift): Don't use BP_SYM.
19901 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19902 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19903 <bp-sym.h> and <bp-asm.h>.
19904 (__sigsetjmp): Don't use BP_SYM.
19905 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19906 (L(start_addresses)): Don't use BP_SYM.
19907 (_start): Likewise.
19908 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19909 <bp-asm.h>.
19910 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19911 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19912 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19913 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19914 <bp-asm.h>.
19915 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19916 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19917 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19918 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19919 <bp-asm.h>.
19920 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19921 comments.
19922 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19923 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19924 <bp-asm.h>.
19925 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19926 FIXME comments.
19927 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19928 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19929 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19930 <bp-asm.h>.
19931 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19932 comment.
19933 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19934 and <bp-asm.h>.
19935 (strncmp): Don't use BP_SYM,
19936 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19937 <bp-asm.h>.
19938 (__mpn_sub_n): Don't use BP_SYM.
19939 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19940 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19941 and <bp-asm.h>.
19942 (__mpn_submul_1): Don't use BP_SYM.
19943 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19945 <bp-sym.h> and <bp-asm.h>.
19946 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19948 <bp-sym.h> and <bp-asm.h>.
19949 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19950 comment.
19951
8d19fe64
SP
199522013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19953
19954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19955 Use ZK to minimize writes to Z.
19956 (sub_magnitudes): Simplify code a bit.
19957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19958 Use ZK to minimize writes to Z.
19959 (sub_magnitudes): Simplify code a bit.
19960
85bd816a
RM
199612013-02-27 Roland McGrath <roland@hack.frob.com>
19962
19963 * csu/gmon-start.c: Add special exception to license text.
19964
b5977bf2
RH
199652013-02-27 Richard Henderson <rth@redhat.com>
19966
19967 * scripts/config.guess: Update from config.git.
19968 * scripts/config.sub: Likewise.
19969
11d6e2f2
SP
199702013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19971
09c14ed2
SP
19972 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19973
a688864e
SP
19974 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19975
6295157a
SP
19976 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19977
b8de2202
SP
19978 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19979
11d6e2f2
SP
19980 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19981
7e80ddb8
RM
199822013-02-26 Roland McGrath <roland@hack.frob.com>
19983
19984 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19985 [$(build-shared = yes].
7e80ddb8 19986
7da6d9ed
SP
199872013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19988
45f05884
SP
19989 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19990 (__mul): Reduce iterations for calculating mantissa.
19991
2236d359
SP
19992 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19993 MPTWO.
19994 (__mpranred): Likewise.
19995
7da6d9ed
SP
19996 [BZ #15160]
19997 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19998 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19999
b7688c42
PE
200002013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20001
20002 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20003 Define __attribute__.
20004
53a5c423
SP
200052013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20006
20007 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20008 unused.
20009 * posix/regex_internal.h (__attribute): Remove.
20010 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20011 (re_string_context_at): Likewise.
20012 (bitset_not): Use __attribute__ and mark function as possibly
20013 unused.
20014 (bitset_merge): Likewise.
20015 (bitset_mask): Likewise.
20016 (re_string_char_size_at): Likewise.
20017 (re_string_wchar_at): Likewise.
20018 (re_string_elem_size_at): Likewise.
20019
60f5a8b5
SP
200202013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20021
2a983a2e
SP
20022 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20023 code.
20024 (cc32): Likewise.
20025
e69804d1
SP
20026 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20027 (__acr): Likewise.
20028 (__cpy): Likewise.
20029 (norm): Likewise.
20030 (denorm): Likewise.
20031 (__dbl_mp): Likewise.
20032 (add_magnitudes): Likewise.
20033 (sub_magnitudes): Likewise.
20034 (__mul): Likewise.
20035 (__inv): Likewise.
20036
2f22a1e8
SP
20037 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20038 style.
20039
8930ddc7
SP
20040 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20041 style.
20042
dc60cb11
SP
20043 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20044 code.
20045
60f5a8b5
SP
20046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20047 up changes with default code.
20048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20049 Likewise.
20050
b4d1fd33
AM
200512013-02-24 Allan McRae <allan@archlinux.org>
20052
faf6f8bc
AM
20053 * manual/socket.texi (The Internet Namespace): Order menu items
20054 to match that in the file.
20055
b4d1fd33
AM
20056 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20057 node listing of the info page menu.
20058
2366713d
JM
200592013-02-21 Joseph Myers <joseph@codesourcery.com>
20060
20061 [BZ #13550]
20062 * sysdeps/i386/bp-asm.h: Remove file.
20063 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20064 (PARMS): Do not use macros from bp-asm.h.
20065 (S1): Likewise.
20066 (S2): Likewise.
20067 (SIZE): Likewise.
20068 (__mpn_add_n): Do not use BP_SYM
20069 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20070 "bp-asm.h".
20071 (PARMS): Do not use macros from bp-asm.h.
20072 (S1): Likewise.
20073 (SIZE): Likewise.
20074 (__mpn_addmul_1): Do not use BP_SYM
20075 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20076 "bp-asm.h".
20077 (PARMS): Do not use macros from bp-asm.h.
20078 (SIGMSK): Likewise.
20079 (_setjmp): Likewise. Do not use BP_SYM.
20080 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20081 "bp-asm.h".
20082 (PARMS): Do not use macros from bp-asm.h.
20083 (SIGMSK): Likewise.
20084 (setjmp): Likewise. Do not use BP_SYM.
20085 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20086 "bp-asm.h".
20087 (PARMS): Do not use macros from bp-asm.h.
20088 (__frexp): Do not use BP_SYM.
20089 (frexp): Likewise.
20090 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20091 "bp-asm.h".
20092 (PARMS): Do not use macros from bp-asm.h.
20093 (__frexpf): Do not use BP_SYM.
20094 (frexpf): Likewise.
20095 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20096 "bp-asm.h".
20097 (PARMS): Do not use macros from bp-asm.h.
20098 (__frexpl): Do not use BP_SYM.
20099 (frexpl): Likewise.
20100 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20101 "bp-asm.h".
20102 (PARMS): Do not use macros from bp-asm.h.
20103 (__remquo): Do not use BP_SYM.
20104 (remquo): Likewise.
20105 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20106 "bp-asm.h".
20107 (PARMS): Do not use macros from bp-asm.h.
20108 (__remquof): Do not use BP_SYM.
20109 (remquof): Likewise.
20110 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20111 "bp-asm.h".
20112 (PARMS): Do not use macros from bp-asm.h.
20113 (__remquol): Do not use BP_SYM.
20114 (remquol): Likewise.
20115 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20116 "bp-asm.h".
20117 (PARMS): Do not use macros from bp-asm.h.
20118 (DEST): Likewise.
20119 (SRC): Likewise.
20120 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20121 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20122 "bp-asm.h".
20123 (PARMS): Do not use macros from bp-asm.h.
20124 (strlen): Do not use BP_SYM.
20125 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20126 "bp-asm.h".
20127 (PARMS): Do not use macros from bp-asm.h.
20128 (S1): Likewise.
20129 (S2): Likewise.
20130 (SIZE): Likewise.
20131 (__mpn_add_n): Do not use BP_SYM.
20132 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20133 "bp-asm.h".
20134 (PARMS): Do not use macros from bp-asm.h.
20135 (S1): Likewise.
20136 (SIZE): Likewise.
20137 (__mpn_addmul_1): Do not use BP_SYM.
20138 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20139 weak_alias.
20140 (bzero): Likewise.
20141 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20142 "bp-asm.h".
20143 (PARMS): Do not use macros from bp-asm.h.
20144 (S): Likewise.
20145 (SIZE): Likewise.
20146 (__mpn_lshift): Do not use BP_SYM.
20147 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20148 "bp-asm.h".
20149 (PARMS): Do not use macros from bp-asm.h.
20150 (DEST): Likewise.
20151 (SRC): Likewise.
20152 (LEN): Likewise.
20153 (memcpy): Likewise. Do not use BP_SYM.
20154 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20155 libc_hidden_def and weak_alias.
20156 (mempcpy): Do not use BP_SYM in weak_alias.
20157 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20158 "bp-asm.h".
20159 (PARMS): Do not use macros from bp-asm.h.
20160 (DEST): Likewise.
20161 (LEN): Likewise.
20162 [!BZERO_P] (CHR): Likewise.
20163 (memset): Likewise. Do not use BP_SYM.
20164 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20165 "bp-asm.h".
20166 (PARMS): Do not use macros from bp-asm.h.
20167 (S1): Likewise.
20168 (SIZE): Likewise.
20169 (__mpn_mul_1): Do not use BP_SYM.
20170 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20171 "bp-asm.h".
20172 (PARMS): Do not use macros from bp-asm.h.
20173 (S): Likewise.
20174 (SIZE): Likewise.
20175 (__mpn_rshift): Do not use BP_SYM.
20176 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20177 "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 (index): Do not use BP_SYM in weak_alias.
20183 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20184 "bp-asm.h".
20185 (PARMS): Do not use macros from bp-asm.h.
20186 (DEST): Likewise.
20187 (SRC): Likewise.
20188 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20189 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20190 "bp-asm.h".
20191 (PARMS): Do not use macros from bp-asm.h.
20192 (strlen): Do not use BP_SYM.
20193 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20194 "bp-asm.h".
20195 (PARMS): Do not use macros from bp-asm.h.
20196 (S1): Likewise.
20197 (S2): Likewise.
20198 (SIZE): Likewise.
20199 (__mpn_sub_n): Do not use BP_SYM.
20200 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20201 "bp-asm.h".
20202 (PARMS): Do not use macros from bp-asm.h.
20203 (S1): Likewise.
20204 (SIZE): Likewise.
20205 (__mpn_submul_1): Do not use BP_SYM.
20206 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20207 "bp-asm.h".
20208 (PARMS): Do not use macros from bp-asm.h.
20209 (S1): Likewise.
20210 (S2): Likewise.
20211 (SIZE): Likewise.
20212 (__mpn_add_n): Do not use BP_SYM.
20213 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20214 weak_alias.
20215 (bzero): Likewise.
20216 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20217 "bp-asm.h".
20218 (PARMS): Do not use macros from bp-asm.h.
20219 (BLK2): Likewise.
20220 (LEN): Likewise.
20221 (memcmp): Do not use BP_SYM.
20222 (bcmp): Do not use BP_SYM in weak_alias.
20223 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20224 "bp-asm.h".
20225 (PARMS): Do not use macros from bp-asm.h.
20226 (DEST): Likewise.
20227 (SRC): Likewise.
20228 (LEN): Likewise.
20229 (memcpy): Likewise. Do not use BP_SYM.
20230 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20231 "bp-asm.h".
20232 (PARMS): Do not use macros from bp-asm.h.
20233 (DEST): Likewise.
20234 (SRC): Likewise.
20235 (LEN): Likewise.
20236 (memmove): Likewise. Do not use BP_SYM.
20237 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20238 "bp-asm.h".
20239 (PARMS): Do not use macros from bp-asm.h.
20240 (DEST): Likewise.
20241 (SRC): Likewise.
20242 (LEN): Likewise.
20243 (__mempcpy): Likewise. Do not use BP_SYM.
20244 (mempcpy): Do not use BP_SYM in weak_alias.
20245 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20246 "bp-asm.h".
20247 (PARMS): Do not use macros from bp-asm.h.
20248 (DEST): Likewise.
20249 (LEN): Likewise.
20250 [!BZERO_P] (CHR): Likewise.
20251 (memset): Likewise. Do not use BP_SYM.
20252 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20253 "bp-asm.h".
20254 (PARMS): Do not use macros from bp-asm.h.
20255 (STR2): Likewise.
20256 (strcmp): Do not use BP_SYM.
20257 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20258 "bp-asm.h".
20259 (PARMS): Do not use macros from bp-asm.h.
20260 (STR): Likewise.
20261 (DELIM): Likewise.
20262 [USE_AS_STRTOK_R] (SAVE): Likewise.
20263 (FUNCTION): Likewise. Do not use BP_SYM.
20264 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20265 aliases.
20266 (strtok_r): Likewise.
20267 (__GI___strtok_r): Likewise.
20268 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20269 (PARMS): Do not use macros from bp-asm.h.
20270 (S): Likewise.
20271 (SIZE): Likewise.
20272 (__mpn_lshift): Do not use BP_SYM.
20273 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20274 (PARMS): Do not use macros from bp-asm.h.
20275 (STR): Likewise.
20276 (CHR): Likewise.
20277 (__memchr): Do not use BP_SYM.
20278 (memchr): Do not use BP_SYM in weak_alias.
20279 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20280 (PARMS): Do not use macros from bp-asm.h.
20281 (BLK2): Likewise.
20282 (LEN): Likewise.
20283 (memcmp): Do not use BP_SYM.
20284 (bcmp): Do not use BP_SYM in weak_alias.
20285 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20286 (PARMS): Do not use macros from bp-asm.h.
20287 (S1): Likewise.
20288 (SIZE): Likewise.
20289 (__mpn_mul_1): Do not use BP_SYM.
20290 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20291 "bp-asm.h".
20292 (PARMS): Do not use macros from bp-asm.h.
20293 (STR): Likewise.
20294 (CHR): Likewise.
20295 (__rawmemchr): Do not use BP_SYM.
20296 (rawmemchr): Do not use BP_SYM in weak_alias.
20297 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20298 (PARMS): Do not use macros from bp-asm.h.
20299 (S): Likewise.
20300 (SIZE): Likewise.
20301 (__mpn_rshift): Do not use BP_SYM.
20302 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20303 (PARMS): Do not use macros from bp-asm.h.
20304 (SIGMSK): Likewise.
20305 (__sigsetjmp): Likewise. Do not use BP_SYM.
20306 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20307 (_start): Do not use BP_SYM.
20308 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20309 (PARMS): Do not use macros from bp-asm.h.
20310 (DEST): Likewise.
20311 (SRC): Likewise.
20312 (__stpcpy): Likewise. Do not use BP_SYM.
20313 (stpcpy): Do not use BP_SYM in weak_alias.
20314 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20315 "bp-asm.h".
20316 (PARMS): Do not use macros from bp-asm.h.
20317 (DEST): Likewise.
20318 (SRC): Likewise.
20319 (LEN): Likewise.
20320 (__stpncpy): Likewise. Do not use BP_SYM.
20321 (stpncpy): Do not use BP_SYM in weak_alias.
20322 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20323 (PARMS): Do not use macros from bp-asm.h.
20324 (STR): Likewise.
20325 (CHR): Likewise.
20326 (strchr): Likewise. Do not use BP_SYM.
20327 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20328 "bp-asm.h".
20329 (PARMS): Do not use macros from bp-asm.h.
20330 (STR): Likewise.
20331 (CHR): Likewise.
20332 (__strchrnul): Likewise. Do not use BP_SYM.
20333 (strchrnul): Do not use BP_SYM in weak_alias.
20334 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20335 "bp-asm.h".
20336 (PARMS): Do not use macros from bp-asm.h.
20337 (STOP): Likewise.
20338 (strcspn): Do not use BP_SYM.
20339 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20340 "bp-asm.h".
20341 (PARMS): Do not use macros from bp-asm.h.
20342 (STR): Likewise.
20343 (STOP): Likewise.
20344 (strpbrk): Likewise. Do not use BP_SYM.
20345 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20346 "bp-asm.h".
20347 (PARMS): Do not use macros from bp-asm.h.
20348 (STR): Likewise.
20349 (CHR): Likewise.
20350 (strrchr): Likewise. Do not use BP_SYM.
20351 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20352 (PARMS): Do not use macros from bp-asm.h.
20353 (SKIP): Likewise.
20354 (strspn): Do not use BP_SYM.
20355 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20356 (PARMS): Do not use macros from bp-asm.h.
20357 (STR): Likewise.
20358 (DELIM): Likewise.
20359 (SAVE): Likewise.
20360 (FUNCTION): Likewise. Do not use BP_SYM.
20361 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20362 aliases.
20363 (strtok_r): Likewise.
20364 (__GI___strtok_r): Likewise.
20365 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20366 (PARMS): Do not use macros from bp-asm.h.
20367 (S1): Likewise.
20368 (S2): Likewise.
20369 (SIZE): Likewise.
20370 (__mpn_sub_n): Do not use BP_SYM.
20371 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20372 "bp-asm.h".
20373 (PARMS): Do not use macros from bp-asm.h.
20374 (S1): Likewise.
20375 (SIZE): Likewise.
20376 (__mpn_submul_1): Do not use BP_SYM.
20377 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20378 <bp-sym.h>.
20379 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20380 and <bp-asm.h>.
20381 (PARMS): Do not use macros from bp-asm.h.
20382 (FLAGS): Likewise.
20383 (PTID): Likewise.
20384 (TLS): Likewise.
20385 (CTID): Likewise.
20386 (__clone): Do not use BP_SYM.
20387 (clone): Do not use BP_SYM in weak_alias.
20388 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20389 and <bp-asm.h>.
20390 (PARMS): Do not use macros from bp-asm.h.
20391 (LEN): Likewise.
20392 (__mmap64): Do not use BP_SYM.
20393 (mmap64): Do not use BP_SYM in weak_alias.
20394 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20395 <bp-sym.h> and <bp-asm.h>.
20396 (PARMS): Do not use macros from bp-asm.h.
20397 (__posix_fadvise64_l64): Do not use BP_SYM.
20398 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20399 (PARMS): Do not use macros from bp-asm.h.
20400 (NSOPS): Likewise.
20401 (semtimedop): Do not use BP_SYM.
20402 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20403 and <bp-asm.h>.
20404
582a3cff
AM
204052013-02-21 Allan McRae <allan@archlinux.org>
20406
20407 * manual/message.texi (Charset conversion in gettext):
20408 Move @end statement to beginning of line.
20409
bab8a695
SP
204102013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20411
80945231
SP
20412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20413 static.
20414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20415 Likewise.
20416
bab8a695
SP
20417 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20418 (denorm): Likewise.
20419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20421
e21d7aa7
AK
204222013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20423
20424 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20425 tail-call to the resolved function if pltexit isn't needed.
20426
4c7a4263
SP
204272013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20428
20429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20430 or Y being zero as being unlikely.
20431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20432 Likewise.
20433
41f49342
CD
204342013-02-20 Carlos O'Donell <carlos@redhat.com>
20435
20436 * manual/nss.texi (System Databases and Name Service Switch):
20437 Remove frobnicate @pxref.
20438
50022a93
TS
204392013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20440
20441 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20442 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20443
08cbd996
PM
204442013-02-20 Petr Machata <pmachata@redhat.com>
20445
20446 * elf/elf.h (R_ARM_TARGET1): New macro.
20447 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20448 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20449 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20450 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20451 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20452 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20453 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20454 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20455 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20456 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20457 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20458 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20459 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20460 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20461 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20462 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20463 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20464 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20465 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20466 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20467 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20468 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20469 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20470 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20471 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20472 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20473 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20474 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20475 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20476 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20477 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20478 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20479 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20480 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20481 (R_ARM_THM_GOT_BREL12): Likewise.
20482 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20483 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20484 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20485 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20486 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20487 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20488 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20489 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20490 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20491
c7b275d6
TS
204922013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20493
20494 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20495 __attribute_used__ to __attribute__ ((unused)).
20496
20cd7fb3
SP
204972013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20498
20499 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20500 powerpc mpa.c.
20501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20502 comment formatting.
20503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20504
92945b52
JM
205052013-02-19 Joseph Myers <joseph@codesourcery.com>
20506
20507 [BZ #13550]
20508 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20509 Remove macro.
20510 (ENTER): Remove both macro definitions.
20511 (LEAVE): Likewise.
20512 (CHECK_BOUNDS_LOW): Likewise.
20513 (CHECK_BOUNDS_HIGH): Likewise.
20514 (CHECK_BOUNDS_BOTH): Likewise.
20515 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20516 (RETURN_BOUNDED_POINTER): Likewise.
20517 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20518 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20519 (POP_ERRNO_LOCATION_RETURN): Likewise.
20520 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20521 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20522 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20523 macros.
20524 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20525 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20526 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20527 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20528 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20529 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20530 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20531 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20532 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20533 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20534 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20535 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20536 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20537 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20538 removed macros.
20539 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20540 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20541 macros.
20542 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20543 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20544 * sysdeps/i386/i586/memset.S (memset): Likewise.
20545 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20546 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20547 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20548 macros.
20549 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20550 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20551 Change uses of L(2) to L(out).
20552 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20553 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20554 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20555 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20556 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20557 removed macros.
20558 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20559 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20560 macros.
20561 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20562 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20563 (RETURN): Do not use macro LEAVE.
20564 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20565 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20566 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20567 * sysdeps/i386/i686/memset.S (memset): Likewise.
20568 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20569 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20570 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20571 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20572 Likewise.
20573 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20574 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20575 L(1_2) and L(1_3) into L(1).
20576 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20577 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20578 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20579 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20580 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20581 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20582 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20583 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20584 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20585 macros.
20586 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20587 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20588 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20589 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20590 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20591 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20592 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20593 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20594 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20595 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20596 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20597 * sysdeps/i386/strspn.S (strspn): Likewise.
20598 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20599 conditional code.
20600 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20601 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20602 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20603 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20604 L(1_3) into L(1_1).
20605 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20606 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20607 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20608 macros.
20609 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20610
2389741a
JJ
206112013-02-19 Jakub Jelinek <jakub@redhat.com>
20612
20613 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20614 macro.
20615
2016b3cd
SP
206162013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20617
e4f22324
SP
20618 * math/atest-exp.c (exp_mpn): Remove ROUND.
20619 * math/atest-exp2.c (exp_mpn): Likewise.
20620 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20621
2016b3cd
SP
20622 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20623 * stdlib/tst-tls-atexit-lib.c: Likewise.
20624 * stdlib/tst-tls-atexit.c: Likewise.
20625
4be9b544
MF
206262013-02-18 Mike Frysinger <vapier@gentoo.org>
20627
20628 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20629 and __attribute_alloc_size__.
20630
2f62b9ee
MF
206312013-02-18 Mike Frysinger <vapier@gentoo.org>
20632
20633 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20634 __attribute_alloc_size__.
20635 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20636 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20637
6ff444c4
MF
206382013-02-18 Mike Frysinger <vapier@gentoo.org>
20639
20640 * include/programs/xmalloc.h: New file.
20641 * catgets/gencat.c: Include it.
20642 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20643 * elf/pldd.c: Likewise.
20644 * iconv/iconv_charmap.c: Likewise.
20645 * iconv/iconvconfig.c: Likewise.
20646 * iconv/strtab.c: Likewise.
20647 * locale/programs/locale.c: Likewise.
20648 * locale/programs/localedef.h: Likewise.
20649 * locale/programs/simple-hash.c: Likewise.
20650 * nscd/nscd.h: Likewise.
20651 * nss/makedb.c: Likewise.
20652 * sysdeps/generic/ldconfig.h: Likewise.
20653
be179c8a
SP
206542013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20655
ba384f6e
SP
20656 * Versions.def: Add GLIBC_2.18.
20657 * include/link.h (struct link_map): New member l_tls_dtor_count.
20658 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20659 (__call_tls_dtors): Likewise.
20660 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20661 __cxa_thread_atexit_impl.
20662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20663 Likewise.
20664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20665 Likewise.
20666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20667 Likewise.
20668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20669 Likewise.
20670 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20672 Likewise.
20673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20674 Likewise.
20675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20677 Likewise.
20678 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20679 (tests): Add test case tst-tls-atexit.
20680 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20681 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20682 (GLIBC_PRIVATE): Add __call_tls_dtors.
20683 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20684 for libstdc++.
20685 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20686 * stdlib/tst-tls-atexit.c: New test case.
20687 * stdlib/tst-tls-atexit-lib.c: New test case.
20688
ffaa74cf 20689 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20690
be179c8a
SP
20691 * elf/Versions (ld): Add _dl_find_dso_for_object.
20692 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20693 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20694 (dl_open_worker): Use _dl_find_dso_for_object.
20695 * elf/dl-sym.c (do_sym): Likewise.
20696 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20697
f78b5caa
AK
206982013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20699
20700 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20701 Syntactic changes only.
20702 (_dl_runtime_profile): Do a tail-call to the resolved function.
20703
29691210
JM
207042013-02-17 Joseph Myers <joseph@codesourcery.com>
20705
20706 [BZ #13550]
20707 * sysdeps/x86_64/bp-asm.h: Remove file.
20708 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20709 <bp-sym.h> and <bp-asm.h>.
20710 (__clone): Do not use BP_SYM.
20711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20712 <bp-sym.h> and <bp-asm.h>.
20713 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20714 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20715 "bp-asm.h".
20716 (_setjmp): Do not use BP_SYM.
20717 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20718 "bp-asm.h".
20719 (setjmp): Do not use BP_SYM.
20720 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20721 libc_hidden_def.
20722 (mempcpy): Do not use BP_SYM in weak_alias.
20723 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20724 "bp-asm.h".
20725 (strchr): Do not use BP_SYM.
20726 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20727 "bp-asm.h".
20728 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20729 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20730 (_start): Do not use BP_SYM.
20731 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20732 "bp-asm.h".
20733 (strcat): Do not use BP_SYM.
20734 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20735 "bp-asm.h".
20736 (STRCMP): Do not use BP_SYM.
20737 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20738 "bp-asm.h".
20739 (STRCPY): Do not use BP_SYM.
20740 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20741 "bp-asm.h".
20742 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20743 "bp-asm.h".
20744 (FUNCTION): Do not use BP_SYM.
20745 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20746 weak_alias.
20747 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20748
f238fd19
AJ
207492013-02-17 Andreas Jaeger <aj@suse.de>
20750
20751 * time/Versions: Sort entries.
20752 * string/Versions: Likewise.
20753 * resolv/Versions: Likewise.
20754 * posix/Versions: Likewise.
20755 * iconv/Versions: Likewise.
20756 * elf/Versions: Likewise.
20757 * wcsmbs/Versions: Likewise.
20758
bd07f23c 207592013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20760
22af19f9
SP
20761 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20762 loop termination condition.
20763
4709fe76
SP
20764 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20765 variable to calculate EZ.
20766 (__sqr): Likewise.
2d0e0f29
SP
20767
20768 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20769 the lower precision input.
20770
daaa7713
JM
207712013-02-15 Joseph Myers <joseph@codesourcery.com>
20772
20773 [BZ #13550]
20774 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20775 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20776 (run-via-rtld-prefix): Do not handle %-bp tests.
20777 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20778 (all-object-suffixes): Remove .ob.
20779 (bppfx): Remove variable.
20780 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20781 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20782 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20783 [$(build-bounded) = yes] (libtype.ob): Likewise.
20784 * Makerules (elide-routines.ob): Remove variable.
20785 (do-tests-clean): Do not handle *-bp.out.
20786 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20787 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20788 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20789 (tests): Do not include $(tests-bp.out).
20790 (xtests): Do not include $(xtests-bp.out).
20791 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20792 [$(build-bounded) = yes] ($(addprefix
20793 $(objpfx),$(binaries-bounded))): Remove rule.
20794 ($(objpfx)%-bp.out): Remove rule.
20795 * config.make.in (build-bounded): Remove variable.
20796 * crypt/Makefile [$(build-bounded) = yes]
20797 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20798 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20799 append to variable.
20800 [$(build-bounded) = yes] (install-lib): Likewise.
20801 [$(build-bounded) = yes] (generated): Likewise.
20802 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20803 Remove rule.
20804 * intl/Makefile [$(build-bounded) = yes]
20805 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20806 * math/Makefile [$(build-bounded) = yes]
20807 ($(tests:%=$(objpfx)%-bp): Likewise.
20808 * misc/Makefile [$(build-bounded) = yes]
20809 ($(objpfx)tst-tsearch-bp): Likewise.
20810 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20811 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20812 Remove dependency.
20813 * string/Makefile (o-objects.ob): Remove variable.
20814 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20815 (CFLAGS-.ob): Remove variable.
20816 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20817 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20818 both definitions of variable.
20819 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20820 (ASFLAGS-.ob): Remove variable.
20821
e97ed6dd
JM
208222013-02-14 Joseph Myers <joseph@codesourcery.com>
20823
2bdd4ca6
JM
20824 [BZ #13550]
20825 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20826 Remove __BOUNDED_POINTERS__ from condition.
20827 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20828 * string/bits/string2.h [!__NO_STRING_INLINES &&
20829 !__BOUNDED_POINTERS__]: Likewise.
20830 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20831 Likewise.
20832 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20833 Remove conditional code.
20834 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20835 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20836 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20837 condition.
20838
e97ed6dd
JM
20839 [BZ #13550]
20840 * csu/libc-start.c: Do not include <bp-sym.h>.
20841 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20842 * elf/dl-open.c: Do not include <bp-sym.h>.
20843 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20844 * math/fegetenv.c: Do not include <bp-sym.h>.
20845 (fegetenv): Do not use BP_SYM in versioned symbols.
20846 * nptl/sysdeps/pthread/bits/libc-lockP.h
20847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20848 <bp-sym.h>.
20849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20850 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20852 (__pthread_mutex_destroy): Likewise.
20853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20854 (__pthread_mutex_lock): Likewise.
20855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20856 (__pthread_mutex_trylock): Likewise.
20857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20858 (__pthread_mutex_unlock): Likewise.
20859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20860 (__pthread_mutexattr_init): Likewise.
20861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20862 (__pthread_mutexattr_destroy): Likewise.
20863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20864 (__pthread_mutexattr_settype): Likewise.
20865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20866 (__pthread_rwlock_init): Likewise.
20867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20868 (__pthread_rwlock_destroy): Likewise.
20869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20870 (__pthread_rwlock_rdlock): Likewise.
20871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20872 (__pthread_rwlock_tryrdlock): Likewise.
20873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20874 (__pthread_rwlock_wrlock): Likewise.
20875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20876 (__pthread_rwlock_trywrlock): Likewise.
20877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20878 (__pthread_rwlock_unlock): Likewise.
20879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20880 (__pthread_key_create): Likewise.
20881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20882 (__pthread_setspecific): Likewise.
20883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20884 (__pthread_getspecific): Likewise.
20885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20886 Likewise.
20887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20888 (_pthread_cleanup_push_defer): Likewise.
20889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20890 (_pthread_cleanup_pop_restore): Likewise.
20891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20892 (pthread_setcancelstate): Likewise.
20893 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20894 <bp-sym.h>.
20895 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20896 (memchr): Do not use BP_SYM in weak_alias.
20897 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20898 (fegetenv): Do not use BP_SYM in versioned symbols.
20899 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20900 (fesetenv): Do not use BP_SYM in versioned symbols.
20901 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20902 (feupdateenv): Do not use BP_SYM in versioned symbols.
20903 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20904 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20905 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20906 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20907 (open64): Do not use BP_SYM in weak_alias.
20908 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20909 (fegetenv): Do not use BP_SYM in versioned symbols.
20910 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20911 (fesetenv): Do not use BP_SYM in versioned symbols.
20912 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20913 (feupdateenv): Do not use BP_SYM in versioned symbols.
20914 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20915 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20916 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20917 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20918 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20919 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20920 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20921 <bp-sym.h>.
20922 (__libc_start_main): Do not use BP_SYM.
20923
d6752ccd
SP
209242013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20925
cb57ce60
SP
20926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20927 redundant return line.
20928 (norm): Likewise.
20929 (denorm): Likewise.
20930 (dbl_mp): Likewise.
20931 (sub_magnitudes): Likewise.
20932 (__add): Likewise.
20933 (__sub): Likewise.
20934 (__mul): Likewise.
20935 (__inv): Likewise.
20936 (__dvd): Likewise.
20937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20938 (norm): Likewise.
20939 (denorm): Likewise.
20940 (dbl_mp): Likewise.
20941 (sub_magnitudes): Likewise.
20942 (__add): Likewise.
20943 (__sub): Likewise.
20944 (__mul): Likewise.
20945 (__inv): Likewise.
20946 (__dvd): Likewise.
20947
f414520d
SP
20948 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20949 instead of __mul.
20950 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20951 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20952 (cc32): Likewise.
20953
d6752ccd
SP
20954 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20955 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20957 of __mul for squares.
20958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20959 function
20960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20961 Likewise.
20962 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20963 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20964
70d9946a
JM
209652013-02-13 Joseph Myers <joseph@codesourcery.com>
20966
20967 [BZ #13550]
20968 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20969 code.
20970 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20971 prototype or function definition. Rename ubp_* variables and
20972 parameters. Remove argv definitions conditional on
20973 [__BOUNDED_POINTERS__].
20974 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20975 * elf/dl-runtime.c (_dl_fixup): Likewise.
20976 * include/set-hooks.h (RUN_HOOK): Likewise.
20977 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20978 definition.
20979 * string/strcpy.c (strcpy): Do not use __unbounded.
20980 * sysdeps/generic/frame.h (struct layout): Likewise.
20981 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20982 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20983 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20984 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20985 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20986 (__backtrace): Likewise.
20987 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20988 use __ptrvalue.
20989 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20990 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20991 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20992 Likewise.
20993 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20994 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20995 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20996 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20997 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20998 Do not use __unbounded.
20999 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21000 Rename __unboundedrlimits parameter to rlimits in prototype.
21001 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21002 Do not use __unbounded.
21003 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21004 not use __ptrvalue.
21005 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21006 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21007 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21008 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21009 __ptrvalue or __unbounded.
21010 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21011 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21012 use __unbounded.
21013 (__new_msgctl): Do not use __ptrvalue.
21014 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21015 __unbounded.
21016 (__libc_msgrcv): Do not use __ptrvalue.
21017 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21018 startup_info): Do not use __unbounded.
21019 (__libc_start_main): Likewise. Rename ubp_* variables and
21020 parameters. Remove argv definitions conditional on
21021 [__BOUNDED_POINTERS__].
21022 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21023 __ptrvalue.
21024 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21025 use __unbounded.
21026 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21027 or __ptrvalue.
21028 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21029 use __unbounded.
21030 (__new_shmctl): Do not use __ptrvalue.
21031 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21032 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21033 Likewise.
21034 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21035 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21036 (__libc_sigaction): Likewise.
21037 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21038 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21039 Likewise.
21040 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21041
cc7834d6
OB
210422013-02-13 Ondřej Bílka <neleai@seznam.cz>
21043
ffb1ec7b 21044 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
21045
21046 * string/mempcpy.c: Implement by calling memcpy.
21047
bdf02814
SP
210482013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21049
c2af38aa
SP
21050 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21051
4e92d59e
SP
21052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21053 evaluation.
21054
909279a5
SP
21055 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21056 values in the mantissa.
21057
bdf02814
SP
21058 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21059 minimize writes to Z.
21060 (sub_magnitudes): Simplify code a bit.
21061
cd525923
RM
210622013-02-12 Roland McGrath <roland@hack.frob.com>
21063
21064 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21065 from the message. The linker prefixes all warnings with that already.
21066
7e2f0d2d
AS
210672013-02-12 Andreas Schwab <schwab@suse.de>
21068
a445af0b
AS
21069 [BZ #15078]
21070 * posix/regexec.c (extend_buffers): Add parameter min_len.
21071 (check_matching): Pass minimum needed length.
21072 (clean_state_log_if_needed): Likewise.
21073 (get_subexp): Likewise.
21074 * posix/Makefile (tests): Add bug-regex34.
21075 (bug-regex34-ENV): Define.
21076 * posix/bug-regex34.c: New file.
21077
7e2f0d2d
AS
21078 [BZ #11561]
21079 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21080 elements compare against the byte sequence of it, not its name.
21081 * posix/Makefile (tests): Add bug-regex35.
21082 (bug-regex35-ENV): Define.
21083 * posix/bug-regex35.c: New file.
21084
a175b684
TV
210852013-02-11 Tom de Vries <tom@codesourcery.com>
21086
21087 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21088 comment.
21089 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21090 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21091 (CHECK_EOL): Add undef.
21092
310998fe 210932013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
21094
21095 * bits/stdlib-bsearch.h: New file.
21096 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 21097 * stdlib/stdlib.h: Likewise.
41eda41d 21098
8ded91fb
RM
210992013-02-11 Roland McGrath <roland@hack.frob.com>
21100
21101 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21102 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21103 declaration.
21104 * manual/search.texi (Array Search Function): Add missing const in
21105 lfind prototype.
21106 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21107 declaration to use rlim_t.
21108 (Basic Scheduling Functions): Remove erroneous const from
21109 sched_getparam prototype. Remove erroneous * from
21110 sched_get_priority_max and sched_get_priority_min prototypes.
21111 (Resource Usage): Fix summary @comment on vtimes to refer to
21112 sys/vtimes.h rather than vtimes.h.
21113 Add missing *s in vtimes prototype.
21114 (Limits on Resources): Fix ulimit prototype to return long int.
21115 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21116 prototypes to use long int rather than double.
21117 (BSD Random): Fix initstate and setstate to use char *, not void *.
21118 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21119 prototype to make second argument 'struct aiocb64 *const[]'.
21120 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21121 (Status of AIO Operations): Remove erroneous const in aio_return and
21122 aio_return64 prototypes.
21123 (Synchronizing I/O): Fix sync prototype to return void.
21124 * manual/startup.texi (Suboptions): Remove an erroneous const in
21125 getsubopt prototype.
21126 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21127 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21128 use size_t rather than int.
21129 (Scanning All Users): Likewise for getpwent_r.
21130 (Setting Groups): Add missing const to setgroups prototype.
21131 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21132 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21133 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21134 'const void *' rather than 'const char *'.
21135 (Host Address Functions): Likewise for inet_ntop.
21136 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21137 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21138 ssize_t for return value.
21139 (Sending Data): Likewise for send, sendto, sendmsg.
21140 (Socket Option Functions): Add a missing const in setsockopt prototype.
21141 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21142 use wchar_t for the argument.
21143 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21144 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21145 take no arguments.
21146 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21147 double/float/long double for second argument.
21148 Fix return types of significand, significandf, significandl.
21149 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21150 argument in fchmod prototype.
21151 (File Owner): Use uid_t and gid_t in fchown prototype.
21152 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21153 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21154 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21155 use 'const struct dirent **' as argument types to CMP function pointer
21156 argument.
21157 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21158 (File Times): Fix summary magic @comment for struct utimbuf and utime
21159 to refer to utime.h, not time.h.
21160 * manual/string.texi (Argz Functions): Add missing const in
21161 argz_extract and argz_next prototypes.
21162 (Finding Tokens in a String): Likewise for basename.
21163 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21164 (Copying and Concatenation): Fix typo in wmemmove prototype.
21165 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21166 (Signal Stack): Remove erroneous const in sigstack prototype.
21167 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21168 prototype.
21169 (Simple Calendar Time): Likewise for stime.
21170 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21171 prototype.
21172 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21173 say sys/sysctl.h instead.
21174 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21175 and vsyslog prototypes.
21176
fe77fe6d
TV
211772013-02-11 Tom de Vries <tom@codesourcery.com>
21178
21179 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21180 Remove.
21181
3a09b620
RM
211822013-02-11 Roland McGrath <roland@hack.frob.com>
21183
21184 * misc/sys/mman.h: Fix typo in mremap comment.
21185
550a0b89
RM
211862013-02-08 Roland McGrath <roland@hack.frob.com>
21187
21188 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21189 the '\0' terminator.
21190
a2da1673
JM
211912013-02-08 Joseph Myers <joseph@codesourcery.com>
21192
21193 [BZ #13550]
21194 * debug/segfault.c: Don't include <bp-checks.h>.
21195 * sysdeps/generic/bp-checks.h: Remove file.
21196 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21197 (__GETDENTS): Don't use CHECK_N.
21198 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21199 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21200 (__getgroups): Don't use CHECK_N.
21201 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21202 (setgroups): Don't use CHECK_N.
21203 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21204 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21205 (__libc_msgrcv): Don't use CHECK_N.
21206 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21207 (__libc_msgsnd): Don't use CHECK_N.
21208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21209 <bp-checks.h>.
21210 (__libc_pread): Don't use CHECK_N.
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21212 include <bp-checks.h>.
21213 (__libc_pread64): Don't use CHECK_N.
21214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21215 include <bp-checks.h>.
21216 (__libc_pwrite): Don't use CHECK_N.
21217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21218 include <bp-checks.h>.
21219 (__libc_pwrite64): Don't use CHECK_N.
21220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21221 <bp-checks.h>.
21222 (__libc_pread): Don't use CHECK_N.
21223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21224 include <bp-checks.h>.
21225 (__libc_pread64): Don't use CHECK_N.
21226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21227 include <bp-checks.h>.
21228 (__libc_pwrite): Don't use CHECK_N.
21229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21230 include <bp-checks.h>.
21231 (__libc_pwrite64): Don't use CHECK_N.
21232 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21233 (do_pread): Don't use CHECK_N.
21234 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21235 (do_pread64): Don't use CHECK_N.
21236 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21237 (do_pwrite): Don't use CHECK_N.
21238 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21239 (do_pwrite64): Don't use CHECK_N.
21240 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21241 (__libc_readv): Don't use CHECK_N.
21242 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21243 (semop): Don't use CHECK_N.
21244 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21245 <bp-checks.h>.
21246 (semtimedop): Don't use CHECK_N.
21247 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21248 (__libc_pread): Don't use CHECK_N.
21249 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21250 <bp-checks.h>.
21251 (__libc_pread64): Don't use CHECK_N.
21252 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21253 <bp-checks.h>.
21254 (__libc_pwrite): Don't use CHECK_N.
21255 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21256 <bp-checks.h>.
21257 (__libc_pwrite64): Don't use CHECK_N.
21258 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21259 <bp-checks.h>.
21260 (__libc_msgrcv): Don't use CHECK_N.
21261 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21262 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21263 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21264 (__libc_writev): Don't use CHECK_N.
21265
b84660a8
RM
212662013-02-08 Roland McGrath <roland@hack.frob.com>
21267
7f3e75f8
RM
21268 * string/strcpy.c: Removed unused variable.
21269
b84660a8
RM
21270 * Makeconfig (+sysdep-includes): Define with := rather than =.
21271 Use an existing include/ subdir of each sysdeps dir before it.
21272
471514d3
CD
212732013-02-08 Carlos O'Donell <carlos@redhat.com>
21274
21275 * nscd/connection.c (register_traced_file): Comment function.
21276 [HAVE_INOTIFY] (union __inev): Define.
21277 [HAVE_INOTIFY] (inotify_check_files): New function.
21278 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21279 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21280 clear_db_cache.
21281 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21282
b2d3c3be
CD
212832013-02-08 Carlos O'Donell <carlos@redhat.com>
21284
21285 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21286 loaded if not already and that a failure is permanent.
21287
b39949d2
CD
212882013-02-08 Carlos O'Donell <carlos@redhat.com>
21289
ddacd1db 21290 [BZ #15006]
b39949d2
CD
21291 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21292 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21293
b2c9eff4
JM
212942013-02-08 Joseph Myers <joseph@codesourcery.com>
21295
f3aae3f3
JM
21296 [BZ #13550]
21297 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21298 (CHECK_1_NULL_OK): Likewise.
21299 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21300 (__fxstat): Do not use CHECK_1.
21301 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21302 <bp-checks.h>.
21303 (___fxstat64): Do not use CHECK_1.
21304 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21305 <bp-checks.h>.
21306 (__fxstatat): Do not use CHECK_1.
21307 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21308 <bp-checks.h>.
21309 (__fxstatat64): Do not use CHECK_1.
21310 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21311 <bp-checks.h>.
21312 (__fxstat): Do not use CHECK_1.
21313 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21314 <bp-checks.h>.
21315 (__fxstatat): Do not use CHECK_1.
21316 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21317 <bp-checks.h>.
21318 (__getresgid): Do not use CHECK_1.
21319 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21320 <bp-checks.h>.
21321 (__getresuid): Do not use CHECK_1.
21322 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21323 <bp-checks.h>.
21324 (__lxstat): Do not use CHECK_1.
21325 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21326 <bp-checks.h>.
21327 (__old_msgctl): Do not use CHECK_1.
21328 (__new_msgctl): Likewise.
21329 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21330 <bp-checks.h>.
21331 (__new_setrlimit): Do not use CHECK_1.
21332 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21333 <bp-checks.h>.
21334 (__old_shmctl): Do not use CHECK_1.
21335 (__new_shmctl): Likewise.
21336 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21337 <bp-checks.h>.
21338 (__xstat): Do not use CHECK_1.
21339 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21340 (__lxstat): Do not use CHECK_1.
21341 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21342 <bp-checks.h>.
21343 (___lxstat64): Do not use CHECK_1.
21344 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21345 (__old_msgctl): Do not use CHECK_1.
21346 (__new_msgctl): Likewise.
21347 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21348 <bp-checks.h>.
21349 (__gettimeofday): Do not use CHECK_1.
21350 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21351 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21352 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21353 <bp-checks.h>.
21354 (__gettimeofday): Do not use CHECK_1.
21355 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21356 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21357 (__new_shmctl): Do not use CHECK_1.
21358 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21359 <bp-checks.h>.
21360 (do_sigtimedwait): Do not use CHECK_1.
21361 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21362 <bp-checks.h>.
21363 (do_sigwaitinfo): Do not use CHECK_1.
21364 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21365 <bp-checks.h>.
21366 (msgctl): Do not use CHECK_1.
21367 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21368 <bp-checks.h>.
21369 (shmctl): Do not use CHECK_1.
21370 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21371 (ustat): Do not use CHECK_1.
21372 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21373 <bp-checks.h>.
21374 (__fxstat): Do not use CHECK_1.
21375 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21376 <bp-checks.h>.
21377 (__fxstatat): Do not use CHECK_1.
21378 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21379 <bp-checks.h>.
21380 (__lxstat): Do not use CHECK_1.
21381 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21382 <bp-checks.h>.
21383 (__xstat): Do not use CHECK_1.
21384 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21385 (__xstat): Do not use CHECK_1.
21386 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21387 (___xstat64): Do not use CHECK_1.
21388
b2c9eff4
JM
21389 [BZ #13550]
21390 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21391 definitions.
21392 (CHECK_BOUNDS_HIGH): Likewise.
21393 * string/strcpy.c: Do not include <bp-checks.h>.
21394 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21395
f1d70dad
RM
213962013-02-07 Roland McGrath <roland@hack.frob.com>
21397
21398 * nscd/nscd-client.h (__nscd_drop_map_ref):
21399 Add __attribute__ ((unused)).
21400 * nis/nss-nisplus.h (niserr2nss): Likewise.
21401
21402 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21403 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21404
21405 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21406 Remove inline keyword.
21407 * include/rounding-mode.h (round_away): Likewise.
21408 * libio/wfileops.c (adjust_wide_data): Likewise.
21409 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21410 (__m128i_strloadu_tolower): Likewise.
21411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21412 (__m128i_strloadu_tolower): Likewise.
21413 * time/mktime.c (ydhms_diff): Likewise.
21414 * locale/elem-hash.h (elem_hash): Likewise.
21415 * locale/setlocale.c (setdata): Likewise.
21416 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21417 (re_string_wchar_at): Likewise.
21418 (bitset_not, bitset_merge, bitset_mask): Likewise.
21419 [!(__GNUC__ > 3)] (inline): Remove macro.
21420 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21421 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21422 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21423 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21424 * string/memcmp.c (memcmp_bytes): Likewise.
21425 * locale/programs/locarchive.c (compute_hashval): Likewise.
21426 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21427 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21428 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21429 * nss/getent.c (print_rpc, print_protocols): Likewise.
21430 (print_passwd, print_group, print_aliases): Likewise.
21431 * nis/nss-nisplus.h (niserr2nss): Likewise.
21432 * nscd/connections.c (restart_p): Likewise.
21433 Change return type to bool.
21434
eab55bfb
RM
214352013-02-05 Roland McGrath <roland@hack.frob.com>
21436
7bd642f5
RM
21437 * Makeconfig (all-Depend-files): Add existing
21438 $(sorted-subdirs:=/Depend) files.
21439 (all-subdirs): Remove nss.
21440 * sysdeps/unix/inet/Subdirs: Add it here instead.
21441 * hesiod/Depend: New file.
21442
573c29b2
RM
21443 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21444 instead of calling alloca.
21445
b2e25af0
RM
21446 * io/lseek.c (__lseek): Rename to __libc_lseek.
21447 Define __lseek as an alias.
21448
eab55bfb
RM
21449 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21450
9a0d1941
CD
214512013-02-04 Carlos O'Donell <carlos@redhat.com>
21452
21453 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21454 else clause and remove check for non-standard endianness.
21455
b83bbec4
DM
214562013-02-04 David S. Miller <davem@davemloft.net>
21457
21458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21459
6277fdab
JM
214602013-02-04 Joseph Myers <joseph@codesourcery.com>
21461
21462 [BZ #13550]
21463 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21464 (__ubp_memchr): Remove prototype.
21465 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21466 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21467 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21468 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21469 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21470 Remove alias.
21471 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21472 (__ubp_memchr): Likewise.
21473 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21474 (__ubp_memchr): Likewise.
21475 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21476 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21477 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21478 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21479 CHECK_STRING.
21480 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21481 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21482 (__getcwd): Do not use CHECK_STRING.
21483 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21484 <bp-checks.h>.
21485 (__real_chown): Do not use CHECK_STRING.
21486 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21487 <bp-checks.h>.
21488 (fchownat): Do not use CHECK_STRING.
21489 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21490 CHECK_STRING.
21491 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21492 <bp-checks.h>.
21493 (__lchown): Do not use CHECK_STRING.
21494 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21495 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21496 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21497 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21499 include <bp-checks.h>.
21500 (truncate64): Do not use CHECK_STRING.
21501 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21502 <bp-checks.h>.
21503 (__real_chown): Do not use CHECK_STRING.
21504 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21505 <bp-checks.h>.
21506 (__lchown): Do not use CHECK_STRING.
21507 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21508 <bp-checks.h>.
21509 (__chown): Do not use CHECK_STRING.
21510 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21511 <bp-checks.h>.
21512 (truncate64): Do not use CHECK_STRING.
21513 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21514 Likewise.
21515 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21516 (__xmknod): Do not use CHECK_STRING.
21517 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21518 <bp-checks.h>.
21519 (__xmknodat): Do not use CHECK_STRING.
21520 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21521 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21522
903ae060
AS
215232013-02-04 Andreas Schwab <schwab@suse.de>
21524
21525 [BZ #14142]
21526 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21527 * include/netdb.h: Likewise for h_errno.
21528 * elf/tst-stackguard1.c: Include <tls.h>.
21529
542f9466
JK
215302013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21531
21532 * elf/link.h (struct link_map): Extend the l_addr comment.
21533 * include/link.h (struct link_map): Likewise.
21534
e782a927
JM
215352013-02-01 Joseph Myers <joseph@codesourcery.com>
21536
21537 [BZ #13550]
21538 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21539 (BOUNDED_1): Remove macro.
21540 * debug/backtrace.c: Don't include <bp-checks.h>.
21541 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21542 (__backtrace): Likewise.
21543 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21544 <bp-checks.h>.
21545 (__backtrace): Don't use BOUNDED_1.
21546 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21547 <bp-checks.h>.
21548 (__backtrace): Don't use BOUNDED_1.
21549 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21550 (__backtrace): Don't use BOUNDED_1.
21551 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21552 (shmat): Don't use BOUNDED_N.
21553
8cf28c5e
JM
215542013-01-31 Joseph Myers <joseph@codesourcery.com>
21555
3a7ac8a0
JM
21556 [BZ #13550]
21557 * sysdeps/generic/bp-start.h: Remove file.
21558 * csu/libc-start.c: Don't include <bp-start.h>.
21559 (LIBC_START_MAIN): Set up __environ directly instead of using
21560 INIT_ARGV_and_ENVIRON.
21561 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21562 <bp-start.h>.
21563
f3499f95
JM
21564 [BZ #13550]
21565 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21566 definitions.
21567 (CHECK_FCNTL): Likewise.
21568 (CHECK_N_PAGES): Likewise.
21569
32a45bea
JM
21570 [BZ #13550]
21571 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21572 definitions.
21573 (CHECK_SIGSET_NULL_OK): Likewise.
21574 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21575 <bp-checks.h>.
21576 (sigpending): Don't use CHECK_SIGSET.
21577 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21578 <bp-checks.h>.
21579 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21580 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21581 <bp-checks.h>.
21582 (do_sigsuspend): Don't use CHECK_SIGSET.
21583 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21584 use CHECK_SIGSET.
21585 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21586 (do_sigwait): Don't use CHECK_SIGSET.
21587 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21588 use CHECK_SIGSET.
21589 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21590 include <bp-checks.h>.
21591 (sigpending): Don't use CHECK_SIGSET.
21592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21593 include <bp-checks.h>.
21594 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21595 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21596 <bp-checks.h>.
21597 (sigpending): Don't use CHECK_SIGSET.
21598 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21599 <bp-checks.h>.
21600 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21601
2e8a5c8c
JM
21602 [BZ #13550]
21603 * sysdeps/generic/bp-semctl.h: Remove file.
21604 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21605 <bp-checks.h> and <bp-semctl.h>.
21606 (__old_semctl): Don't use CHECK_SEMCTL.
21607 (__new_semctl): Likewise.
21608 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21609 and <bp-semctl.h>.
21610 (__old_semctl): Don't use CHECK_SEMCTL.
21611 (__new_semctl): Likewise.
21612 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21613 <bp-checks.h> and <bp-semctl.h>.
21614 (__old_semctl): Don't use CHECK_SEMCTL.
21615 (__new_semctl): Likewise.
21616 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21617 <bp-checks.h> and <bp-semctl.h>.
21618 (semctl): Don't use CHECK_SEMCTL.
21619
c2d54929
JM
21620 [BZ #13550]
21621 * Makerules (elide-bp-thunks): Remove variable.
21622 (elide-routines.oS): Don't use $(elide-bp-thunks).
21623 (elide-routines.os): Likewise.
21624 (elide-routines.o): Likewise.
21625 (elide-routines.op): Likewise.
21626 (elide-routines.og): Likewise.
21627 (objects): Don't use $(bp-thunks).
21628 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21629 include.
21630 (common-generated): Do not add s-proto-bp.d.
21631 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21632 (int): Likewise.
21633 (typ): Likewise.
21634 Do not generate makefile rules for bounded-pointer thunks.
21635 * sysdeps/generic/bp-thunks.h: Remove file.
21636 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21637 * sysdeps/unix/s-proto-bp.S: Likewise.
21638
8cf28c5e
JM
21639 [BZ #15062]
21640 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21641 parts of result separately when argument is not close to line from
21642 -i to i and one part of argument is small.
21643 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21644 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21645 * math/libm-test.inc (cacos_test): Add more tests.
21646 (casin_test): Likewise.
21647 (casinh_test): Likewise.
21648 * sysdeps/i386/fpu/libm-test-ulps: Update.
21649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21650
c4e33b8d
DM
216512013-01-31 David S. Miller <davem@davemloft.net>
21652
21653 * po/de.po: Update from translation team.
21654
3b60b421
MK
216552013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21656
21657 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21658
bb931195
TS
216592013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21660
b5a5da23
TS
21661 * configure.in (_AC_PROG_CC_C89): New definition.
21662 * configure: Regenerate.
21663
bb931195
TS
21664 * configure.in (AC_PROG_CPP): New definition.
21665 * configure: Regenerate.
21666
8c53a12c
JM
216672013-01-23 Joseph Myers <joseph@codesourcery.com>
21668
21669 * debug/tst-backtrace.h: New file.
21670 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21671 (ret): Remove variable.
21672 (x): Likewise.
21673 (FAIL): Remove macro.
21674 (NO_INLINE): Likewise.
21675 (fn1): Use match function instead of strstr.
21676 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21677 (ret): Remove variable.
21678 (x): Likewise.
21679 (FAIL): Remove macro.
21680 (NO_INLINE): Likewise.
21681 (fn): Use match function instead of strstr.
21682 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21683 (ret): Remove variable.
21684 (x): Likewise.
21685 (FAIL): Remove macro.
21686 (NO_INLINE): Likewise.
21687 (handle_signal): Use match function instead of strstr.
21688 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21689 (ret): Remove variable.
21690 (x): Likewise.
21691 (FAIL): Remove macro.
21692 (NO_INLINE): Likewise.
21693 (handle_signal): Use match function instead of strstr.
21694
4858fa2a
RM
216952013-01-23 Roland McGrath <roland@hack.frob.com>
21696
21697 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21698
bae8e7f5
DM
216992013-01-23 David S. Miller <davem@davemloft.net>
21700
21701 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21702 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21703 argument of CAS if possible.
21704 * sysdeps/sparc/sparc64/bits/atomic.h
21705 (__arch_compare_and_exchange_val_32_acq): Likewise.
21706 (__arch_compare_and_exchange_val_64_acq): Likewise.
21707
9cbbc4ae
PT
217082013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21709
21710 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21711 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21712 Include <limits.h>.
67b3f58c 21713 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21714
5655a0b5
AC
217152013-01-23 Adam Conrad <adconrad@0c3.net>
21716
21717 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21718 (LDFLAGS-tst-array5): Likewise.
21719
052aff95
JM
217202013-01-23 Joseph Myers <joseph@codesourcery.com>
21721
21722 [BZ #15036]
21723 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21724 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21725 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21726 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21727
7c1e01aa
DM
217282013-01-21 David S. Miller <davem@davemloft.net>
21729
21730 * sysdeps/sparc/backtrace.c: New file.
21731 * sysdeps/sparc/sparc32/backtrace.h: New file.
21732 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21733 * sysdeps/sparc/sparc64/backtrace.h: New file.
21734 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21735 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21736 -funwind-tables.
21737
ab087e0a
AS
217382013-01-21 Andreas Schwab <schwab@suse.de>
21739
21740 [BZ #15020]
21741 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21742 closed its stdout.
21743
ed689c2f
AS
217442013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21745
21746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21747 "mpa2.h".
21748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21749
31d470ac
JM
217502013-01-18 Joseph Myers <joseph@codesourcery.com>
21751 Mark Mitchell <mark@codesourcery.com>
21752 Tom de Vries <tom@codesourcery.com>
21753 Paul Pluzhnikov <ppluzhnikov@google.com>
21754
21755 * debug/tst-backtrace2.c: New file.
21756 * debug/tst-backtrace3.c: Likewise.
21757 * debug/tst-backtrace4.c: Likewise.
21758 * debug/tst-backtrace5.c: Likewise.
21759 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21760 (CFLAGS-tst-backtrace3.c): Likewise.
21761 (CFLAGS-tst-backtrace4.c): Likewise.
21762 (CFLAGS-tst-backtrace5.c): Likewise.
21763 (LDFLAGS-tst-backtrace2): Likewise.
21764 (LDFLAGS-tst-backtrace3): Likewise.
21765 (LDFLAGS-tst-backtrace4): Likewise.
21766 (LDFLAGS-tst-backtrace5): Likewise.
21767 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21768 tst-backtrace4 and tst-backtrace5.
21769
90567f30 217702013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21771 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21772
21773 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21774 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21775 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21776 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21778 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21779 "+r" and remove output regs list as redundant. Add explicit inline
21780 asm to specify register of return val to work around compiler codegen
21781 bug. Remove (int) cast on return value. Add return type parameter to
21782 use in macro so that this macro does not truncate return value for
21783 64-bit values.
21784 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21785 pass to INTERNAL_VSYSCALL_NCS.
21786 (INLINE_VSYSCALL): Add 'long int' as return type to
21787 INTERNAL_VSYSCALL_NCS macro invocation.
21788 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21789 INTERNAL_VSYSCALL_NCS macro invocation.
21790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21791
d3b9ea61
SP
217922013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21793
0b57daeb
SP
21794 [BZ #14496]
21795 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21796 Fix application of SIMD FP exception mask.
21797
caa99d06
SP
21798 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21799 mp_no from a power of two.
21800 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21801 __mpexp_twomm1. Use __pow_mp.
21802
d3b9ea61
SP
21803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21804 multiplication.
21805
1dbaee3c
DM
218062013-01-17 David S. Miller <davem@davemloft.net>
21807
21808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21809
728d7b43
JM
218102013-01-17 Joseph Myers <joseph@codesourcery.com>
21811
21812 [BZ #15023]
21813 * include/complex.h: Condition contents on [!_COMPLEX_H].
21814 (__kernel_casinhf): New prototype.
21815 (__kernel_casinh): Likewise.
21816 (__kernel_casinhl): Likewise.
21817 * math/Makefile (libm_calls): Add k_casinh.
21818 * math/k_casinh.c: New file.
21819 * math/k_casinhf.c: Likewise.
21820 * math/k_casinhl.c: Likewise.
21821 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21822 finite nonzero arguments.
21823 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21824 finite nonzero arguments.
21825 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21826 finite nonzero arguments.
21827 * math/s_casinh.c: Do not include <float.h>.
21828 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21829 * math/s_casinhf.c: Do not include <float.h>.
21830 (__casinhf): Move code for finite nonzero arguments to
21831 k_casinhf.c.
21832 * math/s_casinhl.c: Do not include <float.h>.
21833 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21834 redefine.
21835 (__casinhl): Move code for finite nonzero arguments to
21836 k_casinhl.c.
21837 * math/libm-test.inc (cacos_test): Add more tests.
21838 * sysdeps/i386/fpu/libm-test-ulps: Update.
21839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21840
2a26ef3a
PT
218412013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21842
21843 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21844 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21845 [!HAVE_MREMAP]: Remove [defined linux] case.
21846 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21847
a897655d
SP
218482013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21849
21850 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21851
881ebe89 218522013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21853
21854 * elf/elf.h (R_386_SIZE32): New relocation.
21855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21856 R_386_SIZE32.
21857 (elf_machine_rela): Likewise.
21858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21859 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21860
59981e9b
JM
218612013-01-17 Joseph Myers <joseph@codesourcery.com>
21862
21863 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21864 (FP_FAST_FMA): Do not define.
21865 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21866 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21867 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21868 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21869 !_SOFT_FLOAT]: Likewise.
21870 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21871 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21872 value.
21873 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21874 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21875 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21876 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21877 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21878 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21879 file.
21880
cfa8054f
AS
218812013-01-16 Andreas Schwab <schwab@suse.de>
21882
21883 [BZ #14327]
21884 * include/stdlib.h (__mktemp): Add declaration.
21885 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21886 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21887
dd930cc5
SP
218882013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21889
881ebe89
SP
21890 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21891 definitions.
21892 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21893 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21894 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21895 definitions here.
21896 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21897 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21898 definitions.
21899 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21900 and ONE.
21901 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21902 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21903 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21904 definitions.
21905 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21906 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21907 definitions.
21908 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21909
dd930cc5
SP
21910 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21911
c19a9f89
DM
219122013-01-15 David S. Miller <davem@davemloft.net>
21913
1aa61767
DM
21914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21915 trunc{,f} to libm-sysdep_routes.
21916 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21918 file.
21919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21921 file.
21922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21923 file.
21924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21926 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21927 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21928 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21929 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21930 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21931 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21932
c42d5e98
DM
21933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21934 nearbyint{,f} to libm-sysdep_routes.
21935 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21937 New file.
21938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21939 file.
21940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21941 New file.
21942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21943 file.
21944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21947 file.
21948 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21949 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21950 file.
21951 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21952 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21953 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21954
c19a9f89
DM
21955 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21956 libc_feholdexcept and libc_fesetenv.
21957
357679d2
MF
219582013-01-15 Mike Frysinger <vapier@gentoo.org>
21959
21960 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21961
65a82e3d
DM
219622013-01-14 David S. Miller <davem@davemloft.net>
21963
8b954ab9
DM
21964 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21965 (SPARC_ASM_VIS2_IFUNC): Likewise.
21966 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21968 use of 'siam' instruction.
21969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21970 Likewise.
21971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21972 Likewise.
21973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21974 Likewise.
21975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21980 file.
21981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21982 file.
21983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21984 file.
21985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21986 file.
21987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21992 new VIS2 routines.
21993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21996 Likewise.
21997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22002 routines to libm-sysdep_routines.
22003 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22004
65a82e3d
DM
22005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22006 fdim/fdimf to libm-sysdep_routines.
22007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22008 file.
22009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22011 file.
22012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22015 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22016 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22017 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22018 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22019
e34ab705
SP
220202013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22021
2a91b573
SP
22022 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22023 to optimize copies.
22024
1066a534
SP
22025 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22028
e34ab705
SP
22029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22030 local variable MPTWO.
22031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22032 Likewise.
22033
aba5e596
MF
220342013-01-13 Mike Frysinger <vapier@gentoo.org>
22035
22036 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22037 GLOB_NOESCAPE.
22038
e557e9e5
MF
220392013-01-13 Mike Frysinger <vapier@gentoo.org>
22040
22041 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22042
0428cec9
MF
220432013-01-13 Mike Frysinger <vapier@gentoo.org>
22044
22045 * manual/pattern.texi (glob_t): Document gl_flags.
22046 (glob64_t): Likewise.
22047
8794a964
DM
220482013-01-11 David S. Miller <davem@davemloft.net>
22049
66438c3f
RM
22050 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22051 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22052 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
22053 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22054 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22055 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22056 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22057 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22058 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22059 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22060 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22061 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22062 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22063
4ae4244d
DM
22064 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22065 sparc V9 rather than using V8 code.
22066 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22067 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22068
8794a964
DM
22069 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22070 Move to...
22071 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22072 Here.
22073
6270516e
RM
220742013-01-11 Roland McGrath <roland@hack.frob.com>
22075
22076 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22077 not in the main loop.
22078 * configure: Regenerated.
22079
6a57d931
JM
220802013-01-11 Joseph Myers <joseph@codesourcery.com>
22081
22082 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22083 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22084 to just #else.
22085 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22086 [!__GLIBC_HAVE_LONG_LONG] case.
22087 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22088 condition to just #else.
22089 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22090 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22091 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22092 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22093 unconditional.
22094 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22095 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22096 #elif condition to just #else.
22097 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22098 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22099 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22100 #elif condition to just #else.
22101
0e8529e9
SE
221022013-01-11 Steve Ellcey <sellcey@mips.com>
22103
22104 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22105 (EF_MIPS_ARCH_64): Fix value.
22106 (EF_MIPS_ARCH_32R2): New.
22107 (EF_MIPS_ARCH_64R2): New.
22108
740b3dbe
L
221092013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22110
22111 * Makeconfig (+link-pie-before-libc): New.
22112 (+link-pie-after-libc): Likewise.
22113 (+link-pie-tests): Likewise.
22114 (+link-pie): Rewritten.
22115 (link-before-libc): Remove $(config-LDFLAGS).
22116 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22117 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22118 (config-LDFLAGS): Renamed to ...
22119 (rtld-LDFLAGS): This.
22120 (rtld-tests-LDFLAGS): New macro.
22121 (link-libc-rpath-link): Likewise.
22122 (link-libc-tests-rpath-link): Likewise.
22123 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22124 (link-libc): Prepand $(link-libc-rpath-link).
22125 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22126 (test-program-prefix): New macro.
22127 (test-via-rtld-prefix): Likewise.
22128 (test-program-cmd): Likewise.
22129 (host-test-program-cmd): Likewise.
22130 * Makefile ($(common-objpfx)testrun.sh): Replace
22131 $(run-program-prefix) with $(test-program-prefix).
22132 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22133 $(rtld-LDFLAGS).
22134 ($(common-objpfx)shlib.lds): Likewise.
22135 (build-module-helper): Likewise.
22136 ($(common-objpfx)format.lds): Likewise.
22137 * Rules (binaries-pie-tests): New.
22138 (binaries-pie-notests): Likewise.
22139 (binaries-pie): Rewritten.
22140 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22141 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22142 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22143 (make-test-out): Replace $(host-built-program-cmd) with
22144 $(host-test-program-cmd).
22145 * config.make.in (build-hardcoded-path-in-tests): New variable.
22146 * configure.in (--enable-hardcoded-path-in-tests): New configure
22147 option.
22148 (hardcoded_path_in_tests): New AC_SUBST.
22149 * configure: Regenerated.
22150 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22151 $(built-program-cmd) with $(test-program-cmd).
22152 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22153 (test_program_cmd): This.
22154 * elf/Makefile ($(objpfx)order.out): Run test with
22155 $(test-program-prefix).
22156 ($(objpfx)order2.out): Likewise.
22157 ($(objpfx)tst-initorder.out): Likewise.
22158 ($(objpfx)tst-initorder2.out): Likewise.
22159 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22160 $(test-program-cmd).
22161 ($(objpfx)tst-array1-static.out): Likewise.
22162 ($(objpfx)tst-array2.out): Likewise.
22163 ($(objpfx)tst-array3.out): Likewise.
22164 ($(objpfx)tst-array4.out): Likewise.
22165 ($(objpfx)tst-array5.out): Likewise.
22166 ($(objpfx)tst-array5-static.out): Likewise.
22167 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22168 $(test-program-cmd).
22169 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22170 $(run-program-prefix) with $(test-program-prefix).
22171 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22172 (test_program_prefix): This.
22173 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22174 $(run-program-prefix) with $(test-program-prefix).
22175 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22176 (test_program_prefix): This.
22177 * iconvdata/tst-tables.sh: Likewise.
22178 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22179 $(run-program-prefix) with $(test-program-prefix).
22180 ($(objpfx)tst-translit.out): Likewise.
22181 ($(objpfx)tst-gettext2.out): Likewise.
22182 ($(objpfx)tst-gettext4.out): Likewise.
22183 ($(objpfx)tst-gettext6.out): Likewise.
22184 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22185 (test_program_prefix): This.
22186 * intl/tst-gettext2.sh: Likewise.
22187 * intl/tst-gettext4.sh Likewise.
22188 * intl/tst-gettext6.sh: Likewise.
22189 * intl/tst-translit.sh: Likewise.
22190 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22191 with $(test-program-cmd).
22192 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22193 $(run-program-prefix) with $(test-program-prefix).
22194 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22195 (test_program_prefix): This.
22196 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22197 $(run-program-prefix) with $(test-program-prefix).
22198 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22199 (test_program_prefix): This.
22200 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22201 * posix/Makefile ($(objpfx)globtest.out): Replace
22202 $(run-via-rtld-prefix) and $(test-wrapper) with
22203 $(test-program-prefix) and $(test-via-rtld-prefix).
22204 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22205 $(test-program-prefix).
22206 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22207 $(host-test-program-cmd).
22208 (tst-spawn-ARGS): Likewise.
22209 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22210 $(test-program-prefix).
22211 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22212 (test_via_rtld_prefix): This.
22213 (test_wrapper): Renamed to ...
22214 (test_program_prefix): This.
22215 (run_program_prefix): Replaced by test_program_prefix.
22216 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22217 (test_program_prefix): This.
22218 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22219 with $(host-test-program-cmd).
22220 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22221 $(run-program-prefix) with $(test-program-prefix).
22222 ($(objpfx)tst-printf.out): Likewise.
22223 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22224 $(test-program-cmd).
22225 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22226 (test_program_prefix): This.
22227 * stdio-common/tst-unbputc.sh: Likewise.
22228 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22229 $(run-program-prefix) with $(test-program-prefix).
22230 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22231 (test_program_prefix): This.
22232 * string/Makefile ($(objpfx)tst-svc.out): Replace
22233 $(built-program-cmd) with $(test-program-cmd).
22234
c6fe55cf
AJ
222352013-01-11 Andreas Jaeger <aj@suse.de>
22236
22237 [BZ #15003]
22238 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22239 value. Sync with Linux 3.7.
22240
9e6919c8
DM
222412013-01-10 David S. Miller <davem@davemloft.net>
22242
22243 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22244 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22245 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22246
1c9f1a02
RM
222472013-01-10 Roland McGrath <roland@hack.frob.com>
22248
22249 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22250 never set.
22251 * configure: Regenerated.
22252
b9de2dde
DM
222532013-01-10 David S. Miller <davem@davemloft.net>
22254
22255 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22256 sparc V9 rather than using V8 code.
22257 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22258 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22259
e7f68ef4
RM
222602013-01-10 Roland McGrath <roland@hack.frob.com>
22261
22262 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22263 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22264 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22265 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22266 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22267 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22268 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22269 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22270 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22271 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22272 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22273 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22274 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22275 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22276 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22277 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22278 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22279 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22280 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22281 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22282 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22283 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22284 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22285 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22286 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22287 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22288 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22289
5a47cc9c
DM
222902013-01-10 David S. Miller <davem@davemloft.net>
22291
22292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22293
4cf8f209
L
222942013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22295
22296 * posix/Makefile (tests-static): New variable.
22297 (tests): Add $(tests-static).
22298 (tst-exec-static-ARGS): New variable.
22299 (tst-spawn-static-ARGS): Likewise.
22300 * posix/tst-exec-static.c: New file.
22301 * posix/tst-spawn-static.c: Likewise.
22302 * posix/tst-exec.c: Support run directly.
22303 * posix/tst-spawn.c: Likewise.
22304
fed0faa1
JM
223052013-01-10 Joseph Myers <joseph@codesourcery.com>
22306
828beb13
JM
22307 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22308 long.
22309 * math/bits/mathcalls.h (llrint): Likewise.
22310 (llround): Likewise.
22311 * stdlib/stdlib.h (struct drand48_data): Likewise.
22312 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22313 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22314 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22315 Likewise.
22316 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22317 Likewise.
22318 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22319 (elf_greg_t): Likewise.
22320 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22321 (__jmp_buf): Likewise.
22322 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22323 definitions.
22324 (llrint): Likewise, for all definitions.
22325 (llrintl): Likewise.
22326
fed0faa1
JM
22327 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22328 Remove [__GNUC__] condition.
22329 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22330 condition to just [__USE_ISOC99].
22331 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22332
1a20cb20
L
223332013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22334
22335 [BZ #14200]
22336 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22337 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22338 defined.
22339 (_POSIX_V6_ILP32_OFF32): Likewise.
22340 (_XBS5_ILP32_OFF32): Likewise.
22341 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22342 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22343
751b85f7
SP
223442013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22345
7490eb81
SP
22346 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22347
751b85f7
SP
22348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22349 doubles __mpexp_twomm1. Adjust usage.
22350 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22351 Remove.
22352
988197f0
AS
223532013-01-10 Andreas Schwab <schwab@suse.de>
22354
22355 [BZ #14964]
22356 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22357 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22358
e83d7298
DM
223592013-01-09 David S. Miller <davem@davemloft.net>
22360
034ed64b 22361 [BZ #15003]
57f41c40
AS
22362 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22363 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22364 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22365 (TCP_FASTOPEN): Define.
e83d7298
DM
22366 (tcp_repair_opt): New structure.
22367 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22368 enum values.
57f41c40
AS
22369 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22370 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22371 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22372 (tcp_cookie_transactions): New structure.
22373
d5e0b9bd
AB
223742013-01-09 Anton Blanchard <anton@samba.org>
22375
22376 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22377 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22378 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22379 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22380
0c07e3ea
JM
223812013-01-09 Joseph Myers <joseph@codesourcery.com>
22382
22383 * include/features.h (__USE_ANSI): Remove.
22384
232f7002
RM
223852013-01-09 Roland McGrath <roland@hack.frob.com>
22386
ad98e30c
RM
22387 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22388
232f7002
RM
22389 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22390
950c99ca
SP
223912013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22392
b5792741
SP
22393 * sysdeps/s390/fpu/libm-test-ulps: Update.
22394
47cf2278
SP
22395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22396
950c99ca
SP
22397 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22398 (__acr): Likewise.
22399 (__cpy): Likewise.
22400 (norm): Likewise.
22401 (denorm): Likewise.
22402 (__mp_dbl): Likewise.
22403 (__dbl_mp): Likewise.
22404 (add_magnitudes): Likewise.
22405 (sub_magnitudes): Likewise.
22406 (__add): Likewise.
22407 (__sub): Likewise.
22408 (__mul): Likewise.
22409 (__inv): Likewise.
22410 (__dvd): Likewise.
22411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22412 (__acr): Likewise.
22413 (__cpy): Likewise.
22414 (norm): Likewise.
22415 (denorm): Likewise.
22416 (__mp_dbl): Likewise.
22417 (__dbl_mp): Likewise.
22418 (add_magnitudes): Likewise.
22419 (sub_magnitudes): Likewise.
22420 (__add): Likewise.
22421 (__sub): Likewise.
22422 (__mul): Likewise.
22423 (__inv): Likewise.
22424 (__dvd): Likewise.
22425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22426 (__acr): Likewise.
22427 (__cpy): Likewise.
22428 (norm): Likewise.
22429 (denorm): Likewise.
22430 (__mp_dbl): Likewise.
22431 (__dbl_mp): Likewise.
22432 (add_magnitudes): Likewise.
22433 (sub_magnitudes): Likewise.
22434 (__add): Likewise.
22435 (__sub): Likewise.
22436 (__mul): Likewise.
22437 (__inv): Likewise.
22438 (__dvd): Likewise.
22439
eede9df9
JM
224402013-01-08 Joseph Myers <joseph@codesourcery.com>
22441
22442 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22443 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22444 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22445 2 && __USE_EXTERN_INLINES]: Likewise.
22446
c40ea3d9
AJ
224472013-01-08 Andreas Jaeger <aj@suse.de>
22448
22449 [BZ# 14985]
22450 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22451 Remove.
22452 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22453 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22454
2ccdea26
AB
224552013-01-07 Anton Blanchard <anton@samba.org>
22456
22457 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22458 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22459 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22460 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22461 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22462 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22463 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22464 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22466 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22467 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22468 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22469 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22470 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22471 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22472 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22473 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22474 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22475 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22476 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22477 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22478 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22479 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22480 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22481 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22482 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22483 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22484 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22485 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22486 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22487 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22489 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22490 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22491 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22492 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22493 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22494 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22495 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22496 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22497 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22499 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22500
a9708fed
JM
225012013-01-07 Joseph Myers <joseph@codesourcery.com>
22502
375607b9
JM
22503 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22504 (__MALLOC_PMT): Likewise.
22505 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22506 [__GNUC__], only on [_LIBC].
22507 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22508 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22509 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22510 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22511 forward declaration.
22512 (realloc_hook_ini): Likewise.
22513 (memalign_hook_ini): Likewise.
22514 (__libc_memalign): Do not use __MALLOC_PMT in variable
22515 declaration.
22516 (__libc_valloc): Likewise.
22517 (__libc_pvalloc): Likewise.
22518 (__libc_calloc): Likewise.
22519 (__posix_memalign): Likewise.
22520
a9708fed
JM
22521 [BZ #14996]
22522 * math/s_casinh.c: Include <float.h>.
22523 (__casinh): Do not do computation with squaring and square root
22524 for large arguments.
22525 * math/s_casinhf.c: Include <float.h>.
22526 (__casinhf): Do not do computation with squaring and square root
22527 for large arguments.
22528 * math/s_casinhl.c: Include <float.h>.
22529 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22530 (__casinhl): Do not do computation with squaring and square root
22531 for large arguments.
22532 * math/libm-test.inc (casin_test): Add more tests.
22533 (casinh_test): Likewise.
22534 * sysdeps/i386/fpu/libm-test-ulps: Update.
22535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22536
afec409a
L
225372013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22538
22539 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22540 (__x86_64_raw_data_cache_size): Likewise.
22541 (__x86_64_data_cache_size_half): Likewise.
22542 (__x86_64_raw_data_cache_size_half): Likewise.
22543 (__x86_64_shared_cache_size): Likewise.
22544 (__x86_64_raw_shared_cache_size): Likewise.
22545 (__x86_64_shared_cache_size_half): Likewise.
22546 (__x86_64_raw_shared_cache_size_half): Likewise.
22547 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22548 to ...
22549 (__x86_data_cache_size): This.
22550 (__x86_64_raw_data_cache_size): Renamed to ...
22551 (__x86_raw_data_cache_size): This.
22552 (__x86_64_data_cache_size_half): Renamed to ...
22553 (__x86_data_cache_size_half): This.
22554 (__x86_64_raw_data_cache_size_half): Renamed to ...
22555 (__x86_raw_data_cache_size_half): This.
22556 (__x86_64_shared_cache_size): Renamed to ...
22557 (__x86_shared_cache_size): This.
22558 (__x86_64_raw_shared_cache_size): Renamed to ...
22559 (__x86_raw_shared_cache_size): This.
22560 (__x86_64_shared_cache_size_half): Renamed to ...
22561 (__x86_shared_cache_size_half): This.
22562 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22563 (__x86_raw_shared_cache_size_half): This.
22564 * sysdeps/x86_64/memcpy.S: Updated.
22565 * sysdeps/x86_64/memset.S: Likewise.
22566 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22567 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22568 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22569
0b3986d0
DM
225702013-01-04 David S. Miller <davem@davemloft.net>
22571
22572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22573
e47686e9
AS
225742013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22575
d643bac1
AS
22576 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22577 1 to avoid redefinition warning.
22578 (__USE_GNU): Don't define.
22579 (init_signaling_nan): Protoize.
22580
e47686e9
AS
22581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22582
b18decba
SP
225832013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22584
fffb407f
SP
22585 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22587 (__cpymn): Likewise.
22588 (norm): Remove commented code.
22589 (denorm): Likewise.
22590 (__mp_dbl): Likewise.
22591 (__inv): Likewise.
22592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22593 (__cpymn): Likewise.
22594 (norm): Remove commented code.
22595 (denorm): Likewise.
22596 (__mp_dbl): Likewise.
22597 (__inv): Likewise.
22598
b18decba
SP
22599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22600 mp_no value for 1.0 and 2.0.
22601 (norm): Use RADIXI instead of radixi.d.
22602 (denorm): Likewise.
22603 (__mul): Use 0.0 instead of zero.d.
22604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22605 mp_no value for 1.0 and 2.0.
22606 (norm): Use RADIXI instead of radixi.d.
22607 (denorm): Likewise.
22608 (__mul): Use 0.0 instead of zero.d.
22609
cdc1c96f
JM
226102013-01-04 Joseph Myers <joseph@codesourcery.com>
22611
22612 [BZ #14994]
22613 * math/s_casinh.c (__casinh): Reduce finite argument to first
22614 quadrant then set signs of results at the end.
22615 * math/s_casinhf.c (__casinhf): Likewise.
22616 * math/s_casinhl.c (__casinhl): Likewise.
22617 * math/libm-test.inc (casin_test): Add more tests.
22618 (casinh_test): Likewise.
22619 * sysdeps/i386/fpu/libm-test-ulps: Update.
22620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22621
302913e1
SP
226222013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22623
6420d207
SP
22624 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22625
a9e48ab4
SP
22626 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22627
b7837264
SP
22628 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22629 declarations.
22630 (denorm): Likewise.
22631 (__mp_dbl): Likewise.
22632 (__inv): Likewise.
22633
f8af25d2
SP
22634 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22635 and adjust the header comment.
22636
302913e1
SP
22637 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22638 variable name from declaration.
22639
5d7dd1ca
L
226402013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22641
22642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22643 Initialize COMMON_CPUID_INDEX_7 element.
22644 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22645 (CPUID_RTM): Likewise.
22646 (HAS_RTM): Likewise.
22647 (COMMON_CPUID_INDEX_7): New enum.
22648
2f5f40f4
AS
226492013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22650
22651 [BZ #14981]
22652 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22653 size is zero, record memory as freed.
22654
4056f4a0
AJ
226552013-01-03 Andreas Jaeger <aj@suse.de>
22656
22657 * po/ia.po: Add new Interlingua translation.
22658
ab15736f 226592012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
22660
22661 * locale/programs/localedef.c: Fix description of '--posix' flag.
22662
568035b7
JM
226632013-01-02 Joseph Myers <joseph@codesourcery.com>
22664
e6898b8d
JM
22665 * NEWS: Update dates in second copyright notice.
22666 * README: Update copyright dates in example.
22667 * manual/libc.texinfo: Update copyright dates.
22668 * scripts/test-installation.pl: Update copyright date in --version
22669 output.
22670
0e2f9562
JM
22671 * hurd/ctty-input.c: Fix copyright notice formatting.
22672 * hurd/ctty-output.c: Likewise.
22673 * hurd/dtable.c: Likewise.
22674 * hurd/hurd-raise.c: Likewise.
22675 * hurd/hurdprio.c: Likewise.
22676 * hurd/msgportdemux.c: Likewise.
22677 * misc/sys/file.h: Likewise.
22678 * misc/sys/ioctl.h: Likewise.
22679 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22680 * sysdeps/mach/hurd/chdir.c: Likewise.
22681 * sysdeps/mach/hurd/fchdir.c: Likewise.
22682 * sysdeps/mach/hurd/rename.c: Likewise.
22683 * sysdeps/mach/hurd/rmdir.c: Likewise.
22684 * sysdeps/mach/hurd/seekdir.c: Likewise.
22685 * sysdeps/mach/hurd/setsid.c: Likewise.
22686 * sysdeps/posix/wait3.c: Likewise.
22687
568035b7
JM
22688 * All files with FSF copyright notices: Update copyright dates
22689 using scripts/update-copyrights.
22690 * intl/plural.c: Regenerated.
22691 * locale/programs/charmap-kw.h: Likewise.
22692 * locale/programs/locfile-kw.h: Likewise.
22693
da08f647
SP
226942013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22695
0f5477af
SP
22696 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22697 four values.
22698
44e0d4c2
SP
22699 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22700 calculation loop and add branch prediction.
22701
4d55b4e5
SP
22702 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22703 check access beyond bounds of m1np.
22704
da08f647
SP
22705 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22706 MPTWO.
22707 (__inv): Remove local variable MPTWO to use the global
22708 constant.
22709 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22710 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22711 variable MPTWO.
22712 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22713 MP3HALFS static const.
22714
8e051029
DM
227152013-01-01 David S. Miller <davem@davemloft.net>
22716
22717 * po/ca.po: Update from translation team.
22718
f4cf5f2d
JM
227192013-01-01 Joseph Myers <joseph@codesourcery.com>
22720
22721 * scripts/update-copyrights: New file.
22722 * Makeconfig: Reformat copyright notice.
22723 * ctype/ctype.h: Likewise.
22724 * debug/swprintf_chk.c: Likewise.
22725 * elf/dl-cache.c: Likewise.
22726 * elf/dl-debug.c: Likewise.
22727 * elf/dl-object.c: Likewise.
22728 * grp/initgroups.c: Likewise.
22729 * hurd/Makefile: Likewise.
22730 * hurd/hurd/signal.h: Likewise.
22731 * hurd/hurdfault.c: Likewise.
22732 * hurd/hurdioctl.c: Likewise.
22733 * hurd/hurdlookup.c: Likewise.
22734 * hurd/intr-msg.c: Likewise.
22735 * iconv/gconv_open.c: Likewise.
22736 * libio/swprintf.c: Likewise.
22737 * locale/lc-ctype.c: Likewise.
22738 * locale/nl_langinfo.c: Likewise.
22739 * mach/Machrules: Likewise.
22740 * mach/Makefile: Likewise.
22741 * malloc/obstack.h: Likewise.
22742 * manual/Makefile: Likewise.
22743 * manual/tsort.awk: Likewise.
22744 * misc/bits/stab.def: Likewise.
22745 * nis/nis_print_group_entry.c: Likewise.
22746 * nis/nis_table.c: Likewise.
22747 * nis/nss_compat/compat-pwd.c: Likewise.
22748 * nis/nss_compat/compat-spwd.c: Likewise.
22749 * po/Makefile: Likewise.
22750 * posix/fnmatch.c: Likewise.
22751 * posix/regex.h: Likewise.
22752 * resolv/Makefile: Likewise.
22753 * resolv/nss_dns/dns-network.c: Likewise.
22754 * resolv/res_hconf.c: Likewise.
22755 * scripts/gen-sorted.awk: Likewise.
22756 * soft-fp/soft-fp.h: Likewise.
22757 * stdio-common/printf.h: Likewise.
22758 * stdlib/monetary.h: Likewise.
22759 * stdlib/random.c: Likewise.
22760 * stdlib/random_r.c: Likewise.
22761 * sysdeps/generic/Makefile: Likewise.
22762 * sysdeps/gnu/Makefile: Likewise.
22763 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22764 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22765 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22766 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22767 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22778 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22779 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22780 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22781 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22782 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22783 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22784 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22785 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22786 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22787 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22788 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22789 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22791 * sysdeps/mach/hurd/errnos.awk: Likewise.
22792 * sysdeps/mach/hurd/fork.c: Likewise.
22793 * sysdeps/mach/hurd/getcwd.c: Likewise.
22794 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22795 * sysdeps/mach/hurd/mmap.c: Likewise.
22796 * sysdeps/mach/hurd/utimes.c: Likewise.
22797 * sysdeps/mach/hurd/xmknod.c: Likewise.
22798 * sysdeps/posix/profil.c: Likewise.
22799 * sysdeps/posix/readdir_r.c: Likewise.
22800 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22801 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22802 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22803 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22805 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22806 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22807 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22809 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22810 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22811 * sysdeps/pthread/lio_listio.c: Likewise.
22812 * sysdeps/sparc/dl-procinfo.h: Likewise.
22813 * sysdeps/unix/i386/sysdep.S: Likewise.
22814 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22815 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22816 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22817 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22819 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22820 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22821 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22822 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22823 * sysdeps/wordsize-32/divdi3.c: Likewise.
22824 * time/sys/time.h: Likewise.
22825 * wcsmbs/Makefile: Likewise.
22826
0549fbba
DM
228272013-01-01 David S. Miller <davem@davemloft.net>
22828
a141f1a7
DM
22829 * po/fr.po: Update from translation team.
22830
0549fbba
DM
22831 * catgets/gencat.c: Update copyright year.
22832 * csu/version.c: Likewise.
22833 * debug/catchsegv.sh: Likewise.
22834 * debug/pcprofiledump.c: Likewise.
22835 * debug/xtrace.sh: Likewise.
22836 * elf/ldconfig.c: Likewise.
22837 * elf/ldd.bash.in: Likewise.
22838 * elf/pldd.c: Likewise.
22839 * elf/sotruss.ksh: Likewise.
22840 * elf/sprof.c: Likewise.
22841 * iconv/iconv_prog.c: Likewise.
22842 * iconv/iconvconfig.c: Likewise.
22843 * locale/programs/locale.c: Likewise.
22844 * locale/programs/localedef.c: Likewise.
22845 * login/programs/pt_chown.c: Likewise.
22846 * malloc/memusage.sh: Likewise.
22847 * malloc/memusagestat.c: Likewise.
22848 * malloc/mtrace.pl: Likewise.
22849 * nscd/nscd.c: Likewise.
22850 * nss/getent.c: Likewise.
22851 * nss/makedb.c: Likewise.
22852 * posix/getconf.c: Likewise.
22853
18ea052c
SP
228542012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22855
22856 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22857 numbers.
22858
9c89fca6
MF
228592012-12-30 Mike Frysinger <vapier@gentoo.org>
22860
22861 * math/bits/mathcalls.h (modf): Use __nonnull.
22862
085ec079
SP
228632012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22864
22865 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22866 (split): Use macro CN instead of the bare value.
22867 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22868 could be used.
22869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22870 instead of the bare value.
22871 (power1): Likewise.
22872
6d9f97e1
SP
228732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22874
d63f73be
SP
22875 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22876 __ATAN_TWOM.
22877 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22878
6d9f97e1
SP
22879 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22880 their values.
22881 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22882 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22883 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22884 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22885
4c4febf5
AJ
228862012-12-28 Andreas Jaeger <aj@suse.de>
22887
af5843ef
AJ
22888 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22889 values are from Linux 3.7.
22890
4c4febf5
AJ
22891 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22892 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22893
99136f82
SP
228942012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22895
2f216c3c 22896 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22897 TRUE case.
22898
99136f82
SP
22899 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22900 (norm): Likewise.
22901 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22902 variables with preprocessor constants.
22903 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22904 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22905 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22906
7fffbdff
BH
229072012-12-27 Bruno Haible <bruno@clisp.org>
22908
22909 [BZ #14317]
22910 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22911 only if needed.
22912
b76eb5f0
SP
229132012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22914
31a7fe5c
SP
22915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22916 and use variable directly.
22917 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22918
b76eb5f0
SP
22919 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22920 MPONE.
22921 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22922 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22923 variable MPONE.
22924 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22925 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22926 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22927 include directive. Remove local variable MPONE.
22928 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22929 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22930 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22931
2c8bfe7d
DM
229322012-12-25 David S. Miller <davem@davemloft.net>
22933
22934 * version.h (RELEASE): Set to "development".
22935 (VERSION): Set to "2.17.90".
22936 * NEWS: Add 2.18 section.
22937
147d03b0
DM
229382012-12-21 David S. Miller <davem@davemloft.net>
22939
22940 * po/hr.po: Update from translation team.
22941
a8ebb2b9
AK
229422012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22943
22944 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22945
95b4f1b6
SE
229462012-12-19 Steve Ellcey <sellcey@mips.com>
22947
b2d94007 22948 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22949
cedb2a90
MS
229502012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22951
22952 * manual/contrib.texi (Contributors): Spelling correction.
22953
bbf527d6
DM
229542012-12-15 David S. Miller <davem@davemloft.net>
22955
22956 * po/ru.po: Update from translation team.
22957
bc38c906
DM
229582012-12-13 David S. Miller <davem@davemloft.net>
22959
85429b1a
DM
22960 * NEWS: Mention IFUNC testsuite enhancements.
22961
d283e353
DM
22962 * po/pl.po: Update from translation team.
22963 * po/bg.po: Likewise.
22964
bc38c906
DM
22965 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22966 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22967
a181b0d7
DM
229682012-12-11 David S. Miller <davem@davemloft.net>
22969
4641d57e
DM
22970 * po/sv.po: Update from translation team.
22971
f7bc6495
DM
22972 * po/vi.po: Update from translation team.
22973
6fc9048f
DM
22974 * po/cs.po: Update from translation team.
22975
a181b0d7
DM
22976 * po/de.po: Update from translation team.
22977 * po/eo.po: Likewise.
22978 * po/nl.po: Likewise.
22979
f70bfe80
SP
229802012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22981
3c8b4190
SP
22982 [BZ #14246]
22983 * manual/argp.texi (Argp Helper Functions): Move node to follow
22984 Argp Parsing State.
22985
f70bfe80
SP
22986 [BZ #14872]
22987 * manual/conf.texi (Limits on File System Capacity): Mention if
22988 terminating null is included in the max size.
22989
188f0adf
AJ
229902012-12-10 Andreas Jaeger <aj@suse.de>
22991
22992 * po/cs.po: Update from translation team.
22993
56e7d3ad
SP
229942012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22995
22996 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22997 void pointer and cast to uintptr_t.
22998 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22999 path.
23000 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23001 * sysdeps/s390/s390-64/memset.S: Likewise.
23002
76f2d2ea 230032012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
23004
23005 [BZ #14833]
23006 * menual/message.texi (Message Translation): Fix typos.
23007 (Helper programs for gettext): Likewise.
23008
67cbf9a2
AS
230092012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23010
23011 [BZ #14898]
23012 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23013 Change to -1.
23014
682d0e9a
DM
230152012-12-07 David S. Miller <davem@davemloft.net>
23016
23017 * po/libc.pot: Update.
23018
573cd484
RH
230192012-12-07 Richard Henderson <rth@redhat.com>
23020
7e9da188 23021 [BZ #10114]
573cd484
RH
23022 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23023 normal/normal case to before the switch.
23024 (_FP_DIV): Likewise.
23025
e933a943
MF
230262012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23027 Mike Frysinger <vapier@gentoo.org>
23028
23029 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23030 check for __NR_fadvise64_64.
23031
82123268
CM
230322012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23033
23034 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23035 0, not just to plain "0" as a statement.
23036 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23037 with cw.
23038
d9814526
JM
230392012-12-06 Joseph Myers <joseph@codesourcery.com>
23040
23041 * NEWS: Use sourceware.org in Bugzilla URL.
23042
7728c574
SP
230432012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23044
f16946dd
SP
23045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23046 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23047
5704bbcb
SP
23048 * stdio-common/tst-put-error.c (do_test): Add newline to the
23049 padded test to ensure flush.
23050
17aa0516
JL
230512012-12-05 Jeff Law <law@redhat.com>
23052
23053 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23054
363313b5
JM
230552012-12-05 Joseph Myers <joseph@codesourcery.com>
23056
effbd42a
JM
23057 * README: Don't refer to ports add-on as distributed separately.
23058 Mention AArch64 in list of systems supported in the ports add-on.
23059
87600365
JM
23060 * LICENSES: Add more non-FSF copyright and license notices.
23061
a0d7066a
JM
23062 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23063 ((unused)).
23064
66ca5a5b
JM
23065 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23066
363313b5
JM
23067 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23068 10000 as width of padded output.
23069
b37984ad
JM
230702012-12-04 Joseph Myers <joseph@codesourcery.com>
23071
9003570a
JM
23072 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23073
b37984ad
JM
23074 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23075 variable LX with __attribute__ ((unused)).
23076 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23077 Likewise.
23078 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23079 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23081 with __attribute__ ((unused)).
23082
c8df52ec
DM
230832012-12-04 David S. Miller <davem@abraco.davemloft.net>
23084
23085 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23086
b3b099af
JM
230872012-12-04 Joseph Myers <joseph@codesourcery.com>
23088
c33aa6e3
JM
23089 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23090 (CFLAGS-nldbl-acos.c): New variable.
23091 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23092 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23093 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23094 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23095 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23096 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23097 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23098 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23099 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23100 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23101 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23102 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23103 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23104 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23105 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23106 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23107 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23108 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23109 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23110 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23111 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23112 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23113 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23114 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23115 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23116 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23117 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23118 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23119 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23120 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23121 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23122 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23123 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23124 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23125 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23126 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23127 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23128 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23129 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23130 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23131 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23132 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23133 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23134 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23135 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23136 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23137 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23138 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23139 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23140 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23141 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23142 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23143 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23144 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23145 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23146 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23147 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23148 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23149 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23150 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23151 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23152 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23153 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23154 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23155 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23156 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23157 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23158 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23159 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23160 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23161 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23162 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23163 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23164 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23165 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23166 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23167 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23168 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23169 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23170 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23171 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23172 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23173 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23174 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23175 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23176 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23177 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23178 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23179 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23180 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23181 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23182 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23183 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23184 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23185 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23186 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23187 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23188
20f0018d
JM
23189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23190 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23191
b3b099af
JM
23192 [BZ #14914]
23193 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23194 whole low double instead of just low 47 bits when splitting values
23195 into two parts.
23196
029264d1
AM
231972012-12-03 Allan McRae <allan@archlinux.org>
23198
23199 * manual/stdio.texi (Predefined Printf Handlers): Remove
23200 @hsep and @vsep usage.
23201
c9d6789e
MF
232022012-12-03 Mike Frysinger <vapier@gentoo.org>
23203
23204 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23205 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23206
4b7634a5
JL
232072012-12-03 Jeff Law <law@redhat.com>
23208
23209 * time/sys/time.h (settimeofday): Do not mark TV argument
23210 as __nonnull.
23211
eb6cbd24
MF
232122012-12-01 Mike Frysinger <vapier@gentoo.org>
23213
23214 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23215 when currently writing and seek to current position when not.
23216 * libio/Makefile (tests): Remove bug-fclose1.
23217 * libio/bug-fclose1.c: Delete.
23218
f638872a
JM
232192012-12-01 Joseph Myers <joseph@codesourcery.com>
23220
23221 * manual/arith.texi (feenableexcept): Fix typo.
23222 (fedisableexcept): Likewise.
23223
48085d14
RM
232242012-11-30 Roland McGrath <roland@hack.frob.com>
23225
23226 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23227 second, differently-typed declaration, rather than a cast.
23228
1a538b9f
SP
232292012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23230
23231 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23232 * include/rpc/svc.h: ... here.
23233
d07f2ff1 232342012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23235
23236 [BZ #13013]
23237 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23238 depending n and resplen2 to catch cases where answer
23239 equals answerp2.
23240
c93ec1f0
CD
232412012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23242
23243 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23244 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23245
37db69de
MF
232462012-11-29 Mike Frysinger <vapier@gentoo.org>
23247
23248 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23249
e10c4e4f
RM
232502012-11-29 Roland McGrath <roland@hack.frob.com>
23251
23252 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23253
2af1b328
JL
232542012-11-28 Jeff Law <law@redhat.com>
23255
23256 [BZ #13761]
23257 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23258 dataset_temporary. Track alloca usage into alloca_used.
23259 If dataset is large allocate and release it via malloc/free.
23260
111db5b1
FW
232612012-06-04 Florian Weimer <fweimer@redhat.com>
23262
f06cc227 23263 [BZ #14197]
111db5b1
FW
23264 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23265
dd694abd
DM
232662012-11-28 David S. Miller <davem@davemloft.net>
23267
23268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23269
9984dd01
JM
232702012-11-28 Joseph Myers <joseph@codesourcery.com>
23271
23272 [BZ #14803]
23273 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23274 of pi/2 rounded to nearest to 64 bits.
23275 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23276 nearest to 64 bits.
23277 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23278 bits.
23279
14bc93a9
JL
232802012-11-28 Jeff Law <law@redhat.com>
23281 Martin Osvald <mosvald@redhat.com>
23282
23283 [BZ #14889]
23284 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23285 * sunrpc/svc.c: Include time.h.
23286 (__svc_accept_failed): New function.
23287 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23288 any reason other than EINTR, call __svc_accept_failed.
23289 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23290 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23291
e3c6aa3a
AS
232922012-11-28 Andreas Schwab <schwab@suse.de>
23293
23294 * scripts/abilist.awk: Also handle indirect functions in .opd
23295 section.
23296
1bead169
JM
232972012-11-28 Joseph Myers <joseph@codesourcery.com>
23298
23299 [BZ #13881]
23300 * sysdeps/x86/fpu/powl_helper.c: New file.
23301 * sysdeps/x86/fpu/Makefile: Likewise.
23302 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23303 (p3): New object.
23304 (__ieee754_powl): Use __powl_helper for finite arguments except
23305 integer exponents below 8.
23306 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23307 (p3): New object.
23308 (__ieee754_powl): Use __powl_helper for finite arguments except
23309 integer exponents below 8.
23310 * math/libm-test.inc (pow_test): Add more tests and enable some
23311 previously disabled tests.
23312 * sysdeps/i386/fpu/libm-test-ulps: Update.
23313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23314
0817d63d
SP
233152012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23316 Carlos O'Donell <carlos_odonell@mentor.com>
23317
23318 * nss/makedb.c (is_prime): Assert that input is odd and greater
23319 than 4. Note that fact in a comment too.
23320 (next_prime): Add 4 to input.
23321
de2fd463
SP
233222012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23323
23324 [BZ #11741]
23325 * libio/Makefile (tests): Add test case tst-fwrite-error.
23326 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23327 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23328 * libio/tst-fwrite-error.c: New test case.
23329
c515fb51
L
233302012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23331
23332 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23333 before casting to void *.
23334 * include/libc-internal.h (__pointer_type): New macro.
23335 (__integer_if_pointer_type_sub): Likewise.
23336 (__integer_if_pointer_type): Likewise.
23337 (cast_to_integer): Likewise.
23338 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23339 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23340 before casting to atomic64_t.
23341 (atomic_exchange_acq): Likewise.
23342 (__arch_exchange_and_add_body): Likewise.
23343 (__arch_add_body): Likewise.
23344 (atomic_add_negative): Likewise.
23345 (atomic_add_zero): Likewise.
23346
4cf77aa9
JM
233472012-11-26 Joseph Myers <joseph@codesourcery.com>
23348
23349 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23350 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23351 (add_fdes): Likewise.
23352 (linear_search_fdes): Likewise.
23353 (binary_search_unencoded_fdes): Likewise.
23354
d260b3b4
AS
233552012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23356
23357 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23358
67060746
AC
233592012-11-24 Adam Conrad <adconrad@0c3.net>
23360
23361 * configure.in: Autodetect C++ header directories.
23362 * configure: Regenerated.
23363
800938a1
MF
233642012-11-23 Mike Frysinger <vapier@gentoo.org>
23365
23366 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23367
4e6e34e6
AS
233682012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23369
23370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23371
7c7feb47
JM
233722012-11-22 Joseph Myers <joseph@codesourcery.com>
23373
7184dcdf
JM
23374 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23375 LDBL_MANT_DIG == 106]: Disable some tests.
23376 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23377 Likewise.
23378 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23379 Likewise.
23380
0a42601f
JM
23381 [BZ #14871]
23382 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23383 input for small inputs. Return +/- pi/2 for large inputs.
23384 * math/libm-test.inc (atan_test): Add more tests.
23385
79c9b9fe
JM
23386 * sysdeps/generic/unwind-dw2-fde-glibc.c
23387 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23388 __attribute__ ((unused)).
23389
c60d3bf2
JM
23390 [BZ #14645]
23391 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23392 x * y if x and y are nonzero and z is zero.
23393
ef1e0867
JM
23394 [BZ #14811]
23395 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23396 nonzero exponents with absolute value below 0x1p-117 to +/-
23397 0x1p-117.
23398
1468ded3
JM
23399 [BZ #14869]
23400 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23401 up arguments below 2**-450, not just those below 2**-500.
23402 * math/libm-test.inc (hypot_test): Add another test.
23403
8e27e3cc
JM
23404 [BZ #14868]
23405 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23406 Return a+b for ratio over 2**120, not 2**60.
23407 * math/libm-test.inc (hypot_test): Add another test.
23408
c9c0279b
JM
23409 * math/libm-test.inc (clog_test): Use
23410 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23411 (clog10_test): Likewise.
23412
7c7feb47
JM
23413 [BZ #6778]
23414 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23415
fff1530e
AS
234162012-11-22 Andreas Schwab <schwab@suse.de>
23417
23418 * sysdeps/i386/fpu/libm-test-ulps: Update.
23419
94558d30
PT
234202012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23421
23422 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23423 printf output with newline.
23424
7e1be741
L
234252012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23426
6bfea974
L
23427 [BZ #14865]
23428 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23429 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23430 -z nodlopen, -z initfirst and -z execstack support.
23431 * configure: Regenerated.
23432
7e1be741
L
23433 * elf/elf.h (DF_1_NODIRECT): New macro.
23434 (DF_1_IGNMULDEF): Likewise.
23435 (DF_1_NOKSYMS): Likewise.
23436 (DF_1_NOHDR): Likewise.
23437 (DF_1_EDITED): Likewise.
23438 (DF_1_NORELOC): Likewise.
23439 (DF_1_SYMINTPOSE): Likewise.
23440 (DF_1_GLOBAUDIT): Likewise.
23441 (DF_1_SINGLETON): Likewise.
23442 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23443 DT_1_SUPPORTED_MASK bits.
23444 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23445
105ce2ce
CD
234462012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23447
23448 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23449
123be9de
TS
234502012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23451
d072f3f7
TS
23452 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23453 macro.
23454
123be9de
TS
23455 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23456 (sendmmsg): Move declarations...
23457 * socket/sys/socket.h: ... here.
23458 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23459 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23460 include it from...
23461 * socket/recvmmsg.c: ... this new file.
23462 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23463 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23464 definition of __sendmmsg hidden.
23465 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23466 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23467 Move ENOSYS stub into and include it from...
23468 * socket/sendmmsg.c: ... this new file.
23469 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23470 (sysdep_routines): Move recvmmsg and sendmmsg...
23471 * socket/Makefile (routines): ... here.
23472 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23473 (GLIBC_PRIVATE): Add __sendmmsg.
23474 * include/sys/socket.h (__sendmmsg): Add declarations.
23475 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23476 sendmmsg.
23477
cf9a5d18
JM
234782012-11-20 Joseph Myers <joseph@codesourcery.com>
23479
23480 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23481 variable I1 with __attribute__ ((unused)).
23482 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23483
ecd4caf9
JM
234842012-11-19 Joseph Myers <joseph@codesourcery.com>
23485
be14d48f
JM
23486 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23487 DUMMY variables with __attribute__ ((unused)).
23488
ecd4caf9
JM
23489 * bits/byteswap.h: Include <bits/types.h>.
23490 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23491
986cab95
PT
234922012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23493
23494 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23495 string_t. Do not manually set errno.
23496 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23497 length with __strnlen. Make sure to both set errno and return it on
23498 failure.
23499
6d33cc9d
DM
235002012-11-19 David S. Miller <davem@davemloft.net>
23501
23502 With help from Joseph Myers.
23503 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23504 very large arguments properly.
23505 * math/libm-test.inc (atan_test): New tests.
23506 (atan2_test): New tests.
23507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23509
ee663277
JM
235102012-11-19 Joseph Myers <joseph@codesourcery.com>
23511
877f2d8e
JM
23512 [BZ #14856]
23513 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23514 Define to 3.
23515
116fc08a
JM
23516 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23517 [POSIX] (EADDRNOTAVAIL): Likewise.
23518 [POSIX] (EAFNOSUPPORT): Likewise.
23519 [POSIX] (EALREADY): Likewise.
23520 [POSIX] (ECONNABORTED): Likewise.
23521 [POSIX] (ECONNREFUSED): Likewise.
23522 [POSIX] (ECONNRESET): Likewise.
23523 [POSIX] (EDESTADDRREQ): Likewise.
23524 [POSIX] (EDQUOT): Likewise.
23525 [POSIX] (EHOSTUNREACH): Likewise.
23526 [POSIX] (EIDRM): Likewise.
23527 [POSIX] (EISCONN): Likewise.
23528 [POSIX] (ELOOP): Likewise.
23529 [POSIX] (EMULTIHOP): Likewise.
23530 [POSIX] (ENETDOWN): Likewise.
23531 [POSIX] (ENETUNREACH): Likewise.
23532 [POSIX] (ENOBUFS): Likewise.
23533 [POSIX] (ENODATA): Likewise.
23534 [POSIX] (ENOLINK): Likewise.
23535 [POSIX] (ENOMSG): Likewise.
23536 [POSIX] (ENOPROTOOPT): Likewise.
23537 [POSIX] (ENOSR): Likewise.
23538 [POSIX] (ENOSTR): Likewise.
23539 [POSIX] (ENOTCONN): Likewise.
23540 [POSIX] (ENOTSOCK): Likewise.
23541 [POSIX] (EOPNOTSUPP): Likewise.
23542 [POSIX] (EOVERFLOW): Likewise.
23543 [POSIX] (EPROTO): Likewise.
23544 [POSIX] (EPROTONOSUPPORT): Likewise.
23545 [POSIX] (EPROTOTYPE): Likewise.
23546 [POSIX] (ESTALE): Likewise.
23547 [POSIX] (ETIME): Likewise.
23548 [POSIX] (ETXTBSY): Likewise.
23549 [POSIX] (EWOULDBLOCK): Likewise.
23550 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23551 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23552 [POSIX] (SEEK_CUR): Likewise.
23553 [POSIX] (SEEK_END): Likewise.
23554 [POSIX || UNIX98] (mode_t): Do not require.
23555 [POSIX] (off_t): Likewise.
23556 [POSIX] (pid_t): Likewise.
23557 [POSIX] (sys/stat.h): Do not allow header.
23558 [POSIX] (unistd.h): Likewise.
23559 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23560 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23561 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23562 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23563 require.
23564 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23565 sigevent): Specify elements.
23566 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23567 entry.
23568 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23569 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23570
a483863f
JM
23571 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23572 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23573 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23574 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23575 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23576 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23577 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23578 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23579 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23580 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23581 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23582 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23583 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23584 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23585 Likewise.
23586 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23587 Likewise.
23588 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23589 Likewise.
23590 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23591 Likewise.
23592 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23593 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23594 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23595 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23596 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23597 Specify lower bound on value.
23598 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23599 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23600 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23601 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23602 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23603 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23604 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23605 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23606 value.
23607 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23608 as optional.
23609 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23610 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23611 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23612 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23613 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23614 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23615 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23616 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23617 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23618 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23619 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23620 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23621 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23622 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23623 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23624 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23625 entry.
23626 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23627 optional.
23628 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23629 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23630 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23631 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23632 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23633 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23634 Likewise.
23635 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23636 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23637 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23638 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23639 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23640 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23641 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23642 as optional.
23643 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23644 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23645 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23646 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23647 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23648 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23649 specify as optional.
23650 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23651 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23652 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23653 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23654 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23655 [XPG3] (NL_LANGMAX): Likewise.
23656 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23657 [POSIX || XPG3] (NL_NMAX): Likewise.
23658 [POSIX || XPG3] (NL_SETMAX): Likewise.
23659 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23660 [XPG3] (NZERO): Likewise.
23661 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23662 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23663 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23664 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23665 (REG_ERANGE): Expect.
23666 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23667 optional-constant.
23668 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23669 Use (void) in prototype.
23670 [POSIX] (*_t): Allow.
23671 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23672 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23673 (WRDE_BADVAL): Expect.
23674
5ba924e3
JM
23675 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23676 expect.
23677 [XPG3 || XPG4] (O_RSYNC): Likewise.
23678 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23679 Likewise.
23680 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23681 [XPG3 || XPG4] (sigqueue): Likewise.
23682 [XPG3 || XPG4] (sigtimedwait): Likewise.
23683 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23684 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23685 [XPG3 || XPG4] (vsnprintf): Likewise.
23686 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23687 Likewise.
23688 [XPG3 || XPG4] (blksize_t): Likewise.
23689 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23690 Likewise.
23691 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23692 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23693 [XPG3 || XPG4] (struct itimerspec): Likewise.
23694 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23695 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23696 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23697 [XPG3 || XPG4] (clockid_t): Likewise.
23698 [XPG3 || XPG4] (timer_t): Likewise.
23699 [XPG3 || XPG4] (clock_getres): Likewise.
23700 [XPG3 || XPG4] (clock_gettime): Likewise.
23701 [XPG3 || XPG4] (clock_settime): Likewise.
23702 [XPG3 || XPG4] (nanosleep): Likewise.
23703 [XPG3 || XPG4] (timer_create): Likewise.
23704 [XPG3 || XPG4] (timer_delete): Likewise.
23705 [XPG3 || XPG4] (timer_gettime): Likewise.
23706 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23707 [XPG3 || XPG4] (timer_settime): Likewise.
23708 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23709 [XPG3 || XPG4] (getlogin_r): Likewise.
23710 [XPG3 || XPG4] (pread): Likewise.
23711 [XPG3 || XPG4] (pthread_atfork): Likewise.
23712 [XPG3 || XPG4] (pwrite): Likewise.
23713
ee663277
JM
23714 [BZ #14835]
23715 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23716 <bits/siginfo.h>.
23717
942caa16
PT
237182012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23719
e19af380
PT
23720 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23721 finalizing MALLSTREAM.
23722
942caa16
PT
23723 * sysdeps/mach/hurd/syncfs.c: New file.
23724
cfde9b46
SP
237252012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23726
23727 [BZ #14719]
23728 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23729 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23730 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23731 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23732 (_nss_dns_gethostbyname4_r): Likewise.
23733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23734 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23735
f6da27e5
PH
237362012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23737
23738 [BZ #13763]
23739 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23740
6665d4a2
SM
237412012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23742
1f51ee92
SM
23743 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23744 * elf/cache.c (print_entry): Print ",AArch64" for
23745 FLAG_AARCH64_LIB64
23746
6665d4a2
SM
23747 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23748 * elf/cache.c (print_entry): Print ",hard-float" for
23749 FLAG_ARM_LIBHF.
23750
05b227bd
DM
237512012-11-18 David S. Miller <davem@davemloft.net>
23752
23753 With help from Joseph Myers.
23754 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23755 cutoff to 2**-13.
23756 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23757 cutoff to 2**-25.
23758 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23759 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23760 small.
23761 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23762 * math/libm-test.inc (y0_test): New tests.
23763 (y1_test): New tests.
23764 * sysdeps/i386/fpu/libm-test-ulps: Update.
23765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23767
786b0b67
AS
237682012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23769
23770 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23771 64-bit targets.
23772 * configure: Regenerated.
23773
8e18b86d
DM
237742012-11-17 David S. Miller <davem@davemloft.net>
23775
23776 [BZ #14811]
23777 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23778 nonzero exponents with absolute value below 0x1p-128 to +/-
23779 0x1p-128.
23780
531f1ae0
JM
237812012-11-17 Joseph Myers <joseph@codesourcery.com>
23782
12df29e2
JM
23783 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23784
150dc1a0
JM
23785 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23786
531f1ae0
JM
23787 * posix/getconf-speclist.c: New file.
23788 * posix/posix-envs.def: Likewise.
23789 * posix/confstr.c (START_ENV_GROUP): New macro.
23790 (END_ENV_GROUP): Likewise.
23791 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23792 (KNOWN_PRESENT_ENV_STRING): Likewise.
23793 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23794 (UNKNOWN_ENVIRONMENT): Likewise.
23795 (confstr): Include posix-envs.def instead of handling
23796 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23797 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23798 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23799 (END_ENV_GROUP): Likewise.
23800 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23801 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23802 (UNKNOWN_ENVIRONMENT): Likewise.
23803 (__sysconf): Include posix-envs.def instead of handling associated
23804 cases directly here.
23805 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23806 preprocessing getconf-speclist.c rather than running getconf or
23807 generating empty file.
23808
a93f9cbc
PT
238092012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23810
23811 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23812
d64d9f87
AL
238132012-11-16 Andrej Lajovic <natrij@gmail.com>
23814
23815 [BZ #14672]
23816 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23817
447885eb
DM
238182012-11-16 David S. Miller <davem@davemloft.net>
23819
23820 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23821 smaller than LDBL_EPSILON/2.0L, just return xm1.
23822
bcbf9830
L
238232012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23824
23825 * elf/tst-array1.c (init): Set constructor priority to 1000.
23826 (fini): Set destructor priority to 1000.
23827 * elf/tst-array2dep.c: Likewise.
23828
2b766585
SP
238292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23830
23831 [BZ #11741]
23832 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23833 (_IO_new_file_xsputn): Also return EOF if none of the input
23834 data was written when overflow failed.
23835 * libio/iopadn.c (_IO_padn): Likewise.
23836 * libio/iowpadn.c (_IO_wpadn): Likewise.
23837 * stdio-common/tst-put-error.c: Add copyright notice.
23838 (do_test): Add case for printing padded string.
23839 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23840 _IO_padn returned error.
23841 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23842 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23843 return EOF.
23844
b1848fde
SP
238452012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23846
23847 * libio/libioP.h: Add comment note that the references to C++
23848 bits are now obsolete.
23849
2fd89785
MS
238502012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23851
23852 * math/libm-test.inc (check_complex): Use asprintf.
23853
e3ea5409
JM
238542012-11-14 Joseph Myers <joseph@codesourcery.com>
23855
23856 * debug/pcprofiledump.c (print_version): Update copyright year.
23857 * malloc/memusagestat.c (print_version): Likewise.
23858
2e64d265
L
238592012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23860
23861 [BZ #14831]
23862 * elf/Makefile (tests): Add tst-audit8.
23863 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23864 ($(objpfx)tst-audit8.out): New target.
23865 (tst-audit8-ENV): New variable.
23866 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23867 audit if l_reloc_result is NULL.
23868 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23869 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23870 * elf/tst-audit8.c: New file.
23871
c485e4d2
MS
238722012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23873
23874 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23875 * misc/Makefile (CFLAGS-select.c): Define.
23876 * posix/Makefile (CFLAGS-pause.c): Define.
23877
3a0d900a
DM
238782012-11-13 David S. Miller <davem@davemloft.net>
23879
23880 * crypt/Makefile: Move test targets after toplevel Rules
23881 inclusion. Grab any necessary sysdep routines when linking.
23882 * crypt/md5.c (md5_process_block): Remove define, we will always
23883 name it __md5_process_block.
23884 (md5_finish_ctx): Update md5_process_block call.
23885 (md5_stream): Likewise.
23886 (md5_process_bytes): Likewise.
23887 (md5_process_block): Rename to __md5_process_block and move to ...
23888 * crypt/md5-block.c: ... here.
23889 * crypt/sha256.c (sha256_process_block): Move to ...
23890 * crypt/sha256-block.c: ... here.
23891 * crypt/sha512.c (sha512_process_block): Move to ...
23892 * crypt/sha512-block.c: ... here.
23893 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23894 path.
23895 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23896 * sysdeps/sparc/sparc64/multiarch/Makefile
23897 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23898 crypt subdir.
23899 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23900 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23901 multiarch changes.
23902 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23903 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23904 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23905 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23906 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23907 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23908 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23909 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23910 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23911 file.
23912 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23913 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23914 file.
23915 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23916
8ca89318
JM
239172012-11-13 Joseph Myers <joseph@codesourcery.com>
23918
e27d476a
JM
23919 * timezone/tzselect.ksh: Update from tzcode git revision
23920 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23921 * timezone/zdump.c: Likewise.
23922 * timezone/zic.c: Likewise.
23923 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23924 in TZVERSION setting, not $(PKGVERSION).
23925 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23926 REPORT_BUGS_TO settings.
23927
8ca89318
JM
23928 [BZ #14838]
23929 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23930 macro.
23931
47594329
MS
239322012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23933
23934 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23935 detection to immediately after _FP_ROUND().
23936 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23937 bits are 0.
23938
640ac3f1
DM
239392012-11-11 David S. Miller <davem@davemloft.net>
23940
23941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23942 inttypes.h
23943 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23944 __close rather than their public counterparts.
23945
3d2577bb
JM
239462012-11-10 Joseph Myers <joseph@codesourcery.com>
23947
23948 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23949 file.
23950 [UNIX98] (sem_timedwait): Do not expect.
23951 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23952 [XPG4 || UNIX98] (sockatmark): Do not expect.
23953 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23954 (clock_getcpuclockid): Do not expect.
23955 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23956 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23957 Do not expect.
23958 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23959 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23960 [UNIX98] (vwscanf): Likewise.
23961 [UNIX98] (vswscanf): Likewise.
23962
fb1ae1ee
JM
239632012-11-09 Joseph Myers <joseph@codesourcery.com>
23964
9ec6f8bd
JM
23965 * timezone/version.h: Remove file.
23966 * timezone/README: Do not refer to version.h.
23967 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23968 $(objpfx)version.h.
23969 ($(objpfx)zdump.o): Likewise.
c3f81911 23970 ($(objpfx)version.h): New target.
9ec6f8bd 23971
0aa8f8a1
JM
23972 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23973 2012i.
23974 * timezone/README: Don't mention modification to tzselect.ksh.
23975 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23976 work on unmodified tzselect.ksh. Substitute version numbers in
23977 tzselect.ksh.
23978
4e87147f
JM
23979 * Makefile (format-me): Remove.
23980 (INSTALL): Adjust indentation. Use commands directly instead of
23981 using $(format-me).
23982
8b748aed
JM
23983 * aclocal.m4 (ACX_PKGVERSION): New macro.
23984 (ACX_BUGURL): Likewise.
23985 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23986 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23987 (REPORT_BUGS_TO): Likewise.
23988 * configure: Regenerated.
23989 * config.h.in (PKGVERSION): New macro.
23990 (REPORT_BUGS_TO): Likewise.
23991 * config.make.in (PKGVERSION): New variable.
23992 (PKGVERSION_TEXI): Likewise.
23993 (REPORT_BUGS_TO): Likewise.
23994 (REPORT_BUGS_TEXI): Likewise.
23995 * Makefile (format-me): Use -I$(common-objpfx)manual.
23996 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23997 ($(common-objpfx)manual/%): New target.
23998 (manual/%): Remove target.
23999 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24000 (print_version): Use PKGVERSION.
24001 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24002 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24003 and REPORT_BUGS_TO.
24004 ($(objpfx)xtrace): Likewise.
24005 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24006 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24007 (print_version): Use PKGVERSION.
24008 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24009 (do_version): Use PKGVERSION.
24010 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24011 REPORT_BUGS_TO.
24012 (common-ldd-rewrite): Likewise.
24013 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24014 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24015 (print_version): Use PKGVERSION.
24016 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24017 * elf/pldd.c (argp_program_bug_address): Remove variable.
24018 (more_help): New function.
24019 (argp): Use more_help.
24020 (print_version): Use PKGVERSION.
24021 * elf/sln.c (main): Use PKGVERSION.
24022 (usage): Use REPORT_BUGS_TO.
24023 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24024 (top level): Use PKGVERSION.
24025 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24026 (print_version): Use PKGVERSION.
24027 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24028 (print_version): Use PKGVERSION.
24029 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24030 (print_version): Use PKGVERSION.
24031 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24032 (print_version): Use PKGVERSION.
24033 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24034 (print_version): Use PKGVERSION.
24035 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24036 (print_version): Use PKGVERSION.
24037 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24038 and BUGURL.
24039 ($(objpfx)memusage): Likewise.
24040 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24041 (do_version): Use PKGVERSION.
24042 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24043 (print_version): Use PKGVERSION.
24044 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24045 ($PKGVERSION): New variable.
24046 ($REPORT_BUGS_TO): Likewise.
24047 (usage): Use $REPORT_BUGS_TO.
24048 (top level): Use $PKGVERSION.
24049 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24050 ($(objpfx)pkgvers.texi): New rule.
24051 ($(objpfx)stamp-pkgvers): Likewise.
24052 * manual/install.texi: Include pkgvers.texi.
24053 (--with-pkgversion): Document new configure option.
24054 (--with-bugurl): Likewise.
24055 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24056 than necessarily for this particular distribution. Use
24057 REPORT_BUGS_TO for where to report bugs.
24058 * INSTALL: Regenerated.
24059 * manual/libc.texinfo: Include pkgvers.texi.
24060 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24061 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24062 (print_version): Use PKGVERSION.
24063 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24064 (print_version): Use PKGVERSION.
24065 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24066 (print_version): Use PKGVERSION.
24067 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24068 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24069 macro.
24070 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24071 (print_version): Use PKGVERSION.
24072 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24073 (print_version): Use PKGVERSION.
24074 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24075 and PKGVERSION.
24076
92e4b6a9
JM
24077 * timezone/checktab.awk: Update from tzcode 2012i.
24078 * timezone/ialloc.c: Likewise.
24079 * timezone/private.h: Likewise.
24080 * timezone/scheck.c: Likewise.
24081 * timezone/tzfile.h: Likewise.
24082 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24083 (TZVERSION): Hardcode tzcode version number.
24084 * timezone/zdump.c: Update from tzcode 2012i.
24085 * timezone/zic.c: Likewise.
24086 * timezone/version.h: New file.
24087 * timezone/README: Describe version.h. Update upstream location.
24088
9bde902c
JM
24089 [BZ #14824]
24090 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24091 (mktemp): Enable declaration.
24092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24096 Likewise.
24097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24098 Likewise.
24099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24100 Likewise.
24101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24102 Likewise.
24103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24104 Likewise.
24105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24106 Likewise.
24107
fb1ae1ee
JM
24108 [BZ #14821]
24109 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24110 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24111 for copies of such integer values.
24112 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24113 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24114
2c1adbcb
AJ
241152012-11-09 Andreas Jaeger <aj@suse.de>
24116
24117 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24118 definitions and declarations that are provided by
24119 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24120
d0f8457e
AK
241212012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24122
3a235abb 24123 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
24124 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24125 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24126 definition.
24127
57241e26
MS
241282012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24129
24130 * elf/elf.h: Update comment before AArch64 relocations.
24131
60e8270d
DM
241322012-11-07 David S. Miller <davem@davemloft.net>
24133
24134 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24135 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24136 (__start_context): Declare.
24137 (__makecontext_ret): Delete.
24138 (__makecontext): Hook up __start_context instead of
24139 __makecontext_ret.
24140 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24141 (sysdep_routines): Add __start_context when in stdlib.
24142
0fbb0fbc
JM
241432012-11-07 Joseph Myers <joseph@codesourcery.com>
24144
24145 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24146 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24147 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24148 hardcoded "nm".
24149 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24150 (READELF): New variable. Use it instead of hardcoded "readelf".
24151
eb48db7e
L
241522012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24153
24154 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24155 * sysdeps/x86/Makefile: Here.
24156 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24157 * sysdeps/x86/tst-xmmymm.sh: This.
24158
05bcf62a
JM
241592012-11-07 Joseph Myers <joseph@codesourcery.com>
24160
c4b6cf53
JM
24161 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24162 expectations.
24163 [UNIX98] (pthread_barrier_t): Do not expect.
24164 [UNIX98] (pthread_barrierattr_t): Likewise.
24165 [UNIX98] (pthread_spinlock_t): Likewise.
24166 [UNIX98] (pthread_barrier_destroy): Likewise.
24167 [UNIX98] (pthread_barrier_init): Likewise.
24168 [UNIX98] (pthread_barrier_wait): Likewise.
24169 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24170 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24171 [UNIX98] (pthread_barrierattr_init): Likewise.
24172 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24173 [UNIX98] (pthread_getcpuclockid): Likewise.
24174 [UNIX98] (pthread_mutex_timedlock): Likewise.
24175 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24176 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24177 [UNIX98] (pthread_sigmask): Likewise.
24178 [UNIX98] (pthread_spin_destroy): Likewise.
24179 [UNIX98] (pthread_spin_init): Likewise.
24180 [UNIX98] (pthread_spin_lock): Likewise.
24181 [UNIX98] (pthread_spin_trylock): Likewise.
24182 [UNIX98] (pthread_spin_unlock): Likewise.
24183 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24184 Do not expect.
24185 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24186 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24187 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24188 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24189 [XPG3 || XPG4] (pthread_key_t): Likewise.
24190 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24191 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24192 [XPG3 || XPG4] (pthread_once_t): Likewise.
24193 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24194 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24195 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24196 [XPG3 || XPG4] (pthread_t): Likewise.
24197
cbe6e120
JM
24198 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24199 not expect.
24200 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24201
1b126443
JM
24202 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24203 Change function return type to int.
24204
b961a573
JM
24205 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24206 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24207 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24208 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24209 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24210 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24211 [!POSIX] (posix_madvise): Likewise.
24212 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24213 && !UNIX98].
24214 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24215 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24216 (mode_t): Likewise.
24217 (posix_mem_offset): Likewise.
24218 (posix_typed_mem_get_info): Likewise.
24219 (posix_typed_mem_open): Likewise.
24220
9e188909
JM
24221 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24222 Change condition to [XOPEN2K8].
24223
05bcf62a
JM
24224 * conform/conformtest.pl: Preprocess allow-header data with -x c
24225 instead of from stdin.
24226 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24227 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24228 [C99-based standards] (cerfc): Likewise.
24229 [C99-based standards] (cexp2): Likewise.
24230 [C99-based standards] (cexpm1): Likewise.
24231 [C99-based standards] (clog10): Likewise.
24232 [C99-based standards] (clog1p): Likewise.
24233 [C99-based standards] (clog2): Likewise.
24234 [C99-based standards] (clgamma): Likewise.
24235 [C99-based standards] (ctgamma): Likewise.
24236 [C99-based standards] (cerff): Likewise.
24237 [C99-based standards] (cerfcf): Likewise.
24238 [C99-based standards] (cexp2f): Likewise.
24239 [C99-based standards] (cexpm1f): Likewise.
24240 [C99-based standards] (clog10f): Likewise.
24241 [C99-based standards] (clog1pf): Likewise.
24242 [C99-based standards] (clog2f): Likewise.
24243 [C99-based standards] (clgammaf): Likewise.
24244 [C99-based standards] (ctgammaf): Likewise.
24245 [C99-based standards] (cerfl): Likewise.
24246 [C99-based standards] (cerfcl): Likewise.
24247 [C99-based standards] (cexp2l): Likewise.
24248 [C99-based standards] (cexpm1l): Likewise.
24249 [C99-based standards] (clog10l): Likewise.
24250 [C99-based standards] (clog1pl): Likewise.
24251 [C99-based standards] (clog2l): Likewise.
24252 [C99-based standards] (clgammal): Likewise.
24253 [C99-based standards] (ctgammal): Likewise.
24254 * conform/data/inttypes.h-data [C99-based standards]: Include
24255 stdint.h-data. Remove all expectations for stdint.h contents.
24256 [C99-based standards] (PRI*): Do not allow.
24257 [C99-based standards] (SCN*): Likewise.
24258 [C99-based standards] (*_t): Likewise.
24259 [C99-based-standards] (PRId8): Expect macro.
24260 [C99-based-standards] (PRIi8): Likewise.
24261 [C99-based-standards] (PRIo8): Likewise.
24262 [C99-based-standards] (PRIu8): Likewise.
24263 [C99-based-standards] (PRIx8): Likewise.
24264 [C99-based-standards] (PRIX8): Likewise.
24265 [C99-based-standards] (SCNd8): Likewise.
24266 [C99-based-standards] (SCNi8): Likewise.
24267 [C99-based-standards] (SCNo8): Likewise.
24268 [C99-based-standards] (SCNu8): Likewise.
24269 [C99-based-standards] (SCNx8): Likewise.
24270 [C99-based-standards] (PRIdLEAST8): Likewise.
24271 [C99-based-standards] (PRIiLEAST8): Likewise.
24272 [C99-based-standards] (PRIoLEAST8): Likewise.
24273 [C99-based-standards] (PRIuLEAST8): Likewise.
24274 [C99-based-standards] (PRIxLEAST8): Likewise.
24275 [C99-based-standards] (PRIXLEAST8): Likewise.
24276 [C99-based-standards] (SCNdLEAST8): Likewise.
24277 [C99-based-standards] (SCNiLEAST8): Likewise.
24278 [C99-based-standards] (SCNoLEAST8): Likewise.
24279 [C99-based-standards] (SCNuLEAST8): Likewise.
24280 [C99-based-standards] (SCNxLEAST8): Likewise.
24281 [C99-based-standards] (PRIdFAST8): Likewise.
24282 [C99-based-standards] (PRIiFAST8): Likewise.
24283 [C99-based-standards] (PRIoFAST8): Likewise.
24284 [C99-based-standards] (PRIuFAST8): Likewise.
24285 [C99-based-standards] (PRIxFAST8): Likewise.
24286 [C99-based-standards] (PRIXFAST8): Likewise.
24287 [C99-based-standards] (SCNdFAST8): Likewise.
24288 [C99-based-standards] (SCNiFAST8): Likewise.
24289 [C99-based-standards] (SCNoFAST8): Likewise.
24290 [C99-based-standards] (SCNuFAST8): Likewise.
24291 [C99-based-standards] (SCNxFAST8): Likewise.
24292 [C99-based-standards] (PRId16): Likewise.
24293 [C99-based-standards] (PRIi16): Likewise.
24294 [C99-based-standards] (PRIo16): Likewise.
24295 [C99-based-standards] (PRIu16): Likewise.
24296 [C99-based-standards] (PRIx16): Likewise.
24297 [C99-based-standards] (PRIX16): Likewise.
24298 [C99-based-standards] (SCNd16): Likewise.
24299 [C99-based-standards] (SCNi16): Likewise.
24300 [C99-based-standards] (SCNo16): Likewise.
24301 [C99-based-standards] (SCNu16): Likewise.
24302 [C99-based-standards] (SCNx16): Likewise.
24303 [C99-based-standards] (PRIdLEAST16): Likewise.
24304 [C99-based-standards] (PRIiLEAST16): Likewise.
24305 [C99-based-standards] (PRIoLEAST16): Likewise.
24306 [C99-based-standards] (PRIuLEAST16): Likewise.
24307 [C99-based-standards] (PRIxLEAST16): Likewise.
24308 [C99-based-standards] (PRIXLEAST16): Likewise.
24309 [C99-based-standards] (SCNdLEAST16): Likewise.
24310 [C99-based-standards] (SCNiLEAST16): Likewise.
24311 [C99-based-standards] (SCNoLEAST16): Likewise.
24312 [C99-based-standards] (SCNuLEAST16): Likewise.
24313 [C99-based-standards] (SCNxLEAST16): Likewise.
24314 [C99-based-standards] (PRIdFAST16): Likewise.
24315 [C99-based-standards] (PRIiFAST16): Likewise.
24316 [C99-based-standards] (PRIoFAST16): Likewise.
24317 [C99-based-standards] (PRIuFAST16): Likewise.
24318 [C99-based-standards] (PRIxFAST16): Likewise.
24319 [C99-based-standards] (PRIXFAST16): Likewise.
24320 [C99-based-standards] (SCNdFAST16): Likewise.
24321 [C99-based-standards] (SCNiFAST16): Likewise.
24322 [C99-based-standards] (SCNoFAST16): Likewise.
24323 [C99-based-standards] (SCNuFAST16): Likewise.
24324 [C99-based-standards] (SCNxFAST16): Likewise.
24325 [C99-based-standards] (PRId32): Likewise.
24326 [C99-based-standards] (PRIi32): Likewise.
24327 [C99-based-standards] (PRIo32): Likewise.
24328 [C99-based-standards] (PRIu32): Likewise.
24329 [C99-based-standards] (PRIx32): Likewise.
24330 [C99-based-standards] (PRIX32): Likewise.
24331 [C99-based-standards] (SCNd32): Likewise.
24332 [C99-based-standards] (SCNi32): Likewise.
24333 [C99-based-standards] (SCNo32): Likewise.
24334 [C99-based-standards] (SCNu32): Likewise.
24335 [C99-based-standards] (SCNx32): Likewise.
24336 [C99-based-standards] (PRIdLEAST32): Likewise.
24337 [C99-based-standards] (PRIiLEAST32): Likewise.
24338 [C99-based-standards] (PRIoLEAST32): Likewise.
24339 [C99-based-standards] (PRIuLEAST32): Likewise.
24340 [C99-based-standards] (PRIxLEAST32): Likewise.
24341 [C99-based-standards] (PRIXLEAST32): Likewise.
24342 [C99-based-standards] (SCNdLEAST32): Likewise.
24343 [C99-based-standards] (SCNiLEAST32): Likewise.
24344 [C99-based-standards] (SCNoLEAST32): Likewise.
24345 [C99-based-standards] (SCNuLEAST32): Likewise.
24346 [C99-based-standards] (SCNxLEAST32): Likewise.
24347 [C99-based-standards] (PRIdFAST32): Likewise.
24348 [C99-based-standards] (PRIiFAST32): Likewise.
24349 [C99-based-standards] (PRIoFAST32): Likewise.
24350 [C99-based-standards] (PRIuFAST32): Likewise.
24351 [C99-based-standards] (PRIxFAST32): Likewise.
24352 [C99-based-standards] (PRIXFAST32): Likewise.
24353 [C99-based-standards] (SCNdFAST32): Likewise.
24354 [C99-based-standards] (SCNiFAST32): Likewise.
24355 [C99-based-standards] (SCNoFAST32): Likewise.
24356 [C99-based-standards] (SCNuFAST32): Likewise.
24357 [C99-based-standards] (SCNxFAST32): Likewise.
24358 [C99-based-standards] (PRId64): Likewise.
24359 [C99-based-standards] (PRIi64): Likewise.
24360 [C99-based-standards] (PRIo64): Likewise.
24361 [C99-based-standards] (PRIu64): Likewise.
24362 [C99-based-standards] (PRIx64): Likewise.
24363 [C99-based-standards] (PRIX64): Likewise.
24364 [C99-based-standards] (SCNd64): Likewise.
24365 [C99-based-standards] (SCNi64): Likewise.
24366 [C99-based-standards] (SCNo64): Likewise.
24367 [C99-based-standards] (SCNu64): Likewise.
24368 [C99-based-standards] (SCNx64): Likewise.
24369 [C99-based-standards] (PRIdLEAST64): Likewise.
24370 [C99-based-standards] (PRIiLEAST64): Likewise.
24371 [C99-based-standards] (PRIoLEAST64): Likewise.
24372 [C99-based-standards] (PRIuLEAST64): Likewise.
24373 [C99-based-standards] (PRIxLEAST64): Likewise.
24374 [C99-based-standards] (PRIXLEAST64): Likewise.
24375 [C99-based-standards] (SCNdLEAST64): Likewise.
24376 [C99-based-standards] (SCNiLEAST64): Likewise.
24377 [C99-based-standards] (SCNoLEAST64): Likewise.
24378 [C99-based-standards] (SCNuLEAST64): Likewise.
24379 [C99-based-standards] (SCNxLEAST64): Likewise.
24380 [C99-based-standards] (PRIdFAST64): Likewise.
24381 [C99-based-standards] (PRIiFAST64): Likewise.
24382 [C99-based-standards] (PRIoFAST64): Likewise.
24383 [C99-based-standards] (PRIuFAST64): Likewise.
24384 [C99-based-standards] (PRIxFAST64): Likewise.
24385 [C99-based-standards] (PRIXFAST64): Likewise.
24386 [C99-based-standards] (SCNdFAST64): Likewise.
24387 [C99-based-standards] (SCNiFAST64): Likewise.
24388 [C99-based-standards] (SCNoFAST64): Likewise.
24389 [C99-based-standards] (SCNuFAST64): Likewise.
24390 [C99-based-standards] (SCNxFAST64): Likewise.
24391 [C99-based-standards] (PRIdMAX): Likewise.
24392 [C99-based-standards] (PRIiMAX): Likewise.
24393 [C99-based-standards] (PRIoMAX): Likewise.
24394 [C99-based-standards] (PRIuMAX): Likewise.
24395 [C99-based-standards] (PRIxMAX): Likewise.
24396 [C99-based-standards] (PRIXMAX): Likewise.
24397 [C99-based-standards] (SCNdMAX): Likewise.
24398 [C99-based-standards] (SCNiMAX): Likewise.
24399 [C99-based-standards] (SCNoMAX): Likewise.
24400 [C99-based-standards] (SCNuMAX): Likewise.
24401 [C99-based-standards] (SCNxMAX): Likewise.
24402 [C99-based-standards] (PRIdPTR): Likewise.
24403 [C99-based-standards] (PRIiPTR): Likewise.
24404 [C99-based-standards] (PRIoPTR): Likewise.
24405 [C99-based-standards] (PRIuPTR): Likewise.
24406 [C99-based-standards] (PRIxPTR): Likewise.
24407 [C99-based-standards] (PRIXPTR): Likewise.
24408 [C99-based-standards] (SCNdPTR): Likewise.
24409 [C99-based-standards] (SCNiPTR): Likewise.
24410 [C99-based-standards] (SCNoPTR): Likewise.
24411 [C99-based-standards] (SCNuPTR): Likewise.
24412 [C99-based-standards] (SCNxPTR): Likewise.
24413 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24414 allow.
24415 * conform/data/stdint.h-data: Update comments to clarify
24416 requirements.
24417 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24418 type.
24419 [C99-based standards] (INT8_MAX): Likewise.
24420 [C99-based standards] (INT16_MIN): Likewise.
24421 [C99-based standards] (INT16_MAX): Likewise.
24422 [C99-based standards] (INT32_MIN): Likewise.
24423 [C99-based standards] (INT32_MAX): Likewise.
24424 [C99-based standards] (INT64_MIN): Likewise.
24425 [C99-based standards] (INT64_MAX): Likewise.
24426 [C99-based standards] (UINT8_MAX): Likewise.
24427 [C99-based standards] (UINT16_MAX): Likewise.
24428 [C99-based standards] (UINT32_MAX): Likewise.
24429 [C99-based standards] (UINT64_MAX): Likewise.
24430 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24431 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24432 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24433 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24434 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24435 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24436 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24437 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24438 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24439 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24440 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24441 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24442 [C99-based standards] (INT_FAST8_MIN): Likewise.
24443 [C99-based standards] (INT_FAST8_MAX): Likewise.
24444 [C99-based standards] (INT_FAST16_MIN): Likewise.
24445 [C99-based standards] (INT_FAST16_MAX): Likewise.
24446 [C99-based standards] (INT_FAST32_MIN): Likewise.
24447 [C99-based standards] (INT_FAST32_MAX): Likewise.
24448 [C99-based standards] (INT_FAST64_MIN): Likewise.
24449 [C99-based standards] (INT_FAST64_MAX): Likewise.
24450 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24451 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24452 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24453 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24454 [C99-based standards] (INTPTR_MIN): Likewise.
24455 [C99-based standards] (INTPTR_MAX): Likewise.
24456 [C99-based standards] (UINTPTR_MAX): Likewise.
24457 [C99-based standards] (INTMAX_MIN): Likewise.
24458 [C99-based standards] (INTMAX_MAX): Likewise.
24459 [C99-based standards] (UINTMAX_MAX): Likewise.
24460 [C99-based standards] (PTRDIFF_MIN): Likewise.
24461 [C99-based standards] (PTRDIFF_MAX): Likewise.
24462 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24463 [C99-based standards] (SIZE_MAX): Likewise.
24464 [C99-based standards] (WCHAR_MAX): Likewise.
24465 [C99-based standards] (WINT_MAX): Likewise.
24466 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24467 constraint on value.
24468 [C99-based standards] (WCHAR_MIN): Likewise.
24469 [C99-based standards] (WINT_MIN): Likewise.
24470 [C99-based standards] (*_t): Allow.
24471 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24472 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24473 Include math.h-data and complex.h-data. Remove all expectations
24474 of math.h and complex.h contents.
24475 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24476 at end of line.
24477 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24478 (struct tm): Expect tag.
24479 [C99-based-standards] (wcstof): Expect function.
24480 [C99-based-standards] (wcstold): Likewise.
24481 [C99-based-standards] (wcstoll): Likewise.
24482 [C99-based-standards] (wcstoull): Likewise.
24483 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24484 macro-int-constant. Specify type.
24485 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24486 constraint on value.
24487 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24488 Specify type.
24489 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24490 Specify value.
24491 [ISO C standards]: Do not allow headers.
24492 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24493 wcs[abcdefghijklmnopqrstuvwxyz]*.
24494 [ISO C standards] (*_t): Do not allow.
24495 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24496 Expect function.
24497 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24498 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24499 Specify type.
24500 [ISO C standards]: Do not allow headers.
24501 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24502 is[abcdefghijklmnopqrstuvwxyz]*.
24503 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24504 to[abcdefghijklmnopqrstuvwxyz]*.
24505 [ISO C standards] (*_t): Do not allow.
24506 * conform/data/stdalign.h-data: New file.
24507 * conform/data/stdbool.h-data: Likewise.
24508 * conform/data/stdnoreturn.h-data: Likewise.
24509
7514feb8
RM
245102012-11-07 Roland McGrath <roland@hack.frob.com>
24511
24512 [BZ #14815]
24513 * manual/filesys.texi (Directory Entries): Typo fix.
24514 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24515
19b2ecfc
MS
245162012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24517
24518 * elf/elf.h (EM_AARCH64): New macro.
24519 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24520 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24521 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24522 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24523 (R_AARCH64_TLSDESC): Likewise.
24524 (NT_ARM_TLS): Likewise.
24525 (NT_ARM_HW_BREAK): Likewise.
24526 (NT_ARM_HW_WATCH): Likewise.
24527
60e235ee
JM
245282012-11-07 Joseph Myers <joseph@codesourcery.com>
24529
24530 [BZ #14811]
24531 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24532 (__ieee754_powl): Saturate nonzero exponents with absolute value
24533 below 0x1p-79 to +/- 0x1p-79.
24534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24535 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24536 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24537 nonzero exponents with absolute value below 0x1p-32 to +/-
24538 0x1p-32.
24539 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24540 (__ieee754_powl): Saturate nonzero exponents with absolute value
24541 below 0x1p-79 to +/- 0x1p-79.
24542 * math/libm-test.inc (pow_test): Add more tests.
24543
0ab234b7
AK
245442012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24545
24546 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24547 _dl_s390_cap_flags with kernel. Increase string length.
24548 (_dl_s390_platforms): Add z196 and zEC12.
24549
45832f74
JM
245502012-11-07 Joseph Myers <joseph@codesourcery.com>
24551
24552 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24553 Change XOPEN21K to XOPEN2K.
24554
19218757
MK
245552012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24556
24557 * string/memmove.c: Use memcpy when possible.
24558
c5f45721
AJ
245592012-11-06 Andreas Jaeger <aj@suse.de>
24560
24561 * po/eo.po: Update from translation team.
24562
82477c28
JM
245632012-11-06 Joseph Myers <joseph@codesourcery.com>
24564
24565 [BZ #14793]
24566 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24567 exponent and small x and y exponents, scale x or y up. Increase
24568 by 2 the exponent used in scaling up.
24569 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24570 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24571 * math/libm-test.inc (fma_test): Add more tests.
24572 (fma_test_towardzero): Likewise.
24573 (fma_test_downward): Likewise.
24574 (fma_test_upward): Likewise.
24575
99252c8c
JM
245762012-11-05 Joseph Myers <joseph@codesourcery.com>
24577
acfa885f
JM
24578 [BZ #14805]
24579 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24580 fenv_t *.
24581
99252c8c
JM
24582 [BZ #14801]
24583 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24584 namespace for names of struct fields.
24585 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24586 fenv_t fields.
24587 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24588 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24589
d6d98dea
ST
245902012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24591
24592 [BZ #3665]
24593 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24594
e10bb107
TS
245952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24596
24597 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24598 PTR_DEMANGLE.
24599
24600 [BZ #5246]
24601 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24602 PTR_DEMANGLE.
24603
a0c2940d
JM
246042012-11-04 Joseph Myers <joseph@codesourcery.com>
24605
24606 [BZ #14797]
24607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24608 definitely overflow as x * y not x * y + z.
24609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24611 * math/libm-test.inc (fma_test): Add more tests.
24612 (fma_test_towardzero): Likewise.
24613 (fma_test_downward): Likewise.
24614 (fma_test_upward): Likewise.
24615
b830319d
TS
246162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24617
24618 [BZ #157]
24619
24620 * include/stub-tag.h: Remove file.
24621 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24622 '#include' of it.
24623 * manual/maint.texi (Porting): Don't reference it.
24624 * Makerules ($(objpfx)stubs): Likewise.
24625 * dirent/closedir.c: Don't include <stub-tag.h>.
24626 * dirent/dirfd.c: Likewise.
24627 * dirent/fdopendir.c: Likewise.
24628 * dirent/getdents.c: Likewise.
24629 * dirent/getdents64.c: Likewise.
24630 * dirent/opendir.c: Likewise.
24631 * dirent/readdir.c: Likewise.
24632 * dirent/readdir64.c: Likewise.
24633 * dirent/readdir64_r.c: Likewise.
24634 * dirent/readdir_r.c: Likewise.
24635 * dirent/rewinddir.c: Likewise.
24636 * dirent/seekdir.c: Likewise.
24637 * dirent/telldir.c: Likewise.
24638 * gmon/profil.c: Likewise.
24639 * grp/setgroups.c: Likewise.
24640 * inet/if_index.c: Likewise.
24641 * io/access.c: Likewise.
24642 * io/chdir.c: Likewise.
24643 * io/chmod.c: Likewise.
24644 * io/chown.c: Likewise.
24645 * io/close.c: Likewise.
24646 * io/dup.c: Likewise.
24647 * io/dup2.c: Likewise.
24648 * io/dup3.c: Likewise.
24649 * io/euidaccess.c: Likewise.
24650 * io/faccessat.c: Likewise.
24651 * io/fchdir.c: Likewise.
24652 * io/fchmod.c: Likewise.
24653 * io/fchmodat.c: Likewise.
24654 * io/fchown.c: Likewise.
24655 * io/fchownat.c: Likewise.
24656 * io/fcntl.c: Likewise.
24657 * io/flock.c: Likewise.
24658 * io/fstatfs.c: Likewise.
24659 * io/fstatfs64.c: Likewise.
24660 * io/fstatvfs.c: Likewise.
24661 * io/fstatvfs64.c: Likewise.
24662 * io/futimens.c: Likewise.
24663 * io/fxstat.c: Likewise.
24664 * io/fxstat64.c: Likewise.
24665 * io/fxstatat.c: Likewise.
24666 * io/fxstatat64.c: Likewise.
24667 * io/getcwd.c: Likewise.
24668 * io/isatty.c: Likewise.
24669 * io/lchmod.c: Likewise.
24670 * io/lchown.c: Likewise.
24671 * io/link.c: Likewise.
24672 * io/linkat.c: Likewise.
24673 * io/lseek.c: Likewise.
24674 * io/lseek64.c: Likewise.
24675 * io/lxstat64.c: Likewise.
24676 * io/mkdir.c: Likewise.
24677 * io/mkdirat.c: Likewise.
24678 * io/mkfifo.c: Likewise.
24679 * io/mkfifoat.c: Likewise.
24680 * io/open.c: Likewise.
24681 * io/open64.c: Likewise.
24682 * io/openat.c: Likewise.
24683 * io/openat64.c: Likewise.
24684 * io/pipe.c: Likewise.
24685 * io/pipe2.c: Likewise.
24686 * io/poll.c: Likewise.
24687 * io/posix_fadvise.c: Likewise.
24688 * io/posix_fadvise64.c: Likewise.
24689 * io/posix_fallocate.c: Likewise.
24690 * io/posix_fallocate64.c: Likewise.
24691 * io/read.c: Likewise.
24692 * io/readlink.c: Likewise.
24693 * io/readlinkat.c: Likewise.
24694 * io/rmdir.c: Likewise.
24695 * io/sendfile.c: Likewise.
24696 * io/sendfile64.c: Likewise.
24697 * io/statfs.c: Likewise.
24698 * io/statfs64.c: Likewise.
24699 * io/statvfs.c: Likewise.
24700 * io/statvfs64.c: Likewise.
24701 * io/symlink.c: Likewise.
24702 * io/symlinkat.c: Likewise.
24703 * io/ttyname.c: Likewise.
24704 * io/ttyname_r.c: Likewise.
24705 * io/umask.c: Likewise.
24706 * io/unlink.c: Likewise.
24707 * io/unlinkat.c: Likewise.
24708 * io/utime.c: Likewise.
24709 * io/utimensat.c: Likewise.
24710 * io/write.c: Likewise.
24711 * io/xmknod.c: Likewise.
24712 * io/xmknodat.c: Likewise.
24713 * io/xstat.c: Likewise.
24714 * io/xstat64.c: Likewise.
24715 * login/getpt.c: Likewise.
24716 * login/grantpt.c: Likewise.
24717 * login/unlockpt.c: Likewise.
24718 * math/e_acoshl.c: Likewise.
24719 * math/e_acosl.c: Likewise.
24720 * math/e_asinl.c: Likewise.
24721 * math/e_atan2l.c: Likewise.
24722 * math/e_atanhl.c: Likewise.
24723 * math/e_coshl.c: Likewise.
24724 * math/e_expl.c: Likewise.
24725 * math/e_fmodl.c: Likewise.
24726 * math/e_gammal_r.c: Likewise.
24727 * math/e_hypotl.c: Likewise.
24728 * math/e_j0l.c: Likewise.
24729 * math/e_j1l.c: Likewise.
24730 * math/e_jnl.c: Likewise.
24731 * math/e_lgammal_r.c: Likewise.
24732 * math/e_log10l.c: Likewise.
24733 * math/e_log2l.c: Likewise.
24734 * math/e_logl.c: Likewise.
24735 * math/e_powl.c: Likewise.
24736 * math/e_rem_pio2l.c: Likewise.
24737 * math/e_sinhl.c: Likewise.
24738 * math/e_sqrtl.c: Likewise.
24739 * math/fclrexcpt.c: Likewise.
24740 * math/fedisblxcpt.c: Likewise.
24741 * math/feenablxcpt.c: Likewise.
24742 * math/fegetenv.c: Likewise.
24743 * math/fegetexcept.c: Likewise.
24744 * math/fegetround.c: Likewise.
24745 * math/feholdexcpt.c: Likewise.
24746 * math/fesetenv.c: Likewise.
24747 * math/fesetround.c: Likewise.
24748 * math/feupdateenv.c: Likewise.
24749 * math/fgetexcptflg.c: Likewise.
24750 * math/fraiseexcpt.c: Likewise.
24751 * math/fsetexcptflg.c: Likewise.
24752 * math/ftestexcept.c: Likewise.
24753 * math/k_cosl.c: Likewise.
24754 * math/k_rem_pio2l.c: Likewise.
24755 * math/k_sinl.c: Likewise.
24756 * math/k_tanl.c: Likewise.
24757 * math/s_asinhl.c: Likewise.
24758 * math/s_atanl.c: Likewise.
24759 * math/s_cbrtl.c: Likewise.
24760 * math/s_erfl.c: Likewise.
24761 * math/s_expm1l.c: Likewise.
24762 * math/s_log1pl.c: Likewise.
24763 * math/s_tanhl.c: Likewise.
24764 * misc/acct.c: Likewise.
24765 * misc/brk.c: Likewise.
24766 * misc/chflags.c: Likewise.
24767 * misc/chroot.c: Likewise.
24768 * misc/fchflags.c: Likewise.
24769 * misc/fgetxattr.c: Likewise.
24770 * misc/flistxattr.c: Likewise.
24771 * misc/fremovexattr.c: Likewise.
24772 * misc/fsetxattr.c: Likewise.
24773 * misc/fsync.c: Likewise.
24774 * misc/ftruncate.c: Likewise.
24775 * misc/futimes.c: Likewise.
24776 * misc/futimesat.c: Likewise.
24777 * misc/getdomain.c: Likewise.
24778 * misc/getdtsz.c: Likewise.
24779 * misc/gethostid.c: Likewise.
24780 * misc/gethostname.c: Likewise.
24781 * misc/getloadavg.c: Likewise.
24782 * misc/getpagesize.c: Likewise.
24783 * misc/getsysstats.c: Likewise.
24784 * misc/getxattr.c: Likewise.
24785 * misc/gtty.c: Likewise.
24786 * misc/ioctl.c: Likewise.
24787 * misc/lgetxattr.c: Likewise.
24788 * misc/listxattr.c: Likewise.
24789 * misc/llistxattr.c: Likewise.
24790 * misc/lremovexattr.c: Likewise.
24791 * misc/lsetxattr.c: Likewise.
24792 * misc/lutimes.c: Likewise.
24793 * misc/madvise.c: Likewise.
24794 * misc/mincore.c: Likewise.
24795 * misc/mlock.c: Likewise.
24796 * misc/mlockall.c: Likewise.
24797 * misc/mmap.c: Likewise.
24798 * misc/mprotect.c: Likewise.
24799 * misc/msync.c: Likewise.
24800 * misc/munlock.c: Likewise.
24801 * misc/munlockall.c: Likewise.
24802 * misc/munmap.c: Likewise.
24803 * misc/preadv.c: Likewise.
24804 * misc/preadv64.c: Likewise.
24805 * misc/ptrace.c: Likewise.
24806 * misc/pwritev.c: Likewise.
24807 * misc/pwritev64.c: Likewise.
24808 * misc/readv.c: Likewise.
24809 * misc/reboot.c: Likewise.
24810 * misc/remap_file_pages.c: Likewise.
24811 * misc/removexattr.c: Likewise.
24812 * misc/revoke.c: Likewise.
24813 * misc/select.c: Likewise.
24814 * misc/setdomain.c: Likewise.
24815 * misc/setegid.c: Likewise.
24816 * misc/seteuid.c: Likewise.
24817 * misc/sethostid.c: Likewise.
24818 * misc/sethostname.c: Likewise.
24819 * misc/setregid.c: Likewise.
24820 * misc/setreuid.c: Likewise.
24821 * misc/setxattr.c: Likewise.
24822 * misc/sstk.c: Likewise.
24823 * misc/stty.c: Likewise.
24824 * misc/swapoff.c: Likewise.
24825 * misc/swapon.c: Likewise.
24826 * misc/sync.c: Likewise.
24827 * misc/syncfs.c: Likewise.
24828 * misc/syscall.c: Likewise.
24829 * misc/truncate.c: Likewise.
24830 * misc/ualarm.c: Likewise.
24831 * misc/usleep.c: Likewise.
24832 * misc/ustat.c: Likewise.
24833 * misc/utimes.c: Likewise.
24834 * misc/vhangup.c: Likewise.
24835 * misc/writev.c: Likewise.
24836 * posix/_exit.c: Likewise.
24837 * posix/alarm.c: Likewise.
24838 * posix/execve.c: Likewise.
24839 * posix/fexecve.c: Likewise.
24840 * posix/fork.c: Likewise.
24841 * posix/fpathconf.c: Likewise.
24842 * posix/getaddrinfo.c: Likewise.
24843 * posix/getegid.c: Likewise.
24844 * posix/geteuid.c: Likewise.
24845 * posix/getgid.c: Likewise.
24846 * posix/getgroups.c: Likewise.
24847 * posix/getlogin.c: Likewise.
24848 * posix/getlogin_r.c: Likewise.
24849 * posix/getpgid.c: Likewise.
24850 * posix/getpid.c: Likewise.
24851 * posix/getppid.c: Likewise.
24852 * posix/getresgid.c: Likewise.
24853 * posix/getresuid.c: Likewise.
24854 * posix/getsid.c: Likewise.
24855 * posix/getuid.c: Likewise.
24856 * posix/glob64.c: Likewise.
24857 * posix/nanosleep.c: Likewise.
24858 * posix/pathconf.c: Likewise.
24859 * posix/pause.c: Likewise.
24860 * posix/posix_madvise.c: Likewise.
24861 * posix/pread.c: Likewise.
24862 * posix/pread64.c: Likewise.
24863 * posix/pwrite.c: Likewise.
24864 * posix/pwrite64.c: Likewise.
24865 * posix/sched_getaffinity.c: Likewise.
24866 * posix/sched_getp.c: Likewise.
24867 * posix/sched_gets.c: Likewise.
24868 * posix/sched_primax.c: Likewise.
24869 * posix/sched_primin.c: Likewise.
24870 * posix/sched_rr_gi.c: Likewise.
24871 * posix/sched_setaffinity.c: Likewise.
24872 * posix/sched_setp.c: Likewise.
24873 * posix/sched_sets.c: Likewise.
24874 * posix/sched_yield.c: Likewise.
24875 * posix/setgid.c: Likewise.
24876 * posix/setlogin.c: Likewise.
24877 * posix/setpgid.c: Likewise.
24878 * posix/setresgid.c: Likewise.
24879 * posix/setresuid.c: Likewise.
24880 * posix/setsid.c: Likewise.
24881 * posix/setuid.c: Likewise.
24882 * posix/sleep.c: Likewise.
24883 * posix/spawni.c: Likewise.
24884 * posix/sysconf.c: Likewise.
24885 * posix/times.c: Likewise.
24886 * posix/wait.c: Likewise.
24887 * posix/wait3.c: Likewise.
24888 * posix/wait4.c: Likewise.
24889 * posix/waitpid.c: Likewise.
24890 * resolv/gai_sigqueue.c: Likewise.
24891 * resource/getpriority.c: Likewise.
24892 * resource/getrlimit.c: Likewise.
24893 * resource/getrusage.c: Likewise.
24894 * resource/nice.c: Likewise.
24895 * resource/setpriority.c: Likewise.
24896 * resource/setrlimit.c: Likewise.
24897 * resource/ulimit.c: Likewise.
24898 * rt/aio_cancel.c: Likewise.
24899 * rt/aio_fsync.c: Likewise.
24900 * rt/aio_read.c: Likewise.
24901 * rt/aio_sigqueue.c: Likewise.
24902 * rt/aio_suspend.c: Likewise.
24903 * rt/aio_write.c: Likewise.
24904 * rt/clock_getres.c: Likewise.
24905 * rt/clock_gettime.c: Likewise.
24906 * rt/clock_nanosleep.c: Likewise.
24907 * rt/clock_settime.c: Likewise.
24908 * rt/lio_listio.c: Likewise.
24909 * rt/mq_close.c: Likewise.
24910 * rt/mq_getattr.c: Likewise.
24911 * rt/mq_notify.c: Likewise.
24912 * rt/mq_open.c: Likewise.
24913 * rt/mq_receive.c: Likewise.
24914 * rt/mq_send.c: Likewise.
24915 * rt/mq_setattr.c: Likewise.
24916 * rt/mq_timedreceive.c: Likewise.
24917 * rt/mq_timedsend.c: Likewise.
24918 * rt/mq_unlink.c: Likewise.
24919 * rt/shm_open.c: Likewise.
24920 * rt/shm_unlink.c: Likewise.
24921 * rt/timer_create.c: Likewise.
24922 * rt/timer_delete.c: Likewise.
24923 * rt/timer_getoverr.c: Likewise.
24924 * rt/timer_gettime.c: Likewise.
24925 * rt/timer_settime.c: Likewise.
24926 * setjmp/__longjmp.c: Likewise.
24927 * setjmp/setjmp.c: Likewise.
24928 * signal/kill.c: Likewise.
24929 * signal/killpg.c: Likewise.
24930 * signal/raise.c: Likewise.
24931 * signal/sigaction.c: Likewise.
24932 * signal/sigaltstack.c: Likewise.
24933 * signal/sigblock.c: Likewise.
24934 * signal/sigignore.c: Likewise.
24935 * signal/sigintr.c: Likewise.
24936 * signal/signal.c: Likewise.
24937 * signal/sigpause.c: Likewise.
24938 * signal/sigpending.c: Likewise.
24939 * signal/sigqueue.c: Likewise.
24940 * signal/sigreturn.c: Likewise.
24941 * signal/sigset.c: Likewise.
24942 * signal/sigsetmask.c: Likewise.
24943 * signal/sigstack.c: Likewise.
24944 * signal/sigsuspend.c: Likewise.
24945 * signal/sigtimedwait.c: Likewise.
24946 * signal/sigvec.c: Likewise.
24947 * signal/sigwait.c: Likewise.
24948 * signal/sigwaitinfo.c: Likewise.
24949 * signal/sysv_signal.c: Likewise.
24950 * socket/accept.c: Likewise.
24951 * socket/accept4.c: Likewise.
24952 * socket/bind.c: Likewise.
24953 * socket/connect.c: Likewise.
24954 * socket/getpeername.c: Likewise.
24955 * socket/getsockname.c: Likewise.
24956 * socket/getsockopt.c: Likewise.
24957 * socket/isfdtype.c: Likewise.
24958 * socket/listen.c: Likewise.
24959 * socket/recv.c: Likewise.
24960 * socket/recvfrom.c: Likewise.
24961 * socket/recvmsg.c: Likewise.
24962 * socket/send.c: Likewise.
24963 * socket/sendmsg.c: Likewise.
24964 * socket/sendto.c: Likewise.
24965 * socket/setsockopt.c: Likewise.
24966 * socket/shutdown.c: Likewise.
24967 * socket/sockatmark.c: Likewise.
24968 * socket/socket.c: Likewise.
24969 * socket/socketpair.c: Likewise.
24970 * stdio-common/ctermid.c: Likewise.
24971 * stdio-common/cuserid.c: Likewise.
24972 * stdio-common/remove.c: Likewise.
24973 * stdio-common/rename.c: Likewise.
24974 * stdio-common/renameat.c: Likewise.
24975 * stdio-common/tempname.c: Likewise.
24976 * stdlib/getcontext.c: Likewise.
24977 * stdlib/makecontext.c: Likewise.
24978 * stdlib/setcontext.c: Likewise.
24979 * stdlib/swapcontext.c: Likewise.
24980 * stdlib/system.c: Likewise.
24981 * streams/fattach.c: Likewise.
24982 * streams/fdetach.c: Likewise.
24983 * streams/getmsg.c: Likewise.
24984 * streams/getpmsg.c: Likewise.
24985 * streams/putmsg.c: Likewise.
24986 * streams/putpmsg.c: Likewise.
24987 * sysdeps/unix/bsd/getpt.c: Likewise.
24988 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24989 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24990 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24992 Likewise.
24993 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24994 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24995 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24996 * sysvipc/msgctl.c: Likewise.
24997 * sysvipc/msgget.c: Likewise.
24998 * sysvipc/msgrcv.c: Likewise.
24999 * sysvipc/msgsnd.c: Likewise.
25000 * sysvipc/semctl.c: Likewise.
25001 * sysvipc/semget.c: Likewise.
25002 * sysvipc/semop.c: Likewise.
25003 * sysvipc/semtimedop.c: Likewise.
25004 * sysvipc/shmat.c: Likewise.
25005 * sysvipc/shmctl.c: Likewise.
25006 * sysvipc/shmdt.c: Likewise.
25007 * sysvipc/shmget.c: Likewise.
25008 * termios/tcdrain.c: Likewise.
25009 * termios/tcflow.c: Likewise.
25010 * termios/tcflush.c: Likewise.
25011 * termios/tcgetattr.c: Likewise.
25012 * termios/tcgetpgrp.c: Likewise.
25013 * termios/tcsendbrk.c: Likewise.
25014 * termios/tcsetattr.c: Likewise.
25015 * termios/tcsetpgrp.c: Likewise.
25016 * time/adjtime.c: Likewise.
25017 * time/clock.c: Likewise.
25018 * time/getitimer.c: Likewise.
25019 * time/gettimeofday.c: Likewise.
25020 * time/setitimer.c: Likewise.
25021 * time/settimeofday.c: Likewise.
25022 * time/stime.c: Likewise.
25023 * time/time.c: Likewise.
25024
250252012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 25026
a20492cf
PT
25027 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25028 /usr/old/bin.
25029
72e182e3
PT
25030 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25031 instead of spaces.
25032 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25033
fbeafede
JM
250342012-11-03 Joseph Myers <joseph@codesourcery.com>
25035
5b5b04d6
JM
25036 [BZ #14796]
25037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25038 FE_TONEAREST before applying Dekker multiplication and Knuth
25039 addition. Clear inexact exceptions and check for exact zero
25040 results afterwards.
25041 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25042 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25043 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25044 * math/libm-test.inc (fma_test): Add more tests.
25045 (fma_test_towardzero): Likewise.
25046 (fma_test_downward): Likewise.
25047 (fma_test_upward): Likewise.
25048 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25049 function.
25050 (libc_fesetround): New macro.
25051 (libc_fesetroundf): Likewise.
25052 (libc_fesetroundl): Likewise.
25053 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25054 function.
25055 (libc_fesetround_387): Likewise.
25056 (libc_fesetroundf): New macro.
25057 (libc_fesetround): Likewise.
25058 (libc_fesetroundl): Likewise.
25059 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25060 function.
25061 (libc_fesetroundf): New macro.
25062 (libc_fesetround): Likewise.
25063 (libc_fesetroundl): Likewise.
25064 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25065 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25066 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25067 libm_hidden_ver.
25068 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25069 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25070 libm_hidden_def.
25071 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25072 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25073 libm_hidden_ver.
25074 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25075 libm_hidden_def.
25076
fbeafede
JM
25077 [BZ #3439]
25078 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25079 integer constant usable in #if and use that to give value to enum
25080 constant.
25081 (FE_DIVBYZERO): Likewise.
25082 (FE_UNDERFLOW): Likewise.
25083 (FE_OVERFLOW): Likewise.
25084 (FE_INVALID): Likewise.
25085 (FE_INVALID_SNAN): Likewise.
25086 (FE_INVALID_ISI): Likewise.
25087 (FE_INVALID_IDI): Likewise.
25088 (FE_INVALID_ZDZ): Likewise.
25089 (FE_INVALID_IMZ): Likewise.
25090 (FE_INVALID_COMPARE): Likewise.
25091 (FE_INVALID_SOFTWARE): Likewise.
25092 (FE_INVALID_SQRT): Likewise.
25093 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25094 (FE_TONEAREST): Likewise.
25095 (FE_TOWARDZERO): Likewise.
25096 (FE_UPWARD): Likewise.
25097 (FE_DOWNWARD): Likewise.
25098 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25099 (FE_DIVBYZERO): Likewise.
25100 (FE_OVERFLOW): Likewise.
25101 (FE_UNDERFLOW): Likewise.
25102 (FE_INEXACT): Likewise.
25103 (FE_TONEAREST): Likewise.
25104 (FE_DOWNWARD): Likewise.
25105 (FE_UPWARD): Likewise.
25106 (FE_TOWARDZERO): Likewise.
25107 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25108 (FE_UNDERFLOW): Likewise.
25109 (FE_OVERFLOW): Likewise.
25110 (FE_DIVBYZERO): Likewise.
25111 (FE_INVALID): Likewise.
25112 (FE_TONEAREST): Likewise.
25113 (FE_TOWARDZERO): Likewise.
25114 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25115 (FE_OVERFLOW): Likewise.
25116 (FE_UNDERFLOW): Likewise.
25117 (FE_DIVBYZERO): Likewise.
25118 (FE_INEXACT): Likewise.
25119 (FE_TONEAREST): Likewise.
25120 (FE_TOWARDZERO): Likewise.
25121 (FE_UPWARD): Likewise.
25122 (FE_DOWNWARD): Likewise.
25123 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25124 (FE_DIVBYZERO): Likewise.
25125 (FE_OVERFLOW): Likewise.
25126 (FE_UNDERFLOW): Likewise.
25127 (FE_INEXACT): Likewise.
25128 (FE_TONEAREST): Likewise.
25129 (FE_DOWNWARD): Likewise.
25130 (FE_UPWARD): Likewise.
25131 (FE_TOWARDZERO): Likewise.
25132
105ca950
CM
251332012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25134
25135 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25136
a542b389
AS
251372012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25138
25139 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25140 commands. Quote $PWD.
25141 (blacklist_exports): Don't use remove_newlines. Replace "declare
25142 -x" by "export".
25143 (remove_newlines): Remove.
25144
f62c8abc
L
251452012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25146
25147 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25148 * stdlib/stdlib.h (atof): Moved to ...
25149 * include/bits/stdlib-float.h: Here. New file.
25150 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25151 * stdlib/bits/stdlib-float.h: New file.
25152 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25153 -mno-sse -mno-mmx.
25154 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25155 <xmmintrin.h>.
25156
0155d5b2
JM
251572012-11-02 Joseph Myers <joseph@codesourcery.com>
25158
a68d0680
JM
25159 * conform/conformtest.pl (@headers): Add fenv.h.
25160 * conform/data/fenv.h-data: New file.
25161 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25162 include of <math/fenv.h>.
25163
caf7f573
JM
25164 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25165 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25166 && !UNIX98]. Enables tests for XOPEN2K8.
25167 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25168 POSIX2008]: Likewise.
25169
6c073ad6
JM
25170 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25171 (struct rusage): Do not expect type or its members.
25172
0155d5b2
JM
25173 [BZ #3439]
25174 * math/math.h (FP_NAN): Define macro to integer constant usable in
25175 #if and use that to give value to enum constant.
25176 (FP_INFINITE): Likewise.
25177 (FP_ZERO): Likewise.
25178 (FP_SUBNORMAL): Likewise.
25179 (FP_NORMAL): Likewise.
25180
b5dcacb4
AS
251812012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25182
25183 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25184 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25185 arguments.
25186
f7934be8
RM
251872012-11-02 Roland McGrath <roland@hack.frob.com>
25188
25189 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25190 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25191 autoconf-time if not.
25192 * configure.in: Remove AC_PREREQ.
25193
d7d08bde
TMQMF
251942012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25195
25196 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25197 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25198 of the internal implementation.
25199
dcdae19a
JM
252002012-11-02 Joseph Myers <joseph@codesourcery.com>
25201
25202 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25203 except include of <misc/sys/syslog.h>.
25204
d6cffd3e
AS
252052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25206
25207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25208 function returns with a NULL context exit with zero.
25209
b3563932
TMQMF
252102012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25211
25212 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25213
b288a93d
L
252142012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25215
25216 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25217 (run_program_cmd): This.
25218 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25219 (tst_langinfo): New variable. Use it.
25220
a2421a68
SAS
252212012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25222
25223 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25224 floating point opcodes.
25225
6f796e1b
TS
252262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25227
7402596b
TS
25228 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25229 variable.
25230
d0d4f868
TS
25231 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25232
6f796e1b
TS
25233 * sysdeps/mach/hurd/powerpc: Remove directory.
25234 * sysdeps/mach/powerpc: Likewise.
25235
4da224a2
AS
252362012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25237
25238 * scripts/check-local-headers.sh: Ignore c++ headers.
25239
341dd673
TS
252402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25241
25242 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25243 __libc_cleanup_region_start argument.
25244
473611b2
JM
252452012-11-01 Joseph Myers <joseph@codesourcery.com>
25246
25247 [BZ #14784]
25248 [BZ #14785]
25249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25250 x * y using scaling, not as x * y + z.
25251 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25252 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25253 * math/libm-test.inc (fma_test): Add more tests.
25254 (fma_test_towardzero): Likewise.
25255 (fma_test_downward): Likewise.
25256 (fma_test_upward): Likewise.
25257
4078da3d
TS
252582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25259
25260 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25261
903252aa
JM
252622012-10-31 Joseph Myers <joseph@codesourcery.com>
25263
25264 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25265 New variable.
25266
cbc818d0
TS
252672012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25268
25269 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25270
5a03cb1e
AS
252712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25272
25273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25274 Fix sort order.
25275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25276 Likewise.
25277
90aff2ff
TMQMF
252782012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25279
25280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25281 Fix the order of the list for glibc 2.17.
25282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25283 Likewise.
25284
1818fcb7
AS
252852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25286
25287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25288
ef82f4da
JM
252892012-10-31 Joseph Myers <joseph@codesourcery.com>
25290
16a0e2ec
JM
25291 [BZ #14610]
25292 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25293 for low part of x being zero before using __atanl (y).
25294 * math/libm-test.inc (atan2_test): Add another test.
25295
0eb69512
JM
25296 * manual/install.texi (Configuring and compiling): Document
25297 general use of test-wrapper and test-wrapper-env.
25298 * INSTALL: Regenerated.
25299
ef82f4da
JM
25300 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25301 (__fma): Do not extract and scale down low bits on after-rounding
25302 systems when result rounded to normal precision would have normal
25303 exponent.
25304 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25305 (__fmal): Do not extract and scale down low bits on after-rounding
25306 systems when result rounded to normal precision would have normal
25307 exponent.
25308 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25309 (__fmal): Do not extract and scale down low bits on after-rounding
25310 systems when result rounded to normal precision would have normal
25311 exponent.
25312 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25313 macro.
25314 (fma_test): Add more tests.
25315 (fma_test_towardzero): Likewise.
25316 (fma_test_downward): Likewise.
25317 (fma_test_upward): Likewise.
25318
954ef0d9
L
253192012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25320
25321 * sysdeps/i386/tininess.h: Renamed to ...
25322 * sysdeps/x86/tininess.h: This.
25323 * sysdeps/x86_64/tininess.h: Removed.
25324
df61ffb2
JM
253252012-10-30 Joseph Myers <joseph@codesourcery.com>
25326
25327 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25328 input. Use $(build-program-cmd).
25329 ($(objpfx)tst-array1-static.out): Likewise.
25330 ($(objpfx)tst-array2.out): Likewise.
25331 ($(objpfx)tst-array3.out): Likewise.
25332 ($(objpfx)tst-array4.out): Likewise.
25333 ($(objpfx)tst-array5.out): Likewise.
25334 ($(objpfx)tst-array5-static.out): Likewise.
25335
01767843
CM
253362012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25337
47cc1490
CM
25338 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25339 if defined.
25340
01767843
CM
25341 * nss/nsswitch.h (nss_interface_function): Provide new
25342 macro for use with NSS functions.
25343 * grp/initgroups.c: Use new macro.
25344 * nss/getXXbyYY.c: Likewise.
25345 * nss/getXXbyYY_r.c: Likewise.
25346 * nss/getXXent.c: Likewise.
25347 * nss/getXXent_r.c: Likewise.
25348 * sysdeps/posix/getaddrinfo.c: Likewise.
25349
8321aa97
AJ
253502012-10-30 Andreas Jaeger <aj@suse.de>
25351
25352 * po/ru.po: Update Russion translation from translation project.
25353
2a27fd6d
JM
253542012-10-30 Joseph Myers <joseph@codesourcery.com>
25355
8627a232
JM
25356 [BZ #14152]
25357 [BZ #14783]
25358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25359 result and shift together with sticky bit instead of replicating
25360 round-to-nearest rounding.
25361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25363 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25364 missing underflow exceptions.
25365 (fma_test_towardzero): Add more tests.
25366 (fma_test_downward): Likewise.
25367 (fma_test_upward): Likewise.
25368
2a27fd6d
JM
25369 [BZ #14047]
25370 * sysdeps/generic/tininess.h: New file.
25371 * sysdeps/i386/tininess.h: Likewise.
25372 * sysdeps/sh/tininess.h: Likewise.
25373 * sysdeps/x86_64/tininess.h: Likewise.
25374 * stdlib/tst-strtod-underflow.c: Likewise.
25375 * stdlib/tst-tininess.c: Likewise.
25376 * stdlib/strtod_l.c: Include <tininess.h>.
25377 (round_and_return): Do not set errno for exact underflow cases.
25378 Force an underflow exception when setting errno for underflow.
25379 Determine underflow based on rounding to normal precision if
25380 TININESS_AFTER_ROUNDING.
25381 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25382 ERANGE for exact underflow cases.
25383 * stdlib/Makefile (tests): Add tst-tininess and
25384 tst-strtod-underflow.
25385 ($(objpfx)tst-tininess): Use $(link-libm).
25386 ($(objpfx)tst-strtod-underflow): Likewise.
25387
e7170363
AJ
253882012-10-30 Andreas Jaeger <aj@suse.de>
25389
e5088dc6
AJ
25390 [BZ#14767]
25391 * elf/Makefile (tests): Remove conditional for have-initfini-array
25392 since this is now always required and the variable does not exist
25393 anymore.
25394 (tests-static): Likewise.
25395 (modules-names): Likewise.
25396
e7170363 25397 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25398
25399 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25400 merged with constructor/destructor.
25401 (init_array): Likewise.
25402 * elf/tst-array2dep.c (fini_array): Likewise.
25403 (init_array): Likewise.
25404
60457d8a
MF
254052012-10-29 Mike Frysinger <vapier@gentoo.org>
25406
25407 * manual/message.texi: Delete @cartouche tags.
25408
8bece752
PT
254092012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25410
94ce799f
PT
25411 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25412 EOPNOTSUPP.
25413 * sysdeps/mach/hurd/fsync.c: Likewise.
25414
8bece752
PT
25415 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25416 [_POSIX_REALTIME_SIGNALS]: Change condition to
25417 [_POSIX_REALTIME_SIGNALS > 0].
25418
86ebe6b1
AJ
254192012-10-27 Andreas Jaeger <aj@suse.de>
25420
25421 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25422 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25424 [__WORDSIZE != 64]: Likewise.
25425
54399c08
L
254262012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25427
25428 * iconvdata/tst-table.sh: Remove ${SHELL}.
25429 * iconvdata/tst-tables.sh: Likewise.
25430
e2211bed
DM
254312012-10-25 David S. Miller <davem@davemloft.net>
25432
25433 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25434 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25435 of strtoull.
25436
f303f97c
DM
25437 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25438 ifunc-impl-list.c
25439 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25440 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25441 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25442 file.
25443
1e9d84cd
RM
254442012-10-25 Roland McGrath <roland@hack.frob.com>
25445
25446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25447 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25448 __getdirentries.
25449
df381762
JM
254502012-10-25 Joseph Myers <joseph@codesourcery.com>
25451 Jim Blandy <jimb@codesourcery.com>
25452
25453 * scripts/cross-test-ssh.sh: New file.
25454 * manual/install.texi (Configuring and compiling): Document use of
25455 cross-test-ssh.sh.
25456 * INSTALL: Regenerated.
25457
bff64913
PT
254582012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25459
25460 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25461 EOPNOTSUPP.
25462
25fe8932
JM
254632012-10-25 Joseph Myers <joseph@codesourcery.com>
25464
25465 * Makeconfig (run-program-prefix): Fix comment.
25466
cc1290d0
JM
254672012-10-24 Joseph Myers <joseph@codesourcery.com>
25468 Jim Blandy <jimb@codesourcery.com>
25469
25470 * Makeconfig (test-wrapper): New variable,
25471 (test-wrapper-env): Likewise.
25472 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25473 (run-built-tests): Define to yes.
25474 (run-program-prefix): Use $(test-wrapper).
25475 (built-program-cmd): Likewise.
25476 * Rules (make-test-out): Use $(test-wrapper-env) and
25477 $(host-built-program-cmd).
25478 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25479 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25480 tst-pathopt.sh.
25481 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25482 $(test-wrapper-env) to tst-rtld-load-self.sh.
25483 ($(objpfx)order2.out): Use $(test-wrapper).
25484 ($(objpfx)tst-initorder.out): Likewise.
25485 ($(objpfx)tst-initorder2.out): Likewise.
25486 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25487 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25488 (test_wrapper_env): New variable. Use it to run ld.so.
25489 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25490 Use it to run ld.so.
25491 (test_wrapper_env): Likewise.
25492 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25493 $(test-wrapper) to run-iconv-test.sh.
25494 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25495 (ICONV): Use $test_wrapper.
25496 * posix/Makefile ($(objpfx)globtest.out): Pass
25497 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25498 globtest.sh, not $(run-program-prefix).
25499 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25500 (test_wrapper): Likewise.
25501 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25502 set together with run_via_rtld_prefix.
25503 (run_program_prefix): Define in terms of test_wrapper and
25504 run_via_rtld_prefix.
25505
6e6249d0
RM
255062012-10-24 Roland McGrath <roland@hack.frob.com>
25507
25508 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25509 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25510 Targets removed.
25511
25512 [BZ #14743]
25513 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25514 Declare __clock_getres, __clock_gettime, __clock_settime,
25515 __clock_nanosleep, and __clock_getcpuclockid.
25516 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25517 Remove librt_hidden_def (clock_gettime).
25518 * sysdeps/unix/clock_gettime.c: Likewise.
25519 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25520 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25521 * rt/clock_getres.c: Define __clock_getres as an alias.
25522 * sysdeps/posix/clock_getres.c: Likewise.
25523 * rt/clock_settime.c: Define __clock_settime as an alias.
25524 * sysdeps/unix/clock_settime.c: Likewise.
25525 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25526 * sysdeps/unix/clock_nanosleep.c: Likewise.
25527 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25528 * rt/clock-compat.c: New file.
25529 * rt/Makefile (librt-routines): Add clock-compat and move
25530 $(clock-routines) to ...
25531 (routines): ... here, new variable.
25532 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25533 Don't add get_clockfreq here.
25534 * rt/Versions (libc: GLIBC_2.17): New version set.
25535 Add clock_* symbols here.
25536 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25537 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25538 (GLIBC_2.17): Add clock_* symbols.
25539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25541 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25543 Likewise.
25544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25545 Likewise.
25546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25550 * NEWS: Mention the move.
25551
25552 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25553 Use __open, __read, __close rather than their public counterparts.
25554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25555 (__get_clockfreq_via_cpuinfo): Likewise.
25556 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25557 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25558
25559 * config.h.in (HAVE_IFUNC): New #undef.
25560 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25561 was successful.
25562 * configure: Regenerated.
25563
0cae3f4b
MF
255642012-10-24 Mike Frysinger <vapier@gentoo.org>
25565
25566 * configure.in: Move READELF check to start of file.
25567 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25568 libc_cv_asm_gnu_indirect_function in the process.
25569 * configure: Regenerated.
25570
8175a253
MF
255712012-10-24 Mike Frysinger <vapier@gentoo.org>
25572
25573 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25574 send the output to /dev/null.
25575 (libc_cv_cc_with_libunwind): Likewise.
25576 (libc_cv_as_noexecstack): Likewise.
25577 * configure: Regenerate.
25578
0708a7d1
JM
255792012-10-24 Joseph Myers <joseph@codesourcery.com>
25580
10b40d85
JM
25581 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25582
0708a7d1
JM
25583 * posix/globtest.sh (TMPDIR): Do not set.
25584 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25585 (testout): Likewise.
25586
9fddec1a
AJ
255872012-10-24 Andreas Jaeger <aj@suse.de>
25588
3a8db22f
AJ
25589 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25590 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25591 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25592 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25593 posix_fadvise64, posix_fallocate64.
25594
9fddec1a
AJ
25595 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25596 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25597 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25598 Likewise.
25599 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25600 Likewise.
25601 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25602
25603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25604 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25605 <bits/fcntl-linux.h>.
25606 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25607
25608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25609 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25610 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25611 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25612 [__WORDSIZE != 64]: Likewise.
25613
ebfd1bbd
JM
256142012-10-23 Joseph Myers <joseph@codesourcery.com>
25615
03ac099f
JM
25616 * Makeconfig (run-built-tests): New variable.
25617 * Rules [$(cross-compiling) = yes]: Change condition to
25618 [$(run-built-tests) = no].
25619 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25620 to [$(run-built-tests) = yes].
25621 * elf/Makefile [$(cross-compiling) = no]: Likewise
25622 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25623 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25624 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25625 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25626 * io/Makefile [$(cross-compiling) = no]: Likewise.
25627 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25628 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25629 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25630 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25631 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25632 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25633 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25634 * string/Makefile [$(cross-compiling) = no]: Likewise.
25635
ebfd1bbd
JM
25636 * posix/Makefile ($(objpfx)globtest.out): Pass
25637 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25638 $(rtld-installed-name).
25639 * posix/globtest.sh (elf_objpfx): Remove variable.
25640 (rtld_installed_name): Likewise.
25641 (library_path): Likewise.
25642 (run_program_prefix): New variable. Use for running globtest
25643 binary.
25644
166bca24
JB
256452012-10-23 Jim Blandy <jimb@codesourcery.com>
25646 Joseph Myers <joseph@codesourcery.com>
25647
25648 * Makeconfig (host-built-program-cmd): New variable.
25649 * elf/Makefile (tst-stackguard1-ARGS): Use
25650 $(host-built-program-cmd).
25651 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25652 (tst-spawn-ARGS): Likewise.
25653 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25654
88866099
JM
256552012-10-23 Joseph Myers <joseph@codesourcery.com>
25656 Jim Blandy <jimb@codesourcery.com>
25657
25658 * Makeconfig (run-via-rtld-prefix): New variable.
25659 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25660 (built-program-cmd): Likewise.
25661
b4b4c296
AJ
256622012-10-22 Andreas Jaeger <aj@suse.de>
25663
25664 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25665 __O_RSYNC if it exists, otherwise to O_SYNC.
25666
6fb54a22
JB
256672012-10-22 Jim Blandy <jimb@codesourcery.com>
25668 Joseph Myers <joseph@codesourcery.com>
25669
25670 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25671 /dev/null.
25672 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25673 from /dev/null
25674 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25675 /dev/null.
25676
481b90b9
AJ
256772012-10-22 Andreas Jaeger <aj@suse.de>
25678
2a0e2669
AJ
25679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25680 Define always.
25681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25682
76e38f9a
AJ
25683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25684 bits/fcntl-linux.h.
25685
7cd37b43
AJ
25686 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25687 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25688
481b90b9
AJ
25689 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25690 to __O_LARGEFILE.
25691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25692 to __O_LARGEFILE.
25693
aba75984
JB
256942012-10-21 Jim Blandy <jimb@codesourcery.com>
25695 Joseph Myers <joseph@codesourcery.com>
25696
25697 * config.make.in (NM): New variable.
25698
88d4247f
AJ
256992012-10-21 Andreas Jaeger <aj@suse.de>
25700
25701 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25702 definitions and declarations that are provided by
25703 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25704
f2eed205
L
257052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25706
25707 [BZ #14683]
25708 * elf/Makefile (tests-static): Add tst-leaks1-static.
25709 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25710 ($(objpfx)tst-leaks1-static): New rule.
25711 ($(objpfx)tst-leaks1-static-mem): Likewise.
25712 (tst-leaks1-static-ENV): New macro.
25713 * elf/dl-open.c (dl_open_worker): Check the main application
25714 only if SHARED is defined.
25715 * elf/tst-leaks1-static.c: New file.
25716
335e6931
AJ
257172012-10-20 Andreas Jaeger <aj@suse.de>
25718
25719 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25720 generic values for Linux.
25721 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25722 and declarations that are provided by <bits/fcntl-linux.h> and
25723 include <bits/fcntl-linux.h>.
25724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25726
ac5c94d3
RM
257272012-10-20 Roland McGrath <roland@hack.frob.com>
25728
25729 * io/fcntl.h: Move include of <bits/types.h> to the top and
25730 include it unconditionally.
25731
de54b33a
L
257322012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25733
228cfb01
L
25734 * wcsmbs/Makefile (tests-ifunc): New variable.
25735 (tests): Add $(tests-ifunc).
25736 * wcsmbs/test-wcschr-ifunc.c: New file.
25737 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25738 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25739 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25740 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25741 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25742
69f07e5f
L
25743 * string/Makefile (tests-ifunc): New variable.
25744 (tests): Add $(tests-ifunc).
25745 * string/test-memccpy.c (TEST_NAME): New macro.
25746 * string/test-memchr.c (TEST_NAME): Likewise.
25747 * string/test-memcmp.c (TEST_NAME): Likewise.
25748 * string/test-memcpy.c (TEST_NAME): Likewise.
25749 * string/test-memmem.c (TEST_NAME): Likewise.
25750 * string/test-memmove.c (TEST_NAME): Likewise.
25751 * string/test-memset.c (TEST_NAME): Likewise.
25752 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25753 * string/test-stpcpy.c (TEST_NAME): Likewise.
25754 * string/test-stpncpy.c (TEST_NAME): Likewise.
25755 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25756 * string/test-strcasestr.c (TEST_NAME): Likewise.
25757 * string/test-strcat.c (TEST_NAME): Likewise.
25758 * string/test-strchr.c (TEST_NAME): Likewise.
25759 * string/test-strcmp.c(TEST_NAME): Likewise.
25760 * string/test-strcpy.c (TEST_NAME): Likewise.
25761 * string/test-strcspn.c (TEST_NAME): Likewise.
25762 * string/test-strlen.c (TEST_NAME): Likewise.
25763 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25764 * string/test-strncmp.c (TEST_NAME): Likewise.
25765 * string/test-strncpy.c (TEST_NAME): Likewise.
25766 * string/test-strnlen.c (TEST_NAME): Likewise.
25767 * string/test-strpbrk.c (TEST_NAME): Likewise.
25768 * string/test-strrchr.c (TEST_NAME): Likewise.
25769 * string/test-strspn.c (TEST_NAME): Likewise.
25770 * string/test-strstr.c (TEST_NAME): Likewise.
25771 * string/test-bcopy-ifunc.c: New file.
25772 * string/test-bzero-ifunc.c: Likewise.
25773 * string/test-memccpy-ifunc.c: Likewise.
25774 * string/test-memchr-ifunc.c: Likewise.
25775 * string/test-memcmp-ifunc.c: Likewise.
25776 * string/test-memcpy-ifunc.c: Likewise.
25777 * string/test-memmem-ifunc.c: Likewise.
25778 * string/test-memmove-ifunc.c: Likewise.
25779 * string/test-mempcpy-ifunc.c: Likewise.
25780 * string/test-memset-ifunc.c: Likewise.
25781 * string/test-rawmemchr-ifunc.c: Likewise.
25782 * string/test-stpcpy-ifunc.c: Likewise.
25783 * string/test-stpncpy-ifunc.c: Likewise.
25784 * string/test-strcasecmp-ifunc.c: Likewise.
25785 * string/test-strcasestr-ifunc.c: Likewise.
25786 * string/test-strcat-ifunc.c: Likewise.
25787 * string/test-strchr-ifunc.c: Likewise.
25788 * string/test-strchrnul-ifunc.c: Likewise.
25789 * string/test-strcmp-ifunc.c: Likewise.
25790 * string/test-strcpy-ifunc.c: Likewise.
25791 * string/test-strcspn-ifunc.c: Likewise.
25792 * string/test-strlen-ifunc.c: Likewise.
25793 * string/test-strncasecmp-ifunc.c: Likewise.
25794 * string/test-strncat-ifunc.c: Likewise.
25795 * string/test-strncmp-ifunc.c: Likewise.
25796 * string/test-strncpy-ifunc.c: Likewise.
25797 * string/test-strnlen-ifunc.c: Likewise.
25798 * string/test-strpbrk-ifunc.c: Likewise.
25799 * string/test-strrchr-ifunc.c: Likewise.
25800 * string/test-strspn-ifunc.c: Likewise.
25801 * string/test-strstr-ifunc.c: Likewise.
25802
de54b33a
L
25803 * debug/Makefile (tests-ifunc): New variable.
25804 (tests): Add $(tests-ifunc).
25805 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25806 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25807 * debug/test-stpcpy_chk-ifunc.c: New file.
25808 * debug/test-strcpy_chk-ifunc.c: Likewise.
25809
88481c16
SP
258102012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25811
25812 [BZ #13601]
25813 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25814 header is not read in.
25815
135948bd
JM
258162012-10-19 Joseph Myers <joseph@codesourcery.com>
25817
89f1c388
JM
25818 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25819 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25820 directly. Pass built executable to script as
25821 $(built-program-cmd).
25822 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25823 $testprogram without using LD_LIBRARY_PATH and $ldso.
25824
e40a0d21
JM
25825 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25826 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25827 $(rtld-installed-name).
25828 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25829 (rtld_installed_name): Likewise.
25830 (library_path): Likewise.
25831 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25832 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25833 $(run-program-prefix) to tst-tables.sh.
25834 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25835 it to run tst-table-from and tst-table-to.
25836 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25837 Pass it to tst-table.sh.
25838 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25839 $(run-program-prefix) to tst-gettext.sh.
25840 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25841 tst-translit.sh.
25842 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25843 tst-gettext2.sh.
25844 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25845 to run tst-gettext.
25846 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25847 to run tst-gettext2.
25848 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25849 to run tst-translit.
25850 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25851 $(run-program-prefix) to tst-mtrace.sh.
25852 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25853 to run tst-mtrace.
25854 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25855 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25856 $(rtld-installed-name).
25857 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25858 (rtld_installed_name): Likewise.
25859 (run_program_prefix): New variable. Use it to run wordexp-test.
25860
728e272a
JM
25861 * Makeconfig (ARCH): Remove all definitions.
25862 (machine): Likewise.
25863 [ARCH]: Remove conditional code.
25864 [!objdir]: Give error.
25865 [!objdir] (objpfx): Remove.
25866 [!objdir] (common-objpfx): Likewise.
25867 [!objdir] (common-objdir): Likewise.
25868 * configure.in (config_makefile): Remove. Hardcode Makefile in
25869 AC_CONFIG_FILES call.
25870 * configure: Regenerated.
25871
d528cdcf
JM
25872 [BZ #13888]
25873 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25874 or TMPDIR.
25875 (testout): Likewise.
25876
135948bd
JM
25877 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25878 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25879 $(rtld-installed-name).
25880 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25881 (rtld_installed_name): Likwise.
25882 (runit): Remove function.
25883 (run_getconf): New variable, Use it for running getconf binary.
25884
38c78296
L
258852012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25886
25887 [BZ #14716]
25888 * string/test-memmem.c (check_result): New function.
25889 (do_one_test): Use it.
25890 (check1): New function.
25891 (test_main): Use it.
25892
d077f65f
MT
258932012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25894
25895 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25896
ced52c71
JM
258972012-10-18 Joseph Myers <joseph@codesourcery.com>
25898
25899 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25900 (_G_LSEEK64): Likewise.
25901 (_G_MMAP64): Likewise.
25902 (_G_FSTAT64): Likewise.
25903 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25904 (_G_LSEEK64): Likewise.
25905 (_G_MMAP64): Likewise.
25906 (_G_FSTAT64): Likewise.
25907 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25908 unconditional. Call __mmap64 directly.
25909 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25910 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25911 __lseek64 directly.
25912 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25913 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25914 __mmap64 directly.
25915 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25916 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25917 __lseek64 directly.
25918 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25919 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25920 __lseek64 directly.
25921 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25922 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25923 __lseek64 directly.
25924 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25925 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25926 __fxstat64 directly.
25927 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25928 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25929 unconditional.
25930 (freopen64) [!_G_OPEN64]: Remove conditional code.
25931 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25932 unconditional.
25933 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25934 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25935 unconditional.
25936 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25937 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25938 unconditional.
25939 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25940 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25941 unconditional.
25942 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25943 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25944 unconditional.
25945 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25946 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25947 unconditional.
25948 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25949 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25950 unconditional.
25951 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25952
b741de23
SP
259532012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25954
25955 [BZ #12140]
25956 * manual/memory.texi (Malloc Tunable Parameters): Add note
25957 about free list pointers overwriting some perturb bytes.
25958 Wording suggested by Roland McGrath.
25959
f9b9d9c9
JM
259602012-10-17 Joseph Myers <joseph@codesourcery.com>
25961
25962 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25963 (lgamma_test): Likewise.
25964 (tgamma_test): Likewise.
25965
172a631a
FW
259662012-10-16 Florian Weimer <fweimer@redhat.com>
25967
25968 [BZ #14700]
25969 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25970 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25971
e9f37252
MK
259722012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25973
25974 * NEWS: Mention BZ #14716.
25975 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25976 when removing AVAILABLE1_USES_J macro.
25977
d394eb74
L
259782012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25979
25980 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25981 (__bswap_64): __uint64_t for unsigned 64-bit int.
25982
ca38dc17
AS
259832012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25984
25985 * include/string.h (memmem): Declare libc hidden alias.
25986 * string/memmem.c (memmem): Define libc hidden alias.
25987 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25988 __read, __close instead of open, read, close.
25989
9a387d1f
L
259902012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25991
ac49ecaf
L
25992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25993 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25994 global and hidden.
25995 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25996 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25997 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25998 Likewise.
25999 (__rawmemchr_sse2): Likewise.
26000 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26001 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26002 (__strchr_sse2): Likewise.
26003 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26004 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26005 (__strcasecmp_sse2): Likewise.
26006 (__strncasecmp_sse2): Likewise.
26007 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26008 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26009 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26010 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26011 (__strrchr_sse2): Likewise.
26012 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26013 ifunc-impl-list.c.
26014 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26015 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26016 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26017 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26018 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26019 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26020 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26021 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26022 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26023 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26024 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26025 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26026 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26027 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26028 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26029 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26030 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26031 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26032 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26033 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26034 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26035 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26036 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26037 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26038 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26039 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26040 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26041 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26042 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26043 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26044
b090e8ea
L
26045 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26046 global and hidden.
26047 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26048 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26049 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26050 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26051 Likewise.
26052 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26053 Likewise.
26054 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26055 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26056 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26057 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26058 ifunc-impl-list.c.
26059 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26060 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26061 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26062 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26063 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26064 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26065 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26066 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26067 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26068 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26069 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26070 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26071 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26072 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26073 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26074 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26075 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26076 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26077 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26078 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26079 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26080 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26081 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26082 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26083 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26084 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26085 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26086 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26087 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26088 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26089 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26090 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26091 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26092 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26093 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26094 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26095 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26096 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26097 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26098 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26099 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26100
11dd4af6
L
26101 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26102 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26103 * include/ifunc-impl-list.h: New file.
26104 * misc/ifunc-impl-list.c: Likewise.
26105 * misc/Makefile (routines): Add ifunc-impl-list.
26106 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26107 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
26108 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26109 TEST_NAME]: New variables.
11dd4af6
L
26110 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26111 are defined.
26112 (test_init): Call __libc_ifunc_impl_list to initialize
26113 func_list if TEST_IFUNC and TEST_NAME are defined.
26114
9a387d1f
L
26115 * string/Makefile (strop-tests): Add bcopy and bzero.
26116 * string/test-bcopy.c: New file.
26117 * string/test-bzero.c: Likewise.
26118 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26119 defined.
26120 * string/test-memset.c: Support bzero test if TEST_BZERO is
26121 defined.
26122 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26123 __libc_memmove.
26124 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26125 __libc_memset.
26126 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26127 of memset.
26128
472371b9
JM
261292012-10-10 Joseph Myers <joseph@codesourcery.com>
26130
1e4a9536
JM
26131 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26132 * configure: Regenerated.
26133
d173d12e
JM
26134 * Makeconfig (+link-static-before-libc): Don't include
26135 $(link-static-libc).
26136
472371b9
JM
26137 * libio/libio.h (_IO_pos_t): Remove.
26138
89a3ad0b
AO
261392012-10-10 Alexandre Oliva <aoliva@redhat.com>
26140
26141 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26142 McGrath.
26143
e7451425
AO
261442012-10-10 Alexandre Oliva <aoliva@redhat.com>
26145
26146 * crypt/crypt-entry.c: Include fips-private.h.
26147 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26148 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26149 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26150 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26151
4ba74a35
AO
261522012-10-10 Alexandre Oliva <aoliva@redhat.com>
26153
26154 * crypt/crypt-private.h: Include stdbool.h.
26155 (_ufc_setup_salt_r): Return bool.
26156 * crypt/crypt-entry.c: Include errno.h.
26157 (__crypt_r): Return NULL with EINVAL for bad salt.
26158 * crypt/crypt_util.c (bad_for_salt): New.
26159 (_ufc_setup_salt_r): Check that salt is long enough and within
26160 the specified alphabet.
26161 * crypt/badsalttest.c: New file.
26162 * crypt/Makefile (tests): Add it.
26163 ($(objpfx)badsalttest): New.
26164
f96f1242
MK
261652012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26166
26167 * NEWS: Add entry for BZ #14602.
26168
0e8e0c1c
JM
261692012-10-09 Joseph Myers <joseph@codesourcery.com>
26170
26171 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26172 type-generic.
26173 * math/libm-test.inc: Update comment listing what functions and
26174 macros are tested.
26175 (isgreater_test): New function.
26176 (isgreaterequal_test): Likewise.
26177 (isless_test): Likewise.
26178 (islessequal_test): Likewise.
26179 (islessgreater_test): Likewise.
26180 (isunordered_test): Likewise.
26181 (main): Call the new functions.
26182
273edc5e
RM
261832012-10-09 Roland McGrath <roland@hack.frob.com>
26184
b8493de0
RM
26185 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26186 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26187 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26188 * sysdeps/i386/configure: Regenerated.
26189 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26190 * sysdeps/mach/configure: Regenerated.
26191 * sysdeps/mach/hurd/configure: Regenerated.
26192 * sysdeps/powerpc/configure: Regenerated.
26193 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26194 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26195 * sysdeps/s390/s390-32/configure: Regenerated.
26196 * sysdeps/s390/s390-64/configure: Regenerated.
26197 * sysdeps/sh/configure: Regenerated.
26198 * sysdeps/sparc/configure: Regenerated.
26199 * sysdeps/unix/sysv/linux/configure: Regenerated.
26200 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26201 * sysdeps/x86_64/configure: Regenerated.
26202
273edc5e
RM
26203 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26204 defined. Don't check if MAP is NULL.
26205
c8450f70
JM
262062012-10-09 Joseph Myers <joseph@codesourcery.com>
26207
26208 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26209 (_G_stat64): Likewise.
26210 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26211 (_G_stat64): Likewise.
26212 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26213 instead of struct _G_stat64.
26214 * libio/fileops.c (mmap_remap_check): Likewise.
26215 (decide_maybe_mmap): Likewise.
26216 (_IO_new_file_seekoff): Likewise.
26217 (_IO_file_stat): Likewise.
26218 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26219 _G_off64_t.
26220 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26221 instead of struct _G_stat64.
26222 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26223
57e605ba
MK
262242012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26225
26226 [BZ #14602]
26227 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26228 Replace with ...
26229 (CHECK_EOL): New macro.
26230 (two_way_short_needle): Check beginning of haystack for EOL. Use
26231 CHECK_EOL.
26232 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26233 Replace with CHECK_EOL.
26234 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26235 Replace with CHECK_EOL.
26236
ef1bb361
JM
262372012-10-08 Joseph Myers <joseph@codesourcery.com>
26238
26239 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26240 type-generic.
26241 * math/libm-test.inc: Update comment listing what functions and
26242 macros are tested.
26243 (finite_test): New function.
26244 (isinf_test): Likewise.
26245 (isnan_test): Likewise.
26246 (fpclassify_test): Test subnormal input.
26247 (isfinite_test): Likewise.
26248 (isnormal_test): Likewise.
26249 (main): Call the new functions.
26250
55f11534
JN
262512012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26252
26253 [BZ #14660]
26254 * Makerules (%.dynsym): Force C locale when running
26255 $(OBJDUMP) --dynamic-syms.
26256
1ab29350
AS
262572012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26258
26259 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26260 <stdint.h>.
26261
f1ecb7ef
DM
262622012-10-06 David S. Miller <davem@davemloft.net>
26263
26264 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26265 upper 32-bits of the length value in %o2 since we use branch-on-register
26266 tests which consider the entire 64-bit register.
26267
5d41d91a
L
262682012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26269
26270 * string/test-strstr.c (check2): Add a test for page boundary.
26271
3baddb72
DM
262722012-10-05 David S. Miller <davem@davemloft.net>
26273
26274 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26275 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26276 file.
26277 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26278 sysdep_routines.
26279 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26280 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26281 and bzero when HWCAP_SPARC_CRYPTO is present.
26282
9cee5585
L
262832012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26284
d7e0dab9
L
26285 [BZ #14602]
26286 * string/test-strstr.c (check2): New function.
26287 (test_main): Call check2.
26288
03759f47
L
26289 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26290 and bug-strchr1.
26291 * string/bug-strcasestr1.c (do_test): Moved to ...
26292 * string/test-strcasestr.c (check1): Here. New function.
26293 (do_one_test): Break out result checking code into ...
26294 (check_result): This. New function.
26295 (do_one_test): Call check_result.
26296 (test_main): Call check1.
26297 * string/bug-strchr1.c (do_test): Moved to ...
26298 * string/test-strchr.c (check1): Here. New function.
26299 (do_one_test): Break out result checking code into ...
26300 (check_result): This. New function.
26301 (do_one_test): Call check_result.
26302 (test_main): Call check1.
26303 * string/bug-strstr1.c (main): Moved to ...
046f153e 26304 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26305 (do_one_test): Break out result checking code into ...
26306 (check_result): This. New function.
26307 (do_one_test): Call check_result.
26308 (test_main): Call check1.
26309 * string/bug-strcasestr1.c: Removed.
26310 * string/bug-strchr1.c: Likewise.
26311 * string/bug-strstr1.c: Likewise.
26312
53cea63e
L
26313 * elf/Makefile (dl-routines): Add hwcaps.
26314 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26315 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26316 (_dl_important_hwcaps): Moved to ...
26317 * elf/dl-hwcaps.c: Here. New file.
26318 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26319
9cee5585 26320 [BZ #14557]
bb859b06
L
26321 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26322 if IS_IN_rtld isn't defined.
26323
9cee5585
L
26324 * elf/dl-support.c (_dl_sysinfo_map): New.
26325 Include "get-dynamic-info.h" and "setup-vdso.h".
26326 (_dl_non_dynamic_init): Call setup_vdso.
26327 * elf/dynamic-link.h: Don't include <assert.h>.
26328 (elf_get_dynamic_info): Moved to ...
26329 * elf/get-dynamic-info.h: Here. New file.
26330 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26331 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26332 * elf/setup-vdso.h: Here. New file.
26333 * elf/rtld.c: Include "setup-vdso.h".
26334 (dl_main): Call setup_vdso.
26335
23c31b76
JM
263362012-10-05 Joseph Myers <joseph@codesourcery.com>
26337
28234b07
JM
26338 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26339 creal in comment listing functions tested. List finite, isinf,
26340 isnan, isless, islessequal, isgreater, isgreaterequal,
26341 islessgreater, isunordered, lgamma_r and pow10 as functions and
26342 macros not tested. Mention which functions not tested are aliases
26343 for other functions. Fix typo. Note that signs of NaNs are not
26344 tested.
26345
23c31b76
JM
26346 * scripts/config.guess: Update from config.git.
26347 * scripts/config.sub: Likewise.
26348
9043e228
RM
263492012-10-04 Roland McGrath <roland@hack.frob.com>
26350
26351 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26352 * misc/madvise.c (madvise): Renamed to __madvise.
26353 Make madvise a weak alias.
26354 * include/sys/mman.h: Declare __madvise.
26355 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26356 * sysdeps/unix/syscalls.list
26357 (madvise): Make __madvise the strong name, and madvise a weak alias.
26358 * sysdeps/unix/sysv/linux/syscalls.list
26359 (madvise, mmap): Remove redundant entries.
26360 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26361 * malloc/malloc.c (mtrim): Likewise.
26362 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26363
f57f8055
RM
263642012-10-03 Roland McGrath <roland@hack.frob.com>
26365
26366 * sysdeps/mach/hurd/dl-cache.c: File removed.
26367 * config.h.in (USE_LDCONFIG): New #undef.
26368 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26369 * configure: Regenerated.
26370 * elf/Makefile (dl-routines): Add dl-cache only under
26371 [$(use-ldconfig) = yes].
26372 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26373 cache on [USE_LDCONFIG].
26374 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26375 [USE_LDCONFIG].
26376 * elf/rtld.c (dl_main): Likewise.
26377
5bb0c10a
PT
263782012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26379
26380 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26381 _SC_LEVEL4_CACHE_LINESIZE.
26382
010188c6
RM
263832012-10-03 Roland McGrath <roland@hack.frob.com>
26384
26385 * sysdeps/unix/bsd/confstr.h: File removed.
26386
b6c5ec07
AO
263872012-10-02 Alexandre Oliva <aoliva@redhat.com>
26388
26389 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26390 sys/sdt-config.h.
26391
408223d4
RM
263922012-10-02 Roland McGrath <roland@hack.frob.com>
26393
26394 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26395 Make 'mapoff' field ElfW(Off) rather than off_t.
26396
bb9510dc
DL
263972012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26398
fc997c6e
DL
26399 * nscd/Makefile: Remove nscd-cflags and all its users.
26400 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26401 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26402
bb9510dc
DL
26403 [BZ #10631]
26404 * malloc.c (malloc_printerr): Clarify error message.
26405
05699367
L
264062012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26407
26408 [BZ #14648]
26409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26410 Set bit_FMA_Usable if FMA is supported.
26411 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26412 macro.
26413 (bit_FMA4_Usable): Updated.
26414 (index_FMA_Usable): New macro.
26415 (CPUID_FMA): Likewise
26416 (HAS_FMA): Defined with bit_FMA_Usable.
26417
51367701
RM
264182012-10-01 Roland McGrath <roland@hack.frob.com>
26419
26420 * bits/types.h (__swblk_t): Type removed.
26421 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26422 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26423 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26424 (__SWBLK_T_TYPE): Likewise.
26425 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26426 (__SWBLK_T_TYPE): Likewise.
26427 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26428 (__SWBLK_T_TYPE): Likewise.
26429 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26430 (__SWBLK_T_TYPE): Likewise.
26431
4d57bf63 264322012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26433 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26434
26435 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26436 (xdr_mapname): Use YPMAXMAP as maxsize.
26437 (xdr_peername): Use YPMAXPEER as maxsize.
26438 (xdr_keydat): Use YPAXRECORD as maxsize.
26439 (xdr_valdat): Use YPMAXRECORD as maxsize.
26440
93c65d43
RM
264412012-10-01 Roland McGrath <roland@hack.frob.com>
26442
497a03d6
RM
26443 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26444
93c65d43
RM
26445 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26446 * csu/init-first.c: ... here.
26447 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26448 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26449 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26450 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26451 * sysdeps/i386/init-first.c: File removed.
26452 * sysdeps/sh/init-first.c: File removed.
26453
bec749fd
JM
264542012-10-01 Joseph Myers <joseph@codesourcery.com>
26455
26456 [BZ #14645]
26457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26458 if x * y might underflow to zero and z is zero.
26459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26460 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26461 * math/libm-test.inc (min_subnorm_value): New variable.
26462 (fma_test): Add more tests.
26463 (fma_test_towardzero): Likewise.
26464 (fma_test_downward): Likewise
26465 (fma_test_upward): Likewise.
26466 (initialize): Set min_subnorm_value.
26467
8ec5b013
JM
264682012-09-29 Joseph Myers <joseph@codesourcery.com>
26469
26470 [BZ #14638]
26471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26472 0 + 0.
26473 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26474 mode for addition resulting in exact zero.
26475 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26476 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26477 exact 0 + 0.
26478 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26480 * math/libm-test.inc (fma_test): Add more tests.
26481 (fma_test_towardzero): New function.
26482 (fma_test_downward): Likewise.
26483 (fma_test_upward): Likewise.
26484 (main): Call the new functions.
26485
b1fa802e
DM
264862012-09-28 David S. Miller <davem@davemloft.net>
26487
26488 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26489
d3b9fd9e
RM
264902012-09-28 Roland McGrath <roland@hack.frob.com>
26491
ea4d37b3
RM
26492 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26493 instead of SIGALRM.
26494
ac51c949
RM
26495 * sysdeps/gnu/_G_config.h: Moved to ...
26496 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26497 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26498 * sysdeps/generic/_G_config.h: ... here.
26499
28c195f7
RM
26500 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26501
848917f9
RM
26502 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26503
6bacf05b
RM
26504 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26505 Conditionalize target on [libnss_test1.so-version].
26506
91363dbb
RM
26507 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26508
cc87f7d8
RM
26509 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26510 (elfobjdir): Move out of conditionals.
26511
b1c608fe
RM
26512 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26513 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26514 (__nss_lookup_function): Conditionalize label remove_from_tree on
26515 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 26516
1d9a6d96
DM
265172012-09-28 David S. Miller <davem@davemloft.net>
26518
26519 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26520 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26521 file.
26522 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26523 sysdep_routines.
26524 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26525 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26526 when HWCAP_SPARC_CRYPTO is present.
26527
72581615
PT
265282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26529
26530 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26531
715a900c
JL
265322012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26533
26534 [BZ #6530]
26535 * stdio-common/vfprintf.c (process_string_arg): Revert
26536 2000-07-22 change.
26537
265382011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26539
26540 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26541 for testcase.
26542 * stdio-common/tst-sprintf.c: Include <locale.h>
26543 (main): Test sprintf's handling of incomplete multibyte
26544 characters.
26545
9bac1d86
L
265462012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26547
26548 * elf/dl-runtime.c (VERSYMIDX): Removed.
26549 * elf/dl-version.c (VERSYMIDX): Likewise.
26550 * elf/do-rel.h (VERSYMIDX): Likewise.
26551 (VALIDX): Likewise.
26552 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26553 * elf/rtld.c (VALIDX): Likewise.
26554 (ADDRIDX): Likewise.
9bac1d86
L
26555 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26556 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26557 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
26558 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26559 (VALIDX): Likewise.
26560 (ADDRIDX): Likewise.
9bac1d86 26561
b31606c0
PT
265622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26563
26564 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26565
11541177
JL
265662012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26567
26568 [BZ #11438]
26569 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26570 to global scope.
26571 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26572 addresses are in the same scope as 192.0.2/24.
26573 * posix/gai.conf: Document new scope table defaults.
26574
adb26fae
SP
265752012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26576
26577 [BZ #5298]
26578 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26579 for ftell. Compute offsets from write pointers instead.
26580 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26581
4573c6b0
SP
265822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26583
26584 [BZ #14543]
26585 * libio/Makefile (tests): New test case tst-fseek.
26586 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26587 combination works in wide mode.
26588 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26589 state when the external buffer state changes.
26590
aa9bbfe6
DM
265912012-09-27 David S. Miller <davem@davemloft.net>
26592
26593 [BZ #14376]
26594 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26595 pass reloc->r_addend in as the 'high' argument to
26596 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26597
784421e7
DM
26598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26599
c39bc8b8
PT
266002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26601
26602 * rt/tst-aio2.c: Include <pthread.h>.
26603 * rt/tst-aio3.c: Likewise.
26604
1ccc2399
SE
266052012-09-27 Steve Ellcey <sellcey@mips.com>
26606
26607 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26608
31ed4153
L
266092012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26610
25f5f885
L
26611 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26612 contents on [SHARED].
31ed4153 26613
b7bfe116
MP
266142012-09-26 Marek Polacek <polacek@redhat.com>
26615
26616 [BZ #14530]
26617 [BZ #13741]
26618 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26619 for C++ and GCC <4.3 as well as for non GCC compilers.
26620
43c4edba
MT
266212012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26622
26623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26624
6a1bf82f
RM
266252012-09-25 Roland McGrath <roland@hack.frob.com>
26626
26627 * Makefile.in (all, install): Declare with .PHONY.
26628 Reported by Michael Hope <michael.hope@linaro.org>.
26629
8ad11b9a
TMQMF
266302012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26631
26632 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26633 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26634 system header.
26635 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26636 Likewise.
26637 (sydep_routines): Add the new and the internal functions.
26638 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26639 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26641 (GLIBC_2.17): Add the new function.
26642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26643 (GLIBC_2.17): Likewise.
26644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26645 (GLIBC_2.17): Likewise.
26646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26647 (GLIBC_2.17): Likewise.
26648 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26649
7e2fca8d
AM
266502012-09-25 Alan Modra <amodra@gmail.com>
26651
26652 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26653 Add release barrier before setting once_control to say
26654 initialisation is done. Add hints on lwarx. Use macro in
26655 place of isync.
26656 (clear_once_control): Add release barrier.
26657
b87c4b24
JM
266582012-09-25 Joseph Myers <joseph@codesourcery.com>
26659
d032e0d2
JM
26660 [BZ #13629]
26661 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26662 specially.
26663 * math/s_clog10.c (__clog10): Likewise.
26664 * math/s_clog10f.c (__clog10f): Likewise.
26665 * math/s_clog10l.c (__clog10l): Likewise.
26666 * math/s_clogf.c (__clogf): Likewise.
26667 * math/s_clogl.c (__clogl): Likewise.
26668 * math/Makefile (libm-calls): Add x2y2m1.
26669 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26670 (__x2y2m1): Likewise.
26671 (__x2y2m1l): Likewise.
26672 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26673 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26674 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26676 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26677 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26678 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26679 * sysdeps/i386/fpu/libm-test-ulps: Update.
26680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26681
b87c4b24
JM
26682 [BZ #14621]
26683 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26684 int as type of variable DEPTH.
26685 (glob): Use size_t instead of int as type of variables NEWCOUNT
26686 and OLD_PATHC.
26687
6d3bf199
LD
266882012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26689
22bf5c17
LD
26690 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26691 Add s_sincosf-sse2.
26692 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26693 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26694 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26695 macros for using routine as __sincosf_ia32.
26696 Use macro for function declaration and weak_alias.
26697 * sysdeps/i386/fpu/libm-test-ulps: Update.
26698
26699 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26701
26702 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26703 subnormal argument.
26704 * math/s_cexpf.c (__cexpf): Likewise.
26705 * math/s_csinf.c (__csinf): Likewise.
26706 * math/s_csinhf.c (__csinhf): Likewise.
26707 * math/s_ctanf.c (__ctanf): Likewise.
26708 * math/s_ctanhf.c (__ctanhf): Likewise.
26709 * math/s_ccosh.c (__ccoshf): Likewise.
26710 * math/s_cexp.c (__cexpl): Likewise.
26711 * math/s_csin.c (__csin): Likewise.
26712 * math/s_csinh.c (__csinh): Likewise.
26713 * math/s_ctan.c (__ctan): Likewise.
26714 * math/s_ctanh.c (ctanh): Likewise.
26715 * math/s_ccoshl.c (__ccoshl): Likewise.
26716 * math/s_cexpl.c (__cexpl): Likewise.
26717 * math/s_csinl.c (__csinl): Likewise.
26718 * math/s_csinhl.c (__csinhl): Likewise.
26719 * math/s_ctanl.c (__ctanl): Likewise.
26720 * math/s_ctanhl.c (__ctanhl): Likewise.
26721
203e5603
JM
267222012-09-25 Joseph Myers <joseph@codesourcery.com>
26723
26724 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26725 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26726 (_IO_off_t): Define to __off_t, not _G_off_t.
26727 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26728 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26729 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26730 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26731 type of __dummy and __dummy2 fields.
26732 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26733 (_G_ssize_t): Likewise.
26734 (_G_off_t): Likewise.
26735 (_G_pid_t): Likewise.
26736 (_G_uid_t): Likewise.
26737 (_G_wchar_t): Likewise.
26738 (_G_wint_t): Likewise.
26739 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26740 (_G_ssize_t): Likewise.
26741 (_G_off_t): Likewise.
26742 (_G_pid_t): Likewise.
26743 (_G_uid_t): Likewise.
26744 (_G_wchar_t): Likewise.
26745 (_G_wint_t): Likewise.
26746 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26747 (_G_ssize_t): Likewise.
26748 (_G_off_t): Likewise.
26749 (_G_pid_t): Likewise.
26750 (_G_uid_t): Likewise.
26751 (_G_wchar_t): Likewise.
26752 (_G_wint_t): Likewise.
26753
9fab36eb
SP
267542012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26755
26756 * malloc/arena.c: Include malloc-sysdep.h.
26757 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26758 is sufficient to shrink the heap or an unmap is needed.
26759 * sysdeps/generic/malloc-sysdep.h: New file. Define
26760 new function check_may_shrink_heap.
26761 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26762 new function check_may_shrink_heap.
26763
2b4f00d1
SP
267642012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26765
26766 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26767 comments.
26768
9a9028b1
DL
267692012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26770
57c69bef
DL
26771 * catgets/test-gencat.sh: Add "set -e".
26772 * elf/tst-pathopt.sh: Likewise.
26773 * grp/tst_fgetgrent.sh: Likewise.
26774 * iconvdata/run-iconv-test.sh: Likewise.
26775 * intl/tst-gettext.sh: Likewise.
26776 * intl/tst-gettext2.sh: Likewise.
26777 * intl/tst-gettext4.sh: Likewise.
26778 * intl/tst-gettext6.sh: Likewise.
26779 * intl/tst-translit.sh: Likewise.
26780 * io/ftwtest-sh: Likewise.
26781 * libio/test-freopen.sh: Likewise.
26782 * malloc/tst-mtrace.sh: Likewise.
26783 * posix/globtest.sh: Likewise.
26784 * posix/tst-getconf.sh: Likewise.
26785 * posix/wordexp-tst.sh: Likewise.
26786 * stdio-common/tst-printf.sh: Likewise.
26787 * stdio-common/tst-unbputc.sh: Likewise.
26788 * stdlib/tst-fmtmsg.sh: Likewise.
26789 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26790 * catgets/Makefile: Do not specify -e option when running
26791 testsuite shell scripts.
26792 * elf/Makefile: Likewise.
26793 * grp/Makefile: Likewise.
26794 * iconvdata/Makefile: Likewise.
26795 * intl/Makefile: Likewise.
26796 * io/Makefile: Likewise.
26797 * libio/Makefile: Likewise.
26798 * malloc/Makefile: Likewise.
26799 * posix/Makefile: Likewise.
26800 * stdio-common/Makefile: Likewise.
26801 * stdlib/Makefile: Likewise.
26802 * sysdeps/x86_64/Makefile: Likewise.
26803
9a9028b1
DL
26804 * io/ftwtest-sh: Add copyright header.
26805 * posix/globtest.sh: Likewise.
26806 * posix/tst-getconf.sh: Likewise.
26807 * posix/wordexp-tst.sh: Likewise.
26808 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26809
ced6f16e
L
268102012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26811
94b32c39
L
26812 [BZ #13679]
26813 * Makeconfig (+link): Defined as $(+link-static) if
26814 $(build-shared) isn't yes.
26815 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26816 isn't yes.
26817 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26818
189e935b
L
26819 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26820
ced6f16e
L
26821 [BZ #14562]
26822 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26823 new chunk size with MALLOC_ALIGN_MASK.
26824
a9f8e53a
JM
268252012-09-24 Joseph Myers <joseph@codesourcery.com>
26826
26827 [BZ #5044]
26828 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26829 <rounding-mode.h>.
26830 (__printf_fphex): Determine rounding using get_rounding_mode and
26831 round_away.
26832 * stdio-common/tst-printf-round.c (struct hex_test): New
26833 structure.
26834 (hex_tests): New variable.
26835 (test_hex_in_one_mode): New function.
26836 (do_test): Also run tests for hex float output.
26837
43153109
JM
268382012-09-21 Joseph Myers <joseph@codesourcery.com>
26839
26840 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26841 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26842 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26843 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26844 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26845 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26846 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26847 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26848
8a26625d
JM
268492012-09-20 Joseph Myers <joseph@codesourcery.com>
26850
26851 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26852 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26853 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26854 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26855
f3fd569c
DL
268562012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26857
26858 [BZ #14579]
26859 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26860 mode only.
26861 * elf/tst-rtld-load-self.sh: New test.
26862 * elf/Makefile: Run it.
26863
63bbedd4
JM
268642012-09-18 Joseph Myers <joseph@codesourcery.com>
26865
26866 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26867 (tst-writev-ENV): Remove.
26868 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26869
626f8b6a
CM
268702012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26871
26872 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26873
b7aaa4d6
JM
268742012-09-17 Joseph Myers <joseph@codesourcery.com>
26875
26876 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26877 unconditional.
26878 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26879 Likewise.
26880 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26881 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26882 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26883 Likewise.
26884
65513990
L
268852012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26886
26887 [BZ #14587]
26888 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26889 * config.make.in (have-cpp-asm-debuginfo): Removed.
26890 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26891 * configure: Regenerated.
26892
784761be
JM
268932012-09-14 Joseph Myers <joseph@codesourcery.com>
26894
26895 [BZ #5044]
26896 * stdio-common/printf_fp.c: Include <stdbool.h> and
26897 <rounding-mode.h>.
26898 (___printf_fp): Determine rounding using get_rounding_mode and
26899 round_away.
26900 * stdio-common/tst-printf-round.c: New file.
26901 * stdio-common/Makefile (tests): Add tst-printf-round.
26902 (link-libm): New variable.
26903 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26904
9503345f
L
269052012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26906
26907 [BZ #14576]
26908 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26909 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26910 Likewise.
26911 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26912 Likewise.
26913
ad35fc00
JM
269142012-09-13 Joseph Myers <joseph@codesourcery.com>
26915
26916 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26917 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26918 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26919 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26920
6c9b0f68
JM
269212012-09-12 Joseph Myers <joseph@codesourcery.com>
26922
26923 [BZ #14518]
26924 * include/rounding-mode.h: New file.
26925 * sysdeps/generic/get-rounding-mode.h: Likewise.
26926 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26927 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26928 (MAX_VALUE): New macro.
26929 (MIN_VALUE): Likewise.
26930 (overflow_value): New function.
26931 (underflow_value): Likewise.
26932 (round_and_return): Use overflow_value and underflow_value to
26933 determine return values in overflow and underflow cases. Use
26934 round_away to determine rounding depending on rounding mode.
26935 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26936 determine return values in overflow and underflow cases.
26937 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26938 (struct test_results): New structure.
26939 (struct test): Use struct test_results to store expected results
26940 for all rounding modes.
26941 (TEST): Include expected results for all rounding modes.
26942 (test_in_one_mode): New function.
26943 (do_test): Use test_in_one_mode to compute and check results.
26944 Check results for all rounding modes.
26945 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26946 $(link-libm).
26947
19fcedd5
AM
269482012-12-09 Allan McRae <allan@archlinux.org>
26949
1e9d84cd 26950 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26951
8bbfd2f1
JM
269522012-09-11 Joseph Myers <joseph@codesourcery.com>
26953
26954 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26955 (_G_int32_t): Likewise.
26956 (_G_uint16_t): Likewise.
26957 (_G_uint32_t): Likewise.
26958 (_G_HAVE_BOOL): Likewise.
26959 (_G_HAVE_ATEXIT): Likewise.
26960 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26961 (_G_HAVE_IO_FILE_OPEN): Likewise.
26962 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26963 (_G_int32_t): Likewise.
26964 (_G_uint16_t): Likewise.
26965 (_G_uint32_t): Likewise.
26966 (_G_HAVE_BOOL): Likewise.
26967 (_G_HAVE_ATEXIT): Likewise.
26968 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26969 (_G_HAVE_IO_FILE_OPEN): Likewise.
26970 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26971 (_G_int32_t): Likewise.
26972 (_G_uint16_t): Likewise.
26973 (_G_uint32_t): Likewise.
26974 (_G_HAVE_BOOL): Likewise.
26975 (_G_HAVE_ATEXIT): Likewise.
26976 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26977 (_G_HAVE_IO_FILE_OPEN): Likewise.
26978
b1dc5912
L
269792012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26980
26981 * csu/libc-tls.c: Update copyright years.
26982
0e886ef9
JM
269832012-09-10 Joseph Myers <joseph@codesourcery.com>
26984
28361c5e
JM
26985 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26986 [!_G_USING_THUNKS]: Remove conditional code.
26987 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26988 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26989
0e886ef9
JM
26990 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26991 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26992 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26993 (_G_VTABLE_LABEL_PREFIX): Likewise.
26994 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26995 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26996 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26997 (_G_VTABLE_LABEL_PREFIX): Likewise.
26998 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26999 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27000 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27001 (_G_VTABLE_LABEL_PREFIX): Likewise.
27002 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27003
bcba7aa2
L
270042012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27005
27006 * libio/Makefile: Include ../Makeconfig before tests.
27007 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27008 only if $(build-shared) is yes.
27009
06585ee8
L
27010 * iconv/gconv_db.c: Update copyright years.
27011
80ccd52c
LD
270122012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27013
27014 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27015 unwind info if defined PIC. Fix special cases description.
27016 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27017
27018 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27019 DP_HI_MASK entry.
27020 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27021
691bc9c1
L
270222012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27023
3d9b46b3
L
27024 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27025
de2139a9
L
27026 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27027 is NULL.
27028
5ca78dd0
L
27029 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27030 (LDLIBS-tst-chk4): This.
27031 (LDFLAGS-tst-chk5): Renamed to ...
27032 (LDLIBS-tst-chk5): This.
27033 (LDFLAGS-tst-chk6): Renamed to ...
27034 (LDLIBS-tst-chk6): This.
27035 (LDFLAGS-tst-lfschk4): Renamed to ...
27036 (LDLIBS-tst-lfschk4): This.
27037 (LDFLAGS-tst-lfschk5): Renamed to ...
27038 (LDLIBS-tst-lfschk5): This.
27039 (LDFLAGS-tst-lfschk6): Renamed to ...
27040 (LDLIBS-tst-lfschk6): This.
27041
691bc9c1
L
27042 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27043 on $(common-objpfx)soversions.mk.
27044
65cafb1c
JM
270452012-09-07 Joseph Myers <joseph@codesourcery.com>
27046
27047 [BZ #10014]
27048 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27049 example host name.
27050
c78ab094
SP
270512012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27052
27053 * malloc/arena.c (arena_get_retry): New function that gets
27054 another arena for the caller to try its request on.
27055 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27056 current arena cannot fulfill the request.
27057 (__libc_memalign): Likewise.
27058 (__libc_memalign): Likewise.
27059 (__libc_pvalloc): Likewise.
27060 (__libc_calloc): Likewise.
27061
01f49f59
JT
270622012-09-05 John Tobey <john.tobey@gmail.com>
27063
27064 [BZ #13542]
27065 * manual/arith.texi (Operations on Complex): Fix description
27066 of carg branch cut.
27067
4c23fed5
JM
270682012-09-06 Joseph Myers <joseph@codesourcery.com>
27069
1d3c8572
JM
27070 [BZ #10014]
27071 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27072 host name.
27073
4c23fed5
JM
27074 [BZ #10038]
27075 * manual/memory.texi (Memory): Make order of menu items match
27076 order of sections.
27077
04570aaa
L
270782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27079
27080 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27081 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27082 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27083
b80af2f4
L
270842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27085
27086 * csu/libc-tls.c (static_dtv): Renamed to ...
27087 (_dl_static_dtv): This. Make it global.
27088 (_dl_initial_dtv): Removed.
27089 (__libc_setup_tls): Updated.
27090 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27091 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27092 DL_INITIAL_DTV.
27093
2abe9f15
PM
270942012-09-06 Petr Machata <pmachata@redhat.com>
27095
27096 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27097 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27098 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27099 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27100
0948c3af
L
271012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27102
27103 [BZ #14545]
27104 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27105 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27106 freeing dtv[-1].
27107
a5055ad1
L
271082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27109
27110 [BZ #14544]
27111 * Makeconfig (link-static-before-libc): Replace $(+prector)
27112 with $(+prectorT).
27113 (link-static-after-libc): Replace $(+postctor) with
27114 $(+postctorT).
27115 (link-bounded): Replace $(+prector)/$(+postctor) with
27116 $(+prectorT)/$(+postctorT).
27117 (+prectorT): New macro.
27118 (+postctorT): Likewise.
27119
ed8c2ecd
JM
271202012-09-06 Joseph Myers <joseph@codesourcery.com>
27121
27122 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27123 (round_str): Handle values above the maximum for IBM long double
27124 as inexact.
27125 * stdlib/tst-strtod-round.c (tests): Regenerated.
27126
14c996c8
AK
271272012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27128
27129 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27130 assembler flag.
27131 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27132 zarch_nohighgprs around the zarch optimized routines.
27133 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27134 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27135 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27136 for zarch.
27137
430d6ce6
DM
271382012-09-05 David S. Miller <davem@davemloft.net>
27139
27140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27141
57f41c40
AS
27142 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27143 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
27144 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27145 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27146 entries.
27147
24d4e01b
AO
271482012-09-05 Alexandre Oliva <aoliva@redhat.com>
27149
27150 * malloc/arena.c: Fold copyright years.
27151 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27152
61d58174
AO
271532012-09-05 Alexandre Oliva <aoliva@redhat.com>
27154
27155 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27156
20196a5e
AO
271572012-09-05 Alexandre Oliva <aoliva@redhat.com>
27158
27159 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27160
5c447383
AO
271612012-09-05 Alexandre Oliva <aoliva@redhat.com>
27162
27163 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27164 change internal state upon failure.
27165
fad64255
AO
271662012-09-05 Alexandre Oliva <aoliva@redhat.com>
27167
27168 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27169 * malloc/memusage.c (mmap): Likewise.
27170 (mmap64, mremap): Likewise. Adjust name in comment.
27171
1ffb8c90
SP
271722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27173
27174 * libio/fileops.c: Fix typos in comments.
27175 * libio/oldfileops.c: Likewise.
27176 * libio/wfileops.c: Likewise.
27177
6ef9cc37
SP
271782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27179
27180 [BZ #1349]
27181 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27182 (tst-malloc-usable-ENV): Set environment for test case.
27183 * malloc/hooks.c (malloc_check_get_size): New function to get
27184 requested size.
27185 * malloc/malloc.c (musable): Use malloc_check_get_size.
27186 * malloc/tst-malloc-usable.c: New test case.
27187
4d038ae3
AS
271882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27189
27190 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27191
c4e85184
AM
271922012-09-05 Allan McRae <allan@archlinux.org>
27193
b9dafc56 27194 [BZ #13966]
c4e85184
AM
27195 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27196 determine header location.
27197 * configure: Regenerated.
27198
e1343020
AS
271992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27200
27201 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27202 float format.
27203 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27204 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27205 format.
e1343020
AS
27206 (test): Regenerate.
27207
0a9f1987
DM
272082012-09-04 David S. Miller <davem@davemloft.net>
27209
27210 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27211 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27212 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27213
29237804
FW
272142012-09-04 Florian Weimer <fweimer@redhat.com>
27215
27216 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27217 failures.
27218
edb3cb88
FW
27219 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27220
60160d83
JM
272212012-09-04 Joseph Myers <joseph@codesourcery.com>
27222
27223 [BZ #9914]
27224 * libio/iogetdelim.c: Include <limits.h>.
27225 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27226 + len + 1 would overflow.
27227
bcd6c8dc
AJ
272282012-09-03 Andreas Jaeger <aj@suse.de>
27229
27230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27231 * sysdeps/i386/fpu/libm-test-ulps: Update.
27232
4ffffbd2
LD
272332012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27234
27235 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27236 Add s_sinf-sse2, s_conf-sse2.
27237
27238 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27239 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27240 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27241 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27242
27243 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27244 for using routine as __sinf_ia32.
27245 Use macro for function declaration and weak_alias.
27246 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27247 for using routine as __cosf_ia32.
27248 Use macro for function declaration and weak_alias.
27249
27250 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27251 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27252
27253 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27254 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27256
27257 * math/libm-test.inc (cos_test): Add more test cases.
27258 (sin_test): Likewise.
27259 (sincos_test): Likewise.
27260
511fa286
AK
272612012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27262
27263 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27264 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27265 hidden.
27266 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27267
5f30cfec
L
272682012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27269
27270 [BZ #14538]
27271 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27272 first element of the GOT.
27273 (elf_machine_load_address): Return the difference between
27274 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27275
0786794f
AM
272762012-09-01 Allan McRae <allan@archlinux.org>
27277
5f30cfec
L
27278 [BZ #13412]
27279 * configure.in (AWK): Require gawk version 3.0 or later.
27280 * configure: Regenerated.
0786794f 27281
26889eac
JM
272822012-09-01 Joseph Myers <joseph@codesourcery.com>
27283
27284 * sysdeps/unix/sysv/linux/kernel-features.h
27285 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27286 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27287 [__NR_clock_getres]: Make code unconditional.
27288 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27289 (clock_getcpuclockid): Remove code left unreachable by removal of
27290 conditionals.
27291 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27292 code unconditional.
27293 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27294 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27295 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27296 Make code unconditional.
27297 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27298 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27299 * sysdeps/unix/sysv/linux/clock_settime.c
27300 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27301 conditional code.
27302 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27303 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27304
d22e28b0
L
273052012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27306
27307 [BZ #14476]
27308 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27309 scripts/test-installation.pl.
27310
27311 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27312 and $ld_so_version if it is set.
27313
050af9c4
SP
273142012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27315
27316 [BZ #14516]
27317 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27318 failure if reading from procfs failed.
27319 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27320
ad845c0b
JM
273212012-08-27 Joseph Myers <joseph@codesourcery.com>
27322
27323 * sysdeps/unix/sysv/linux/kernel-features.h
27324 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27325 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27326 Remove conditional code.
27327 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27328 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27329 Remove conditional code.
27330 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27331 * sysdeps/unix/sysv/linux/i386/fxstat.c
27332 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27333 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27334 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27335 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27336 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27337 * sysdeps/unix/sysv/linux/i386/lxstat.c
27338 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27340 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27341 Remove conditional code.
27342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27343 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27344 Remove conditional code.
27345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27346 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27347 <kernel-features.h>.
27348 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27349 Remove.
27350 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27351 Remove conditional code.
27352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27353 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27354 Remove conditional.
27355
5dbf56af
MF
273562012-08-27 Mike Frysinger <vapier@gentoo.org>
27357
27358 [BZ #5400]
27359 * NEWS: Add fixed bug number.
27360
d6e70f43
JM
273612012-08-27 Joseph Myers <joseph@codesourcery.com>
27362
7efb4737
JM
27363 [BZ #14519]
27364 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27365 underflowing exponent in case of negative sign.
27366 * stdlib/tst-strtod-round-data: Add more tests.
27367 * stdlib/tst-strtod-round.c (tests): Regenerated.
27368
af92131a
JM
27369 [BZ #3479]
27370 * stdlib/strtod_l.c (NDIG): Remove.
27371 (HEXNDIG): Likewise.
27372 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27373 smallest representable value.
27374 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27375 lie within an exact representation of 1/2 ulp of the result.
27376 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27377 unconditionally.
27378 (TENS_P9_IDX): Define unconditionally.
27379 (TENS_P9_SIZE): Likewise.
27380 (TENS_P10_IDX): Likewise.
27381 (TENS_P10_SIZE): Likewise.
27382 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27383 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27384 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27385 entries for 10^2^13 and 10^2^14.
27386 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27387 (TENS_P13_IDX): Define.
27388 (TENS_P13_SIZE): Likewise.
27389 (TENS_P14_IDX): Likewise.
27390 (TENS_P14_SIZE): Likewise.
27391 (_fpioconst_pow10): Change array size to
27392 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27393 unconditional.
27394 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27395 1024]: Add entries for 10^2^13 and 10^2^14.
27396 [LAST_POW10 > _LAST_POW10]: Remove #error.
27397 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27398 (_fpioconst_pow10): Change array size to
27399 FPIOCONST_POW10_ARRAY_SIZE.
27400 * stdlib/gen-fpioconst.c: New file.
27401 * stdlib/gen-tst-strtod-round.c: Likewise.
27402 * stdlib/tst-strtod-round-data: Likewise.
27403 * stdlib/tst-strtod-round.c: Likewise.
27404 * stdlib/Makefile (tests): Add tst-strtod-round.
27405
d6e70f43
JM
27406 [BZ #14459]
27407 * stdlib/strtod_l.c: Include <stdint.h>.
27408 (NDEBUG): Do not define.
27409 (round_and_return): Change EXPONENT parameter to type intmax_t.
27410 Rearrange calculations to avoid internal overflow possibilities.
27411 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27412 Rearrange calculations to avoid internal overflow possibilities.
27413 Assert that number fits inside MPNSIZE limbs.
27414 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27415 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27416 calculations and add assertions to avoid internal overflow
27417 possibilities. Add casts to avoid signed/unsigned operations.
27418 * stdlib/tst-strtod-overflow.c: New file.
27419 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27420
1f529f7d
MP
274212012-08-25 Marek Polacek <polacek@redhat.com>
27422
27423 * time/time.h: Fix some typos in comments.
27424
59a629f1
RM
274252012-08-23 Roland McGrath <roland@hack.frob.com>
27426
27427 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27428 * posix/tst-rfc3484-2.c: Likewise.
27429 * posix/tst-rfc3484-3.c: Likewise.
27430
d3bafbc9
SM
274312012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27432
27433 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27434 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27435
4efcc022
JM
274362012-08-23 Joseph Myers <joseph@codesourcery.com>
27437
27438 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27439 #include of fxstatat64.c.
27440
3cc3ef96
RM
274412012-08-22 Roland McGrath <roland@hack.frob.com>
27442
f04e2132
RM
27443 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27444 * shadow/getspent_r.c: Likewise.
27445 * shadow/getspnam.c: Likewise.
27446 * shadow/getspnam_r.c: Likewise.
27447 * gshadow/getsgent.c: Likewise.
27448 * gshadow/getsgent_r.c: Likewise.
27449 * gshadow/getsgnam.c: Likewise.
27450 * gshadow/getsgnam_r.c: Likewise.
27451 * inet/getnetbyad.c: Likewise.
27452 * inet/getnetbyad_r.c: Likewise.
27453 * inet/getnetbynm.c: Likewise.
27454 * inet/getnetbynm_r.c: Likewise.
27455 * inet/getnetent.c: Likewise.
27456 * inet/getnetent_r.c: Likewise.
27457 * inet/getproto.c: Likewise.
27458 * inet/getproto_r.c: Likewise.
27459 * inet/getprtent.c: Likewise.
27460 * inet/getprtent_r.c: Likewise.
27461 * inet/getprtname.c: Likewise.
27462 * inet/getprtname_r.c: Likewise.
27463 * inet/getrpcbyname.c: Likewise.
27464 * inet/getrpcbyname_r.c: Likewise.
27465 * inet/getrpcbynumber.c: Likewise.
27466 * inet/getrpcbynumber_r.c: Likewise.
27467 * inet/getrpcent.c: Likewise.
27468 * inet/getrpcent_r.c: Likewise.
27469 * inet/getaliasent.c: Likewise.
27470 * inet/getaliasent_r.c: Likewise.
27471 * inet/getaliasname.c: Likewise.
27472 * inet/getaliasname_r.c: Likewise.
27473 * nscd/getgrgid_r.c: Likewise.
27474 * nscd/getgrnam_r.c: Likewise.
27475 * nscd/gethstbyad_r.c: Likewise.
27476 * nscd/gethstbynm3_r.c: Likewise.
27477 * nscd/getpwnam_r.c: Likewise.
27478 * nscd/getpwuid_r.c: Likewise.
27479 * nscd/getsrvbynm_r.c: Likewise.
27480 * nscd/getsrvbypt_r.c: Likewise.
27481 * nscd/gai.c: Likewise.
27482
c53d909c
RM
27483 * configure.in (build_nscd): New substituted variable, set
27484 by --disable-build-nscd and defaults to $use_nscd.
27485 * configure: Regenerated.
27486 * config.make.in (build-nscd): New substituted variable.
27487 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27488 Change conditional to require [$(build-nscd) = yes] as well.
27489 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27490
3cc3ef96
RM
27491 [BZ# 13696]
27492 * configure.in (use_nscd): New substituted variable, set by
27493 --disable-nscd. If enabled, define USE_NSCD.
27494 * configure: Regenerated.
27495 * config.h.in: Add USE_NSCD.
27496 * config.make.in (use-nscd): New substituted variable.
27497 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27498 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27499 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27500 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27501 (CFLAGS-getgrnam_r.c): Likewise.
27502 (CFLAGS-initgroups.c): Likewise.
27503 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27504 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27505 Variables removed.
27506 * inet/getnetgrent_r.c
27507 (nscd_setnetgrent): New function, broken out of ...
27508 (setnetgrent): ... here. Call it.
27509 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27510 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27511 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27512 * nscd/Makefile (routines, aux): Move definitions after include of
27513 Makeconfig. Conditionalize on [$(use-nscd) != no].
27514 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27515 Conditionalize on [USE_NSCD].
27516 (is_nscd, nscd_init_cb): Likewise.
27517 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27518 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27519 * nss/nss_db/db-init.c: Likewise.
27520 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27521 [USE_NSCD].
27522 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27523 (make_request): Use it.
27524 (cache_valid_p): New function.
27525 (__check_pf): Use it.
27526 * NEWS: Add item for --disable-nscd.
27527
07e51550
DL
275282012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27529
27530 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27531 to support sed >= 4.2.1-20-ga9bf076.
27532 * configure: Regenerated.
27533
35a5b08b
RM
275342012-08-22 Roland McGrath <roland@hack.frob.com>
27535
27536 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27537 Conditionalize whole body on [IREL].
27538
8479f23a
JL
275392012-08-22 Jeff Law <law@redhat.com>
27540
27541 [BZ #14505]
27542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27543 if the family is PF_UNSPEC.
27544
48da0b21
MF
275452012-08-22 Mike Frysinger <vapier@gentoo.org>
27546
27547 * Makerules (lib-version): Rename from V.
27548 (install-lib-nosubdir): Change V to lib-version.
27549
15d0da8c
WS
275502012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27551
27552 [BZ #14252]
27553 * powerpc32/power6/wcschr.c: New file.
27554 * powerpc32/power6/wcscpy.c: New file.
27555 * powerpc32/power6/wcsrchr.c: New file.
27556 * powerpc64/power6/wcschr.c: New file.
27557 * powerpc64/power6/wcscpy.c: New file.
27558 * powerpc64/power6/wcsrchr.c: New file.
27559
bcca0895
MK
275602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27561
27562 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27563 (two_way_short_needle): Use it.
5a4aaa33
RM
27564 * string/strstr.c (AVAILABLE1_USES_J): Define.
27565 * string/strcasestr.c: Likewise.
99677e57
MK
27566
27567 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27568 array references.
27569 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27570
400726de
MK
27571 [BZ #11607]
27572 * NEWS: Add an entry.
27573 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27574 define their defaults.
27575 (two_way_short_needle): Detect end-of-string on-the-fly.
27576 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27577 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27578 * string/bug-strcasestr1.c: New test.
27579 * string/Makefile: Run it.
27580
20a71f2c
MK
275812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27582
27583 [BZ #11607]
27584 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27585 the first character.
27586
21ad0558
RM
275872012-08-21 Roland McGrath <roland@hack.frob.com>
27588
27589 * csu/elf-init.c (__libc_csu_irel): Function removed.
27590 * csu/libc-start.c (apply_irel): New function.
27591 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27592
0e1d9911
JM
275932012-08-21 Joseph Myers <joseph@codesourcery.com>
27594
27595 * sysdeps/unix/sysv/linux/kernel-features.h
27596 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27597 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27598 <kernel-features.h>.
27599 [__NR_fadvise64_64]: Make code unconditional.
27600 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27601 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27602 !__NR_fadvise64_64)]: Likewise.
27603 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27604 !__NR_fadvise64_64))]: Likewise.
27605 [__NR_fadvise64]: Make code unconditional.
27606 [!__NR_fadvise64]: Remove conditional code.
27607 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27608 <kernel-features.h>.
27609 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27610 unconditional.
27611 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27612 conditional code.
27613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27614 not include <kernel-features.h>.
27615 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27616 unconditional.
27617 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27618 conditional code.
27619 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27620 include <kernel-features.h>.
27621 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27622 unconditional.
27623 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27624 conditional code.
27625
14a50c9d
WS
276262012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27627
27628 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27629 slight instruction rearrangements per scrollpipe analysis.
27630 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27631
c0f4faf0
RM
276322012-08-20 Roland McGrath <roland@hack.frob.com>
27633
696da859
RM
27634 * manual/syslog.texi (syslog; vsyslog, closelog):
27635 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27636 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27637
c0f4faf0
RM
27638 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27639 DSOCAPS to match condition on defining it.
27640
348363b2
JM
276412012-08-20 Joseph Myers <joseph@codesourcery.com>
27642
a35cbf28
JM
27643 * sysdeps/unix/sysv/linux/kernel-features.h
27644 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27646 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27647 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27649 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27650 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27652 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27653 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27654
445f7ecd
JM
27655 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27656 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27657
348363b2
JM
27658 * sysdeps/unix/sysv/linux/kernel-features.h
27659 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27660 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27661 unconditional.
27662 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27663 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27664 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27665 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27666 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27667 Make code unconditional.
27668 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27669 (__mmap64) [!__NR_mmap2]: Likewise.
27670 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27671 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27672 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27673 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27674 [__NR_mmap2]: Make code unconditional.
27675 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27676 (__mmap64) [!__NR_mmap2]: Likewise.
27677
bc5bc0e5
AK
276782012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27679
27680 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27681
88d506de
AJ
276822012-08-18 Andreas Jaeger <aj@suse.de>
27683
27684 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27685
493387d2
MF
276862012-08-18 Mike Frysinger <vapier@gentoo.org>
27687
27688 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27689 * include/unistd.h (__have_sock_cloexec): Likewise.
27690 (__have_pipe2): Likewise.
27691 (__have_dup3): Likewise.
27692
a277af22
MF
276932012-08-18 Mike Frysinger <vapier@gentoo.org>
27694
27695 [BZ #9685]
27696 * include/unistd.h (__have_pipe2): Change define into an extern int.
27697 (__have_dup3): Likewise.
27698 * socket/have_sock_cloexec.c: Include fcntl.h.
27699 (__have_pipe2): New variable.
27700 (__have_dup3): Likewise.
27701
fdab8fd3
MF
277022012-08-17 Mike Frysinger <vapier@gentoo.org>
27703
27704 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27705
31035e80
MP
277062012-08-17 Marek Polacek <polacek@redhat.com>
27707
27708 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27709 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27710
3bd9e993
RM
277112012-08-17 Roland McGrath <roland@hack.frob.com>
27712
c91c505f
RM
27713 * configure.in: Add AC_SUBST for sysheaders.
27714 * configure: Regenerated.
27715 * config.make.in (sysheaders): New substituted variable.
27716
7c6f9d53
RM
27717 * sysdeps/unix/mkfifo.c: Moved ...
27718 * sysdeps/posix/mkfifo.c: ... here.
27719 * sysdeps/unix/mkfifoat.c: Moved ...
27720 * sysdeps/posix/mkfifoat.c: ... here.
27721
27722 * sysdeps/unix/utime.c: Moved ...
27723 * sysdeps/posix/utime.c: ... here.
27724
27725 * sysdeps/unix/time.c: Moved ...
27726 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27727 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27728 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27729
27730 * sysdeps/unix/nice.c: Moved ...
27731 * sysdeps/posix/nice.c: ... here.
27732
27733 * sysdeps/unix/alarm.c: Moved ...
27734 * sysdeps/posix/alarm.c: ... here.
27735
3bd9e993
RM
27736 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27737
d1f09384
JL
277382012-08-17 Jeff Law <law@redhat.com>
27739
27740 * intl/Makefile (codeset_mo): New variable.
27741 ($(codeset_mo)): New target.
27742 (tst-codeset.out): Depend on that. Remove explicit rule.
27743 (tst-gettext3.out, tst-gettext5.out): Likewise.
27744 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27745 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27746 * intl/tst-codeset.sh: Remove.
27747 * intl/tst-gettext3.sh: Likewise.
27748 * intl/tst-gettext5.sh: Likewise.
27749
2ae1ae5c
RM
277502012-08-17 Roland McGrath <roland@hack.frob.com>
27751
c31fdb83
RM
27752 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27753 * sysdeps/unix/syscalls.list: ... here.
27754
a0844057
RM
27755 * sysdeps/posix/getaddrinfo.c
27756 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27757 (gaiconf_init, gaiconf_reload): Use them.
27758 [!_STATBUF_ST_NSEC]
27759 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27760 Define using time_t rather than struct timespec.
27761
750c1f2a
RM
27762 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27763 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27764 Macros removed.
27765 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27766 [!NO_THREADS].
27767 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27768 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27769 Likewise.
27770
2ae1ae5c
RM
27771 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27772 __libc_cleanup_push argument.
27773
e66a42f5
RM
27774 * bits/param.h: New file.
27775 * misc/sys/param.h: New file.
27776 * include/sys/param.h: New file.
27777 * misc/Makefile (headers): Add bits/param.h.
27778 * sysdeps/generic/sys/param.h: File removed.
27779 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27780 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27781 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27782 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27783
b7c08a66
RM
27784 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27785 last change.
27786
b2e1c562
RM
27787 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27788 [_IO_MTSAFE_IO].
27789 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27790 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27791 New macros.
27792
c75ccd4c
RM
27793 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27794 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27795 rather than -D_IO_MTSAFE_IO conditionally.
27796 * stdio-common/Makefile (CPPFLAGS): Likewise.
27797 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27798 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27799 Use $(libio-mtsafe).
27800 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27801 of -D_IO_MTSAFE_IO.
27802 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27803 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27804 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27805 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27806 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27807 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27808 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27809 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27810 (CFLAGS-fread_u_chk.c): Likewise.
27811 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27812 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27813 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27814 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27815 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27816 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27817 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27818 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27819 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27820
27821 * libio/Makefile: Test [$(libc-reentrant) = yes]
27822 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27823
27824 * Makeconfig
27825 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27826 * sysdeps/pthread/configure: File removed.
27827 * sysdeps/pthread/Makeconfig: New file.
27828 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27829 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27830
d9195db8
GB
278312012-08-16 Gary Benson <gbenson@redhat.com>
27832
27833 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27834 unmapping the first object in a namespace.
27835
86466cd9
RM
278362012-08-16 Roland McGrath <roland@hack.frob.com>
27837
27838 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27839 (__internal_setnetgrent): ... this. Add internal_function to
27840 definition. Add libc_hidden_def.
27841 (setnetgrent): Update caller.
27842 (internal_endnetgrent): Renamed to ...
27843 (__internal_endnetgrent): ... this. Add internal_function to
27844 definition. Add libc_hidden_def.
27845 (endnetgrent): Update caller.
27846 (internal_getnetgrent_r): Renamed to ...
27847 (__internal_getnetgrent_r): ... this. Add internal_function to
27848 definition. Add libc_hidden_def.
27849 (__getnetgrent_r): Update caller.
27850 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27851
c3c8283c
JM
278522012-08-16 Joseph Myers <joseph@codesourcery.com>
27853
27854 * stdlib/longlong.h: Update from GCC.
27855
db1ee0a8
RM
278562012-08-16 Roland McGrath <roland@hack.frob.com>
27857
27858 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27859 on _QL, which is set by umul_ppmm but never used.
27860 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27861 variables, which are set by GMP macros but never used.
27862 * stdio-common/_itowa.c (_itowa): Likewise.
27863 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27864 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27865
30f69637
CD
278662012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27867
27868 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27869 struct La_sh_regs is not constant.
27870 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27871 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27872 and struct La_sparc64_regs are not constant.
27873
93a78ac4
JM
278742012-08-16 Joseph Myers <joseph@codesourcery.com>
27875
27876 * sysdeps/unix/sysv/linux/kernel-features.h
27877 (__ASSUME_POSIX_TIMERS): Remove.
27878 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27879 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27880 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27881 Make code unconditional.
27882 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27883 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27884 Make code unconditional.
27885 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27886 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27887 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27888 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27889 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27890 Make code unconditional.
27891 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27892 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27893 (__libc_missing_posix_timers): Remove.
27894
dd924cd7
RM
278952012-08-15 Roland McGrath <roland@hack.frob.com>
27896
4b4f2771
RM
27897 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27898 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27899
601c888b
RM
27900 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27901
176790a7
RM
27902 * elf/dl-sym.c: Include <stdlib.h>.
27903
329bc018
RM
27904 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27905 constants, which avoids warnings in 32-bit builds.
27906
e04e272d
RM
27907 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27908 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27909
952bf94a
RM
27910 * misc/lseek.c: File moved to ...
27911 * io/lseek.c: ... here.
27912
7c99b50a
RM
27913 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27914
dd924cd7
RM
27915 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27916 shifting LEN more than 31 bits at once.
27917
b3f479a8
LD
279182012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27919
27920 [BZ #14195]
8c4ae0d4
RM
27921 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27922 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27923 * string/test-strncasecmp.c (check1): Renamed to...
27924 (bz12205): ...this.
27925 (bz14195): Add new testcase for two empty input strings and N > 0.
27926 (test_main): Call new testcase, adapt for renamed function.
27927
9c55864e
AJ
279282012-08-15 Andreas Jaeger <aj@suse.de>
27929
27930 [BZ #14090]
27931 * crypt/md5test2.c: New test, based on test supplied by Serge
27932 Belyshev <belyshev@depni.sinp.msu.ru>.
27933 * crypt/Makefile (xtests): Add md5test-giant..
27934 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27935
02dcb6c5
PE
279362012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27937
27938 [BZ #14090]
27939 * crypt/md5.c (md5_process_block): Don't assume the buffer
27940 length is less than 2**32.
27941 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27942 length is less than 2**64.
27943
a3f95dcc
RM
279442012-08-15 Roland McGrath <roland@hack.frob.com>
27945
be75d758
RM
27946 * string/str-two-way.h: Include <sys/param.h>.
27947 (MAX): Macro removed.
27948
7312ca90
RM
27949 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27950 Move #define and #undef of memmove to just before and after
27951 including <string.h>.
27952
9a0a5486
RM
27953 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27954 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27955 and after including <string.h>. Move declarations of
27956 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27957 to before #include "string/memmove.c".
27958
67cc348d
RM
27959 * include/dirent.h: Declare __getdirentries.
27960
a3f95dcc
RM
27961 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27962 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27963
ca98e171
MF
279642012-08-14 Mike Frysinger <vapier@gentoo.org>
27965
27966 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27967 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27968 * sysdeps/i386/configure: Regenerated.
27969 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27970 STABS_CURRENT_FILE, and STABS_FUN.
27971 (END): Remove call to STABS_FUN_END.
27972 (STABS_CURRENT_FILE1): Delete.
27973 (STABS_CURRENT_FILE): Likewise.
27974 (STABS_FUN): Likewise.
27975 (STABS_FUN_END): Likewise.
27976 (STABS_FUN2): Likewise.
27977 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27978 * sysdeps/x86_64/configure: Regenerated.
27979
5908bf46
RM
279802012-08-14 Roland McGrath <roland@hack.frob.com>
27981
27982 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27983 * elf/dl-lookup.c: Likewise.
5908bf46 27984
f2c05b9e
JM
279852012-08-14 Joseph Myers <joseph@codesourcery.com>
27986
27987 * sysdeps/unix/sysv/linux/kernel-features.h
27988 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27989 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27990 unconditionally.
27991 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27992 unconditionally.
27993 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27994 condition on __ASSUME_CLONE_THREAD_FLAGS.
27995
e11f5155
AJ
279962012-08-14 Andreas Jaeger <aj@suse.de>
27997
27998 * sysdeps/i386/fpu/libm-test-ulps: Update.
27999
51a9ba86
MK
280002012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28001
2fdd4f78
AJ
28002 * include/atomic.h (atomic_exchange_and_add): Split into ...
28003 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28004 New atomic macros.
51a9ba86 28005
ba6cba9e
MT
280062012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28007
28008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28009
42443a47
JL
280102012-08-13 Jeff Law <law@redhat.com>
28011
28012 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28013 null byte in the output string.
28014
121dce05
JM
280152012-08-10 Joseph Myers <joseph@codesourcery.com>
28016
28017 * sysdeps/unix/sysv/linux/kernel-features.h
28018 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28019 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28020 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28021 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28022 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28023 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28024 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28025
bf51f568
JL
280262012-08-09 Jeff Law <law@redhat.com>
28027
28028 [BZ #13939]
28029 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28030 When avoid_arena is set, don't retry in the that arena. Pick the
28031 next one, whatever it might be.
28032 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28033 (arena_lock): Pass in new parameter to arena_get2.
28034 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28035 arena_get2.
28036 (__libc_malloc): Unify retrying after main arena failure with
28037 __libc_memalign version.
28038 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28039
f85fa270
L
280402012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28041
28042 [BZ #14166]
28043 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28044 to __redirect_strstr.
28045 (__strstr_sse42): Use typeof __redirect_strstr.
28046 (__strstr_ia32): Likewise.
28047 (__libc_strstr): New prototype.
28048 (strstr): Renamed to ...
28049 (__libc_strstr): This.
28050 (strstr): New strong alias of __libc_strstr.
28051 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28052 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28053 __redirect_time.
28054 Include <time.h>.
28055 (__libc_time): New prototype.
28056 (time_ifunc): Replace time with __libc_time.
28057 (time): New strong alias and hidden definition of __libc_time.
28058 (__GI_time): Remove strong alias.
28059 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28060 Include <stddef.h>.
28061 (memmove): Redefined to __redirect_memmove.
28062 (__memmove_sse2): Use typeof __redirect_memmove.
28063 (__memmove_ssse3): Likewise.
28064 (__memmove_ssse3_back): Likewise.
28065 (__libc_memmove): New prototype.
28066 (memmove): Renamed to ...
28067 (__libc_memmove): This.
28068 (memmove): New strong alias of __libc_memmove.
28069
33b4a91e
MS
280702012-08-08 Mark Salter <msalter@redhat.com>
28071
28072 * elf/elf.h
28073 (R_MN10300_TLS_GD): Define.
28074 (R_MN10300_TLS_LD): Likewise.
28075 (R_MN10300_TLS_LDO): Likewise.
28076 (R_MN10300_TLS_GOTIE): Likewise.
28077 (R_MN10300_TLS_IE): Likewise.
28078 (R_MN10300_TLS_LE): Likewise.
28079 (R_MN10300_TLS_DTPMOD): Likewise.
28080 (R_MN10300_TLS_DTPOFF): Likewise.
28081 (R_MN10300_TLS_TPOFF): Likewise.
28082 (R_MN10300_SYM_DIFF): Likewise.
28083 (R_MN10300_ALIGN): Likewise.
28084 (R_MN10300_NUM): Update.
28085
b36137f1
JM
280862012-08-08 Joseph Myers <joseph@codesourcery.com>
28087
28088 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28089 Remove.
28090
cdd915fd
RM
280912012-08-08 Roland McGrath <roland@hack.frob.com>
28092
a2433aac
RM
28093 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28094
cdd915fd
RM
28095 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28096 sysdeps/unix -> sysdeps/posix move.
28097 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28098
bf9b740a
AM
280992012-08-07 Allan McRae <allan@archlinux.org>
28100
28101 [BZ #14303]
28102 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28103 (SUNOS_CPP): Likewise.
28104 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28105 not found.
28106 (open_input): Call CPP using execvp.
28107
93df14ee
JM
281082012-08-07 Joseph Myers <joseph@codesourcery.com>
28109
28110 * sysdeps/unix/sysv/linux/kernel-features.h
28111 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28112 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28113 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28114 (__ASSUME_WAITID_SYSCALL): Likewise.
28115 * sysdeps/unix/sysv/linux/dl-execstack.c
28116 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28117 code unconditional.
28118 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28119 conditional code.
28120 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28121 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28122 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28123 code.
28124 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28125 unconditional.
28126 [__ASSUME_WAITID_SYSCALL]: Likewise.
28127 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28128
d34689de
RM
281292012-08-07 Roland McGrath <roland@hack.frob.com>
28130
a281decc
RM
28131 * sysdeps/unix/closedir.c: Renamed to ...
28132 * sysdeps/posix/closedir.c: ... here.
28133 * sysdeps/unix/dirfd.c: Renamed to ...
28134 * sysdeps/posix/dirfd.c: ... here.
28135 * sysdeps/unix/dirstream.h: Renamed to ...
28136 * sysdeps/posix/dirstream.h: ... here.
28137 * sysdeps/unix/fdopendir.c: Renamed to ...
28138 * sysdeps/posix/fdopendir.c: ... here.
28139 * sysdeps/unix/opendir.c: Renamed to ...
28140 * sysdeps/posix/opendir.c: ... here.
28141 * sysdeps/unix/readdir.c: Renamed to ...
28142 * sysdeps/posix/readdir.c: ... here.
28143 * sysdeps/unix/readdir_r.c: Renamed to ...
28144 * sysdeps/posix/readdir_r.c: ... here.
28145 * sysdeps/unix/rewinddir.c: Renamed to ...
28146 * sysdeps/posix/rewinddir.c: ... here.
28147 * sysdeps/unix/seekdir.c: Renamed to ...
28148 * sysdeps/posix/seekdir.c: ... here.
28149 * sysdeps/unix/telldir.c: Renamed to ...
28150 * sysdeps/posix/telldir.c: ... here.
28151 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28152 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28153 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28154 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28155
22895b47
RM
28156 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28157 * bits/fcntl.h: ... here.
28158
707a53b6
RM
28159 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28160 not 0.
28161 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28162 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28163 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28164 (struct flock): Move l_start, l_len to the beginning.
28165 Use __pid_t for l_pid.
28166 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28167 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28168 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28169 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28170 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28171 [__USE_LARGEFILE64] (struct flock64): New type.
28172 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28173
f0bd3e25
RM
28174 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28175 * bits/dirent.h: ... here.
28176
d34689de
RM
28177 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28178 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28179
6dad2c06
JM
281802012-08-07 Joseph Myers <joseph@codesourcery.com>
28181
28182 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28183 Change from 2.6.0 to 2.6.16.
28184 * sysdeps/unix/sysv/linux/configure: Regenerated.
28185 * sysdeps/unix/sysv/linux/kernel-features.h
28186 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28187 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28188 version.
28189 (__ASSUME_UTIMES): Likewise.
28190 (__ASSUME_CLONE_STOPPED): Remove.
28191 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28192 architectures, not kernel version.
28193 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28194 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28195 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28196 (__ASSUME_WAITID_SYSCALL): Likewise.
28197 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28198 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28199 * README: State 2.6.16 as minimum Linux kernel version. Do not
28200 refer to older versions.
28201
03af9520
RM
282022012-08-06 Roland McGrath <roland@hack.frob.com>
28203
8e49df1d
RM
28204 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28205 Define alphasort64 as an alias.
28206 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28207 Define versionsort64 as an alias.
28208 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28209 Define scandir64 as an alias.
28210 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28211 Define scandirat64 as an alias.
28212 * dirent/alphasort64.c (alphasort64):
28213 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28214 * dirent/versionsort64.c: Likewise.
28215 * dirent/scandir64.c: Likewise.
28216 * dirent/scandirat64.c: Likewise.
28217 * sysdeps/wordsize-64/alphasort.c: File removed.
28218 * sysdeps/wordsize-64/alphasort64.c: File removed.
28219 * sysdeps/wordsize-64/scandir.c: File removed.
28220 * sysdeps/wordsize-64/scandir64.c: File removed.
28221 * sysdeps/wordsize-64/scandirat.c: File removed.
28222 * sysdeps/wordsize-64/scandirat64.c: File removed.
28223 * sysdeps/wordsize-64/versionsort.c: File removed.
28224 * sysdeps/wordsize-64/versionsort64.c: File removed.
28225 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28226 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28227 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28228 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28229 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28230 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28231 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28232 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28233
28234 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28236 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28238 [defined __arch64__ || defined __sparcv9]
28239 (__INO_T_MATCHES_INO64_T): New macro.
28240 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28241 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28242 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28243 * sysdeps/unix/sysv/linux/bits/dirent.h
28244 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28245 (_DIRENT_MATCHES_DIRENT64): New macro.
28246
03af9520
RM
28247 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28248 Define lockf64 as an alias.
28249 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28250 Define fseeko64 as an alias.
28251 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28252 Define ftello64 as an alias.
28253 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28254 Define _IO_fgetpos64 and fgetpos64 as aliases.
28255 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28256 Define _IO_fsetpos64 and fsetpos64 as aliases.
28257 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28258 Conditionalize body on this.
28259 * libio/fseeko64.c: Likewise.
28260 * libio/ftello64.c: Likewise.
28261 * libio/iofgetpos64.c: Likewise.
28262 * libio/iofsetpos64.c: Likewise.
28263 * sysdeps/wordsize-64/lockf.c: File removed.
28264 * sysdeps/wordsize-64/lockf64.c: File removed.
28265 * sysdeps/wordsize-64/fseeko.c: File removed.
28266 * sysdeps/wordsize-64/fseeko64.c: File removed.
28267 * sysdeps/wordsize-64/ftello.c: File removed.
28268 * sysdeps/wordsize-64/ftello64.c: File removed.
28269 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28270 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28271 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28272 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28273 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28274 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28275 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28276 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28277 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28278 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28279 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28280 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28281 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28282 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28283
28284 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28286 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28288 [defined __arch64__ || defined __sparcv9]
28289 (__OFF_T_MATCHES_OFF64_T): New macro.
28290 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28291 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28292 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28293 (__OFF_T_MATCHES_OFF64_T): New macro.
28294
c5757acd
L
282952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28296
28297 * stdlib/secure-getenv.c (__secure_getenv): Replace
28298 GLIBC_2_16 with GLIBC_2_17.
28299
3a31811e
L
283002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28301
28302 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28303 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28304
faa2bccb
DM
283052012-08-03 David S. Miller <davem@davemloft.net>
28306
28307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28308
85fe1997
JM
283092012-08-03 Joseph Myers <joseph@codesourcery.com>
28310
28311 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28312 Remove.
28313 (__ASSUME_CORRECT_SI_PID): Likewise.
28314 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28315 (__ASSUME_TMPFS_NAME): Likewise.
28316 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28317 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28318 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28319 (HAVE_AUX_SECURE): Make definition unconditional.
28320 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28321 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28322
4f75b7a0
RM
283232012-08-03 Roland McGrath <roland@hack.frob.com>
28324
28325 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28326 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28327 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28328 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28329 __eloop_threshold instead of SYMLOOP_MAX.
28330
28331 * sysdeps/generic/eloop-threshold.h: New file.
28332 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28333 of MAXSYMLINKS.
28334 * elf/chroot_canon.c (chroot_canon): Likewise.
28335
7aab07e4
JM
283362012-08-03 Joseph Myers <joseph@codesourcery.com>
28337
28338 [BZ #13717]
28339 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28340 Change to 2.6.0 everywhere.
28341 * sysdeps/unix/sysv/linux/configure: Regenerated.
28342 * sysdeps/unix/sysv/linux/kernel-features.h
28343 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28344 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28345 kernel versions.
28346 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28347 (__ASSUME_FUTEX_REQUEUE): Remove.
28348 (__ASSUME_STATFS64): Define unconditionally.
28349 (__ASSUME_AT_SECURE): Likewise.
28350 (__ASSUME_CORRECT_SI_PID): Likewise.
28351 (__ASSUME_TGKILL): Define without depending on kernel version for
28352 i386.
28353 (__ASSUME_UTIMES): Likewise.
28354 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28355 kernel version.
28356 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28357 (__ASSUME_TMPFS_NAME): Likewise.
28358 * README: Update reference to Linux kernel versions.
28359
b67e9372
MP
283602012-08-02 Marek Polacek <polacek@redhat.com>
28361
1f529f7d 28362 [BZ# 14150]
b67e9372
MP
28363 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28364 libc_cv_asm_type_prefix with %.
28365 * configure: Regenerated.
d2441631
RM
28366 * include/libc-symbols.h: Remove comment about
28367 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28368 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28369 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28370 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28371 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28372 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28373 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28374 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28375 * elf/tst-unique2mod1.c: Likewise.
28376 * elf/tst-unique1mod2.c: Likewise.
28377 * elf/tst-unique1mod1.c: Likewise.
28378 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28379 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28380 Replace ASM_TYPE_DIRECTIVE with .type.
28381 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28382 * sysdeps/i386/sysdep.h: Likewise.
28383 * sysdeps/x86_64/sysdep.h: Likewise.
28384 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28386 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28387 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28388 * sysdeps/powerpc/powerpc32/sysdep.h:
28389 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28390 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28391 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28392 * sysdeps/i386/fpu/e_powf.S: Likewise.
28393 * sysdeps/i386/fpu/e_expl.S: Likewise.
28394 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28395 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28396 * sysdeps/i386/fpu/e_pow.S: Likewise.
28397 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28398 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28399 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28400 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28401 * sysdeps/i386/fpu/e_log2.S: Likewise.
28402 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28403 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28404 * sysdeps/i386/fpu/e_powl.S: Likewise.
28405 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28406 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28407 * sysdeps/i386/fpu/e_logl.S: Likewise.
28408 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28409 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28410 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28411 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28412 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28413 * sysdeps/i386/fpu/e_log.S: Likewise.
28414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28415 * sysdeps/i386/fpu/e_logf.S: Likewise.
28416 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28417 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28418 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28419 * sysdeps/i386/fpu/e_log10.S: Likewise.
28420 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28421 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28422 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28423 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28424 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28425 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28426 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28427 * sysdeps/i386/i686/strtok.S: Likewise.
28428 * sysdeps/i386/i386-mcount.S: Likewise.
28429 * sysdeps/i386/strtok.S: Likewise.
28430 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28432 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28433 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28434 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28435 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28436 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28437 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28438 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28439 * sysdeps/x86_64/_mcount.S: Likewise.
28440 * sysdeps/x86_64/strtok.S: Likewise.
28441 * sysdeps/sh/_mcount.S: Likewise.
28442
2747bf9a
RM
284432012-08-01 Roland McGrath <roland@hack.frob.com>
28444
28445 * libio/iofopen.c: Include <fcntl.h>.
28446 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28447 (_IO_fopen64, fopen64): Define as aliases.
28448 * libio/iofopen64.c: Include <fcntl.h>.
28449 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28450 Conditionalize body on this.
28451 * sysdeps/wordsize-64/iofopen.c: File removed.
28452 * sysdeps/wordsize-64/iofopen64.c: File removed.
28453
3fb791b8
MP
284542012-08-01 Marek Polacek <polacek@redhat.com>
28455
28456 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28457 Use dlfcn directly instead of a variable.
28458 (binfmt-subdir): Do not define.
28459 (dlfcn): Likewise.
28460
a9f1039f
JM
284612012-08-01 Joseph Myers <joseph@codesourcery.com>
28462
23bddc06
JM
28463 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28464 Remove all definitions.
28465 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28466 <kernel-features.h>.
28467 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28468 (miss_F_GETOWN_EX): Remove all definitions.
28469 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28470 macro definition.
28471 [!__ASSUME_FCNTL64]: Remove conditional code.
28472 [__ASSUME_FCNTL64]: Make code unconditional.
28473 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28474 <kernel-features.h>.
28475 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28476 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28477 (lockf64) [__NR_fcntl64]: Make code unconditional.
28478 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28479
a9f1039f
JM
28480 * sysdeps/unix/sysv/linux/kernel-features.h
28481 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28482 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28483 Make code unconditional.
28484 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28485 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28487 [__NR_vfork]: Make code unconditional.
28488 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28489 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28491 [__NR_vfork]: Make code unconditional.
28492 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28493 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28494
09c0ee5f
RM
284952012-08-01 Roland McGrath <roland@hack.frob.com>
28496
48aec5b9
RM
28497 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28498 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28499
cd97c966
RM
28500 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28501 Define mkstemp64 as an alias.
3f55550c
RM
28502 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28503 Define mkstemps64 as an alias.
cd97c966
RM
28504 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28505 Define mkostemp64 as an alias.
b8625cfc
RM
28506 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28507 Define mkostemps64 as an alias.
cd97c966
RM
28508 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28509 Conditionalize body on this.
28510 * misc/mkostemp64.c: Likewise.
b8625cfc 28511 * misc/mkostemps64.c: Likewise.
3f55550c 28512 * misc/mkstemps64.c: Likewise.
cd97c966
RM
28513 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28514 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28515 * sysdeps/wordsize-64/mkostemp.c: File removed.
28516 * sysdeps/wordsize-64/mkstemp.c: File removed.
28517 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28518 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28519 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28520 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28521
09c0ee5f
RM
28522 [BZ #14138]
28523 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28524 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28525 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28526 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28527
28528 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28529 compat_symbol macros from <shlib-compat.h> rather than the underlying
28530 default_symbol_version and symbol_version macros, so that DEFAULT
28531 lines in shlib-versions are respected.
28532 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28533
7e66ee51
FW
285342012-08-01 Florian Weimer <fweimer@redhat.com>
28535
28536 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28537 Declare with warn_unused_result.
28538 (setgid, setregid, setegid, setresgid): Likewise.
28539 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28540 Likewise.
28541 * WUR-REPORT: Remove set*id functions.
28542
d2a54255
PT
285432012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28544
28545 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28546
7ecdb005
RM
285472012-07-31 Roland McGrath <roland@hack.frob.com>
28548
b4180a5e 28549 [BZ #10191]
789bd351
RM
28550 * include/sys/socket.h (__libc_accept, __libc_accept4):
28551 Add attribute_hidden.
28552 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28553
40ce302d
RM
28554 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28555 use of PTR_MANGLE.
28556 * inet/getnetgrent_r.c (setup): Likewise.
28557
7ecdb005
RM
28558 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28559
e2eabb2c
DM
285602012-07-31 David S. Miller <davem@davemloft.net>
28561
28562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28563
d0419dbf
JM
285642012-07-31 Joseph Myers <joseph@codesourcery.com>
28565
28566 [BZ #13629]
28567 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28568 value between 1.0 and 2.0 and smaller part has absolute value less
28569 than 1.0.
28570 * math/s_clog10.c (__clog10): Likewise.
28571 * math/s_clog10f.c (__clog10f): Likewise.
28572 * math/s_clog10l.c (__clog10l): Likewise.
28573 * math/s_clogf.c (__clogf): Likewise.
28574 * math/s_clogl.c (__clogl): Likewise.
28575 * math/libm-test.inc (clog_test): Add more tests.
28576 (clog10_test): Likewise.
28577 * sysdeps/i386/fpu/libm-test-ulps: Update.
28578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28579
2bc13872
FW
285802012-07-31 Florian Weimer <fweimer@redhat.com>
28581
28582 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28583 Exit with zero in case no suitable GID is found, and write a
28584 message to standard error.
28585
bea9b193
RM
285862012-07-30 Roland McGrath <roland@hack.frob.com>
28587
28588 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28589 rather than to 1.
28590 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28591 (MAXPATHLEN): Removed.
28592 (NOGROUP, NODEV): New macros.
28593 (setbit, clrbit, isset, isclr): New macros.
28594 (howmany, roundup, powerof2): New macros.
28595 (DEV_BSIZE): New macro.
28596
28597 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28598 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28599
28600 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28601 definition on [!__NO_LONG_DOUBLE_MATH].
28602
28603 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28604 PTR_MANGLE and PTR_DEMANGLE.
28605
28606 * socket/accept4.c (accept4): Rename to __libc_accept4.
28607 Define accept4 as a weak alias.
28608
28609 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28610 on [_DIRENT_HAVE_D_TYPE].
28611 * io/ftw.c (ftw_dir): Likewise.
28612
28613 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28614
28615 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28616
28617 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28618 Use the BSD numbers rather than the arbitrary ones we had.
28619 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28620 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28621 (SIGXCPU, SIGXFSZ): New macros.
28622 (_NSIG): Now 32.
28623
28624 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28625 initializer on [_LIBC_REENTRANT].
28626
28627 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28628 definitions inside [_POSIX_MAPPED_FILES].
28629
28630 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28631
28632 * dirent/opendir.c: Include <fcntl.h>.
28633
28634 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28635 (__libc_getspecific): Likewise.
28636 (__libc_key_create): Likewise.
28637
28638 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28639 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28640 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28641 (tmpfile64): Define as alias.
28642 * sysdeps/wordsize-64/tmpfile.c: File removed.
28643 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28644 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28645 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28646
28647 * stdio-common/vfscanf.c: Include <stdbool.h>.
28648 * nss/makedb.c: Likewise.
28649 * stdio-common/_i18n_number.h: Likewise.
28650 * argp/argp-help.c: Likewise.
28651 * posix/wordexp.c: Likewise.
28652 * sysdeps/posix/spawni.c: Likewise.
28653 * nss/nss_files/files-initgroups.c: Likewise.
28654 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28655 * nss/nss_files/files-initgroups.c: Likewise.
28656 * nss/nss_db/db-netgrp.c: Likewise.
28657 * nss/nss_db/db-initgroups.c: Likewise.
28658 * io/fchmodat.c: Include <sys/stat.h>.
28659
28660 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28661 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28662
28663 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28664 [HAVE_MMAP].
28665
28666 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28667 Add multiple inclusion protection.
28668
e5abc686
DM
286692012-07-27 David S. Miller <davem@davemloft.net>
28670
28671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28672
815e6fa3
GB
286732012-07-27 Gary Benson <gbenson@redhat.com>
28674
28675 [BZ #14298]
28676 * elf/rtld.c: Include <stap-probe.h>.
28677 (dl_main): Added static probes "init_start" and "init_complete".
28678 * elf/dl-load.c: Include <stap-probe.h>.
28679 (lose): Take new parameter "nsid".
28680 Added static probe "map_failed".
28681 (_dl_map_object_from_fd): Pass namespace id to lose.
28682 Added static probe "map_start".
28683 (open_verify): Pass namespace id to lose.
28684 * elf/dl-open.c: Include <stap-probe.h>.
28685 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28686 and "reloc_complete".
28687 * elf/dl-close.c: Include <stap-probe.h>.
28688 (_dl_close_worker): Added static probes "unmap_start" and
28689 "unmap_complete".
28690 * elf/rtld-debugger-interface.txt: New file documenting the above.
28691
9f98c16c
RM
286922012-07-26 Roland McGrath <roland@hack.frob.com>
28693
28694 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28695 rather than a string variable.
28696 * sunrpc/rpc_main.c (h_output): Likewise.
28697 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28698
f3c22df3
PT
286992012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28700
28701 * inet/check_native.c: New file.
28702
3129cfc6
JM
287032012-07-26 Joseph Myers <joseph@codesourcery.com>
28704
da865e95
JM
28705 [BZ #13629]
28706 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28707 if larger part has absolute value 1.0.
28708 * math/s_clog10.c (__clog10): Likewise.
28709 * math/s_clog10f.c (__clog10f): Likewise.
28710 * math/s_clog10l.c (__clog10l): Likewise.
28711 * math/s_clogf.c (__clogf): Likewise.
28712 * math/s_clogl.c (__clogl): Likewise.
28713 * math/libm-test.inc (clog_test): Add more tests.
28714 (clog10_test): Likewise.
28715 * sysdeps/i386/fpu/libm-test-ulps: Update.
28716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28717
3129cfc6
JM
28718 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28719 (pltexit): Likewise.
28720 (La_regs): Likewise.
28721 (La_retval): Likewise.
28722 (int_retval): Likewise.
28723 Update #error for removed macros to refer only to definitions in
28724 tst-audit.h.
28725 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28726 macro.
28727 (pltexit): Likewise.
28728 (La_regs): Likewise.
28729 (La_retval): Likewise.
28730 (int_retval): Likewise.
28731 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28732 macro.
28733 (pltexit): Likewise.
28734 (La_regs): Likewise.
28735 (La_retval): Likewise.
28736 (int_retval): Likewise.
28737 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28738 macro.
28739 (pltexit): Likewise.
28740 (La_regs): Likewise.
28741 (La_retval): Likewise.
28742 (int_retval): Likewise.
28743 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28744 macro.
28745 (pltexit): Likewise.
28746 (La_regs): Likewise.
28747 (La_retval): Likewise.
28748 (int_retval): Likewise.
28749 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28750 macro.
28751 (pltexit): Likewise.
28752 (La_regs): Likewise.
28753 (La_retval): Likewise.
28754 (int_retval): Likewise.
28755 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28756 macro.
28757 (pltexit): Likewise.
28758 (La_regs): Likewise.
28759 (La_retval): Likewise.
28760 (int_retval): Likewise.
28761 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28762 macro definitions in tst-audit.h.
28763 * sysdeps/i386/tst-audit.h: New file.
28764 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28765 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28766 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28767 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28768 * sysdeps/sh/tst-audit.h: Likewise.
28769 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28770 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28771 * sysdeps/x86_64/tst-audit.h: Likewise.
28772
bfc07087
AJ
287732012-07-26 Andreas Jaeger <aj@suse.de>
28774
b1b2aaf8
AJ
28775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28776 ptrace.
28777
28778 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28779 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28780 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28781 PTRACE_O_MASK.
28782 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28783 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28784 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28785
bfc07087
AJ
28786 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28787 value.
28788
28789 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28790 _sigsys.
28791 (si_call_addr, si_syscall, si_arch): Define new macro.
28792 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28793 _sigsys.
28794 (si_call_addr, si_syscall, si_arch): Define new marcro.
28795 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28796 _sigsys.
28797 (si_call_addr, si_syscall, si_arch): Define new macro.
28798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28799 _sigsys.
28800 (si_call_addr, si_syscall, si_arch): Define new macro.
28801
89b4b02f
JM
288022012-07-25 Joseph Myers <joseph@codesourcery.com>
28803
28804 [BZ #13717]
28805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28806 Change to 2.4.21 where previously 2.4.1.
28807 * sysdeps/unix/sysv/linux/configure: Regenerated.
28808 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28809 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28810 Linux kernel version.
28811 (__ASSUME_STD_AUXV): Remove.
28812 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28813 kernel version.
28814 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28815 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28816 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28817 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28818 (__ASSUME_NETLINK_SUPPORT): Likewise.
28819 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28820 (__no_netlink_support): Remove conditional definition.
28821 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28822 Remove.
28823 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28824 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28825 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28826 (if_nameindex_ioctl): Remove.
28827 (if_nameindex_netlink): Do not handle __no_netlink_support.
28828 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28829 code.
28830 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28831 Remove conditional code.
28832 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28833 code.
28834 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28835 unconditional.
28836 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28837 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28838 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28839 Remove.
28840 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28841 [!__ASSUME_STD_AUXV]: Remove conditional code.
28842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28843 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28844 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28846 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28847 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28848 code.
28849 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28851 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28852 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28853 conditional code.
28854 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28856 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28857 code.
28858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28859 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28860 conditional code.
28861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28862 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28863 code unconditional.
28864 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28865 conditional code.
28866 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28867 unconditional.
28868 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28869 conditional code.
28870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28871 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28872 unconditional.
28873 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28874 conditional code.
28875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28876 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28877 code unconditional.
28878 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28879 conditional code.
28880 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28881 unconditional.
28882 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28883 conditional code.
28884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28885 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28886 code unconditional.
28887 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28888 conditional code.
28889 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28890 unconditional.
28891 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28892 conditional code.
28893
842a39cd
AS
288942012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28895
28896 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28897 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28898 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28899 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28900 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28901 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28902 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28903 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28904 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28905 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28906 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28907 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28908 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28909 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28910 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28911 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28912 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28913 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28916 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28917 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28918 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28919
84b3fd84
FW
289202012-07-25 Florian Weimer <fweimer@redhat.com>
28921
28922 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28923 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28924 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28925 Introduce __libc_secure_getenv.
0c7936d5
FW
28926 * stdlib/Versions (2.17): Add secure_getenv
28927 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28928 * stdlib/secure-getenv.c: Rename __secure_getenv to
28929 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28930 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28931 * stdlib/tst-secure-getenv.c: New.
28932 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28933 * manual/startup.texi (Environment Access): Document
28934 secure_getenv.
84b3fd84
FW
28935 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28936 __libc_secure_getenv.
28937 * inet/ruserpass.c (ruserpass): Likewise.
28938 * malloc/mtrace.c (mtrace): Likewise.
28939 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28940 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28941 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28942 * sysdeps/posix/tempname.c: Likewise. Evaluate
28943 HAVE_SECURE_GETENV.
28944 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28945 __secure_getenv to __libc_secure_getenv.
84b3fd84 28946 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28948 Likewise.
28949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28950 Likewise.
28951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28958
56e49b71
JM
289592012-07-25 Joseph Myers <joseph@codesourcery.com>
28960
28961 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28962 (struct La_i86_retval): Likewise.
28963 (struct La_x86_64_regs): Likewise.
28964 (struct La_x86_64_retval): Likewise.
28965 (struct La_x32_regs): Likewise.
28966 (struct La_x32_retval): Likewise.
28967 (struct La_ppc32_regs): Likewise.
28968 (struct La_ppc32_retval): Likewise.
28969 (struct La_ppc64_regs): Likewise.
28970 (struct La_ppc64_retval): Likewise.
28971 (struct La_sh_regs): Likewise.
28972 (struct La_sh_retval): Likewise.
28973 (struct La_s390_32_regs): Likewise.
28974 (struct La_s390_32_retval): Likewise.
28975 (struct La_s390_64_regs): Likewise.
28976 (struct La_s390_64_retval): Likewise.
28977 (struct La_sparc32_regs): Likewise.
28978 (struct La_sparc32_retval): Likewise.
28979 (struct La_sparc64_regs): Likewise.
28980 (struct La_sparc64_retval): Likewise.
28981 (struct audit_ifaces): Remove architecture-specific pltenter and
28982 pltexit members.
28983 * sysdeps/i386/ldsodefs.h: New file.
28984 * sysdeps/powerpc/ldsodefs.h: Likewise.
28985 * sysdeps/s390/ldsodefs.h: Likewise.
28986 * sysdeps/sh/ldsodefs.h: Likewise.
28987 * sysdeps/sparc/ldsodefs.h: Likewise.
28988 * sysdeps/x86_64/ldsodefs.h: Likewise.
28989
354691b7
MP
289902012-07-25 Marek Polacek <polacek@redhat.com>
28991
28992 [BZ #6808]
28993 * math/libm-test.inc (yn_test): Add another test.
28994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28995 to ERANGE when the result is +-Inf.
28996 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28997 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28998 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28999 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29000
bf9e2071
JM
290012012-07-24 Joseph Myers <joseph@codesourcery.com>
29002
29003 * conform/data/time.h-data (NULL): Use macro-constant. Require
29004 equal to 0.
29005 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29006 clock_t.
29007 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29008
57633811
TS
290092012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29010
29011 * configure.in <sysdeps resolving>: Correct printing
29012 Implies_before.
29013 * configure: Regenerate.
29014
c23c33b0
TS
290152012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29016
29017 * math/w_ilogb.c: Include <limits.h>.
29018 * math/w_ilogbl.c: Likewise.
29019
b5982523
JM
290202012-07-20 Joseph Myers <joseph@codesourcery.com>
29021
29022 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29023 va_copy. Document allowing for unavailable va_copy only as
29024 pre-C99 compatibility.
29025 * manual/string.texi (Copying and Concatenation): Use va_copy
29026 instead of __va_copy in concat example.
29027
ac4ea442
PT
290282012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29029
29030 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29031 (__sendto): Use create_address_port. Initialize APORT and deallocate
29032 it if not null.
29033
f98eafbd
PT
29034 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29035 with O_NOLINK passed to __file_name_lookup.
29036
898c7aab
PT
29037 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29038 with O_NOLINK passed to __file_name_lookup.
29039
0ced335a
PT
29040 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29041 negative N or less than NGIDS.
29042
b3404dbd
PT
29043 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29044 type to string_t. Set ERANGE as errno and return it if NAME is not big
29045 enough. Use memcpy instead of strncpy.
29046
0f48659e
JM
290472012-07-20 Joseph Myers <joseph@codesourcery.com>
29048
29049 * elf/Makefile (check-data): Remove.
29050 (localplt.data): New vpath directive.
29051 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29052 instead of $(check-data).
29053 * scripts/data/localplt-generic.data: Move to ...
29054 * sysdeps/generic/localplt.data: ... here.
29055 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29056 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29057 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29059 ... here.
29060 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29062 ... here.
29063 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29065 ... here.
29066 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29068 ... here.
29069 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29071 ... here.
29072 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29074 ... here.
29075
d37cbdaa
AZ
290762012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29077
29078 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29079 PPC32 and PPC64 files.
29080 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29081 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29082
46f85fc2
AK
290832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29084
29085 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29086 __makecontext_ret to ...
29087 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29088 ... here and call exit if uc_link is NULL. New file.
29089 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29090 __makecontext_ret.S.
29091 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29092 __makecontext_ret to ...
29093 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29094 ... here and call exit if uc_link is NULL. New file.
29095 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29096 __makecontext_ret.S.
29097
08f43f9b
AK
290982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29099
29100 * elf/elf.h (R_390_IRELATIVE): New definition.
29101 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29102 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29103 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29104 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29105 (elf_machine_lazy_rel): Likewise.
29106 * sysdeps/s390/dl-irel.h: New file.
29107 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29108 * sysdeps/s390/s390-64/memset.S: New asm code.
29109 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29110 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29111 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29112 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29113 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29114 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29115 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29116 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29117 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29118 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29119 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29120 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29121 * sysdeps/s390/s390-32/memset.S: New asm code.
29122 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29123
3b05db33
MP
291242012-07-17 Marek Polacek <polacek@redhat.com>
29125
29126 [BZ #14349]
29127 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29128 * sysdeps/s390/s390-64/configure.in: Likewise.
29129 * sysdeps/sparc/configure.in: Likewise.
29130 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29131 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29132 * sysdeps/i386/configure.in: Likewise.
29133 * sysdeps/x86_64/configure.in: Likewise.
29134 * sysdeps/sh/configure.in: Likewise.
29135 * sysdeps/s390/s390-32/configure: Regenerated.
29136 * sysdeps/s390/s390-64/configure: Likewise.
29137 * sysdeps/x86_64/configure: Likewise.
29138 * sysdeps/sh/configure: Likewise.
29139 * sysdeps/powerpc/powerpc64/configure: Likewise.
29140 * sysdeps/powerpc/powerpc32/configure: Likewise.
29141 * sysdeps/sparc/configure: Likwise.
29142 * sysdeps/i386/configure: Likewise.
29143
a66877c6
MP
29144 * elf/dl-open.c: Comment fixes.
29145
cfc82fd8
JM
291462012-07-17 Joseph Myers <joseph@codesourcery.com>
29147
bd29910a
JM
29148 * Makefile [CXX] (check-data): Remove.
29149 [CXX] (c++-types.data): New vpath directive.
29150 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29151 vpath. Do not allow for C++ type data being missing.
29152 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29153 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29154 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29155 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29156 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29157 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29158 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29160 ... here.
29161 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29163 ... here.
29164 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29166 ... here.
29167 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29169 ... here.
29170 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29172 ... here.
29173 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29175 ... here.
29176 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29178 ... here.
29179 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29181
cfc82fd8
JM
29182 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29183 definitions to architecture-specific files.
29184 (TLS_IE): Likewise.
29185 (TLS_LD): Likewise.
29186 (TLS_GD): Likewise.
29187 * sysdeps/i386/tls-macros.h: New file.
29188 * sysdeps/powerpc/tls-macros.h: Likewise.
29189 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29190 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29191 * sysdeps/sh/tls-macros.h: Likewise.
29192 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29193 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29194 * sysdeps/x86_64/tls-macros.h: Likewise.
29195
f7db3170
TS
291962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29197
07cbfc23
TS
29198 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29199 zero value for regular exit case.
29200
f7db3170
TS
29201 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29202 (__start_context): Preserve zero value for regular exit case.
29203
dc97c227
TS
292042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29205 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29206
29207 * manual/setjmp.texi (setcontext): Clarify normal process
29208 termination when uc_link is the null pointer.
29209 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29210 exit call.
29211
d0cd7d02
AS
292122012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29213
29214 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29215 preprocessor. Test for each exception mask separately.
29216
dd318934
AJ
292172012-07-16 Andreas Jaeger <aj@suse.de>
29218
29219 * po/ru.po: Update from translation team.
29220
8048311a
JM
292212012-07-15 Joseph Myers <joseph@codesourcery.com>
29222
29223 * conform/data/string.h-data (NULL): Use macro-constant. Require
29224 equal to 0.
29225 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29226 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29227 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29228 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29229 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29230
b637d46e
AJ
292312012-07-13 Andreas Jaeger <aj@suse.de>
29232
29233 * po/fr.po: Update from translation team.
29234
541428fe
MP
292352012-07-12 Marek Polacek <polacek@redhat.com>
29236
29237 [BZ #14173]
29238 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29239 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29240 loop condition.
29241
ec332e94
JM
292422012-07-12 Joseph Myers <joseph@codesourcery.com>
29243
29244 [BZ #13717]
29245 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29246 Change to 2.4.1 where previously 2.4.0.
29247 * sysdeps/unix/sysv/linux/configure: Regenerated.
29248 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29249 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29250 version.
29251 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29252 (__ASSUME_AT_CLKTCK): Remove.
29253 (__ASSUME_AT_PAGESIZE): Likewise.
29254 (__ASSUME_AT_XID): Likewise.
29255 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29256 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29257 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29258 unconditionally.
29259 (HAVE_AUX_PAGESIZE): Likewise.
29260 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29261 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29262 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29263
7b6e99be
JB
292642012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29265
29266 [BZ #14307]
29267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29268 the temporary buffer used to invoke __gethostbyname2_r,
29269 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29270 host_data / struct gaih_addrtuple.
29271 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29272 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29273 header file nss/nsswitch.h.
29274 * nss/nsswitch.h (global scope): Add definition of implementation
29275 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29276 resolv/nss_dns/dns-host.c).
29277
608404eb
AJ
292782012-07-11 Andreas Jaeger <aj@suse.de>
29279
29280 * po/fr.po: Update from translation team.
29281
71220aca
AJ
29282 * po/sv.po: Update from translation team
29283 * po/fr.po: Another update from translation team.
29284
28cfe843
AZ
292852012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29286
29287 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29288 for subnormals or multiply small sinh result by itself.
29289 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29291
6b90f981
DM
292922012-07-11 David S. Miller <davem@davemloft.net>
29293
29294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29295
c6825772
AS
292962012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29297
29298 [BZ #14347]
29299 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29300 (INTERNAL_MARK): Shift it here.
29301
7b8e0d49
MP
293022012-07-10 Marek Polacek <polacek@redhat.com>
29303
29304 [BZ #14151]
29305 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29306 libc_cv_asm_global_directive with .globl.
29307 * configure: Regenerated.
29308 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29309 with .globl.
29310 * sysdeps/i386/configure: Regenerated.
29311 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29312 with .globl.
29313 * sysdeps/x86_64/configure: Regenerated.
29314 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29315 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29316 * elf/tst-unique2mod2.c: Likewise.
29317 * elf/tst-unique2mod1.c: Likewise.
29318 * elf/tst-unique1mod2.c: Likewise.
29319 * elf/tst-unique1mod1.c: Likewise.
29320 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29321 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29322 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29323 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29324 * sysdeps/mach/sysdep.h: Likewise.
29325 * sysdeps/i386/sysdep.h: Likewise.
29326 * sysdeps/i386/i386-mcount.S: Likewise.
29327 * sysdeps/x86_64/_mcount.S: Likewise.
29328 * sysdeps/x86_64/sysdep.h: Likewise.
29329 * sysdeps/sh/_mcount.S: Likewise.
29330 * sysdeps/sh/sysdep.h: Likewise.
29331 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29332 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29333 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29334 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29335 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29336 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29337 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29338 * locale/localeinfo.h: Likewise.
29339 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29340 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29341
6c55cda3
RM
293422012-07-09 Roland McGrath <roland@hack.frob.com>
29343
29344 [BZ #14336]
29345 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29346 system".
29347 * manual/message.texi (The Uniforum approach): Likewise.
29348 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29349 (glibc iconv Implementation): Likewise.
29350
638a572e
JM
293512012-07-09 Joseph Myers <joseph@codesourcery.com>
29352
29353 [BZ #14337]
29354 * math/s_clog.c (__clog): Avoid scaling a value down where that
29355 could result in underflow.
29356 * math/s_clog10.c (__clog10): Likewise.
29357 * math/s_clog10f.c (__clog10f): Likewise.
29358 * math/s_clog10l.c (__clog10l): Likewise.
29359 * math/s_clogf.c (__clogf): Likewise.
29360 * math/s_clogl.c (__clogl): Likewise.
29361 * math/libm-test.inc (clog_test): Add more tests.
29362 (clog10_test): Likewise.
29363 * sysdeps/i386/fpu/libm-test-ulps: Update.
29364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29365
261f4859
AS
293662012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29367
0abaf3e4
AS
29368 [BZ #14283]
29369 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29370 by 7 not 8 to examine high bit of fractional part.
29371
261f4859
AS
29372 [BZ #14042]
29373 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29374 for call to __mcount_internal.
29375 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29376 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29377 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29378
f17ac40d
JM
293792012-07-06 Joseph Myers <joseph@codesourcery.com>
29380
9ad63c23
JM
29381 [BZ #14154]
29382 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29383 approximation for values within 0x1p-13f of an odd multiple of
29384 pi/4.
29385 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29386 exception. Add more tests.
29387 * sysdeps/i386/fpu/libm-test-ulps: Update.
29388
f17ac40d
JM
29389 [BZ #6778]
29390 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29391 inputs and return -1 for them. Do not check for +Inf in case not
29392 reachable for +Inf.
29393 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29394 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29395 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29396 and return -1 for them. Do not check for +Inf in case not
29397 reachable for +Inf.
29398 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29399 define.
29400 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29401 and return -1 for them. Do not check for +Inf in case not
29402 reachable for +Inf.
29403 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29404 spurious underflow.
29405 * sysdeps/i386/fpu/libm-test-ulps: Update.
29406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29407
fb21f89b
MF
294082012-07-06 Mike Frysinger <vapier@gentoo.org>
29409
29410 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29411
cdfe2c5e
JM
294122012-07-05 Joseph Myers <joseph@codesourcery.com>
29413
29414 [BZ #14157]
29415 [BZ #14331]
29416 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29417 could result in spurious underflow. Scale down values above
29418 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29419 * math/s_csqrtf.c (__csqrtf): Likewise.
29420 * math/s_csqrtl.c (__csqrtl): Likewise.
29421 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29422 spurious underflow.
29423 * sysdeps/i386/fpu/libm-test-ulps: Update.
29424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29425
70d35b67
AS
294262012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29427
704bc459
AS
29428 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29429 xopen-msg.sed.
29430 * catgets/xopen-msg.awk: New file.
29431 * catgets/xopen-msg.sed: Removed.
29432
70d35b67
AS
29433 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29434 po2text.sed.
29435 * intl/po2test.awk: New file.
29436 * intl/po2test.sed: Removed.
29437
ca61cf32
JM
294382012-07-04 Joseph Myers <joseph@codesourcery.com>
29439
29440 [BZ #14328]
29441 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29442 or multiply small sinh result by itself.
29443 * math/s_ctanf.c (__ctanf): Likewise.
29444 * math/s_ctanh.c (__ctanh): Likewise.
29445 * math/s_ctanhf.c (__ctanhf): Likewise.
29446 * math/s_ctanhl.c (__ctanhl): Likewise.
29447 * math/s_ctanl.c (__ctanl): Likewise.
29448 * math/libm-test.inc (ctan_test_tonearest): New function.
29449 (ctan_test_towardzero): Likewise.
29450 (ctan_test_downward): Likewise.
29451 (ctan_test_upward): Likewise.
29452 (ctanh_test_tonearest): Likewise.
29453 (ctanh_test_towardzero): Likewise.
29454 (ctanh_test_downward): Likewise.
29455 (ctanh_test_upward): Likewise.
29456 (main): Call these new functions.
29457 * sysdeps/i386/fpu/libm-test-ulps: Update.
29458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29459
ca48a46a
MF
294602012-07-03 Mike Frysinger <vapier@gentoo.org>
29461
29462 * .gitignore: Delete /ports entry.
29463
9d63d37d
AJ
294642012-07-03 Andreas Jaeger <aj@suse.de>
29465
29466 * po/bg.po: Update from translation team.
29467 * po/cs.po: Likewise.
29468 * po/de.po: Likewise.
29469 * po/hr.po: Likewise.
29470 * po/nl.pl: Likewise.
29471 * po/pl.po: Likewise.
29472 * po/vi.po: Likewise.
29473
370ca3d2
JM
294742012-07-03 Joseph Myers <joseph@codesourcery.com>
29475
95f5a9a8
JM
29476 * Makeconfig [!+link] (+link-before-libc): New variable.
29477 [!+link] (+link-after-libc): Likewise.
29478 [!+link] (+link-tests): Likewise.
29479 [!+link] (+link): Define in terms of $(+link-before-libc) and
29480 $(+link-after-libc).
29481 [!+link-static] (+link-static-before-libc): New variable.
29482 [!+link-static] (+link-static-after-libc): Likewise.
29483 [!+link-static] (+link-static-tests): Likewise.
29484 [!+link-static] (+link-static): Define in terms of
29485 $(+link-static-before-libc) and $(+link-static-after-libc).
29486 [build-shared] (link-libc-before-gnulib): New variable.
29487 [build-shared] (link-libc-tests): Likewise.
29488 [build-shared] (link-libc): Define in terms of
29489 $(link-libc-before-gnulib).
29490 [!build-shared] (link-libc-tests): New variable.
29491 (link-libc-static-tests): New variable.
29492 [!gnulib] (gnulib-arch): New variable.
29493 [!gnulib] (gnulib-tests): Likewise.
29494 [!gnulib] (static-gnulib-arch): Likewise.
29495 [!gnulib] (static-gnulib-tests): Likewise.
29496 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29497 Define with "=" instead of ":=".
29498 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29499 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29500 * Rules (binaries-all-notests): New variable.
29501 (binaries-all-tests): Likewise.
29502 (binaries-static-notests): Likewise.
29503 (binaries-static-tests): Likewise.
29504 (binaries-all): Define using $(binaries-all-notests) and
29505 $(binaries-all-tests).
29506 (binaries-static): Define using $(binaries-static-notests) and
29507 $(binaries-static-tests).
29508 (binaries-shared-tests): New variable.
29509 (binaries-shared-notests): Likewise.
29510 (binaries-shared): Remove variable.
29511 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29512 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29513 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29514 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29515 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29516 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29517 * elf/Makefile (sln-modules): New variable.
29518 (extra-objs): Add $(sln-modules:=.o).
29519 (ldconfig-modules): Add static-stubs.
29520 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29521 * elf/static-stubs.c: New file.
29522
7a845b2c
JM
29523 [BZ #14283]
29524 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29525 by 7 not 8 to examine high bit of fractional part. Use volatile
29526 variables when splitting into final array of floats if
29527 __FLT_EVAL_METHOD__ != 0.
29528 * math/libm-test.inc (cos_test): Add another test.
29529 (sin_test): Likewise.
29530 * sysdeps/i386/fpu/libm-test-ulps: Update.
29531
e2283f38
JM
29532 [BZ #14273]
29533 * math/libm-test.inc (cosh_test): Add more tests.
29534
370ca3d2
JM
29535 * version.h (RELEASE): Set to "development".
29536 (VERSION): Set to "2.16.90".
29537
ee9247c3
CD
295382012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29539
29540 * NEWS: Update copyright. Remove last-updated date.
29541 Mention math library bug fixes and timezone data changes.
29542 * README: Mention GNU/Hurd, x32, and HPPA support status.
29543
4648c381
TS
295442012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29545
29546 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29547
aac78a43
AJ
295482012-06-27 Andreas Jaeger <aj@suse.de>
29549
29550 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29551
ed3dbfad
AJ
295522012-06-25 Andreas Jaeger <aj@suse.de>
29553
29554 * sysdeps/s390/fpu/libm-test-ulps: Update.
29555
4d0ee855
AS
295562012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29557 Thomas Schwinge <thomas@codesourcery.com>
29558
29559 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29560 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29561 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29562 fanotify_mark.
29563
af1bce34
TS
295642012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29565
a9fa33ba
TS
29566 * sysdeps/mach/start.c: Remove file.
29567 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29568 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29569 * sysdeps/sh/init-first.c: Likewise.
29570
58f902b8
TS
29571 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29572 registers for frame unwinding purposes, add CFI directives.
29573 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29574 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29575 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29576 Likewise.
29577
1518f58b
TS
29578 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29579 __fortify_fail returning.
29580 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29581
db9b5059
TS
29582 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29583 sysdeps/sh/____longjmp_chk.S.
29584 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29585 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29586 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29587 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29588
967705fe
TS
29589 * sysdeps/sh/abort-instr.h: New file.
29590 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29591 process in case exit returns.
29592
a9def8c4
TS
29593 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29594 initialize the GOT register before use.
29595
2a649725
TS
29596 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29597 calculation of ARGC > 4.
29598
af1bce34
TS
29599 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29600 meaningful names to some local labels.
29601
d230f50a
KK
296022012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29603 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29604
29605 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29606 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29607 (__arch_compare_and_exchange_val_16_acq): Likewise.
29608 (__arch_compare_and_exchange_val_32_acq): Likewise.
29609 (atomic_exchange_and_add): Fix gUSA sequence.
29610 (atomic_add): Likewise.
29611 (atomic_add_negative): Likewise.
29612 (atomic_add_zero): Likewise.
29613 (atomic_bit_test_set): Likewise.
29614
0479b305
AS
296152012-06-22 Andreas Schwab <schwab@redhat.com>
29616
29617 [BZ #13579]
29618 * include/link.h (struct link_map): Add l_free_initfini.
29619 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29620 l_initfini.
29621 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29622 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29623 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29624 set.
29625
0e3933b9
CD
296262012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29627
29628 * configure.in: Use AC_LANG_SOURCE.
29629 * configure: Regenerate.
29630
4248b1b1
RM
296312012-06-22 Roland McGrath <roland@hack.frob.com>
29632
29633 * configure.in (libc_cv_localstatedir): New substituted variable.
29634 * configure: Regenerated.
29635 * config.make.in (localstatedir): New variable, substituted from
29636 libc_cv_localstatedir.
29637 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29638 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29639 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29640 * sysdeps/gnu/configure: Regenerated.
29641
006dd861
JL
296422012-06-21 Jeff Law <law@redhat.com>
29643
29644 [BZ #14277]
29645 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29646 free. Simplify list management for _LIBC case.
29647
79662d42
JM
296482012-06-21 Joseph Myers <joseph@codesourcery.com>
29649
b7abb4bf
JM
29650 [BZ #14273]
29651 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29652 Clear sign bit of 64-bit integer value before comparing against
29653 overflow value.
29654
79662d42
JM
29655 * sysdeps/mach/configure: Regenerated.
29656
1f150908
L
296572012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29658
29659 [BZ #14278]
29660 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29661
28363bbf
JL
296622012-06-21 Jeff Law <law@redhat.com>
29663
29664 [BZ #13882]
29665 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29666 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29667 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29668 * elf/dl-open.c (dl_open_worker): Likewise.
29669
09615db4
CD
296702012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29671
29672 * scripts/list-sources.sh: Scan PORTS for translations.
29673 * po/libc.pot: Regenerated.
29674
2174c6dd
AJ
296752012-06-21 Andreas Jaeger <aj@suse.de>
29676
29677 [BZ #12194]
29678 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29679 warning.
29680 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29681 * bits/byteswap-16.h (__bswap_16): Likewise.
29682 * bits/byteswap.h (__bswap_constant_16): Likewise.
29683
3ee947b1
L
296842012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29685
29686 [BZ #14117]
a2f34833
L
29687 * sysdeps/i386/fpu_control.h: Removed.
29688 * sysdeps/x86_64/fpu_control.h: Moved to ...
29689 * sysdeps/x86/fpu_control.h: Here.
29690
3ee947b1
L
29691 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29692 (_FPU_SETCW): Likewise.
29693
ed1825f8
L
296942012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29695
25f1282a
L
29696 [BZ #14117]
29697 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29698 * sysdeps/x86/fpu/bits/mathinline.h: This.
29699 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29700
ed1825f8
L
29701 [BZ #14050]
29702 [BZ #14117]
29703 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29704 functions if __x86_64__ is defined.
29705
36d54b74
CLT
297062012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29707
29708 * string/endian.h: Add !__ASSEMBLER__ condition for including
29709 conversion interfaces.
29710
10285c21
JM
297112012-06-15 Joseph Myers <joseph@codesourcery.com>
29712
29713 [BZ #14241]
29714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29715 of ABS(x) in calculating zero to negative powers other than odd
29716 integers.
29717 * math/libm-test.inc (pow_test): Add more tests.
29718
06c5abbd
AJ
297192012-06-15 Andreas Jaeger <aj@suse.de>
29720
29721 * manual/contrib.texi (Contributors): Update entry of Liubov
29722 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29723 Machado Filho.
29724
a3aeac40
CH
297252012-06-15 Cyril Hrubis <metan@ucw.cz>
29726
29727 * string/string.h: Add __wur to GNU version of strerror_r.
29728
49bdf4c1
L
297292012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29730
29731 [BZ #14229]
29732 * string/Makefile (tests): Add tst-strtok_r.
29733 * string/tst-strtok_r.c: New file.
29734 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29735 RAX_LP/RDX_LP on SAVE_PTR.
29736
834f9b8d
RM
297372012-06-14 Roland McGrath <roland@hack.frob.com>
29738
29739 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29740
75fa1921
JM
297412012-06-14 Joseph Myers <joseph@codesourcery.com>
29742
29743 * libm_test.inc (csqrt_test): Allow more spurious underflow
29744 exceptions.
29745 (j0_test): Likewise.
29746 (j1_test): Likewise.
29747 (y0_test): Likewise.
29748 (y1_test): Likewise.
29749
771766df
CD
297502012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29751
29752 * po/Makefile (libc.pot): Use UTF-8 charset.
29753
ceb9e56b
PP
297542012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29755
29756 [BZ #14210]
29757 Suppress sign-conversion warning from FD_SET.
29758 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29759 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29760 not unsigned long int.
29761 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29762
ddb28975
L
297632012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29764
29765 [BZ #14050]
29766 [BZ #14117]
29767 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29768 __extern_always_inline instead of __extern_inline.
29769 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29770 (__signbit): Likewise.
29771 (__signbitl): Support C++ namespace.
29772 (lrintf): New inline function.
29773 (lrint): Likewise.
29774 (llrintf): Likewise.
29775 (llrint): Likewise.
29776 (fmaxf): Likewise.
29777 (fmax): Likewise.
29778 (fminf): Likewise.
29779 (fmin): Likewise.
29780 (rint): Likewise.
29781 (rintf): Likewise.
29782 (ceil): Likewise.
29783 (ceilf): Likewise.
29784 (floor): Likewise.
29785 (floorf): Likewise.
29786 (nearbyint): Likewise.
29787 (nearbyintf): Likewise.
29788
d7b4fb26
TS
297892012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29790
29791 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29792 non-default versions.
29793
eb55f5c2
RM
297942012-06-11 Roland McGrath <roland@hack.frob.com>
29795
29796 [BZ #14218]
29797 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29798
366af02c
TS
297992012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29800
99ff6e5c
TS
29801 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29802 (FE_UPWARD, FE_DOWNWARD): Don't define.
29803 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29804 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29805
366af02c
TS
29806 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29807 reading it.
29808 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29809 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29810
793ea851
KK
298112012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29812
29813 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29815 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29816 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29817
a728a38f
L
298182012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29819
29820 [BZ #14117]
c08010c7
L
29821 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29822 * sysdeps/i386/fpu/Implies: New file.
29823 * sysdeps/x86_64/fpu/Implies: Likewise.
29824 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29825 * sysdeps/x86/fpu/bits/fenv.h: This.
29826
a728a38f
L
29827 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29828 __SSE_MATH__.
29829
6e230d11
SP
298302012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29831
29832 [BZ #14134]
29833 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29834 character 0xffff that matches the last element of the
29835 conversion table.
29836
1b671feb
AZ
298372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29838
29839 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29840 fmodl commit.
29841
6043738b
AZ
298422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29843
29844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29845 values higher than 25.6283.
29846
34ae0b32
AZ
298472012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29848
29849 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29850 subnormal exponent extraction and add some __builtin_expect.
29851 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29852 Fix for subnormal mantissa calculation.
29853
1214ec8f
MF
298542012-06-04 Mike Frysinger <vapier@gentoo.org>
29855
29856 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29857 cpu2 is -1 and errno is not ENOSYS.
29858
f3d1f93c
L
298592012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29860
29861 [BZ #14117]
0e4a3cd7
L
29862 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29863 * sysdeps/x86/bits/string.h: This.
29864 * sysdeps/x86_64/bits/string.h: Removed.
29865
6704c645
L
29866 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29867 if not compiling for x86-64, but compiling for >= i486.
29868
48495318
L
29869 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29870 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29871
14adcbfc
L
29872 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29873 New macro from Linux kernel 3.4.0.
29874 (FP_XSTATE_MAGIC2): Likewise.
29875 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29876 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29877 (struct _fpx_sw_bytes): New struct.
29878 (struct _xsave_hdr): Likewise.
29879 (struct _ymmh_state): Likewise.
29880 (struct _xstate): Likewise.
29881
68e408ab
L
29882 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29883 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29884 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29885 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29886 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29887 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29888
f3d1f93c
L
29889 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29890 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29891 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29892 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29893 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29894 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29895
d9dc34cd
TMQMF
298962012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29897
29898 [BZ #13743]
29899 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29900 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29901 (sysdep_headers): Include sys/platform/ppc.h.
29902 * sysdeps/powerpc/test-gettimebase.c: Test for
29903 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29904 * manual/Makefile (appendices): Include platform.texi.
29905 * manual/contrib.texi (Contributors): Update @node pointers.
29906 * manual/maint.texi (Maintenance): Likewise.
29907 (Platform): New node.
29908 * manual/platform.texi: New file. Document the new features.
29909
4af3879c
SP
299102012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29911 Jakub Jelinek <jakub@redhat.com>
29912
29913 [BZ #14188]
29914 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29915 where __builtin_expect is unavailable.
29916
2fd6ff13
DM
299172012-06-03 David S. Miller <davem@davemloft.net>
29918
29919 * stdlib/longlong.h: Updated from GCC.
29920
173f7220
AS
299212012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29922
29923 [BZ #14042]
29924 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29925 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29926 __mcount_internal.
29927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29928 (GLIBC_2.16): Likewise.
29929
f34a1c6f
L
299302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29931
29932 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29933
88a4576f
JM
299342012-06-01 Joseph Myers <joseph@codesourcery.com>
29935
ea32bcdd
JM
29936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29937 (default-abi): New variable.
29938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29939 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29940 variable.
29941 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29942 Likewise.
29943 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29944 Likewise.
29945 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29946 Likewise.
29947
88a4576f
JM
29948 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29949 definition. Document in comment.
29950
402fe938
DM
299512012-06-01 David S. Miller <davem@davemloft.net>
29952
29953 * stdlib/longlong.h: Updated from GCC.
29954
3553723f
L
299552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29956
29957 [BZ #14117]
3bd872c4
L
29958 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29959 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29960 sys/debugreg.h sys/io.h here.
29961 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29962 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29963 sys/io.h.
29964 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29965 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29966 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29967 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29968 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29969 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29970
3553723f
L
29971 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29972 Define only if __x86_64__ is defined.
29973
4842e4fe
JM
299742012-06-01 Joseph Myers <joseph@codesourcery.com>
29975
c5bfe3d5
JM
29976 [BZ #14048]
29977 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29978 Use int64_t for variable i.
29979 * math/libm-test.inc (fmod_test): Add more tests.
29980
4842e4fe
JM
29981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29982 z computation is not scheduled after fetestexcept.
29983 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29984 Use math_force_eval instead of asm to ensure calculation scheduled
29985 before exception test.
29986 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29987 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29988
efb73488
AJ
299892012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29990
29991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29992 computation is not scheduled after fetestexcept.
29993
29bcce7c
L
299942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29995
29996 [BZ #14117]
29997 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29998 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29999
73a68f94
AZ
300002012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30001
30002 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30003 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30004
67b6df78
L
300052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30006
edf2933a 30007 [BZ #14117]
ebc64a18
L
30008 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30009 <bits/wordsize.h>.
30010 (__WCHAR_MIN): Support __WORDSIZE == 64.
30011 (__WCHAR_MAX): Likewise.
30012
edf2933a
L
30013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30014 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30015
57c6cf40
L
30016 [BZ #14183]
30017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30018 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30019
67b6df78 30020 [BZ #14117]
8eb6281e
L
30021 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30022 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30023
aac639f4
L
30024 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30025 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30026
67b6df78
L
30027 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30028 Defined to 1 if __x86_64__ isn't defined.
30029 (_STAT_VER_LINUX_OLD): New.
30030 (st_atime): Remove duplicate.
30031 (st_mtime): Likewise.
30032 (st_ctime): Likewise.
30033
1c2cfe81
DM
300342012-05-31 David S. Miller <davem@davemloft.net>
30035
30036 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30037 entries.
30038
5be8418c
AS
300392012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30040
e7725326
AS
30041 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30042 gen-libm-test.pl.
30043
5be8418c
AS
30044 [BZ #14132]
30045 * elf/dl-reloc.c: Include <_itoa.h>.
30046 (_dl_reloc_bad_type): Remove use of INTUSE.
30047 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30048 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30049 * stdio-common/psiginfo.c (psiginfo): Likewise.
30050 * stdio-common/psignal.c (psignal): Likewise.
30051 * string/strsignal.c (strsignal): Likewise.
30052 * include/signal.h (_sys_siglist): Declare hidden proto.
30053 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30054 INTVARDEF with libc_hidden_data_def.
30055 * stdio-common/itoa-udigits.c: Likewise.
30056 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30057 (_itoa_lower_digits_internal): Remove declaration.
30058 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30059 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30060 (_sys_sigabbrev_internal): Remove aliases.
30061 (_sys_siglist): Define hidden alias.
30062
507352f1
MT
300632012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30064
30065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30066 bits/sysctl.h.
30067
42bbb1c3
L
300682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30069
30070 [BZ #14117]
6bd784b6
L
30071 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30072 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30073
8bca20f0
L
30074 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30075 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30076 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30077 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30078 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30079 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30080
f9e890a9
L
30081 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30082 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30083 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30084
471101a1
L
30085 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30086 with __addr.
30087 (insw): Likewise.
30088 (insl): Likewise.
30089 (outsb): Likewise.
30090 (outsw): Likewise.
30091 (outsl): Likewise.
30092
6451c862
L
30093 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30094 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30095 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30096
a254b8c9
L
30097 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30098 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30100 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30101 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30102 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30103
b8dfdd92
L
30104 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30105 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30106
578cd270
L
30107 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30108 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30109
de662f5f
L
30110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30112 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30113
25653439
L
30114 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30115 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30116 to ...
30117 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30118
6bad24a0
L
30119 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30120 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30121 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30122
42bbb1c3
L
30123 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30124 for x86-64.
30125 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30126
2d10d547
JM
301272012-05-31 Joseph Myers <joseph@codesourcery.com>
30128
30129 * math/math.h (M_El): Use two more decimal places.
30130 (M_LOG2El): Likewise.
30131 (M_LOG10El): Likewise.
30132 (M_LN2l): Likewise.
30133 (M_LN10l): Likewise.
30134 (M_PIl): Likewise.
30135 (M_PI_2l): Likewise.
30136 (M_PI_4l): Likewise.
30137 (M_1_PIl): Likewise.
30138 (M_2_PIl): Likewise.
30139 (M_2_SQRTPIl): Likewise.
30140 (M_SQRT2l): Likewise.
30141 (M_SQRT1_2l): Likewise.
30142
f230c29b
DM
301432012-05-31 David S. Miller <davem@davemloft.net>
30144
30145 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30146 values between float registers.
30147 * sysdeps/sparc/sparc64/memset.S: Likewise.
30148 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30149
fed806c3
MF
301502012-05-31 Mike Frysinger <vapier@gentoo.org>
30151
30152 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30153 -D_FORTIFY_SOURCE=1.
30154 (CPPFLAGS-tst-longjmp_chk.c): Define.
30155 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30156 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30157 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30158 CFLAGS-tst-wchar-h.c.
30159
30917259
MP
301602012-05-31 Marek Polacek <polacek@redhat.com>
30161
30162 [BZ #14132]
30163 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30164 __endmntent_internal): Remove declaration.
30165 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30166 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30167 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30168
1c58d5dc
DM
301692012-05-30 David S. Miller <davem@davemloft.net>
30170
30171 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30172 (___Q_simulate_exceptions): Use real FP ops rather than writing
30173 into the %fsr.
30174 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30175 Likewise.
30176
7dc00e0d
L
301772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30178
30179 [BZ #14117]
0bd53985
L
30180 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30181 * sysdeps/x86/bits/xtitypes.h: This.
30182
3a257e66
L
30183 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30184 * sysdeps/x86/bits/wordsize.h: This.
30185
62f62904
L
30186 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30187 * sysdeps/x86/bits/huge_vall.h: This.
30188
404fe9d9
L
30189 * sysdeps/i386/bits/select.h: Removed.
30190 * sysdeps/x86_64/bits/select.h: Renamed to ...
30191 * sysdeps/x86/bits/select.h: This.
30192
d48d0446
L
30193 * sysdeps/i386/bits/setjmp.h: Removed.
30194 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30195 * sysdeps/x86/bits/setjmp.h: This.
30196
7dc00e0d
L
30197 * sysdeps/i386/bits/mathdef.h: Removed.
30198 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30199 * sysdeps/x86/bits/mathdef.h: This.
30200
03277f8f
AS
302012012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30202
30203 [BZ #14132]
30204 * include/sys/socket.h (__connect_internal)
30205 (__libc_sa_len_internal): Remove declaration.
30206 (__connect, __libc_sa_len): Declare hidden_proto.
30207 (SA_LEN): Remove use of INTUSE.
30208 * socket/connect.c: Add libc_hidden_def.
30209 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30210 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30211 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30212 alias.
30213 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30214 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30215 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30216 of adding _internal alias.
30217
13764867
L
302182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30219
30220 [BZ #14117]
6bd97696
L
30221 * sysdeps/i386/bits/link.h: Removed.
30222 * sysdeps/i386/bits/linkmap.h: Likewise.
30223 * sysdeps/x86_64/bits/link.h: Renamed to ...
30224 * sysdeps/x86/bits/link.h: This.
30225 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30226 * sysdeps/x86/bits/linkmap.h: This.
30227
f726f0bb
L
30228 * sysdeps/i386/bits/endian.h: Removed.
30229 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30230 * sysdeps/x86/bits/endian.h: This.
30231
13764867
L
30232 * sysdeps/i386/bits/byteswap.h: Removed.
30233 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30234 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30235 * sysdeps/x86/bits/byteswap.h: This.
30236 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30237 * sysdeps/x86/bits/byteswap-16.h: This.
30238 * sysdeps/i386/Implies: Add x86.
30239 * sysdeps/x86_64/Implies: Likewise.
30240
ae251b0b
DM
302412012-05-30 David S. Miller <davem@davemloft.net>
30242
30243 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30244 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30245 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30246 (FP_TRAPPING_EXCEPTIONS): Define.
30247 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30248 (FP_TRAPPING_EXCEPTIONS): Define.
30249 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30250 subnormals only when inexact has been signalled or underflow
30251 exceptions are enabled.
30252 (_FP_PACK_CANONICAL): Likewise.
30253
d5c90867
L
302542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30255
30256 [BZ #14183]
30257 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30258 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30259
63f1549e
RH
302602012-05-30 Richard Henderson <rth@twiddle.net>
30261
8d8f2279
RH
30262 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30263 with #ifndef NOT_IN_libc.
30264
63f1549e
RH
30265 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30266 marked to avoid plt entry.
30267
0ab0291b
L
302682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30269
30270 [BZ #14112]
30271 * Makeconfig (default-abi): New macro.
30272 (abi-includes): Likewise.
30273 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30274 $(abi-$(default-abi)-lib-soname) for soname if defined.
30275 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30276 abi-variants.
30277 * Makefile (installed-stubs): Likewise.
30278 * include/stubs-biarch.h: Removed.
30279 * scripts/lib-names.awk: Only handle one library at a time.
30280 * scripts/soversions.awk: Remove WORDSIZE support.
30281 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30282 entries.
30283 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30284 Removed.
30285 (syscall-list-default-condition): Likewise.
30286 (syscall-list-default-condition): Likewise.
30287 (syscall-list-includes): Likewise.
30288 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30289 syscall-list-* with abi-*. Handle undefined abi-variants.
30290 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30291 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30292 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30293 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30294 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30295 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30296 Removed.
30297 (syscall-list-32-options): Likewise.
30298 (syscall-list-32-condition): Likewise.
30299 (syscall-list-64-options): Likewise.
30300 (syscall-list-64-condition): Likewise.
30301 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30302 macro.
30303 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30304 Renamed to ...
30305 (abi-*): This.
30306 (abi-64-ld-soname): New macro.
30307 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30308 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30309 Renamed to ...
30310 (abi-*): This.
30311 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30312 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30313
4da0431d
JM
303142012-05-30 Joseph Myers <joseph@codesourcery.com>
30315
3a85279c
JM
30316 * sysdeps/unix/sysv/linux/kernel-features.h
30317 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30318 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30319 include <kernel-features.h>.
30320 [!__NR_ftruncate64]: Remove conditional code.
30321 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30322 [__NR_ftruncate64]: Make code unconditional.
30323 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30324 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30325 include <kernel-features.h>.
30326 [!__NR_ftruncate64]: Remove conditional code.
30327 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30328 [__NR_ftruncate64]: Make code unconditional.
30329 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30331 include <kernel-features.h>.
30332 [!__NR_ftruncate64]: Remove conditional code.
30333 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30334 [__NR_ftruncate64]: Make code unconditional.
30335 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30337 include <kernel-features.h>.
30338 [!__NR_ftruncate64]: Remove conditional code.
30339 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30340 [__NR_ftruncate64]: Make code unconditional.
30341 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30342
4da0431d
JM
30343 * configure.in (libc_cv_fpie): Weaken to a compile test using
30344 LIBC_TRY_CC_OPTION.
30345 * configure: Regenerated.
30346
11ef492c
AK
303472012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30348
30349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30353 Refreshed.
30354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30360 Refreshed.
30361
d66ef399
DM
303622012-05-27 David S. Miller <davem@davemloft.net>
30363
30364 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30365 (___Q_zero): New.
30366 (__Q_simulate_exceptions): Return void. Change to simulate
30367 exceptions by writing into the %fsr.
30368 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30369 (__Qp_handle_exceptions): Likewise.
30370 (numbers): Delete.
30371 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30372 __Qp_handle_exceptions.
30373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30374 __Qp_handle_exceptions.
30375 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30376 as unused and give dummy FP_RND_NEAREST initializer.
30377 (FP_INHIBIT_RESULTS): Define.
30378 (___Q_simulate_exceptions): Update declaration.
30379 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30380 formatting.
30381 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30382 as unused and give dummy FP_RND_NEAREST initializer.
30383 (__Qp_handle_exceptions): Update declaration.
30384 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30385 formatting.
30386
04fb54b5
TS
303872012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30388
30389 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30390 the temporary FPU control word.
30391 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30392 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30393 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30394 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30395 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30396 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30397 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30398 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30399 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30400 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30401 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30402
3f99608f
KK
304032012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30404
30405 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30406 fields.
30407
65a4de4e
CLT
304082012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30409
30410 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30411 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30412 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30413 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30414 Likewise.
30415 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30416 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30417 Likewise.
30418
15749d40
UD
304192012-05-27 Ulrich Drepper <drepper@gmail.com>
30420
30421 * po/h.po: Update from translation team.
30422
25dbcb27
AS
304232012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30424
3d3f8e55
AS
30425 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30426
25dbcb27
AS
30427 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30428 handling of denormals.
30429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30430 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30431 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30432 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30433 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30436 Likewise.
30437
7ad47a80 304382012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30439
30440 [BZ #14152]
30441 * math/libm-test.inc (fma_test): Don't always expect underflow
30442 exception.
30443
9c6ea9fa
SP
304442012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30445
30446 [BZ #12416]
30447 * elf/tst-execstack.c: Include stackinfo.h.
30448 (do_test): Adjust test case to ensure that pthread_getattr_np
30449 behaviour remains the same after marking stack executable.
30450
a8239222
JM
304512012-05-25 Joseph Myers <joseph@codesourcery.com>
30452
30453 * sysdeps/unix/sysv/linux/kernel-features.h
30454 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30455 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30456 kernel-features.h.
30457 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30458 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30459 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30460 kernel-features.h.
30461 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30462 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30463
918b5606
L
304642012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30465
30466 * configure.in: Define the default includes to being none.
30467 * configure: Regenerated.
30468
3a097cc7
RM
304692012-05-25 Roland McGrath <roland@hack.frob.com>
30470
8422c9a5
RM
30471 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30472 * sysdeps/x86_64/setjmp.S: Likewise.
30473 * sysdeps/i386/bsd-setjmp.S: Likewise.
30474 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30475 * sysdeps/i386/setjmp.S: Likewise.
30476 * sysdeps/i386/__longjmp.S: Likewise.
30477 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30478 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30479
3a097cc7
RM
30480 * include/stap-probe.h: New file.
30481 * configure.in: Handle --enable-systemtap.
30482 * configure: Regenerated.
30483 * config.h.in (USE_STAP_PROBE): New #undef.
30484 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30485 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30486 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30487
21708942
JM
304882012-05-25 Joseph Myers <joseph@codesourcery.com>
30489
30490 [BZ #13717]
30491 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30492 to 2.4.0 where earlier.
30493 * sysdeps/unix/sysv/linux/configure: Regenerated.
30494 * sysdeps/unix/sysv/linux/i386/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/i386/fchown.c: Do not include
30499 <kernel-features.h>.
30500 [__ASSUME_32BITUIDS]: Make code unconditional.
30501 [!__ASSUME_32BITUIDS]: Remove conditional code.
30502 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30503 [__ASSUME_32BITUIDS]: Make code unconditional.
30504 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30505 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30506 <kernel-features.h>.
30507 [__ASSUME_32BITUIDS]: Make code unconditional.
30508 [!__ASSUME_32BITUIDS]: Remove conditional code.
30509 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30510 <kernel-features.h>.
30511 [__ASSUME_32BITUIDS]: Make code unconditional.
30512 [!__ASSUME_32BITUIDS]: Remove conditional code.
30513 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30514 <kernel-features.h>.
30515 [__ASSUME_32BITUIDS]: Make code unconditional.
30516 [!__ASSUME_32BITUIDS]: Remove conditional code.
30517 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30518 <kernel-features.h>.
30519 [__ASSUME_32BITUIDS]: Make code unconditional.
30520 [!__ASSUME_32BITUIDS]: Remove conditional code.
30521 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30522 <kernel-features.h>.
30523 [__ASSUME_32BITUIDS]: Make code unconditional.
30524 [!__ASSUME_32BITUIDS]: Remove conditional code.
30525 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30526 <kernel-features.h>.
30527 [__ASSUME_32BITUIDS]: Make code unconditional.
30528 [!__ASSUME_32BITUIDS]: Remove conditional code.
30529 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30530 <kernel-features.h>.
30531 [__ASSUME_32BITUIDS]: Make code unconditional.
30532 [!__ASSUME_32BITUIDS]: Remove conditional code.
30533 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30534 <kernel-features.h>.
30535 [__ASSUME_32BITUIDS]: Make code unconditional.
30536 [!__ASSUME_32BITUIDS]: Remove conditional code.
30537 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30538 <kernel-features.h>.
30539 [__ASSUME_32BITUIDS]: Make code unconditional.
30540 [!__ASSUME_32BITUIDS]: Remove conditional code.
30541 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30542 <kernel-features.h>.
30543 [__ASSUME_32BITUIDS]: Make code unconditional.
30544 [!__ASSUME_32BITUIDS]: Remove conditional code.
30545 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30546 <kernel-features.h>.
30547 [__NR_setresgid] (__setresgid): Do not declare.
30548 [__ASSUME_32BITUIDS]: Make code unconditional.
30549 [!__ASSUME_32BITUIDS]: Remove conditional code.
30550 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30551 <kernel-features.h>.
30552 [__NR_setresuid] (__setresuid): Do not declare.
30553 [__ASSUME_32BITUIDS]: Make code unconditional.
30554 [!__ASSUME_32BITUIDS]: Remove conditional code.
30555 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30556 <kernel-features.h>.
30557 [__ASSUME_32BITUIDS]: Make code unconditional.
30558 [!__ASSUME_32BITUIDS]: Remove conditional code.
30559 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30560 <kernel-features.h>.
30561 [__ASSUME_32BITUIDS]: Make code unconditional.
30562 [!__ASSUME_32BITUIDS]: Remove conditional code.
30563 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30564 <kernel-features.h>.
30565 [__ASSUME_32BITUIDS]: Make code unconditional.
30566 [!__ASSUME_32BITUIDS]: Remove conditional code.
30567 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30568 <kernel-features.h>.
30569 [__ASSUME_32BITUIDS]: Make code unconditional.
30570 [!__ASSUME_32BITUIDS]: Remove conditional code.
30571 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30572 <kernel-features.h>.
30573 [__ASSUME_32BITUIDS]: Make code unconditional.
30574 [!__ASSUME_32BITUIDS]: Remove conditional code.
30575 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30576 <kernel-features.h>.
30577 [__ASSUME_32BITUIDS]: Make code unconditional.
30578 [!__ASSUME_32BITUIDS]: Remove conditional code.
30579 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30580 <kernel-features.h>.
30581 [__ASSUME_32BITUIDS]: Make code unconditional.
30582 [!__ASSUME_32BITUIDS]: Remove conditional code.
30583 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30584 <kernel-features.h>.
30585 [__ASSUME_32BITUIDS]: Make code unconditional.
30586 [!__ASSUME_32BITUIDS]: Remove conditional code.
30587 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30588 <kernel-features.h>.
30589 [__ASSUME_32BITUIDS]: Make code unconditional.
30590 [!__ASSUME_32BITUIDS]: Remove conditional code.
30591 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30592 <kernel-features.h>.
30593 [__ASSUME_32BITUIDS]: Make code unconditional.
30594 [!__ASSUME_32BITUIDS]: Remove conditional code.
30595 * sysdeps/unix/sysv/linux/kernel-features.h
30596 (__ASSUME_SETRESUID_SYSCALL): Remove.
30597 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30598 (__ASSUME_32BITUIDS): Likewise.
30599 (__ASSUME_LDT_WORKS): Likewise.
30600 (__ASSUME_O_DIRECTORY): Likewise.
30601 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30602 architecture but not kernel version.
30603 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30604 (__ASSUME_MMAP2_SYSCALL): Likewise.
30605 (__ASSUME_STAT64_SYSCALL): Likewise.
30606 (__ASSUME_IPC64): Likewise.
30607 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30608 <kernel-features.h>.
30609 [__ASSUME_32BITUIDS]: Make code unconditional.
30610 [!__ASSUME_32BITUIDS]: Remove conditional code.
30611 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30612 <kernel-features.h>.
30613 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30614 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30615 132096]: Remove conditional code.
30616 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30617 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30618 <kernel-features.h>.
30619 [__ASSUME_32BITUIDS]: Make code unconditional.
30620 [!__ASSUME_32BITUIDS]: Remove conditional code.
30621 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30622 <kernel-features.h>.
30623 [__ASSUME_32BITUIDS]: Make code unconditional.
30624 [!__ASSUME_32BITUIDS]: Remove conditional code.
30625 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30626 <kernel-features.h>.
30627 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30628 unconditional.
30629 (__setresgid): Do not declare.
30630 [__ASSUME_32BITUIDS]: Make code unconditional.
30631 [!__ASSUME_32BITUIDS]: Remove conditional code.
30632 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30633 <kernel-features.h>.
30634 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30635 unconditional.
30636 (__setresuid): Do not declare.
30637 [__ASSUME_32BITUIDS]: Make code unconditional.
30638 [!__ASSUME_32BITUIDS]: Remove conditional code.
30639 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30640 <kernel-features.h>.
30641 [__ASSUME_32BITUIDS]: Make code unconditional.
30642 [!__ASSUME_32BITUIDS]: Remove conditional code.
30643 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30644 <kernel-features.h>.
30645 [__ASSUME_32BITUIDS]: Make code unconditional.
30646 [!__ASSUME_32BITUIDS]: Remove conditional code.
30647
a386f1cc
RH
306482012-05-25 Richard Henderson <rth@twiddle.net>
30649
30650 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30651 dl_hwcap to ifunc resolver.
30652 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30653 elf_ifunc_invoke.
30654 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30655 dl_hwcap to ifunc resolver.
30656 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30657
b6550497
JM
306582012-05-24 Joseph Myers <joseph@codesourcery.com>
30659
30660 [BZ #14153]
30661 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30662 for |x| <= 2**-26, not 2**-57.
30663 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30664 exception.
30665
b0bc23a1
JL
306662012-05-24 Jeff Law <law@redhat.com>
30667
30668 * stdio-common/Makefile (tests): Add bug25.
30669 * stdio-common/bug25.c: New test.
30670
347c92e9
L
306712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30672
30673 [BZ #13576]
30674 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30675 multiple of MALLOC_ALIGNMENT in size.
30676 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30677
6bcc8b3f
JM
306782012-05-24 Joseph Myers <joseph@codesourcery.com>
30679
30680 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30681 Require >= 256.
30682 (FILENAME_MAX): Use macro-int-constant.
30683 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30684 (_IOFBF): Use macro-int-constant.
30685 (_IOLBF): Likewise.
30686 (_IONBF): Likewise.
30687 (SEEK_CUR): Likewise.
30688 (SEEK_END): Likewise.
30689 (SEEK_SET): Likewise.
30690 (TMP_MAX): Likewise.
30691 (EOF): Use macro-int-constant. Require < 0.
30692 (NULL): Use macro-constant. Require == 0.
30693 (stdin): Require type to be FILE *.
30694 (stdout): Likewise.
30695 (stderr): Likewise.
30696 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30697 macro-int-constant.
30698 (EXIT_SUCCESS): Likewise.
30699 (NULL): Use macro-constant. Require == 0.
30700 (RAND_MAX): Use macro-int-constant.
30701 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30702 [C99-based standards] (strtof): Require function.
30703 [C99-based standards] (strtold): Likewise.
30704 [C99-based standards] (strtoll): Likewise.
30705 [C99-based standards] (strtoull): Likewise.
30706 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30707 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30708 [ISO || ISO99 || ISO11] (math.h): Likewise.
30709 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30710 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30712
d18ea0c5
AS
307132012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30714
30715 [BZ #14132]
56d25bb8
AS
30716 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30717 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30718 * intl/dgettext.c (DCGETTEXT): Likewise.
30719 * intl/gettext.c (DCGETTEXT): Likewise.
30720 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30721 * posix/regex_internal.h (gettext): Likewise.
30722 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30723 Remove declaration.
30724 * include/argz.h (__argz_count_internal)
30725 (__argz_stringify_internal): Remove declaration.
30726 (__argz_count, __argz_stringify): Declare hidden proto.
30727 * intl/dcgettext.c: Remove use of INTDEF.
30728 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30729 * string/argz-stringify.c: Likewise.
30730 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30731 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30732 Declare hidden proto.
d18ea0c5
AS
30733 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30734 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30735 Declare hidden proto.
30736 * include/stdio.h (__asprintf_internal): Don't declare.
30737 (__asprintf): Don't define as macro. Declare hidden proto.
30738 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30739 (__fsetlocking): Declare hidden proto.
30740 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30741 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30742 hidden proto.
30743 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30744 (_IO_setlinebuf): Remove use of INTUSE.
30745 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30746 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30747 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30748 Remove declaration.
30749 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30750 (_IO_do_flush): Remove use of INTUSE.
30751 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30752 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30753 (_IO_adjust_column, _IO_least_wmarker)
30754 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30755 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30756 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30757 (_IO_default_doallocate, _IO_wdefault_doallocate)
30758 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30759 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30760 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30761 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30762 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30763 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30764 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30765 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30766 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30767 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30768 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30769 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30770 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30771 proto.
30772 (_IO_flush_all_internal, _IO_adjust_column_internal)
30773 (_IO_default_uflow_internal, _IO_default_finish_internal)
30774 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30775 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30776 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30777 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30778 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30779 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30780 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30781 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30782 (_IO_file_close_internal, _IO_file_close_it_internal)
30783 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30784 (_IO_file_init_internal, _IO_file_attach_internal)
30785 (_IO_file_fopen_internal, _IO_file_read_internal)
30786 (_IO_file_sync_internal, _IO_file_seek_internal)
30787 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30788 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30789 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30790 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30791 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30792 (_IO_list_all_internal, _IO_link_in_internal)
30793 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30794 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30795 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30796 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30797 (_IO_do_write_internal, _IO_padn_internal)
30798 (_IO_getline_info_internal, _IO_getline_internal)
30799 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30800 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30801 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30802 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30803 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30804 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30805 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30806 with libc_hidden_ver, remove use of INTUSE.
30807 * libio/genops.c: Likewise.
30808 * libio/freopen.c: Likewise.
30809 * libio/freopen64.c: Likewise.
30810 * libio/iofclose.c: Likewise.
30811 * libio/iofdopen.c: Likewise.
30812 * libio/iofflush.c: Likewise.
30813 * libio/iofflush_u.c: Likewise.
30814 * libio/iofgets.c: Likewise.
30815 * libio/iofgets_u.c: Likewise.
30816 * libio/iofopen.c: Likewise.
30817 * libio/iofopncook.c: Likewise.
30818 * libio/iofread.c: Likewise.
30819 * libio/iofread_u.c: Likewise.
30820 * libio/ioftell.c: Likewise.
30821 * libio/iofwrite.c: Likewise.
30822 * libio/iogetline.c: Likewise.
30823 * libio/iogets.c: Likewise.
30824 * libio/iogetwline.c: Likewise.
30825 * libio/iopadn.c: Likewise.
30826 * libio/iopopen.c: Likewise.
30827 * libio/ioseekoff.c: Likewise.
30828 * libio/ioseekpos.c: Likewise.
30829 * libio/iosetbuffer.c: Likewise.
30830 * libio/iosetvbuf.c: Likewise.
30831 * libio/ioungetc.c: Likewise.
30832 * libio/ioungetwc.c: Likewise.
30833 * libio/iovdprintf.c: Likewise.
30834 * libio/iovsprintf.c: Likewise.
30835 * libio/iovsscanf.c: Likewise.
30836 * libio/memstream.c: Likewise.
30837 * libio/obprintf.c: Likewise.
30838 * libio/oldfileops.c: Likewise.
30839 * libio/oldiofclose.c: Likewise.
30840 * libio/oldiofdopen.c: Likewise.
30841 * libio/oldiofopen.c: Likewise.
30842 * libio/oldiopopen.c: Likewise.
30843 * libio/oldstdfiles.c: Likewise.
30844 * libio/putc.c: Likewise.
30845 * libio/setbuf.c: Likewise.
30846 * libio/setlinebuf.c: Likewise.
30847 * libio/stdfiles.c: Likewise.
30848 * libio/strops.c: Likewise.
30849 * libio/vasprintf.c: Likewise.
30850 * libio/vscanf.c: Likewise.
30851 * libio/vsnprintf.c: Likewise.
30852 * libio/vswprintf.c: Likewise.
30853 * libio/wfiledoalloc.c: Likewise.
30854 * libio/wfileops.c: Likewise.
30855 * libio/wgenops.c: Likewise.
30856 * libio/wmemstream.c: Likewise.
30857 * libio/wstrops.c: Likewise.
30858 * libio/__fpurge.c: Likewise.
30859 * libio/__fsetlocking.c: Likewise.
30860 * assert/assert.c: Likewise.
30861 * debug/fgets_chk.c: Likewise.
30862 * debug/fgets_u_chk.c: Likewise.
30863 * debug/fread_chk.c: Likewise.
30864 * debug/fread_u_chk.c: Likewise.
30865 * debug/gets_chk.c: Likewise.
30866 * debug/obprintf_chk.c: Likewise.
30867 * debug/vasprintf_chk.c: Likewise.
30868 * debug/vdprintf_chk.c: Likewise.
30869 * debug/vsnprintf_chk.c: Likewise.
30870 * debug/vsprintf_chk.c: Likewise.
30871 * malloc/mtrace.c: Likewise.
30872 * misc/error.c: Likewise.
30873 * misc/syslog.c: Likewise.
30874 * stdio-common/asprintf.c: Likewise.
30875 * stdio-common/fxprintf.c: Likewise.
30876 * stdio-common/getw.c: Likewise.
30877 * stdio-common/isoc99_fscanf.c: Likewise.
30878 * stdio-common/isoc99_scanf.c: Likewise.
30879 * stdio-common/isoc99_vfscanf.c: Likewise.
30880 * stdio-common/isoc99_vscanf.c: Likewise.
30881 * stdio-common/isoc99_vsscanf.c: Likewise.
30882 * stdio-common/printf-prs.c: Likewise.
30883 * stdio-common/printf_fp.c: Likewise.
30884 * stdio-common/printf_fphex.c: Likewise.
30885 * stdio-common/printf_size.c: Likewise.
30886 * stdio-common/putw.c: Likewise.
30887 * stdio-common/scanf.c: Likewise.
30888 * stdio-common/sprintf.c: Likewise.
30889 * stdio-common/tmpfile.c: Likewise.
30890 * stdio-common/vfprintf.c: Likewise.
30891 * stdio-common/vfscanf.c: Likewise.
30892 * stdlib/strfmon_l.c: Likewise.
30893 * sunrpc/openchild.c: Likewise.
30894 * sunrpc/xdr_stdio.c: Likewise.
30895 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30896 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30897
d6c33fda
RM
308982012-05-24 Roland McGrath <roland@hack.frob.com>
30899
c1487492
RM
30900 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30901
30902 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30903 in the third column, to generate for the shared library an IFUNC
30904 that uses _dl_vdso_vsym.
30905 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30906 * Makeconfig (object-suffixes-noshared): New variable.
30907
30908 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30909 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30910 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30911 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30912
d6c33fda
RM
30913 [BZ #14132]
30914 * include/sys/time.h (__gettimeofday): Remove macro.
30915 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30916 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30917 Remove INTDEF.
30918 (__gettimeofday): Add libc_hidden_def.
30919 (gettimeofday): Add libc_hidden_weak.
30920 * sysdeps/mach/gettimeofday.c: Likewise.
30921 * sysdeps/posix/gettimeofday.c: Likewise.
30922 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30923 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30925 (__gettimeofday_internal): Remove strong_alias.
30926 (__gettimeofday): Add libc_hidden_def.
30927 (gettimeofday): Add libc_hidden_weak.
30928 * sysdeps/unix/syscalls.list (gettimeofday):
30929 Remove __gettimeofday_internal alias.
30930
b5a2bbe6
L
309312012-05-24 Daniel Jacobowitz <drow@false.org>
30932 H.J. Lu <hongjiu.lu@intel.com>
30933
30934 [BZ #12495]
30935 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30936 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30937 (largebin_index_32_big): New.
30938 (largebin_index): Use it for 16-byte alignment.
30939 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30940 correction with front_misalign.
30941
cfba4fda
L
309422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30943
7f907421
L
30944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30946 Likewise.
30947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30948 Likewise.
30949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30950 Likewise.
30951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30952 Likewise.
30953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30954 Likewise.
30955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30956 Likewise.
30957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30958 Likewise.
30959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30960 Likewise.
30961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30962 Likewise.
30963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30964 Likewise.
30965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30966 Likewise.
30967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30968 Likewise.
30969
cfba4fda
L
30970 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30971 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30972
80bad0cc
JM
309732012-05-24 Joseph Myers <joseph@codesourcery.com>
30974
7a25eb06
JM
30975 [BZ #10846]
30976 [BZ #14036]
30977 * math/libm-test.inc (exp_test): Add test from bug 14036.
30978 (pow_test): Add test from bug 10846.
30979
795405f9
JM
30980 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30981 and other flags.
30982 (special_function): Do not include flags in test name.
30983 (parse_args): Likewise.
30984 * sysdeps/i386/fpu/libm-test-ulps: Update.
30985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30986 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30987 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30989
80bad0cc
JM
30990 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30991 exceptions.
30992 * math/libm-test.inc ("Philosophy"): Update comment about
30993 exception testing.
30994 (UNDERFLOW_EXCEPTION): New macro.
30995 (UNDERFLOW_EXCEPTION_OK): Likewise.
30996 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30997 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30998 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30999 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31000 (INVALID_EXCEPTION_OK): Update value.
31001 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31002 (OVERFLOW_EXCEPTION_OK): Likewise.
31003 (IGNORE_ZERO_INF_SIGN): Likewise.
31004 (test_exceptions): Handle underflow exceptions.
31005 (acos_test): Update for underflow exception expectations.
31006 (cexp_test): Likewise.
31007 (clog_test): Likewise.
31008 (clog10_test): Likewise.
31009 (csqrt_test): Likewise.
31010 (ctan_test): Likewise.
31011 (ctanh_test): Likewise.
31012 (exp_test): Likewise.
31013 (exp10_test): Likewise.
31014 (exp2_test): Likewise.
31015 (expm1_test): Likewise.
31016 (fma_test): Likewise.
31017 (j0_test): Likewise.
31018 (jn_test): Likewise.
31019 (nexttoward_test): Likewise.
31020 (pow_test): Likewise.
31021 (scalbn_test): Likewise.
31022 (scalbln_test): Likewise.
31023 (tan_test): Likewise.
31024 (y1_test): Likewise.
31025 * sysdeps/i386/fpu/libm-test-ulps: Update.
31026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31027
9e0e3d0b
DM
310282012-05-23 David S. Miller <davem@davemloft.net>
31029
31030 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31031 (__libc_sigaction): Remove unused local variables.
31032
ccd0a08f
L
310332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31034
31035 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31036
62bdf9a6
PE
310372012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31038
f8591f80
PE
31039 mktime: avoid signed integer overflow
31040 * time/mktime.c (__mktime_internal): Do not mishandle the case
31041 where diff == INT_MIN.
31042
94c7d826
PE
31043 mktime: simplify computation of average
31044 * time/mktime.c (ranged_convert): Use new time_t_avg function
31045 instead of rolling our own (probably-slower) code.
31046
ce73d683
PE
31047 mktime: do not assume signed right shift propagates sign bit
31048 * time/mktime.c (isdst_differ): New static function.
31049 (__mktime_internal): No need to normalize tm_isdst now.
31050 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31051 tm_isdst values.
31052
72a22e59
PE
31053 mktime: merge another wrapv change from gnulib
31054 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31055 from some compilers.
31056
68605433
PE
31057 mktime: remove incorrect attempt at unusual arithmetics
31058 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31059 The code didn't really work on such machines anyway.
31060 (TYPE_MINIMUM): Assume two's complement.
31061 (twos_complement_arithmetic): Verify that long_int and time_t
31062 are two's complement (or unsigned, in the latter case).
31063
03cf7fe3
PE
31064 mktime: check signed shifts on long_int and time_t, too
31065 * time/mktime.c (SHR): Check that shifts work as desired
31066 on the types long_int and time_t too, as SHR is used on
31067 such types.
31068
f04dfbc2
PE
31069 mktime: do not assume 'long' is wide enough
31070 * time/mktime.c (verify): Move decl up.
31071 (long_int): New type.
31072 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31073 to remove assumption in the code that 'long' is wide enough to
31074 store year values. This assumption is not true on x32 and on
31075 some non-glibc platforms.
31076
62bdf9a6
PE
31077 mktime: merge wrapv change from gnulib
31078 * time/mktime.c (WRAPV): New macro.
31079 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31080 (guess_time_tm, __mktime_internal): Do not assume that signed
31081 integer overflow wraps around; modern compilers generate code
31082 where this assumption is no longer valid.
31083
5e292e4f
L
310842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31085
31086 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31087 Replace "jmp L(pseudo_end)" with "ret".
31088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31089 Likewise.
31090
8caf8c87
AJ
310912012-05-23 Andreas Jaeger <aj@suse.de>
31092
31093 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31094 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31095
1a09dc56
AJ
310962012-05-23 Andreas Jaeger <aj@suse.de>
31097 Maximilian Attems <max@stro.at>
31098
31099 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31100 New macros.
31101
1c87aba0
L
311022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31103
31104 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31105 code so that pseudo_end is just ret and the stack pointer is
31106 correct also for static library in error case.
31107
40e45bd5
JM
311082012-05-23 Joseph Myers <joseph@codesourcery.com>
31109
c2670533
JM
31110 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31111 move to syscalls.list.
31112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31116
40e45bd5
JM
31117 * manual/install.texi (Running make install): Do not mention Linux
31118 kernel version for which pt_chown is not needed.
31119 (Linux): Do not mention problems with nscd with 2.0 kernels.
31120 * INSTALL: Regenerated.
31121
be08eda5
AJ
311222012-05-23 Andreas Jaeger <aj@suse.de>
31123
31124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31125 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31126 macro.
31127 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31129 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31131 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31135 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31137 * sysdeps/unix/sysv/linux/bits/in.h
31138 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31139
a6a056bb
RM
311402012-05-22 Roland McGrath <roland@hack.frob.com>
31141
31142 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31143 (PREPARE_VERSION): Just use assert instead, it will be elided
31144 under [NDEBUG] anyway.
31145
c9009328
L
311462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31147
31148 * sysdeps/unix/sysv/linux/Makefile: Include
31149 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31150 (sysdep_routines): Remove sysctl.
c9009328
L
31151 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31152 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31153 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31154 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31155 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31156
73338355
AJ
311572012-05-22 Andreas Jaeger <aj@suse.de>
31158
31159 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31160 that pseudo_end is just ret and the stack pointer is correct also
31161 for static library in error case.
31162
d44638b0
PP
311632012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31164
31165 [BZ #14122]
31166 * nss/nsswitch.c (defconfig_entries): New variable.
31167 (__nss_database_lookup): Don't leak defconfig entries.
31168 (nss_parse_service_list): Don't leak on error paths.
31169 (free_database_entries): New function.
31170 (free_defconfig): New function.
31171 (free_mem): Move common code to free_database_entries.
31172
31a39bd8
L
311732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31174
da0331a8
L
31175 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31176 Add arch_prctl.
31177 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31178
31a39bd8
L
31179 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31180 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31182 New macro.
31183 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31184 (INTERNAL_SYSCALL_TYPES): Likewise.
31185 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31186 (LOAD_REGS_TYPES_[1-6]): Likewise.
31187 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31188 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31189
45470df3
AZ
311902012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31191
31192 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31193 copysignl for GLIBC_2_0.
31194 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31195 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31197 logbl for GLIBC_2_0.
31198 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31199 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31200
98a61bcb
L
312012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31202
a4f6e481
L
31203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31204 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31205
f63d5db6
L
31206 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31207 Use "neg %eax".
31208
98a61bcb
L
31209 * time/mktime.c: Update copyright years.
31210
95770f14
PE
312112012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31212
6226efbd
PE
31213 mktime: merge comment-quoting-style change from gnulib
31214 * time/mktime.c: Quote 'like this' in comments.
31215 The GNU coding standards suggest that we no longer quote `like this',
31216 as "`" and "'" are typically rendered asymmetrically nowadays.
31217 The typical gnulib style is to quote 'like this' when quoting
31218 code, and "like this" when quoting English.
31219
b99e4f78
PE
31220 * time/mktime.c (compile-command): Add "-I.".
31221
643e01e6
PE
31222 mktime: merge mktime-internal.h change from gnulib
31223 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31224
2554247d
PE
31225 mktime: merge time_r change from gnulib
31226 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31227
826dd0ab
PE
31228 mktime: merge DEBUG change from gnulib
31229 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31230 case system <time.h> has a #define.
31231
bd83aabe
PE
31232 mktime: merge <sys/types.h> change from gnulib
31233 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31234 since <time.t> is now guaranteed to define time_t.
31235
95770f14
PE
31236 mktime: merge HAVE_CONFIG_H change from gnulib
31237 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31238
5e1a27a9
L
312392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31240
0e44a77e
L
31241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31242 Use "neg %eax".
31243
5e1a27a9
L
31244 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31245 __rlim_t cast.
31246 (struct rusage): Use anonymous union to pad each field to
31247 __syscall_slong_t.
31248
46259bec
DM
312492012-05-21 David S. Miller <davem@davemloft.net>
31250
31251 * Makefules (o-iterator): Remove .s cases.
31252 (compile-command.s): Delete.
31253 (COMPILE.s): Delete.
31254 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31255
59f0c22e
JM
312562012-05-21 Joseph Myers <joseph@codesourcery.com>
31257
31258 * configure.in (libc_cv_predef_stack_protector): Only consider
31259 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31260 * configure: Regenerated.
31261
20c07380
L
312622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31263
bbb3154b
L
31264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31265 New macro. Use R*LP on int and pointer.
31266 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31267 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31268 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31269 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31270
20c07380
L
31271 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31272 [__WORDSIZE_TIME64_COMPAT32] instead of
31273 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31274 (struct utmp): Likewise.
31275 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31276 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31277 Renamed to ...
31278 (__WORDSIZE_TIME64_COMPAT32): This.
31279 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31280 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31281 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31282 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31283 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31284 (__WORDSIZE_TIME64_COMPAT32): New macro.
31285
d8d1017e
AJ
312862012-05-21 Andreas Jaeger <aj@suse.de>
31287
31288 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31289 only if [SHARED]. Add prototype for __wcschr_ia32.
31290
6c7fb145
RM
312912012-05-21 Roland McGrath <roland@hack.frob.com>
31292
31293 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31294 of %rbp unmolested in the jmp_buf while mangling the low bits.
31295 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31296 unmolested high bits of %rbp while demangling the low bits.
31297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31298
66274218
AJ
312992012-05-21 Andreas Jaeger <aj@suse.de>
31300
07c58f8f
AJ
31301 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31302 * sunrpc/svc_simple.c: Use it for registerrpc.
31303 * sunrpc/xcrypt.c: Use it for passwd2des.
31304
66274218
AJ
31305 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31306
61f65140
L
313072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31308
31309 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31310 Don't define if [__SYSCALL_WORDSIZE != 32].
31311 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31312 New macro.
31313
5fefb436
AJ
313142012-05-21 Bruno Haible <bruno@clisp.org>
31315 Andreas Jaeger <aj@suse.de>
31316
31317 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31318 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31319 inptr and inend for must_buffer_ch.
31320 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31321 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31322 * stdio-common/Makefile (tests): Remove bug15.
31323 (bug15-ENV): Remove macro.
31324 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31325 anymore.
31326
d8e272ab
AJ
313272012-05-19 Andreas Jaeger <aj@suse.de>
31328 Roland McGrath <roland@hack.frob.com>
31329
31330 * manual/contrib.texi: Completely rewritten. It contains now an
31331 alphabetical list of contributors and their contributions.
31332
4a56a162
RH
313332012-05-21 Richard Henderson <rth@twiddle.net>
31334
31335 * misc/getauxval.c (__getauxval): Use unsigned long int.
31336 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31337 (getauxval): Use unsigned long int.
31338
d024d23c
L
313392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31340
31341 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31342
cbc00a03
RM
313432012-05-21 Roland McGrath <roland@hack.frob.com>
31344
31345 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31346 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31347 __alignof__ (long double).
31348
478143fa
AZ
313492012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31350
31351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31352
c7683a6d
RH
313532012-05-20 Richard Henderson <rth@twiddle.net>
31354
31355 * misc/getauxval.c: New file.
31356 * misc/sys/auxv.h: New file.
31357 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31358 (routines): Add getauxval.
31359 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31360 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31361 * elf/dl-sysdep.c (_dl_auxv): Remove.
31362 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31363 * elf/dl-support.c (_dl_auxv): New variable.
31364 (_dl_aux_init): Initialize it.
31365 * manual/startup.texi (Auxiliary Vector): New node.
31366 * sysdeps/generic/bits/hwcap.h: New file.
31367 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31368 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31369 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31370 * sysdeps/sparc/sysdep.h: ... here. Include it.
31371 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31372 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31374 Update.
c7683a6d
RH
31375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31378 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31383
a6f1845d
AZ
313842012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31385
31386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31387
cbcbe830
DM
313882012-05-19 David S. Miller <davem@davemloft.net>
31389
31390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31391
e0b16cc2
JM
313922012-05-19 Joseph Myers <joseph@codesourcery.com>
31393
31394 [BZ #14123]
31395 * math/s_ccosh.c: Include <float.h>
31396 (__ccosh): Avoid internal overflow calculating sinh and cosh
31397 values before multiplying by sin and cos values.
31398 * math/s_ccoshf.c: Likewise.
31399 * math/s_ccoshl.c: Likewise.
31400 * math/s_csin.c: Likewise.
31401 * math/s_csinf.c: Likewise.
31402 * math/s_csinl.c: Likewise.
31403 * math/s_csinh.c: Likewise.
31404 * math/s_csinhf.c: Likewise.
31405 * math/s_csinhl.c: Likewise.
31406 * math/libm-test.inc (ccos_test): Add more tests.
31407 (ccosh_test): Likewise.
31408 (csin_test): Likewise.
31409 (csinh_test): Likewise.
31410 * sysdeps/i386/fpu/libm-test-ulps: Update.
31411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31412
6ad13e08
L
314132012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31414
f66f0ce8
L
31415 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31416 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31417
6ad13e08
L
31418 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31419
b1d072a7
JM
314202012-05-19 Joseph Myers <joseph@codesourcery.com>
31421
31422 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31423 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31424 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31425 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31426 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31427 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31428 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31429 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31430 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31431 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31432 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31433 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31434 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31435 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31436 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31437 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31438 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31439 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31440 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31441 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31442 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31443 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31444 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31445 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31446 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31447 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31448 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31449 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31450 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31451 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31452 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31453
9eae47cb
AJ
314542012-05-18 Andreas Jaeger <aj@suse.de>
31455
31456 * csu/.gitignore: Delete.
31457
bb07f69f
L
314582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31459
31460 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31461 (timex): Use __syscall_slong_t.
31462
e6bdb741
AJ
314632012-05-18 Andreas Jaeger <aj@suse.de>
31464 Carlos O'Donell <carlos_odonell@mentor.com>
31465
31466 * manual/install.texi (Configuring and compiling): Update
31467 description about files modified in the source directory.
d6c33fda 31468 * INSTALL: Regenerated.
e6bdb741 31469
1b74487e
L
314702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31471
31472 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31473 value. Use "or" to set return value to -1.
31474 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31475 negate return value.
31476
a88b64b9
TMQMF
314772012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31478
57f41c40
AS
31479 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31480 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31481 failure if the compiler has Graphite support disabled.
31482 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31483 Likewise.
57f41c40
AS
31484 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31485 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31486 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31487 Likewise.
31488
3707636e
L
314892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31490
610b8622
L
31491 * sysdeps/x86_64/x32/_itoa.h: New file.
31492
7cd195df
L
31493 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31494 getdents system call only if kernel and user dirents have the
31495 same d_ino and d_off.
31496
94b07d20
L
31497 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31498 LLONG_MAX != LONG_MAX.
31499 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31500 (_fitoa_word): Likewise.
31501
18298070
L
31502 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31503 years.
31504 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31505 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31506 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31507
553c7ea4
L
31508 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31509 include <bits/wordsize.h>. Check __x86_64__ instead of
31510 __WORDSIZE.
31511 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31512 if __x86_64__ is defined. Use anonymous union on fpstate.
31513
3707636e
L
31514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31515 anonymous union.
31516
b53ef01a
AS
315172012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31518
37fb1dc0
AS
31519 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31520 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31521 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31522 Refer to _rtld_local_ro instead of _rtld_global_ro.
31523 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31524 Likewise.
31525 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31526 Likewise.
31527 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31528 Likewise.
31529 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31530 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31531 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31532
b53ef01a
AS
31533 * sysdeps/powerpc/powerpc32/dl-machine.c
31534 (__elf_machine_runtime_setup) [PROF]: Don't reference
31535 _dl_prof_resolve.
31536
7a185db2
AJ
315372012-05-18 Andreas Jaeger <aj@suse.de>
31538
31539 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31540 function only available for GCCs before 3.4 since GCC 3.4
31541 introduced a builtin.
31542 (lrint): Likewise.
31543 (llrintf): Likewise.
31544 (llrint): Likewise.
31545 (fmaxf): Likewise.
31546 (fmax): Likewise.
31547 (fminf): Likewise.
31548 (fmin): Likewise.
31549 (rint): Likewise.
31550 (rintf): Likewise.
31551 (nearbyint): Likewise.
31552 (nearbyintf): Likewise.
31553 (ceil): Likewise.
31554 (ceilf): Likewise.
31555 (floor): Likewise.
31556 (floorf): Likewise.
31557
3e5aef87
L
315582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31559
428bd707
L
31560 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31561 on both fields and cast pointer to __syscall_ulong_t.
31562
3e5aef87
L
31563 * bits/types.h (__fsword_t): New type.
31564 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31565 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31566 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31567 (__FSWORD_T_TYPE): Likewise.
31568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31569 (__FSWORD_T_TYPE): Likewise.
31570 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31571 (__FSWORD_T_TYPE): Likewise.
31572 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31573 (__FSWORD_T_TYPE): Likewise.
31574 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31575 __SWORD_TYPE with __fsword_t.
31576 (statfs64): Likewise.
31577
1ba7c3dc
DM
315782012-05-17 David S. Miller <davem@davemloft.net>
31579
31580 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31581
59910343
AJ
315822012-05-17 Andreas Jaeger <aj@suse.de>
31583
31584 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31585 warning.
31586
2e4c1e9e
L
315872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31588
31589 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31590
de7f5ce7
AJ
315912012-05-17 Andreas Jaeger <aj@suse.de>
31592
31593 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31594 when it is used.
31595
286abc3d
CM
315962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31597
31598 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31599
477cc68e
L
316002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31601
31602 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31603 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31604
1a0994f5
CD
316052012-05-17 Andreas Jaeger <aj@suse.de>
31606 Carlos O'Donell <carlos_odonell@mentor.com>
31607
31608 [BZ #14059]
31609 * sysdeps/x86_64/multiarch/init-arch.h
31610 (bit_YMM_Usable): Rename to...
31611 (bit_AVX_Usable): ... this.
31612 (bit_FMA4_Usable): New macro.
31613 (bit_XMM_state): New macro.
31614 (bit_YMM_state): New macro.
31615 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31616 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31617 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31618 (CPUID_OSXSAVE): New macro.
31619 (CPUID_AVX): New macro.
31620 (CPUID_FMA4): New macro.
31621 (index_YMM_Usable): Rename to...
31622 (index_AVX_Usable): ... this.
31623 (HAS_AVX): Use HAS_ARCH_FEATURE.
31624 (HAS_FMA4): Likewise.
31625 (HAS_YMM_USABLE): Remove.
31626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31627 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31628 are present.
31629 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31630 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31631 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31632 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31633 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31634
0af797de
CM
316352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31636
31637 * math/libm-test.c: Support platforms without multiple rounding modes.
31638 * math/bug-nextafter.c: Support platforms without FP exceptions.
31639 * math/bug-nexttoward.c: Likewise.
31640 * math/test-fenv.c: Likewise.
31641 * math/test-misc.c: Likewise.
31642 * stdlib/bug-getcontext.c: Likewise.
31643
e39745ff
AJ
316442012-05-17 Andreas Jaeger <aj@suse.de>
31645
31646 * manual/examples/search.c (critter_cmp): Change signature to
31647 avoid warnings.
31648 * manual/string.texi (Collation Functions): Likewise.
31649
48970aba
L
316502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31651
31652 * bits/types.h: Fold copyright years.
31653 * bits/typesizes.h: Likewise.
31654 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31658 * time/time.h: Likewise.
31659
bedee953
PP
316602012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31661
31662 [BZ #208]
31663 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31664 in instead of returning them. Return void.
31665 (__libc_mallinfo): Accumulate over all arenas.
31666 (__malloc_stats): Adjust for change in int_mallinfo interface.
31667
61653dfb
RM
316682012-05-16 Roland McGrath <roland@hack.frob.com>
31669
30b99d79
RM
31670 [BZ #10375]
31671 * configure.in (NM): Add AC_CHECK_TOOL for it.
31672 (libc_extra_cflags): New substituted variable.
31673 Check for -fstack-protector being used implicitly.
31674 * configure: Regenerated.
31675 * config.make.in (config-extra-cflags): New variable,
31676 gets @libc_extra_cflags@.
31677 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31678
61653dfb
RM
31679 [BZ #10375]
31680 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31681 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31682 * configure: Regenerated.
31683 * config.make.in (CPPUNDEFS): New substituted variable.
31684 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31685 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31686 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31687
661768bb
L
316882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31689
31690 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31691 (mq_attr): Use __syscall_slong_t.
31692
d4261567
L
316932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31694
31695 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31696 Check __x86_64__ instead of __WORDSIZE.
31697 (_STAT_VER_LINUX): Likewise.
31698 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31699 __syscall_ulong_t and __syscall_slong_t.
31700 (stat64): Likewise.
31701
cf3ff365
L
317022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31703
31704 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31705
76cf3e4d
L
317062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31707
31708 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31709
a637753a
L
317102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31711
31712 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31713 __syscall_ulong_t.
31714
d5e05119
L
31715 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31716 include <bits/wordsize.h>. Check __x86_64__ instead of
31717 __WORDSIZE.
31718 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31719 defined.
31720 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31721
f62ee380
L
31722 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31723 include <bits/wordsize.h>. Check __x86_64__ instead of
31724 __WORDSIZE.
31725 (user_regs_struct): Use "__extension__ unsigned long long"
31726 instead of "unsigned long" if __x86_64__ is defined.
31727 (user): Likewise. Pad after pointer field if __ILP32__ is
31728 defined.
31729
4e124ced
JM
317302012-05-16 Joseph Myers <joseph@codesourcery.com>
31731
6a3951a0
JM
31732 * configure.in (makeinfo): Require version 4.5 or later. Allow
31733 versions 5 to 9.
31734 * configure: Regenerated.
31735 * manual/install.texi (texinfo): Increase version requirement to
31736 4.5 or later.
31737 * INSTALL: Regenerated.
31738
4e124ced
JM
31739 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31740
953ca31a
L
317412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31742
31743 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31744
617aca05
L
31745 * sysdeps/x86_64/x32/ffs.c: New file.
31746
5762f7ae
L
31747 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31748 __syscall_ulong_t.
31749 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31750 defined. Use __syscall_ulong_t.
31751 (shminfo): Use __syscall_ulong_t.
31752 (shm_info): Likewise.
31753
a26b6856
L
31754 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31755 __syscall_ulong_t.
31756
cb2b9ef7
L
31757 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31758 <bits/wordsize.h>.
31759 (msgqnum_t): Use __syscall_ulong_t.
31760 (msglen_t): Likewise.
31761 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31762 __syscall_ulong_t.
31763
34683bb0
L
31764 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31765 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31766
84a68786
L
31767 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31768
48baa5f1
L
31769 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31770 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31771
180be88b
L
31772 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31773 __syscall_slong_t.
31774
5e90c8ad
L
31775 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31776 include <bits/wordsize.h>. Check __x86_64__ instead of
31777 __WORDSIZE.
31778
23dfb58b
L
31779 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31780 "unsigned long long int" if __x86_64__ is defined.
31781 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31782
ce5d54b0
L
31783 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31784 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31785 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31786
13dc9eac
L
31787 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31788 <stdint.h>.
31789 (GET_PC): Cast to uintptr_t first.
31790 (GET_FRAME): Likewise.
31791 (GET_STACK): Likewise.
31792
a7895d15
L
31793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31794 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31795 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31796 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31797 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31798 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31799 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31800 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31801 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31802 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31803 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31804 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31805 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31806 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31807 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31808 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31809 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31811 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31812 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31813 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31814 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31815 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31816 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31817 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31819 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31820 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31821 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31822
656416c9
AS
318232012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31824
5bd66283
AS
31825 * Makerules (+depfiles): Also collect depfiles from .oS in
31826 $(extra-objs).
31827 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31828 .oS, $(libnldbl-routines)).
31829
656416c9
AS
31830 * Makerules (native-compile-mkdep-flags): Define.
31831 * sunrpc/Makefile (extra-objs): Add $(addprefix
31832 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31833 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31834 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31835 calling $(make-target-directory).
31836
a46f2169
L
318372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31838
31839 * bits/types.h (__snseconds_t): Removed.
31840 * time/time.h (struct timespec): Replace __snseconds_t with
31841 __syscall_slong_t.
31842 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31843 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31844 Likewise.
31845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31846 (__SNSECONDS_T_TYPE): Likewise.
31847 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31848 (__SNSECONDS_T_TYPE): Likewise.
31849 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31850 (__SNSECONDS_T_TYPE): Likewise.
31851
6af6528b
L
318522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31853
31854 * sysdeps/mach/hurd/bits/typesizes.h
31855 (__SYSCALL_SLONG_TYPE): New macro.
31856 (__SYSCALL_ULONG_TYPE): Likewise.
31857
de986b56
L
318582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31859
31860 * bits/types.h (__syscall_slong_t): New type.
31861 (__syscall_ulong_t): Likewise.
31862
31863 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31864 (__SYSCALL_ULONG_TYPE): Likewise.
31865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31866 (__SYSCALL_SLONG_TYPE): Likewise.
31867 (__SYSCALL_ULONG_TYPE): Likewise.
31868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31869 (__SYSCALL_SLONG_TYPE): Likewise.
31870 (__SYSCALL_ULONG_TYPE): Likewise.
31871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31872 (__SYSCALL_SLONG_TYPE): Likewise.
31873 (__SYSCALL_ULONG_TYPE): Likewise.
31874
85736dc7
L
318752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31876
31877 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31878 Add sigaltstack-offsets.sym.
31879 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31880 <sigaltstack-offsets.h>.
31881 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31882 longjmp_msg pointer.
31883 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31884 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31885 signal stack.
31886 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31887
cc03b296
JM
318882012-05-15 Joseph Myers <joseph@codesourcery.com>
31889
a9538892
JM
31890 * elf/stackguard-macros.h: Remove file.
31891 * sysdeps/generic/stackguard-macros.h: New file.
31892 * sysdeps/i386/stackguard-macros.h: Likewise.
31893 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31894 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31895 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31896 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31897 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31898 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31899 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31900 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31901 <elf/stackguard-macros.h>.
31902
cc03b296
JM
31903 [BZ #14109]
31904 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31905 __aligned__ in attribute.
31906 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31907 (gregset_t): Likewise.
31908
93171016
L
319092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31910
31911 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31912 * sysdeps/x86_64/64/Implies-after: Here. New file.
31913 * sysdeps/x86_64/x32/Implies-after: New file.
31914
d86813a0
L
319152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31916
31917 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31918 and access return value for _dl_profile_fixup. Use R10_LP to
31919 load frame size.
31920
2953ec75
L
319212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31922
31923 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31924
3b550e9e
L
319252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31926
31927 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31928 * sysdeps/x86_64/x32/sysdep.h: New file.
31929
eda41706
L
319302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31931
31932 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31933 * sysdeps/x86_64/setjmp.S: Likewise.
31934
9ea01d93
AZ
319352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31936
31937 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31938 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31939 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31940 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31941 remove unused global constant.
31942
02a91938
CM
319432012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31944
31945 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31946 include of <not-cancel.h>.
31947
6540185f
RM
319482012-05-15 Roland McGrath <roland@hack.frob.com>
31949
31950 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31951
509072a0
AJ
319522012-05-15 Jeff Law <law@redhat.com>
31953 Andreas Jaeger <aj@suse.de>
31954
31955 [BZ #13594]
31956 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31957 out from...
31958 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31959 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31960 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31961 code changing __hst_map_handle.map.
31962
ba75122d
RM
319632012-05-15 Roland McGrath <roland@hack.frob.com>
31964
31965 * configure.in (sysnames): Look for Implies-before and Implies-after
31966 files.
31967 * configure: Regenerated.
31968
890d8bd8
L
319692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31970
31971 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31972 8-byte data alignment with LP_SIZE alignment.
31973
f6ee6623
L
319742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31975
31976 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31977 into R10_LP.
31978
ea2626f6
L
319792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31980
31981 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31982
085f715e
L
319832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31984
31985 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31986 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31987 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31988 Likewise.
31989 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31990
be8498fc
L
319912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31992
31993 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31994 (stackinfo_sub_sp): Likewise.
31995
70bc83b9
L
319962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31997
31998 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31999 RAX_LP.
32000
9bc0b730
L
320012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32002
32003 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32004 into R*_LP.
32005
6d2850e7
L
320062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32007
32008 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32009 sizes into R*_LP.
32010
3cb84561
L
320112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32012
32013 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32014
54e2ed81
L
320152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32016
32017 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32018 into R11_LP and load __x86_64_shared_cache_size_half into
32019 R8_LP.
32020
8a17f349
L
320212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32022
32023 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32024 R8_LP.
32025
777b1eea
AZ
320262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32027
32028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32029 logb for POWER7.
32030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32031 logbf for POWER7.
32032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32033 logbl for POWER7.
32034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32035 powerpc32/power7/fpu/s_logb.c via #include.
32036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32037 powerpc32/power7/fpu/s_logbf.c via #include.
32038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32039 powerpc32/power7/fpu/s_logbl.c via #include.
32040
d20d4ac2
JM
320412012-05-15 Joseph Myers <joseph@codesourcery.com>
32042
32043 * README.libm: Remove file.
32044
6cdef1ab
L
320452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32046
32047 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32048 count for x32. Use R*_LP and omit operand-size suffix.
32049
0b254d8f
L
320502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32051
32052 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32053 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32054 * sysdeps/x86_64/x32/shlib-versions: New file.
32055
ceb809dc
RM
320562012-05-14 Roland McGrath <roland@hack.frob.com>
32057
32058 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32059 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32060 Use _dl_fatal_printf instead.
32061
37f1abd4
JM
320622012-05-14 Joseph Myers <joseph@codesourcery.com>
32063
32064 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32065 set if not set by the user. Do not allow for being unset.
32066 * sysdeps/unix/sysv/linux/configure: Regenerated.
32067
11de3a33
L
320682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32069
32070 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32071 the `q' suffix from lea and replace .quad with ASM_ADDR.
32072
e02f153a
L
320732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32074
32075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32076 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32077 instead of $17.
32078 (PTR_DEMANGLE): Likewise.
32079
520ae0fd
L
320802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32081
32082 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32083 (LP_OP): Likewise.
32084 (ASM_ADDR): Likewise.
32085 (RAX_LP): Likewise.
32086 (RBP_LP): Likewise.
32087 (RBX_LP): Likewise.
32088 (RCX_LP): Likewise.
32089 (RDI_LP): Likewise.
32090 (RSI_LP): Likewise.
32091 (RSP_LP): Likewise.
32092 (R8_LP): Likewise.
32093 (R9_LP): Likewise.
32094 (R10_LP): Likewise.
32095 (R10_LP): Likewise.
32096 (R11_LP): Likewise.
32097 (R12_LP): Likewise.
32098 (R13_LP): Likewise.
32099 (R14_LP): Likewise.
32100 (R15_LP): Likewise.
32101
b985be81
L
321022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32103
32104 * sysdeps/x86_64/x32/dl-machine.h: New file.
32105
6a4888ff
AJ
321062012-05-14 Andreas Jaeger <aj@suse.de>
32107
32108 * manual/Makefile (subdir): Remove export of subdir.
32109 (all): Remove target.
32110 (.PHONY): Remove all from list.
32111 (mkinstalldirs): Remove.
32112 (.PHONY): Remove installdirs from list.
32113 ($(inst_infodir)/libc.info): Use make-target-directory.
32114 (installdirs): Remove.
32115 (subdir_%): Remove.
32116 (glibc-targets): Remove.
32117 (lib): Remove.
32118 (stubs): Remove.
32119 ($(objpfx)stubs ../po/manual.pot): Remove.
32120 ($(objpfx)stamp%): Remove.
32121 (make-target-directory): Remove.
32122 (subdir_install): Remove.
32123 (routines): Remove.
32124 (aux): Remove.
32125 (sources): Remove.
32126 (objects): Remove.
32127 (headers): Remove.
32128
32129 [BZ #13750]
32130 * manual/.gitignore: Remove, it's not needed anymore.
32131 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32132 all files in it.
32133 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32134 directory.
32135 (texis): Renamed to $(objpfx)texis.
32136 (texis-path): New, contains path to generated files.
32137 (chapters.%): Use texis-path for complete path, add extra argument
32138 libc-texinfo.sh.
32139 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32140 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32141 (summary,texi, stamp-summary): Use complete path of
32142 files. Generate files in build dir.
32143 (dir-add.texi): Build in build dir.
32144 (libm-err.texi,stamp-libm-err): Likewise.
32145 (version.texi, stamp-version): Likewise.
32146 (.%c.texi): Likewise.
32147 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32148 (mostlyclean): Remove target.
32149 (realclean): Remove target.
32150 (generated): Add new variable with contents from mostlyclean and
32151 realclean, remove entries duplicated in common-mostlyclean, add
32152 stamp-libm-err and stamp-version.
32153 (generated-dirs): Add libc directory.
32154 ($(inst_infodir)/libc.info): Install files from build dir.
32155
32156 * manual/install.texi (Configuring and compiling): Adjust since
32157 the info files are not part of the tar ball anymore.
32158
7ac77294
AJ
321592012-05-14 Andreas Jaeger <aj@suse.de>
32160
32161 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32162 variable.
32163
ffb7875d
JM
321642012-05-14 Joseph Myers <joseph@codesourcery.com>
32165
32166 [BZ #13717]
32167 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32168 to 2.2.0 where earlier.
32169 * sysdeps/unix/sysv/linux/configure: Regenerated.
32170 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32171 Remove conditional code.
32172 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32173 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32174 Remove conditional code.
32175 [!__NR_lchown]: Likewise.
32176 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32177 [__NR_lchown]: Likewise.
32178 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32179 comment referencing __ASSUME_LCHOWN_SYSCALL.
32180 * sysdeps/unix/sysv/linux/i386/sigaction.c
32181 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32182 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32183 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32184 Remove conditional code.
32185 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32186 (__protocol_available): Remove #if 0 code.
32187 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32188 conditional code.
32189 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32190 * sysdeps/unix/sysv/linux/kernel-features.h
32191 (__ASSUME_GETCWD_SYSCALL): Don't define.
32192 (__ASSUME_REALTIME_SIGNALS): Likewise.
32193 (__ASSUME_PREAD_SYSCALL): Likewise.
32194 (__ASSUME_PWRITE_SYSCALL): Likewise.
32195 (__ASSUME_POLL_SYSCALL): Likewise.
32196 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32197 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32198 non-SPARC.
32199 (__ASSUME_SIOCGIFNAME): Don't define.
32200 (__ASSUME_MSG_NOSIGNAL): Likewise.
32201 (__ASSUME_SENDFILE): Define unconditionally.
32202 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32203 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32204 conditional code.
32205 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32206 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32207 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32208 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32209 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32210 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32211 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32213 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32216 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32219 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32222 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32225 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32228 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32231 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32234 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32236 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32237 Remove conditional code.
32238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32239 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32240 Remove conditional code.
32241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32242 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32243 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32244 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32245 Remove conditional code.
32246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32247 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32248 Remove conditional code.
32249 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32250 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32251 Remove conditional code.
32252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32253 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32254 Remove conditional code.
32255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32256 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32257 Remove conditional code.
32258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32259 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32260 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32262 * sysdeps/unix/sysv/linux/sigaction.c
32263 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32264 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32265 * sysdeps/unix/sysv/linux/sigpending.c
32266 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32267 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32268 * sysdeps/unix/sysv/linux/sigprocmask.c
32269 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32270 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32271 * sysdeps/unix/sysv/linux/sigsuspend.c
32272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32274 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32275 (__libc_missing_rt_sigs): Remove.
32276 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32277 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32278 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32279 Remove conditional code.
32280 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32281 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32282 return 1.
32283 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32284 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32285 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32286 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32287
1bfb7291
AJ
322882012-05-14 Andreas Jaeger <aj@suse.de>
32289
caae5a81
AJ
32290 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32291 it's not used in glibc.
32292 (__coshm1): Likewise.
32293 (__acosh1p): Likewise.
32294 (__sgn): Likewise.
32295
1bfb7291
AJ
32296 * manual/string.texi (Copying and Concatenation): Add missing
32297 variable in concat example.
32298 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32299
c044d724
L
323002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32301
144c5467 32302 [BZ #14103]
c044d724
L
32303 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32304 __builtin_clzl with __builtin_clzll.
32305
2523c62b
L
323062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32307
32308 [BZ #14104]
32309 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32310 libc_freeres_ptr.
32311
d7bb4c42
LD
323122012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32313
32314 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32315 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32316 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32317 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32318
9dc4e1fb
MF
323192012-05-14 Mike Frysinger <vapier@gentoo.org>
32320
32321 * NEWS: Update ia64 info.
32322
c7df0112
AS
323232012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32324
32325 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32326 used as bcopy.
32327
dc70356c
TS
323282012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32329
32330 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32331 * sysdeps/unix/syscalls.list (dup3): Likewise.
32332 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32333 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32334
9fb1a21f
L
323352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32336
32337 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32338 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32339
4822a2a5
L
323402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32341
32342 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32343 thread pointer.
32344 (TLS_IE): Use mov/add instead of movq/addq to load thread
32345 pointer.
32346 (TLS_GD_PREFIX): New.
32347 (TLS_GD): Use it.
32348
842b81d6
DM
323492012-05-11 David S. Miller <davem@davemloft.net>
32350
32351 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32352 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32353 (_FPU_SETCW): Likewise.
32354
1cf463cd
L
323552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32356
32357 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32358 is 32-byte aligned.
32359
60cc4a18
AS
323602012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32361
32362 [BZ #11837]
32363 * iconvdata/gb18030.c: Update tables.
32364 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32365 characters specially.
32366 (BODY for TO_LOOP): Add encoding of missing ranges.
32367
febb44a4
TS
323682012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32369
32370 [BZ #13673]
32371 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32372 * sysdeps/mach/hurd/dup3.c: Likewise.
32373 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32374 * sysdeps/powerpc/memmove.c:: Likewise.
32375
0a10fb9e
L
323762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32377
32378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32379 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32380
df8a552f
L
323812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32382
32383 * elf/elf.h (R_X86_64_RELATIVE64): New.
32384 (R_X86_64_NUM): Updated.
32385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32386 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32387 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32388 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32389 tst-quad1pie tst-quad2pie
32390 (modules-names): Add tst-quadmod1 tst-quadmod2.
32391 ($(objpfx)tst-quad1): New dependency.
32392 ($(objpfx)tst-quad2): Likewise.
32393 ($(objpfx)tst-quad1pie): Likewise.
32394 ($(objpfx)tst-quad2pie): Likewise.
32395 * sysdeps/x86_64/tst-quad1.c: New file.
32396 * sysdeps/x86_64/tst-quad1pie.c: New file.
32397 * sysdeps/x86_64/tst-quad2.c: Likewise.
32398 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32399 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32400 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32401 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32402 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32403
f34d6f84
ST
324042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32405
f42d41d1
ST
32406 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32407 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32408 * streams/stropts.h (t_scalar_t): Define type.
32409
3c3571fc
ST
32410 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32411 (_PATH_PRESERVE): Set to "/var/lib".
32412 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32413
61f06bd3
ST
32414 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32415 instead of int.
32416
918d4d71
ST
32417 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32418 if __dir_mkfile succeeded.
32419
f34d6f84
ST
32420 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32421 checking for _hurd_dtablesize. Unlock it right after having
32422 finished _hurd_dtable allocation.
32423
10589b4a
TS
324242012-05-10 Thomas Schwinge <thomas@schwinge.name>
32425
674cdbc7
TS
32426 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32427 * sysdeps/mach/hurd/configure: Regenerated.
32428 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32429 special-casing to...
32430 * sysdeps/gnu/configure.in: ... this new file.
32431 * sysdeps/unix/sysv/linux/configure: Regenerated.
32432 * sysdeps/gnu/configure: New generated file.
32433
8e41b99f
TS
32434 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32435 for Linux: use nsec instead of usec, as well as:
32436 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32437 members of type struct timespec.
32438 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32439 New macros.
32440 (struct stat64): Likewise.
32441 (_STATBUF_ST_NSEC): New macro.
32442 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32443
10589b4a
TS
32444 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32445 __strtoul_internal rather than strtoul.
32446
63643c85
PT
324472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32448
32449 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32450 and reject them.
32451
3faebe6a
ST
324522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32453
32454 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32455 which preserves existing values.
32456 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32457
c6474b07
PT
324582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32459
32460 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32461 TIMEOUT values. Return EINVAL for NFDS values either negative or
32462 greater than FD_SETSIZE.
32463
1043890b
ST
324642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32465
32466 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32467 allocated, call __vm_protect to finish enabling the existing space, and
32468 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32469 allocate the remainder.
32470
37ed8b9b
PT
324712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32472
32473 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32474 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32475
db653660
ST
324762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32477
37ed8b9b
PT
32478 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32479 sysdeps/mach/hurd/readlink.c.
b29d4053 32480
db653660
ST
32481 * posix/tst-sysconf.c (posix_options): Only use
32482 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32483 _POSIX_SYNCHRONIZED_IO when they are defined
32484 * sysdeps/mach/hurd/bits/posix_opt.h:
32485 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32486 (_XOPEN_REALTIME): Undefine macro.
32487 (_XOPEN_REALTIME_THREADS): Undefine macro.
32488 (_XOPEN_SHM): Undefine macro.
32489 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32490 macro to -1.
32491 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32492 macro to -1.
32493 (_POSIX_ASYNC_IO): Undefine macro.
32494 (_POSIX_PRIORITIZED_IO): Undefine macro.
32495 (_POSIX_SPIN_LOCKS): Define macro to -1.
32496
ee16e894
ST
32497 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32498 SA_NODEFER, SA_RESETHAND.
32499 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32500 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32501 F_DUPFD_CLOEXEC.
32502
6103ae3b
TS
325032012-05-10 Thomas Schwinge <thomas@schwinge.name>
32504
32505 * elf/Makefile (pldd-modules): Define unconditionally.
32506
80b4e5f3
TS
325072012-05-10 Thomas Schwinge <thomas@schwinge.name>
32508
32509 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32510
edadcbd6
ST
325112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32512
32513 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32514 Return ENOENT when name is empty.
32515 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32516
80694780
TS
325172012-05-10 Thomas Schwinge <thomas@schwinge.name>
32518
1792c087
TS
32519 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32520
80694780
TS
32521 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32522
6b645f0d
ST
325232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32524
80694780
TS
32525 Fix mlock in all cases except non-readable pages.
32526 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32527 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 32528
6b645f0d
ST
32529 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32530 (__mkdir): When path is `/', just fail with EEXIST.
32531 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32532
e468f8a3
TS
325332012-05-10 Thomas Schwinge <thomas@schwinge.name>
32534
32535 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32536 <sys/uio.h> (for writev).
32537 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32538 and <sys/param.h> (for MIN).
32539
a4186cff
PT
325402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32541
32542 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32543 REQUESTED_TIME. Properly set the remaining time and return EINTR
32544 if interrupted.
32545
510bbf14
TS
325462012-05-10 Thomas Schwinge <thomas@schwinge.name>
32547
32548 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32549 Depend on against $(link-rpcuserlibs).
32550
5d5722e8
ST
325512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32552
a4186cff
PT
32553 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32554 (__libc_stack_end): Do not use attribute_relro.
32555 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32556 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 32557 to libthread-provided value.
a4186cff
PT
32558 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32559 attribute_relro.
5d5722e8 32560
37233df9
TS
325612012-05-10 Thomas Schwinge <thomas@schwinge.name>
32562
be971a2b
TS
32563 [BZ #3748]
32564 * bits/libc-lock.h (__libc_once_get): New macro.
32565 * sysdeps/mach/bits/libc-lock.h: Likewise.
32566 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32567 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32568 instead of using implementation details.
32569
37233df9
TS
32570 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32571 * libio/freopen.c: Likewise.
32572 * libio/freopen64.c: Likewise.
32573 * misc/syslog.c: Likewise.
32574 * nscd/connections.c: Likewise.
32575 * nscd/netgroupcache.c: Likewise.
32576 * sysdeps/posix/getcwd.c: Likewise.
32577
38de94a5
RM
325782012-05-10 Roland McGrath <roland@hack.frob.com>
32579
32580 * math/w_ilogbf.c: Add #include <limits.h>.
32581
67530489
ST
325822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32583
a4186cff 32584 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
32585 path instead of returning without unlocking.
32586
67530489
ST
32587 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32588 immediate-write ioctls.
32589 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32590
5aa3a74a
TS
325912012-05-10 Thomas Schwinge <thomas@schwinge.name>
32592
18bad2ae
TS
32593 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32594 __builtin_frame_address instead of making assumptions about the
32595 location of the return address relative to DATA. Force early load of
32596 the return address.
32597 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32598 __builtin_frame_address.
32599
5aa3a74a
TS
32600 dup3 for GNU Hurd.
32601 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32602 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32603 implement dup3 and do some further code clean-ups.
32604 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32605 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32606
ecd0de9a
ST
326072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32608
cd9fa985
ST
32609 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32610
a4186cff
PT
32611 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32612 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32613 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32614 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32615 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32616 d->port.lock.
802ca5a5 32617
a4186cff
PT
32618 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32619 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32620 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 32621
bcf55240
TS
326222012-05-10 Thomas Schwinge <thomas@schwinge.name>
32623
6960eb42
TS
32624 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32625 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32626 definitions.
32627
eb43375f
TS
32628 accept4 for GNU Hurd.
32629 * include/sys/socket.h (__libc_accept4): New prototype.
32630 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32631 to implement __libc_accept4.
32632 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32633 __libc_accept4.
32634 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32635
bcf55240
TS
32636 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32637 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32638 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32639 signal-defines.sym.
32640
6178c55b
ST
326412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32642
a4186cff 32643 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 32644
6f080c2f
TS
326452012-05-10 Thomas Schwinge <thomas@schwinge.name>
32646
32647 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32648 assertion on O_CLOEXEC flag.
32649 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32650 * hurd/intern-fd.c: Likewise.
32651 * hurd/port2fd.c: Likewise.
32652
bcfe3a54
ST
326532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32654
32655 [BZ #3906]
32656 * bits/in.h (IPV6_PKTINFO): Define new macro.
32657 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32658
89c9aa49
AZ
326592012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32660
32661 [BZ #13954]
32662 [BZ #13955]
32663 [BZ #13956]
32664 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32666 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32667 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32668 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32669 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32670 * math/libm-test.inc (logb_test) : Additional logb tests.
32671
021db4be
AJ
326722012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32673 Andreas Jaeger <aj@suse.de>
32674
32675 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32676 * configure: Regenerated.
32677 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32678 * config.make.in (link-obsolete-rpc): New substituted variable.
32679 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32680 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32681 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32682 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32683 so that libc.a contains the symbols.
32684 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32685 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32686 * sunrpc/auth_none.c: Likewise.
32687 * sunrpc/auth_unix.c: Likewise.
32688 * sunrpc/authdes_prot.c: Likewise.
32689 * sunrpc/authuxprot.c: Likewise.
32690 * sunrpc/clnt_gen.c: Likewise.
32691 * sunrpc/clnt_perr.c: Likewise.
32692 * sunrpc/clnt_raw.c: Likewise.
32693 * sunrpc/clnt_simp.c: Likewise.
32694 * sunrpc/clnt_tcp.c: Likewise.
32695 * sunrpc/clnt_udp.c: Likewise.
32696 * sunrpc/clnt_unix.c: Likewise.
32697 * sunrpc/des_crypt.c: Likewise.
32698 * sunrpc/des_soft.c: Likewise.
32699 * sunrpc/get_myaddr.c: Likewise.
32700 * sunrpc/key_call.c: Likewise.
32701 * sunrpc/key_prot.c: Likewise.
32702 * sunrpc/netname.c: Likewise.
32703 * sunrpc/pm_getmaps.c: Likewise.
32704 * sunrpc/pm_getport.c: Likewise.
32705 * sunrpc/pmap_clnt.c: Likewise.
32706 * sunrpc/pmap_prot.c: Likewise.
32707 * sunrpc/pmap_prot2.c: Likewise.
32708 * sunrpc/pmap_rmt.c: Likewise.
32709 * sunrpc/publickey.c: Likewise.
32710 * sunrpc/rpc_cmsg.c: Likewise.
32711 * sunrpc/rpc_common.c: Likewise.
32712 * sunrpc/rpc_dtable.c: Likewise.
32713 * sunrpc/rpc_prot.c: Likewise.
32714 * sunrpc/rpc_thread.c: Likewise.
32715 * sunrpc/rtime.c: Likewise.
32716 * sunrpc/svc.c: Likewise.
32717 * sunrpc/svc_auth.c: Likewise.
32718 * sunrpc/svc_raw.c: Likewise.
32719 * sunrpc/svc_run.c: Likewise.
32720 * sunrpc/svc_tcp.c: Likewise.
32721 * sunrpc/svc_udp.c: Likewise.
32722 * sunrpc/svc_unix.c: Likewise.
32723 * sunrpc/svcauth_des.c: Likewise.
32724 * sunrpc/xcrypt.c: Likewise.
32725 * sunrpc/xdr.c: Likewise.
32726 * sunrpc/xdr_array.c: Likewise.
32727 * sunrpc/xdr_float.c: Likewise.
32728 * sunrpc/xdr_intXX_t.c: Likewise.
32729 * sunrpc/xdr_mem.c: Likewise.
32730 * sunrpc/xdr_rec.c: Likewise.
32731 * sunrpc/xdr_ref.c: Likewise.
32732 * sunrpc/xdr_sizeof.c: Likewise.
32733 * sunrpc/xdr_stdio.c: Likewise.
32734
b5c086a2
RM
327352012-05-10 Roland McGrath <roland@hack.frob.com>
32736
32737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32738 change. Update copyright years.
32739
6d74dd09
JM
327402012-05-10 Joseph Myers <joseph@codesourcery.com>
32741
32742 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32743
28e72501
MK
327442012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32745 Joseph Myers <joseph@codesourcery.com>
32746 Paul Pluzhnikov <ppluzhnikov@google.com>
32747
32748 [BZ #14012]
32749 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32750 requiring rpcgen.
32751 [cross-compiling] (extra-libs): Likewise.
32752 [cross-compiling] (extra-libs-others): Likewise.
32753 [cross-compiling] (librpcsvc-routines): Likewise.
32754 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32755 [cross-compiling] (omit-deps): Likewise.
32756 (sunrpc-CPPFLAGS): New variable.
32757 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32758 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32759 (cross-rpcgen-objs): New variable.
32760 (extra-objs): Append $(cross-rpcgen-objs).
32761 ($(cross-rpcgen-objs)): New rule.
32762 ($(objpfx)cross-rpcgen): Likewise.
32763 (rpcgen-cmd): Define to use $(built-program-file). Expand
32764 comment.
32765 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32766 ($(objpfx)x%.stmp): Likewise.
32767 * sunrpc/proto.h [IS_IN_build] (_): Define.
32768 [IS_IN_build] (_libc_intl_domainname): Likewise.
32769
c8c59454
L
327702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32771
32772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32773 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32774 and R_X86_64_TPOFF64.
32775
6f27cd16
JM
327762012-05-10 Joseph Myers <joseph@codesourcery.com>
32777
32778 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32779 sysdeps/unix/sysv/syscalls.list.
32780 (stime): Likewise.
32781 (utime): Likewise.
32782 * sysdeps/unix/sysv/syscalls.list: Remove file.
32783
02467e1c
PE
327842012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32785
32786 [BZ #3440]
32787 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32788 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32789 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32790 (__LC_IDENTIFICATION): Make these macros useful in #if
32791 expressions, as required by C99.
32792
da392631
AS
327932012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32794
32795 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32796 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32797 after this.
32798
8115f29b
L
327992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32800
32801 * stdlib/longlong.h: Updated from GCC.
32802
bdd74070
AJ
328032012-05-09 Andreas Jaeger <aj@suse.de>
32804
edfe0dbe
AJ
32805 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32806 default is first entry.
32807 (run_mode): Set type.
32808 (main): Remove informal message about syslog.
32809 (options): Fix typo.
32810
bcfe3a54
ST
32811 [BZ #14053]
32812 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32813 to asm.
bcfe3a54
ST
32814 (lrint): Likewise.
32815 (llrintf): Likewise.
32816 (llrint): Likewise.
32817 (rint): Likewise.
32818 (rintf): Likewise.
32819 (nearbyint): Likewise.
32820 (nearbyintf): Likewise.
bdd74070 32821
91d8d69e
AJ
328222012-05-09 Andreas Jaeger <aj@suse.de>
32823 Pedro Alves <palves@redhat.com>
32824
32825 * nscd/nscd.c (run_mode): Use enum.
32826 (main): Cleanup coding style issue.
32827
bb90b80b
AJ
328282012-05-09 Alexandre Oliva <aoliva@redhat.com>
32829 Andreas Jaeger <aj@suse.de>
32830
bcfe3a54
ST
32831 * nscd/nscd.c (go_background): Replaced with...
32832 (run_mode): ... this.
bb90b80b 32833 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32834 (options): Add -F --foreground.
32835 (main): Implement it.
32836 (parse_opt): Parse it.
bb90b80b 32837
1a4b75a1
AJ
328382012-05-09 Andreas Jaeger <aj@suse.de>
32839
32840 [BZ #14083]
32841 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32842 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32843 -Wconversion warning.
32844 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32845 Likewise.
32846
b1cc2472
JM
328472012-05-09 Joseph Myers <joseph@codesourcery.com>
32848
32849 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32850 == 0.
32851 (LC_ALL): Use macro-int-constant.
32852 (LC_COLLATE): Likewise.
32853 (LC_CTYPE): Likewise.
32854 (LC_MESSAGES): Likewise.
32855 (LC_MONETARY): Likewise.
32856 (LC_NUMERIC): Likewise.
32857 (LC_TIME): Likewise.
32858 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32859 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32860 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32861 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32862 Specify type.
32863 [C99-based standards] (float_t): Expect type.
32864 [C99-based standards] (double_t): Expect type.
32865 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32866 type.
32867 [C99-based standards] (HUGE_VALL): Likewise.
32868 [C99-based standards] (INFINITY): Likewise.
32869 [C99-based standards] (NAN): Likewise.
32870 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32871 [C99-based standards] (FP_NAN): Likewise.
32872 [C99-based standards] (FP_NORMAL): Likewise.
32873 [C99-based standards] (FP_SUBNORMAL): Likewise.
32874 [C99-based standards] (FP_ZERO): Likewise.
32875 [C99-based standards] (FP_FAST_FMA): Use
32876 optional-macro-int-constant. Specify type. Require == 1.
32877 [C99-based standards] (FP_FAST_FMAF): Likewise.
32878 [C99-based standards] (FP_FAST_FMAL): Likewise.
32879 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32880 [C99-based standards] (FP_ILOGBNAN): Likewise.
32881 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32882 Specify type.
32883 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32884 [C99-based standards] (math_errhandling): Specify type.
32885 [ISO99 || ISO11] (signgam): Do not allow.
32886 [non-C99-based standards] (copysignf): Do not allow.
32887 [non-C99-based standards] (exp2f): Likewise.
32888 [non-C99-based standards] (log2f): Likewise.
32889 [non-C99-based standards] (modff): Allow.
32890 [non-C99-based standards] (erff): Do not allow.
32891 [non-C99-based standards] (erfcf): Likewise.
32892 [non-C99-based standards] (gammaf): Likewise.
32893 [non-C99-based standards] (hypotf): Likewise.
32894 [non-C99-based standards] (j0f): Likewise.
32895 [non-C99-based standards] (j1f): Likewise.
32896 [non-C99-based standards] (jnf): Likewise.
32897 [non-C99-based standards] (lgammaf): Likewise.
32898 [non-C99-based standards] (tgammaf): Likewise.
32899 [non-C99-based standards] (y0f): Likewise.
32900 [non-C99-based standards] (y1f): Likewise.
32901 [non-C99-based standards] (ynf): Likewise.
32902 [non-C99-based standards] (isnanf): Likewise.
32903 [non-C99-based standards] (acoshf): Likewise.
32904 [non-C99-based standards] (asinhf): Likewise.
32905 [non-C99-based standards] (atanhf): Likewise.
32906 [non-C99-based standards] (cbrtf): Likewise.
32907 [non-C99-based standards] (expm1f): Likewise.
32908 [non-C99-based standards] (ilogbf): Likewise.
32909 [non-C99-based standards] (log1pf): Likewise.
32910 [non-C99-based standards] (logbf): Likewise.
32911 [non-C99-based standards] (nextafterf): Likewise.
32912 [non-C99-based standards] (remainderf): Likewise.
32913 [non-C99-based standards] (rintf): Likewise.
32914 [non-C99-based standards] (scalbf): Likewise.
32915 [non-C99-based standards] (copysignl): Likewise.
32916 [non-C99-based standards] (exp2l): Likewise.
32917 [non-C99-based standards] (log2l): Likewise.
32918 [non-C99-based standards] (modfl): Allow.
32919 [non-C99-based standards] (erfl): Do not allow.
32920 [non-C99-based standards] (erfcl): Likewise.
32921 [non-C99-based standards] (gammal): Likewise.
32922 [non-C99-based standards] (hypotl): Likewise.
32923 [non-C99-based standards] (j0l): Likewise.
32924 [non-C99-based standards] (j1l): Likewise.
32925 [non-C99-based standards] (jnl): Likewise.
32926 [non-C99-based standards] (lgammal): Likewise.
32927 [non-C99-based standards] (tgammal): Likewise.
32928 [non-C99-based standards] (y0l): Likewise.
32929 [non-C99-based standards] (y1l): Likewise.
32930 [non-C99-based standards] (ynl): Likewise.
32931 [non-C99-based standards] (isnanl): Likewise.
32932 [non-C99-based standards] (acoshl): Likewise.
32933 [non-C99-based standards] (asinhl): Likewise.
32934 [non-C99-based standards] (atanhl): Likewise.
32935 [non-C99-based standards] (cbrtl): Likewise.
32936 [non-C99-based standards] (expm1l): Likewise.
32937 [non-C99-based standards] (ilogbl): Likewise.
32938 [non-C99-based standards] (log1pl): Likewise.
32939 [non-C99-based standards] (logbl): Likewise.
32940 [non-C99-based standards] (nextafterl): Likewise.
32941 [non-C99-based standards] (remainderl): Likewise.
32942 [non-C99-based standards] (rintl): Likewise.
32943 [non-C99-based standards] (scalbl): Likewise.
32944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32945 [non-C99-based standards] (FP_*): Do not allow.
32946 [C99-based standards] (FP_*): Change to
32947 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32948 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32949 allow.
32950 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32951 (SIG_ERR): Likewise.
32952 [X/Open-based standards] (SIG_HOLD): Likewise.
32953 (SIG_IGN): Likewise.
32954 (SIGABRT): Use macro-int-constant. Specify type. Require
32955 positive value.
32956 (SIGFPE): Likewise.
32957 (SIGILL): Likewise.
32958 (SIGINT): Likewise.
32959 (SIGSEGV): Likewise.
32960 (SIGTER): Likewise.
32961 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32962 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32963 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32964 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32965 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32966 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32967 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32968 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32969 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32970 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32971 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32972 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32973 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32974 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32975 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32976 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32977 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32978 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32979 [X/Open-based standards] (SIGTRAP): Likewise.
32980 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32981 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32982 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32983 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32984 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32985 allow.
32986
b9f1922d
IW
329872012-05-08 Ian Wienand <ianw@vmware.com>
32988
32989 [BZ #14080]
32990 * time/tzset.c (__tzset_parse_tz): Update default rules for
32991 daylight time changes in the Energy Policy Act of 2005.
32992
1db86e88
AJ
329932012-05-09 Andreas Jaeger <aj@suse.de>
32994
32995 [BZ #13983]
32996 * elf/ldconfig.c (parse_conf): Change string to make clear that
32997 ldconfig only issued a warning if ld.so.conf does not exist.
32998
dee4a4e3
DM
329992012-05-08 David S. Miller <davem@davemloft.net>
33000
ee0db190
DM
33001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33002 movxtod instead of popping the value on the stack.
33003
dee4a4e3
DM
33004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33005
6a43ec98
CD
330062012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33007
33008 * config.h.in: Add HAVE_ARM_PCS_VFP.
33009
05c2c961
RMG
330102012-05-08 Roland Mc Grath <roland@hack.frob.com>
33011
bcfe3a54
ST
33012 [BZ #13979]
33013 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33014 checking but the checks are disabled for any reason.
05c2c961 33015
4b30f61a
L
330162012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33017
33018 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33019 and ELF64_R_TYPE with ELFW(R_TYPE).
33020
eee2bc67
JM
330212012-05-08 Joseph Myers <joseph@codesourcery.com>
33022
7ea5391a
JM
33023 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33024 (ulimit): Likewise.
33025
eee2bc67
JM
33026 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33027 (settimeofday): Likewise.
33028
abb66a67
MF
330292012-05-08 Mike Frysinger <vapier@gentoo.org>
33030
33031 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33032 a struct th_u2 inside the union, and move tu_block/tu_code into
33033 a new th_u3 union of tu_block/tu_code inside of that. Move
33034 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33035 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33036 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33037 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33038 (th_stuff): Change to th_u1.tu_stuff.
33039 (th_data): Define.
33040 (th_msg): Change to th_u1.th_u2.tu_data.
33041
7f18b530
DM
330422012-05-07 David S. Miller <davem@davemloft.net>
33043
05760585
DM
33044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33045
7f18b530
DM
33046 [BZ #14074]
33047 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33048 (SETUP_PIC_REG): Use it.
33049 (SETUP_PIC_REG_LEAF): Use it.
33050
495fd99f
JM
330512012-05-07 Joseph Myers <joseph@codesourcery.com>
33052
33053 [BZ #13885]
33054 [BZ #13923]
33055 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33056 USE_AS_EXPM1L.
33057 (EXPL_FINITE): Likewise.
33058 (FLDLOG): Likewise.
33059 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33060 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33061 e_expl.S.
33062 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33063 USE_AS_EXPM1L.
33064 (EXPL_FINITE): Likewise.
33065 (FLDLOG): Likewise.
33066 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33067 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33068 e_expl.S.
33069 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33070 test of -max_value argument for long double.
33071 * sysdeps/i386/fpu/libm-test-ulps: Update.
33072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33073
6693d694
DM
330742012-05-06 David S. Miller <davem@davemloft.net>
33075
33076 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33077 quad soft-float symbols whose references which are compiler
33078 generated.
33079 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33080
6c23e11c
JM
330812012-05-06 Joseph Myers <joseph@codesourcery.com>
33082
d8b82cad
JM
33083 [BZ #13884]
33084 [BZ #13914]
33085 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33086 USE_AS_EXP10L.
33087 (EXPL_FINITE): Likewise.
33088 (FLDLOG): Likewise.
33089 (c0): Likewise.
33090 (c1): Likewise.
33091 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33092 Adjust comments for base varying.
33093 (__expl_finite): Change alias to EXPL_FINITE.
33094 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33095 e_expl.S.
33096 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33097 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33098 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33099 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33100 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33101 USE_AS_EXP10L.
33102 (EXPL_FINITE): Likewise.
33103 (FLDLOG): Likewise.
33104 (c0): Likewise.
33105 (c1): Likewise.
33106 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33107 Adjust comments for base varying.
33108 (__expl_finite): Change alias to EXPL_FINITE.
33109 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33110 tests for bugs.
33111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33112
6c23e11c
JM
33113 [BZ #14064]
33114 * math/libm-test.inc (check_float_internal): Correct ulp
33115 calculation for subnormal expected results.
33116
29ba805c
AJ
331172012-05-06 Andreas Jaeger <aj@suse.de>
33118
33119 * Makeconfig (+math-flags): New, set to -frounding-math.
33120 (+cflags): Add +math-flags so that all of glibc gets compiled with
33121 it.
33122
33123 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33124
7b17aeda
JM
331252012-05-05 Joseph Myers <joseph@codesourcery.com>
33126
5779f134
JM
33127 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33128 Disable one test.
33129
41498f4d
JM
33130 [BZ #13787]
33131 [BZ #13922]
33132 [BZ #14036]
33133 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33134 (__ieee754_expl): Allow for and saturate large arguments.
33135 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33136 (u_threshold): Likewise.
33137 (__exp): Call __ieee754_exp before checking for overflow and
33138 underflow.
33139 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33140 (u_threshold): Likewise.
33141 (__expf): Call __ieee754_expf before checking for overflow and
33142 underflow.
33143 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33144 (u_threshold): Likewise.
33145 (__expl): Call __ieee754_expl before checking for overflow and
33146 underflow.
33147 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33148 (__ieee754_expl): Allow for and saturate large arguments.
33149 * math/libm-test.inc (exp_test): Add another test. Do not allow
33150 missing overflow exception on overflow.
33151 (expm1_test): Do not allow missing overflow exception on overflow.
33152
6698b8bf
JM
33153 * sysdeps/i386/fpu/e_expl.c: Move to ...
33154 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33155 rather than using inline asm.
33156 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33157 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33158 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33159
7b17aeda
JM
33160 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33161 (nice): Likewise.
33162 (poll): Likewise.
33163 (signal): Likewise.
33164 (time): Likewise.
33165 (times): Likewise.
33166
f7c85819
JM
331672012-05-04 Joseph Myers <joseph@codesourcery.com>
33168
33169 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33170 sysdeps/unix/common/syscalls.list.
33171 (fchmod): Likewise.
33172 (fchown): Likewise.
33173 (ftruncate): Likewise.
33174 (getrusage): Likewise.
33175 (gettimeofday): Likewise.
33176 (setpgid): Likewise.
33177 (setregid): Likewise.
33178 (setreuid): Likewise.
33179 (sigaction): Likewise.
33180 (truncate): Likewise.
33181 (vhangup): Likewise.
33182 * sysdeps/unix/common/syscalls.list: Remove file.
33183 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33184 * sysdeps/unix/sysv/linux/Implies: Likewise.
33185
336270d0
L
331862012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33187
33188 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33190 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33191 Moved to ...
33192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33193 Here.
33194 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33195 to ...
33196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33197 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33198 to ...
33199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33200 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33201 to ...
33202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33203 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33204 to ...
33205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33206 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33207 to ...
33208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33209 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33210 to ...
33211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33212 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33213 to ...
33214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33215 Here.
33216 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33217 to ...
33218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33219 Here.
33220 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33221 to ...
33222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33223 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33224 Moved to ...
33225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33226 Here.
33227 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33228 to ...
33229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33230
d128e450
JM
332312012-05-04 Joseph Myers <joseph@codesourcery.com>
33232
fa8ee516
JM
33233 * sysdeps/unix/common/bits/dirent.h: Remove file.
33234 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33235
d128e450
JM
33236 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33237 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33238 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33239 * sysdeps/unix/bsd/isatty.c: Likewise.
33240 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33241 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33242 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33243
ff8faaf0 332442012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33245
62881be4 33246 [BZ #13563]
31dc8730
AZ
33247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33248 long double comparison inaccuracies.
33249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33251
6fef930c
AS
332522012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33253
33254 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33255 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33256
8f203e6c
JM
332572012-05-04 Joseph Myers <joseph@codesourcery.com>
33258
33259 [BZ #14049]
33260 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33261 nonzero digits before rounding a hex value.
33262 * stdlib/tst-strtod.c (tests): Add another test.
33263
5197d9c2
AK
332642012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33265
33266 * sysdeps/s390/fpu/libm-test-ulps: Update.
33267
f0c1dedf
AJ
332682012-05-03 Andreas Jaeger <aj@suse.de>
33269
33270 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33271 does not get optimized out.
33272 (malloc_opt_barrier): New.
33273
a65ef2ae 332742012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33275 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33276
2b942cb7 33277 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33278 intermediate file deletion.
2b942cb7 33279 (generated): Add .symlist files.
a65ef2ae 33280
54b71e02
JM
332812012-05-03 Joseph Myers <joseph@codesourcery.com>
33282
33283 [BZ #13775]
33284 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33285 Redirect under this condition.
33286 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33287 [__USE_GNU] (__dprintf_chk): Not under this condition.
33288 [__USE_GNU] (__vdprintf_chk): Likewise.
33289 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33290 under this condition.
33291 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33292 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33293 [__USE_XOPEN2K8] (vdprintf): Likewise.
33294 [__USE_GNU] (__dprintf_chk): Not under this condition.
33295 [__USE_GNU] (__vdprintf_chk): Likewise.
33296 [__USE_GNU] (dprintf): Likewise.
33297 [__USE_GNU] (vdprintf): Likewise.
33298
d3dfcc41
RM
332992012-05-03 Roland McGrath <roland@hack.frob.com>
33300
33301 * elf/Makefile (common-generated): Set this instead of generated for
33302 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33303 $(all-built-dso)-derived lists.
33304
7ac30cc5
AJ
333052012-05-03 Andreas Jaeger <aj@suse.de>
33306
0c51e550
AJ
33307 * sysdeps/i386/fpu/libm-test-ulps: Update.
33308
7ac30cc5
AJ
33309 * FAQ: Removed.
33310 * FAQ.in: Likewise.
33311 * scripts/gen-FAQ.pl: Likewise.
33312 * manual/install.texi (Installation): Point to online location of
33313 FAQ.
33314 * Makefile (files-for-dist): Remove FAQ.
33315 (FAQ): Remove.
33316
d4c2917f
AM
333172012-05-02 Allan McRae <allan@archlinux.org>
33318
33319 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33320 (LDFLAGS-reldepmod5.so): Likewise.
33321 (LDFLAGS-reldep6mod1.so): Likewise.
33322 (LDFLAGS-reldep6mod4.so): Likewise.
33323 (LDFLAGS-reldep8mod3.so): Likewise.
33324 (LDFLAGS-unload4mod1.so): Likewise.
33325 (LDFLAGS-unload4mod2.so): Likewise.
33326 (LDFLAGS-tst-initorder): Likewise.
33327 (LDFLAGS-tst-initordera2.so): Likewise.
33328 (LDFLAGS-tst-initordera3.so): Likewise.
33329 (LDFLAGS-tst-initordera4.so): Likewise.
33330 (LDFLAGS-tst-initorderb2.so): Likewise.
33331 (LDFLAGS-noload): Likewise.
33332 (LDFLAGS-next): Likewise.
33333 (LDFLAGS-order2mod1.so): Likewise.
33334 (LDFLAGS-order2mod2.so): Likewise.
33335 (LDFLAGS-tst-initorder2): Likewise.
33336 (LDFLAGS-tst-initorder2a.so): Likewise.
33337 (LDFLAGS-tst-initorder2b.so): Likewise.
33338 (LDFLAGS-tst-initorder2c.so): Likewise.
33339 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33340
d77f993f
DM
333412012-05-02 David S. Miller <davem@davemloft.net>
33342
33343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33344
171a70b4
PP
333452012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33346
33347 [BZ #14055]
33348 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33349
0be196ad
AJ
333502012-05-02 Andreas Jaeger <aj@suse.de>
33351
33352 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33353 since we manipulate rounding mode.
33354 (CPPFLAGS-test-idouble.c): Likewise.
33355 (CPPFLAGS-test-ifloat.c): Likewise.
33356 (CFLAGS-test-ldouble.c): Likewise.
33357 (CFLAGS-test-double.c): Likewise.
33358 (CFLAGS-test-float.c): Likewise.
33359 (CFLAGS-test-misc.c): Likewise.
33360 (CFLAGS-test-test-fenv.c): Likewise.
33361
4f9d04aa
AZ
333622012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33363
2b942cb7
RM
33364 [BZ #2550]
33365 [BZ #2570]
33366 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33367 comparisons to determine direction to adjust input.
4f9d04aa 33368
82a79e7d
RM
333692012-05-01 Roland McGrath <roland@hack.frob.com>
33370
f5a01ca9
RM
33371 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33372 output to the target.
33373
90fe4186
RM
33374 * scripts/localplt.awk: New file.
33375 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33376 (check-localplt-CFLAGS): Variable removed.
33377 ($(all-built-dso:=.jmprel)): New static pattern rule.
33378 (generated): Add those targets.
33379 (localplt-built-dso): New variable.
33380 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33381
33382 * elf/check-localplt.c: File removed.
33383
82397ed6
RM
33384 * scripts/check-execstack.awk: New file.
33385 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33386 (check-execstack-CFLAGS): Variable removed.
33387 ($(objpfx)check-execstack.h): Target removed.
33388 ($(objpfx)execstack-default): New target.
33389 (generated): Add that instead of check-execstack.h.
33390 ($(all-built-dso:=.phdr)): New static pattern rule.
33391 (generated): Add those targets.
33392 * elf/check-execstack.c: File removed.
33393
82a79e7d
RM
33394 * scripts/check-textrel.awk: New file.
33395 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33396 (check-textrel-CFLAGS): Variable removed.
33397 (all-built-dso): Use := to define.o
33398 ($(all-built-dso:=.dyn)): New static pattern rule.
33399 (generated): Add those targets.
33400 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33401 * config.make.in (READELF): New substituted variable.
33402 * elf/check-textrel.c: File removed.
33403
62fde54f 334042012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33405
615605c9
JM
33406 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33407 allow.
33408 * conform/data/ctype.h-data [C99-based standards] (isblank):
33409 Expect function.
33410 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33411 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33412 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33413 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33414 Specify type. Require positive value.
33415 (EILSEQ): Likewise.
33416 (ERANGE): Likewise.
33417 [ISO || POSIX] (EILSEQ): Do not expect.
33418 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33419 Specify type. Require positive value.
33420 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33421 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33422 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33423 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33424 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33425 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33426 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33427 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33428 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33429 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33430 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33431 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33432 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33433 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33434 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33435 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33436 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33437 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33438 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33439 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33440 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33441 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33442 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33443 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33444 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33445 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33446 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33447 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33448 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33449 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33450 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33451 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33452 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33453 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33454 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33455 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33456 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33457 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33458 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33459 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33460 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33461 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33462 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33463 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33464 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33465 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33466 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33467 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33468 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33469 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33470 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33471 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33472 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33473 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33474 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33475 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33476 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33477 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33478 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33479 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33480 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33481 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33482 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33483 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33484 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33485 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33486 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33487 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33488 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33489 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33490 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33491 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33492 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33493 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33494 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33495 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33496 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33497 Require >= 2.
33498 (FLT_ROUNDS): Expect as macro, not constant.
33499 (FLT_MANT_DIG): Use macro-int-constant.
33500 (DBL_MANT_DIG): Likewise.
33501 (LDBL_MANT_DIG): Likewise.
33502 (FLT_DIG): Likewise.
33503 (DBL_DIG): Likewise.
33504 (LDBL_DIG): Likewise.
33505 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33506 (DBL_MIN_EXP): Likewise.
33507 (LDBL_MIN_EXP): Likewise.
33508 (FLT_MAX_EXP): Use macro-int-constant.
33509 (DBL_MAX_EXP): Likewise.
33510 (LDBL_MAX_EXP): Likewise.
33511 (FLT_MAX_10_EXP): Likewise.
33512 (DBL_MAX_10_EXP): Likewise.
33513 (LDBL_MAX_10_EXP): Likewise.
33514 (FLT_MAX): Use macro-constant.
33515 (DBL_MAX): Likewise.
33516 (LDBL_MAX): Likewise.
33517 (FLT_EPSILON): Use macro-constant. Give upper bound.
33518 (DBL_EPSILON): Likewise.
33519 (LDBL_EPSILON): Likewise.
33520 (FLT_MIN): Likewise.
33521 (DBL_MIN): Likewise.
33522 (LDBL_MIN): Likewise.
33523 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33524 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33525 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33526 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33527 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33528 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33529 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33530 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33531 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33532 [ISO11] (FLT_TRUE_MIN): Likewise.
33533 [ISO11] (LDBL_TRUE_MIN): Likewise.
33534 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33535 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33536 (SCHAR_MIN): Use macro-int-constant. Specify type.
33537 (SCHAR_MAX): Likewise.
33538 (UCHAR_MAX): Likewise.
33539 (CHAR_MIN): Likewise.
33540 (CHAR_MAX): Likewise.
33541 (MB_LEN_MAX): Use macro-int-constant.
33542 (SHRT_MIN): Use macro-int-constant. Specify type.
33543 (SHRT_MAX): Likewise.
33544 (USHRT_MAX): Likewise.
33545 (INT_MAX): Likewise.
33546 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33547 bound negative.
33548 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33549 bound with "U".
33550 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33551 bound with "L".
33552 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33553 bound negative. Suffix upper bound with "L".
33554 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33555 bound with "UL".
33556 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33557 Specify type.
33558 [C99-based standards] (LLONG_MAX): Likewise.
33559 [C99-based standards] (ULLONG_MAX): Likewise.
33560 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33561 == 0.
33562 [ISO11] (max_align_t): Require type.
33563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33564
c9140a62
JM
33565 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33566 from $CFLAGS, without defining away __attribute__ calls.
33567 (checknamespace): Use $CFLAGS_namespace.
33568
9af0bf29
JM
33569 * conform/conformtest.pl (@keywords): Only include C99 keywords
33570 for standards based on C99 or C11.
33571
343222a2
JM
33572 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33573 Disable tests.
33574 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33575 UNIX98]: Likewise.
33576
661f8cf0
JM
33577 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33578 usability of symbols in #if.
33579
ee74b9cb
JM
33580 * conform/conformtest.pl: If macro or constant types start
33581 "promoted:", expect the symbol to be of the following type
33582 promoted by the integer promotions.
62fde54f 33583
aafc49b3
JM
33584 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33585 in one place. Also handle "macro-constant".
33586
fefdf574
JM
33587 * conform/conformtest.pl: Only accept expected macro values with
33588 "==". Parse all "macro" lines in one place.
33589 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33590
f2d922fe
JM
33591 * conform/conformtest.pl: Handle braced types on "constant" lines
33592 instead of handling "typed-constant".
33593 * conform/data/signal.h-data: Use "constant" instead of
33594 "typed-constant".
33595
d22956c9
JM
33596 * conform/conformtest.pl: Handle "optional-" at start of lines in
33597 one place rather than duplicating several cases. Handle each
33598 format of "macro" line with initial "optional-".
33599
028e2e38
JM
33600 * conform/conformtest.pl: Only accept expected constant or
33601 optional-constant values with "==". Parse all "constant" lines in
33602 one place. Parse all "optional-constant" lines in one place.
33603 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33604 * conform/data/fmtmsg.h-data: Likewise.
33605 * conform/data/netinet/in.h-data: Likewise.
33606 * conform/data/tar.h-data: Likewise.
33607 * conform/data/limits.h-data: Use "==" form on "constant" and
33608 "optional-constant" lines.
33609
1b8f2850
JM
33610 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33611 Use -std=c99 for XOPEN2K.
33612 (@knownproblems): Remove.
33613 (newtoken): Don't check %isknown.
33614
a05a144b
JM
33615 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33616 Do not expect macro.
33617 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33618 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33619 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33620 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33621 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33622 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33623 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33624 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33625 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33626 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33627 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33628 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33629 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33630 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33631 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33632 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33633 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33634 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33635 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33636 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33637 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33638 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33639 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33640 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33641 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33642 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33643 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33644 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33645 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33646 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33647 [XPG3] (acosh): Likewise.
33648 [XPG3] (asinh): Likewise.
33649 [XPG3] (atanh): Likewise.
33650 [XPG3] (cbrt): Likewise.
33651 [XPG3] (expm1): Likewise.
33652 [XPG3] (ilogb): Likewise.
33653 [XPG3] (log1p): Likewise.
33654 [XPG3] (logb): Likewise.
33655 [XPG3] (nextafter): Likewise.
33656 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33657 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33658 [XPG3] (remainder): Likewise.
33659 [XPG3] (rint): Likewise.
33660 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33661 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33662 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33663 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33664 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33665 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33666 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33667 [UNIX98 || XOPEN2K] (scalb): Expect.
33668 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33669 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33670 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33671 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33672 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33673 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33674 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33675 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33676 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33677 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33678 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33679 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33680 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33681 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33682 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33683 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33684 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33685 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33686 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33687 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33688 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33689 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33690 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33691 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33692 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33693 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33694 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33695 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33696 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33697 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33698 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33699 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33700 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33701 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33702 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33703 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33704 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33705 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33706 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33707 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33708 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33709 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33710 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33711 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33712 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33713 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33714 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33715 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33716 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33717 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33718 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33719 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33720 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33721 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33722 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33723 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33724 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33725 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33726 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33727 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33728 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33729 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33730 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33731 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33732 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33733 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33734 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33735 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33736 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33737 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33738 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33739 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33740 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33741 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33742 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33743 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33744 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33745 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33746 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33747 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33748 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33749 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33750 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33751 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33752 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33753 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33754 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33755 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33756 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33757 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33758 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33759 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33760 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33761 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33762 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33763 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33764 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33765 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33766 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33767 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33768 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33769 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33770 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33771 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33772 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33773 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33774 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33775 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33776 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33777 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33778 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33779 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33780 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33781 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33782 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33783 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33784 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33785 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33786 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33787 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33788 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33789 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33790 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33791 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33792 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33793 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33794 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33795 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33796 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33797 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33798 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33799 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33800 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33801 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33802 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33803 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33804 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33805
73c5ebe3
JM
33806 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33807 _XOPEN_SOURCE_EXTENDED for XPG4.
33808
39c33b6c
JM
33809 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33810
62fde54f
JM
33811 * Makeconfig (localtime): Remove variable.
33812 (inst_localtime-file): Likewise.
33813
0741d64c
AS
338142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33815
33816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33817 Update.
33818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33819 Update.
33820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33821 Update.
33822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33823 Update.
33824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33825 Update.
33826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33827 Update.
33828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33829 Update.
33830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33831 Update.
33832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33833 Update.
33834
7cb029ee
JM
338352012-05-01 Joseph Myers <joseph@codesourcery.com>
33836
33837 [BZ #2550]
33838 [BZ #2570]
33839 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33840 comparisons to determine direction to adjust input.
33841 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33842 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33843 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33844 Likewise.
33845 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33846 Likewise.
33847 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33848 Likewise.
33849 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33850 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33851 Likewise.
33852 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33853 Likewise.
33854 * math/libm-test.inc (nexttoward_test): Add more tests.
33855
412bd966
AS
338562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33857
33858 [BZ #14040]
33859 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33860 in version GLIBC_2.1, not GLIBC_2.0.
33861 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33862 Likewise.
33863
9568c0c2
JM
338642012-04-30 Joseph Myers <joseph@codesourcery.com>
33865
adfbc8ac
JM
33866 [BZ #13942]
33867 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33868 (1 - x) * (1 + x).
33869 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33870 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33871 * math/libm-test.inc (acos_test): Add more tests.
33872 (asin_test): Likewise.
33873 * sysdeps/i386/fpu/libm-test-ulps: Update.
33874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33875
5ba3cc69
JM
33876 [BZ #14034]
33877 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33878 of square root.
33879 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33880 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33881 * math/libm-test.inc (acos_test_tonearest): New function.
33882 (acos_test_towardzero): Likewise.
33883 (acos_test_downward): Likewise.
33884 (acos_test_upward): Likewise.
33885 (asin_test_tonearest): Likewise.
33886 (asin_test_towardzero): Likewise.
33887 (asin_test_downward): Likewise.
33888 (asin_test_upward): Likewise.
33889 (main): Call the new functions.
33890 * sysdeps/i386/fpu/libm-test-ulps: Update.
33891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33892
9568c0c2
JM
33893 [BZ #13884]
33894 [BZ #13924]
33895 * math/e_exp10.c: Include <float.h>.
33896 (__ieee754_exp10): Handle underflow here rather than multiplying
33897 large negative argument by M_LN10.
33898 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33899 of __ieee754_expf.
33900 * math/e_exp10l.c: Include <float.h>.
33901 (__ieee754_exp10l): Handle underflow here rather than multiplying
33902 large negative argument by M_LN10l.
33903 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33904 spurious overflow exception on underflow.
33905
5ac3ea17
MP
339062012-04-29 Marek Polacek <polacek@redhat.com>
33907
33908 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33909 (__fortify_function): New macro.
33910 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33911 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33912 __extern_always_inline.
33913 * libio/bits/stdio2.h: Likewise.
33914 * libio/bits/stdio.h: Likewise.
33915 * string/string.h: Likewise.
33916 * string/bits/string3.h: Likewise.
33917 * include/stdio.h: Likewise.
33918 * stdlib/bits/stdlib.h: Likewise.
33919 * stdlib/stdlib.h: Likewise.
33920 * rt/bits/mqueue2.h: Likewise.
33921 * rt/mqueue.h: Likewise.
33922 * posix/bits/unistd.h: Likewise.
33923 * posix/unistd.h: Likewise.
33924 * io/bits/poll2.h: Likewise.
33925 * io/bits/fcntl2.h: Likewise.
33926 * io/fcntl.h: Likewise.
33927 * io/sys/poll.h: Likewise.
33928 * misc/bits/syslog.h: Likewise.
33929 * misc/bits/syslog-ldbl.h: Likewise.
33930 * misc/sys/syslog.h: Likewise.
33931 * socket/bits/socket2.h: Likewise.
33932 * socket/sys/socket.h: Likewise.
33933 * debug/tst-chk1.c: Likewise.
33934 * wcsmbs/bits/wchar2.h: Likewise.
33935 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33936 * wcsmbs/wchar.h: Likewise.
33937
ecf0ebfb
AJ
339382012-04-29 Andreas Jaeger <aj@suse.de>
33939
33940 * Makerules (tests): Remove enable-check-abi protection.
33941 (check-abi-warn): Remove.
33942 (check-abi-%): Remove check-abi-warn usage.
33943
33944 * configure.in: Remove check-abi configure option.
33945 * configure: Regenerated.
33946 * config.make.in (enable-check-abi): Remove.
33947
6d5c57fa
AS
339482012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33949
24c5d07e 33950 [BZ #14033]
ded5180a
AS
33951 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33952 double functions to double *_finite functions.
33953
7e0d315d
AS
33954 [BZ #13941]
33955 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33956 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33957 LDBL_MIN_EXP.
33958 * stdio-common/Makefile (tests): Add tst-sprintf3.
33959 * stdio-common/tst-sprintf3.c: New file.
33960
6d5c57fa
AS
33961 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33962 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33963
0749ff8b
JM
339642012-04-28 Joseph Myers <joseph@codesourcery.com>
33965
33966 * conform/conformtest.pl: Remove duplicate typed-constant
33967 handling.
33968
8dbd5d7b
DM
339692012-04-28 David S. Miller <davem@davemloft.net>
33970
33971 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33972 (check-abi-%): Remove AWK script prerequisite and explicit
33973 abilist directory.
33974 (check-abi): Rewrite to just diff the symlist with the abilist.
33975 (config-tls, config-abi-config): Delete, no longer used.
33976 (update-abi-%): Remove AWK script and explicit abilist directory.
33977 (update-abi): Rewrite to simply compare and conditionally copy the
33978 symlist and the sysdep abilist file. Remove update-abi-config
33979 checks.
33980 * abilist/ld.abilist: Remove.
33981 * abilist/libBrokenLocale.abilist: Remove.
33982 * abilist/libanl.abilist: Remove.
33983 * abilist/libcrypt.abilist: Remove.
33984 * abilist/libdl.abilist: Remove.
33985 * abilist/librt.abilist: Remove.
33986 * abilist/libthread_db.abilist: Remove.
33987 * abilist/libutil.abilist: Remove.
33988 * scripts/extract-abilist.awk: Remove.
33989 * scripts/merge-abilist.awk: Remove.
33990 * sysdeps/generic/libcidn.abilist: New file.
33991 * sysdeps/generic/libnss_compat.abilist: New file.
33992 * sysdeps/generic/libnss_db.abilist: New file.
33993 * sysdeps/generic/libnss_dns.abilist: New file.
33994 * sysdeps/generic/libnss_files.abilist: New file.
33995 * sysdeps/generic/libnss_hesiod.abilist: New file.
33996 * sysdeps/generic/libnss_nis.abilist: New file.
33997 * sysdeps/generic/libnss_nisplus.abilist: New file.
33998 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33999 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34000 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34001 file.
34002 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34003 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34004 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34005 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34006 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34007 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34008 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34009 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34010 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34011 file.
34012 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34013 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34014 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34015 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34016 file.
34017 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34018 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34019 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34020 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34021 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34022 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34023 file.
34024 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34025 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34026 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34027 file.
34028 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34030 New file.
34031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34032 New file.
34033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34034 New file.
34035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34036 New file.
34037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34038 New file.
34039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34040 New file.
34041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34042 New file.
34043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34044 New file.
34045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34046 New file.
34047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34048 New file.
34049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34050 New file.
34051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34052 New file.
34053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34054 New file.
34055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34056 file.
34057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34058 New file.
34059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34060 New file.
34061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34062 file.
34063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34064 New file.
34065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34066 New file.
34067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34068 file.
34069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34070 New file.
34071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34072 New file.
34073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34074 New file.
34075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34076 New file.
34077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34078 New file.
34079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34080 New file.
34081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34083 file.
34084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34085 New file.
34086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34087 file.
34088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34089 file.
34090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34091 file.
34092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34093 file.
34094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34095 file.
34096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34097 New file.
34098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34099 file.
34100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34101 file.
34102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34103 New file.
34104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34105 file.
34106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34108 file.
34109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34110 New file.
34111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34112 file.
34113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34114 file.
34115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34116 file.
34117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34118 file.
34119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34120 file.
34121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34122 New file.
34123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34124 file.
34125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34126 file.
34127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34128 New file.
34129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34130 file.
34131 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34132 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34133 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34134 file.
34135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34136 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34137 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34138 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34139 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34140 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34141 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34142 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34143 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34144 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34147 file.
34148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34149 New file.
34150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34151 file.
34152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34153 file.
34154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34155 file.
34156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34157 file.
34158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34159 file.
34160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34161 New file.
34162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34163 New file.
34164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34165 file.
34166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34167 New file.
34168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34169 file.
34170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34172 file.
34173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34174 New file.
34175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34176 file.
34177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34178 file.
34179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34180 file.
34181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34182 file.
34183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34184 file.
34185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34186 New file.
34187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34188 New file.
34189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34190 file.
34191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34192 New file.
34193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34194 file.
34195
41d73a1b
JM
341962012-04-28 Joseph Myers <joseph@codesourcery.com>
34197
34198 * conform/conformtest.pl: Fix typo in handling typed-constant from
34199 allow-header.
34200
28aeeda4
JM
342012012-04-27 Joseph Myers <joseph@codesourcery.com>
34202
adae8f5e
JM
34203 * README: Cut down references to pre-2.6 Linux kernels and
34204 Linuxthreads. Update lists of configurations in libc and ports
34205 and sort alphabetically. Say "or newer" with Linux kernel version
34206 requirements.
34207
28aeeda4
JM
34208 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34209
a462cb63
RA
342102012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34211
34212 [BZ #887]
34213 * math/libm-test.inc (logb_test_downward): New test to expose
34214 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34215 rounding mode.
34216
6ad3493e
JM
342172012-04-27 Joseph Myers <joseph@codesourcery.com>
34218
34219 [BZ #14027]
34220 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34221 to be done.
34222 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34223 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34224
2ce4f015
JM
342252012-04-26 Joseph Myers <joseph@codesourcery.com>
34226
5aeb141a
JM
34227 * sysdeps/unix/i386/brk.S: Remove file.
34228 * sysdeps/unix/i386/dl-brk.S: Likewise.
34229 * sysdeps/unix/i386/pipe.S: Likewise.
34230 * sysdeps/unix/i386/sigreturn.S: Likewise.
34231 * sysdeps/unix/i386/syscall.S: Likewise.
34232 * sysdeps/unix/i386/vfork.S: Likewise.
34233 * sysdeps/unix/i386/wait.S: Likewise.
34234
7143acae
JM
34235 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34236 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34237
2ce4f015
JM
34238 * configure.in (arm*-none*): Do not allow without
34239 --enable-hacker-mode.
34240 (netbsd*): Remove case setting base_os.
34241 (386bsd*): Likewise.
34242 (freebsd*): Likewise.
34243 (bsdi*): Likewise.
34244 (osf*): Likewise.
34245 (sunos*): Likewise.
34246 (ultrix*): Likewise.
34247 (newsos*): Likewise.
34248 (dynix*): Likewise.
34249 (*bsd*): Likewise.
34250 (sysv*): Likewise.
34251 (isc*): Likewise.
34252 (esix*): Likewise.
34253 (sco*): Likewise.
34254 (minix*): Likewise.
34255 (irix4*): Likewise.
34256 (irix6*): Likewise.
34257 (solaris[2-9]*): Likewise.
34258 (none): Likewise.
34259 * configure: Regenerated.
34260
0ac229c8
AZ
342612012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34262
34263 [BZ #11521]
34264 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34265 overflow or cancellation in calculating denominator.
34266 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34267 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34268 down expression to avoid unexpected rounding in newer GCCs.
34269 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34270
33f244f4
DM
342712012-04-26 David S. Miller <davem@davemloft.net>
34272
34273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34274 long-double compat symbols.
34275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34288
cfa1f3e8
DM
342892012-04-25 David S. Miller <davem@davemloft.net>
34290
34291 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34292 HWCAP_* values only after the memory barriers have been defined.
34293 (atomic_full_barrier): Define.
34294 (atomic_read_barrier): Define.
34295 (atomic_write_barrier): Define.
34296
6e236b92
SP
342972012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34298
34299 * shlib-versions: Add libgcc_s version information.
34300 * sysdeps/generic/libgcc_s.h: Remove.
34301 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34302 libgcc_s.h.
34303 * sysdeps/gnu/unwind-resume.c: Likewise.
34304 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34305
aab39a09
DM
343062012-04-25 David S. Miller <davem@davemloft.net>
34307
34308 * sysdeps/unix/sparc/brk.S: Delete.
34309 * sysdeps/unix/sparc/dl-brk.S: Delete.
34310 * sysdeps/unix/sparc/pipe.S: Delete.
34311 * sysdeps/unix/sparc/sysdep.S: Delete.
34312 * sysdeps/unix/sparc/sysdep.h: Delete.
34313 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34314 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34315 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34316 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34317 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34318 (JUMPTARGET): Remove.
34319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34320 sysdeps/unix/sparc/sysdep.h
34321 (ENTRY, END): Remove.
34322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34323
a3cc4f48
JM
343242012-04-25 Joseph Myers <joseph@codesourcery.com>
34325
2ed8cda2
JM
34326 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34327 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34328 -DIS_IN_build.
34329
35d76d59
JM
34330 * timezone/README: Update upstream location and email address for
34331 tzcode and tzdata.
34332 * timezone/zdump.c: Update from tzcode 2012b.
34333 * timezone/zic.c: Likewise.
34334
a3cc4f48
JM
34335 * configure.in (libc_cv_as_needed): Remove test.
34336 * configure: Regenerated.
34337 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34338 conditional definition.
34339 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34340 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34341 * config.make.in (have-as-needed): Remove variable.
34342
ceab42c3
SP
343432012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34344 Paul Pluzhnikov <ppluzhnikov@google.com>
34345
34346 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34347 strings correctly.
34348
3ce2865f
CLT
343492012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34350
34351 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34352 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34353 * sysdeps/sh/strlen.S: Likewise.
34354
f37e0d68
JM
343552012-04-24 Joseph Myers <joseph@codesourcery.com>
34356
ae186e9a
JM
34357 * sysdeps/unix/fork.S: Remove file.
34358 * sysdeps/unix/i386/fork.S: Likewise.
34359 * sysdeps/unix/sparc/fork.S: Likewise.
34360
b96914af
JM
34361 * sysdeps/unix/system.c: Remove file.
34362 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34363
f37e0d68
JM
34364 * sysdeps/unix/getegid.S: Remove file.
34365 * sysdeps/unix/geteuid.S: Likewise.
34366
87ef29ca
RM
343672012-04-24 Roland McGrath <roland@hack.frob.com>
34368
83bcd236
RM
34369 * scripts/check-localplt.awk: New file.
34370 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34371 of diff.
34372 * scripts/data/localplt-generic.data: Add a comment.
34373
87ef29ca
RM
34374 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34375 NODE when __dir_mkfile failed.
34376 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34377 Reported by Ludovic Courtès <ludo@gnu.org>.
34378
e5a6e567
AJ
343792012-04-24 Andreas Jaeger <aj@suse.de>
34380
34381 * Makerules (common-clean): Also remove gen-as-const-headers
34382 files.
34383
c1820385
JM
343842012-04-24 Joseph Myers <joseph@codesourcery.com>
34385
34386 * Makerules (native-compile): Do not change working directory for
34387 build. Use $(OUTPUT_OPTION) in command.
34388 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34389
94e02fc4
AZ
343902012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34391
34392 [BZ #13886]
34393 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34394 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34395 * math/libm-test.inc (floor_test): Add more tests.
34396 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34397
3a533ca3
JM
343982012-04-24 Joseph Myers <joseph@codesourcery.com>
34399
940ab4b3
JM
34400 * sysdeps/unix/getdents.c: Remove file.
34401 * sysdeps/unix/sysv/getdents.c: Likewise.
34402 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34403
90e037bd
JM
34404 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34405 sysdeps/unix/mman/syscalls.list.
34406 (mmap): Likewise.
34407 (mprotect): Likewise.
34408 (msync): Likewise.
34409 (munmap): Likewise.
34410 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34411 * sysdeps/unix/mman/syscalls.list: Remove.
34412 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34413
3a533ca3
JM
34414 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34415 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34416 * configure: Regenerated.
34417 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34418 $(libgcc_s_suffix).
34419 * config.make.in (libgcc_s_suffix): Remove variable.
34420
1ad743de
JM
344212012-04-23 Joseph Myers <joseph@codesourcery.com>
34422
4ad451e2
JM
34423 * sysdeps/unix/sysv/gethostname.c: Move to ...
34424 * sysdeps/posix/gethostname.c: ... here.
34425
5e37ce39
JM
34426 * sysdeps/unix/execve.S: Remove file.
34427
1ad743de
JM
34428 * sysdeps/unix/_exit.S: Remove file.
34429
4e681b5b
AJ
344302012-04-23 Andreas Jaeger <aj@suse.de>
34431
34432 [BZ #13739]
34433 * manual/Makefile: Remove make dist support, there's no
34434 need for a stand-alone documentation tar ball.
34435 (TEXI2DVI): Define always, it's not in Makeconfig.
34436 (dist): Removed.
34437 (tar-it): Removed.
34438 (edition): Removed.
34439 (glibc-doc-$(edition).tar): Removed
34440 (%.Z): Removed.
34441 (%.gz): Removed.
34442 (%.uu): Removed.
34443 (ETAGS): Remove, it's in Makeconfig.
34444 (move-if-change): Remove, it's in Makeconfig.
34445
38686a03 344462012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34447
34448 [BZ #13970]
34449 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34450 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34451 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34452 (strtod_l, strtof_l, strtold_l): Remove __wur.
34453 It is not necessarily an error to ignore strtol's return value.
34454 One can reliably look at the stored endptr to decide whether
34455 the number had valid syntax.
34456
7c0616fa
AJ
344572012-04-21 Andreas Jaeger <aj@suse.de>
34458
803cb6b7 34459 [BZ #13739]
7c0616fa
AJ
34460 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34461
b0fe253f
JM
344622012-04-21 Joseph Myers <joseph@codesourcery.com>
34463
34464 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34465 * sysdeps/unix/sysv/Versions: Remove file.
34466
8280f22d
MT
344672012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34468
34469 [BZ #13927]
34470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34471
75ce411f 344722012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34473
34474 [BZ #7064]
34475 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34476 version from __vm86.
34477
097d59fa
JM
344782012-04-20 Joseph Myers <joseph@codesourcery.com>
34479
a90f3bcb
JM
34480 * sysdeps/unix/common/lxstat.c: Remove file.
34481 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34482
edc7ea78
JM
34483 * sysdeps/unix/sysv/Makefile: Remove file.
34484
cb78c221
JM
34485 * sysdeps/unix/sysv/direct.h: Remove file.
34486
efa6a45f
JM
34487 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34488 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34489 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34490 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34491 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34492 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34493 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34494
9c9f2d0c
JM
34495 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34496
4541c83b
JM
34497 * sysdeps/unix/xmknod.c: Remove file.
34498 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34499
f5d153a0
JM
34500 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34501
aa746595
JM
34502 * sysdeps/unix/sysv/i386/time.S: Remove file.
34503
cce5905e
JM
34504 * sysdeps/unix/fxstat.c: Remove file.
34505 * sysdeps/unix/xstat.c: Likewise.
34506 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34507
37fa3841
JM
34508 * sysdeps/unix/sysv/sigaction.c: Remove file.
34509
ff1962a3
JM
34510 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34511 (sysdep_headers): Remove variable.
34512 [termio.h not in sysdep_headers] (generated): Likewise.
34513 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34514 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34515 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34516 * sysdeps/unix/sysv/tcflow.c: Likewise.
34517 * sysdeps/unix/sysv/tcflush.c: Likewise.
34518 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34519 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34520 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34521 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34522 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34523
e7740d31
JM
34524 * sysdeps/unix/siglist.c: Remove file.
34525
ee06f18b
JM
34526 * sysdeps/unix/getppid.S: Remove file.
34527
097d59fa
JM
34528 * sysdeps/unix/mkdir.c: Remove file.
34529 * sysdeps/unix/rmdir.c: Likewise.
34530
ff3d51ec
AS
345312012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34532
34533 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34534 ERR_MAX value.
34535 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34536 errlist-compat value.
34537
50f81fd7
DM
345382012-04-18 David S. Miller <davem@davemloft.net>
34539
34540 * sysdeps/generic/memcopy.h (reg_char): Delete.
34541 * debug/strcat_chk.c: Use char, not reg_char.
34542 * debug/strcpy_chk.c: Likewise.
34543 * debug/strncat_chk.c: Likewise.
34544 * debug/strncpy_chk.c: Likewise.
34545 * string/memchr.c: Likewise.
34546 * string/memrchr.c: Likewise.
34547 * string/rawmemchr.c: Likewise.
34548 * string/strcat.c: Likewise.
34549 * string/strchr.c: Likewise.
34550 * string/strchrnul.c: Likewise.
34551 * string/strcmp.c: Likewise.
34552 * string/strcpy.c: Likewise.
34553 * string/strncat.c: Likewise.
34554 * string/strncmp.c: Likewise.
34555 * string/strncpy.c: Likewise.
34556
8ff41c46
WS
345572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34558
34559 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34560 __builtin_memcopy is called when src and dest ranges are known to not
34561 overlap.
34562
6b652f46
WS
345632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34564
34565 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34566 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34567 fwd_align_merge macro call.
34568 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34569 bwd_align_merge macro call.
34570 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34571
b282631e
WS
345722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34573
34574 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34575 bwd_align_merge macros.
34576 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34577 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34578 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34579
95aa737c
DM
345802012-04-18 David S. Miller <davem@davemloft.net>
34581
34582 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34583
7a99a614
AJ
345842012-04-18 Andreas Jaeger <aj@suse.de>
34585
34586 [BZ# 6794]
34587 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34588 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34589 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34590
34591 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34592 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34593 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34594
34595 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34596 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34597 Adjust for changed ldbl-128 files.
34598
34599 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34600 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34601 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34602
e5270c23
DM
346032012-04-17 David S. Miller <davem@davemloft.net>
34604
34605 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34606
fb5e92c9
AS
346072012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34608
34609 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34610 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34611 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34612 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34613 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34614 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34615
76da7265
AZ
346162012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34617
34618 [BZ #6794]
34619 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34620 * math/libm-test.inc: Add ilogb errno and exception tests.
34621 * math/w_ilogb.c: New file: ilogb wrapper.
34622 * math/w_ilogbf.c: New file: ilogbf wrapper.
34623 * math/w_ilogbl.c: New file: ilogbl wrapper.
34624 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34625 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34626 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34627 exception being thrown with 0.0 as argument.
34628 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34629 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34630 exception being thrown with 0.0 as argument.
34631 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34632 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34633 exception being thrown with 0.0 as argument.
34634 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34635 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34636 exception being thrown with 0.0 as argument.
34637 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34638 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 34639 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
34640 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34641 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34642 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34643 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34644 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34645 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34646
0396e69d
PB
346472012-04-17 Petr Baudis <pasky@ucw.cz>
34648
34649 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34650 with altivec.
34651
750b5926
MP
346522012-04-16 Marek Polacek <polacek@redhat.com>
34653
34654 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34655
751728a1
MP
346562012-04-16 Marek Polacek <polacek@redhat.com>
34657
34658 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34659 operands of fdivp instruction.
34660
34a27407
L
346612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34662
34663 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34664 * elf/tst-auditmod3b.c: Likewise.
34665 * elf/tst-auditmod4b.c: Likewise.
34666 * elf/tst-auditmod5b.c: Likewise.
34667 * elf/tst-auditmod6b.c: Likewise.
34668 * elf/tst-auditmod6c.c: Likewise.
34669 * elf/tst-auditmod7b.c: Likewise.
34670 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34671 * sysdeps/x86_64/preconfigure.in: Likewise.
34672 * sysdeps/x86_64/preconfigure: Regenerated.
34673
7e73e17d
L
346742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34675
34676 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34677 __ILP32__.
34678
c7a6ab72
AB
346792012-04-13 Antoine Balestrat <merkil33@gmail.com>
34680
34681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34682 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34683
a9e8e0e0
CL
346842012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34685
34686 [BZ #13973]
34687 * locale/iso-639.def: Fix gl language name. Spotted by
34688 Yaron Shahrabani.
34689
ec98af7d
RM
346902012-04-12 Roland McGrath <roland@hack.frob.com>
34691
34692 [BZ #2074]
34693 * libio/libio.h (__io_write_fn): Update comment.
34694
247c3ede
PB
346952012-04-12 Petr Baudis <pasky@ucw.cz>
34696
34697 [BZ #2074]
34698 * stdio.texi (Hook Functions): The user provided writer function
34699 is not allowed to return -1.
34700
55939d6d
DM
347012012-04-11 David S. Miller <davem@davemloft.net>
34702
34703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34704
90020f5a
MF
347052012-04-11 Mike Frysinger <vapier@gentoo.org>
34706
34707 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34708 Add a leading slash to rtkaio.
34709
288f9098
JM
347102012-04-11 Jim Meyering <meyering@redhat.com>
34711
90020f5a
MF
34712 [BZ #11959]
34713 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34714 It is not necessarily an error to ignore fwrite's return
34715 value. One can reliably use ferror to test for errors after
34716 the fact.
288f9098 34717
4be2b570
L
347182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34719
34720 * bits/types.h (__snseconds_t): New type.
34721 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34722
34723 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34725 (__SNSECONDS_T_TYPE): Likewise.
34726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34727 (__SNSECONDS_T_TYPE): Likewise.
34728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34729 (__SNSECONDS_T_TYPE): Likewise.
34730
288f9098 347312012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34732
34733 [BZ #2636]
34734 * manual/time.texi (Processor Time): Return type of times is
34735 elapsed real time since an arbitrary point in the past.
34736 (CPU Time): Move CLK_TCK from here...
34737 (Processor Time): ...to here. Correct description.
34738 * manual/conf.texi (Constants for Sysconf): Correct description of
34739 _SC_CLK_TCK.
34740
d7dd4413
DM
347412012-04-10 David S. Miller <davem@davemloft.net>
34742
34743 [BZ #13967]
34744 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34745 where the is a gap between DT_REL(A) and DT_JMPREL.
34746
b46068fc
L
347472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34748
34749 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34750 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34751 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34752
73d65cc3
SP
347532012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34754
34755 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34756 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34757 (dl_main): Handle --inhibit-cache.
34758 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34759 _dl_inhibit_cache.
34760 * elf/dl-load.c (_dl_map_object): Use it.
34761 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34762
bcc8d661
JM
347632012-04-09 Joseph Myers <joseph@codesourcery.com>
34764
8f9a2fae
JM
34765 [BZ #13872]
34766 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34767 (__ieee754_powl): Saturate large exponents rather than testing for
34768 overflow of y*log2(x).
34769 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34770 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34771 exceptions.
34772
bcc8d661
JM
34773 [BZ #11521]
34774 * math/s_ctan.c: Include <float.h>.
34775 (__ctan): Avoid internal overflow or cancellation in calculating
34776 denominator.
34777 * math/s_ctanf.c: Likewise.
34778 * math/s_ctanl.c: Likewise.
34779 * math/s_ctanh.c: Likewise.
34780 * math/s_ctanhf.c: Likewise.
34781 * math/s_ctanhl.c: Likewise.
34782 * math/libm-test.inc (ctan_test): Add more tests.
34783 (ctanh_test): Likewise.
34784 * sysdeps/i386/fpu/libm-test-ulps: Update.
34785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34786
823fbbb4
AJ
347872012-04-09 Andreas Jaeger <aj@suse.de>
34788
03879793
AJ
34789 [BZ #6894]
34790 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34791 is an optional BSD extension.
34792
823fbbb4
AJ
34793 [BZ #10254]
34794 * manual/stdio.texi (Opening Streams): Document additional fopen
34795 parameters.
34796
8de131cb
RM
347972012-04-09 Roland McGrath <roland@hack.frob.com>
34798
34799 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34800 %eax without telling the compiler.
34801
c0ed9d7d
CD
348022012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34803
34804 [BZ # 13963]
34805 * manual/install.texi: Use sourceware.org.
34806
c483f6b4
JM
348072012-04-09 Joseph Myers <joseph@codesourcery.com>
34808
d7dd9453
JM
34809 [BZ #13873]
34810 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34811 (__ieee754_pow): Generate overflow and underflow using huge*huge
34812 and tiny*tiny rather than just returning constant infinity or zero
34813 for large exponents.
34814 * math/libm-test.inc (pow_test): Require overflow exceptions for
34815 applicable cases of large exponents.
34816
c483f6b4
JM
34817 [BZ #706]
34818 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34819 (__ieee754_pow): Use iterative multiplication algorithm only for
34820 integer exponents with absolute value below 1024. Check for odd
34821 integer exponents when using algorithm for real exponents.
34822 * math/libm-test.inc (pow_test): Add more tests.
34823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34824
d2de7579
JM
348252012-04-08 Joseph Myers <joseph@codesourcery.com>
34826
34827 [BZ #13705]
34828 * math/libm-test.inc (exp_test): Do not allow overflow exception
34829 on underflow test.
34830
f77f1232
AJ
348312012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34832
34833 [BZ #13705]
34834 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34835 instead of __kernel_standard_f.
34836
3884932b
MF
348372012-04-08 Mike Frysinger <vapier@gentoo.org>
34838
34839 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34840 * sysdeps/x86_64/memset_chk.S: Likewise.
34841
54472e9c
AJ
348422012-04-08 Andreas Jaeger <aj@suse.de>
34843
6ab0fbfc
AJ
34844 [BZ #10153]
34845 * manual/startup.texi (Environment Access): Describe return value
34846 for putenv and setenv.
34847
61efba8c
AJ
34848 [BZ #6895]
34849 * manual/filesys.texi (Directory Entries): Add description for
34850 DT_LNK.
34851
95c3f29a
AJ
34852 [BZ #6890]
34853 * manual/filesys.texi (Directory Entries): Clarify that it's file
34854 system not operating system in the description of DT_UNKNOWN.
34855
54472e9c
AJ
34856 [BZ #6578]
34857 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34858
624254b1
SC
348592012-04-08 Stephen Compall <s11@member.fsf.org>
34860
34861 [BZ #6649]
34862 * manual/llio.texi (Opening and Closing Files): Add cross
34863 reference to explain mode argument.
34864
1e4920e0
MF
348652012-04-07 Mike Frysinger <vapier@gentoo.org>
34866
34867 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34868 * sysdeps/x86_64/memset_chk.S: Likewise.
34869
5ed848f3
DM
348702012-04-07 David S. Miller <davem@davemloft.net>
34871
34872 * elf/elf.h (R_SPARC_WDISP10): Define.
34873 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34874 R_SPARC_SIZE32.
34875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34876 R_SPARC_SIZE64 and R_SPARC_H34.
34877
96154cd8
CD
348782012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34879
34880 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34881 conditions and remove no longer applicable assertion.
34882
9904dc47
L
348832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34884
34885 * bits/byteswap.h: Include <features.h>.
34886 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34887 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34888
f8887d0a
L
348892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34890
34891 * bits/byteswap.h (__bswap_16): Removed.
34892 Include <bits/byteswap-16.h> to get __bswap_16.
34893 * sysdeps/i386/bits/byteswap.h: Likewise.
34894 * sysdeps/s390/bits/byteswap.h: Likewise.
34895 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34896 * bits/byteswap-16.h: New file.
34897 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34898 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34899 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34900 * string/Makefile (headers): Add bits/byteswap-16.h.
34901
62470f60
PP
349022012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34903
34904 [BZ #13895]
34905 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34906 extra indirection.
34907 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34908 * nss/tst-nss-static.c: New.
34909
4dad7bab
RM
349102012-04-06 Robert Millan <rmh@gnu.org>
34911
34912 [BZ #6486]
34913 * manual/llio.texi (File Position Primitive): lseek
34914 refers to WHENCE when it really means OFFSET.
34915
e9142a17
AJ
349162012-04-06 Andreas Jaeger <aj@suse.de>
34917
2c040eff
AJ
34918 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34919 strncmp declarations.
34920
e9142a17
AJ
34921 * abilist/libc.abilist: Add __poll and __ppoll.
34922
ff9f1c5f
DM
349232012-04-05 David S. Miller <davem@davemloft.net>
34924
dcd2ae90
DM
34925 * scripts/check-local-headers.sh: Accept a host triplet in the
34926 path matched by the exclude regexp.
34927
993eb054
DM
34928 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34929 definition.
34930 * sysdeps/powerpc/powerpc32/dl-machine.h
34931 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34932 * sysdeps/s390/s390-32/dl-machine.h
34933 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34934 * sysdeps/sparc/sparc32/dl-machine.h
34935 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34936 * sysdeps/sparc/sparc64/dl-machine.h
34937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34938
ff9f1c5f
DM
34939 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34940 lazy binding.
48e2e132 34941 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34942 undefined symbol errors.
34943
48e2e132 34944 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34945 DT_NEEDED entries.
34946
e80d6f94
MM
349472012-04-05 Michael Matz <matz@suse.de>
34948
34949 [BZ #13592]
34950 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34951
349fa79f
AJ
349522012-04-05 Andreas Jaeger <aj@suse.de>
34953
34954 [BZ #13908]
34955 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34956 comment.
34957
f402708f
KK
349582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34959
34960 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34961 which ROUND is no valid rounding mode.
34962
2ecccfc9
KK
349632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34964
34965 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34966 read again.
34967 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34968
8a53f50f
KK
349692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34970
34971 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34972 an exception using FPU order intentionally.
34973
349742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34975
34976 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34977 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34978 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34979 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34980
d653abb7
SJ
349812012-04-05 Simon Josefsson <simon@josefsson.org>
34982
34983 [BZ #12340]
34984 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34985 EINVAL when BUFLEN is too smal.
34986
c3b1bf7d
TS
349872012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34988
34989 [BZ #13553]
34990 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34991 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34992
b1aa60f3
AJ
349932012-04-03 Andreas Jaeger <aj@suse.de>
34994
c3b1bf7d 34995 [BZ #13938]
67f60a26
AJ
34996 * manual/setjmp.texi (System V contexts): Fix sentence.
34997
b1aa60f3
AJ
34998 [BZ #13926]
34999 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35000 New macro for this case.
35001 [!__GNUC__] (__bswap_64): New inline function for this case.
35002 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35003 * bits/byteswap.h: Likewise.
35004 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35005 ull, guard with __GLIBC_HAVE_LONG_LONG.
35006
35007 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35008 __GLIBC_HAVE_LONG_LONG.
35009
35010 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35011 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35012
39c59c35
TMQMF
350132012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35014
35015 [BZ #13691]
35016 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35017 inptr and inend, rather than using last_ch.
35018
135ffda8
DM
350192012-04-02 David S. Miller <davem@davemloft.net>
35020
35021 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35022 * stdio-common/printf-parse.h (read_int): Change return type to
35023 'int', return -1 on INT_MAX overflow.
35024 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35025 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35026 overflows INT_MAX. Check for overflow of in-format-string precision
35027 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35028 SIZE_MAX not INT_MAX for integer overflow test.
35029 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35030 skip the construct in the format string but do not record anything.
35031 * stdio-common/bug22.c: Adjust to test both width/prevision
35032 INT_MAX overflow as well as total length INT_MAX overflow. Check
35033 explicitly for proper errno values.
35034
228c019e
TS
350352012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35036
302cadd3
TS
35037 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35038 CHAR_MAX.
35039 * string/test-strcmp.c [! WIDE]: Likewise.
35040 * time/tst-mktime2.c: Likewise for INT_MAX.
35041 * string/test-string.h: #include <sys/param.h> for MIN.
35042
228c019e
TS
35043 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35044 * sysdeps/i386/init-first.c (init): Likewise.
35045 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35046 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35047 * sysdeps/sh/init-first.c (init): Likewise.
35048
cfa633f5
UD
350492012-04-01 Ulrich Drepper <drepper@gmail.com>
35050
35051 * po/ru.po: Update from translation team.
d1635ef8 35052 * po/vi.po: Likewise.
cfa633f5 35053
6cd0a5ea
SP
350542012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35055
35056 * resolv/nss_dns/dns-host.c: Merge copyright years.
35057
4b43400f
LD
350582012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35059
35060 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35061 Optimize memcpy with prefetch if
35062 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35063 src, dst pointers have unequal 16 byte alignments.
35064
48c41d04
SP
350652012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35066
35067 [BZ #13928]
35068 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35069 from a CNAME entry and return the minimum ttl for the query.
35070 (gaih_getanswer_slice): Likewise.
35071
b8dc394d
JL
350722012-03-30 Jeff Law <law@redhat.com>
35073
35074 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35075 due to long keys.
35076 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35077 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35078
2f5a5ed0
JL
35079 * resolv/nss_dns/dns-host.c: Update copyright year.
35080
1d39e359
UD
350812012-03-30 Ulrich Drepper <drepper@gmail.com>
35082
c030f70c 35083 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 35084 requests to save a system call. Fix check that all bytes are sent.
c030f70c 35085
1d39e359
UD
35086 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35087 comments for sendmmsg.
35088
350892012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
35090
35091 [BZ #13691]
35092 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35093 with only 1 character between 0x0041 and 0x01b0.
35094 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35095 * wcsmbs/tst-mbsnrtowcs.c: New file.
35096
20fde227
DM
350972012-03-29 David S. Miller <davem@davemloft.net>
35098
35099 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35100 small copies by hand.
35101
984a4237
JL
351022012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35103
35104 [BZ #13761]
57f41c40
AS
35105 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35106 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35107 group memberships.
984a4237 35108
18c9d62b
DM
351092012-03-28 David S. Miller <davem@davemloft.net>
35110
88d85d4f
DM
35111 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35112 that branches into memcpy.
35113 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35116 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35117 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35118 bits.
35119 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35120 implementation too.
35121 * sysdeps/sparc/mempcpy.S: New file.
35122
e5aa83e1
DM
35123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35124 the IFUNC routine in the libc case.
35125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35126
88570753
DM
35127 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35128 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35129 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35130 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35131 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35132 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35133 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35134 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35135
249d7567
DM
35136 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35137 loop to 256 bytes instead of 64 bytes and fix test signedness.
35138
18c9d62b
DM
35139 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35140 * sysdeps/sparc/sparc32/Makefile: rather than here...
35141 * sysdeps/sparc/sparc64/Makefile: and here.
35142
05f3d1f6
UD
351432012-03-28 Ulrich Drepper <drepper@gmail.com>
35144
35145 * malloc/mallocbug.c: Avoid warnings about unused variables.
35146
86ae07a8
JL
351472012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35148
35149 [BZ #13760]
35150 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35151 in the right place. Discard and retry query if response is
35152 larger than input buffer size.
35153
41bf21a1
JM
351542012-03-28 Joseph Myers <joseph@codesourcery.com>
35155
d6270972
JM
35156 [BZ #369]
35157 [BZ #2678]
35158 [BZ #3866]
35159 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35160 x for large integer exponent.
35161 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35162 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35163 sign of result as needed afterwards.
35164 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35165 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35166 result for underflowing pow the same as for overflow.
35167 (__kernel_standard_l): Handle powl overflow and underflow here
35168 rather than calling __kernel_standard.
35169 * math/libm-test.inc (pow_test): Add more tests.
35170
414fca03 35171 [BZ #3868]
41bf21a1
JM
35172 [BZ #13879]
35173 [BZ #13910]
35174 [BZ #13911]
35175 [BZ #13912]
35176 [BZ #13913]
35177 [BZ #13915]
35178 [BZ #13916]
35179 [BZ #13917]
35180 [BZ #13918]
35181 [BZ #13919]
35182 [BZ #13920]
35183 [BZ #13921]
35184 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35185 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35186 (__kernel_standard_l): New function.
35187 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35188 __kernel_standard.
35189 * math/w_acosl.c (__acosl): Likewise.
35190 * math/w_asinl.c (__asinl): Likewise.
35191 * math/w_atan2l.c (__atan2l): Likewise.
35192 * math/w_atanhl.c (__atanhl): Likewise.
35193 * math/w_coshl.c (__coshl): Likewise.
35194 * math/w_exp10l.c (__exp10l): Likewise.
35195 * math/w_exp2l.c (__exp2l): Likewise.
35196 * math/w_fmodl.c (__fmodl): Likewise.
35197 * math/w_hypotl.c (__hypotl): Likewise.
35198 * math/w_j0l.c (__j0l, __y0l): Likewise.
35199 * math/w_j1l.c (__j1l, __y1l): Likewise.
35200 * math/w_jnl.c (__jnl, __ynl): Likewise.
35201 * math/w_lgammal.c (__lgammal): Likewise.
35202 * math/w_log10l.c (__log10l): Likewise.
35203 * math/w_log2l.c (__log2l): Likewise.
35204 * math/w_logl.c (__logl): Likewise.
35205 * math/w_powl.c (__powl): Likewise.
35206 * math/w_remainderl.c (__remainderl): Likewise.
35207 * math/w_scalbl.c (sysv_scalbl): Likewise.
35208 * math/w_sinhl.c (__sinhl): Likewise.
35209 * math/w_sqrtl.c (__sqrtl): Likewise.
35210 * math/w_tgammal.c (__tgammal): Likewise.
35211 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35212 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35213 * math/libm-test.inc (acos_test): Add more tests.
35214 (acosh_test): Likewise.
35215 (asin_test): Likewise.
35216 (atanh_test): Likewise.
35217 (exp_test): Likewise.
35218 (exp10_test): Likewise.
35219 (exp2_test): Likewise.
35220 (expm1_test): Likewise.
35221 (lgamma_test): Likewise.
35222 (log_test): Likewise.
35223 (log10_test): Likewise.
35224 (log1p_test): Likewise.
35225 (log2_test): Likewise.
35226 (pow_test): Do not allow some spurious overflow exceptions.
35227 (sqrt_test): Add more tests.
35228 (tgamma_test): Likewise.
35229 (y0_test): Likewise.
35230 (y1_test): Likewise.
35231 (yn_test): Likewise.
35232
dd62fda6
AB
352332012-03-27 Anton Blanchard <anton@samba.org>
35234
35235 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35236 MAP_HUGETLB.
35237 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35238 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35239 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35240
1e3cdfda
AJ
352412012-03-27 David S. Miller <davem@davemloft.net>
35242
b855ab85
DM
35243 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35244
1e3cdfda
AJ
35245 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35246 have-as-vis3 check.
35247
352482012-03-27 Andreas Jaeger <aj@suse.de>
35249
35250 * sysdeps/x86_64/elf/configure.in: Moved to ...
35251 * sysdeps/x86_64/configure.in: ... here.
35252 * sysdeps/x86_64/elf/start.S: Moved to ...
35253 * sysdeps/x86_64/start.S: ... here.
35254 * sysdeps/x86_64/elf/configure: Delete.
35255
35256 * sysdeps/x86_64/configure.in: Merge contents from
35257 sysdeps/i386/configure.in (without i686 check).
35258
35259 * sysdeps/i386/elf/Versions: Merge into ...
35260 * sysdeps/i386/Versions: ... this.
35261 * sysdeps/i386/elf/Versions: Delete file.
35262 * sysdeps/i386/elf/start.S: Moved to ...
35263 * sysdeps/i386/start.S: ...here.
35264 * sysdeps/i386/elf/configure.in: Merge into...
35265 * sysdeps/i386/configure.in: ...here.
35266 * sysdeps/i386/elf/configure.in: Delete file.
35267 * sysdeps/i386/elf/configure: Delete file.
35268
35269 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35270 * debug/backtracesyms.c: ... here.
35271 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35272 * debug/backtracesymsfd.c: ... here.
35273 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35274 * sysdeps/generic/ifunc-sel.h: ... here.
35275
35276 * sysdeps/unix/i386/start.c: Delete file.
35277 * sysdeps/unix/sparc/start.c: Delete file.
35278 * sysdeps/unix/start.c: Delete file.
35279
35280 * sysdeps/sh/elf/configure.in: Moved to ...
35281 * sysdeps/sh/configure.in: ... here.
35282 * sysdeps/sh/elf/start.S: Moved to ...
35283 * sysdeps/sh/start.S: ... here.
35284 * sysdeps/sh/elf/configure: Delete file.
35285
35286 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35287 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35288 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35289 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35290 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35291 * sysdeps/powerpc/powerpc64/start.S: here.
35292 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35293 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35294 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35295 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35296 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35297
35298 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35299 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35300 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35301 * sysdeps/powerpc/powerpc32/start.S: ... here.
35302 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35303 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35304 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35305
35306 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35307 * sysdeps/powerpc/ifunc-sel.h: ... here.
35308 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35309 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35310
35311 * sysdeps/sparc/elf/configure.in: Moved to ...
35312 * sysdeps/sparc/configure.in: ... here.
35313 * sysdeps/sparc/elf/configure: Delete file.
35314 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35315 * sysdeps/sparc/sparc32/start.S: ... here.
35316 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35317 * sysdeps/sparc/sparc64/start.S: ... here.
35318 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35319 * sysdeps/sparc/sparc32/Makefile: ... this.
35320 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35321 * sysdeps/sparc/sparc64/Makefile: ... this.
35322
35323 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35324 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35325 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35326 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35327 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35328 * sysdeps/s390/s390-32/setjmp.S: ... here.
35329 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35330 * sysdeps/s390/s390-32/configure.in: ... here.
35331 * sysdeps/s390/s390-32/elf/configure: Delete file.
35332 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35333 * sysdeps/s390/s390-32/start.S: ... here.
35334
35335 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35336 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35337 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35338 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35339 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35340 * sysdeps/s390/s390-64/setjmp.S: ... here.
35341 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35342 * sysdeps/s390/s390-64/configure.in: ... here
35343 * sysdeps/s390/s390-64/elf/configure: Delete file.
35344 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35345 * sysdeps/s390/s390-64/start.S: ... here.
35346 * sysdeps/s390/s390-64/elf/configure: Delete.
35347
35348 * configure.in: Remove support for elf directories in sysdeps.
35349
35350 * configure: Regenerated.
35351 * sysdeps/i386/configure: Regenerated.
35352 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35353 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35354 * sysdeps/s390/s390-32/configure: Regenerated.
35355 * sysdeps/s390/s390-64/configure: Regenerated.
35356 * sysdeps/sh/configure: Regenerated.
35357 * sysdeps/sparc/configure: Regenerated.
35358 * sysdeps/x86_64/configure: Regenerated.
35359
a3f61311
AS
353602012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35361
c876e002
AS
35362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35363
a3f61311
AS
35364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35365 denormal result into account.
35366
ac4c54f0
RM
353672012-03-25 Roland McGrath <roland@hack.frob.com>
35368
35369 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35370 Reported by Allan McRae <allan@archlinux.org>.
35371
6a9b9c02
JL
353722012-03-23 Jeff Law <law@redhat.com>
35373
35374 * nss/getnssent.c (__nss_getent): Fix typo.
35375
4c42a0c1
DM
353762012-03-23 David S. Miller <davem@davemloft.net>
35377
35378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35379
1532c7ac
L
353802012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35381
35382 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35383 to pad to uint64_t for each field.
35384 (dl_tls_index): Replace unsigned long with uint64_t.
35385
3ff42526
PP
353862012-03-23 Daniel Jacobowitz <dmj@google.com>
35387 Paul Pluzhnikov <ppluzhnikov@google.com>
35388
35389 [BZ #6528]
35390 * grp/Makefile (otherlibs): Don't set it.
35391 * inet/Makefile (otherlibs): Likewise.
35392 * login/Makefile (otherlibs): Likewise.
35393 * nscd/Makefile (otherlibs): Likewise.
35394 * posix/Makefile (otherlibs): Likewise.
35395 * pwd/Makefile (otherlibs): Likewise.
35396 * rt/Makefile (otherlibs): Likewise.
35397 * sunrpc/Makefile (otherlibs): Likewise.
35398 * nss/Makefile (otherlibs): Likewise.
35399 Add libnss_files to routines and static-only-routines.
35400 ($(objpfx)getent): Remove rule.
35401 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35402 static-only-routines.
35403
7c69cd14
JM
354042012-03-22 Joseph Myers <joseph@codesourcery.com>
35405
35406 [BZ #13892]
35407 * math/s_cexp.c: Include <float.h>.
35408 (__cexp): Handle exp result overflowing not necessarily
35409 overflowing both real and imaginary parts of result.
35410 * math/s_cexpf.c: Likewise.
35411 * math/s_cexpl.c: Likewise.
35412 * math/libm-test.inc (cexp_test): Add more tests.
35413 * sysdeps/i386/fpu/libm-test-ulps: Update.
35414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35415
81b035fe
L
354162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35417
35418 * include/link.h (ELFW): New macro.
35419 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35420 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35421
1da7940c
L
354222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35423
35424 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35425 with uint64_t.
35426
b749dbb9
L
354272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35428
35429 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35430 declaration.
35431 (struct La_x32_retval): Likewise.
35432
2ff87f3f
L
354332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35434
35435 * sysdeps/x86_64/preconfigure.in: New file.
35436 * sysdeps/x86_64/preconfigure: New generated file.
35437
c0df8e69
JM
354382012-03-22 Joseph Myers <joseph@codesourcery.com>
35439
48e44791
JM
35440 [BZ #13824]
35441 * math/e_exp2l.c: Include <float.h>.
35442 (__ieee754_exp2l): Handle overflow and underflow cases
35443 separately. Only pass fractional part of argument to
35444 __ieee754_expl.
35445 * math/libm-test.inc (exp2_test): Add more tests.
35446
c0df8e69
JM
35447 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35448 negating x to take absolute value.
35449 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35450 Likewise.
35451 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35452 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35453 Likewise.
35454 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35455 computing low part if x was negated.
35456 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35457
c8e43ba7
L
354582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35459
35460 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35461 la_x32_gnu_pltexit.
35462 (pltexit): Cast int_retval to ptrdiff_t.
35463 * elf/tst-auditmod3b.c: Likewise.
35464 * elf/tst-auditmod4b.c: Likewise.
35465 * elf/tst-auditmod5b.c: Likewise.
35466 * elf/tst-auditmod6b.c: Likewise.
35467 * elf/tst-auditmod6c.c: Likewise.
35468 * elf/tst-auditmod7b.c: Likewise.
35469
35470 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35471 and x32_gnu_pltexit.
35472
35473 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35474 __ELF_NATIVE_CLASS.
35475 (La_x32_regs): New macro.
35476 (La_x32_retval): Likewise.
35477 (la_x32_gnu_pltenter): New function prototype.
35478 (la_x32_gnu_pltexit): Likewise.
35479
7998fa78
AS
354802012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35481
dcb33988
AS
35482 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35483 exponent.
35484
233fc563
AS
35485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35486
7998fa78
AS
35487 * configure.in (libc_cv_cc_nofma): Check for option to disable
35488 generation of FMA instructions.
35489 * configure: Regenerate.
35490 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35491 * sysdeps/ieee754/dbl-64/Makefile: New file.
35492 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35493 Remove brandred-fma4.
35494 (CFLAGS-brandred-fma4.c): Remove.
35495 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35496 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35497 define.
35498 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35499 define.
35500
8e95c99a
L
355012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35502
35503 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35504 LLONG_MAX != LONG_MAX.
35505 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35506 (_fitoa_word): Likewise.
35507 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35508 LLONG_MAX != LONG_MAX.
35509 * stdio-common/_itowa.h: Include <_itoa.h>.
35510 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35511 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35512 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35513 only if not defined.
35514 (_ITOA_WORD_TYPE): Likewise.
35515 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35516 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35517
6f4db457
DM
355182012-03-21 David S. Miller <davem@davemloft.net>
35519
35520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35521
7785fe5a
L
355222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35523
35524 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35525 of x86_64 when setting libc_cv_slibdir, libdir and
35526 libc_cv_localedir.
35527 * sysdeps/unix/sysv/linux/configure: Regenerated.
35528
4535cd55
JM
355292012-03-21 Joseph Myers <joseph@codesourcery.com>
35530
35531 * manual/lang.texi (Old Varargs): Remove section.
35532 (How Variadic): Update menu.
35533 (va_start): Do not mention varargs.h.
35534
17228132
TS
355352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35536 Joseph Myers <joseph@codesourcery.com>
35537
35538 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35539 link test.
35540 * configure: Regenerated.
35541
8149f976
TS
355422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35543
05f3d1f6
UD
35544 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35545 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35546 conformtest.pl
8149f976 35547
1a4ac776
JM
355482012-03-21 Joseph Myers <joseph@codesourcery.com>
35549
be22ce65
JM
35550 * NOTES: Remove.
35551 * Makefile (files-for-dist): Remove NOTES.
35552 (NOTES): Remove rule.
35553 * README: Don't refer to NOTES.
35554 * manual/creature.texi: Don't include macros.texi.
35555 * manual/intro.texi (creature.texi): Remove comment referring to
35556 NOTES.
35557
40b601fb
JM
35558 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35559 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35560 * configure: Regenerated.
35561 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35562 LIBC_TRY_CC_OPTION.
35563 (libc_cv_as_i686): Likewise.
35564 (libc_cv_cc_avx): Likewise.
35565 (libc_cv_cc_sse2avx): Likewise.
35566 (libc_cv_cc_fma4): Likewise.
35567 (libc_cv_cc_novzeroupper): Likewise.
35568 * sysdeps/i386/configure: Regenerated.
35569
1a4ac776
JM
35570 [BZ #13883]
35571 * sysdeps/i386/fpu/s_cexp.S: Remove.
35572 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35573 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35574 * math/libm-test.inc (cexp_test): Add more tests.
35575 * sysdeps/i386/fpu/libm-test-ulps: Update.
35576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35577
a458e7fe
AM
355782012-03-21 Allan McRae <allan@archlinux.org>
35579
35580 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35581
0cb7efc5
JM
355822012-03-21 Joseph Myers <joseph@codesourcery.com>
35583
35584 [BZ #13871]
35585 * math/w_exp2.c: Do not include <float.h>.
35586 (o_threshold, u_threshold): Remove.
35587 (__exp2): Calculate result before checking finiteness and calling
35588 __kernel_standard.
35589 * math/w_exp2f.c: Likewise.
35590 * math/w_exp2l.c: Likewise.
35591 * math/libm-test.inc (exp2_test): Require overflow exception for
35592 1e6 input.
2460d3aa
JM
35593
35594 [BZ #3866]
35595 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35596 range of signed 64-bit integers before using fistpll. Remove
35597 checks for whether integers fit in mantissa bits.
35598 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35599 the range of signed 32-bit integers before using fistpl. Remove
35600 checks for whether integers fit in mantissa bits.
35601 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35602 (__ieee754_powl): Test for y outside the range of signed 64-bit
35603 integers before using fistpll. Reduce 64-bit values to 63-bit
35604 ones as needed.
35605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35606 divide-by-zero is raised for zero to large negative powers.
35607 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35608 (__ieee754_powl): Test for y outside the range of signed 64-bit
35609 integers before using fistpll. Reduce 64-bit values to 63-bit
35610 ones as needed.
35611 * math/libm-test.inc (pow_test): Add more tests.
35612
eb96ffb0
L
356132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35614
35615 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35616 <stdio-common/_itoa.h>.
35617 * debug/segfault.c: Likewise.
35618 * elf/dl-cache.c: Likewise.
35619 * elf/dl-minimal.c: Likewise.
35620 * elf/dl-misc.c: Likewise.
35621 * elf/dl-sysdep.c: Likewise.
35622 * elf/dl-version.c: Likewise.
35623 * elf/rtld.c: Likewise.
35624 * hurd/hurdsock.c: Likewise.
35625 * hurd/lookup-retry.c: Likewise.
35626 * malloc/malloc.c: Likewise.
35627 * malloc/mtrace.c: Likewise.
35628 * nscd/nscd_getgr_r.c: Likewise.
35629 * nscd/nscd_getpw_r.c: Likewise.
35630 * nscd/nscd_getserv_r.c: Likewise.
35631 * posix/getopt_init.c: Likewise.
35632 * posix/wordexp.c: Likewise.
35633 * stdio-common/_itoa.c: Likewise.
35634 * stdio-common/printf_fphex.c: Likewise.
35635 * stdio-common/vfprintf.c: Likewise.
35636 * string/_strerror.c: Likewise.
35637 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35638 * sysdeps/i386/i686/hp-timing.h: Likewise.
35639 * sysdeps/mach/_strerror.c: Likewise.
35640 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35641 * sysdeps/mach/hurd/sethostid.c: Likewise.
35642 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35643 * sysdeps/mach/xpg-strerror.c: Likewise.
35644 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35645 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35646 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35647 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35648 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35649 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35650 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35651 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35652 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35653 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35654 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35655 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35656 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35657 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35658 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35659 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35660 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35661 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35662 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35663 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35664 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35665
35666 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35667
35668 * stdio-common/_itoa.h: Moved to ...
35669 * sysdeps/generic/_itoa.h: Here.
35670
35671 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35672
35673 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35674 instead of "_itoa.h" and "_itowa.h".
35675 * stdio-common/vfprintf.: Likewise.
35676
d1af992d
L
356772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35678
35679 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35680 <bits/wordsize.h>.
35681 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35682 (__signbit): Likwise.
35683 (llrintf): Likwise.
35684 (llrint): Likwise.
35685
114883e0
L
356862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35687
35688 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35689 __WORDSIZE != 64.
35690
c135cc1b
JM
356912012-03-20 Joseph Myers <joseph@codesourcery.com>
35692
35693 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35694 OVERFLOW_EXCEPTION_OK.
35695 * math/libm-test.inc ("Philosophy"): Update comment about
35696 exception testing.
35697 (OVERFLOW_EXCEPTION): Define.
35698 (OVERFLOW_EXCEPTION_OK): Likewise.
35699 (INVALID_EXCEPTION_OK): Renumber.
35700 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35701 (IGNORE_ZERO_INF_SIGN): Likewise.
35702 (test_exceptions): Handle FE_OVERFLOW.
35703 (exp10_test): Expect overflow exceptions.
35704 (exp2_test): Likewise.
35705 (expm1_test): Likewise.
35706 (nextafter_test): Likewise.
35707 (pow_test): Likewise.
35708 (scalbn_test): Likewise.
35709 (scalbln_test): Likewise.
35710
95443d88
L
357112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35712
35713 * sysdeps/x86_64/bits/atomic.h
35714 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35715 64bit integer.
35716 (atomic_exchange_acq): Likewise.
35717 (__arch_exchange_and_add_body): Likewise.
35718 (__arch_add_body): Likewise.
35719 (atomic_add_negative): Likewise.
35720 (atomic_add_zero): Likewise.
35721
490df6c4
L
357222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35723
c2722551 35724 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35725 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35726
5e52b189
L
357272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35728
35729 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35730 Check __x86_64__ instead of __WORDSIZE.
35731
a9879d4c
L
357322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35733
35734 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35735
5df98260
DM
357362012-03-19 David S. Miller <davem@davemloft.net>
35737
e1497744
DM
35738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35739
5df98260
DM
35740 * sysdeps/sparc/fpu/fenv_private.h: New file.
35741 * sysdeps/sparc/fpu/math_private.h: Use it.
35742 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35743 Remove.
57f41c40 35744 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35745 (libc_feholdexcept_setroundl): Remove.
35746 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35747 Remove.
35748 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35749 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35750
b4c35121
L
357512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35752
35753 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35754 int64_t instead of long int.
35755 (INSERT_WORDS64): Likwise.
35756
56965fd7
L
357572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35758
35759 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35760 _Unwind_GetCFA return to _Unwind_Ptr first.
35761
83d1aec8
JM
357622012-03-19 Joseph Myers <joseph@codesourcery.com>
35763
1897ad44
JM
35764 [BZ #13629]
35765 * math/s_clog.c: Include <float.h>.
35766 (__clog): Scale large or subnormal inputs.
35767 * math/s_clogf.c: Likewise.
35768 * math/s_clogl.c: Likewise.
35769 * math/s_clog10.c: Include <float.h>.
35770 (M_LOG10_2): Define.
35771 (__clog10): Scale large or subnormal inputs.
35772 * math/s_clog10f.c: Likewise.
35773 * math/s_clog10l.c: Likewise.
35774 * math/libm-test.inc (clog_test): Add more tests.
35775 (clog10_test): Likewise.
35776 * sysdeps/i386/fpu/libm-test-ulps: Update.
35777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35778
7726d6a9
JM
35779 [BZ #11451]
35780 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35781 x and y.
35782 * math/libm-test.inc (atan2_test): Add another test.
35783
83d1aec8
JM
35784 * Makerules (common-objdir-compile): Remove.
35785 * sysdeps/unix/Makefile (config-generated): Do not add
35786 $(unix-generated) to variable.
35787 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35788 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35789 Remove rule.
35790 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35791 Likewise.
35792 [generic bits/local_lim.h] (before-compile): Do not append to
35793 variable.
35794 [generic bits/local_lim.h] (common-generated): Likewise.
35795 [generic sys/param.h] (before-compile): Do not append to variable.
35796 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35797 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35798 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35799 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35800 include.
35801 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35802 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35803 [generic sys/param.h] ($(addprefix
35804 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35805 [generic sys/param.h] (common-generated): Do not append to
35806 variable.
35807 [generic sys/param.h] (sysdep_headers): Likewise.
35808 [generic bits/errno.h] (before-compile): Do not append to
35809 variable.
35810 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35811 rule.
35812 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35813 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35814 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35815 [generic bits/errno.h] (common-generated): Do not append to
35816 variable.
35817 [generic bits/ioctls.h] (before-compile): Do not append to
35818 variable.
35819 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35820 rule.
35821 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35822 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35823 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35824 rule.
35825 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35826 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35827 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35828 [generic bits/ioctls.h] (common-generated): Do not append to
35829 variable.
35830 [generic sys/syscall.h] (syscall.h): Remove variable.
35831 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35832 rule.
35833 [generic sys/syscall.h] (before-compile): Do not append to
35834 variable.
35835 [generic sys/syscall.h] (common-generated): Likewise.
35836 * sysdeps/unix/errnos-tmpl.c: Remove file.
35837 * sysdeps/unix/errnos.awk: Likewise.
35838 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35839 * sysdeps/unix/ioctls.awk: Likewise.
35840 * sysdeps/unix/mk-local_lim.c: Likewise.
35841 * sysdeps/unix/snarf-ioctls: Likewise.
35842
4851a949
RH
358432012-03-19 Richard Henderson <rth@twiddle.net>
35844
bd37f2ee
RH
35845 * sysdeps/i386/fpu/fenv_private.h: New file.
35846 * sysdeps/i386/fpu/math_private.h: Use it.
35847 (math_opt_barrier, math_force_eval): Remove.
35848 (libc_feholdexcept_setround_53bit): Remove.
35849 (libc_feupdateenv_53bit): Remove.
35850 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35851 (math_opt_barrier, math_force_eval): Remove.
35852 (libc_feholdexcept): Remove.
35853 (libc_feholdexcept_setround): Remove.
35854 (libc_fetestexcept, libc_fesetenv): Remove.
35855 (libc_feupdateenv_test): Remove.
35856 (libc_feupdateenv, libc_feholdsetround): Remove.
35857 (libc_feresetround): Remove.
35858
d0adc922
RH
35859 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35860 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35861
0fe0f1f8
RH
35862 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35863 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35864 (libc_feupdateenv_testl): New.
35865 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35866 (libc_feupdateenv_testf): New.
35867 (libc_feupdateenv): Use libc_feupdateenv_test.
35868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35869 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35870
eb92c487
RH
35871 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35872 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35873 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35874 (libc_feresetround_noex): New.
35875 (libc_feresetround_noexf): New.
35876 (libc_feresetround_noexl): New.
35877 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35878 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35879 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35880 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35881 SET_RESTORE_ROUND.
35882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35884 (__cos): Likewise.
35885 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35886 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35887 SET_RESTORE_ROUND_NOEX.
35888 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35889 SET_RESTORE_ROUND_NOEXF.
35890 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35891 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35892 (libc_feholdsetroundf): New.
35893 (libc_feresetround, libc_feresetroundf): New.
35894
7d2e8012
RH
35895 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35896 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35897 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35898
b4dabbb4
RH
35899 * sysdeps/generic/math_private.h: Include <fenv.h>.
35900 (default_libc_feholdexcept): New.
35901 (default_libc_feholdexcept_setround): New.
35902 (default_libc_fesetenv, default_libc_feupdateenv): New.
35903 (libc_feholdexcept): Only define if undefined.
35904 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35905 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35906 (libc_feholdexcept_setroundl): Likewise.
35907 (libc_feholdexcept_setround_53bit): Likewise.
35908 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35909 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35910 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35911 (libc_feupdateenv_53bit): Likewise.
35912 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35913 (libc_feholdexcept): Convert from macro to inline function.
35914 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35915 (libc_fesetenv, libc_feupdateenv): Likewise.
35916
4851a949
RH
35917 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35918 not previously defined.
35919 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35920 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35921 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35922 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35923 * sysdeps/ieee754/flt-32/math_private.h: New file.
35924 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35925 math_private.h below SET_FLOAT_WORD.
35926 (__isnan, __isinf_ns, __finite): Remove.
35927 (__isnanf, __isinf_nsf, __finitef): Remove.
35928
e79d442e
AS
359292012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35930
35931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35932
90b80344
DM
359332012-03-17 David S. Miller <davem@davemloft.net>
35934
35935 [BZ #6471]
35936 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35937 for 2.16.
35938
edc21804
DM
359392012-03-16 David S. Miller <davem@davemloft.net>
35940
77e927af
DM
35941 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35942 warnings.
35943
374976dd
DM
35944 [BZ #6471]
35945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35946 properly.
35947 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35948 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35949 sysdep_routines when subdir is sysvipc.
35950 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35951 __getshmlba helper.
35952
edc21804
DM
35953 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35954
473c3ef3
L
359552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35956
35957 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35958 [__LP64__].
35959
eb0f39b6
L
359602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35961
35962 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35963 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35964 (__lround): Renamed to ...
35965 (__llround): This. Replace long int with long long int.
35966 Define lround functions as aliases of llround functions.
35967 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35968
6b6cd74b
L
359692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35970
35971 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35972 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35973 adresses to uintptr_t. Replace "long int" and "unsigned long
35974 int" with "greg_t" on va_arg.
35975
f1a77b01
L
359762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35977
35978 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35979 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35980
35981 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35982 Move e_machine check before EI_CLASS check. Handle x32
35983 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35984 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35985 SKIP_EM_IA_64 and include
35986 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35987
35988 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35989 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35990 (add_system_dir): New macro.
35991
35992 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35993 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35994
11b90b9f
JM
359952012-03-16 Joseph Myers <joseph@codesourcery.com>
35996
c36e1d23
JM
35997 [BZ #2551]
35998 [BZ #2552]
35999 [BZ #2553]
36000 [BZ #2554]
36001 [BZ #2562]
36002 [BZ #2563]
36003 [BZ #2565]
36004 [BZ #2566]
36005 [BZ #2576]
36006 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36007 (y0): Likewise.
36008 * math/w_j0f.c (j0f): Likewise.
36009 (y0f): Likewise.
36010 * math/w_j0l.c (__j0l): Likewise.
36011 (__y0l): Likewise.
36012 * math/w_j1.c (j1): Likewise.
36013 (y1): Likewise.
36014 * math/w_j1f.c (j1f): Likewise.
36015 (y1f): Likewise.
36016 * math/w_j1l.c (__j1l): Likewise.
36017 (__y1l): Likewise.
36018 * math/w_jn.c (jn): Likewise.
36019 (yn): Likewise.
36020 * math/w_jnf.c (jnf): Likewise.
36021 (ynf): Likewise.
36022 * math/w_jnl.c (__jnl): Likewise.
36023 (__ynl): Likewise.
36024 * math/libm-test.inc (j0_test): Add more tests.
36025 (j1_test): Likewise.
36026 (jn_test): Likewise. Add trailing semicolon to existing test.
36027 (y0_test): Likewise.
36028 (y1_test): Likewise.
36029 * sysdeps/i386/fpu/libm-test-ulps: Update.
36030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36031
11b90b9f
JM
36032 [BZ #13851]
36033 [BZ #13854]
36034 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36035 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36036 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36037 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36038 (__tanl): Set errno for infinite argument.
36039 * sysdeps/i386/fpu/mptan.c: Remove.
36040 * sysdeps/i386/fpu/s_tan.S: Likewise.
36041 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36042 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36043 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36044 * math/libm-test.inc (tan_test): Add more tests and enable more
36045 tests for double and long double.
36046 * sysdeps/i386/fpu/libm-test-ulps: Update.
36047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36048
6a1bd2a1
JK
360492012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36050
36051 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36052 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36053
10a803e0
RM
360542012-03-16 Roland McGrath <roland@hack.frob.com>
36055
36056 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36057 * configure.in: Use it for both main tree and add-ons.
36058 * configure: Regenerated.
36059
f196c7f7
L
360602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36061
36062 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36063
8848d99d
JM
360642012-03-16 Joseph Myers <joseph@codesourcery.com>
36065
96cbe7f4
JM
36066 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36067 in comment.
36068
8848d99d
JM
36069 [BZ #13851]
36070 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36071 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36072 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36073 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36074 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36075 infinite argument.
36076 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36077 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36078 != 0 for prec == 2.
36079 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36080 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36081 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36082 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36083 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36084 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36085 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36086 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36087 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36088 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36089 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36090 * math/libm-test.inc (cos_test): Add more tests and enable more
36091 tests for long double.
36092 (sin_test): Likewise.
36093 (sincos_test): Likewise.
36094 * sysdeps/i386/fpu/libm-test-ulps: Update.
36095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36096
dd7f4703
DM
360972012-03-16 David S. Miller <davem@davemloft.net>
36098
36099 * sysdeps/sparc/fpu/math_private.h: New file.
36100
006f1daa
DM
361012012-03-15 David S. Miller <davem@davemloft.net>
36102
c0c83bc8
DM
36103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36104 file.
e6a62e18 36105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
36106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36107 file.
e6a62e18
DM
36108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36113 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36114 sysdep routines.
36115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36116
88cb87d9
DM
36117 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36118 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36119
006f1daa 36120 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
36121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36122 sparc-ifunc.h
006f1daa 36123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
36124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36125 Likewise.
36126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36127 Likewise.
006f1daa
DM
36128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
36131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36132 Likewise.
006f1daa
DM
36133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
36137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36138 Likewise.
36139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36140 Likewise.
006f1daa
DM
36141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36160 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36165
11e0098e
AS
361662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36167
36168 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36169 scaling.
36170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36171
e85b09d0
AJ
361722012-03-15 Andreas Jaeger <aj@suse.de>
36173
36174 [BZ #13852]
36175 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36176 ieee754/flt-32 implementation for sin, cos and sincos.
36177 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36178 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36179 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36180 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36181 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36182 ieee754/flt-32 implementation for tan.
36183
36184 * math/libm-test.inc (cos_test): Enable some large input tests for
36185 float as well
36186 (sin_test): Likewise.
36187 (sincos_test): Likewise.
36188 (tan_test): Add tests for large input.
36189
36190 * sysdeps/i386/fpu/libm-test-ulps: Update.
36191
81c64153
AJ
361922012-03-15 Andreas Jaeger <aj@suse.de>
36193
36194 [BZ #13658]
36195 * math/libm-test.inc (cos_test): Add more test cases.
36196 (sin_test): Likewise.
36197 (sincos_test): Likewise.
36198
7bbfa5c6
AJ
361992012-03-15 Andreas Jaeger <aj@suse.de>
36200
36201 [BZ #13837]
36202 * math/libm-test.inc (cos_test): Add a test case for large input
36203 value.
36204 (sin_test): Likewise.
36205 (sincos_test): Likewise.
36206
57f41c40
AS
362072012-03-15 Andreas Jaeger <aj@suse.de>
36208 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36209
36210 [BZ #13658]
0671f479 36211 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36212 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36213 * sysdeps/i386/fpu/branred.c: Likewise.
36214 * sysdeps/i386/fpu/dosincos.c: Likewise.
36215 * sysdeps/i386/fpu/mpa.c: Likewise.
36216 * sysdeps/i386/fpu/s_cos.S: Likewise.
36217 * sysdeps/i386/fpu/s_sin.S: Likewise.
36218 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36219 * sysdeps/i386/fpu/sincos32.c: Likewise.
36220
36221 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36222 Define.
36223 (libc_feupdateenv_53bit): Define.
36224 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36225 Define.
36226 (libc_feupdateenv_53bit): Define.
36227
36228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36229 53 bit (without extend i386 double precision).
36230
36231 * math/libm-test.inc (sincos_test): Add tests for large input.
36232 (sin): Likewise.
36233 (cos): Likewise.
36234
36235 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36236
9cad04ea
AS
362372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36238
36239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36240
f7062b9a
DM
362412012-03-15 David S. Miller <davem@davemloft.net>
36242
36243 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36244 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36245 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36246 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36259 file.
f7062b9a 36260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36262 file.
f7062b9a 36263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36265 file.
f7062b9a 36266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36268 file.
f7062b9a
DM
36269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36271 fmin/fmax sysdep routines.
36272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36273
7bd951ff
DM
362742012-03-14 David S. Miller <davem@davemloft.net>
36275
559398ab
DM
36276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36299 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36305 routines.
36306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36307 file.
559398ab 36308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36310 file.
559398ab 36311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36313 file.
559398ab 36314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36316 file.
559398ab 36317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36319 file.
559398ab 36320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36322 file.
36323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36324 file.
36325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36326 file.
36327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36328 file.
36329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36330 New file.
36331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36332 file.
36333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36334 file.
559398ab 36335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36337 file.
559398ab 36338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36340 file.
559398ab 36341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36343 file.
559398ab 36344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36346 VIS3 routines.
559398ab
DM
36347
36348 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36349 New file.
36350
5a1c1e32
DM
36351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36352
eae47a36
DM
36353 * sysdeps/sparc/configure.in: New file.
36354 * sysdeps/sparc/configure: Generate.
36355 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36356 * configure: Regenerate.
36357 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36358 * config.make.in (have-as-vis3): New.
36359 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36360 available use -Av9d instead of -Av9a.
36361 * sysdeps/sparc/sparc64/Makefile: Likewise.
36362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36364 New file.
36365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36366 file.
36367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36368 New file.
36369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36370 file.
eae47a36
DM
36371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36373 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36375 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36376
c0c83bc8
DM
36377 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36378 fzeros/fnegs to load 0x80000000 into a float register instead of
36379 using the stack.
7bd951ff
DM
36380 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36381
bd951ccb
JM
363822012-03-14 Joseph Myers <joseph@codesourcery.com>
36383
36384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36385 bits/syscall.h.
36386 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36387 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36388 ($(inst_includedir)/bits/syscall.h): Remove rule.
36389 ($(objpfx)bits/syscall.d): Include instead of
36390 $(objpfx)syscall-list.d.
36391 (generated): Change syscall-list.h and syscall-list.d to
36392 bits/syscall.h and bits/syscall.d.
36393
bb4e6db2
RM
363942012-03-14 Roland McGrath <roland@hack.frob.com>
36395
36396 [BZ #13846]
36397 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36398
aa4a2ae1
JM
363992012-03-14 Joseph Myers <joseph@codesourcery.com>
36400
e456826d
JM
36401 [BZ #13841]
36402 * math/s_csqrt.c: Include <float.h>.
36403 (__csqrt): Scale large or subnormal inputs.
36404 * math/s_csqrtf.c: Likewise.
36405 * math/s_csqrtl.c: Likewise.
36406 * math/libm-test.inc (csqrt_test): Add more tests.
36407 * sysdeps/i386/fpu/libm-test-ulps: Update.
36408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36409
aa4a2ae1
JM
36410 [BZ #13840]
36411 * math/libm-test.inc (hypot_test): Add more tests.
36412
7c10fd35
DM
364132012-03-13 David S. Miller <davem@davemloft.net>
36414
36415 [BZ #13840]
36416 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36417 double-precision for the calculation instead of scaling.
36418
f453b98b
JM
364192012-03-13 Joseph Myers <joseph@codesourcery.com>
36420
36421 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36422 manipulate bits before adding and subtracting TWO52[sx].
36423 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36424 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36425 Likewise.
36426 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36427
09a3453f
DM
364282012-03-13 David S. Miller <davem@davemloft.net>
36429
8e59da90
DM
36430 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36431 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36433 rtld-global-offsets.h
36434 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36435
2a8ab7f2
DM
36436 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36437 large parameters.
36438
10f62770
DM
36439 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36440
5f0bdb18
DM
36441 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36442 'err' in the ifdef scope in which it is actually used.
36443
09a3453f
DM
36444 * nss/nss_db/db-init.c: Include string.h
36445
b4b2eb5e
DM
364462012-03-12 David S. Miller <davem@davemloft.net>
36447
98bb2f1c
DM
36448 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36449 masking out of the most significant byte of random value used.
36450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36451 Fix coding style in previous change.
36452
b4b2eb5e
DM
36453 * sysdeps/unix/sysv/linux/kernel-features.h
36454 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36455 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36456 expression.
36457 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36458 later.
36459
6e226b09
DM
364602012-03-11 David S. Miller <davem@davemloft.net>
36461
a1bcbd40
DM
36462 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36463 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36464 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36465 for 'resultvar' otherwise things get truncated on 64-bit.
36466
cb9d6174
DM
36467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36468 Fix masking out of the most significant byte of random value used.
36469
6e226b09
DM
36470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36471
058c132d
AS
364722012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36473
36474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36475
2d2cd515
DM
364762012-03-09 David S. Miller <davem@davemloft.net>
36477
36478 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36479 variables with appropriate CPP guards.
57f41c40
AS
36480 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36481 from the frame pointer, not the stack pointer. Correct layout
36482 comments. Fix test on resulting framesize and the management of
36483 the outregs buffer for pltexit. Preserve floating point return
36484 values across _dl_call_pltexit call.
2d2cd515
DM
36485 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36486 framesize and the management of the outregs buffer for pltexit.
36487 Preserve floating point return values across _dl_call_pltexit
36488 call.
57f41c40
AS
36489 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36490 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36491 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
36492 (print_exit): Fix format string for return register value.
36493
9a07f9d0
JM
364942012-03-10 Joseph Myers <joseph@codesourcery.com>
36495
36496 * sunrpc/Makefile (others): Add rpcgen.
36497 ($(objpfx)rpcgen): Remove special build rule and dependency on
36498 libc.
36499 * sunrpc/rpcgen.c: New file.
36500
547b5e30
PE
365012012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36502
c524201a
PE
36503 [BZ #13673]
36504 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36505 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36506 * sysdeps/i386/crti.S: Likewise.
36507 * sysdeps/i386/crtn.S: Likewise.
36508 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36509 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36510 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36511 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36512 * sysdeps/sh/crti.S: Likewise.
36513 * sysdeps/sh/crtn.S: Likewise.
36514 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36515
7b6235f2
PE
36516 [BZ #13673]
36517 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36518 with URL.
36519 * locale/programs/locfile-kw.gperf: Likewise.
36520 * locale/programs/charmap-kw.h: Regenerated.
36521 * locale/programs/locfile-kw.h: Likewise.
36522
547b5e30
PE
36523 [BZ #13673]
36524 * intl/plural.y: Replace FSF snail mail address with URL.
36525 * intl/plural.c: Regenerated.
36526
5f0a5dae
RH
365272012-03-09 Richard Henderson <rth@twiddle.net>
36528
36529 * include/math_private.h: Remove file.
36530 * math/math_private.h: Move file ...
36531 * sysdeps/generic/math_private.h: ... here.
36532
b8c03620
RH
36533 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36534 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36535 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36536
4e234f5d 36537 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
36538 and <math_private.h>.
36539 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36540 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36541 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36542 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36543 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36544 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36545 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36547 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36548 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36550 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36551 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36552 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36553 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36554 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36555 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36556 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36557 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36558 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36560 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36561 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36562 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36563 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36564 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36565 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36566 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36567 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36568 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36569 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36570 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36571 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36572 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36573 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36574 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36575 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36576 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36577 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36578 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36579 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36580 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36581 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36582 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36583 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36584 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36585 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36586 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36587 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36588 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36589 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36590 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36591 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36592 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36593 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36594 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36595 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36596 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36597 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36598 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36599 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36600 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36602 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36603 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36604 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36605 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36606 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36607 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36608 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36609 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36610 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36611 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36612 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36613 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36616 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36617 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36618 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36619 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36620 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36621 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36622 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36623 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36624 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36625 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36626 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36627 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36628 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36629 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36630 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36631 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36632 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36633 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36634 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36635 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36636 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36637 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36638 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36639 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36640 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36641 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36642 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36643 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36644 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36645 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36646 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36647 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36648 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36649 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36650 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36651 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36652 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36653 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36654 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36655 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36656 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36657 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36658 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36659 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36660 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36661 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36662 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36663 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36664 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36665 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36666 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36667 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36668 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36669 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36670 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36671 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36672 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36673 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36674 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36675 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36676 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36677 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36678 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36679 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36680 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36681 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36682 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36683 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36684 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36685 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36686 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36687 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36688 * sysdeps/ieee754/k_standard.c: Likewise.
36689 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36690 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36691 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36692 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36693 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36694 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36695 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36696 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36697 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36698 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36699 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36700 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36701 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36702 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36703 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36704 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36705 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36706 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36707 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36708 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36709 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36710 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36711 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36712 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36713 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36714 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36715 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36716 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36717 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36718 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36719 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36720 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36721 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36722 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36723 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36724 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36725 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36726 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36727 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36728 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36729 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36730 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36731 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36732 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36733 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36734 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36735 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36736 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36737 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36738 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36739 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36740 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36741 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36742 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36743 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36744 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36745 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36746 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36747 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36748 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36749 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36750 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36751 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36752 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36753 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36755 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36756 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36757 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36758 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36759 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36761 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36762 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36765 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36766 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36767 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36768 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36769 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36770 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36771 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36772 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36773 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36774 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36775 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36776 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36777 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36779 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36780 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36781 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36782 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36783 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36784 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36785 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36786 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36787 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36788 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36790 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36791 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36792 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36793 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36794 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36795 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36796 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36797 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36798 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36799 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36800 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36801 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36802 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36803 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36804 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36805 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36806 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36807 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36808 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36809 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36810 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36811 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36812 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36813 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36814 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36815 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36816 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36817 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36818 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36819 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36820 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36821 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36822 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36823 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36824 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36825 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36826 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36827 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36828 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36829 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36830 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36831 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36832 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36833 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36835 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36836 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36837 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36838 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36839 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36840 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36841 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36842 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36843 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36844 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36845 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36846 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36847 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36848 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36849 * sysdeps/ieee754/s_lib_version.c: Likewise.
36850 * sysdeps/ieee754/s_matherr.c: Likewise.
36851 * sysdeps/ieee754/s_signgam.c: Likewise.
36852 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36853 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36854 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36855 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36856 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36857 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36858 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36859 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36860 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36861 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36862 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36863 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36864 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36865 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36866 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36867 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36868 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36869 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36870 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36871 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36872 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36873
1991fa03
JM
368742012-03-09 Joseph Myers <joseph@codesourcery.com>
36875
36876 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36877 * sunrpc/rpc_main.c: Likewise.
36878 * sunrpc/rpc_svcout.c: Likewise.
36879
60d6f5a6
DM
368802012-03-09 David S. Miller <davem@davemloft.net>
36881
36882 * include/math_private.h: New file.
36883
4962050e
JM
368842012-03-09 Joseph Myers <joseph@codesourcery.com>
36885
02a6f887
JM
36886 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36887 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36888 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36889 from <bits/socket_type.h>.
36890 (enum __socket_type): Don't define here.
36891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36893 bits/socket_type.h.
36894
c6e013c1
JM
36895 [BZ #13566]
36896 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36897 checking __USE_GNU.
36898
4962050e
JM
36899 * Makerules ($(inst_includedir)/%.h): New rule.
36900 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36901 (install-others): Remove variable setting.
36902 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36903
38842f45
RH
369042012-03-08 Richard Henderson <rth@twiddle.net>
36905
67bb6da6
RH
36906 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36907 from macro to inline function; merge with the
36908 !__LIBC_INTERNAL_MATH_INLINES version.
36909 (__ieee754_sqrtf): Likewise.
36910
15194b4b
RH
36911 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36912 to inline function.
36913 (__rintf, __floor, __floorf): Likewise.
36914
64e21ede
RH
36915 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36916 macro to inline function.
36917 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36918
38842f45
RH
36919 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36920 not <math/math_private.h>.
36921
c64bf5fe
DM
369222012-03-08 David S. Miller <davem@davemloft.net>
36923
36924 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36925 copyright year.
36926 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36927
82d86f28
TS
369282012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36929
36930 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36931 normalization.
36932 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36933 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36934
aea5d727
UD
369352012-03-08 Ulrich Drepper <drepper@gmail.com>
36936
36937 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36938 be defined individually, they must be defined as a block. Define
36939 S for printing a string instead of hidint the different by using a
36940 macro for adding the 'l'.
36941 * stdio-common/tst-fphex-wide.c: Adjust.
36942
70bca0a3
MP
369432012-03-07 Marek Polacek <polacek@redhat.com>
36944
36945 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36946
65b81130
MP
369472012-03-08 Marek Polacek <polacek@redhat.com>
36948
36949 [BZ #13806]
36950 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36951 * stdio-common/tst-fphex.c: Define a few macros to make the
36952 test reusable. Use them.
36953 * stdio-common/tst-fphex-wide.c: New file.
36954
07037eeb
JM
369552012-03-08 Joseph Myers <joseph@codesourcery.com>
36956
a7a93d50
JM
36957 [BZ #6911]
36958 * manual/macros.texi (gnusystems): New macro.
36959 (nongnusystems): Likewise.
36960 (gnulinuxhurdsystems): Likewise.
36961 (gnuhurdsystems): Likewise..
36962 (gnulinuxsystems): Likewise.
36963 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36964 variants of the GNU system, not "GNU system".
36965 * manual/conf.texi: Likewise.
36966 * manual/errno.texi: Likewise. Update example of errno macro
36967 expansion.
36968 * manual/filesys.texi: Likewise.
36969 (getumask): Document as specific to GNU/Hurd.
36970 * manual/install.texi: Likewise. Reword some references to
36971 GNU/Linux.
36972 * manual/intro.texi: Likewise.
36973 * manual/io.texi: Likewise.
36974 (File Name Portability): Detail which constraints are inapplicable
36975 to all GNU systems and which are only inapplicable to GNU/Hurd.
36976 * manual/job.texi: Likewise.
36977 * manual/llio.texi: Likewise.
36978 (O_NOCTTY): Document as present on GNU/Linux.
36979 * manual/maint.texi: Likewise.
36980 * manual/memory.texi: Likewise.
36981 * manual/pattern.texi: Likewise.
36982 * manual/pipe.texi: Likewise.
36983 * manual/process.texi: Likewise.
36984 * manual/resource.texi: Likewise.
36985 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36986 child on GNU/Hurd.
36987 * manual/setjmp.texi: Likewise.
36988 * manual/signal.texi: Likewise.
36989 * manual/startup.texi: Likewise.
36990 * manual/stdio.texi: Likewise.
36991 * manual/terminal.texi: Likewise.
36992 (ONLCR): Document as POSIX.
36993 (OXTABS): Document availability on GNU/Linux as XTABS.
36994 (ONOEOT): Document availability separately from other bits.
36995 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36996 * manual/time.texi: Likewise.
36997 * manual/users.texi: Likewise.
36998 * INSTALL: Regenerated.
36999 * sysdeps/gnu/errlist.c: Regenerated.
37000
07037eeb
JM
37001 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37002 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37003 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37004 puts.
37005 * configure: Regenerated.
37006
d1d3431a
JM
370072012-03-07 Joseph Myers <joseph@codesourcery.com>
37008
af6a1e37
JM
37009 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37010 default includes instead of AC_HEADER_CHECK.
37011 * sysdeps/i386/configure: Regenerated.
37012
d1d3431a
JM
37013 [BZ #10716]
37014 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37015 * math/s_cacoshf.c (__cacoshf): Likewise.
37016 * math/s_cacoshl.c (__cacoshl): Likewise.
37017 * math/s_casinh.c (__casinh): Set signs of result from argument.
37018 * math/s_casinhf.c (__casinhf): Likewise.
37019 * math/s_casinhl.c (__casinhl): Likewise.
37020 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37021 (casinh_test): Add more tests.
37022 * sysdeps/i386/fpu/libm-test-ulps: Update.
37023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37024
482ff4da
UD
370252012-03-07 Ulrich Drepper <drepper@gmail.com>
37026
872fda05
UD
37027 * po/zh_TW.po: Update from translation team.
37028
a4300c7a
UD
37029 * login/Makefile (distribute): Remove variable.
37030 * catgets/Makefile: Likewise.
37031 * mach/Makefile: Likewise.
37032 * malloc/Makefile: Likewise.
37033 * misc/Makefile: Likewise.
37034 * iconv/Makefile: Likewise.
37035 * nscd/Makefile: Likewise.
37036 * hurd/Makefile: Likewise.
37037 * manual/Makefile: Likewise.
37038 * locale/Makefile: Likewise.
37039 * intl/Makefile: Likewise.
37040 * conform/Makefile: Likewise.
37041 * nss/Makefile: Likewise.
37042 * time/Makefile: Likewise.
37043 * soft-fp/Makefile: Likewise.
37044 * dirent/Makefile: Likewise.
37045 * gmon/Makefile: Likewise.
37046 * po/Makefile: Likewise.
37047 * rt/Makefile: Likewise.
37048 * socket/Makefile: Likewise.
37049 * math/Makefile: Likewise.
37050 * signal/Makefile: Likewise.
37051 * debug/Makefile: Likewise.
37052 * elf/Makefile: Likewise.
37053 * timezone/Makefile: Likewise.
37054 * stdlib/Makefile: Likewise.
37055 * iconvdata/Makefile: Likewise.
37056 * sunrpc/Makefile: Likewise.
37057 * io/Makefile: Likewise.
37058 * argp/Makefile: Likewise.
37059 * inet/Makefile: Likewise.
37060 * hesiod/Makefile: Likewise.
37061 * grp/Makefile: Likewise.
37062 * csu/Makefile: Likewise.
37063 * wctype/Makefile: Likewise.
37064 * crypt/Makefile: Likewise.
37065 * libio/Makefile: Likewise.
37066 * string/Makefile: Likewise.
37067 * nis/Makefile: Likewise.
37068 * resolv/Makefile: Likewise.
37069 * stdio-common/Makefile: Likewise.
37070 * wcsmbs/Makefile: Likewise.
37071 * dlfcn/Makefile: Likewise.
37072 * posix/Makefile: Likewise.
37073
3b7c4e74 37074 [BZ #6959]
482ff4da
UD
37075 * timezone/Makefile: Don't install timezone files, just the programs
37076 and scripts.
37077
f72ed77d
UD
370782012-03-06 Ulrich Drepper <drepper@gmail.com>
37079
a000466f
UD
37080 * nss/databases.def: Add missing gshadow entry.
37081
f72ed77d
UD
37082 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37083
a53b7a4e
MP
370842012-03-06 Marek Polacek <polacek@redhat.com>
37085
37086 [BZ #13726]
37087 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37088 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37089 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37090 * stdio-common/tst-long-dbl-fphex.c: New file.
37091
e9258400
DM
370922012-03-06 David S. Miller <davem@davemloft.net>
37093
37094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37095 (set_obp_int): New function.
37096 (get_obp_int): New function.
37097 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
37098 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37099 Avoid unused variable warnings on 'val' and use builtin_expect.
37100 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37101 __builtin_expect.
e9258400
DM
37102 (INLINE_CLONE_SYSCALL): Likewise.
37103
3bd2c723
DM
371042012-03-05 David S. Miller <davem@davemloft.net>
37105
37106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37107
bbb78d03
AS
371082012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37109
884c5db4
AS
37110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37111
bbb78d03
AS
37112 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37113 only for |x| >= 40.
37114 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37115
1c9f702a 371162012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
37117
37118 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37119 Replace gettimeofday with __vdso_gettimeofday.
37120
7be16f82
RM
37121 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37122 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37123 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
37124
37125 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37126 time with __vdso_time.
37127
ed58a00f
JM
371282012-03-05 Joseph Myers <joseph@codesourcery.com>
37129
37130 * manual/lang.texi (size_t): Note types to which size_t may be
37131 equivalent with the GNU C Library, but do not describe when
37132 differences between them are significant.
37133
30ee4ced
AJ
371342012-03-05 Andreas Jaeger <aj@suse.de>
37135
37136 * sysdeps/i386/fpu/libm-test-ulps: Update.
37137
b7cd39e8
JM
371382012-03-05 Joseph Myers <joseph@codesourcery.com>
37139
37140 [BZ #3976]
37141 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37142 (__ieee754_pow): Save and restore rounding mode and use
37143 round-to-nearest for main computations.
37144 * math/libm-test.inc (pow_test_tonearest): New function.
37145 (pow_test_towardzero): Likewise.
37146 (pow_test_downward): Likewise.
37147 (pow_test_upward): Likewise.
37148 (main): Call the new functions.
37149 * sysdeps/i386/fpu/libm-test-ulps: Update.
37150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37151
37152 [BZ #3976]
37153 * math/libm-test.inc (cosh_test_tonearest): New function.
37154 (cosh_test_towardzero): Likewise.
37155 (cosh_test_downward): Likewise.
37156 (cosh_test_upward): Likewise.
37157 (sinh_test_tonearest): Likewise.
37158 (sinh_test_towardzero): Likewise.
37159 (sinh_test_downward): Likewise.
37160 (sinh_test_upward): Likewise.
37161 (main): Call the new functions.
37162 * sysdeps/i386/fpu/libm-test-ulps: Update.
37163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37164
6c6a98c9
TV
371652012-03-05 Tom de Vries <tom@codesourcery.com>
37166
37167 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37168 default stack guard is set in last bytes.
37169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37170
21bb2d2e 371712012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37172
21bb2d2e 37173 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37174
21bb2d2e
AJ
37175 [BZ #13656]
37176 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37177 possibly allocate from heap instead of stack.
37178 * stdio-common/bug-vfprintf-nargs.c: New file.
37179 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37180
c6922934
AS
371812012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37182
37183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37184
bc957d53
MP
371852012-03-03 Marek Polacek <polacek@redhat.com>
37186
37187 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37188 * math/math_private.h: Likewise.
37189 * stdlib/tst-strtod.c: Likewise.
37190 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37191 * sysdeps/x86_64/bits/atomic.h: Likewise.
37192
6358490d
DM
371932012-03-02 David S. Miller <davem@davemloft.net>
37194
37195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37199 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37200 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37201 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37202 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37203
01ae168d
RM
372042012-03-02 Roland McGrath <roland@hack.frob.com>
37205
d9a17c07
RM
37206 [BZ #13792]
37207 * manual/examples/README: New file, says the example source files
37208 can be used under GPL>=2.
37209 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37210 line containing just "*/".
37211 * manual/examples/add.c: Add copyright header (GPL>=2).
37212 * manual/examples/argp-ex1.c: Likewise.
37213 * manual/examples/argp-ex2.c: Likewise.
37214 * manual/examples/argp-ex3.c: Likewise.
37215 * manual/examples/argp-ex4.c: Likewise.
37216 * manual/examples/atexit.c: Likewise.
37217 * manual/examples/db.c: Likewise.
37218 * manual/examples/dir.c: Likewise.
37219 * manual/examples/dir2.c: Likewise.
37220 * manual/examples/execinfo.c: Likewise.
37221 * manual/examples/filecli.c: Likewise.
37222 * manual/examples/filesrv.c: Likewise.
37223 * manual/examples/fmtmsgexpl.c: Likewise.
37224 * manual/examples/genpass.c: Likewise.
37225 * manual/examples/inetcli.c: Likewise.
37226 * manual/examples/inetsrv.c: Likewise.
37227 * manual/examples/isockad.c: Likewise.
37228 * manual/examples/longopt.c: Likewise.
37229 * manual/examples/memopen.c: Likewise.
37230 * manual/examples/memstrm.c: Likewise.
37231 * manual/examples/mkfsock.c: Likewise.
37232 * manual/examples/mkisock.c: Likewise.
37233 * manual/examples/mygetpass.c: Likewise.
37234 * manual/examples/pipe.c: Likewise.
37235 * manual/examples/popen.c: Likewise.
37236 * manual/examples/rprintf.c: Likewise.
37237 * manual/examples/search.c: Likewise.
37238 * manual/examples/select.c: Likewise.
37239 * manual/examples/setjmp.c: Likewise.
37240 * manual/examples/sigh1.c: Likewise.
37241 * manual/examples/sigusr.c: Likewise.
37242 * manual/examples/stpcpy.c: Likewise.
37243 * manual/examples/strdupa.c: Likewise.
37244 * manual/examples/strftim.c: Likewise.
37245 * manual/examples/strncat.c: Likewise.
37246 * manual/examples/subopt.c: Likewise.
37247 * manual/examples/swapcontext.c: Likewise.
37248 * manual/examples/termios.c: Likewise.
37249 * manual/examples/testopt.c: Likewise.
37250 * manual/examples/testpass.c: Likewise.
37251 * manual/examples/timeval_subtract.c: Likewise.
37252
01ae168d
RM
37253 [BZ #13792]
37254 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37255 function to ...
37256 * manual/timeval_subtract.c.texi: ... here, new file.
37257
49efa33d
DM
372582012-03-02 David S. Miller <davem@davemloft.net>
37259
37260 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37261
28afd92d
JM
372622012-03-02 Joseph Myers <joseph@codesourcery.com>
37263
804360ed
JM
37264 [BZ #3976]
37265 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37266 (__sin): Save and restore rounding mode and use round-to-nearest
37267 for all computations.
37268 (__cos): Save and restore rounding mode and use round-to-nearest
37269 for all computations.
37270 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37271 <fenv.h>.
37272 (tan): Save and restore rounding mode and use round-to-nearest for
37273 all computations.
37274 * math/libm-test.inc (cos_test_tonearest): New function.
37275 (cos_test_towardzero): Likewise.
37276 (cos_test_downward): Likewise.
37277 (cos_test_upward): Likewise.
37278 (sin_test_tonearest): Likewise.
37279 (sin_test_towardzero): Likewise.
37280 (sin_test_downward): Likewise.
37281 (sin_test_upward): Likewise.
37282 (tan_test_tonearest): Likewise.
37283 (tan_test_towardzero): Likewise.
37284 (tan_test_downward): Likewise.
37285 (tan_test_upward): Likewise.
37286 (main): Call the new functions.
37287 * sysdeps/i386/fpu/libm-test-ulps: Update.
37288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37289
a6d06d7b
JM
37290 [BZ #10135]
37291 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37292 small n, then large n, before computing and testing k+n.
37293 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37294 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37295 Likewise.
37296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37297 Likewise.
37298 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37299 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37300 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37301 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37302 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37303 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37304 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37305 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37306 * math/libm-test.inc (scalbn_test): Add more tests.
37307 (scalbln_test): Likewise.
37308
07e12bb3
JM
37309 * manual/filesys.texi (mode_t): Describe constraints on size and
37310 signedness, not exact equivalence to a particular type.
37311 (ino_t): Likewise.
37312 (ino64_t): Likewise.
37313 (dev_t): Likewise.
37314 (nlink_t): Likewise.
37315 (blkcnt_t): Likewise.
37316 (blkcnt64_t): Likewise.
37317 * manual/llio.texi (off_t): Likewise.
37318
28afd92d
JM
37319 [BZ #3976]
37320 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37321 (__ieee754_exp): Save and restore rounding mode and use
37322 round-to-nearest for all computations.
37323 * math/libm-test.inc (exp_test_tonearest): New function.
37324 (exp_test_towardzero): Likewise.
37325 (exp_test_downward): Likewise.
37326 (exp_test_upward): Likewise.
37327 (main): Call the new functions.
37328 * sysdeps/i386/fpu/libm-test-ulps: Update.
37329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37330
b1eeb65d
CD
373312012-03-01 Chris Demetriou <cgd@google.com>
37332
37333 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37334 have predictable order.
37335
53362a4b
DM
373362012-03-01 David S. Miller <davem@davemloft.net>
37337
3c969083
DM
37338 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37339
759707de
DM
37340 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37341 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37342 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37343 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37344
dfdb8ff2
DM
37345 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37346 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37347 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37349 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37350 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37351 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37352 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37353 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37354
ead89f96
DM
37355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37356
7f66bd07
DM
37357 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37358 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37359 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37360
53362a4b
DM
37361 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37362 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37363 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37364 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37365 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37366 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37367 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37368 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37369 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37370 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37371 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37372 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37374 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37375 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37377 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37378 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37379 * sysdeps/sparc/elf/configure: Regenerated.
37380
7b1902cb
JM
373812012-03-01 Joseph Myers <joseph@codesourcery.com>
37382
bec039bc
JM
37383 * configure.in (AS, LD): Require binutils 2.20 or later.
37384 * configure: Regenerated.
37385 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37386 as required minimum version.
37387 * INSTALL: Regenerated.
37388
7b1902cb
JM
37389 [BZ #2541]
37390 [BZ #4108]
37391 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37392 before squaring exponent.
37393 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37394 bottom long double and 27 bits of top long double before squaring
37395 exponent.
37396 * math/libm-test.inc (erfc_test): Add more tests.
37397 * sysdeps/i386/fpu/libm-test-ulps: Update.
37398 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37400
f775c276
KT
374012012-03-01 Kai Tietz <ktietz@redhat.com>
37402
37403 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37404 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37405 containing bit-fields.
37406 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37407 * soft-fp/single.h (_FP_UNION_S): Likewise.
37408 * soft-fp/double.h (_FP_UNION_D): Likewise.
37409
5b8a4d4a
JM
374102012-02-29 Joseph Myers <joseph@codesourcery.com>
37411
0bab47b6
JM
37412 [BZ #13786]
37413 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37414 not include ../strcmp.S.
37415 [USE_AS_STRNCASECMP_L]: Likewise.
37416 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37417 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37418 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37419 (__strncasecmp_l_ia32): Define as alias to
37420 __strncasecmp_l_nonascii.
37421
0fcad3e2
JM
37422 [BZ #5794]
37423 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37424 * sysdeps/i386/fpu/libm-test-ulps: Update.
37425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37426
5b8a4d4a
JM
37427 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37429
8fdceb2e
JL
374302012-02-29 Jeff Law <law@redhat.com>
37431
37432 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37433 out of bounds read.
37434
1f393a11
MP
374352012-02-29 Marek Polacek <polacek@redhat.com>
37436
37437 [BZ #13706]
37438 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37439 * elf/Makefile: Add rules to run tst-unused-dep.out.
37440
8847f037
DM
374412012-02-28 David S. Miller <davem@davemloft.net>
37442
37443 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37444 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37446 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37447 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37448 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37449
169d7f11
JM
374502012-02-29 Joseph Myers <joseph@codesourcery.com>
37451
37452 * math/libm-test.inc (llround_test): Move one test from
37453 lround_test. Use TEST_f_L in moved test.
37454 (lround_test): Move misplaced test to llround_test. Add testcase
37455 from bug 2561.
37456
39adf059
UD
374572012-02-28 Ulrich Drepper <drepper@gmail.com>
37458
37459 * sysdeps/x86_64/fpu/e_expf.S: New file.
37460 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37461
71b5d1c5
SB
374622012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37463
37464 [BZ #13637]
37465 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37466 of remain_len that may cause incomplete multi-byte character and
37467 false match.
37468 * posix/bug-regex33.c: New file.
37469 * posix/Makefile (tests): Add bug-regex33.
37470
1f77f049
JM
374712012-02-28 Joseph Myers <joseph@codesourcery.com>
37472
37473 * manual/macros.texi: New file.
37474 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37475 * manual/libc.texinfo: Include macros.texi.
37476 * manual/creatute.texi: Likewise.
37477 * manual/install.texi: Likewise.
37478 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37479 @glibcadj{} in references to the GNU C Library.
37480 * manual/charset.texi: Likewise.
37481 * manual/conf.texi: Likewise.
37482 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37483 when not using those macros.
37484 * manual/creature.texi: Likewise.
37485 * manual/crypt.texi: Likewise.
37486 * manual/errno.texi: Likewise.
37487 * manual/filesys.texi: Likewise.
37488 * manual/header.texi: Likewise.
37489 * manual/install.texi: Likewise.
37490 * manual/intro.texi: Likewise.
37491 * manual/io.texi: Likewise.
37492 * manual/job.texi: Likewise.
37493 * manual/lang.texi: Likewise.
37494 * manual/libc.texiinfo: Likewise.
37495 * manual/llio.texi: Likewise.
37496 * manual/locale.texi: Likewise.
37497 * manual/maint.texi: Likewise.
37498 * manual/math.texi: Likewise.
37499 * manual/memory.texi: Likewise.
37500 * manual/message.texi: Likewise.
37501 * manual/nss.texi: Likewise.
37502 * manual/pattern.texi: Likewise.
37503 * manual/process.texi: Likewise.
37504 * manual/resource.texi: Likewise.
37505 * manual/search.texi: Likewise.
37506 * manual/setjmp.texi: Likewise.
37507 * manual/signal.texi: Likewise.
37508 * manual/socket.texi: Likewise.
37509 * manual/startup.texi: Likewise.
37510 * manual/stdio.texi: Likewise.
37511 * manual/string.texi: Likewise.
37512 * manual/sysinfo.texi: Likewise.
37513 * manual/syslog.texi: Likewise.
37514 * manual/terminal.texi: Likewise.
37515 * manual/time.texi: Likewise.
37516 * manual/users.texi: Likewise.
37517 * INSTALL: Regenerated.
37518 * NOTES: Regenerated.
d40c5d54 37519 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 37520
450bf206
AS
375212012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37522
37523 * include/dirent.h: Include <dirstream.h> before
37524 <dirent/dirent.h>.
37525
741a235b
DM
375262012-02-28 David S. Miller <davem@davemloft.net>
37527
37528 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37529 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37530 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37531 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37532
d6b5aa58
DM
375332012-02-27 David S. Miller <davem@davemloft.net>
37534
1aff59a3
DM
37535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37537 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37538 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37539
d6b5aa58
DM
37540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37541 frame pointer instead of stack pointer relative arg slot.
37542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37543 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37544 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37545
433f48bf
CD
375462012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37547
37548 [BZ #3992]
37549 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37550
d674b76d
DM
375512012-02-27 David S. Miller <davem@davemloft.net>
37552
37553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37557 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37558 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37559 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37560 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37561
0e7727f7
JM
375622012-02-27 Joseph Myers <joseph@codesourcery.com>
37563
37564 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37565 later. Allow versions 5-9.
43be4ca2 37566 * configure: Regenerated.
0e7727f7
JM
37567 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37568 required minimum version and 4.6 as recommended version. Do not
37569 mention bugs in GCC 2.7 and 2.8.
43be4ca2 37570 * INSTALL: Regenerated.
0e7727f7 37571
a78bc654
DM
375722012-02-27 David S. Miller <davem@davemloft.net>
37573
428d5830
DM
37574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37578 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37579 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37580 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37581 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37582
a78bc654
DM
37583 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37584 manipulate bits before adding and subtracting TWO112[sx].
37585 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37586
4579f81c
RM
375872012-02-27 Roland McGrath <roland@hack.frob.com>
37588
36c8acb4
RM
37589 [BZ #13775]
37590 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37591 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37592 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37593 being in POSIX, because they are in 1003.1-2008.
37594
84ad622b
RM
37595 * rt/tst-aio.c: Include <fcntl.h>.
37596 * rt/tst-aio7.c: Likewise.
37597 * rt/tst-aio64.c: Likewise.
37598
4579f81c
RM
37599 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37600
abd923db
JM
376012012-02-27 Joseph Myers <joseph@codesourcery.com>
37602
37603 * manual/install.texi (--with-headers): Describe headers as
37604 interface headers, not private headers.
37605 (Specific advice for GNU/Linux systems): Describe use of headers
37606 from "make headers_install", not private headers from older
37607 kernels.
43be4ca2 37608 * INSTALL: Regenerated.
abd923db
JM
37609 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37610 Change to 2.6.19.
37611 * sysdeps/unix/sysv/linux/configure: Regenerated.
37612
6664049b
JM
37613 * manual/llio.texi (fclean): Remove documentation.
37614
bb8b6697
JM
37615 * manual/Makefile (libc-texi-generated): New variable. Include
37616 version.texi.
37617 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37618 $(libc-texi-generated), not duplicated list of files.
37619 (version.texi, stamp-version): New rules.
37620 (realclean): Remove $(libc-texi-generated), not individual files
37621 from that list. Do not remove dir-add.texinfo.
37622 * manual/libc.texinfo: Comment out uses of edition numbers and
37623 references to printed manual. Remove last-updated dates.
37624 (EDITION): Comment out.
37625 (ISBN): Likewise.
37626 (VERSION, UPDATED): Remove.
37627 (version.texi): Include.
37628
12e5c3b9
AS
376292012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37630
37631 * sysdeps/posix/spawni.c: Include <signal.h>.
37632 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37633 * sysdeps/pthread/aio_fsync.c: Likewise.
37634
4efeffc1 376352012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 37636
ba63ba08
UD
37637 * conform/Makefile (tests): Run only when not cross-compiling and
37638 when fast-check is not defined.
37639
d94a4670
UD
37640 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37641 * conform/data/limits.h-data: Fixes for POSIX2008.
37642 * conform/run-conformtest.sh: Run all tests.
37643 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37644 headers.
37645 * include/bits/dlfcn.h: Likewise.
37646 * include/langinfo.h: Likewise.
37647 * include/monetary.h: Likewise.
37648 * include/sys/poll.h: Likewise.
37649
37650 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37651 for __USE_GNU.
37652 * posix/spawn.h: Define __need_sigset_t.
37653 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37654 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37655 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37656 to get sigevent_t only.
37657 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37658 only for __USE_GNU.
37659 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37660 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37661 process_vm_writev only for __USE_GNU.
37662 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
37663
37664 * conform/Makefile: For now ignore errors from run-conformtest.
37665 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37666 POSIX to avoid namespace pollution. Don't prepend headers.
37667 * conform/data/aio.h-data: Fixes for POSIX testing.
37668 * conform/data/fcntl.h-data: Likewise.
37669 * conform/data/glob.h-data: Likewise.
37670 * conform/data/grp.h-data: Likewise.
37671 * conform/data/pthread.h-data: Likewise.
37672 * conform/data/pwd.h-data: Likewise.
37673 * conform/data/signal.h-data: Likewise.
37674 * conform/data/spawn.h-data: Likewise.
37675 * conform/data/stdio.h-data: Likewise.
37676 * conform/data/stdlib.h-data: Likewise.
37677 * conform/data/stropts.h-data: Likewise.
37678 * conform/data/sys/mman.h-data: Likewise.
37679 * conform/data/sys/stat.h-data: Likewise.
37680 * conform/data/sys/types.h-data: Likewise.
37681 * conform/data/sys/wait.h-data: Likewise.
37682 * conform/data/time.h-data: Likewise.
37683 * conform/data/unistd.h-data: Likewise.
37684 * conform/data/utime.h-data: Likewise.
37685
37686 * io/sys/stat.h: fchmod was always in POSIX.
37687 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37688 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37689 * rt/aio.h: Define __need_timespec before including <time.h>.
37690 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37691 struct. Add forward declaration of pthread_attr_t and use it in
37692 sigevent.
37693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37695 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37696 always remove CLK_TCK definition.
37697
c20105c3
AS
376982012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37699
37700 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37701
7a270350
UD
377022012-02-25 Ulrich Drepper <drepper@gmail.com>
37703
31341567
UD
37704 * conform/run-conformtest.sh: New file.
37705 * conform/Makefile: Run run-conformtest for tests.
37706 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37707 support.
37708
37709 * conform/data/uchar.h-data: New file.
37710 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37711 * conform/data/arpa/inet.h-data: Likewise.
37712 * conform/data/assert.h-data: Likewise.
37713 * conform/data/complex.h-data: Likewise.
37714 * conform/data/cpio.h-data: Likewise.
37715 * conform/data/ctype.h-data: Likewise.
37716 * conform/data/dirent.h-data: Likewise.
37717 * conform/data/dlfcn.h-data: Likewise.
37718 * conform/data/errno.h-data: Likewise.
37719 * conform/data/fcntl.h-data: Likewise.
37720 * conform/data/float.h-data: Likewise.
37721 * conform/data/fmtmsg.h-data: Likewise.
37722 * conform/data/fnmatch.h-data: Likewise.
37723 * conform/data/ftw.h-data: Likewise.
37724 * conform/data/glob.h-data: Likewise.
37725 * conform/data/grp.h-data: Likewise.
37726 * conform/data/iconv.h-data: Likewise.
37727 * conform/data/inttypes.h-data: Likewise.
37728 * conform/data/langinfo.h-data: Likewise.
37729 * conform/data/libgen.h-data: Likewise.
37730 * conform/data/limits.h-data: Likewise.
37731 * conform/data/locale.h-data: Likewise.
37732 * conform/data/math.h-data: Likewise.
37733 * conform/data/monetary.h-data: Likewise.
37734 * conform/data/mqueue.h-data: Likewise.
37735 * conform/data/ndbm.h-data: Likewise.
37736 * conform/data/net/if.h-data: Likewise.
37737 * conform/data/netdb.h-data: Likewise.
37738 * conform/data/netinet/in.h-data: Likewise.
37739 * conform/data/nl_types.h-data: Likewise.
37740 * conform/data/poll.h-data: Likewise.
37741 * conform/data/pthread.h-data: Likewise.
37742 * conform/data/pwd.h-data: Likewise.
37743 * conform/data/regex.h-data: Likewise.
37744 * conform/data/sched.h-data: Likewise.
37745 * conform/data/search.h-data: Likewise.
37746 * conform/data/semaphore.h-data: Likewise.
37747 * conform/data/setjmp.h-data: Likewise.
37748 * conform/data/signal.h-data: Likewise.
37749 * conform/data/spawn.h-data: Likewise.
37750 * conform/data/stdarg.h-data: Likewise.
37751 * conform/data/stdio.h-data: Likewise.
37752 * conform/data/stdlib.h-data: Likewise.
37753 * conform/data/string.h-data: Likewise.
37754 * conform/data/strings.h-data: Likewise.
37755 * conform/data/stropts.h-data: Likewise.
37756 * conform/data/sys/ipc.h-data: Likewise.
37757 * conform/data/sys/mman.h-data: Likewise.
37758 * conform/data/sys/msg.h-data: Likewise.
37759 * conform/data/sys/resource.h-data: Likewise.
37760 * conform/data/sys/select.h-data: Likewise.
37761 * conform/data/sys/sem.h-data: Likewise.
37762 * conform/data/sys/shm.h-data: Likewise.
37763 * conform/data/sys/socket.h-data: Likewise.
37764 * conform/data/sys/stat.h-data: Likewise.
37765 * conform/data/sys/statvfs.h-data: Likewise.
37766 * conform/data/sys/time.h-data: Likewise.
37767 * conform/data/sys/timeb.h-data: Likewise.
37768 * conform/data/sys/times.h-data: Likewise.
37769 * conform/data/sys/types.h-data: Likewise.
37770 * conform/data/sys/uio.h-data: Likewise.
37771 * conform/data/sys/un.h-data: Likewise.
37772 * conform/data/sys/utsname.h-data: Likewise.
37773 * conform/data/sys/wait.h-data: Likewise.
37774 * conform/data/syslog.h-data: Likewise.
37775 * conform/data/tar.h-data: Likewise.
37776 * conform/data/termios.h-data: Likewise.
37777 * conform/data/utime.h-data: Likewise.
37778 * conform/data/utmpx.h-data: Likewise.
37779 * conform/data/varargs.h-data: Likewise.
37780 * conform/data/wchar.h-data: Likewise.
37781 * conform/data/wctype.h-data: Likewise.
37782 * conform/data/wordexp.h-data: Likewise.
37783
37784 * include/stropts.h: New file.
37785 * include/uchar.h: New file.
37786 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37787 * include/assert.h: Likewise.
37788 * include/ctype.h: Likewise.
37789 * include/dirent.h: Likewise.
37790 * include/dlfcn.h: Likewise.
37791 * include/fcntl.h: Likewise.
37792 * include/fnmatch.h: Likewise.
37793 * include/glob.h: Likewise.
37794 * include/grp.h: Likewise.
37795 * include/libio.h: Likewise.
37796 * include/locale.h: Likewise.
37797 * include/math.h: Likewise.
37798 * include/net/if.h: Likewise.
37799 * include/netdb.h: Likewise.
37800 * include/netinet/in.h: Likewise.
37801 * include/pthread.h: Likewise.
37802 * include/pwd.h: Likewise.
37803 * include/regex.h: Likewise.
37804 * include/sched.h: Likewise.
37805 * include/search.h: Likewise.
37806 * include/setjmp.h: Likewise.
37807 * include/signal.h: Likewise.
37808 * include/stdio.h: Likewise.
37809 * include/stdlib.h: Likewise.
37810 * include/string.h: Likewise.
37811 * include/sys/cdefs.h: Likewise.
37812 * include/sys/mman.h: Likewise.
37813 * include/sys/msg.h: Likewise.
37814 * include/sys/resource.h: Likewise.
37815 * include/sys/select.h: Likewise.
37816 * include/sys/socket.h: Likewise.
37817 * include/sys/stat.h: Likewise.
37818 * include/sys/statvfs.h: Likewise.
37819 * include/sys/time.h: Likewise.
37820 * include/sys/times.h: Likewise.
37821 * include/sys/uio.h: Likewise.
37822 * include/sys/utsname.h: Likewise.
37823 * include/sys/wait.h: Likewise.
37824 * include/termios.h: Likewise.
37825 * include/time.h: Likewise.
37826 * include/ulimit.h: Likewise.
37827 * include/unistd.h: Likewise.
37828 * include/utime.h: Likewise.
37829 * include/wchar.h: Likewise.
37830 * include/wctype.h: Likewise.
37831 * include/wordexp.h: Likewise.
37832
37833 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37834
7a270350
UD
37835 * time/time.h: TIME_UTC must be a macro.
37836 Make timespec_get available for ISO C11 only as well.
37837
7724defc
UD
378382012-02-24 Ulrich Drepper <drepper@gmail.com>
37839
37840 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37841 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37842
6b1d1d46
JM
378432012-02-24 Joseph Myers <joseph@codesourcery.com>
37844
37845 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37846
0f8bbd69
JM
378472012-02-24 Joseph Myers <joseph@codesourcery.com>
37848
37849 * manual/texinfo.tex: Update to version 2012-01-19.16.
37850
66ab80bc
JM
378512012-02-24 Joseph Myers <joseph@codesourcery.com>
37852
37853 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37854
74981cc5
RM
378552012-02-24 Roland McGrath <roland@hack.frob.com>
37856
ee968201
RM
37857 [BZ #13738]
37858 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37859 * manual/fdl-1.3.texi: New file.
37860 * manual/fdl-1.1.texi: File removed.
37861
74981cc5
RM
37862 [BZ #13738]
37863 * manual/libc.texinfo (FDL_VERSION): New @set.
37864 Use it for mention of FDL in cover text.
37865 (Documentation License): Use it in @include file name.
37866
7bb764bc
JM
378672012-02-22 Joseph Myers <joseph@codesourcery.com>
37868 Roland McGrath <roland@hack.frob.com>
37869
37870 [BZ #5461]
57f41c40
AS
37871 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37872 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37873 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37874 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37875 name.
37876 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37877
6cbeae47
JM
378782012-02-22 Joseph Myers <joseph@codesourcery.com>
37879
37880 [BZ #2547]
37881 [BZ #11365]
37882 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37883 manipulate bits before adding and subtracting TWO23[sx].
37884 * math/libm-test.inc (nearbyint_test): Add more tests.
37885
fe45ce09
JM
378862012-02-22 Joseph Myers <joseph@codesourcery.com>
37887
37888 [BZ #2548]
37889 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37890 bits before adding and subtracting TWO23[sx].
37891 * math/libm-test.inc (rint_test): Add more tests.
37892 (rint_test_tonearest): Likewise.
37893 (rint_test_towardzero): Likewise.
37894 (rint_test_downward): Likewise.
37895 (rint_test_upward: Likewise.
37896
ff3b3d82
JM
378972012-02-22 Joseph Myers <joseph@codesourcery.com>
37898
37899 [BZ #10110]
37900 * include/stdc-predef.h: New file. Extracted from features.h.
37901 * include/features.h: Include stdc-predef.h.
37902 * Makefile (headers): Add stdc-predef.h.
37903 * CONFORMANCE (Compiler limitations): Update.
37904
ef0aab35
JM
379052012-02-22 Joseph Myers <joseph@codesourcery.com>
37906
37907 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37908
58639409
DM
379092012-02-21 David S. Miller <davem@davemloft.net>
37910
37911 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37912 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37913
c0e70b25
DM
379142012-02-20 David S. Miller <davem@davemloft.net>
37915
37916 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37917 using a normal save/restore sequence, rather than allocating a
37918 dummy stack frame just to store a frame pointer and restore.
37919 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37920
fb06851d
JM
379212012-02-21 Joseph Myers <joseph@codesourcery.com>
37922
37923 * manual/install.texi: Fix stray word in line-wrapped comment.
37924
7a8b71c3
DM
379252012-02-20 David S. Miller <davem@davemloft.net>
37926
d510c123
DM
37927 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37928 both binutils and gcc support GOTDATA.
37929
0722d7c2
DM
37930 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37931 "rd %pc" in the PIC register setup sequences.
37932
3d2b3019
DM
37933 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37934 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37935 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37936 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37937 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37939 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37940 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37941 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37942 (SYSCALL_ERROR_HANDLER): Likewise.
37943 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37944 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37946 (SYSCALL_ERROR_HANDLER): Likewise.
37947
c80098a9
DM
37948 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37949 (HAVE_GCC_GOTDATA): New.
37950 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37951 relocation support in both binutils and gcc.
37952 * sysdeps/sparc/elf/configure: Regenerate.
37953
3a2545a0
DM
37954 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37955 * sysdeps/sparc/sparc32/elf/configure: Delete.
37956 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37957 * sysdeps/sparc/sparc64/elf/configure: Delete.
37958 * sysdeps/sparc/elf/configure.in: New file.
37959 * sysdeps/sparc/elf/configure: Generate.
37960
7a8b71c3
DM
37961 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37962 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37963 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37964 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37965 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37966
f1e86fca
JM
379672012-02-21 Joseph Myers <joseph@codesourcery.com>
37968
37969 * manual/install.texi: Do not mention specific glibc version
37970 numbers.
37971 * manual/libc.texinfo (VERSION, UPDATED): Update.
37972 (@copying): Use @copyright{} and range of years.
37973
0e7dfaef
JM
379742012-02-21 Joseph Myers <joseph@codesourcery.com>
37975
37976 [BZ #13695]
37977 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37978 [crti.S not in sysdirs] (generated): Do not append.
37979 [crti.S not in sysdirs] (omit-deps): Likewise.
37980 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37981 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37982 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37983 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37984 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37985 Likewise.
37986 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37987 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37988 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37989 * csu/defs.awk: Remove file.
37990 * sysdeps/generic/initfini.c: Likewise.
37991 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37992 variable.
37993 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37994 Likewise.
37995
599af3ca
JM
379962012-02-20 Joseph Myers <joseph@codesourcery.com>
37997
37998 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37999 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38000 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38001 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38002 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38003 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38004 <bits/epoll.h>.
38005 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38006 (__EPOLL_PACKED): Define to empty if not defined by
38007 <bits/epoll.h>.
38008 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38010 bits/epoll.h.
38011
0e499750
JM
380122012-02-20 Joseph Myers <joseph@codesourcery.com>
38013
38014 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38015 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38016 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38017 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38018 <bits/timerfd.h>.
38019 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38021 bits/timerfd.h.
38022
5ad91f6e
JM
380232012-02-20 Joseph Myers <joseph@codesourcery.com>
38024
38025 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38026 in C locale.
38027 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38028 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38029 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38031
06b99b02
AJ
380322012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38033
38034 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38035 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38036
7638c0fd
AS
380372012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38038
38039 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38040 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38041 defined.
38042 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38043 Likewise.
38044 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38045 entry for 2.16.
38046
92221550
AJ
380472012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38048
38049 * math/w_acos.c: Use non-signaling floating-point comparisons.
38050 * math/w_acosf.c: Likewise.
38051 * math/w_acosh.c: Likewise.
38052 * math/w_acoshf.c: Likewise.
38053 * math/w_acoshl.c: Likewise.
38054 * math/w_acosl.c: Likewise.
38055 * math/w_asin.c: Likewise.
38056 * math/w_asinf.c: Likewise.
38057 * math/w_asinl.c: Likewise.
38058 * math/w_atanh.c: Likewise.
38059 * math/w_atanhf.c: Likewise.
38060 * math/w_atanhl.c: Likewise.
38061 * math/w_exp2.c: Likewise.
38062 * math/w_exp2f.c: Likewise.
38063 * math/w_exp2l.c: Likewise.
38064 * math/w_j0.c: Likewise.
38065 * math/w_j0f.c: Likewise.
38066 * math/w_j0l.c: Likewise.
38067 * math/w_j1.c: Likewise.
38068 * math/w_j1f.c: Likewise.
38069 * math/w_j1l.c: Likewise.
38070 * math/w_jn.c: Likewise.
38071 * math/w_jnf.c: Likewise.
38072 * math/w_log.c: Likewise.
38073 * math/w_log10.c: Likewise.
38074 * math/w_log10f.c: Likewise.
38075 * math/w_log10l.c: Likewise.
38076 * math/w_log2.c: Likewise.
38077 * math/w_log2f.c: Likewise.
38078 * math/w_log2l.c: Likewise.
38079 * math/w_logf.c: Likewise.
38080 * math/w_logl.c: Likewise.
38081 * math/w_sqrt.c: Likewise.
38082 * math/w_sqrtf.c: Likewise.
38083 * math/w_sqrtl.c: Likewise.
38084 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38086 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38087 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38088 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38089
ebaf36eb
JM
380902012-02-19 Joseph Myers <joseph@codesourcery.com>
38091
38092 [BZ #9739]
38093 * manual/string.texi (strnlen): Use correct parameter name in
38094 equivalent expression.
38095
71c254a6
JM
380962012-02-19 Joseph Myers <joseph@codesourcery.com>
38097
38098 [BZ #11174]
38099 * manual/users.texi (seteuid): Consistently use neweuid for
38100 argument name.
38101
16d2c631
JM
381022012-02-19 Joseph Myers <joseph@codesourcery.com>
38103
38104 [BZ #13704]
38105 * manual/nss.texi (Services in the NSS configuration): Correct
38106 list of services in example configuration file.
38107
cd837b09
NB
381082012-02-19 Nick Bowler <nbowler@draconx.ca>
38109
38110 [BZ #11322]
38111 * manual/arith.texi: Remove statements about negative zero
38112 behaving identically to zero.
38113
02c4bbad
JM
381142012-02-18 Joseph Myers <joseph@codesourcery.com>
38115
38116 [BZ #5993]
38117 * manual/install.texi: Do not document upgrading from libc5.
38118
366842e7
JM
381192012-02-18 Joseph Myers <joseph@codesourcery.com>
38120
38121 [BZ #4596]
38122 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38123
dd54084d
DM
381242012-02-18 David S. Miller <davem@davemloft.net>
38125
38126 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38127 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38128 %o7 across the call.
38129 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38130 instead.
38131 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38132 SETUP_PIC_REG_LEAF.
38133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38134 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38135 * sysdeps/sparc/crtn.S: Likewise.
38136
2bcc53a3
UD
381372012-02-17 Ulrich Drepper <drepper@gmail.com>
38138
38139 * aout/Makefile: Remove.
38140
09c093b5
RK
381412012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38142
38143 [BZ #13058]
38144 * manual/examples/argp-ex1.c (main): Format definition in GNU
38145 style.
38146 * manual/examples/argp-ex2.c (main): Likewise.
38147 * manual/examples/argp-ex3.c (main): Likewise.
38148 * manual/examples/argp-ex4.c (main): Likewise.
38149 * manual/examples/longopt.c (main): Use new-style prototype
38150 definition.
38151 * manual/examples/strncat.c (main): Specify return type and use
38152 (void) for arguments.
38153 * manual/examples/subopt.c (main): Use char **argv argument.
38154
2ee633a2
JM
381552012-02-17 Joseph Myers <joseph@codesourcery.com>
38156
38157 [BZ #5077]
38158 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38159 rounding modes.
38160
0520adde
FB
381612012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38162
38163 [BZ #6907]
38164 * manual/string.texi (strchr): Change when strchrnul is
38165 recommended.
38166
3f4081cd
DGM
381672012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38168
38169 [BZ #174]
38170 * manual/locale.texi (setlocale): Document LOCPATH.
38171
d1b10e78
JM
381722012-02-17 Joseph Myers <joseph@codesourcery.com>
38173
38174 [BZ #10210]
38175 * manual/process.texi (execle): Move @dots{} before last argument.
38176
79c6869c
PB
381772012-02-17 Paul Bolle <pebolle@tiscali.nl>
38178
38179 [BZ #12047]
38180 * manual/charset.texi (Generic Charset Conversion): Fix typo
38181 (LC_TYPE -> LC_CTYPE).
38182
cc6e48bc
NB
381832012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38184
38185 [BZ #5805]
38186 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38187 (scalbnf): Likewise.
38188 (scalbnl): Likewise.
38189 (scalbln): Likewise.
38190 (scalblnf): Likewise.
38191 (scalblnl): Likewise.
38192 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38193 (vwarnx): Likewise.
38194 (verr): Likewise.
38195 (verrx): Likewise.
38196 * manual/filesys.texi (telldir): Use braces around return type.
38197 * manual/llio.texi (mmap): Add space after comma.
38198 (mmap64): Likewise.
38199 * manual/math.texi (jn): Use @var{} on parameter names.
38200 (jnf): Likewise.
38201 (jnl): Likewise.
38202 (yn): Likewise.
38203 (ynf): Likewise.
38204 (ynl): Likewise.
38205 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38206 line.
38207 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38208 "...".
38209 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38210 (sched_get_priority_max): Likewise.
38211 * manual/signal.texi (sigvec): Add space after comma.
38212 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38213 names.
38214 (if_indextoname): Likewise.
38215 (if_freenameindex): Likewise.
38216 (sendto): Use ',' instead of '.' in prototype.
38217 * manual/startup.texi (syscall): Use @dots{} instead of literal
38218 "...".
38219 * manual/stdio.texi (__fpending): Separate initial words of
38220 paragraph from @deftypefun line.
38221 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38222 "...".
38223 (vsyslog): Use @var{} on parameter names.
38224 * manual/terminal.texi (stty): Use @var{} on parameter names.
38225 * manual/users.texi (getutmp): Use @var{} on parameter names.
38226 (getutmpx): Likewise.
38227
5b23062f
JM
382282012-02-17 Joseph Myers <joseph@codesourcery.com>
38229
38230 [BZ #6884]
38231 * manual/stdio.texi (fopen): Fix typos in description of
38232 ",ccs=STRING".
38233
8dee4833
AJ
382342012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38235
38236 [BZ #4026]
38237 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38238 get clock_id definition.
38239
9078ce93
TS
382402012-02-17 Thomas Schwinge <thomas@schwinge.name>
38241
38242 [BZ #4822]
38243 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38244 (madvise): Cast every argument to void on its own.
38245
3835c55f
JM
382462012-02-17 Joseph Myers <joseph@codesourcery.com>
38247
38248 [BZ #9902]
38249 * manual/startup.texi (Exit Status): Fix typo.
38250
35c47e37
JM
382512012-02-17 Joseph Myers <joseph@codesourcery.com>
38252
38253 [BZ #10140]
38254 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38255 * manual/examples/argp-ex2.c: Likewise.
38256 * manual/examples/argp-ex3.c: Likewise.
38257
e3b69ca7
RH
382582012-02-16 Richard Henderson <rth@redhat.com>
38259
38260 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38261 * sysdeps/s390/s390-32/initfini.c: Remove.
38262 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38263 * sysdeps/s390/s390-64/initfini.c: Remove.
38264
df83af67
KK
382652012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38266
38267 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38268 compiler output for sysdeps/generic/initfini.c.
38269 * sysdeps/sh/elf/initfini.c: Remove file.
38270
f63f3380
DM
382712012-02-16 David S. Miller <davem@davemloft.net>
38272
fb59b3a4
DM
38273 [BZ #11494]
38274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38275
f63f3380
DM
38276 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38277 * sysdeps/sparc/crti.S: New file.
38278 * sysdeps/sparc/crtn.S: New file.
38279 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38280 * sysdeps/sparc/sparc64/Makefile: Likewise.
38281
df6a4a4a
MF
382822012-02-15 Mike Frysinger <vapier@gentoo.org>
38283
6dd8f3dc 38284 [BZ #3335]
df6a4a4a
MF
38285 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38286
1cac7236
RM
382872012-02-15 Roland McGrath <roland@hack.frob.com>
38288
d2c736f8
RM
38289 [BZ #4822]
38290 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38291
1cac7236
RM
38292 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38293 (write, read, close): Likewise.
38294 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38295
8e475601
JM
382962012-02-15 Joseph Myers <joseph@codesourcery.com>
38297
38298 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38299 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38300 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38301 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38302 <bits/signalfd.h>.
38303 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38305 bits/signalfd.h.
38306
ed656b40
MP
383072012-02-14 Marek Polacek <polacek@redhat.com>
38308
38309 * sysdeps/x86_64/crti.S: New file.
38310 * sysdeps/x86_64/crtn.S: New file.
38311 * sysdeps/x86_64/elf/initfini.c: Remove file.
38312
2a979d3a
JM
383132012-02-13 Joseph Myers <joseph@codesourcery.com>
38314
38315 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38316 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38317 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38318 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38319 <bits/inotify.h>.
38320 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38322 bits/inotify.h.
38323
2a418ac3
JM
383242012-02-13 Joseph Myers <joseph@codesourcery.com>
38325
38326 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38327 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38328 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38329 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38330 <bits/eventfd.h>.
38331 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38333 bits/eventfd.h.
38334
fb779be7
TS
383352012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38336
e19e83c5
RM
38337 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38338 __feraiseexcept instead of feraiseexcept.
7c35ffed 38339
fb779be7
TS
38340 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38341 nanosleep invocations.
38342 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38343 strings, and add error checking for a nanosleep invocations.
38344
59ba27a6
PE
383452012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38346
38347 Replace FSF snail mail address with URLs, as per GNU coding standards.
38348 Most of the snail mail addresses were wrong anyway, and omitting
38349 them makes the source code easier to maintain. Almost all of the
38350 changes are to license notices and to locale LC_IDENTIFICATION
38351 addresses, except for this one:
38352 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38353 not its snail mail address.
38354
57b957eb
RH
383552012-02-09 Richard Henderson <rth@twiddle.net>
38356
af850b1c
RH
38357 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38358 of kernel-features.h.
38359
57b957eb
RH
38360 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38361
6b73181a
MP
383622012-02-08 Marek Polacek <polacek@redhat.com>
38363
38364 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38365 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38366 * sysdeps/gnu/_G_config.h: Likewise.
38367 * sysdeps/generic/_G_config.h: Likewise.
38368
26ecc33a
AS
383692012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38370
6c6dbc63
AS
38371 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38372 tests.
38373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38374
e216c012
AS
38375 * sysdeps/powerpc/powerpc32/crti.S: New file.
38376 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38377 * sysdeps/powerpc/powerpc64/crti.S: New file.
38378 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38379
26ecc33a
AS
38380 * Makeconfig (have-initfini): Don't set.
38381 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38382 * configure.in (nopic_initfini): Don't substitute.
38383 * config.h.in (HAVE_INITFINI): Don't #undef.
38384 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38385 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38386
3add8e13
JM
383872012-02-08 Joseph Myers <joseph@codesourcery.com>
38388
38389 Support crti.S and crtn.S provided directly by architectures.
38390 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38391 [crti.S in sysdirs] (omit-deps): Likewise.
38392 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38393 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38394 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38395 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38396 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38397 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38398 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38399 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38400 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38401 compiler output for sysdeps/generic/initfini.c.
38402 * sysdeps/i386/elf/Makefile: Remove file.
38403 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38404
a22f12b4
MP
384052012-02-07 Marek Polacek <polacek@redhat.com>
38406
38407 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38408 * sysdeps/gnu/_G_config.h: Likewise.
38409 * sysdeps/mach/hurd/_G_config.h: Likewise.
38410
148cf100
MP
384112012-02-07 Marek Polacek <polacek@redhat.com>
38412
38413 * math/Makefile (tests): Add tst-CMPLX2.
38414 * math/tst-CMPLX2.c: New file.
38415
cfdc0dd7
AS
384162012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38417
84ba42c4
AS
38418 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38419
cfdc0dd7
AS
38420 * math/libm-test.inc (jn_test): Add missing L suffix.
38421
622c86f4
MP
384222012-02-06 Marek Polacek <polacek@redhat.com>
38423
38424 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38425 * sysdeps/i386/fpu/e_powf.S: Likewise.
38426 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38427 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38428 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38429 * sysdeps/i386/fpu/e_pow.S: Likewise.
38430 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38431 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38432 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38433 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38434 * sysdeps/i386/fpu/e_log2.S: Likewise.
38435 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38436 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38437 * sysdeps/i386/fpu/e_powl.S: Likewise.
38438 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38439 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38440 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38441 * sysdeps/i386/fpu/e_logl.S: Likewise.
38442 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38443 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38444 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38445 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38446 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38447 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38448 * sysdeps/i386/fpu/e_log.S: Likewise.
38449 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38450 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38451 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38452 * sysdeps/i386/fpu/e_logf.S: Likewise.
38453 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38454 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38455 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38456 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38457 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38458 * sysdeps/i386/fpu/e_log10.S: Likewise.
38459 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38460 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38461 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38462 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38463 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38464 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38465 * sysdeps/i386/asm-syntax.h: Likewise.
38466 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38467 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38468 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38469 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38470 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38471 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38472 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38473 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38474 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38475 * sysdeps/powerpc/sysdep.h: Likewise.
38476 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38477 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38478
d4a54ac6
JM
384792012-02-06 Joseph Myers <joseph@codesourcery.com>
38480
38481 [BZ #411]
38482 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38483
314054ea
JM
384842012-02-06 Joseph Myers <joseph@codesourcery.com>
38485
38486 * sysdeps/i386/sysdep.h: Include <features.h>.
38487 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38488 version.
38489
d8e0ca50
JM
384902012-02-05 Joseph Myers <joseph@codesourcery.com>
38491
38492 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38493 Define.
38494 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38495 LOAD_PIC_REG_STR.
38496
b1da7dd9
JM
384972012-02-03 Joseph Myers <joseph@codesourcery.com>
38498
38499 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38500 (SETUP_PIC_REG): Use GET_PC_THUNK.
38501 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38502 macro.
38503
9a1d9254
JM
385042012-02-03 Joseph Myers <joseph@codesourcery.com>
38505
38506 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38507 for non-PIC compilation.
38508 (SETUP_PIC_REG): Add .p2align directive.
38509 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38510 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38511 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38512 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38513 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38514 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38515 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38516 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38517 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38518 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38519 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38520 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38521 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38522 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38523 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38524 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38525 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38526 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38527 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38528 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38529 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38530 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38531 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38532 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38533 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38535 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38536 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38537 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38538 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38539 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38540 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38541 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38542 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38543 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38544 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38545 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38546 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38547 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38548 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38549 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38550
65dc3b75
JM
385512012-02-03 Joseph Myers <joseph@codesourcery.com>
38552
38553 * math/tst-CMPLX.c: Include <stdio.h>.
38554
d55bf177
JM
385552012-01-31 Joseph Myers <joseph@codesourcery.com>
38556
38557 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38558 float.
38559 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38560 * sysdeps/sparc/bits/mathdef.h: Likewise.
38561
69db4f8f
MP
385622012-01-31 Marek Polacek <polacek@redhat.com>
38563
38564 * libio/libio.h: Don't define _PARAMS.
38565 * locale/programs/config.h: Don't define PARAMS.
38566 * stdlib/strtol_l.c: Likewise.
38567 (__strtol_l): Remove PARAMS from the prototype.
38568
41b81892
UD
385692012-01-31 Ulrich Drepper <drepper@gmail.com>
38570
3b49edc0
UD
38571 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38572 names. Just use the correct names. Remove unnecessary wrapper
38573 functions.
38574 * malloc/arena.c: Likewise.
38575 * malloc/hooks.c: Likewise.
38576
41b81892
UD
38577 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38578 ARENA_TEST says not to. Simplify test for creation of a new arena.
38579 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38580
27a25b6e
UD
385812012-01-30 Ulrich Drepper <drepper@gmail.com>
38582
38583 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38584 into tail calls.
38585 (update_get_addr): New function.
38586 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38587 GET_ADDR_MODULE parameter.
38588
c8a89e7d
JM
385892012-01-30 Joseph Myers <joseph@codesourcery.com>
38590
38591 * crypt/cert.c: Remove __STDC__ conditionals.
38592 * crypt/crypt-entry.c: Likewise.
38593 * crypt/crypt_util.c: Likewise.
38594 * libio/filedoalloc.c: Likewise.
38595 * libio/fileops.c: Likewise.
38596 * libio/genops.c: Likewise.
38597 * libio/iofclose.c: Likewise.
38598 * libio/iofdopen.c: Likewise.
38599 * libio/iofopen.c: Likewise.
38600 * libio/iofopen64.c: Likewise.
38601 * libio/iogetdelim.c: Likewise.
38602 * libio/iopopen.c: Likewise.
38603 * libio/obprintf.c: Likewise.
38604 * libio/oldfileops.c: Likewise.
38605 * libio/oldiofclose.c: Likewise.
38606 * libio/oldiofdopen.c: Likewise.
38607 * libio/oldiofopen.c: Likewise.
38608 * libio/oldiopopen.c: Likewise.
38609 * libio/wfiledoalloc.c: Likewise.
38610 * libio/wgenops.c: Likewise.
38611 * locale/programs/xmalloc.c: Likewise.
38612 * misc/syslog.c: Likewise.
38613 * stdio-common/xbug.c: Likewise.
38614 * string/memchr.c: Likewise.
38615 * string/memcmp.c: Likewise.
38616 * string/memrchr.c: Likewise.
38617 * string/rawmemchr.c: Likewise.
38618 * sysdeps/posix/getcwd.c: Likewise.
38619 * time/strftime_l.c: Likewise.
38620
3b100462
JM
386212012-01-30 Joseph Myers <joseph@codesourcery.com>
38622
38623 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
38624 * config.make.in (config-cflags-sse2avx): Define.
38625 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38626 Fix typo.
38627
607998af
CM
386282012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38629
38630 * scripts/config.guess: Update from upstream config git repository.
38631 * scripts/config.sub: Likewise.
38632
3601428f
CM
386332012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38634
3ac8b282
CM
38635 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38636 (EM_NUM): Update.
38637 (R_TILEPRO_*, R_TILEGX_*): New macros.
38638
e034841e
CM
38639 * scripts/firstversions.awk: Fix bug in version range handling.
38640
540d7568
CM
38641 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38642
3601428f
CM
38643 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38644
463de862
CM
38645 * include/sys/epoll.h: New file.
38646 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38647 libc_hidden_def.
38648
73139a76
UD
386492012-01-28 Ulrich Drepper <drepper@gmail.com>
38650
96bc5b45
UD
38651 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38652 Avoid unnecessary __WORDSIZE == 64 test.
38653 (fmaxf): Use VEX format if possible.
38654 (fmax): Likewise.
38655 (fminf): Likewise.
38656 (fmin): Likewise.
38657
56f6f6a2
UD
38658 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38659 * math/math_private.h: Remove libc_fegetround* and
38660 libc_fesetround*.
38661 * sysdeps/i386/configure.in: Check for -msse2avx.
38662 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38663 also if SSE2AVX is defined.
38664 Remove libc_fegetround* and libc_fesetround*.
38665 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38666 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38667 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38668 of HAS_YMM_USABLE.
38669 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38670 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38671 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38672 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38674
73139a76
UD
38675 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38676
d73f93a4
AZ
386772012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38678
38679 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38680 size is not set.
38681 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38682
6ee65ed6
UD
386832012-01-27 Ulrich Drepper <drepper@gmail.com>
38684
38685 [BZ #13618]
38686 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38687 relocation.
38688 * Makeconfig (libm): Define.
38689 * elf/Makefile: Add rules to build and run tst-relsort1.
38690 * elf/tst-relsort1.c: New file.
38691 * elf/tst-relsort1mod1.c: New file.
38692 * elf/tst-relsort1mod2.c: New file.
38693
8db21882
JM
386942012-01-27 Joseph Myers <joseph@codesourcery.com>
38695
38696 * math/s_ldexp.c: Remove __STDC__ conditionals.
38697 * math/s_ldexpf.c: Likewise.
38698 * math/s_ldexpl.c: Likewise.
38699 * math/s_nextafter.c: Likewise.
38700 * math/s_nexttowardf.c: Likewise.
38701 * math/s_significand.c: Likewise.
38702 * math/s_significandf.c: Likewise.
38703 * math/s_significandl.c: Likewise.
38704 * math/w_jnl.c: Likewise.
38705 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38706 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38707 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38708 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38709 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38710 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38711 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38712 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38714 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38715 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38716 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38717 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38718 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38720 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38721 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38722 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38723 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38724 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38725 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38726 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38727 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38728 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38729 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38730 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38731 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38732 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38733 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38734 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38735 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38736 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38737 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38738 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38739 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38740 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38741 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38742 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38743 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38744 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38745 * sysdeps/ieee754/k_standard.c: Likewise.
38746 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38747 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38748 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38749 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38750 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38751 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38752 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38753 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38754 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38755 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38756 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38757 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38758 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38759 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38760 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38761 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38762 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38763 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38764 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38765 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38766 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38767 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38768 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38769 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38770 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38771 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38772 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38773 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38774 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38775 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38776 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38777 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38778 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38779 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38781 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38782 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38783 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38784 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38785 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38786 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38787 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38788 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38789 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38790 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38791 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38792 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38793 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38794 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38798 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38799 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38800 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38801 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38802 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38803 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38804 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38805 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38806 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38807 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38808 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38809 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38810 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38812 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38815 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38816 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38817 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38818 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38819 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38820 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38821 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38822 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38823 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38824 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38825 * sysdeps/ieee754/s_matherr.c: Likewise.
38826 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38827 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38828 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38829 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38830
965a54a4
JM
388312012-01-26 Joseph Myers <joseph@codesourcery.com>
38832
38833 * crypt/md5.h: Remove __STDC__ conditionals.
38834 * libio/libioP.h: Likewise.
38835 * locale/programs/config.h: Likewise.
38836 * sysdeps/generic/sysdep.h: Likewise.
38837 * sysdeps/i386/asm-syntax.h: Likewise.
38838 * sysdeps/s390/asm-syntax.h: Likewise.
38839 * sysdeps/unix/sysdep.h: Likewise.
38840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38842
7071ad79
JM
388432012-01-26 Joseph Myers <joseph@codesourcery.com>
38844
38845 * libio/libio.h: Remove __STDC__ conditionals.
38846 * malloc/obstack.h: Likewise.
38847 * math/complex.h: Likewise.
38848 * math/math.h: Likewise.
38849 * sysdeps/generic/_G_config.h: Likewise.
38850 * sysdeps/gnu/_G_config.h: Likewise.
38851 * sysdeps/mach/hurd/_G_config.h: Likewise.
38852 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38853 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38854 * sysdeps/sparc/bits/mathdef.h: Likewise.
38855
afc5ed09
UD
388562012-01-26 Ulrich Drepper <drepper@gmail.com>
38857
38858 [BZ #13583]
38859 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38860 Clean up HAS_* macros.
afc5ed09 38861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38862 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38863 possible.
38864 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38865 HAS_AVX.
38866 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38867 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38868 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38869 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38870 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38871
bdb6de1d
JM
388722012-01-25 Joseph Myers <joseph@codesourcery.com>
38873
38874 * elf/tst-unique3.cc (gets): Remove declaration.
38875 * elf/tst-unique3lib.cc (gets): Likewise.
38876 * elf/tst-unique3lib2.cc (gets): Likewise.
38877 * elf/tst-unique4.cc (gets): Likewise.
38878
b15549e6
UD
388792012-01-24 Ulrich Drepper <drepper@gmail.com>
38880
38881 * include/stdio.h: Add C++ protection. Add gets declarations and
38882 definitions.
38883 * debug/tst-chk1.c: Don't declare gets here.
38884 * stdio-common/tst-gets.c: Likewise.
38885
a037381f
JM
388862012-01-24 Joseph Myers <joseph@codesourcery.com>
38887
38888 * posix/glob: Remove directory.
38889
f1d4aa75
JM
388902012-01-24 Joseph Myers <joseph@codesourcery.com>
38891
38892 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38893
81c0c964
PT
388942012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38895
38896 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38897 of the non-standard EPFNOSUPPORT.
38898
0ea698ae
ST
388992011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38900
38901 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38902 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38903 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38904
d220b117
UD
389052012-01-21 Ulrich Drepper <drepper@gmail.com>
38906
38907 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38908
3e1aa84e
UD
389092012-01-20 Ulrich Drepper <drepper@gmail.com>
38910
38911 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38912 transient errors.
38913 * nscd/grpcache.c (cache_addgr): Likewise.
38914 * nscd/hstcache.c (cache_addhst): Likewise.
38915 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38916 * nscd/pwdcache.c (cache_addpw): Likewise.
38917 * nscd/servicescache.c (cache_addserv): Likewise.
38918
400aa020
UD
389192012-01-16 Ulrich Drepper <drepper@gmail.com>
38920
d77e7869
UD
38921 * malloc/malloc.c: Various cleanups.
38922 * malloc/hooks.c: Likewise.
38923
400aa020
UD
38924 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38925 * stdlib/bug-fmtmsg1.c: New file.
38926
38927 * stdlib/fmtmsg.c (init): Add missing unlock.
38928 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38929
e0a309cf
MP
389302012-01-12 Marek Polacek <polacek@redhat.com>
38931
38932 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38933 and _GNU_SOURCE.
38934
929d11c7
WS
389352012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38936
38937 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38938 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38939 macro to ensure uniqueness of label name.
38940 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38941 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38942
41d0e869
UD
389432012-01-11 Ulrich Drepper <drepper@gmail.com>
38944
0cc5ed3b
UD
38945 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38946
41d0e869
UD
38947 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38948 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38949 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38951
a47a831a
UD
389522012-01-10 Ulrich Drepper <drepper@gmail.com>
38953
daa891c0
UD
38954 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38955
38956 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38957 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38958 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38959
e58ef0f2
UD
38960 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38961
a47a831a 38962 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38963 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38964 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38965 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38966
38967 * math/bits/math-finite.h: Add ldexp support.
38968
a0bfc9c7
MP
389692012-01-10 Marek Polacek <polacek@redhat.com>
38970
38971 * locale/programs/localedef.h (show_archive_content): Add noreturn
38972 attribute.
38973
d6e97a1d
UD
389742012-01-09 Ulrich Drepper <drepper@gmail.com>
38975
38976 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38977
d5835c26
UD
389782012-01-08 Ulrich Drepper <drepper@gmail.com>
38979
e5f484c6
UD
38980 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38981
d5835c26
UD
38982 * io/Makefile (headers): Add bits/poll2.h.
38983
d1f741e9
WS
389842011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38985
38986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38987 typo #include statement.
38988
ec09c1c4
UD
389892012-01-08 Ulrich Drepper <drepper@gmail.com>
38990
38991 * include/sys/cdefs.h: Define __attribute_alloc_size.
38992 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38993 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38994 * elf/pldd.c: Likewise.
38995 * iconv/iconv_charmap.c: Likewise.
38996 * iconv/iconvconfig.c: Likewise.
38997 * iconv/strtab.c: Likewise.
38998 * locale/programs/locale.c: Likewise.
38999 * locale/programs/localedef.h: Likewise.
39000 * locale/programs/simple-hash.c: Likewise.
39001 * nscd/nscd.h: Likewise.
39002 * nss/makedb.c: Likewise.
39003 * sysdeps/generic/ldconfig.h: Likewise.
39004 * locale/programs/localedef.c: Remove xmalloc prototype.
39005 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39006
20b38e03
PP
390072012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39008
39009 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39010 appropriate.
39011
a0da5fe1
UD
390122012-01-08 Ulrich Drepper <drepper@gmail.com>
39013
1d5a644a 39014 * math/Makefile (tests): Add tst-CMPLX.
669704fd 39015 * math/tst-CMPLX.c: New file.
1d5a644a 39016
8784a6db
UD
39017 * math/complex.h (CMPLXL): Fix typo.
39018
d9a216c0
UD
39019 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39020 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39021 GLIBC_2.16.
39022 * debug/tst-chk1.c: Add poll and ppoll tests.
39023 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39024 * include/sys/poll.h: Add hidden proto for ppoll.
39025 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39026 * sysdeps/mach/hurd/ppoll.c: Likewise.
39027 * io/ppoll.c: Likewise.
39028 * debug/poll_chk.c: New file.
39029 * debug/ppoll_chk.c: New file.
39030 * include/bits/poll2.h: New file.
39031 * io/bits/poll2.h: New file.
39032
ac097f5c
UD
39033 [BZ #1350]
39034 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39035
2119dcfa
UD
39036 * configure.in: static is always set to yes. Remove.
39037 * config.make.in: Don't set build-static.
39038 * Makeconfig: Remove use of build-static.
39039 * dlfcn/Makefile: Likewise.
39040 * elf/Makefile: Likewise.
39041 * math/Makefile: Likewise.
39042 * misc/Makefile: Likewise.
39043 * nptl/Makefile: Likewise.
39044 * sysdeps/mach/hurd/Makefile: Likewise.
39045
121766a9
UD
39046 * configure.in: PWD_P is not used anymore.
39047 * config.make.in: Remove PWD_P entry.
39048
51a1d39c 39049 * configure.in: Remove last remnants of RANLIB.
8720d066 39050 No need to check for signed size_t anymore.
215f4bdc
UD
39051 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39052 and IA-64.
3857022a 39053 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
39054 * aclocal.m4: Likewise.
39055
d3ed7225
UD
39056 * wcsmbs/mbrtoc16.c: Implement using towc function.
39057 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39058 * wcsmbs/wcsmbsload.c: Likewise.
39059 * iconv/gconv_simple.c: Likewise.
39060 * iconv/gconv_int.h: Likewise.
39061 * iconv/gconv_builtin.h: Likewise.
39062 * iconv/iconv_prog.c: Remove CHAR16 handling.
39063
39064 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39065
39066 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39067
a0da5fe1
UD
39068 * configure.in: Remove --with-elf and --enable-bounded options.
39069 Dont set base_machine for ia64. More non-ELF conditions removed.
39070 Remove testing and setting of leading underscore information.
39071 * config.make.in (build-bounded): Set to no.
39072 * config.h.in: Remove NO_UNDERSCORES entry.
39073 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39074 them.
39075 * csu/start.c: Remove !NO_UNDERSCORE code.
39076 * locale/localeinfo.h: Likewise.
39077 * sysdeps/generic/machine-gmon.h: Likewise.
39078 * sysdeps/generic/sysdep.h: Likewise.
39079 * sysdeps/i386/sysdep.h: Likewise.
39080 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39081 * sysdeps/mach/sysdep.h: Likewise.
39082 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39083 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39084 * sysdeps/sh/sysdep.h: Likewise.
39085 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39086 * sysdeps/unix/i386/sysdep.S: Likewise.
39087 * sysdeps/unix/sparc/start.c: Likewise.
39088 * sysdeps/unix/sparc/sysdep.S: Likewise.
39089 * sysdeps/unix/sparc/sysdep.h: Likewise.
39090 * sysdeps/unix/start.c: Likewise.
39091 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39092 * sysdeps/x86_64/sysdep.h: Likewise.
39093
df78418a
UD
390942012-01-07 Ulrich Drepper <drepper@gmail.com>
39095
a784e502
UD
39096 [BZ #13553]
39097 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39098 for non-gcc.
39099 * argp/argp-fmtstream.h: Use const instead __const.
39100 * argp/argp.h: Likewise.
39101 * assert/assert.h: Likewise.
39102 * bits/fenv.h: Likewise.
39103 * bits/sched.h: Likewise.
39104 * bits/sigset.h: Likewise.
39105 * bits/sigthread.h: Likewise.
39106 * catgets/nl_types.h: Likewise.
39107 * conform/data/pthread.h-data: Likewise.
39108 * crypt/crypt-private.h: Likewise.
39109 * crypt/crypt.h: Likewise.
39110 * crypt/crypt_util.c: Likewise.
39111 * ctype/ctype.h: Likewise.
39112 * debug/execinfo.h: Likewise.
39113 * debug/mbsnrtowcs_chk.c: Likewise.
39114 * debug/mbsrtowcs_chk.c: Likewise.
39115 * debug/wcsnrtombs_chk.c: Likewise.
39116 * debug/wcsrtombs_chk.c: Likewise.
39117 * debug/wcstombs_chk.c: Likewise.
39118 * dirent/dirent.h: Likewise.
39119 * dlfcn/dlfcn.h: Likewise.
39120 * elf/neededtest4.c: Likewise.
39121 * grp/grp.h: Likewise.
39122 * gshadow/gshadow.h: Likewise.
39123 * iconv/gconv.h: Likewise.
39124 * iconv/gconv_int.h: Likewise.
39125 * iconv/gconv_simple.c: Likewise.
39126 * iconv/iconv.h: Likewise.
39127 * iconv/loop.c: Likewise.
39128 * iconv/skeleton.c: Likewise.
39129 * include/aio.h: Likewise.
39130 * include/aliases.h: Likewise.
39131 * include/argz.h: Likewise.
39132 * include/arpa/inet.h: Likewise.
39133 * include/assert.h: Likewise.
39134 * include/dirent.h: Likewise.
39135 * include/dlfcn.h: Likewise.
39136 * include/execinfo.h: Likewise.
39137 * include/fcntl.h: Likewise.
39138 * include/fenv.h: Likewise.
39139 * include/glob.h: Likewise.
39140 * include/grp.h: Likewise.
39141 * include/libintl.h: Likewise.
39142 * include/mntent.h: Likewise.
39143 * include/netdb.h: Likewise.
39144 * include/pwd.h: Likewise.
39145 * include/rpc/netdb.h: Likewise.
39146 * include/sched.h: Likewise.
39147 * include/search.h: Likewise.
39148 * include/shadow.h: Likewise.
39149 * include/signal.h: Likewise.
39150 * include/stdio.h: Likewise.
39151 * include/stdlib.h: Likewise.
39152 * include/string.h: Likewise.
39153 * include/sys/socket.h: Likewise.
39154 * include/sys/stat.h: Likewise.
39155 * include/sys/statfs.h: Likewise.
39156 * include/sys/statvfs.h: Likewise.
39157 * include/sys/syslog.h: Likewise.
39158 * include/sys/time.h: Likewise.
39159 * include/sys/uio.h: Likewise.
39160 * include/time.h: Likewise.
39161 * include/unistd.h: Likewise.
39162 * include/utmp.h: Likewise.
39163 * include/wchar.h: Likewise.
39164 * include/wctype.h: Likewise.
39165 * inet/aliases.h: Likewise.
39166 * inet/arpa/inet.h: Likewise.
39167 * inet/netinet/ether.h: Likewise.
39168 * inet/netinet/in.h: Likewise.
39169 * intl/libintl.h: Likewise.
39170 * io/bits/fcntl2.h: Likewise.
39171 * io/fcntl.h: Likewise.
39172 * io/ftw.h: Likewise.
39173 * io/sys/poll.h: Likewise.
39174 * io/sys/stat.h: Likewise.
39175 * io/sys/statfs.h: Likewise.
39176 * io/sys/statvfs.h: Likewise.
39177 * io/utime.h: Likewise.
39178 * libio/bits/stdio.h: Likewise.
39179 * libio/bits/stdio2.h: Likewise.
39180 * libio/libio.h: Likewise.
39181 * libio/libioP.h: Likewise.
39182 * libio/stdio.h: Likewise.
39183 * locale/lc-ctype.c: Likewise.
39184 * locale/locale.h: Likewise.
39185 * login/utmp.h: Likewise.
39186 * malloc/arena.c: Likewise.
39187 * malloc/malloc.c: Likewise.
39188 * malloc/malloc.h: Likewise.
39189 * malloc/mcheck.c: Likewise.
39190 * malloc/mtrace.c: Likewise.
39191 * math/bits/mathcalls.h: Likewise.
39192 * math/fenv.h: Likewise.
39193 * math/math_private.h: Likewise.
39194 * misc/bits/error.h: Likewise.
39195 * misc/bits/syslog.h: Likewise.
39196 * misc/err.h: Likewise.
39197 * misc/error.h: Likewise.
39198 * misc/fstab.h: Likewise.
39199 * misc/mntent.h: Likewise.
39200 * misc/regexp.h: Likewise.
39201 * misc/search.h: Likewise.
39202 * misc/sgtty.h: Likewise.
39203 * misc/sys/mman.h: Likewise.
39204 * misc/sys/syslog.h: Likewise.
39205 * misc/sys/uio.h: Likewise.
39206 * misc/sys/xattr.h: Likewise.
39207 * misc/ttyent.h: Likewise.
39208 * nis/rpcsvc/ypclnt.h: Likewise.
39209 * nss/nss.h: Likewise.
39210 * posix/bits/unistd.h: Likewise.
39211 * posix/fnmatch.h: Likewise.
39212 * posix/glob.h: Likewise.
39213 * posix/sched.h: Likewise.
39214 * posix/spawn.h: Likewise.
39215 * posix/sys/wait.h: Likewise.
39216 * posix/unistd.h: Likewise.
39217 * posix/wordexp.h: Likewise.
39218 * pwd/pwd.h: Likewise.
39219 * resolv/netdb.h: Likewise.
39220 * resource/sys/resource.h: Likewise.
39221 * rt/aio.h: Likewise.
39222 * rt/bits/mqueue2.h: Likewise.
39223 * rt/mqueue.h: Likewise.
39224 * shadow/shadow.h: Likewise.
39225 * signal/signal.h: Likewise.
39226 * socket/send.c: Likewise.
39227 * socket/sendto.c: Likewise.
39228 * socket/sys/socket.h: Likewise.
39229 * stdio-common/printf.h: Likewise.
39230 * stdlib/bits/stdlib.h: Likewise.
39231 * stdlib/fmtmsg.h: Likewise.
39232 * stdlib/monetary.h: Likewise.
39233 * stdlib/stdlib.h: Likewise.
39234 * stdlib/ucontext.h: Likewise.
39235 * streams/stropts.h: Likewise.
39236 * string/argz.h: Likewise.
39237 * string/bits/string2.h: Likewise.
39238 * string/string.h: Likewise.
39239 * string/strings.h: Likewise.
39240 * sunrpc/rpc/auth.h: Likewise.
39241 * sunrpc/rpc/auth_des.h: Likewise.
39242 * sunrpc/rpc/clnt.h: Likewise.
39243 * sunrpc/rpc/netdb.h: Likewise.
39244 * sunrpc/rpc/pmap_clnt.h: Likewise.
39245 * sunrpc/rpc/xdr.h: Likewise.
39246 * sysdeps/generic/inttypes.h: Likewise.
39247 * sysdeps/generic/net/if.h: Likewise.
39248 * sysdeps/generic/sys/swap.h: Likewise.
39249 * sysdeps/gnu/net/if.h: Likewise.
39250 * sysdeps/gnu/utmpx.h: Likewise.
39251 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39252 * sysdeps/i386/i486/bits/string.h: Likewise.
39253 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39254 * sysdeps/s390/bits/string.h: Likewise.
39255 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39256 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39257 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39258 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39259 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39260 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39261 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39262 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39263 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39264 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39265 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39266 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39267 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39268 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39269 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39270 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39271 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39272 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39273 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39274 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39275 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39276 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39277 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39278 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39279 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39280 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39281 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39282 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39283 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39284 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39285 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39286 * sysvipc/sys/ipc.h: Likewise.
39287 * sysvipc/sys/msg.h: Likewise.
39288 * sysvipc/sys/sem.h: Likewise.
39289 * sysvipc/sys/shm.h: Likewise.
39290 * termios/termios.h: Likewise.
39291 * time/sys/time.h: Likewise.
39292 * time/time.h: Likewise.
39293 * wcsmbs/bits/wchar2.h: Likewise.
39294 * wcsmbs/uchar.h: Likewise.
39295 * wcsmbs/wchar.h: Likewise.
39296 * wctype/wctype.h: Likewise.
39297
0269750c
UD
39298 [BZ #13551]
39299 * Makeconfig: Remove all but ELF support including AIX support.
39300 * Makerules: Likewise.
39301 * config.h.in: Likewise.
39302 * config.make.in: Likewise.
39303 * configure: Likewise.
39304 * configure.in: Likewise.
39305 * csu/Makefile: Likewise.
39306 * csu/version.c: Likewise.
39307 * debug/Makefile: Likewise.
39308 * dlfcn/Makefile: Likewise.
39309 * elf/Makefile: Likewise.
39310 * extra-lib.mk: Likewise.
39311 * iconv/Makefile: Likewise.
39312 * include/libc-symbols.h: Likewise.
39313 * include/shlib-compat.h: Likewise.
39314 * resolv/Makefile: Likewise.
39315 * resolv/res_libc.c: Likewise.
39316 * rt/Makefile: Likewise.
39317 * sysdeps/i386/asm-syntax.h: Likewise.
39318 * sysdeps/i386/sysdep.h: Likewise.
39319 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39320 * sysdeps/mach/sysdep.h: Likewise.
39321 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39322 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39323 * sysdeps/s390/asm-syntax.h: Likewise.
39324 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39325 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39326 * sysdeps/sh/sysdep.h: Likewise.
39327 * sysdeps/unix/sparc/sysdep.h: Likewise.
39328 * sysdeps/wordsize-32/divdi3.c: Likewise.
39329 * sysdeps/x86_64/sysdep.h: Likewise.
39330
00bbd29b
UD
39331 * argp/Versions: Remove _argp_unlock_xxx.
39332
39333 [BZ #13559]
39334 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39335 * abilist/libBrokenLocale.abilist: Likewise.
39336 * abilist/libanl.abilist: Likewise.
39337 * abilist/libc.abilist: Likewise.
39338 * abilist/libcrypt.abilist: Likewise.
39339 * abilist/libdl.abilist: Likewise.
39340 * abilist/libm.abilist: Likewise.
39341 * abilist/libnsl.abilist: Likewise.
39342 * abilist/libpthread.abilist: Likewise.
39343 * abilist/libresolv.abilist: Likewise.
39344 * abilist/librt.abilist: Likewise.
39345 * abilist/libthread_db.abilist: Likewise.
39346 * abilist/libutil.abilist: Likewise.
39347 * abilist/libnss_db.abilist: New file.
39348
39349 * scripts/abilist.awk: Add support for indirect functions.
39350
a2693a0e
UD
39351 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39352
3f05895f
UD
39353 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39354
ecb6fb48
UD
39355 * shlib-versions: Remove entries for ports architectures.
39356
664f8cb9
UD
39357 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39358 files in ports.
39359 * elf/stackguard-macros.h: Remove support for IA-64.
39360 * elf/tst-auditmod1.c: Likewise.
39361 * sysdeps/generic/ldsodefs.h: Likewise.
39362
7ae81d88
UD
39363 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39364 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39365 configure files.
39366
bdeba135
UD
39367 [BZ #13552]
39368 * configure.in: Remove --enable-omitfp support.
39369 * FAQ.in: Adjust.
39370 * config.make.in: Likewise.
39371 * Makeconfig: Likewise.
39372 * manual/install.texi: Likewise.
39373
d75a0a62
UD
39374 In case anyone cares, the IA-64 architecture could move to ports.
39375 * sysdeps/ia64/*: Removed.
39376 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39377 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39378
dcc9756b
UD
39379 [BZ #13555]
39380 * configure.in: Remove entries for unsupported architectures.
39381
d3761ebc 39382 [BZ #13533]
9954432e
UD
39383 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39384 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39385 routines.
39386 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39387 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39388 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39389 fall back to using wcrtomb.
39390 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39391 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39392 renaming.
39393 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39394 * wcsmbs/tst-c16c32-1.c: New file.
39395
39396 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39397 local variable.
39398
c3a87236
UD
39399 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39400
28926a1b
UD
39401 * elf/tst-unique3.cc: Add explicit declaration of gets.
39402 * elf/tst-unique3lib.cc: Likewise.
39403 * elf/tst-unique3lib2.cc: Likewise.
39404 * elf/tst-unique4.cc: Likewise.
39405
df78418a
UD
39406 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39407
8ecd6b2a
JM
394082012-01-06 Joseph Myers <joseph@codesourcery.com>
39409
39410 [BZ #13566]
39411 * assert/assert.h (static_assert): Don't define for C++.
39412 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39413 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39414
9f115170
UD
394152012-01-03 Ulrich Drepper <drepper@gmail.com>
39416
5e0d0300
UD
39417 * iconv/loop.c (single loop): Fix assertion in storing of
39418 remaining bytes.
39419
9f115170
UD
39420 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39421
81fb02b0
UD
394222012-01-01 Ulrich Drepper <drepper@gmail.com>
39423
39424 * posix/getconf.c: Update copyright year.
39425 * nss/getent.c: Likewise.
a316c1f6 39426 * nss/makedb.c: Likewise.
81fb02b0
UD
39427 * iconv/iconvconfig.c: Likewise.
39428 * iconv/iconv_prog.c: Likewise.
39429 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39430 * elf/pldd.c: Likewise.
39431 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39432 * catgets/gencat.c: Likewise.
39433 * csu/version.c: Likewise.
39434 * elf/ldd.bash.in: Likewise.
39435 * elf/sprof.c (print_version): Likewise.
39436 * locale/programs/locale.c: Likewise.
39437 * locale/programs/localedef.c: Likewise.
a316c1f6 39438 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39439 * nscd/nscd.c (print_version): Likewise.
39440 * debug/xtrace.sh: Likewise.
39441 * malloc/memusage.sh: Likewise.
39442 * malloc/mtrace.pl: Likewise.
39443 * debug/catchsegv.sh: Likewise.
39444
2ba92745
JJ
394452011-12-30 Jakub Jelinek <jakub@redhat.com>
39446
39447 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39448 pure attribute.
39449
dadebdae
UD
394502011-12-24 Ulrich Drepper <drepper@gmail.com>
39451
d3761ebc 39452 [BZ #13533]
db6af3eb
UD
39453 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39454 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39455 transformations.
39456 * iconv/gconv_int.h: Likewise.
39457 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39458 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39459 from libc for GLIBC_2.16.
39460 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39461 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39462 * wcsmbs/uchar.h: Really define mbstate_t.
39463 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39464 * wcsmbs/c16rtomb.c: New file.
39465 * wcsmbs/mbrtoc16.c: New file.
39466 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39467 for C/POSIX locale.
39468 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39469 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39470
dadebdae
UD
39471 * wcsmbs/wchar.h: Add missing __restrict.
39472
67371b56
UD
394732011-12-23 Ulrich Drepper <drepper@gmail.com>
39474
74033a25
UD
39475 [BZ #13532]
39476 * time/Makefile (routines): Add timespec_get.
39477 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39478 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39479 timespec for ISO C11.
39480 * time/timespec_get.c: New file.
39481 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39482 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39483
380d7e87
UD
39484 [BZ #13531]
39485 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39486 * stdlib/stdlib.h: Declare aligned_alloc.
39487 * Versions.def: Add GLIBC_2.16 for libc.
39488 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39489
4e9e7a35
UD
39490 [BZ 13527]
39491 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39492 ISO C11.
39493
380d7e87 39494 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
39495 code.
39496
03a71829
UD
39497 [BZ #13528]
39498 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39499
839e283e
UD
39500 [BZ #13529]
39501 * assert/assert.h (static_assert): Define.
39502
ce5294e2 39503 * version.h: Update for 2.16 development version.
90fa7312 39504
8d44e150 39505 [BZ #13526]
d7809905
UD
39506 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39507 _ISOC11_SOURCE.
39508
c0da14cd
UD
39509 * version.h (RELEASE): Bump for 2.15 release.
39510 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39511
530a3249
MP
39512 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39513 Patch by Marek Polacek <mpolacek@redhat.com>.
39514
67371b56
UD
39515 * bits/byteswap.h: Protect long long constants with __extension__.
39516 * sysdeps/i386/bits/byteswap.h: Likewise.
39517 * sysdeps/ia64/bits/byteswap.h: Likewise.
39518 * sysdeps/s390/bits/byteswap.h: Likewise.
39519 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39520
15db4de1
LD
395212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39522
39523 [BZ #13540]
bbe315ea
LD
39524 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39525 destination buffer.
15db4de1
LD
39526 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39527
2b2596b1
MP
395282011-12-23 Marek Polacek <polacek@redhat.com>
39529
39530 * elf/dl-addr.c (determine_info): Add inline keyword.
39531 * elf/tst-auditmod4b.c (check_avx): Likewise.
39532 * elf/tst-auditmod6b.c (check_avx): Likewise.
39533 * elf/tst-auditmod6c.c (check_avx): Likewise.
39534 * elf/tst-auditmod7b.c (check_avx): Likewise.
39535
70c6c246
UD
395362011-12-23 Ulrich Drepper <drepper@gmail.com>
39537
39538 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39539 !__SSE_MATH__.
39540
c044cf14
LD
395412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39542
15db4de1 39543 [BZ #13540]
c044cf14
LD
39544 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39545 processing for last bytes.
39546
6b13d9d9
BH
395472011-08-06 Bruno Haible <bruno@clisp.org>
39548
d455f537
BH
39549 [BZ #13061]
39550 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39551 U+0385, not to U+1FEE.
39552
6b13d9d9
BH
39553 [BZ #13062]
39554 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39555 entry for U+00A5 U+0301.
39556
db910efd
UD
395572011-12-22 Ulrich Drepper <drepper@gmail.com>
39558
27deeafc
UD
39559 [BZ #13166]
39560 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39561 buffer for the output is too small.
39562
aed9d171
UD
39563 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39564 optimization.
39565
db910efd
UD
39566 [BZ #13185]
39567 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39568 SSE flags if possible.
39569
2bd779ae
LD
395702011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39571
e7f9dac3 39572 [BZ #13540]
2bd779ae
LD
39573 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39574 processing for last bytes.
39575
154bfc16
JM
395762011-12-22 Joseph Myers <joseph@codesourcery.com>
39577
39578 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39579 (syscall-list-default-options, syscall-list-default-condition)
39580 (syscall-list-includes): Define.
39581 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39582 list of ABIs and options and #if conditions for each ABI. Do not
39583 handle common syscalls between ABIs specially.
39584 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39585 Remove.
39586 (syscall-list-variants, syscall-list-32bit-options)
39587 (syscall-list-32bit-condition, syscall-list-64bit-options)
39588 (syscall-list-64bit-condition): Define.
39589 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39590 (syscall-list-variants, syscall-list-32bit-options)
39591 (syscall-list-32bit-condition, syscall-list-64bit-options)
39592 (syscall-list-64bit-condition): Define.
39593 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39594 Remove.
39595 (syscall-list-variants, syscall-list-32bit-options)
39596 (syscall-list-32bit-condition, syscall-list-64bit-options)
39597 (syscall-list-64bit-condition): Define.
39598 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39599 Remove.
39600 (syscall-list-variants, syscall-list-32bit-options)
39601 (syscall-list-32bit-condition, syscall-list-64bit-options)
39602 (syscall-list-64bit-condition): Define.
39603
21eaf3a5
UD
396042011-12-22 Ulrich Drepper <drepper@gmail.com>
39605
16c6f992
UD
39606 * locale/iso-639.def: Add brx entry.
39607
41043168
UD
39608 [BZ #13328]
39609 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39610 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39611
21eaf3a5
UD
39612 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39613 __feraiseexcept_renamed.
39614
e3a851a2
UD
396152011-12-21 Ulrich Drepper <drepper@gmail.com>
39616
4920765e
UD
39617 [BZ #13538]
39618 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39619 EPOLLET with unsigned values.
39620 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39621 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39622
e3a851a2
UD
39623 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39624 to large cancellation.
39625 * math/s_cacoshf.c: Likewise.
39626 * math/s_cacoshl.c: Likewise.
39627
b27e24b8
RK
396282011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39629
39630 [BZ #13305]
aebefeee 39631 [BZ #12786]
b27e24b8
RK
39632 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39633 * math/s_cacoshf.c: Likewise.
39634 * math/s_cacoshl.c: Likewise.
39635
ee190f67
UD
396362011-12-21 Ulrich Drepper <drepper@gmail.com>
39637
39638 [BZ #13439]
39639 * iconv/gconv.h: Define __GCONV_SWAP.
39640 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39641 * iconvdata/utf-16.c: Likewise.
39642 * iconvdata/utf-32.c: Likewise.
39643
707f25df
AS
396442011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39645
39646 [BZ #13524]
39647 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39648 numerator after shifting it by one limb.
39649
d2daaa1e
RÁE
396502011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39651
39652 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39653 under [__USE_EXTERN_INLINES].
39654
a4647e72
UD
396552011-12-17 Ulrich Drepper <drepper@gmail.com>
39656
39657 [BZ #13446]
39658 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39659
f0b264f1
AZ
396602011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39661
39662 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39663 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39664 optimized code.
39665 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39666 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39667 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39668 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39669 for strncasecmp/strncasecmp_l compilation.
39670 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39671 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39672
8ef4f244
MP
396732011-12-08 Marek Polacek <mpolacek@redhat.com>
39674
39675 [BZ #13484]
39676 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39677 of __asm__.
39678
97ac2654
UD
396792011-12-17 Ulrich Drepper <drepper@gmail.com>
39680
39681 [BZ #13506]
39682 * time/tzfile.c (__tzfile_read): Check values from file header.
39683
91d2a845
WS
396842011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39685
39686 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39687 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39688 * powerpc/powerpc32/dl-start.S: Likewise.
39689 * powerpc/powerpc32/elf/start.S: Likewise.
39690 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39691 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39692 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39693 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39694 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39695 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39696 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39697 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39698 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39699 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39700 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39701 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39702 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39703 * powerpc/powerpc32/memset.S: Likewise.
39704 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39705 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39706 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39707 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39708 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39709 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39710 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39711 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39712 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39713 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39714 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39715 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39716 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39717
a1267ba1
AZ
397182011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39719
39720 * math/libm-test.inc: Added more nearbyint tests.
39721 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39722 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39723 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39724 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39725
ad8ac1bd
RL
397262011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39727
39728 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39729 FD_CLOEXEC.
39730
1d3e4b61
UD
397312011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39732
39733 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39734 Add wcscpy-ssse3 wcscpy-c.
39735 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39736 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39737 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39738 * sysdeps/x86_64/wcschr.S: New file.
39739 * sysdeps/x86_64/wcsrchr.S: New file.
39740 * string/test-strcmp.c: Remove checking of wcscmp function for
39741 wrong alignments.
39742 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39743 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39744 wcsrchr-sse2 wcsrchr-c.
39745 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39746 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39747 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39748 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39749 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39750 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39751 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39752 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39753 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39754 * wcsmbc/wcschr.c (WCSCHR): New macro.
39755
5b330a2d
UD
397562011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39757
39758 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39759 * wcsmbs/test-wcsrchr.c: New file.
39760 * string/test-strrchr.c: Add wcsrchr support.
39761 (WIDE): New macro.
39762 * wcsmbs/test-wcscpy.c: New file.
39763 * string/test-strcpy.c: Add wcscpy support.
39764 (WIDE): New macro.
26428b7c 39765
f039c043
UD
397662011-12-10 Ulrich Drepper <drepper@gmail.com>
39767
39768 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39769 the inner loop.
39770
850fb039
AS
397712011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39772
39773 [BZ #13472]
39774 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39775
4efbd5cb
UD
397762011-12-04 Ulrich Drepper <drepper@gmail.com>
39777
52ff5dd0 39778 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39779 Minor optimizations.
52ff5dd0 39780
4efbd5cb
UD
39781 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39782 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39783 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39784
8a426e12
UD
397852011-12-03 Ulrich Drepper <drepper@gmail.com>
39786
aff2453d
UD
39787 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39788 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39789 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39790 for gcc to avoid warnings.
39791 * inet/Makefile (tests): Add tst-checks.
39792 * inet/tst-checks.c: New file.
39793
39794 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39795 warning.
39796
39797 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39798 __wmemcmp_sse2.
39799
39800 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39801 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39802
8a426e12
UD
39803 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39804
9bea3473
UD
398052011-12-02 Ulrich Drepper <drepper@gmail.com>
39806
3a965496
UD
39807 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39808 problem.
39809
9bea3473
UD
39810 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39811
f101631b
UD
398122011-11-29 Joseph Myers <joseph@codesourcery.com>
39813
39814 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39815 conditional on GCC version.
39816 (__arch_compare_and_exchange_val_8_acq)
39817 (__arch_compare_and_exchange_val_16_acq)
39818 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39819 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39820 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39821
a98275aa
UD
398222011-12-02 Joseph Myers <joseph@codesourcery.com>
39823
39824 * sysdeps/sh/backtrace.c: New file.
39825
d4cc29a2
AS
398262011-12-02 Andreas Schwab <schwab@redhat.com>
39827
39828 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39829 parenthesis.
39830
6257af2d
AS
398312011-12-01 Andreas Schwab <schwab@redhat.com>
39832
39833 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39834 falling back to utime.
39835
b5f44c1a
AS
398362011-11-30 Andreas Schwab <schwab@redhat.com>
39837
39838 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39839 expectations for float.
39840
f3a6cc0a
AS
398412011-11-29 Andreas Schwab <schwab@redhat.com>
39842
39843 * locale/weight.h (findidx): Add parameter len.
39844 * locale/weightwc.h (findidx): Likewise.
39845 * posix/fnmatch_loop.c (FCT): Adjust caller.
39846 * posix/regcomp.c (build_equiv_class): Likewise.
39847 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39848 * posix/regexec.c (check_node_accept_bytes): Likewise.
39849 * string/strcoll_l.c (STRCOLL): Likewise.
39850 * string/strxfrm_l.c (STRXFRM): Likewise.
39851
9d65ea3a
UD
398522011-11-17 Ulrich Drepper <drepper@gmail.com>
39853
39854 * Makefile.in: Remove CVSOPT handling.
39855 * configure.in: Remove use of AC_REVISION.
39856 * iconvdata/Makefile (distribute): No need to filter out CVS.
39857 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39858 handling.
39859
5583a086
AS
398602011-11-16 Andreas Schwab <schwab@redhat.com>
39861
39862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39863 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39864 [USE_AS_STRNCASECMP_L]: Likewise.
39865 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39866 NO_TLS_DIRECT_SEG_REFS.
39867 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39868 Fix argument offsets for non-PIC.
39869 [USE_AS_STRNCASECMP_L]: Likewise.
39870 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39871 NO_TLS_DIRECT_SEG_REFS.
39872
d62a8200
UD
398732011-11-15 Ulrich Drepper <drepper@gmail.com>
39874
9d65ea3a 39875 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39876 O_CLOEXEC.
39877 * locale/loadlocale.c (_nl_load_locale): Likewise.
39878
09f93bd3
AS
398792011-11-15 Andreas Schwab <schwab@redhat.com>
39880
446514f9
AS
39881 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39882 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39883 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39884 (SYSCALL_GETTIME): Set errno on error.
39885
09f93bd3
AS
39886 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39887 count references to noai6ai_cached.
39888
312be3f9
UD
398892011-11-15 Ulrich Drepper <drepper@gmail.com>
39890
39891 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39892
39893 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39894 FD_CLOEXEC for /proc/self/maps.
39895
39896 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39897 FD_CLOEXEC for /proc/meminfo.
39898
39899 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39900 gai.conf.
39901
39902 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39903 FD_CLOEXEC for given file.
39904
39905 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39906
39907 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39908 FD_CLOEXEC for /etc/hosts.
39909 (_gethtent): Likewise.
39910
39911 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39912
39913 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39914 cancellation and set FD_CLOEXEC for /etc/netgroup.
39915
39916 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39917 reading /etc/publickey.
39918
39919 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39920 allow cancellation when reading /etc/group.
39921
39922 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39923 cancellation.
39924 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39925
39926 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39927 when using data file.
39928
39929 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39930
39931 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39932 (write_nis_obj): Use "c" and "e" in fopen.
39933
39934 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39935
39936 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39937
39938 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39939
39940 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39941
39942 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39943 locale.alias.
39944
39945 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39946
39947 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39948
39949 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39950
39951 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39952 file parsing and set FD_CLOEXEC.
39953
82af0fa8
UD
399542011-11-14 Ulrich Drepper <drepper@gmail.com>
39955
39956 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39957
a5fb313c
AS
399582011-11-14 Andreas Schwab <schwab@redhat.com>
39959
39960 * malloc/arena.c (arena_get2): Don't call reused_arena when
39961 _int_new_arena failed.
39962
6abf3465
UD
399632011-11-14 Ulrich Drepper <drepper@gmail.com>
39964
39965 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39966 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39967 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39968 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39969 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39970 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39971 to compile strcasecmp and strncasecmp.
39972 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39973 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39974
39975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39976
76e3966e
UD
399772011-11-13 Ulrich Drepper <drepper@gmail.com>
39978
39979 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39980 locale-defines.sym to gen-as-const-headers.
39981 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39982 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39983 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39984 to compile strcasecmp and strncasecmp.
39985 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39986 strcasecmp_l and strncasecmp_l.
39987 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39988 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39989 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39990 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39991 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39992 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39993 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39994 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39995 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39996 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39997 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39998
ab26144e
UD
399992011-11-12 Ulrich Drepper <drepper@gmail.com>
40000
7edb22ef
UD
40001 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40002 result of SYSDEP_GETTIME_CPU to retval.
40003 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40004 parameter list to macro. Remove trailing semicolon. Adjust users.
40005
9694fc44
UD
40006 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40007 variable.
40008
8ad89ef8
UD
40009 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40010 mantissa words.
40011 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40012
0c822ef9
UD
40013 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40014 from unused variable.
40015
874e0564
UD
40016 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40017 DWARF definitions.
40018 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40019 for assembling.
40020
3a2edc79
UD
40021 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40022 over namespaces.
40023
f3c2577f
UD
40024 * sunrpc/rpc_prot.c (rejected): Fix case value.
40025
294ce126
UD
40026 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40027 unsigned long long int to avoid warnings in shift.
40028
5e2b63c6
UD
40029 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40030 of use of trans.
40031 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40032 variable tmp.
40033
e7f4b08e
UD
40034 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40035 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40036 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40037
ab26144e
UD
40038 * nis/nis_table.c (nis_list): Use variable of correct type for
40039 result of __follow_path call.
40040
8a6d5255
AZ
400412011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40042
40043 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40044 of math functions ceil, trunc, floor, round, and sqrt, when
40045 avaliable on the platform.
40046 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40047 name clash.
40048 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40049 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40050 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40051
aaddc98c
MP
400522011-10-30 Marek Polacek <mpolacek@redhat.com>
40053
40054 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40055 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40056
95b7042b
RM
400572011-11-11 Roland McGrath <roland@hack.frob.com>
40058
40059 * include/unistd.h: Fix __readlink return type.
40060 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40061
57769839
UD
400622011-11-11 Ulrich Drepper <drepper@gmail.com>
40063
40064 * stdlib/ucontext.h: Undo last change for makecontext.
40065
edc5984d
AS
400662011-11-11 Andreas Schwab <schwab@redhat.com>
40067
98591e58
AS
40068 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40069
edc5984d
AS
40070 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40071 * setjmp/setjmp.h: Mark functions as non-leaf.
40072 * setjmp/bits/setjmp2.h: Likewise.
40073 * stdlib/ucontext.h: Likewise.
40074
77cdc054
AS
400752011-11-10 Andreas Schwab <schwab@redhat.com>
40076
40077 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40078 (reused_arena): Don't check arena limit.
40079 (arena_get2): Atomically check arena limit.
40080
fe72eebd
UD
400812011-11-08 Ulrich Drepper <drepper@gmail.com>
40082
5f078c32
UD
40083 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40084 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40085
fe72eebd
UD
40086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40087 instructions.
40088
ae1bc2fa
AS
400892011-11-07 Andreas Schwab <schwab@redhat.com>
40090
7583a88d
AS
40091 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40092 handler when locking.
40093
ae1bc2fa
AS
40094 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40095 Fix size of allocated buffer.
40096
10fb0bfa
AS
400972011-11-04 Andreas Schwab <schwab@redhat.com>
40098
998832a4
AS
40099 [BZ #10103]
40100 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40101 declarations for long double functions.
40102 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40103
10fb0bfa
AS
40104 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40105
3d7ba52b
AS
401062011-11-03 Andreas Schwab <schwab@redhat.com>
40107
a9ae54a1
AS
40108 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40109 installed.
40110
3d7ba52b
AS
40111 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40112 is disabled.
40113
bc8db248
ST
401142011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40115
40116 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40117
45b96dd6
AS
401182011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40119
647776f6
AS
40120 * include/alloca.h (stackinfo_alloca_round): Define.
40121 (extend_alloca): Use it.
40122 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40123 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40124 here.
40125
d91a8b93
AS
40126 * scripts/check-local-headers.sh: Ignore libaudit.h.
40127
45b96dd6
AS
40128 * nscd/Makefile (extra-objs): Make recursively expanded.
40129
432d41ce
UD
401302011-11-01 Ulrich Drepper <drepper@gmail.com>
40131
34372fc6
UD
40132 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40133 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40134
fadb59f8
UD
40135 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40136 * posix/tst-rfc3484-2.c: Likewise.
40137 * posix/tst-rfc3484-3.c: Likewise.
40138
78239589
UD
40139 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40140 process_vm_writev.
40141 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40142 process_vm_writev.
40143 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40144 process_vm_writev from libc using GLIBC_2.15 version.
40145
432d41ce
UD
40146 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40147
02f9c6cf
PP
401482011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40149
40150 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40151 stack usage.
40152
3a2c0242
UD
401532011-10-31 Ulrich Drepper <drepper@gmail.com>
40154
f4ec4833
UD
40155 [BZ #13367]
40156 * nss/getent.c (initgroups_keys): Show error message in case no group
40157 names are given.
40158
3a2c0242
UD
40159 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40160 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40161 __bump_nl_timestamp.
40162 * nscd/connections (nscd_init): When host database is served open
40163 netlink socket and request notification about configuration changes.
40164 (main_loop_poll): Track netlink file descriptor and bump timestamp
40165 in case data becomes available.
40166 (main_loop_epoll): Likewise.
40167 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40168 (database_pers_head): Add extra_data fileds.
40169 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40170 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40171 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40172 Adjust caller.
40173 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40174 in6ai data, call __free_in6ai.
40175 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40176 Add -DHAVE_NETLINK.
40177 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40178 interface information. Reuse previous data if netlink timestamp
40179 is not changed.
40180 (__bump_nl_timestamp): New function.
40181 (__free_in6ai): New function.
40182
636064eb
UD
401832011-10-30 Ulrich Drepper <drepper@gmail.com>
40184
40185 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40186 close_not_cancel_no_status here.
40187 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40188
9beb2334
UD
401892011-10-29 Ulrich Drepper <drepper@gmail.com>
40190
6ef76f3b
UD
40191 [BZ #13276]
40192 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40193 return value.
40194
0ffc4f3e 40195 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40196 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40197 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40198
cb95113e
UD
401992011-07-03 Andreas Jaeger <aj@suse.de>
40200
40201 [BZ #10709]
40202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40203 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40204 * math/libm-test.inc (sin_test): Add test case.
40205
a1b560ff
UD
402062011-10-29 Ulrich Drepper <drepper@gmail.com>
40207
c9aaface
UD
40208 [BZ #13337]
40209 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40210 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40211
d272e7f1
UD
40212 * elf/chroot_canon.c (chroot_canon): Cleanups.
40213
1bc33071
UD
40214 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40215
1760874d
TJ
40216 [BZ #13335]
40217 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40218 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40219
51d91b18
UD
40220 * string/test-strchr.c: Make usable for strchrnul testing.
40221 * string/test-strchrnul.c: New file.
40222 * string/Makefile (strop-tests): Add strchrnul.
40223
a1b560ff 40224 * po/it.po: Update from translation team.
b611fb81 40225 * po/es.po: Likewise.
a1b560ff 40226
a5b81e1f
UD
402272011-10-28 Ulrich Drepper <drepper@gmail.com>
40228
fd52bc6d
UD
40229 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40230 the three constants needed as parameters. Drop the others.
40231 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40232 __m128i_strloadu_tolower.
52e4b9eb
UD
40233 Create and initialize variable zero and use it in all the places
40234 where _mm_setzero_si128 was used.
fd52bc6d 40235
a5b81e1f
UD
40236 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40237 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40238 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40239 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40240 anymore.
40241 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40242 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40243 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40244 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40245 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40246 __mpranred, __mptan.
40247 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40248 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40249 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40250 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40251 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40252 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40253 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40254 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40255 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40256
b4343346
AS
402572011-10-28 Andreas Schwab <schwab@redhat.com>
40258
0c92d8a8
AS
40259 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40260 redefine if SHARED.
40261 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40262
b4343346
AS
40263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40264 wide char related routines to wcsmbs subdir.
40265
3871f58f
AS
402662011-10-27 Andreas Schwab <schwab@redhat.com>
40267
40268 [BZ #13344]
40269 * misc/sys/cdefs.h (__THROWNL): Define.
40270 * posix/unistd.h: Use __THREADNL instead of __THREAD
40271 for memory synchronization functions.
40272
94d44d9f
RM
402732011-10-26 Roland McGrath <roland@hack.frob.com>
40274
21b64b15 40275 [BZ #13349]
94d44d9f
RM
40276 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40277 doesn't exist.
40278 * manual/stdio.texi (Obstack Streams): Node removed.
40279
f6ce9294
AS
402802011-10-26 Andreas Schwab <schwab@redhat.com>
40281
80479147
AS
40282 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40283 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40284 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40285
f6ce9294
AS
40286 * math/math_private.h (math_force_eval): Allow non-addressable
40287 arguments.
40288 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40289
618280a1
UD
402902011-10-25 Ulrich Drepper <drepper@gmail.com>
40291
e0016b11
UD
40292 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40293 file is not needed.
40294
40295 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40296 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40297 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40298 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40299 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40300 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40301 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40302 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40303 Add AVX variants.
40304 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40305 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40306 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40307 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40308 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40309 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40310 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40311 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40312 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40313 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40314 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40315 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40316 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40317 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40318 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40319 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40320 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40321 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40322 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40323
40324 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40325 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40326
618280a1
UD
40327 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40328 place. Use VEX encoding when compiling for AVX.
40329
37822576
AS
403302011-10-25 Andreas Schwab <schwab@redhat.com>
40331
1f1e1947
AS
40332 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40333 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40334
37822576
AS
40335 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40336
31ea014d
UD
403372011-10-25 Ulrich Drepper <drepper@gmail.com>
40338
d7826aa1 40339 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40340 useless if() expression.
d7826aa1
UD
40341 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40342 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40343 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40344 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40345 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40346 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40347 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40349 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40350 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40351 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40352 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40353 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40354 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40355 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40356 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40357 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40358 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40359 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40360
31ea014d
UD
40361 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40362
16437fec
AS
403632011-10-25 Andreas Schwab <schwab@redhat.com>
40364
40365 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40366 condition.
40367 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40368
31d3cc00
UD
403692011-10-25 Ulrich Drepper <drepper@gmail.com>
40370
40371 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40372 .text section. Avoid duplicate constants.
40373 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40375 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40377 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40381 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40382 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40383 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40384 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40385 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40386 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40387 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40388 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40389 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40390 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40391 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40392 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40393 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40394 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40395 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40396 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40397 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40398 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40399 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40400 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40401 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40402 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40403 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40404 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40405 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40406 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40407 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40408 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40409 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40410 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40411 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40412 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40413 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40414 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40415 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40416 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40417 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40418
58985aa9
UD
404192011-10-24 Ulrich Drepper <drepper@gmail.com>
40420
202c9deb
UD
40421 * sysdeps/x86_64/dla.h: Move to ...
40422 * sysdeps/x86_64/fpu/dla.h: ...here.
40423 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40424 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40425
af968f62
UD
40426 * config.make.in: Add have-mfma4 entry.
40427 * configure.in: Substitute libc_cv_cc_fma4.
40428 * math/Makefile (dbl-only-routines): Add sincostab.
40429 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40430 Use __sincostab not sincos.
40431 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40432 name is a macro.
40433 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40437 using __copysign.
40438 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40439 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40440 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40441 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40442 and __inv.
40443 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40444 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40445 __copysign.
40446 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40447 define aliases when function name is a macro.
40448 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40449 sysdeps/ieee754/dbl-64/sincos.tbl.
40450 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40451 fma4-enabled routines.
40452 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40453 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40454 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40455 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40456 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40457 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40458 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40459 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40460 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40461 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40462 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40463 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40464 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40465 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40466 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40467 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40468 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40469 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40470 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40471 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40472 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40473 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40474 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40475 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40476 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40477 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40478 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40479 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40480 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40481 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40482
58985aa9
UD
40483 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40484 rename.
40485 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40486 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40487 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40490 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40491 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40492 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40493
a201fbcf
AS
404942011-10-24 Andreas Schwab <schwab@redhat.com>
40495
40496 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40497
fc2ee42a
LD
404982011-10-23 Ulrich Drepper <drepper@gmail.com>
40499
bb3129bd
UD
40500 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40501
0275fff8
UD
40502 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40503 prediction.
40504 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40505
2fa2ae85
UD
40506 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40507 Remove unused variable magic_bits.
40508 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40509
fc2ee42a
LD
40510 * string/strnlen.c: Define and use STRNLEN macro.
40511 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40512 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40513 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40514 * wcsmbs/wcslen.c: Define and use WCSLEN.
40515 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40516 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40517 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40518 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40519 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40520 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40521 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40522
ce7dd29f
LD
405232011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40524
40525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40526 strnlen-sse2-no-bsf.
40527 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40528 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40529 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40530 Add strnlen support.
40531 (USE_AS_STRNLEN): New macro.
40532 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40533 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40534 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40535 * sysdeps/x86_64/wcslen.S: New file.
40536
979c70a3
MZ
405372011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40538
40539 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40540 XMM-moves are used for copying on small sizes.
40541
2d09f82f
LD
405422011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40543
40544 * wcsmbs/Makefile (strop-tests): Add wcschr.
40545 * wcsmbs/test-wcschr.c: New file.
40546 * string/test-strchr.c: Update.
40547 Add wcschr support.
40548 (WIDE): New macro.
40549
619fccca
LD
405502011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40551
2d09f82f 40552 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
40553 * wcsmbs/test-wcslen.c: New file.
40554 * string/test-strlen.c: Update.
40555 Add wcslen support.
40556 (WIDE): New macro.
40557
09f699ea
UD
405582011-10-23 Ulrich Drepper <drepper@gmail.com>
40559
40560 * po/it.po: Update from translation team.
40561
95584d3b
LD
405622011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40563
40564 * sysdeps/x86_64/wcscmp.S: Update.
40565 Fix wrong comparison semantics.
40566 wcscmp shall use signed comparison not unsigned.
40567 Don't use substraction to avoid overflow bug.
40568 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40569 * wcsmbc/wcscmp.c: Likewise.
40570 * string/test-strcmp.c: Likewise.
40571 Add new tests to check cases with negative values.
40572
c8b3296b
UD
405732011-10-23 Ulrich Drepper <drepper@gmail.com>
40574
40575 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40576 * sysdeps/x86_64/dla.h: ...here. New file.
40577 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40578 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40579 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40582 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40583 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40585 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40586
246ad57a
AS
405872011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40588
40589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40590 __ynl_finite aliases.
40591
a1a87169
UD
405922011-10-22 Ulrich Drepper <drepper@gmail.com>
40593
0d355eb7
UD
40594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40595
a1a87169
UD
40596 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40597 define DLA_FMA.
40598 [DLA_FMA] (EMULV): Use DLA_FMA.
40599 [DLA_FMA] (MUL12): Use EMULV.
40600 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40601 that are not needed.
40602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40604 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40605 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40606 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40607 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40609
ee2aafe0
AS
406102011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40611
40612 * math/s_nan.c: Undef __nan.
40613 * math/s_nanf.c: Undef __nanf.
40614 * math/s_nanl.c: Undef __nanl.
40615 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40616 "math_private.h".
40617
bc62c2fb
UD
406182011-10-22 Ulrich Drepper <drepper@gmail.com>
40619
77425c63
UD
40620 * math/s_catan.c: Add branch predictions.
40621 * math/s_catanf.c: Likewise.
40622 * math/s_catanh.c: Likewise.
40623 * math/s_catanhf.c: Likewise.
40624 * math/s_catanhl.c: Likewise.
40625 * math/s_catanl.c: Likewise.
40626 * math/s_cexp.c: Likewise.
40627 * math/s_cexpf.c: Likewise.
40628 * math/s_cexpl.c: Likewise.
40629 * math/s_clog.c: Likewise.
40630 * math/s_clog10.c: Likewise.
40631 * math/s_clog10f.c: Likewise.
40632 * math/s_clog10l.c: Likewise.
40633 * math/s_clogf.c: Likewise.
40634 * math/s_clogl.c: Likewise.
40635 * math/s_csqrt.c: Likewise.
40636 * math/s_csqrtf.c: Likewise.
40637 * math/s_csqrtl.c: Likewise.
40638 * math/s_ctanf.c: Likewise.
40639 * math/s_ctanh.c: Likewise.
40640 * math/s_ctanhf.c: Likewise.
40641 * math/s_ctanhl.c: Likewise.
40642 * math/s_ctanl.c: Likewise.
40643
bc62c2fb
UD
40644 * math/math_private.h: Define __nan, __nanf, __nanl.
40645 * math/s_cacosh.c: Include <math_private.h>.
40646 * math/s_cacoshl.c: Likewise.
40647 * math/s_casinh.c: Likewise.
40648 * math/s_casinhf.c: Likewise.
40649 * math/s_casinhl.c: Likewise.
40650 * math/s_ccos.c: Rely entire on ccosh.
40651 * math/s_ccosf.c: Rely entire on ccoshf.
40652 * math/s_ccosl.c: Rely entirely on ccoshl.
40653 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40654 Remove tests for FE_INVALID.
40655 * math/s_ccoshf.c: Likewise.
40656 * math/s_ccoshl.c: Likewise.
40657 * math/s_csin.c: Likewise.
40658 * math/s_csinf.c: Likewise.
40659 * math/s_csinh.c Likewise.
40660 * math/s_csinhf.c: Likewise.
40661 * math/s_csinhl.c: Likewise.
40662 * math/s_csinl.c: Likewise.
40663 * math/s_ctan.c: Likewise.
40664 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40665 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40666 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40667
8ec250a4
UD
406682011-10-21 Ulrich Drepper <drepper@gmail.com>
40669
c196fed8
UD
40670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40671 compilation problems.
40672
8ec250a4
UD
40673 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40674 __builtin_expect.
40675
8d4f46c6
UD
406762011-10-20 Ulrich Drepper <drepper@gmail.com>
40677
ed72b654
UD
40678 * sysdeps/i386/configure.in: Test for -mfma4 option.
40679 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40680 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40681 COMMON_CPUID_INDEX_80000001.
40682 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40683 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40684 use it if FMA3 is not supported.
40685 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40686
8d4f46c6
UD
40687 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40688 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40689
d45c60c2
AS
406902011-10-20 Andreas Schwab <schwab@redhat.com>
40691
40692 [BZ #12892]
40693 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40694 it would create a cycle with a link time dependency.
40695
d9a4d2ab
UD
406962011-10-19 Ulrich Drepper <drepper@gmail.com>
40697
855d1560
UD
40698 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40699 instruction.
40700 * string/Makefile (strop-tests): Add rawmemchr.
40701 * string/test-rawmemchr.c: New file.
40702
d9a4d2ab
UD
40703 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40705 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40706 when compiling str{,n}casecmp and when AVX is available. Hook up
40707 new optimized code in initializers.
40708
8f3b1ffe
AS
407092011-10-19 Andreas Schwab <schwab@redhat.com>
40710
40711 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40712 __feraiseexcept instead of feraiseexcept.
40713
d38f1dba
UD
407142011-10-18 Ulrich Drepper <drepper@gmail.com>
40715
d9a8d0ab
UD
40716 * math/math_private.h: Define defaults for libc_fetestexcept and
40717 libc_feupdateenv.
40718 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40719 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40720 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40721 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40722 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40723 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40724 libc_fetestexcept and libc_feupdateenv.
40725
4855e3dd
UD
40726 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40727 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40728 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40729 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40730 libc_feholdexcept_setround.
40731
581d30e3
UD
40732 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40733 Add s_nearbyint-c and s_nearbyintf-c.
40734 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40735 nearbyintf inlines.
40736 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40737 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40738 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40739 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40740
d38f1dba
UD
40741 * math/math_private.h: Define defaults for libc_fegetround,
40742 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40743 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40744 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40745 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40746 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40747 standard functions.
40748 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40749 Remove comments and hacks for old compiler versions.
40750 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40751 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40752 libc_feholdexceptl.
40753
caa6c9d8
AS
407542011-10-18 Andreas Schwab <schwab@redhat.com>
40755
40756 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40757 (__feraiseexcept_renamed): Add __NTH.
40758 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40759 namespace violations.
40760
97c066e6
UD
407612011-10-17 Ulrich Drepper <drepper@gmail.com>
40762
99ce7b04
UD
40763 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40764
1004d182
UD
40765 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40766
228a984d
UD
40767 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40768 recently added interfaces.
40769 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40770
c8553a6a
UD
40771 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40772 about macro parameter expansion.
40773
ed22dcf6
UD
40774 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40775 __NO_MATH_INLINES is defined. Cleanups.
40776
40777 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40778 and __floorf is target has SSE4.1.
40779 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40780 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40781 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40782 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40783
b171c137
UD
40784 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40785 name.
40786 (floorf): Likewise.
40787
97c066e6
UD
40788 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40789
629f62ef
AS
407902011-10-17 Andreas Schwab <schwab@redhat.com>
40791
49a43d80
AS
40792 * misc/sys/cdefs.h: Fix last change.
40793
629f62ef
AS
40794 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40795 database lookup.
40796
e453f6cd
UD
407972011-10-16 Ulrich Drepper <drepper@gmail.com>
40798
aa78043a
UD
40799 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40800
ad0f5cad
UD
40801 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40802 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40803 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40804 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40805 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40806 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40807 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40808 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40809 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40810 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40811 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40812 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40813 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40814 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40815 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40816 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40817 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40818 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40819 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40820 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40821 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40822 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40823
40824 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40825 ceil, ceilf, floor, floorf.
40826
40827 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40828 Perform IRELATIVE relocations last.
40829
e453f6cd
UD
40830 * elf/do-rel.h: Add another parameter nrelative, replacing the
40831 local variable with the same name. Change name of the function
40832 to end in Rel or Rela (uppercase).
40833 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40834 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40835 elf_dynamic_do_##reloc function.
40836
fd5bdc09
UD
408372011-10-15 Ulrich Drepper <drepper@gmail.com>
40838
79b195b5
UD
40839 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40840 is sufficient, at least on modern CPUs.
40841
d4a28569
UD
40842 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40843
b61099b5
UD
40844 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40845 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40846
bcf01e6d
UD
40847 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40848 __expl_finite.
40849 * math/bits/math-finite.h: Add entries for exp.
40850 * math/e_expl.c: Add __*_finite alias.
40851 * sysdeps/i386/fpu/e_exp.S: Likewise.
40852 * sysdeps/i386/fpu/e_expf.S: Likewise.
40853 * sysdeps/i386/fpu/e_expl.c: Likewise.
40854 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40855 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40856 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40857 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40858 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40859 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40860 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40861
ba1a0d59
UD
40862 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40863 is sufficient, at least on modern CPUs.
40864
fd5bdc09
UD
40865 * ctype/ctype-info.c (__ctype_init): Define.
40866 * include/ctype.h (__ctype_init): Declare.
40867 (__ctype_b_loc): The variable is always initialized.
40868 (__ctype_toupper_loc): Likewise.
40869 (__ctype_tolower_loc): Likewise.
40870 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40871 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40872
7872cfb0
AS
408732011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40874
b468825a
AS
40875 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40876
7872cfb0
AS
40877 * configure.in: Also look in $cxxmachine/include for C++ system
40878 headers.
40879
be13f7bf
LD
408802011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40881
40882 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40883 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40884 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40885 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40886 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40887 (USE_AS_WMEMCMP): New macro.
40888 Fixing indents.
40889 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40890 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40891 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40892 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40894 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40895 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40896 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40897 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40898 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40899 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40900 (USE_AS_WMEMCMP): New macro.
40901 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40902 * sysdeps/string/test-memcmp.c: Update.
40903 Fix simple_wmemcmp.
40904 Add new tests.
40905 * wcsmbs/wmemcmp.c: Update.
40906 (WMEMCMP): New macro.
40907 Fix overflow bug.
40908
556a2007
AJ
409092011-10-12 Andreas Jaeger <aj@suse.de>
40910
40911 [BZ #13268]
40912 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40913
538faaa7
UD
409142011-10-15 Ulrich Drepper <drepper@gmail.com>
40915
ab6737ff
UD
40916 * libio/iofwide.c (do_length): Avoid warning.
40917
538faaa7
UD
40918 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40919
396a21b1
UD
409202011-10-14 Ulrich Drepper <drepper@gmail.com>
40921
cdf2901f
UD
40922 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40923
38ad40ce
UD
40924 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40925 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40926 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40927 * sysdeps/i386/i686/fpu/e_log.S: New file.
40928 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40929 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40930
396a21b1
UD
40931 * ctype/ctype.h: Add support for inlined isXXX functions when
40932 compiling C++ code.
40933
6b1f68c9
AS
409342011-10-14 Andreas Schwab <schwab@redhat.com>
40935
349290c0
AS
40936 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40937
6b1f68c9
AS
40938 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40939
f2282d42
RM
409402011-10-13 Roland McGrath <roland@hack.frob.com>
40941
40942 [BZ #13291]
40943 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40944
5298ffa8
AS
409452011-10-13 Andreas Schwab <schwab@redhat.com>
40946
714fad23
AS
40947 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40948 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40949 feraiseexcept.
40950
81dcc7fb
AS
40951 * sysdeps/x86_64/memrchr.S: Check for zero size.
40952
5298ffa8
AS
40953 * string/stratcliff.c: Add memrchr tests.
40954
951fbcec
LD
409552011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40956
40957 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40958 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40959 rawmemchr-sse2 rawmemchr-sse2-bsf.
40960 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40961 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40962 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40963 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40964 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40965 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40966 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40967 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40968 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40969 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40970 * string/memrchr.c (MEMRCHR): New macro.
40971
0ac5ae23
UD
409722011-10-12 Ulrich Drepper <drepper@gmail.com>
40973
40974 Add integration with gcc's -ffinite-math-only and optimize wrapper
40975 functions in libm.
40976 * Versions.def: Define GLIBC_2.15 version for libm.
40977 * math/Makefile (headers): Add bits/math-finite.h.
40978 * math/bits/math-finite.h: New file.
40979 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40980 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40981 * math/e_acoshl.c: Add __*_finite alias.
40982 * math/e_acosl.c: Likewise.
40983 * math/e_asinl.c: Likewise.
40984 * math/e_atan2l.c: Likewise.
40985 * math/e_atanhl.c: Likewise.
40986 * math/e_coshl.c: Likewise.
40987 * math/e_exp10.c: Likewise.
40988 * math/e_exp10f.c: Likewise.
40989 * math/e_exp10l.c: Likewise.
40990 * math/e_exp2l.c: Likewise.
40991 * math/e_fmodl.c: Likewise.
40992 * math/e_gammal_r.c: Likewise.
40993 * math/e_hypotl.c: Likewise.
40994 * math/e_j0l.c: Likewise.
40995 * math/e_j1l.c: Likewise.
40996 * math/e_jnl.c: Likewise.
40997 * math/e_lgammal_r.c: Likewise.
40998 * math/e_log10l.c: Likewise.
40999 * math/e_log2l.c: Likewise.
41000 * math/e_logl.c: Likewise.
41001 * math/e_powl.c: Likewise.
41002 * math/e_sinhl.c: Likewise.
41003 * math/e_sqrtl.c: Likewise.
41004 * math/e_scalb.c: Completely rewritten and optimized.
41005 * math/e_scalbf.c: Likewise.
41006 * math/e_scalbl.c: Likewise.
41007 * math/w_acos.c: Likewise.
41008 * math/w_acosf.c: Likewise.
41009 * math/w_acosl.c: Likewise.
41010 * math/w_acosh.c: Likewise.
41011 * math/w_acoshf.c: Likewise.
41012 * math/w_acoshl.c: Likewise.
41013 * math/w_asin.c: Likewise.
41014 * math/w_asinf.c: Likewise.
41015 * math/w_asinl.c: Likewise.
41016 * math/w_atan2.c: Likewise.
41017 * math/w_atan2f.c: Likewise.
41018 * math/w_atan2l.c: Likewise.
41019 * math/w_atanh.c: Likewise.
41020 * math/w_atanhf.c: Likewise.
41021 * math/w_atanhl.c: Likewise.
41022 * math/w_exp10.c: Likewise.
41023 * math/w_exp10f.c: Likewise.
41024 * math/w_exp10l.c: Likewise.
41025 * math/w_fmod.c: Likewise.
41026 * math/w_fmodf.c: Likewise.
41027 * math/w_fmodl.c: Likewise.
41028 * math/w_j0.c: Likewise.
41029 * math/w_j0f.c: Likewise.
41030 * math/w_j0l.c: Likewise.
41031 * math/w_j1.c: Likewise.
41032 * math/w_j1f.c: Likewise.
41033 * math/w_j1l.c: Likewise.
41034 * math/w_jn.c: Likewise.
41035 * math/w_jnf.c: Likewise.
41036 * math/w_log.c: Likewise.
41037 * math/w_logf.c: Likewise.
41038 * math/w_logl.c: Likewise.
41039 * math/w_log10.c: Likewise.
41040 * math/w_log10f.c: Likewise.
41041 * math/w_log10l.c: Likewise.
41042 * math/w_log2.c: Likewise.
41043 * math/w_log2f.c: Likewise.
41044 * math/w_log2l.c: Likewise.
41045 * math/w_pow.c: Likewise.
41046 * math/w_powf.c: Likewise.
41047 * math/w_powl.c: Likewise.
41048 * math/w_remainder.c: Likewise.
41049 * math/w_remainderf.c: Likewise.
41050 * math/w_remainderl.c: Likewise.
41051 * math/w_scalb.c: Likewise.
41052 * math/w_scalbf.c: Likewise.
41053 * math/w_scalbl.c: Likewise.
41054 * math/w_sqrt.c: Likewise.
41055 * math/w_sqrtf.c: Likewise.
41056 * math/w_sqrtl.c: Likewise.
41057 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41058 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41059 used.
41060 * math/math_private.h: Declare __kernel_standard_f.
41061 * math/w_cosh.c: Remove cruft and optimize a bit.
41062 * math/w_coshf.c: Likewise.
41063 * math/w_coshl.c: Likewise.
41064 * math/w_exp2.c: Likewise.
41065 * math/w_exp2f.c: Likewise.
41066 * math/w_exp2l.c: Likewise.
41067 * math/w_hypot.c: Likewise.
41068 * math/w_hypotf.c: Likewise.
41069 * math/w_hypotl.c: Likewise.
41070 * math/w_lgamma.c: Likewise.
41071 * math/w_lgamma_r.c: Likewise.
41072 * math/w_lgammaf.c: Likewise.
41073 * math/w_lgammaf_r.c: Likewise.
41074 * math/w_lgammal.c: Likewise.
41075 * math/w_lgammal_r.c: Likewise.
41076 * math/w_sinh.c: Likewise.
41077 * math/w_sinhf.c: Likewise.
41078 * math/w_sinhl.c: Likewise.
41079 * math/w_tgamma.c: Likewise.
41080 * math/w_tgammaf.c: Likewise.
41081 * math/w_tgammal.c: Likewise.
41082 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41083 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41084 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41085 Minor optimizations. Pretty printing. Remove cruft.
41086 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41087 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41088 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41089 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41090 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41091 * sysdeps/i386/fpu/e_asin.S: Likewise.
41092 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41093 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41094 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41095 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41096 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41097 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41098 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41099 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41100 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41101 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41102 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41103 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41104 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41105 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41106 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41107 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41108 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41109 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41110 * sysdeps/i386/fpu/e_log.S: Likewise.
41111 * sysdeps/i386/fpu/e_log10.S: Likewise.
41112 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41113 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41114 * sysdeps/i386/fpu/e_log2.S: Likewise.
41115 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41116 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41117 * sysdeps/i386/fpu/e_logf.S: Likewise.
41118 * sysdeps/i386/fpu/e_logl.S: Likewise.
41119 * sysdeps/i386/fpu/e_pow.S: Likewise.
41120 * sysdeps/i386/fpu/e_powf.S: Likewise.
41121 * sysdeps/i386/fpu/e_powl.S: Likewise.
41122 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41123 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41124 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41125 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41126 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41127 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41128 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41129 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41130 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41131 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41132 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41134 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41135 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41136 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41137 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41138 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41139 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41140 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41141 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41142 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41143 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41144 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41145 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41147 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41148 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41149 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41151 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41152 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41153 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41154 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41155 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41156 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41157 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41158 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41159 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41160 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41161 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41162 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41163 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41164 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41165 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41166 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41167 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41168 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41169 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41170 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41171 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41172 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41173 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41174 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41175 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41176 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41177 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41178 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41179 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41180 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41181 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41182 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41183 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41184 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41185 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41186 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41187 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41188 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41190 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41191 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41193 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41194 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41196 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41198 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41199 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41200 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41201 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41202 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41203 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41204 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41205 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41206 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41207 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41208 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41209 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41210 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41211 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41212 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41213 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41214 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41215 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41216 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41217 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41218 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41219 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41220 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41221 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41222 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41223 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41224 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41225 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41226 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41227 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41228 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41229 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41230 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41231 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41232 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41233 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41234 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41235 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41236 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41237 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41238 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41239 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41240 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41241 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41242 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41243 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41244 (__isnanf): Likewise.
41245 (__isinf_ns): Likewise.
41246 (__isinf_nsf): Likewise.
41247 (__finite): Likewise.
41248 (__finitef): Likewise.
41249 (__ieee754_sqrt): Define as macro.
41250 (__ieee754_sqrtf): Define as macro.
41251 (__ieee754_sqrtl): Define as macro.
41252 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41253 inlined copy.
41254 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41255 __FINITE_MATH_ONLY__ consistent.
41256 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41257
12cc2fcd
AS
412582011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41259
a843a204
AS
41260 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41261 of rawmemchr.
41262
12cc2fcd
AS
41263 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41264
c853acd5
UD
412652011-10-09 Ulrich Drepper <drepper@gmail.com>
41266
41267 * po/ja.po: Update from translation team.
41268
c658d255
RM
412692011-10-08 Roland McGrath <roland@hack.frob.com>
41270
110946e4
RM
41271 * locale/programs/locarchive.c (prepare_address_space): New function.
41272 (create_archive, enlarge_archive, open_archive): Use it.
41273
50604220
RM
41274 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41275 inside [SHARED], where it is used.
41276
c658d255
RM
41277 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41278
41279 * nss/getent.c (netgroup_keys): Remove unused variable.
41280 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41281
6a621eb7
UD
412822011-10-08 Ulrich Drepper <drepper@gmail.com>
41283
7edb55ce
UD
41284 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41285 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41286 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41287 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41288 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41289 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41290 * math/Makefile (libm-calls): Add s_isinf_ns.
41291 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41292 * math/multc3.c: Likewise.
41293 * math/s_casin.c: Likewise.
41294 * math/s_casinf.c: Likewise.
41295 * math/s_casinl.c: Likewise.
41296 * math/s_ccos.c: Likewise.
41297 * math/s_ccosf.c: Likewise.
41298 * math/s_ccosl.c: Likewise.
41299 * math/s_ctan.c: Likewise.
41300 * math/s_ctanf.c: Likewise.
41301 * math/s_ctanh.c: Likewise.
41302 * math/s_ctanhf.c: Likewise.
41303 * math/s_ctanhl.c: Likewise.
41304 * math/s_ctanl.c: Likewise.
41305 * math/w_fmod.c: Likewise.
41306 * math/w_fmodf.c: Likewise.
41307 * math/w_fmodl.c: Likewise.
41308 * math/w_remainder.c: Likewise.
41309 * math/w_remainderf.c: Likewise.
41310 * math/w_remainderl.c: Likewise.
41311 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41312 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41313 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41314 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41315 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41316 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41317 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41318 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41319
187da0ae
UD
41320 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41321 of the number.
41322 * stdio-common/printf_fphex.c: Likewise.
41323 * stdio-common/printf_size.c: Likewise.
41324
9277c064
UD
41325 * math/e_exp10.c: Include math_private.h using <...> not "...".
41326 * math/e_exp10f.c: Likewise.
41327 * math/e_exp10l.c: Likewise.
41328 * math/e_exp2l.c: Likewise.
41329 * math/e_j0l.c: Likewise.
41330 * math/e_j1l.c: Likewise.
41331 * math/e_jnl.c: Likewise.
41332 * math/e_lgammal_r.c: Likewise.
41333 * math/e_rem_pio2l.c: Likewise.
41334 * math/e_scalb.c: Likewise.
41335 * math/e_scalbf.c: Likewise.
41336 * math/e_scalbl.c: Likewise.
41337 * math/k_cosl.c: Likewise.
41338 * math/k_sinl.c: Likewise.
41339 * math/k_tanl.c: Likewise.
41340 * math/s_cacoshf.c: Likewise.
41341 * math/s_catan.c: Likewise.
41342 * math/s_catanf.c: Likewise.
41343 * math/s_catanh.c: Likewise.
41344 * math/s_catanhf.c: Likewise.
41345 * math/s_catanhl.c: Likewise.
41346 * math/s_catanl.c: Likewise.
41347 * math/s_ccosh.c: Likewise.
41348 * math/s_ccoshf.c: Likewise.
41349 * math/s_ccoshl.c: Likewise.
41350 * math/s_cexp.c: Likewise.
41351 * math/s_cexpf.c: Likewise.
41352 * math/s_cexpl.c: Likewise.
41353 * math/s_clog.c: Likewise.
41354 * math/s_clog10.c: Likewise.
41355 * math/s_clog10f.c: Likewise.
41356 * math/s_clog10l.c: Likewise.
41357 * math/s_clogf.c: Likewise.
41358 * math/s_clogl.c: Likewise.
41359 * math/s_csin.c: Likewise.
41360 * math/s_csinf.c: Likewise.
41361 * math/s_csinh.c: Likewise.
41362 * math/s_csinhf.c: Likewise.
41363 * math/s_csinhl.c: Likewise.
41364 * math/s_csinl.c: Likewise.
41365 * math/s_csqrt.c: Likewise.
41366 * math/s_csqrtf.c: Likewise.
41367 * math/s_csqrtl.c: Likewise.
41368 * math/s_ctan.c: Likewise.
41369 * math/s_ctanf.c: Likewise.
41370 * math/s_ctanh.c: Likewise.
41371 * math/s_ctanhf.c: Likewise.
41372 * math/s_ctanhl.c: Likewise.
41373 * math/s_ctanl.c: Likewise.
41374 * math/s_ldexp.c: Likewise.
41375 * math/s_ldexpf.c: Likewise.
41376 * math/s_ldexpl.c: Likewise.
41377 * math/s_significand.c: Likewise.
41378 * math/s_significandf.c: Likewise.
41379 * math/s_significandl.c: Likewise.
41380 * math/w_acos.c: Likewise.
41381 * math/w_acosf.c: Likewise.
41382 * math/w_acosh.c: Likewise.
41383 * math/w_acoshf.c: Likewise.
41384 * math/w_acoshl.c: Likewise.
41385 * math/w_acosl.c: Likewise.
41386 * math/w_asin.c: Likewise.
41387 * math/w_asinf.c: Likewise.
41388 * math/w_asinl.c: Likewise.
41389 * math/w_atan2.c: Likewise.
41390 * math/w_atan2f.c: Likewise.
41391 * math/w_atan2l.c: Likewise.
41392 * math/w_atanh.c: Likewise.
41393 * math/w_atanhf.c: Likewise.
41394 * math/w_atanhl.c: Likewise.
41395 * math/w_cosh.c: Likewise.
41396 * math/w_coshf.c: Likewise.
41397 * math/w_coshl.c: Likewise.
41398 * math/w_dremf.c: Likewise.
41399 * math/w_exp10.c: Likewise.
41400 * math/w_exp10f.c: Likewise.
41401 * math/w_exp10l.c: Likewise.
41402 * math/w_exp2.c: Likewise.
41403 * math/w_exp2f.c: Likewise.
41404 * math/w_fmod.c: Likewise.
41405 * math/w_fmodf.c: Likewise.
41406 * math/w_fmodl.c: Likewise.
41407 * math/w_hypot.c: Likewise.
41408 * math/w_hypotf.c: Likewise.
41409 * math/w_hypotl.c: Likewise.
41410 * math/w_j0.c: Likewise.
41411 * math/w_j0f.c: Likewise.
41412 * math/w_j0l.c: Likewise.
41413 * math/w_j1.c: Likewise.
41414 * math/w_j1f.c: Likewise.
41415 * math/w_j1l.c: Likewise.
41416 * math/w_jn.c: Likewise.
41417 * math/w_jnf.c: Likewise.
41418 * math/w_jnl.c: Likewise.
41419 * math/w_lgamma.c: Likewise.
41420 * math/w_lgamma_r.c: Likewise.
41421 * math/w_lgammaf.c: Likewise.
41422 * math/w_lgammaf_r.c: Likewise.
41423 * math/w_lgammal.c: Likewise.
41424 * math/w_lgammal_r.c: Likewise.
41425 * math/w_log.c: Likewise.
41426 * math/w_log10.c: Likewise.
41427 * math/w_log10f.c: Likewise.
41428 * math/w_log10l.c: Likewise.
41429 * math/w_log2.c: Likewise.
41430 * math/w_log2f.c: Likewise.
41431 * math/w_log2l.c: Likewise.
41432 * math/w_logf.c: Likewise.
41433 * math/w_logl.c: Likewise.
41434 * math/w_pow.c: Likewise.
41435 * math/w_powf.c: Likewise.
41436 * math/w_powl.c: Likewise.
41437 * math/w_remainder.c: Likewise.
41438 * math/w_remainderf.c: Likewise.
41439 * math/w_remainderl.c: Likewise.
41440 * math/w_scalb.c: Likewise.
41441 * math/w_scalbf.c: Likewise.
41442 * math/w_scalbl.c: Likewise.
41443 * math/w_sinh.c: Likewise.
41444 * math/w_sinhf.c: Likewise.
41445 * math/w_sinhl.c: Likewise.
41446 * math/w_sqrt.c: Likewise.
41447 * math/w_sqrtf.c: Likewise.
41448 * math/w_sqrtl.c: Likewise.
41449 * math/w_tgamma.c: Likewise.
41450 * math/w_tgammaf.c: Likewise.
41451 * math/w_tgammal.c: Likewise.
41452
6a621eb7
UD
41453 * po/ja.po: Update from translation team.
41454
bf582445
AJ
414552011-09-29 Andreas Jaeger <aj@suse.de>
41456
f9efbf3a
AJ
41457 [BZ #13179]
41458 * sunrpc/netname.c (netname2host): Fix logic.
41459
bf582445
AJ
41460 [BZ #6779]
41461 [BZ #6783]
41462 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41463 correctly.
41464 * math/w_remainder.c (__remainder): Likewise.
41465 * math/w_remainderf.c (__remainderf): Likewise.
41466 * math/libm-test.inc (remainder_test): Add test cases.
41467
48693bea
AK
414682011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41469
41470 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41471 sdiv_qrnnd.
41472
42622229
LD
414732011-10-07 Ulrich Drepper <drepper@gmail.com>
41474
41475 * string/test-memcmp.c: Avoid unncessary #defines.
41476 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41477
093ecf92
LD
414782011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41479
41480 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41481 Use new sse2 version for core i3 - i7 as it's faster
41482 than sse42 version.
41483 (bit_Prefer_PMINUB_for_stringop): New.
41484 * sysdeps/x86_64/rawmemchr.S: Update.
41485 Replace with faster SSE2 version.
41486 * sysdeps/x86_64/memrchr.S: New file.
41487 * sysdeps/x86_64/memchr.S: Update.
41488 Replace with faster SSE2 version.
41489
fde56e5c
MP
414902011-09-12 Marek Polacek <mpolacek@redhat.com>
41491
41492 * elf/dl-load.c (lose): Add cast to avoid warning.
41493
21fd49a9
UD
414942011-10-07 Ulrich Drepper <drepper@gmail.com>
41495
5a06e643
UD
41496 * po/ca.po: Update from translation team.
41497
684ae515
UD
41498 * inet/getnetgrent_r.c: Hook up nscd.
41499 * nscd/Makefile (routines): Add nscd_netgroup.
41500 (nscd-modules): Add netgroupcache.
41501 (CFLAGS-netgroupcache.c): Define.
41502 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41503 (cache_search): Add const to second parameter.
41504 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41505 INNETGR.
41506 (dbs): Add netgrdb entry.
41507 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41508 (verify_persistent_db): Handle netgrdb.
41509 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41510 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41511 GETFDNETGR.
41512 (netgroup_response_header): Define.
41513 (innetgroup_response_header): Define.
41514 (datahead): Add netgroup_response_header and innetgroup_response_header
41515 elements.
41516 * nscd/nscd.conf: Add entries for netgroup cache.
41517 * nscd/nscd.h (dbtype): Add netgrdb.
41518 (_PATH_NSCD_NETGROUP_DB): Define.
41519 (netgroup_iov_disabled): Declare.
41520 (xmalloc, xcalloc, xrealloc): Move declarations here.
41521 (cache_search): Adjust prototype.
41522 Add netgroup-related prototypes.
41523 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41524 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41525 (__nscd_innetgr): Declare.
41526 * nscd/selinux.c (perms): Use access_vector_t as element type and
41527 add netgroup-related initializers.
41528 * nscd/netgroupcache.c: New file.
41529 * nscd/nscd_netgroup.c: New file.
41530 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41531 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41532 For four parameters use innetgr.
41533 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41534 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41535 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41536 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41537
21fd49a9
UD
41538 * nscd/connections.c (register_traced_file): Don't register file
41539 for disabled databases.
41540
054c0457
UD
415412011-10-06 Ulrich Drepper <drepper@gmail.com>
41542
32b63198
UD
41543 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41544
054c0457
UD
41545 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41546 from tree and freeing node.
41547
64031225
JO
415482011-09-25 Jiri Olsa <jolsa@redhat.com>
41549
41550 * nss/nsswitch.c (__nss_database_lookup): Handle
41551 nss_parse_service_list out of memory case.
41552
0490345c
JO
415532011-09-15 Jiri Olsa <jolsa@redhat.com>
41554
41555 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41556 out of memory case.
41557
3a62d00d
AS
415582011-10-04 Andreas Schwab <schwab@redhat.com>
41559
41560 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41561 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41562 pass it down.
41563 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41564 elf_machine_rela, elf_machine_lazy_rel.
41565 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41566 (ELF_DYNAMIC_DO_REL): Likewise.
41567 (ELF_DYNAMIC_DO_RELA): Likewise.
41568 (ELF_DYNAMIC_RELOCATE): Likewise.
41569 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41570 to ELF_DYNAMIC_DO_REL.
41571 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41572 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41573 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41574 elf_machine_rela.
41575 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41576 skip_ifunc, don't call ifunc function if non-zero.
41577 (elf_machine_rela): Likewise.
41578 (elf_machine_lazy_rel): Likewise.
41579 (elf_machine_lazy_rela): Likewise.
41580 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41581 (elf_machine_lazy_rel): Likewise.
41582 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41583 Likewise.
41584 (elf_machine_lazy_rel): Likewise.
41585 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41586 Likewise.
41587 (elf_machine_lazy_rel): Likewise.
41588 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41589 (elf_machine_lazy_rel): Likewise.
41590 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41591 (elf_machine_lazy_rel): Likewise.
41592 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41593 (elf_machine_lazy_rel): Likewise.
41594 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41595 (elf_machine_lazy_rel): Likewise.
41596 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41597 (elf_machine_lazy_rel): Likewise.
41598 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41599 (elf_machine_lazy_rel): Likewise.
41600
68577918
UD
416012011-09-28 Ulrich Drepper <drepper@gmail.com>
41602
41603 * nss/nss_files/files-init.c (_nss_files_init): Use static
41604 initialization for all the *_traced_file variables.
41605
68822d74
AS
416062011-09-28 Andreas Schwab <schwab@redhat.com>
41607
41608 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41609
2056100b
RM
416102011-09-27 Roland McGrath <roland@hack.frob.com>
41611
41612 [BZ #13226]
41613 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41614
32c76b63
AS
416152011-09-27 Andreas Schwab <schwab@redhat.com>
41616
41617 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41618 Reread the line before reparsing it.
41619
bf972c9d
AS
416202011-09-26 Andreas Schwab <schwab@redhat.com>
41621
41622 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41623
e057a1b5
JM
416242011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41625 Maxim Kuvyrkov <maxim@codesourcery.com>
41626 Joseph Myers <joseph@codesourcery.com>
41627
41628 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41629 if needed for __stack_chk_guard.
41630
bc7e1c36
RM
416312011-09-19 Roland McGrath <roland@hack.frob.com>
41632
ecb1482f
RM
41633 * sysdeps/posix/spawni.c (script_execute): Always define it.
41634 It will be optimized away if unused.
41635 (maybe_script_execute): New function.
41636 (__spawni): Call it.
41637
bc7e1c36
RM
41638 * Makerules: Don't include tls.make.
41639 (config-tls): Always set to thread.
41640 * tls.make.c: File removed.
41641
1c3b002b
MF
416422011-09-19 Mike Frysinger <vapier@gentoo.org>
41643
41644 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41645 * config.make.in (CPPFLAGS-config): New substituted variable.
41646
2840865d
UD
416472011-09-15 Ulrich Drepper <drepper@gmail.com>
41648
88738eb6
UD
41649 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41650
cbf645a6 41651 [BZ #13192]
2840865d
UD
41652 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41653 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41654
b402e91a
RM
416552011-09-15 Roland McGrath <roland@hack.frob.com>
41656
41657 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41658 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41659 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41660 (CALL_FAIL): Likewise.
41661 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41662 (CALL_FAIL): Macro removed.
41663 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41664
4c1a1f71
UD
416652011-09-15 Ulrich Drepper <drepper@gmail.com>
41666
41667 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41668 for __FINITE_MATH_ONLY__ == 1.
41669
edc121be
AS
416702011-09-15 Andreas Schwab <schwab@redhat.com>
41671
41672 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41673 __ieee754_sqrt instead of sqrt.
41674 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41675 __ieee754_sqrtf instead of sqrtf.
41676 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41677 __floorf instead of floorf.
41678 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41679 __floorf, __truncf instead of floorf, truncf.
41680
cd205654
UD
416812011-09-14 Ulrich Drepper <drepper@gmail.com>
41682
ee4d0315
UD
41683 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41684
cd205654
UD
41685 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41686 __extern_always_inline.
41687 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41688 32-bit.
41689
48b67d71
AS
416902011-09-14 Andreas Schwab <schwab@redhat.com>
41691
41692 * elf/rtld.c (dl_main): Also relocate in dependency order when
41693 doing symbol dependency testing.
41694
1ae12c75
AS
416952011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41696
41697 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41698 Always define `refsym'.
41699
995a80df
AS
417002011-09-13 Andreas Schwab <schwab@redhat.com>
41701
e529793b
AS
41702 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41703 (__FD_ELT): Renamed from __FDELT.
41704 * misc/bits/select2.h (__FD_ELT): Likewise.
41705 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41706 __FD_MASK instead of __FDELT, __FDMASK.
41707 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41708 Likewise.
41709 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41710 Likewise.
41711
52d4fef8
AS
41712 * elf/Makefile (gen-ldd): Fix pattern.
41713
995a80df
AS
41714 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41715 (init_tls): Likewise.
41716
8682f8b0
UD
417172011-09-12 Ulrich Drepper <drepper@gmail.com>
41718
41719 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41720
de82006d
AS
417212011-09-12 Andreas Schwab <schwab@redhat.com>
41722
a7c8e6a1
AS
41723 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41724 `struct cmsghdr *' instead of `void *'.
41725 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41726 Likewise.
41727
0f31fe77
AS
417282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41729
41730 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41731 if non-absolute.
41732 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41733 ldd_rewrite_script.
0f31fe77 41734
32b4c839
UD
417352011-09-11 Ulrich Drepper <drepper@gmail.com>
41736
83cd1420
UD
41737 * configure.in: Remove --with-tls option.
41738 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41739 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41740 out in case it is missing.
41741 * sysdeps/ia64/elf/configure.in: Likewise.
41742 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41743 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41744 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41745 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41746 * sysdeps/sh/elf/configure.in: Likewise.
41747 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41748 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41749 * sysdeps/x86_64/elf/configure.in: Likewise.
41750 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41751 * sysdeps/mach/hurd/tls.h: Likewise.
41752
633f745d
UD
41753 [BZ #13067]
41754 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41755
f318beb8
UD
41756 [BZ #13090]
41757 * configure.in: Fix use of AC_INIT.
41758
32b4c839
UD
41759 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41760
3ce1f295
UD
417612011-09-10 Ulrich Drepper <drepper@gmail.com>
41762
bb016596
UD
41763 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41764 __set_errno.
8e58439c
UD
41765 * malloc/hooks.c: Likewise.
41766
aebae053 41767 [BZ #11929]
02d46fc4
UD
41768 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41769 variables statically.
41770 (narenas): Initialize.
41771 (list_lock): Initialize.
bb016596
UD
41772 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41773 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41774 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41775 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41776 Add initializers to main_arena and mp_.
41777 (malloc_state): Remove pagesize member. Change all users to use
41778 GLRO(dl_pagesize).
41779
41780 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41781 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41782 is always initialized.
41783
22a89187
UD
41784 * malloc/malloc.c: Removed unused configurations and dead code.
41785 * malloc/arena.c: Likewise.
41786 * malloc/hooks.c: Likewise.
02d46fc4 41787 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41788
d063d164
UD
41789 * include/tls.h: Removed. USE___THREAD must always be defined.
41790 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41791 * elf/dl-libc.c: Likewise.
41792 * elf/dl-tsd.c: Likewise.
41793 * include/errno.h: Likewise.
41794 * include/netdb.h: Likewise.
41795 * include/resolv.h: Likewise.
41796 * inet/herrno-loc.c: Likewise.
41797 * inet/herrno.c: Likewise.
41798 * malloc/arena.c: Likewise.
41799 * malloc/hooks.c: Likewise.
41800 * malloc/malloc.c: Likewise.
41801 * resolv/res-state.c: Likewise.
41802 * resolv/res_libc.c: Likewise.
41803 * sysdeps/i386/dl-machine.h: Likewise.
41804 * sysdeps/ia64/dl-machine.h: Likewise.
41805 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41806 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41807 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41808 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41809 * sysdeps/sh/dl-machine.h: Likewise.
41810 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41811 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41812 * sysdeps/unix/i386/sysdep.S: Likewise.
41813 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41814 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41815 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41816 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41817 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41818 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41819 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41820 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41821 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41823 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41824 * sysdeps/x86_64/dl-machine.h: Likewise.
41825 * tls.make.c: Likewise.
41826
3ce1f295
UD
41827 * configure.in: Remove --with-__thread option. Make tests for
41828 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41829 tls_model attribute fail if no support is available. Remove
41830 USE_IN_LIBIO.
41831 * Makeconfig: Adjust for dropped configure option. All features are
41832 now mandatory.
41833 * Makerules: Likewise.
41834 * Versions.def: Likewise.
41835 * argp/argp-fmtstream.c: Likewise.
41836 * argp/argp-fmtstream.h: Likewise.
41837 * argp/argp-help.c: Likewise.
41838 * assert/assert.c: Likewise.
41839 * config.h.in: Likewise.
41840 * config.make.in: Likewise.
41841 * configure: Likewise.
41842 * configure.in: Likewise.
41843 * csu/Versions: Likewise.
41844 * csu/init.c: Likewise.
41845 * elf/tst-audit2.c: Likewise.
41846 * elf/tst-tls10.c: Likewise.
41847 * elf/tst-tls10.h: Likewise.
41848 * elf/tst-tls11.c: Likewise.
41849 * elf/tst-tls12.c: Likewise.
41850 * elf/tst-tls14.c: Likewise.
41851 * elf/tst-tlsmod11.c: Likewise.
41852 * elf/tst-tlsmod12.c: Likewise.
41853 * elf/tst-tlsmod13.c: Likewise.
41854 * elf/tst-tlsmod13a.c: Likewise.
41855 * elf/tst-tlsmod14a.c: Likewise.
41856 * elf/tst-tlsmod15b.c: Likewise.
41857 * elf/tst-tlsmod16a.c: Likewise.
41858 * elf/tst-tlsmod16b.c: Likewise.
41859 * elf/tst-tlsmod7.c: Likewise.
41860 * elf/tst-tlsmod8.c: Likewise.
41861 * elf/tst-tlsmod9.c: Likewise.
41862 * gmon/gmon.c: Likewise.
41863 * grp/fgetgrent_r.c: Likewise.
41864 * grp/putgrent.c: Likewise.
41865 * hurd/fopenport.c: Likewise.
41866 * include/libc-symbols.h: Likewise.
41867 * include/tls.h: Likewise.
41868 * intl/gettextP.h: Likewise.
41869 * intl/loadinfo.h: Likewise.
41870 * locale/global-locale.c: Likewise.
41871 * locale/localeinfo.h: Likewise.
41872 * mach/devstream.c: Likewise.
41873 * malloc/arena.c: Likewise.
41874 * malloc/set-freeres.c: Likewise.
41875 * misc/err.c: Likewise.
41876 * misc/getttyent.c: Likewise.
41877 * misc/mntent_r.c: Likewise.
41878 * posix/getopt.c: Likewise.
41879 * posix/wordexp.c: Likewise.
41880 * pwd/fgetpwent_r.c: Likewise.
41881 * resolv/Versions: Likewise.
41882 * resolv/res_hconf.c: Likewise.
41883 * shadow/fgetspent_r.c: Likewise.
41884 * shadow/putspent.c: Likewise.
41885 * stdio-common/printf_fphex.c: Likewise.
41886 * stdio-common/tmpfile.c: Likewise.
41887 * stdlib/abort.c: Likewise.
41888 * stdlib/fmtmsg.c: Likewise.
41889 * sunrpc/auth_unix.c: Likewise.
41890 * sunrpc/clnt_perr.c: Likewise.
41891 * sunrpc/clnt_tcp.c: Likewise.
41892 * sunrpc/clnt_udp.c: Likewise.
41893 * sunrpc/clnt_unix.c: Likewise.
41894 * sunrpc/openchild.c: Likewise.
41895 * sunrpc/svc_simple.c: Likewise.
41896 * sunrpc/svc_tcp.c: Likewise.
41897 * sunrpc/svc_udp.c: Likewise.
41898 * sunrpc/svc_unix.c: Likewise.
41899 * sunrpc/xdr.c: Likewise.
41900 * sunrpc/xdr_array.c: Likewise.
41901 * sunrpc/xdr_rec.c: Likewise.
41902 * sunrpc/xdr_ref.c: Likewise.
41903 * sunrpc/xdr_stdio.c: Likewise.
41904
1248c1c4
PB
419052011-09-09 Ulrich Drepper <drepper@gmail.com>
41906
41907 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41908
419092011-07-03 Andreas Jaeger <aj@suse.de>
41910
41911 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41912 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41913 regenerate with gen-libm-tests.pl.
41914
419152010-05-12 Petr Baudis <pasky@suse.cz>
41916
41917 [BZ #11589]
41918 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41919 around j0() zero points by switching to j1().
41920 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41921 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41923 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41924
f22e1074
UD
419252011-09-09 Ulrich Drepper <drepper@gmail.com>
41926
f19009c1
UD
41927 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41928 instead of 0.
41929 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41930 instead of 0.
f19009c1
UD
41931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41932 Patch in part by Pavel Roskin <proski@gnu.org>.
41933
3f8cc204
UD
41934 [BZ #13138]
41935 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41936 realloc.
41937 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41938 Free memory block if necessary.
41939
f22e1074
UD
41940 [BZ #12847]
41941 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41942 be NULL. Don't lock in this case.
41943
0a2349f9
RM
419442011-09-09 Roland McGrath <roland@hack.frob.com>
41945
41946 * elf/elf.h (ELFOSABI_GNU): New macro.
41947 (ELFOSABI_LINUX): Define to that.
41948
f3cdd467
DZ
419492011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41950
41951 * string/strncat.c (strncat): Undef the symbol in case it has been
41952 defined in bits/string.h.
41953
74718d13
UD
419542011-09-09 Ulrich Drepper <drepper@gmail.com>
41955
633e9e0f
UD
41956 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41957
0a2349f9 41958 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41959 link map.
41960
f9924780
AJ
419612011-08-17 Andreas Jaeger <aj@suse.de>
41962
41963 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41964
7f5517aa
PP
419652011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41966 Ian Lance Taylor <iant@google.com>
41967
41968 * math/libm-test.inc (lround_test): New testcase.
41969 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41970
762011fe
UD
419712011-09-08 Ulrich Drepper <drepper@gmail.com>
41972
92963737
UD
41973 * Makefile: Remove support for automatic cvs check-ins.
41974 * Makerules: Likewise.
41975 * config.make.in: Likewise.
41976 * configure.in: Likewise.
41977 * intl/Makefile: Likewise.
41978 * locale/Makefile: Likewise.
41979 * po/Makefile: Likewise.
41980 * posix/Makefile: Likewise.
41981 * sysdeps/gnu/Makefile: Likewise.
41982 * sysdeps/mach/hurd/Makefile: Likewise.
41983 * sysdeps/sparc/sparc32/Makefile: Likewise.
41984
b0727fd8
JS
41985 [BZ #13118]
41986 * posix/Makefile (bug-regex32-ENV): Define.
41987 Patch by John Stanley <jpsinthemix@verizon.net>.
41988
a0f33f99
UD
41989 * misc/Makefile (headers): Add bits/select2.h.
41990 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41991 * misc/bits/select2.h: New file.
41992 * include/bits/select2.h: New file.
41993 * debug/Makefile (routines): Add fdelt_chk.
41994 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41995 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41996 FD_ISSET.
41997 * debug/fdelt_chk.c: New file.
41998
762011fe
UD
41999 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42000 * wcsmbs/test-wmemcmp.c: Likewise.
42001 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 42002 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
42003
420042011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42005
42006 * string/Makefile (strop-tests): Add memcmp.
42007 * string/test-wmemcmp.c: New file.
42008 * string/test-memcmp.c: Add wmemcmp support.
42009
7f513ec8
RM
420102011-09-08 Roland McGrath <roland@hack.frob.com>
42011
0442afb4
RM
42012 [BZ #13153]
42013 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42014 2011-07-19 change.
42015
7f513ec8
RM
42016 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42017 garbage value in a __mach_port_mod_refs call in the cases of the
42018 task-self and thread-self ports.
42019
a12b2239
ST
420202011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42021
42022 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42023
610f9ab4
AS
420242011-09-08 Andreas Schwab <schwab@redhat.com>
42025
7f513ec8 42026 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 42027
48882a1a
LD
420282011-09-07 Ulrich Drepper <drepper@gmail.com>
42029
b49865be
UD
42030 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42031
fdc86bc9
UD
42032 * elf/dl-libc.c (dlerror_run): Pass back error code from
42033 dl_catch_error.
42034
c966526a
UD
42035 [BZ #13123]
42036 * elf/dl-load.c (lose): Free l_origin if it is valid.
42037
48882a1a
LD
42038 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42039 names.
42040 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42041 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42042 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42043 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42044 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42045 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42046
77a2a8b4
AZ
420472011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42048
42049 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42050 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42051 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42052 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42053 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42054 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42055 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42056 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42057 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42058 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42059
24f579d8
AM
420602011-08-15 Alan Modra <amodra@gmail.com>
42061
42062 [BZ #13092]
42063 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42064 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42065 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42066 ppc_mcount to static-only-routines.
42067 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42068 __mcount_internal.
42069 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42070 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42071
3d4837df
UD
420722011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42073
42074 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42075 for finite and infinity parameters.
42076
22700377
WS
420772011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42078
42079 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42080 and add nop instructions for throughput optimization.
42081 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42082
5025581e
WS
420832011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42084
42085 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42086 aligned copy for power7 with vector-scalar instructions.
42087 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42088
08a300c9
L
420892011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42090
42091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42092 AVX check.
42093
59178ef9
AS
420942011-09-07 Andreas Schwab <schwab@redhat.com>
42095
42096 [BZ #13144]
42097 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42098 last change.
42099
e38ba7ab
UD
421002011-09-07 Ulrich Drepper <drepper@gmail.com>
42101
42102 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42103 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42104 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42105 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42106 clock_gettime.
42107
d53a73ac
UD
421082011-09-06 Ulrich Drepper <drepper@gmail.com>
42109
fc8bffcc
UD
42110 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42111 Forgot to demangle the pointer.
42112
ceaa0c5d
UD
42113 * sysdeps/i386/sysdep.h: Define atom_text_section.
42114 * sysdeps/x86_64/sysdep.h: Likewise.
42115 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42116 section with atom_text_section.
42117 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42118 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42119 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42120 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42121 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42122
a77d3c17
UD
42123 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42124 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42125 already be defined. Change to take two parameters and don't assign
42126 result to variable. Adjust all users.
42127 Define INTERNAL_GETTIME if not already defined.
42128 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42129 call.
42130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42131 HAVE_CLOCK_GETTIME_VSYSCALL.
42132 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42133
d53a73ac
UD
42134 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42135 gettimeofday vsyscall, just use time.
42136
a8f84144
AS
421372011-09-06 Andreas Schwab <schwab@redhat.com>
42138
42139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42140 <errno.h>.
42141
ef606249
UD
421422011-09-06 Ulrich Drepper <drepper@gmail.com>
42143
42144 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42145 syscall on x86-64.
42146 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42147 syscall.
42148 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42149 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42150 syscall if possible.
42151
6585cb60
UD
421522011-09-05 Ulrich Drepper <drepper@gmail.com>
42153
42154 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42155 e_ident. Don't pass to find_mapsXX.
42156 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42157
a5f524e4
LD
421582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42159
42160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42161 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42162 * sysdeps/x86_64/multiarch/strchr.S: Update.
42163 Check bit_slow_BSF bit.
42164 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42165 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42166 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42167
554881ef
UD
421682011-09-05 Ulrich Drepper <drepper@gmail.com>
42169
d96de963
UD
42170 [BZ #13134]
42171 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42172 before glibc 2.15.
42173 (tryshell): Define.
42174 (__spawni): Change last parameter to be flag. Test
42175 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42176 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42177 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42178 * posix/spawni.c: Likewise.
42179 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42180 * posix/spawnp.c: Likewise. Change normal version to use
42181 SPAWN_XFLAGS_USE_PATH.
42182 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42183 SPAWN_XFLAGS_TRY_SHELL.
42184
d48e5868
UD
42185 [BZ #13150]
42186 * posix/glob.h: Remove gcc 1.x support.
42187
554881ef
UD
42188 [BZ #13068]
42189 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42190
693fb948
LD
421912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42192
42193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42194 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42195 strrchr-sse2-bsf
42196 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42197 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42198 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42199 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42200 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42201 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42202
1b48c537
UD
422032011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42204
49d42c37
UD
42205 * sysdeps/x86_64/wcscmp.S: New file.
42206
1b48c537
UD
42207 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42208 wcscmp-c wcscmp-sse2
42209 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42210 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42211 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42212 * wcsmbs/wcscmp.c: Allow renaming.
42213
15c95c5d
DM
422142011-09-05 David S. Miller <davem@davemloft.net>
42215
42216 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42217 stack slot, rather than the struct return pointer slot.
42218 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42219 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42221 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42222
2f0ad8f3
UD
422232011-09-05 Ulrich Drepper <drepper@gmail.com>
42224
d88ae418
UD
42225 * po/ja.po: Update from translation team.
42226
2f0ad8f3
UD
42227 [BZ #13144]
42228 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42229 kernel in 64-bit binaries.
42230
5f4318d1
DM
422312011-09-01 David S. Miller <davem@davemloft.net>
42232
42233 * elf/elf.h (HWCAP_SPARC_*): Move to..
42234 * sysdeps/sparc/sysdep.h: this new file and add new values.
42235 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42236 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42237 _DL_HWCAP_COUNT to 24.
42238 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42239 entries.
42240 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42241 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42242 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42244 instead of magic constants.
42245 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42246
3ba57516
DM
422472011-08-31 David S. Miller <davem@davemloft.net>
42248
42249 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42251 Reimplement to do errno handling inline.
42252 (SYSCALL_ERROR_HANDLER): New macro.
42253 (__SYSCALL_STRING): Do not do errno handling in asm.
42254 (__CLONE_SYSCALL_STRING): Delete.
42255 (__INTERNAL_SYSCALL_STRING): Delete.
42256 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42257 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42258 (PSEUDO): Reimplement to do errno handling inline.
42259 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42260 (SYSCALL_ERROR_HANDLER): New macro.
42261 (__SYSCALL_STRING): Do not do errno handling in asm.
42262 (__CLONE_SYSCALL_STRING): Delete.
42263 (__INTERNAL_SYSCALL_STRING): Delete.
42264 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42265 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42266 i386.
42267 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42268 (inline_syscall*): Add 'err' argument.
42269 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42270 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42271 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42272 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42273
42274 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42275 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42276
2bc17433
AS
422772011-08-30 Andreas Schwab <schwab@redhat.com>
42278
42279 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42280
fbeb5f4d
JO
422812011-08-29 Jiri Olsa <jolsa@redhat.com>
42282
42283 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42284 directive.
42285
ad69cc26
DM
422862011-08-24 David S. Miller <davem@davemloft.net>
42287
42288 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42289
39dd69df
AS
422902011-08-24 Andreas Schwab <schwab@redhat.com>
42291
42292 * elf/Makefile: Add rules to build and run unload8 test.
42293 * elf/unload8.c: New file.
42294 * elf/unload8mod1.c: New file.
42295 * elf/unload8mod1x.c: New file.
42296 * elf/unload8mod2.c: New file.
42297 * elf/unload8mod3.c: New file.
42298
42299 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42300 it wasn't used.
42301
2c0b250a
DM
423022011-08-23 David S. Miller <davem@davemloft.net>
42303
42304 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42305 subtract stack bias.
42306 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42307 %sp not %fp in calculations.
42308 (_JMPBUF_UNWINDS_ADJ): Likewise.
42309
22044b48
DM
42310 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42311 (aio_suspend): Call it to force an exception region around the
42312 AIO_MISC_WAIT() invocation.
42313
2cae4995
AS
423142011-08-23 Andreas Schwab <schwab@redhat.com>
42315
42316 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42317 backslash.
42318
873a772e
AJ
423192011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42320
42321 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42322 protection macro.
42323 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42324 and <dl-machine.h>.
42325 (Elf64_FuncDesc): Remove.
42326
25ad0df1
DM
423272011-08-22 David S. Miller <davem@davemloft.net>
42328
42329 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42330 sigaltstack check, add missing cfi directives.
42331 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42332 missing cfi directives, and sigaltstack handling.
42333
e888bcbe
AS
423342011-08-16 Andreas Schwab <schwab@redhat.com>
42335
42336 [BZ #11724]
42337 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42338 object is seen twice.
42339 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42340
42341 * elf/Makefile (distribute): Add tst-initorder2.c.
42342 (tests): Add tst-initorder2.
42343 (modules-names): Add tst-initorder2a tst-initorder2b
42344 tst-initorder2c tst-initorder2d. Add rules to build them.
42345 ($(objpfx)tst-initorder2.out): New rule.
42346 * elf/tst-initorder2.c: New file.
42347 * elf/tst-initorder2.exp: New file.
42348
87162f46
AS
423492011-08-22 Andreas Schwab <schwab@redhat.com>
42350
70538b7f
AS
42351 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42352
f55ffe58
AS
42353 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42354 dependencies back to end of function.
42355
87162f46
AS
42356 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42357 $(elfobjdir)/ld.so.
42358
91b392a4
UD
423592011-08-21 Ulrich Drepper <drepper@gmail.com>
42360
42361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42362 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42364 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42365 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42366 of __vdso_gettimeofday.
42367 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42368 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42369 attribute_hidden.
42370 (_libc_vdso_platform_setup): Remove initialization of
42371 __vdso_gettimeofday and __vdso_time.
42372
5c43483f
UD
423732011-08-20 Ulrich Drepper <drepper@gmail.com>
42374
775a77e7
UD
42375 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42376 and fgetc_unlocked.
42377 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42378 getc_unlocked.
89f447ed 42379
49c74ba9
UD
42380 * elf/dl-open.c (add_to_global): Report additions to the global scope
42381 for LD_DEBUG=scopes.
42382 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42383 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42384
5c43483f
UD
42385 [BZ #13114]
42386 * stdio-common/Makefile (tests): Add bug24.
42387 * stdio-common/bug24.c: New file.
42388
a101b025
AJ
423892011-08-19 Andreas Jaeger <aj@suse.de>
42390
42391 [BZ #13114]
42392 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42393 non-existant file when using close-on-exec mode.
42394
c88f1766
UD
423952011-08-20 Ulrich Drepper <drepper@gmail.com>
42396
0276a718
UD
42397 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42398 the very first instruction.
42399
c88f1766
UD
42400 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42401 the CFI state in the end.
42402 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42403 inclusion of dl-trampoline.h.
42404 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42405
51ccffa0
AS
424062011-08-19 Andreas Schwab <schwab@redhat.com>
42407
94d7165f
AS
42408 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42409 expectations for long double.
42410
51ccffa0
AS
42411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42412 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42413
fd708658 424142011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42415
42416 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42417 artificual limit depends upon the system page size.
42418
44f0a71e
UD
424192011-08-17 Ulrich Drepper <drepper@gmail.com>
42420
42421 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42422 * resolv/Makefile: Define CFLAGS-libresolv.
42423
8de79a24
AS
424242011-08-17 Andreas Schwab <schwab@redhat.com>
42425
42426 * nss/makedb.c (compute_tables): Make variables used in nested
42427 function static.
42428
27724598
UD
424292011-08-17 Ulrich Drepper <drepper@gmail.com>
42430
c5305d88
UD
42431 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42432 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42433 if buffer was too small.
42434
27724598
UD
42435 * elf/pldd.c (main): Attach to all threads in the process.
42436 Rewrite /proc handling to use *at functions.
42437
076fe015
UD
424382011-08-16 Ulrich Drepper <drepper@gmail.com>
42439
174baab3
UD
42440 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42441 specifies first scope to show.
42442 (dl_open_worker): Update callers. Move printing scope of new
42443 object to before the relocation.
44f0a71e 42444 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42445 * sysdeps/generic/ldsodefs.h: Update declaration.
42446
076fe015
UD
42447 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42448 string for the scope number.
42449
a60df2c3
UD
424502011-08-14 Ulrich Drepper <drepper@gmail.com>
42451
42452 * nscd/servicescache.c (cache_addserv): Make sure written is always
42453 initialized.
42454
5e4287d1
RM
424552011-08-14 Roland McGrath <roland@hack.frob.com>
42456
85ae0589
RM
42457 * sysdeps/i386/i486/bits/atomic.h
42458 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42459 statement expression, so as to suppress "set but not used" warning.
42460 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42461
69f63097
RM
42462 * string/strncat.c (STRNCAT): Use prototype definition.
42463
675456ef
RM
42464 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42465 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42466 -Iprograms here.
42467 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42468 (localedef-modules): Add localedef.
42469 (locale-modules): Add locale.
42470
5e4287d1
RM
42471 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42472 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42473 to avoid a warning.
42474
9c96ff23
DM
424752011-08-14 David S. Miller <davem@davemloft.net>
42476
42477 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42478 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42479
f9ddf089
UD
424802011-08-13 Ulrich Drepper <drepper@gmail.com>
42481
44f0a71e 42482 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42483 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42484 * elf/rtld.c (dl_main): Set l_name of vDSO.
42485 Call _dl_show_scope when DL_DEBUG_SCOPES.
42486 (process_dl_debug): Recognize scopes flag and also set it for all.
42487 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42488 Declare _dl_show_scope.
42489
1dc27704
UD
42490 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42491 (do_dlopen): Pass caller_dlopen to dl_open.
42492 (__libc_dlopen_mode): Initialize caller_dlopen.
42493
f9ddf089
UD
42494 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42495 of libc. Make tolower call locale-independent. Optimize a bit by
42496 using isdigit instead of isalnum.
42497 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42498
9ac533d3
UD
424992011-08-12 Ulrich Drepper <drepper@gmail.com>
42500
42501 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42502 was a dependency or dynamically loaded.
42503
89edf2e9
UD
425042011-08-11 Ulrich Drepper <drepper@gmail.com>
42505
8e999d29
UD
42506 * intl/l10nflist.c: Allow architecture-specific pop function.
42507 * sysdeps/x86_64/l10nflist.c: New file.
42508
89edf2e9
UD
42509 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42510 classification.
42511
14d96785
AS
425122011-08-10 Andreas Schwab <schwab@redhat.com>
42513
42514 * include/dirent.h: Add libc_hidden_proto for scandirat and
42515 scandirat64. Don't declare __scandirat64.
42516 * dirent/scandirat.c: Add libc_hidden_def.
42517 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42518 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42519
6761ac04
DM
425202011-08-10 David S. Miller <davem@davemloft.net>
42521
42522 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42523 enum.
42524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42525 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42526 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42527
c55fbd1e
UD
425282011-08-09 Ulrich Drepper <drepper@gmail.com>
42529
42530 * Versions.def [libc]: Add GLIBC_2.15.
42531 * dirent/Makefile (routines): Add scandirat and scandirat64.
42532 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42533 GLIBC_2.15.
42534 * dirent/dirent.h: Declare scandirat and scandirat64.
42535 * dirent/scandirat.c: New file.
42536 * dirent/scandirat64.c: New file.
42537 * sysdeps/wordsize-64/scandirat.c: New file.
42538 * sysdeps/wordsize-64/scandirat64.c: New file.
42539 * dirent/opendir.c: Define opendirat.
42540 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42541 using scandirat.
42542 * dirent/scandir64.c: Adjust for scandir.c change.
42543 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42544 __scandirat64, and __scandir_cancel_handler.
42545 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42546 additional parameter and use openat instead of open (outside of ld.so).
42547 Add new __opendir as wrapper around __opendirat.
42548 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42549 here without requiring old scandirat implementation.
42550
879165f2
UD
425512011-08-08 Ulrich Drepper <drepper@gmail.com>
42552
42553 * dirent/scandir.c (cancel_handler): Renamed to
42554 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42555 defined. Adjust users.
42556 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42557 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42558
cb7e923b
UD
425592011-08-04 Ulrich Drepper <drepper@gmail.com>
42560
16292edd
UD
42561 * string/test-string.h (IMPL): Use __STRING to expand name and then
42562 stringify it.
42563
cb7e923b
UD
42564 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42565 of cleanups.
42566
cff82933
LD
425672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42568
42569 * string/Makefile: Update.
42570 (strop-tests): Append strncat.
42571 * string/test-wcscmp.c: New file.
42572 New comprehensive test for wcscmp.
42573 * string/test-strcmp.c: Update.
42574 (WIDE): New define.
42575
9be9bfcc
AS
425762011-07-22 Andreas Schwab <schwab@redhat.com>
42577
42578 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42579 line.
42580
2e96f1c7
AS
425812011-07-26 Andreas Schwab <schwab@redhat.com>
42582
42583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42584 encoding to ACE if AI_IDN.
42585
85188888
JJ
425862011-08-01 Jakub Jelinek <jakub@redhat.com>
42587
42588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42589 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42590
5fa16e9b
LD
425912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42592
42593 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42594 Fix overflow bug in strncat.
42595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42596
42597 * string/test-strncat.c: Update.
42598 Add new tests for checking overflow bugs.
42599
426002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42601
42602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42603 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42604 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42605 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42606 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42607 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42608 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42609 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42610 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42611
42612 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42613 (USE_AS_STRCAT): Define.
42614 Add strcat and strncat support.
42615 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42616
8c1a459f
AS
426172011-07-25 Andreas Schwab <schwab@redhat.com>
42618
42619 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42620 __n bigger than INT_MAX+1.
42621 (__strncmp_g): Likewise.
42622
bba33c28
UD
426232011-07-23 Ulrich Drepper <drepper@gmail.com>
42624
798be72d
UD
42625 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42626 * libio/stido.h: Likewise.
42627
8accd4dc
UD
42628 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42629 (AF_NFC): Define.
42630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42631 (AF_NFC): Define.
42632
cbff0d96
UD
42633 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42634 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42635 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42636 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42637 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42638
9191c04a
UD
42639 [BZ #13021]
42640 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42641 installed.
42642
bba33c28
UD
42643 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42644 typo.
42645 (_dl_x86_64_save_sse): Likewise.
42646
90f139dd
UD
426472011-07-22 Ulrich Drepper <drepper@gmail.com>
42648
1aae088a
UD
42649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42650 OSXSAVE.
42651 (_dl_x86_64_save_sse): Likewise.
42652
8e2045f5
UD
42653 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42654
90f139dd
UD
42655 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42656
1d002f25
AS
426572011-07-21 Andreas Schwab <schwab@redhat.com>
42658
42659 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42660 change.
42661 (_dl_x86_64_save_sse): Use correct AVX check.
42662
21137f89
UD
426632011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42664
42665 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42666 bug in strncpy/strncat.
42667 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42668
a65c0b7a
UD
426692011-07-21 Ulrich Drepper <drepper@gmail.com>
42670
42671 * string/tester.c (test_strcat): Add tests for different alignments
42672 of source and destination.
42673 (test_strncat): Likewise.
42674
6986b98a
UD
426752011-07-20 Ulrich Drepper <drepper@gmail.com>
42676
90bb2039
UD
42677 [BZ #12852]
42678 * posix/glob.c (glob): Check passed in values before using them in
42679 expressions to avoid some overflows.
42680 (glob_in_dir): Likewise.
42681
5644ef54
UD
42682 [BZ #13007]
42683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42684 check for AVX enablement so that we don't crash with old kernels and
42685 new hardware.
42686 * elf/tst-audit4.c: Add same checks here.
42687 * elf/tst-audit6.c: Likewise.
42688
42689 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42690
bfc9dc9b
AS
426912011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42692
42693 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42694
702e64bb
UD
426952011-07-20 Ulrich Drepper <drepper@gmail.com>
42696
42697 * po/cs.po: Update from translation team.
42698 * po/bg.po: Likewise.
42699
295e904f
MP
427002011-07-12 Marek Polacek <mpolacek@redhat.com>
42701
42702 * misc/sys/cdefs.h: Add support for const attribute.
42703 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42704 to gnu_dev_{major,minor,makedev} functions.
42705
3ff94596
MP
427062011-07-20 Marek Polacek <mpolacek@redhat.com>
42707
42708 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42709
28b59fca
AS
427102011-07-20 Andreas Schwab <schwab@redhat.com>
42711
42712 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42713 strlen results.
42714
19df733e
AK
427152011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42716
42717 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42718 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42719 register in order to avoid conflicts with the soft frame pointer
42720 being held in r11 when necessary.
42721 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42722 (INTERNAL_VSYSCALL_NCS): Likewise.
42723
c8835729
MP
427242011-07-14 Marek Polacek <mpolacek@redhat.com>
42725
42726 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42727 * elf/dl-fini.c (_dl_fini): Adjust caller.
42728 * elf/dl-close.c (_dl_close_worker): Likewise.
42729 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42730
b902330c
MP
427312011-07-15 Marek Polacek <mpolacek@redhat.com>
42732
8991e135
MP
42733 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42734 "aux_cache->nlibs < 0".
42735
b902330c
MP
42736 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42737 in the reload-count case.
42738
99710781
LD
427392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42740
42741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42742 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42743 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42744 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42745 * sysdeps/x86_64/multiarch/strcat.S: New file.
42746 * sysdeps/x86_64/multiarch/strncat.S: New file.
42747 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42748 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42749 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42750 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42751 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42752 (USE_AS_STRCAT): Define.
42753 Add strcat and strncat support.
42754 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42755 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42756 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42757 * string/strncat.c: Update.
42758 (USE_AS_STRNCAT): Define.
42759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42760 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42761 and i7.
42762 * sysdeps/x86_64/multiarch/init-arch.h
42763 (bit_Prefer_PMINUB_for_stringop): New.
42764 (index_Prefer_PMINUB_for_stringop): Likewise.
42765 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42766 bit_Prefer_PMINUB_for_stringop.
42767
7dc6bd90
UD
427682011-07-19 Ulrich Drepper <drepper@gmail.com>
42769
42770 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42771 buffer64.
42772 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42773 of casting of buffer.
42774 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42775 buffer32 and buffer64.
42776 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42777 writes instead of casting of buffer.
42778 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42779 buffer32.
42780 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42781 casting of buffer.
42782
e0e72284
AS
427832011-07-19 Andreas Schwab <schwab@redhat.com>
42784
42785 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42786
feb1eb0b
UD
427872011-07-19 Ulrich Drepper <drepper@gmail.com>
42788
42789 * nscd/nscd.c (termination_handler): Don't do anything for a database
42790 if it has not yet been initialized.
42791
298711ff
UD
427922011-07-18 Ulrich Drepper <drepper@gmail.com>
42793
42794 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42795
427962011-07-15 Marek Polacek <mpolacek@redhat.com>
42797
42798 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42799
f9d68389
UD
428002011-07-18 Ulrich Drepper <drepper@gmail.com>
42801
42802 * po/nl.po: Update from translation team.
42803 * po/sv.po: Likewise.
42804
db290cf5
RM
428052011-07-16 Roland McGrath <roland@hack.frob.com>
42806
42807 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42808 now disallowed by GCC.
5c550700 42809
fd5e21c7
RM
42810 * configure.in (use-default-link): Default to yes if a test -shared
42811 link meets our qualifications.
42812 * configure: Regenerated.
42813
5c550700
RM
42814 * config.make.in (output-format): New variable.
42815 * configure.in: Check for ld --print-output-format support.
42816 * configure: Regenerated.
42817 * Makerules ($(common-objpfx)format.lds)
42818 [$(output-format) != unknown]: Just use $(output-format),
42819 instead of the linker-script munging.
42820
9fa2c032
RM
428212011-07-14 Roland McGrath <roland@hack.frob.com>
42822
a6928d51
RM
42823 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42824 of $(common-objpfx)shlib.lds.
42825 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42826
661607b3
RM
42827 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42828 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42829
9fa2c032
RM
42830 * configure.in (-z relro check): Adjust test code to add a large
42831 writable data section after it.
42832 * configure: Regenerated.
42833
defe9061
RM
428342011-07-11 Roland McGrath <roland@hack.frob.com>
42835
42836 * configure.in (-z relro check): Fix test code to make the variable
42837 truly const.
42838 * configure: Regenerated.
42839
319b9ad4
UD
428402011-07-11 Ulrich Drepper <drepper@gmail.com>
42841
42842 * nscd/nscd.h (struct traced_file): Define.
42843 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42844 elements. Add traced_files.
42845 (inotify_fd): Declare.
42846 (register_traced_file): Declare.
42847 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42848 (inotify_fd): Export.
42849 (resolv_conf_descr): Remove.
42850 (nscd_init): Move inotify descriptor creation to main.
42851 Don't register files for notification here.
42852 (register_traced_file): New function.
42853 (invalidate_cache): Don't use reset_res to determine whether to call
42854 res_init, go through the list of registered files.
42855 (main_loop_poll): The inotify descriptors are now stored in the
42856 structures for the traced files.
42857 (main_loop_epoll): Likewise
42858 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42859 to __nss_disable_nscd.
42860 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42861 for a database anymore. Check the records for all the registered
42862 files instead.
42863 * nss/Makefile (libnss_files-routines): Add files-init.
42864 (libnss_db-routines): Add db-init.
42865 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42866 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42867 * nss/nss_db/db-init.c: New file.
42868 * nss/nss_files/files-init.c: New file.
42869 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42870 __nss_lookup_function.
42871 (__nss_lookup_function): Call nss_load_library.
42872 (nss_load_all_libraries): New function.
42873 (__nss_disable_nscd): Take parameter with callback function for files
42874 to register. Set is_nscd. Load all the DSOs for the NSS modules
42875 used for the cached services.
42876 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42877 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42878 options for features to all the files in nscd.
42879
42880 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42881
23bee3e8
RM
428822011-07-10 Roland McGrath <roland@hack.frob.com>
42883
42884 * csu/elf-init.c (__libc_csu_init): Comment typo.
42885
46a5b7f0
UD
428862011-07-09 Ulrich Drepper <drepper@gmail.com>
42887
42888 * po/pl.po: Update from translation team.
42889 * po/ja.po: Likewise.
42890 * po/ru.po: Likewise.
42891 * po/ko.po: Likewise.
42892 * po/fr.po: Likewise.
42893
d30cf5bb
RM
428942011-07-09 Roland McGrath <roland@hack.frob.com>
42895
113ddea4
RM
42896 * configure.in (.ctors/.dtors header and trailer check):
42897 Use an empirical test on a built program.
42898 * configure: Regenerated.
42899
574920b4
RM
42900 * configure.in (-z relro check): Use an empirical test on a built DSO.
42901 Detect, but do not require, on ia64.
42902 * configure: Regenerated.
42903
d30cf5bb
RM
42904 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42905 Update tests that use readelf to use $READELF instead.
42906 * configure: Regenerated.
42907
8538fdb3
UD
429082011-07-08 Ulrich Drepper <drepper@gmail.com>
42909
42910 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42911 if the result is not used.
42912
04d08991
AJ
429132011-07-05 Andreas Jaeger <aj@suse.de>
42914
42915 [BZ#9696]
42916 * stdlib/tst-strtod.c: Add testcase.
42917
de283087
AD
429182011-07-07 Ulrich Drepper <drepper@gmail.com>
42919
4e5f31c8 42920 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42921 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42922 The latter has a higher limit. Take additional parameter to pass to
42923 the new function.
42924 (__pathconf): Pass file to __statfs_link_max.
42925 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42926 __statfs_link_max.
42927 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42928 __statfs_link_max.
42929
de283087
AD
42930 [BZ #12868]
42931 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42932 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42933 Handle Lustre.
42934 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42935 (__statfs_filesize_max): Likewise.
42936 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42937
c75fa153
AJ
429382011-07-05 Andreas Jaeger <aj@suse.de>
42939
42940 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42941
1a544854
UD
429422011-07-06 Marek Polacek <mpolacek@redhat.com>
42943
42944 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42945 `status' variable.
42946 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42947 Likewise.
42948
6f0eec67
UD
429492011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42950
42951 * Makefile (strop-tests): Add strncat.
42952 * string/test-strncat.c: New file.
42953
aae30307
UD
429542011-06-30 Marek Polacek <mpolacek@redhat.com>
42955
42956 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42957
c0cfb5eb
UD
429582011-06-21 Andreas Jaeger <aj@suse.de>
42959
42960 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42961 Copy rule from iconvdata/Makefile.
42962
01636b21
UD
429632011-07-06 Ulrich Drepper <drepper@gmail.com>
42964
42965 [BZ #12922]
42966 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42967 but no long options are defined, just return 'W'.
42968
9895c8bc
UD
429692011-06-22 Marek Polacek <mpolacek@redhat.com>
42970
42971 [BZ #9696]
42972 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42973
5d4cf042
UD
429742011-07-06 Ulrich Drepper <drepper@gmail.com>
42975
42976 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42977 netgroups to read.
960e5535 42978 (innetgr): Likewise.
5d4cf042 42979
751eb97e
RM
429802011-07-05 Roland McGrath <roland@hack.frob.com>
42981
42982 * config.make.in (install_root): Default to $(DESTDIR).
42983
f15f1e45
UD
429842011-07-05 Ulrich Drepper <drepper@gmail.com>
42985
42986 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42987
4e34ac6a
RM
429882011-07-02 Roland McGrath <roland@hack.frob.com>
42989
5e9b6af4
RM
42990 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42991
84f9ea0f
RM
42992 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42993 containing directory rather than embedding absolute directory names.
42994
ea5ee9f7
RM
42995 * scripts/check-local-headers.sh: Rewritten using awk.
42996 Match by word, not by line. Print error messages for matches.
42997 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42998
1b74661a
RM
42999 * Makerules [shlib-lds-flags empty]:
43000 ($(common-objpfx)libc_pic.opts): New target.
43001 ($(common-objpfx)libc_pic.os.clean): New target.
43002 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43003
43004 * config.make.in (OBJCOPY): New variable.
43005 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43006 * configure: Regenerated.
43007
f781ef40
RM
43008 * config.make.in (use-default-link): New variable.
43009 * configure.in (use_default_link): Grok --with-default-link to set it.
43010 * configure: Regenerated.
43011 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43012 (shlib-lds, shlib-lds-flags): Define to empty.
43013
2d4fa81e
RM
43014 * Makerules (shlib-lds): New variable.
43015 (shlib-lds-flags): New variable.
43016 (build-shlib, build-moduile, build-module-asneeded): Use it.
43017 ($(common-objpfx)libc.so): Use $(shlib-lds).
43018 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43019 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43020
31fffa6b
RM
43021 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43022 DT_FLAGS/DT_FLAGS_1 with zero flags.
43023
4e34ac6a
RM
43024 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43025 linker script munging.
43026
fcfc776b
UD
430272011-07-02 Ulrich Drepper <drepper@gmail.com>
43028
43029 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43030 as 128-bit value.
43031 * crypt/sha512.c (sha512_process_block): Perform total addition using
43032 128-bit if possible.
43033 (__sha512_finish_ctx): Likewise.
43034 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43035 as 64-bit value.
43036 * crypt/sha256.c (SWAP64): Define.
43037 (sha256_process_block): Perform total addition using 64-bit if
43038 possible.
43039 (__sha256_finish_ctx): Likewise.
43040
99231d9a
UD
430412011-07-01 Ulrich Drepper <drepper@gmail.com>
43042
43043 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43044 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43045 * nscd/hstcache.c (cache_addhst): Likewise.
43046 * nscd/grpcache.c (cache_addgr): Likewise.
43047 * nscd/aicache.c (addhstaiX): Likewise
43048 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43049
445b4a53
TK
430502011-07-01 Thorsten Kukuk <kukuk@suse.de>
43051
43052 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43053 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43054 * nscd/hstcache.c (cache_addhst): Likewise.
43055 * nscd/grpcache.c (cache_addgr): Likewise.
43056 * nscd/aicache.c (addhstaiX): Likewise
43057
6d4d8e8e
AS
430582011-07-01 Andreas Schwab <schwab@redhat.com>
43059
43060 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43061 domain only when needed.
43062
89f654c5
AS
430632011-06-30 Andreas Schwab <schwab@redhat.com>
43064
43065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43066 is always restored.
43067
cf3b23ff
UD
430682011-06-29 Ulrich Drepper <drepper@gmail.com>
43069
43070 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43071 are re-adding the entry.
43072 * nscd/servicescache.c (cache_addserv): Likewise.
43073
751626f9
AJ
430742011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43075
43076 * sysdeps/generic/dl-irel.h: fix protection against multiple
43077 inclusions.
43078 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43079
9113ea1f
UD
430802011-06-28 Ulrich Drepper <drepper@gmail.com>
43081
5c0b8d90
UD
43082 [BZ #12935]
43083 * malloc/memusage.sh: Fix quoting in message.
43084 * debug/xtrace.sh: Likewise.
43085
9113ea1f
UD
43086 * configure.in: Remove support for --experimental-malloc option, make
43087 it the default.
43088 * config.make.in: Likewise.
43089 * malloc/Makefile: Likewise.
43090
a4172181
AS
430912011-06-27 Andreas Schwab <schwab@redhat.com>
43092
43093 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43094 two-byte characters.
43095
78a7eee7
RM
430962011-06-27 Roland McGrath <roland@hack.frob.com>
43097
62bede13
RM
43098 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43099 AC_CACHE_CHECK invocation.
43100 * configure: Regenerated.
43101
78a7eee7
RM
43102 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43103
5ce33a62
UD
431042011-06-27 Ulrich Drepper <drepper@gmail.com>
43105
034807a9
UD
43106 [BZ #12350]
43107 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43108 bit from old_res_options.
43109
4902da17
UD
43110 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43111
5ce33a62
UD
43112 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43113 value type for setfct.
43114
c2344f56
L
431152011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43116
43117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43118 __gettimeofday instead of gettimeofday.
43119
68468076
UD
431202011-06-26 Ulrich Drepper <drepper@gmail.com>
43121
43122 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43123
acb0d739
L
431242011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43125
43126 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43127
43128 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43129 info.
43130
8912479f
L
431312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43132
43133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43134 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43135 strcpy-sse2-unaligned strncpy-sse2-unaligned
43136 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43137 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43138 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43139 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43140 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43141 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43142 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43143 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43144 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43145 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43146 (STRCPY): Support SSE2 and SSSE3 versions.
43147
d5495a11
UD
431482011-06-24 Ulrich Drepper <drepper@gmail.com>
43149
43150 [BZ #12874]
43151 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43152 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43153 kernels which artificially limit size of requests.
43154
0b1cbaae
L
431552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43156
43157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43158 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43159 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43160 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43161 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43162 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43163 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43164 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43165 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43167 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43168 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43169 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43170 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43171 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43173 Enable unaligned load optimization for Intel Core i3, i5 and i7
43174 processors.
43175 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43176 Define.
43177 (index_Fast_Unaligned_Load): Define.
43178 (HAS_FAST_UNALIGNED_LOAD): Define.
43179
07f494a0
MP
431802011-06-23 Marek Polacek <mpolacek@redhat.com>
43181
43182 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43183
fa3fc0fe
UD
431842011-06-22 Ulrich Drepper <drepper@gmail.com>
43185
43186 [BZ #12907]
43187 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43188 until it is clear that the information is realy needed.
43189 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43190
e12df166
AS
431912011-06-22 Andreas Schwab <schwab@redhat.com>
43192
43193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43194
852eb34d
UD
431952011-06-22 Ulrich Drepper <drepper@gmail.com>
43196
84e2a551
UD
43197 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43198 /sys/devices/system/cpu/online if it is usable.
43199
852eb34d
UD
43200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43201 reading the information from the /proc filesystem to once a second.
43202
6e502e19
UD
432032011-06-21 Andreas Jaeger <aj@suse.de>
43204
43205 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43206 NULL after inclusion of kernel headers.
43207
75d39ff2
UD
432082011-06-21 Ulrich Drepper <drepper@gmail.com>
43209
51f9aa6a
UD
43210 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43211 calls to internal_setent.
43212
c0244a9d
UD
43213 [BZ #12885]
43214 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43215 addresses using gethostbyname4_r ignore IPv4 addresses.
43216
c5e3c2ae
UD
43217 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43218 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43219
75d39ff2
UD
43220 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43221
42675c6f
DM
432222011-06-20 David S. Miller <davem@davemloft.net>
43223
43224 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43225 inclusions.
43226 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43227
43228 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43229 (elf_irel): Use it.
43230 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43231 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43232 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43233 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43234 * sysdeps/x86_64/dl-irel.h: Likewise.
43235
43236 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43237 * elf/dl-sym.c: Likewise.
43238
57912a71
UD
432392011-06-15 Ulrich Drepper <drepper@gmail.com>
43240
43241 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43242 need to dereference resplen2.
43243
ee22793d
AS
432442011-06-14 Andreas Schwab <schwab@redhat.com>
43245
43246 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43247
a9e836b0
UD
432482011-06-15 Ulrich Drepper <drepper@gmail.com>
43249
77fb9117
UD
43250 * Makeconfig: Define vardbdir and inst_vardbdir.
43251 * nss/Makefile: Add rules to install db-Makefile.
43252
40c1b22c
UD
43253 * nss/nss_db/db-XXX.c: Cleanup.
43254
9f2da732
UD
43255 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43256 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43257 GLIBC_PRIVATE.
43258 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43259 * nss/makedb.c: Implement -g option to specify that value strings
43260 are generated and should not be added to table iterated over for
43261 get*ent calls.
43262 * nss/nss_db/db-initgroups.c: New file.
43263
82e9a1f7
UD
43264 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43265 interface.
43266
c41af17e
UD
43267 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43268 (internal_getgrouplist): Adjust to name change.
43269 Update use_initgroups_entry if this is not the first call.
43270 * nss/databases.def: Add initgroups entry.
43271
a9e836b0
UD
43272 * nss/makedb.c (compute_tables): Check result of multiple hash table
43273 sizes to minimize maximum chain length.
43274
2666d441
UD
432752011-06-14 Ulrich Drepper <drepper@gmail.com>
43276
43277 * Versions.def: Add entry for libnss_db.
43278 * shlib-versions: Likewise.
43279 * nss/Makefile: Add rules to build libnss_db.
43280 * nss/Versions: Add libnss_db information. Organize libnss_files
43281 entries better.
43282 * nss/db-Makefile: Add gshadow support. Change rules for the new
43283 makedb progra. Some minor improvements to generate smaller files.
43284 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43285 here from...
43286 * nss/makedb.c: ...here.
43287 Improve database format to be smaller and require less memory at
43288 runtime.
43289 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43290 db anymore.
43291 * nss/nss_db/db-netgrp.c: Likewise.
43292 * nss/nss_db/db-open.c: Likewise.
43293 * nss/nss_files/flies-XXX.x: Adjust comments.
43294 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43295 * nss/nss_files/files-grp.c: Likewise.
43296 * nss/nss_files/files-hosts.c: Likewise.
43297 * nss/nss_files/files-network.c: Likewise.
43298 * nss/nss_files/files-proto.c: Likewise.
43299 * nss/nss_files/files-pwd.c: Likewise.
43300 * nss/nss_files/files-rpc.c: Likewise.
43301 * nss/nss_files/files-service.c: Likewise.
43302 * nss/nss_files/files-sgrp.c: Likewise.
43303 * nss/nss_files/files-spwd.c: Likewise.
43304 * nss/nss_db/db-alias.c: Removed.
43305 * nss/nss_db/dummy-db.h: Removed.
43306
9ee76b5a
UD
433072011-06-02 Ulrich Drepper <drepper@gmail.com>
43308
43309 * nss/makedb.c: Rewritten to not use database library.
43310 * nss/Makefile: Update to build new makedb program.
43311
c71ca1f8
AJ
433122011-06-14 Andreas Jaeger <aj@suse.de>
43313
43314 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43315 memset declaration.
43316
3154bfb8
UD
433172011-06-10 Andreas Schwab <schwab@redhat.com>
43318
43319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43320 tmpbuf.
43321
b350afab
RM
433222011-06-10 Roland McGrath <roland@hack.frob.com>
43323
decd4e50
RM
43324 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43325 * elf/Makefile ($(objpfx)ld.so): Likewise.
43326
5615eaf2
RM
43327 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43328 Don't list ld.so twice in dependencies.
43329
43330 * posix/bug-regex31.c: Include <stdlib.h>.
43331
43332 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43333
43334 * nis/nss_compat/compat-spwd.c
43335 (getspent_next_nss_netgr): Remove unused variable.
43336 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43337
43338 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43339 nonmembers" output to use the right array.
43340
43341 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43342
43343 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43344
43345 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43346 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43347 * catgets/gencat.c (read_input_file): Likewise.
43348 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43349
43350 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43351 variable definition inside #if's controlling its use.
43352
43353 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43354
43355 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43356
43357 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43358
43359 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43360 unreachable code.
43361
43362 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43363
b68e08db
RM
43364 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43365 * configure: Regenerated.
43366
b350afab
RM
43367 * Makerules: Revert last change.
43368 * elf/Makefile: Likewise.
43369
28368601
RM
433702011-06-09 Roland McGrath <roland@hack.frob.com>
43371
43372 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43373 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43374 (reloc-link): Likewise.
43375
11988f8f
UD
433762011-06-09 Ulrich Drepper <drepper@gmail.com>
43377
43378 * elf/Makefile: Add rules to build pldd.
43379 * elf/pldd.c: New file.
43380 * elf/pldd-xx.c: New file.
43381
e80fab37
UD
433822011-06-07 Ulrich Drepper <drepper@gmail.com>
43383
43384 * version.h: Update for 2.15 development version.
43385
9b849836
DM
433862011-06-07 David S. Miller <davem@davemloft.net>
43387
43388 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43389 ifuncs.
43390 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43391 elf_machine_lazy_rel): Likewise.
43392 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43393 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43394 elf_machine_lazy_rel): Likewise.
43395 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43396 dl_hwcap via passed in argument.
43397 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43398 Likewise.
43399
5a31b283
AK
434002011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43401
43402 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43403
069e52f8
RM
434042011-06-06 Roland McGrath <roland@hack.frob.com>
43405
43406 [BZ #12849]
43407 * manual/fdl-1.1.texi: New file, verbatim from:
43408 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43409 * manual/lgpl-2.1.texi: New file, verbatim from:
43410 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43411 * manual/Makefile (licenses): New variable, list those new file names.
43412 (texis): Use it.
43413 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43414
43415 * manual/fdl.texi: File removed.
43416 * manual/lesser.texi: File removed.
43417 * manual/libc.texinfo (Copying, Documentation License):
43418 Use new @include file names, put @appendix directive before @include.
43419
f16846a5
JJ
434202011-06-04 Jakub Jelinek <jakub@redhat.com>
43421
43422 [BZ #12841]
43423 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43424 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43425 (mq_open): Add __NTH.
43426
3d29045b
L
434272011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43428
43429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43430 Assume Intel Core i3/i5/i7 processor if AVX is available.
43431
8c297311
UD
434322011-05-31 Ulrich Drepper <drepper@gmail.com>
43433
43434 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43435 typo.
43436
c8fc0c91
UD
434372011-05-31 Andreas Schwab <schwab@redhat.com>
43438
43439 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43440 memory. Use alloca_account. Fix memory leak when retrying.
43441
5b27a807
UD
434422011-05-31 Ulrich Drepper <drepper@gmail.com>
43443
356f8bc6
UD
43444 * version.h (RELEASE): Bump for 2.14 release.
43445 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43446
5b27a807
UD
43447 * config.make.in (RANLIB): Remove entry.
43448
01f16ab0
UD
434492011-05-30 Ulrich Drepper <drepper@gmail.com>
43450
41fce8bd
UD
43451 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43452 (libc.pot): Work around missing support for .ksh extension in xgettext.
43453
4769ae77
UD
43454 [BZ #12684]
43455 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43456 if both request failed.
43457 (send_dg): In case of server errors clear resplen or *resplen2.
43458
6b1e7d19
UD
43459 [BZ #12454]
43460 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43461 when there are multiple maps.
43462 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43463 (_dl_fini): Remove test here.
43464
01f16ab0
UD
43465 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43466
b1ebd700
UD
434672011-05-29 Ulrich Drepper <drepper@gmail.com>
43468
7ae22829
UD
43469 [BZ #12350]
43470 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43471 bit from old_res_options.
43472 (gaih_inet): Likewise.
43473
553149f6 43474 [BZ #11099]
18a84741 43475 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43476 as signed.
43477
652ffab1
UD
43478 * resolv/res_init.c (res_setoptions): Make the code more compact.
43479
16985fd0
UD
43480 [BZ #11558]
43481 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43482 set RES_USEVC.
43483
0464f746
UD
43484 [BZ #11634]
43485 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43486
7d17596c
UD
43487 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43488
cf6bbbd7
UD
43489 [BZ #11781]
43490 * malloc/malloc.h: Declare malloc hook variables as volatile.
43491
13f1ab36
UD
43492 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43493 in last patch.
43494
b1ebd700
UD
43495 [BZ #11799]
43496 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 43497 raise in the comment.
80e2212d
UD
43498 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43499 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43500 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 43501
ce67228d
UD
435022011-05-28 Ulrich Drepper <drepper@gmail.com>
43503
8887a920
UD
43504 [BZ #12811]
43505 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43506 grow the buffers more if it already has to be sufficient.
43507 (build_wcs_upper_buffer): Likewise.
43508 * posix/regexec.c (check_matching): Likewise.
43509 (clean_state_log_if_needed): Likewise.
43510 (extend_buffers): Don't enlarge buffers beyond size of the input
43511 buffer.
43512 Patches mostly by Emil Wojak <emil@wojak.eu>.
43513 * posix/bug-regex32.c: New file.
43514 * posix/Makefile (tests): Add bug-regex32.
43515
4f031072
UD
43516 * locale/findlocale.c (_nl_find_locale): Return right away if
43517 _nl_explode_name failed.
43518 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43519
d0478f0c
UD
43520 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43521
de81b246
UD
43522 * debug/xtrace.sh: Unify messages.
43523 * malloc/memusage.sh: Likewise.
43524
c738465a
UD
43525 [BZ #12813]
43526 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43527 time symbol from vDSO. Substitute with vsyscall if not available.
43528 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43529 __vdso_time.
43530
f1f929d7
UD
43531 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43532 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43533 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43534 Add sendmmsg and internal_sendmmsg.
43535 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43536 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43537 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43538
ce67228d
UD
43539 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43540 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43541 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43542
e57420c6
UD
435432011-05-27 Ulrich Drepper <drepper@gmail.com>
43544
a8509ca5
UD
43545 [BZ #12813]
43546 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43547 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43548 available.
43549 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43550 __vdso_getcpu.
43551
e57420c6
UD
43552 [BZ #12814]
43553 * iconvdata/Makefile (tests): Add bug-iconv9.
43554 * iconvdata/bug-iconv9.c: New file.
43555
4d07db15
AS
435562011-05-27 Andreas Schwab <schwab@redhat.com>
43557
43558 [BZ #12814]
43559 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43560
ea486f69
JJ
435612011-05-25 Jakub Jelinek <jakub@redhat.com>
43562
43563 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43564 (struct user_regs_struct): Change intcs field back to cs.
43565
6f038433
UD
435662011-05-25 Ulrich Drepper <drepper@gmail.com>
43567
43568 * po/ja.po: Update from translation team.
43569
67f86a25
UD
435702011-05-23 Ulrich Drepper <drepper@gmail.com>
43571
43572 [BZ #12795]
43573 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43574 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43575
def7fbd6
AS
435762011-05-20 Andreas Schwab <schwab@redhat.com>
43577
43578 * stdlib/longlong.h: Update from GCC.
43579
f50ef8f1
AS
435802011-05-23 Andreas Schwab <schwab@redhat.com>
43581
43582 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43583 parameter name.
43584 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43585 Add parameter name.
43586 (__sysconf): Pass it down.
43587
de7ce8f1
UD
435882011-05-22 Ulrich Drepper <drepper@gmail.com>
43589
f2962a71
UD
43590 [BZ #12671]
43591 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43592 some situations.
43593 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43594 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43595 add in in __libc_use_alloca calls. Adjust callers.
43596 (glob): Use malloc in some situations.
43597
de7ce8f1
UD
43598 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43599 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43600 pltexit.
43601
aec84f53
UD
436022011-05-21 Ulrich Drepper <drepper@gmail.com>
43603
05bb4a68
UD
43604 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43605 and CLOCK_BOOTTIME_ALARM.
43606
7ea72f99
UD
43607 [BZ #12782]
43608 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43609 is returned.
43610
7e4afad5
UD
43611 * string/_strerror.c (__strerror_r): Print negative errors as signed
43612 numbers.
43613
8e211fec
UD
43614 [BZ #12777]
43615 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43616 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43617 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43618
f7d82dc9
UD
43619 * configure.in: Fix typo in redirection and correct removal of test
43620 files in two cases.
43621
cc9e536d
UD
43622 [BZ #12788]
43623 * locale/setlocale.c (new_composite_name): Fix test to check for
43624 identical name of all categories.
43625
aec84f53
UD
43626 [BZ #12792]
43627 * libio/filedoalloc.c (local_isatty): New function.
43628 (_IO_file_doallocate): Use local_isatty.
43629 * stdio-common/perror.c (perror): In case a new stream is used
43630 forward the stream error.
43631 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43632 error flag.
43633
78e64fdc
RT
436342011-05-20 Ulrich Drepper <drepper@gmail.com>
43635
34a9094f
UD
43636 [BZ #11869]
43637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43638 alloca.
43639 * include/alloca.h (extend_alloca_account): Define.
43640
78e64fdc
RT
43641 [BZ #11857]
43642 * posix/regex.h: Fix comments with documentation of user-accessible
43643 fields after compilation and describe correct free'ing of pattern
43644 after re_compile_pattern.
43645 Patch by Reuben Thomas <rrt@sc3d.org>.
43646
457bddfc
RA
436472011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43648
43649 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43650 and -mno-altivec to prevent the compiler from using Altivec and/or
43651 VSX instructions when the corresponding registers are not available.
43652
a4527b51
AS
436532011-05-19 Andreas Schwab <schwab@redhat.com>
43654
43655 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43656
ed690b2f
UD
436572011-05-19 Ulrich Drepper <drepper@gmail.com>
43658
43659 * libio/freopen.c (freopen): Use __dup2, not dup2.
43660 * libio/freopen64.c (freopen64): Likewise.
43661
8db73634
L
436622011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43663
43664 [BZ #12775]
43665 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43666 * math/Makefile (tests): Add test-powl.
43667 (CFLAGS-test-powl.c): Define.
43668 * math/test-powl.c: New file.
43669
0a197a9d
L
436702011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43671
43672 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43673
ee30c380
UD
436742011-05-17 Ulrich Drepper <drepper@gmail.com>
43675
43676 [BZ #11837]
43677 * iconvdata/gb18030.c: Update to GB18020-2005.
43678
6ce75379
UD
436792011-05-16 Ulrich Drepper <drepper@gmail.com>
43680
a4b89fd8
AR
43681 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43682 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43683 Patch by Aharon Robbins <arnold@skeeve.com>.
43684
ea389b12
UD
43685 [BZ #11892]
43686 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43687 on the stack.
43688
68a3f91f
UD
43689 [BZ #11895]
43690 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43691 through underflows.
43692
15cc7dd1
UD
43693 [BZ #12766]
43694 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43695 point to strings before performing equality test for error_one_per_line
43696 mode.
43697
f3799213
UD
43698 [BZ #11697]
43699 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43700
d79a9c94
UD
43701 [BZ #11820]
43702 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43703 (struct user_fpregs_struct): Avoid __uint*_t types.
43704
56e5eb46
UD
43705 [BZ #6420]
43706 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43707 symbol info. Use it instead of calling _dl_addr locally.
43708 (lock_and_info): New function.
43709 (tr_freehook): Call lock_and_info and pass symbol info as additional
43710 parameter to tr_where.
43711 (tr_mallochook): Likewise.
43712 (tr_reallochook): Likewise.
43713 (tr_memalignhook): Likewise.
43714
6ce75379
UD
43715 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43716 used and couldn't be at all thread-safe.
43717
f8a3b5bf
UD
437182011-05-15 Ulrich Drepper <drepper@gmail.com>
43719
94b7cc37
UD
43720 * libio/freopen.c (freopen): Don't close old file descriptor
43721 before the new one is opened. Instead dup the new file descriptor
43722 to the old one after the new stream is created.
43723 * libio/freopen64.c (freopen64): Likewise.
43724 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43725 * libio/fileops.c (_IO_new_file_close_it): Handle new
43726 _IO_FLAGS2_NOCLOSE flag.
43727 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43728 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43729 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43730 _IO_FLAGS2_NOCLOSE flag.
43731 * include/unistd.h: Add hidden_proto for dup3.
43732 Define __have_dup3.
43733 * io/dup3.c: Define hidden symbol.
43734 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43735
bd25564e
UD
43736 [BZ #7101]
43737 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43738 when an incomplete long option is used.
43739 * posix/tst-getopt_long1.c: New file.
43740 * posix/Makefile (tests): Add tst-getopt_long1.
43741
c84cfef4
UD
43742 [BZ #10138]
43743 * scripts/config.guess: Update from autoconf-2.68.
43744 * scripts/config.sub: Likewise.
43745
3b85df27
UD
43746 [BZ #10157]
43747 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43748 tests into ...
43749 (has_cpuclock): ...this. New function.
43750 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43751 macro here based on has_cpuclock code.
43752
15a856b1
UD
43753 [BZ #10149]
43754 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43755 First byte (not low byte) is now always NUL.
43756 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43757
05f399e6
UD
43758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43759 Use non-cancelable interfaces.
43760
10a52685 43761 [BZ #9809]
94ecc67d
UD
43762 * locale/iso-639.def: Add entry for Sorani.
43763
f8a3b5bf
UD
43764 [BZ #11901]
43765 * include/stdlib.h: Move include protection to the right place.
43766 Define abort_msg_s. Declare __abort_msg with it.
43767 * stdlib/abort.c (__abort_msg): Adjust type.
43768 * assert/assert.c (__assert_fail_base): New function. Majority
43769 of code from __assert_fail. Allocate memory for __abort_msg with
43770 mmap.
43771 (__assert_fail): Now call __assert_fail_base.
43772 * assert/assert-perr.c: Remove bulk of implementation. Use
43773 __assert_fail_base.
43774 * include/assert.hL Declare __assert_fail_base.
43775 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43776 mmap.
43777 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43778
1af4e298
UD
437792011-05-14 Ulrich Drepper <drepper@gmail.com>
43780
f8a3b5bf 43781 [BZ #11952]
d26dfc60
MG
43782 [BZ #12453]
43783 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43784 until all modules are registered in the DTV.
43785 * elf/Makefile: Add rules to build and run tst-tls19.
43786 * elf/tst-tls19.c: New file.
43787 * elf/tst-tls19mod1.c: New file.
43788 * elf/tst-tls19mod2.c: New file.
43789 * elf/tst-tls19mod3.c: New file.
43790 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43791
2fc54d6f
UD
43792 [BZ #12083]
43793 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43794 correctly.
43795
98d76b46
UD
43796 [BZ #12601]
43797 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43798 two-byte sequence errors.
43799 * iconvdata/Makefile (tests): Add bug-iconv8.
43800 * iconvdata/bug-iconv8.c: New file.
43801
da3c19ef
UD
43802 [BZ #12626]
43803 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43804 buf2 definition.
43805
ca408c15
UD
43806 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43807
d6f67f7d
UD
43808 [BZ #12432]
43809 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43810 (dummy_getcfa): New function.
43811 (init): Get _Unwind_GetCFA address, use dummy if not found.
43812 (backtrace_helper): In recursion check, also check whether CFA changes.
43813 (__backtrace): Completely initialize arg.
43814
1af4e298 43815 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43816 storing incomplete byte sequence in state object. Avoid testing for
43817 guaranteed too small input if we know there is enough data available.
1af4e298 43818
da62f81b
AS
438192011-05-11 Andreas Schwab <schwab@redhat.com>
43820
43821 * Makeconfig (+link-pie): Indent.
43822 * Rules (binaries-pie): Define if $(have-fpie) and
43823 $(build-shared).
43824 (binaries-shared): Also filter out $(binaries-pie).
43825 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43826 * nscd/Makefile (others-pie): Add nscd.
43827 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43828 ($(objpfx)nscd): Remove command override.
43829 * login/Makefile (others-pie): Add pt_chown.
43830 ($(objpfx)pt_chown): Remove command override.
43831 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43832 remove command overrides.
43833
fcabc0f8
UD
438342011-05-13 Ulrich Drepper <drepper@gmail.com>
43835
20030ae6
UD
43836 * libio/tst_putwc.c: Fix error messages.
43837
fcabc0f8
UD
43838 [BZ #12724]
43839 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43840 currently writing and seek to current position when not.
43841 * libio/Makefile (tests): Add bug-fclose1.
43842 * libio/bug-fclose1.c: New file.
43843
320a5dc0
PB
438442011-05-12 Ulrich Drepper <drepper@gmail.com>
43845
43846 [BZ #12511]
43847 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43848 don't set DF_1_NODELETE here.
43849 (do_lookup_x): When entering new entry test for copy relocation
43850 and if necessary set DF_1_NODELETE flag.
43851 * elf/tst-unique4.cc: New file.
43852 * elf/tst-unique4.h: New file.
43853 * elf/tst-unique4lib.cc: New file.
43854 * elf/Makefile: Add rules to build and run tst-unique4.
43855 Patch by Piotr Bury <pbury@goahead.com>.
43856
22836f52
UD
438572011-05-11 Ulrich Drepper <drepper@gmail.com>
43858
f574184a
UD
43859 [BZ #12052]
43860 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43861
e1fb097f
UD
43862 [BZ #12625]
43863 * misc/mntent_r.c (addmntent): Flush the stream after the output
43864
22836f52
UD
43865 [BZ #12393]
43866 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43867 (is_trusted_path_normalize): Skip initial colon. Append slash
43868 to empty buffer. Duplicate is_trusted_path code but allow
43869 constructed patch to be prefix.
43870 (is_dst): Allow $ORIGIN followed by /.
43871 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43872 Correct testing of result of is_trusted_path_normalize
43873 (decompose_rpath): Fix warning.
43874
7b3b0b2a
UD
438752011-05-10 Ulrich Drepper <drepper@gmail.com>
43876
43877 [BZ #11257]
43878 * grp/initgroups.c (internal_getgrouplist): When we found the service
43879 list through the initgroups entry in nsswitch.conf do not always
43880 continue on a successful lookup. Don't always use the
eac80ce2 43881 __nss_group_database value if it is set.
7b3b0b2a
UD
43882 * nss/nsswitch.conf (initgroups): Change action for successful db
43883 lookup to continue for compatibility.
43884
2a81eaa5
UD
438852011-05-09 Ulrich Drepper <drepper@gmail.com>
43886
be97a69e
UD
43887 [BZ #11532]
43888 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43889 and CP774 modules.
43890 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43891 and CP774 modules.
43892 * iconvdata/tst-tables.sh: Likewise.
43893 * iconvdata/cp770.c: New file.
43894 * iconvdata/cp771.c: New file.
43895 * iconvdata/cp772.c: New file.
43896 * iconvdata/cp773.c: New file.
43897 * iconvdata/cp774.c: New file.
43898 * iconvdata/testdata/CP770: New file.
43899 * iconvdata/testdata/CP770..UTF8: New file.
43900 * iconvdata/testdata/CP771: New file.
43901 * iconvdata/testdata/CP771..UTF8: New file.
43902 * iconvdata/testdata/CP772: New file.
43903 * iconvdata/testdata/CP772..UTF8: New file.
43904 * iconvdata/testdata/CP773: New file.
43905 * iconvdata/testdata/CP773..UTF8: New file.
43906 * iconvdata/testdata/CP774: New file.
43907 * iconvdata/testdata/CP774..UTF8: New file.
43908
43909 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43910 END CHARMAP line.
43911 * iconvdata/gen-8bit-gap.sh: Likewise.
43912 * iconvdata/gen-8bit.sh: Likewise.
43913
c1e9e399
UD
43914 * locale/iso-639.def: Add ary entry.
43915
24c55fb3 43916 [BZ #11258]
96b4b1b0
UD
43917 * locale/C-translit.h.in: Add U20A1 transliteration.
43918
bdc2f971
KB
43919 [BZ #12178]
43920 * locale/iso-639.def: Add wae entry.
43921 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43922
2952b117
UD
43923 [BZ #12545]
43924 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43925 for n.
43926
2a81eaa5
UD
43927 [BZ #12711]
43928 * locale/C-translit.h.in: Add entry for U20B9.
43929 Patch by pravin.d.s@gmail.com.
43930
28377d1b
UD
439312011-05-08 Ulrich Drepper <drepper@gmail.com>
43932
7fb90fb8
UD
43933 [BZ #12713]
43934 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43935 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43936 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43937 in rtld. Use *stat64.
7fb90fb8 43938 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43939 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43940 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43941 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43942 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43943 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43944 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43945 __fstatat64 macros.
7fb90fb8
UD
43946 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43947 * dirent/rewinddir.c: Add libc_hidden_def.
43948 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43949 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43950
28377d1b
UD
43951 * include/dirent.h (__alloc_dir): Add flags parameter.
43952 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43953 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43954 __alloc_dir.
43955 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43956 from fdopendir if O_CLOEXEC is already set.
43957
66bdbaa4
AM
439582011-03-15 Alan Modra <amodra@gmail.com>
43959
43960 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43961 l_tls_firstbyte_offset non-zero. Save padding offset in
43962 l_tls_firstbyte_offset for later use.
43963 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43964 freeing static tls block.
43965
95721191
JN
439662011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43967
43968 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43969 where #ifdef was intended. The intent is to prevent ARG_MAX from
43970 being defined by the kernel headers.
43971
f87dfb1f
UD
439722011-05-07 Ulrich Drepper <drepper@gmail.com>
43973
43974 [BZ #12734]
43975 * resolv/resolv.h: Define RES_NOTLDQUERY.
43976 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43977 no-tld-query and set RES_NOTLDQUERY.
43978 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43979 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43980 modern BIND to search name as TLD unless forbidden.
43981
47c3cd7a
UD
439822011-05-07 Petr Baudis <pasky@suse.cz>
43983 Ulrich Drepper <drepper@gmail.com>
43984
43985 [BZ #12393]
43986 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43987 (is_trusted_path): ...to here.
c1e9ea35 43988 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43989 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43990 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43991
8a35c912
PP
439922011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43993
43994 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43995 __BEGIN/__END_DECLS.
43996
acd41f47
UD
439972011-05-06 Ulrich Drepper <drepper@gmail.com>
43998
43999 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44000 NSS_STATUS_NOTFOUND if no record was found.
44001
597df647
AS
440022011-05-05 Andreas Schwab <schwab@redhat.com>
44003
44004 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44005 (headers-not-in-tirpc): Remove rpc/netdb.h
44006 * resolv/netdb.h: Revert last change.
44007
b9af1301
PP
440082011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44009
44010 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44011 circular dependency between libgcc.a and libc.a.
44012
4e34d5f5
AS
440132011-05-05 Andreas Schwab <schwab@redhat.com>
44014
44015 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44016 * nis/Makefile: Don't install rpcsvc/*.
44017 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44018 instead of <rpc/types.h>.
44019 (MAXHOSTNAMELEN): Define.
44020
00ee369c
AS
440212011-05-03 Andreas Schwab <schwab@redhat.com>
44022
44023 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44024
0b592a30
MB
440252011-04-28 Maciej Babinski <mbabinski@google.com>
44026
44027 [BZ #12714]
44028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44029 gethostbyname4_r when IPv6 results are possible.
44030
6e04cbbe
UD
440312011-05-02 Ulrich Drepper <drepper@gmail.com>
44032
44033 [BZ #12723]
44034 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44035 _PC_PIPE_BUF handling.
44036
e4ecafe0
BH
440372011-04-30 Bruno Haible <bruno@clisp.org>
44038
44039 [BZ #12717]
44040 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44041 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44042 to 'int'.
44043 * inet/getnameinfo.c (getnameinfo): Likewise.
44044
125ee683
UD
440452011-04-29 Ulrich Drepper <drepper@gmail.com>
44046
44047 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44048 to groups setting in database lookup.
44049 * nss/nsswitch.conf: Add initgroups entry.
44050
b722481a
EB
440512011-04-22 Ulrich Drepper <drepper@gmail.com>
44052
44053 [BZ #12685]
44054 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44055 mode string.
44056 Patch by Eric Blake <eblake@redhat.com>.
44057
4df46dbd
L
440582011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44059
44060 * sunrpc/Makefile (need-export-routines): Add svc_run.
44061 (routines): Remove svc_run.
44062 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44063 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44064 * sunrpc/svc_run.c (svc_run): Likewise.
44065 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44066
e84142d2
UD
440672011-04-21 Ulrich Drepper <drepper@gmail.com>
44068
44069 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44070 problem in reallocation in last patch.
44071
877175d8
UD
440722011-04-20 Ulrich Drepper <drepper@gmail.com>
44073
44074 * sunrpc/Makefile: Move inclusion of Rules.
44075
ab8eed78
UD
440762011-04-19 Ulrich Drepper <drepper@gmail.com>
44077
44078 * nss/nss_files/files-initgroups.c: New file.
44079 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44080 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44081 _nss_files_initgroups_dyn.
44082
e3d8f584
RS
440832011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44084
44085 * elf/elf.h (R_ARM_IRELATIVE): Define.
44086
af190f45
UD
440872011-04-19 Ulrich Drepper <drepper@gmail.com>
44088
44089 * po/ru.po: Update from translation team.
44090
53cf59ef
UD
440912011-04-17 Ulrich Drepper <drepper@gmail.com>
44092
44093 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44094 dependencies.
44095
4c559bcd
MF
440962011-02-06 Mike Frysinger <vapier@gentoo.org>
44097
44098 [BZ #12653]
44099 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44100 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44101 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44102 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44103 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44104
4420675c
AS
441052011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44106
44107 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44108 differing bytes.
44109 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44110 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44111 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44112
75ea32ab
UD
441132011-04-17 Ulrich Drepper <drepper@gmail.com>
44114
44115 [BZ #12420]
44116 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44117 storing it.
44118 * stdlib/bug-getcontext.c: New file.
44119 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44120
27390476
AK
441212011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44122
44123 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44124 instructions into .machine "z9-109".
44125 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44126 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44127
10442705
AK
441282011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44129
44130 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44131 between environment variables and auxiliary vector.
44132
7b57bfe5
UD
441332011-04-16 Ulrich Drepper <drepper@gmail.com>
44134
44135 * Makefile: Add rules to build linkobj/libc.so.
44136 * include/libc-symbols.h: Define libc_hidden_nolink.
44137 * include/rpc/auth.h: Mark functions which are to be hidden.
44138 * include/rpc/auth_des.h: Likewise.
44139 * include/rpc/auth_unix.h: Likewise.
44140 * include/rpc/clnt.h: Likewise.
44141 * include/rpc/des_crypt.h: Likewise.
44142 * include/rpc/key_prot.h: Likewise.
44143 * include/rpc/pmap_clnt.h: Likewise.
44144 * include/rpc/pmap_prot.h: Likewise.
44145 * include/rpc/pmap_rmt.h: Likewise.
44146 * include/rpc/rpc_msg.h: Likewise.
44147 * include/rpc/svc.h: Likewise.
44148 * include/rpc/svc_auth.h: Likewise.
44149 * include/rpc/xdr.h: Likewise.
44150 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44151 * nss/Makefile: Likewise.
44152 * sunrpc/Makefile: Don't install headers. Build library with normal
44153 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44154 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44155 for the compat linking library. Remove use of INTDEF/INTUSE.
44156 * sunrpc/auth_none.c: Likewise.
44157 * sunrpc/auth_unix.c: Likewise.
44158 * sunrpc/authdes_prot.c: Likewise.
44159 * sunrpc/authuxprot.c: Likewise.
44160 * sunrpc/clnt_gen.c: Likewise.
44161 * sunrpc/clnt_perr.c: Likewise.
44162 * sunrpc/clnt_raw.c: Likewise.
44163 * sunrpc/clnt_simp.c: Likewise.
44164 * sunrpc/clnt_tcp.c: Likewise.
44165 * sunrpc/clnt_udp.c: Likewise.
44166 * sunrpc/clnt_unix.c: Likewise.
44167 * sunrpc/des_crypt.c: Likewise.
44168 * sunrpc/des_soft.c: Likewise.
44169 * sunrpc/get_myaddr.c: Likewise.
44170 * sunrpc/key_call.c: Likewise.
44171 * sunrpc/key_prot.c: Likewise.
44172 * sunrpc/netname.c: Likewise.
44173 * sunrpc/pm_getmaps.c: Likewise.
44174 * sunrpc/pm_getport.c: Likewise.
44175 * sunrpc/pmap_clnt.c: Likewise.
44176 * sunrpc/pmap_prot.c: Likewise.
44177 * sunrpc/pmap_prot2.c: Likewise.
44178 * sunrpc/pmap_rmt.c: Likewise.
44179 * sunrpc/publickey.c: Likewise.
44180 * sunrpc/rpc_cmsg.c: Likewise.
44181 * sunrpc/rpc_common.c: Likewise.
44182 * sunrpc/rpc_dtable.c: Likewise.
44183 * sunrpc/rpc_prot.c: Likewise.
44184 * sunrpc/rpc_thread.c: Likewise.
44185 * sunrpc/rtime.c: Likewise.
44186 * sunrpc/svc.c: Likewise.
44187 * sunrpc/svc_auth.c: Likewise.
44188 * sunrpc/svc_authux.c: Likewise.
44189 * sunrpc/svc_raw.c: Likewise.
44190 * sunrpc/svc_run.c: Likewise.
44191 * sunrpc/svc_simple.c: Likewise.
44192 * sunrpc/svc_tcp.c: Likewise.
44193 * sunrpc/svc_udp.c: Likewise.
44194 * sunrpc/svc_unix.c: Likewise.
44195 * sunrpc/svcauth_des.c: Likewise.
44196 * sunrpc/xcrypt.c: Likewise.
44197 * sunrpc/xdr.c: Likewise.
44198 * sunrpc/xdr_array.c: Likewise.
44199 * sunrpc/xdr_float.c: Likewise.
44200 * sunrpc/xdr_intXX_t.c: Likewise.
44201 * sunrpc/xdr_mem.c: Likewise.
44202 * sunrpc/xdr_rec.c: Likewise.
44203 * sunrpc/xdr_ref.c: Likewise.
44204 * sunrpc/xdr_sizeof.c: Likewise.
44205 * sunrpc/xdr_stdio.c: Likewise.
44206
e6c61494
UD
442072011-04-10 Ulrich Drepper <drepper@gmail.com>
44208
44209 [BZ #12650]
44210 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44211 * sysdeps/ia64/dl-tls.h: Likewise.
44212 * sysdeps/powerpc/dl-tls.h: Likewise.
44213 * sysdeps/s390/dl-tls.h: Likewise.
44214 * sysdeps/sh/dl-tls.h: Likewise.
44215 * sysdeps/sparc/dl-tls.h: Likewise.
44216 * sysdeps/x86_64/dl-tls.h: Likewise.
44217 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44218
34fe483e
AS
442192011-03-14 Andreas Schwab <schwab@redhat.com>
44220
44221 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44222 rpath element also skip the following colon.
44223 (expand_dynamic_string_token): Add is_path parameter and pass
44224 down to DL_DST_REQUIRED and _dl_dst_substitute.
44225 (decompose_rpath): Call expand_dynamic_string_token with
44226 non-zero is_path. Ignore empty rpaths.
44227 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44228 with zero is_path.
44229
f12a32e6
AS
442302011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44231
44232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44233 Make cancelable.
44234
38a7d692
UD
442352011-04-09 Ulrich Drepper <drepper@gmail.com>
44236
44237 [BZ #12655]
44238 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44239 Patch by Filipe David Manana <fdmanana@apache.org>.
44240
e451d22b
AS
442412011-04-07 Andreas Schwab <schwab@redhat.com>
44242
44243 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44244 Maintain aligned stack.
44245 (CHECK_RSP): Remove unused macro.
44246
dedc7c7b
UD
442472011-04-03 Ulrich Drepper <drepper@gmail.com>
44248
44249 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44250 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44251
94521213
UD
442522011-04-02 Ulrich Drepper <drepper@gmail.com>
44253
44254 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44255
8cb700c0 44256 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44257
0354e355
L
442582011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44259
44260 [BZ #12518]
44261 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44262 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44263 * sysdeps/x86_64/memmove.c: New file.
44264 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44265 (memcpy): Renamed to ...
44266 (__new_memcpy): This.
44267 (memcpy): Provide GLIBC_2_14 memcpy.
44268 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44269 (memcpy): Provide GLIBC_2_2_5 memcpy.
44270
8593482f
UD
442712011-04-01 Ulrich Drepper <drepper@gmail.com>
44272
44273 [BZ #12631]
44274 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44275
81a5726b
AS
442762011-03-30 Andreas Schwab <schwab@redhat.com>
44277
44278 * misc/syncfs.c: New file.
44279 * misc/Makefile (routines): Add syncfs.
44280 * posix/unistd.h: Declare syncfs.
44281 * sysdeps/unix/syscalls.list: Add syncfs.
44282
00e5419f
AS
442832011-04-01 Andreas Schwab <schwab@redhat.com>
44284
44285 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44286 open_by_handle_at.
44287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44288 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44292 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44293 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44294
748876bf
UD
442952011-04-01 Ulrich Drepper <drepper@gmail.com>
44296
658e451d
UD
44297 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44298 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44299 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44303 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44304
748876bf
UD
44305 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44306 sync_file_range.c with -fexceptions.
44307 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44308 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44309 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44310 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44311 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44312 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44313 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44314 sync_file_range as cancellation point
44315 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44316 now a wrapper around __call_sync_file_range with cancellation handling.
44317 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44318 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44319 function name to __call_sync_file_range.
44320 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44321 Add call_sync_file_range.
748876bf 44322
6e63d5e1
AS
443232011-04-01 Andreas Schwab <schwab@redhat.com>
44324
44325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44326 bits/timex.h.
6e63d5e1 44327
46998f74
UD
443282011-04-01 Ulrich Drepper <drepper@gmail.com>
44329
4c1423ed
UD
44330 * iconv/iconv.h: Fix typo in comment.
44331 * io/fcntl.h: Likewise.
44332 * libio/stdio.h: Likewise.
44333 * posix/spawn.h: Likewise.
44334 * posix/unistd.h: Likewise.
44335 * stdlib/stdlib.h: Likewise.
44336 * time/time.h: Likewise.
44337 * wcsmbs/wchar.h: Likewise.
44338
158648c0
UD
44339 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44340 open_by_handle): Add.
44341 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44342 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44343 Augment a few comments.
44344 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44346 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44349 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44350 open_by_handle.
44351
46998f74
UD
44352 * io/fcntl.h (AT_EMPTY_PATH): Define.
44353
83fe108b
UD
443542011-03-30 Ulrich Drepper <drepper@gmail.com>
44355
44356 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44357 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44358 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44359 to...
44360 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44361 * Versions.def: Add GLIBC_2.14.
44362 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44363 Export.
83fe108b 44364
bb242059
UD
443652011-03-22 Ulrich Drepper <drepper@gmail.com>
44366
44367 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44368 round counter.
44369 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44370
c97a1282
L
443712011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44372
44373 [BZ #12597]
44374 * string/test-strncmp.c (do_page_test): New function.
44375 (check2): Likewise.
44376 (test_main): Call check2.
44377 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44378
2a115601
UD
443792011-03-20 Ulrich Drepper <drepper@gmail.com>
44380
44381 [BZ #12587]
44382 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44383 Handle cache information in CPU leaf 4.
44384 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44385
8126d904
UD
443862011-03-18 Ulrich Drepper <drepper@gmail.com>
44387
042c49c6 44388 [BZ #12583]
8126d904
UD
44389 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44390 character representation.
44391 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44392
ccfe366e
RA
443932011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44394
44395 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44396 END(__isnan) to END(__isnanf) to match function entry point/label
44397 EALIGN(__isnanf,...).
44398
c6e13027
JJ
443992011-03-10 Jakub Jelinek <jakub@redhat.com>
44400
44401 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44402
33f85a3f
UD
444032011-03-10 Ulrich Drepper <drepper@gmail.com>
44404
028478fa
UD
44405 [BZ #12510]
44406 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44407 copy from the symbol referenced in the relocation to initialize the
44408 used variable.
44409 Patch by Piotr Bury <pbury@goahead.com>.
44410 * elf/Makefile: Add rules to build and tst-unique3.
44411 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44412 * elf/tst-unique3.cc: New file.
44413 * elf/tst-unique3.h: New file.
44414 * elf/tst-unique3lib.cc: New file.
44415 * elf/tst-unique3lib2.cc: New file.
44416
33f85a3f
UD
44417 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44418
03592fc7
MF
444192011-03-10 Mike Frysinger <vapier@gentoo.org>
44420
44421 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44422 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44423 to _start.
03592fc7 44424
6a5ee102
UD
444252011-03-06 Ulrich Drepper <drepper@gmail.com>
44426
44427 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44428 to-be-loaded object along a path to loader is ld.so.
44429
7e4ba49c
HJ
444302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44431 Ulrich Drepper <drepper@gmail.com>
44432
44433 * sysdeps/x86_64/memset.S: After aligning destination, code
44434 branches to different locations depending on the value of
44435 misalignment, when multiarch is enabled. Fix this.
44436
444372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44438
44439 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44440 Set _x86_64_preferred_memory_instruction for AMD processsors.
44441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44442 Set bit_Prefer_SSE_for_memop for AMD processors.
44443
13a804de
UD
444442011-03-04 Ulrich Drepper <drepper@gmail.com>
44445
44446 * libio/fmemopen.c (fmemopen): Optimize a bit.
44447
9d25c392
AS
444482011-03-03 Andreas Schwab <schwab@redhat.com>
44449
44450 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44451
a5543c6a
RM
444522011-03-03 Roland McGrath <roland@redhat.com>
44453
44454 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44455
012d35f7
DM
444562011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44457
7e4ba49c 44458 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44459 __bzero_ultra1 instead of __memset_ultra1.
44460
4bff6e01
AS
444612011-02-23 Andreas Schwab <schwab@redhat.com>
44462 Ulrich Drepper <drepper@gmail.com>
44463
44464 [BZ #12509]
44465 * include/link.h (struct link_map): Add l_orig_initfini.
44466 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44467 returning unsuccessfully.
44468 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44469 close of a file loaded at startup, restore the original l_initfini
44470 list.
44471 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44472 list, store the pointer.
44473 * elf/Makefile ($(objpfx)noload-mem): New rule.
44474 (noload-ENV): Define.
44475 (tests): Add $(objpfx)noload-mem.
44476 * elf/noload.c: Include <memcheck.h>.
44477 (main): Call mtrace. Close all opened handles.
44478
f2092faf
AS
444792011-02-17 Andreas Schwab <schwab@redhat.com>
44480
44481 [BZ #12454]
44482 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44483 dependencies are missing.
44484
6c8a2e88
ST
444852011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44486
f2092faf 44487 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
44488 Hurd needs munmap.
44489 * sysdeps/mach/hurd/ifreq.h: New file.
44490
84a42118
PB
444912011-01-27 Petr Baudis <pasky@suse.cz>
44492 Ulrich Drepper <drepper@gmail.com>
44493
071f805e 44494 [BZ 12445]#
84a42118
PB
44495 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44496 to extend_alloca().
44497 * stdio-common/bug23.c: New file.
44498 * stdio-common/Makefile (tests): Add bug23.
44499
e23fe25b
AS
445002010-09-28 Andreas Schwab <schwab@redhat.com>
44501 Ulrich Drepper <drepper@gmail.com>
44502
44503 [BZ #12489]
44504 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44505 before performing relro protection. At old place add assertion
44506 to make sure nothing changed.
44507
d3f02e10
NS
445082011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44509 Glauber de Oliveira Costa <glommer@gmail.com>
44510
44511 * elf/elf.h: Add new ARM TLS relocs.
44512
d55fd7a5
RA
445132011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44514
44515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44516 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44517 cast from r3.
44518 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44519 'tests' variable.
44520 * sysdeps/wordsize-64/tst-writev.c: New file.
44521
2206397e
RA
445222011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44523
44524 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44525 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44526 insns in _dl_start to prevent a TOC reference before relocs are
44527 resolved.
44528
e9433893
UD
445292011-02-15 Ulrich Drepper <drepper@gmail.com>
44530
44531 [BZ #12469]
44532 * Makeconfig: Remove RANLIB definition.
44533 * Makerules: Don't use RANLIB.
44534 * aclocal.m4: Remove ranlib test.
44535 * configure.in: No need to check for ranlib.
44536 * elf/rtld-Rules: Don't use RANLIB.
44537
f75286c6
ST
445382011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44539
8e31c82d
ST
44540 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44541 protection macro.
44542 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44543 inclusion protection macro.
44544
f75286c6
ST
44545 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44546 SIGRTMIN and SIGRTMAX and print information in that case only when
44547 SIGRTMIN is defined.
44548
c1d0e639
JJ
445492011-02-11 Jakub Jelinek <jakub@redhat.com>
44550
44551 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44552 arginfo fn returning -1.
44553
44554 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44555 and thousands string is zero terminated.
44556
edf9294e
AS
445572011-02-03 Andreas Schwab <schwab@redhat.com>
44558
44559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44560 sysdeps/unix/sysv/linux/bits/socket.h.
44561
2b7e92df
ST
445622011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44563
edf9294e
AS
44564 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44565 (__CPU_COUNT): Remove old macros.
44566 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44567 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44568 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
44569 (__sched_cpualloc, __sched_cpufree): Add declarations.
44570
a4c7ea7b
UD
445712011-02-05 Ulrich Drepper <drepper@gmail.com>
44572
44573 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44574 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44575 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44576 (readdhstai): Return value of addhstaiX call.
44577 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44578 (addgrbyX): Return value returned by cache_addgr.
44579 (readdgrbyname): Return value returned by addgrbyX.
44580 (readdgrbygid): Likewise.
44581 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44582 (addpwbyX): Return value returned by cache_addpw.
44583 (readdpwbyname): Return value returned by addhstbyX.
44584 (readdpwbyuid): Likewise.
44585 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44586 (addservbyX): Return value returned by cache_addserv.
44587 (readdservbyname): Return value returned by addservbyX:
44588 (readdservbyport): Likewise.
44589 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44590 (addhstbyX): Return value returned by cache_addhst.
44591 (readdhstbyname): Return value returned by addhstbyX.
44592 (readdhstbyaddr): Likewise.
44593 (readdhstbynamev6): Likewise.
44594 (readdhstbyaddrv6): Likewise.
44595 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44596 (readdinitgroups): Return value returned by addinitgroupsX.
44597 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44598 (prune_cache): Keep track of timeout value of re-added entries.
44599 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44600 * nscd/nscd.h: Adjust prototypes of readd* functions.
44601
a0bf67cc
RM
446022011-02-04 Roland McGrath <roland@redhat.com>
44603
44604 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44605 (nis_stats): Likewise.
44606 * nis/nis_modify.c (nis_modify): Likewise.
44607 * nis/nis_remove.c (nis_remove): Likewise.
44608 * nis/nis_add.c (nis_add): Likewise.
44609
44610 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44611
44612 * posix/fnmatch_loop.c: Add some consts.
44613
44614 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44615
435b95eb
L
446162011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44617
44618 [BZ #12460]
44619 * config.make.in (config-cflags-novzeroupper): Define.
44620 * configure.in: Substitute libc_cv_cc_novzeroupper.
44621 * elf/Makefile (AVX-CFLAGS): Define.
44622 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44623 (CFLAGS-tst-auditmod4a.c): Likewise.
44624 (CFLAGS-tst-auditmod4b.c): Likewise.
44625 (CFLAGS-tst-auditmod6b.c): Likewise.
44626 (CFLAGS-tst-auditmod6c.c): Likewise.
44627 (CFLAGS-tst-auditmod7b.c): Likewise.
44628 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44629
8517b15e
UD
446302011-02-02 Ulrich Drepper <drepper@gmail.com>
44631
44632 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44633 function to the callback.
44634 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44635
10a656fe
AS
446362011-02-02 Andreas Schwab <schwab@redhat.com>
44637
44638 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44639 of errno.
44640
968dad0a
UD
446412011-01-19 Ulrich Drepper <drepper@gmail.com>
44642
9f94d2ea 44643 [BZ #11724]
968dad0a
UD
44644 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44645 of constructors.
44646 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44647 of destructors.
44648 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44649
44650 [BZ #11724]
44651 * elf/Makefile: Add rules to build and run new test.
44652 * elf/tst-initorder.c: New file.
44653 * elf/tst-initorder.exp: New file.
44654 * elf/tst-initordera1.c: New file.
44655 * elf/tst-initordera2.c: New file.
44656 * elf/tst-initordera3.c: New file.
44657 * elf/tst-initordera4.c: New file.
44658 * elf/tst-initorderb1.c: New file.
44659 * elf/tst-initorderb2.c: New file.
44660 * elf/tst-order-a1.c: New file.
44661 * elf/tst-order-a2.c: New file.
44662 * elf/tst-order-a3.c: New file.
44663 * elf/tst-order-a4.c: New file.
44664 * elf/tst-order-b1.c: New file.
44665 * elf/tst-order-b2.c: New file.
44666 * elf/tst-order-main.c: New file.
44667 New test case by George Gensure <werkt0@gmail.com>.
44668
86e92359
UD
446692010-10-01 Andreas Schwab <schwab@redhat.com>
44670
44671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44672 decoding ACE if AI_CANONIDN.
44673
5d5732b0
UD
446742011-01-18 Ulrich Drepper <drepper@gmail.com>
44675
44676 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44677
a77e8cbc
UD
446782011-01-17 Ulrich Drepper <drepper@gmail.com>
44679
6392473f
UD
44680 * version.h (RELEASE): Bump for 2.13 release.
44681 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44682
620a0529
UD
44683 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44684
18ba70a5
UD
44685 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44686 MADV_NOHUGEPAGE.
32465c3e
UD
44687 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44688 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44689 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44690 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44691 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44692 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44693
c0dafcf1
UD
44694 * posix/getconf.c: Update copyright year.
44695 * catgets/gencat.c: Likewise.
44696 * csu/version.c: Likewise.
44697 * debug/catchsegv.sh: Likewise.
44698 * debug/xtrace.sh: Likewise.
44699 * elf/ldconfig.c: Likewise.
44700 * elf/ldd.bash.in: Likewise.
44701 * elf/sprof.c (print_version): Likewise.
44702 * iconv/iconv_prog.c: Likewise.
44703 * iconv/iconvconfig.c: Likewise.
44704 * locale/programs/locale.c: Likewise.
44705 * locale/programs/localedef.c: Likewise.
44706 * malloc/memusage.sh: Likewise.
44707 * malloc/mtrace.pl: Likewise.
44708 * nscd/nscd.c (print_version): Likewise.
44709 * nss/getent.c: Likewise.
44710
a77e8cbc
UD
44711 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44712 PF_CAIF, and PF_ALG.
44713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44714
77e8bddf
AS
447152011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44716
1f20b93a
AS
44717 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44718 (modules-names): Use them.
44719 (ifunc-test-modules, ifunc-pie-tests): Define.
44720 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44721 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44722 (test-extras): Likewise.
44723 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44724 $(compile-command.c).
44725 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44726 (all-built-dso): Define.
44727 (check-textrel.out, check-execstack.out): Depend on it.
44728
77e8bddf
AS
44729 * configure.in: Don't override --enable-multi-arch.
44730
bc425b33
UD
447312011-01-15 Ulrich Drepper <drepper@gmail.com>
44732
44733 [BZ #6812]
44734 * nscd/hstcache.c (tryagain): Define.
44735 (cache_addhst): Return tryagain not notfound for temporary errors.
44736 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44737 failed.
44738
794c3ad3
UD
447392011-01-14 Ulrich Drepper <drepper@gmail.com>
44740
70181fdd
UD
44741 [BZ #10563]
44742 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44743 to make the syscall.
44744 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44745
794c3ad3
UD
44746 [BZ #12378]
44747 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44748 and fall back to matching as normal character if the string ends before
44749 the matching ']' is found. This is what POSIX requires.
44750 * posix/testfnm.c: Adjust test result.
44751 * posix/globtest.sh: Adjust test result. Add new test.
44752 * posix/tst-fnmatch.input: Likewise.
44753 * posix/tst-fnmatch2.c: Add new test.
44754
68dc9497
AS
447552010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44756
44757 * elf/Makefile (check-execstack): Revert last change. Depend on
44758 check-execstack.h.
44759 (check-execstack.h): New target.
44760 (generated): Add check-execstack.h.
44761 * elf/check-execstack.c: Include "check-execstack.h".
44762 (main): Revert last change.
44763 (handle_file): Return zero if GNU_STACK is absent and
44764 DEFAULT_STACK_PERMS doesn't include PF_X.
44765
451f001b
UD
447662011-01-13 Ulrich Drepper <drepper@gmail.com>
44767
cfa28e56
UD
44768 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44769 in child fails because the descriptor is already closed.
8cf8ce17
UD
44770 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44771 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44772 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44773
1086d70d
UD
44774 [BZ #12397]
44775 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44776 syscall.
44777
451f001b
UD
44778 [BZ #10484]
44779 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44780 temporary buffer used to handle multi lookups locally.
a85b5cb4 44781 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44782
08769175
UD
447832011-01-12 Ulrich Drepper <drepper@gmail.com>
44784
44785 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44786 loader is ld.so.
44787
5e49c52e
UD
447882011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44789
44790 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44791 alignment for SSE2.
44792
60522a5f
UD
447932011-01-12 Ulrich Drepper <drepper@gmail.com>
44794
44795 [BZ #12394]
44796 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44797 characters. When rounding increased number of integer digits recompute
44798 number of groups.
44799 * stdio-common/tst-grouping.c: New file.
44800 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44801
f257bbd7
UD
448022011-01-09 Ulrich Drepper <drepper@gmail.com>
44803
44804 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44805 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44806
44807 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44808 void.
44809 * bits/select.h: Likewise.
44810
fa9c15cb
UD
448112011-01-08 Ulrich Drepper <drepper@gmail.com>
44812
44813 * po/ja.po: Update from translation team.
44814
16c2895f
DM
448152011-01-04 David S. Miller <davem@sunset.davemloft.net>
44816
44817 [BZ #11155]
44818 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44819 implementation just like for lxstat, fxstatat, et al.
44820
2543fef2
JM
448212010-12-27 Jim Meyering <meyering@redhat.com>
44822
44823 [BZ #12348]
44824 * posix/regexec.c (build_trtable): Return failure indication upon
44825 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44826
98727dbe
UD
448272010-12-25 Ulrich Drepper <drepper@gmail.com>
44828
5bd6dc5c
UD
44829 [BZ #12201]
44830 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44831 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44832 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44833 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44834
97983464
UD
44835 [BZ #12207]
44836 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44837
98727dbe
UD
44838 [BZ #12204]
44839 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44840 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44841
4a531bb0
L
448422010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44843
44844 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44845 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44846 script has SORT_BY_INIT_PRIORITY.
44847 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44848 NO_CTORS_DTORS_SECTIONS is defined.
44849 * elf/soinit.c: Likewise.
44850 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44851 NO_CTORS_DTORS_SECTIONS is defined.
44852 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44853 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44854 * sysdeps/sh/init-first.c: Likewise.
44855 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44856
07eb4b71
UD
448572010-12-24 Ulrich Drepper <drepper@gmail.com>
44858
44859 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44860 always use the slow path.
44861
30950a5f
RA
448622010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44863
44864 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44865 similar rule which adds the sysdep directories to the header search in
44866 order to pick up the correct platform stackinfo.h.
44867 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44868 perform test if it is, otherwise return successfully without testing.
44869 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44870 DEFAULT_STACK_PERMS define in stackinfo.h.
44871 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44872 defined in stackinfo.h.
44873 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44874 DEFAULT_STACK_PERMS defined in stackinfo.h.
44875 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44876 * sysdeps/ia64/stackinfo.h: Likewise.
44877 * sysdeps/s390/stackinfo.h: Likewise.
44878 * sysdeps/sh/stackinfo.h: Likewise.
44879 * sysdeps/sparc/stackinfo.h: Likewise.
44880 * sysdeps/x86_64/stackinfo.h: Likewise.
44881 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44882 PF_X for powerpc64. Retain PF_X for powerpc32.
44883
db753e2c
UD
448842010-12-19 Ulrich Drepper <drepper@gmail.com>
44885
14b697f7
UD
44886 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44887 accurately.
db753e2c
UD
44888 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44889 GETDENTS_64BIT_ALIGNED.
44890
28300719
UD
448912010-12-14 Ulrich Drepper <dreper@gmail.com>
44892
14b697f7 44893 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44894
4f197237
AS
448952010-12-10 Andreas Schwab <schwab@redhat.com>
44896
dbb0472f
AS
44897 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44898 _GNU_SOURCE.
44899
4f197237
AS
44900 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44901 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44902 Remove __restrict.
44903 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44904 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44905
fb88ac72
UD
449062010-12-09 Ulrich Drepper <drepper@gmail.com>
44907
44908 [BZ #11655]
44909 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44910 are initialized.
44911
42acbb92
JJ
449122010-12-09 Jakub Jelinek <jakub@redhat.com>
44913
44914 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44915
c038d98d
UD
449162010-12-03 Ulrich Drepper <drepper@gmail.com>
44917
44918 * po/it.po: Update from translation team.
44919
3a4a2499
L
449202010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44921
44922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44923 unused codes.
44924
1e24cf6e
UD
449252010-11-30 Ulrich Drepper <drepper@gmail.com>
44926
44927 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44928
a7690819
AS
449292010-11-24 Andreas Schwab <schwab@redhat.com>
44930
44931 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44932 specially.
44933 (gaih_getanswer_slice): Likewise.
44934
3bf8d1b1
JJ
449352010-10-20 Jakub Jelinek <jakub@redhat.com>
44936
44937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44938
6db52fbb
PB
449392010-05-31 Petr Baudis <pasky@suse.cz>
44940
44941 [BZ #11149]
44942 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44943 silently even in the chroot mode.
44944
eaca7569
UD
449452010-11-22 Ulrich Drepper <drepper@gmail.com>
44946
44947 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44948 last patch a bit. Pretty printing
44949
3056dcdb
UD
449502010-05-31 Petr Baudis <pasky@suse.cz>
44951
44952 [BZ #10085]
44953 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44954 initialization of skip_initgroups_dyn.
44955
cf7c9078
UD
449562010-11-19 Ulrich Drepper <drepper@gmail.com>
44957
44958 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44959 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44960
a1fb5e3e
UD
449612010-11-16 Ulrich Drepper <drepper@gmail.com>
44962
44963 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44964
3540d66b
AS
449652010-11-11 Andreas Schwab <schwab@redhat.com>
44966
44967 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44968 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44969 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44970 ($(objpfx)tst-fnmatch-mem): New rule.
44971 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44972 * posix/tst-fnmatch.c (main): Call mtrace.
44973
13b69574
L
449742010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44975
44976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44977 Support Intel processor model 6 and model 0x2c.
44978
da93d214
LM
449792010-11-10 Luis Machado <luisgpm@br.ibm.com>
44980
44981 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44982 signed comparison.
44983
8ca52c6e
L
449842010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44985
44986 [BZ #12205]
44987 * string/test-strncasecmp.c (check_result): New function.
44988 (do_one_test): Use it.
44989 (check1): New function.
44990 (test_main): Use it.
44991 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44992 Support strcasecmp and strncasecmp.
44993
69da074d
UD
449942010-11-08 Ulrich Drepper <drepper@gmail.com>
44995
44996 [BZ #12194]
44997 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44998 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44999
ff02d528
L
450002010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45001
45002 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45003 IFUNC support.
45004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45005 memset-x86-64.
45006 * sysdeps/x86_64/multiarch/bzero.S: New file.
45007 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45008 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45009 * sysdeps/x86_64/multiarch/memset.S: New file.
45010 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45012 Set bit_Prefer_SSE_for_memop for Intel processors.
45013 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45014 Define.
45015 (index_Prefer_SSE_for_memop): Define.
45016 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45017
344d0b54
LM
450182010-11-04 Luis Machado <luisgpm@br.ibm.com>
45019
45020 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45021 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45022
c0dde15b
UD
450232010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45024
45025 [BZ #12191]
45026 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45027 (__x86_64_raw_data_cache_size_half): Likewise.
45028 (__x86_64_raw_shared_cache_size): Likewise.
45029 (__x86_64_raw_shared_cache_size_half): Likewise.
45030
45031 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45032 (__x86_64_raw_data_cache_size_half): Likewise.
45033 (__x86_64_raw_shared_cache_size): Likewise.
45034 (__x86_64_raw_shared_cache_size_half): Likewise.
45035 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45036 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45037 and __x86_64_raw_shared_cache_size_half. Round
45038 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45039 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45040 to multiple of 256 bytes.
45041
0e516e0e
MS
450422010-11-03 Ulrich Drepper <drepper@gmail.com>
45043
45044 [BZ #12167]
45045 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45046 of inacessible symlinks. Verify result of symlink before returning it.
45047 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45048 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45049
0e012e87
ER
450502010-10-28 Erich Ritz <erichritz@gmail.com>
45051
45052 * math/math.h (isinf): Fix typo in comment.
45053
de0ff7bc
UD
450542010-11-01 Ulrich Drepper <drepper@gmail.com>
45055
45056 * po/da.po: Update from translation team.
45057
fa41c84d
UD
450582010-10-26 Ulrich Drepper <drepper@gmail.com>
45059
45060 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45061 is added to the list.
45062
f0967738
AK
450632010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45064 Ulrich Drepper <drepper@gmail.com>
45065
45066 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45067 the global list here. Move code to...
45068 (_dl_add_to_namespace_list): ...here. New function.
45069 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45070 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45071 * elf/dl-load.c (lose): Don't remove the element from the list.
45072 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45073 (_dl_map_object): Likewise.
45074
450752010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
45076
45077 [BZ #12159]
45078 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45079 into all bytes of SSE register.
45080 Patch by Richard Li <richardpku@gmail.com>.
45081
f0967738 450822010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
45083
45084 [BZ #12140]
45085 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45086 perturbing.
45087
d0b9e94f
MB
450882010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45089
45090 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45091 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45092 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45093 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45095 submachine.
45096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45097
8e9f92e9
AS
450982010-10-22 Andreas Schwab <schwab@redhat.com>
45099
45100 * include/dlfcn.h (__RTLD_SECURE): Define.
45101 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45102 mode & __RTLD_SECURE instead.
45103 (open_path): Rename preloaded parameter to secure.
45104 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45105 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45106 * elf/dl-deps.c (openaux): Likewise.
45107 * elf/rtld.c (struct map_args): Remove is_preloaded.
45108 (map_doit): Don't use it.
45109 (dl_main): Likewise.
45110 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45111 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45112
bc96fbda
AS
451132010-09-09 Andreas Schwab <schwab@redhat.com>
45114
45115 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45116 (sysd-rules-targets): Remove duplicates.
45117 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45118 rtld-%.$o dependency.
45119
22cd1c9b
AS
451202010-10-18 Andreas Schwab <schwab@redhat.com>
45121
45122 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45123 _dl_map_object do it.
45124
18edac48
UD
451252010-10-19 Ulrich Drepper <drepper@gmail.com>
45126
45127 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45128 fast fma builtins, define the macros in the C99 standard.
45129 (FP_FAST_FMAF): Likewise.
45130 (FP_FAST_FMAL): Likewise.
45131 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45132
45133 * bits/mathdef.h: Update copyright year.
45134 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45135
d2050124
MM
451362010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45137
45138 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45139 builtins, define the macros in the C99 standard.
45140 (FP_FAST_FMAF): Likewise.
45141 (FP_FAST_FMAL): Likewise.
45142 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45143 multiply/add.
45144 (FP_FAST_FMAF): Likewise.
45145
475facd1
JJ
451462010-10-15 Jakub Jelinek <jakub@redhat.com>
45147
45148 [BZ #3268]
45149 * math/libm-test.inc (fma_test): Some new testcases.
45150 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45151 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45152 y and infinite z. Do multiplication by C already in long double.
45153 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45155 y and infinite z. Do bitwise or of inexact bit into u.d.
45156 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45157 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45158 * sysdeps/i386/fpu/s_fma.S: Removed.
45159 * sysdeps/i386/fpu/s_fmal.S: Removed.
45160
7c08a05c
JJ
451612010-10-16 Jakub Jelinek <jakub@redhat.com>
45162
45163 [BZ #3268]
45164 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45165 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45166 computation is not scheduled after fetestexcept. Fix value
45167 of minimum denormal long double.
45168
f3f7372d
JJ
451692010-10-14 Jakub Jelinek <jakub@redhat.com>
45170
45171 [BZ #3268]
45172 * math/libm-test.inc (fma_test): Add some more tests.
45173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45174 correctly.
45175
14d43591
AS
451762010-10-15 Andreas Schwab <schwab@redhat.com>
45177
45178 * scripts/data/localplt-s390-linux-gnu.data: New file.
45179 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45180
5e908464
JJ
451812010-10-13 Jakub Jelinek <jakub@redhat.com>
45182
45183 [BZ #3268]
45184 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45185 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45186 instead of dbl-64.
45187 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45188 inlines.
45189 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45191 if one of x and y is very large and the other is subnormal.
45192 * sysdeps/s390/fpu/s_fmaf.c: New file.
45193 * sysdeps/s390/fpu/s_fma.c: New file.
45194 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45195 * sysdeps/powerpc/fpu/s_fma.S: New file.
45196 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45197 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45198 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45199
452002010-10-12 Jakub Jelinek <jakub@redhat.com>
45201
45202 [BZ #3268]
45203 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45204 fma tests.
45205 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45206 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45207 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45208 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45209 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45210 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45211 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45212
b833d51f
UD
452132010-10-12 Ulrich Drepper <drepper@redhat.com>
45214
45215 [BZ #12078]
45216 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45217 * posix/bug-regex31.input: Add test case.
45218
1751705d
UD
452192010-10-11 Ulrich Drepper <drepper@gmail.com>
45220
e9b9cbf5
UD
45221 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45222 * posix/bug-regex31.input: New file.
45223
45224 [BZ #12078]
45225 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45226 (parse_sub_exp): Fix last change, use postorder.
45227
ef06edbe
UD
45228 * posix/bug-regex31.c: New file.
45229 * posix/Makefile: Add rules to build and run bug-regex31.
45230
a129c80d
UD
45231 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45232
45233 [BZ #12078]
45234 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45235
b76b818e
UD
45236 [BZ #12108]
45237 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45238 to have entries in sys_siglist.
45239
1751705d
UD
45240 [BZ #12093]
45241 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45242 be NULL.
45243
9ff8d36f
JJ
452442010-10-07 Jakub Jelinek <jakub@redhat.com>
45245
45246 [BZ #3268]
45247 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45248 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45249 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45250 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45251 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45252 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45253 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45254 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45255 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45256 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45257 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45258 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45259 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45260 * math/ftestexcept.c (fetestexcept): Likewise.
45261 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45262 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45263 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45264 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45265 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45266 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45267 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45268
af325969
UD
452692010-10-11 Ulrich Drepper <drepper@gmail.com>
45270
c579b202 45271 [BZ #12107]
af325969
UD
45272 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45273 newline.
45274
67a67b95
UD
452752010-10-06 Ulrich Drepper <drepper@gmail.com>
45276
45277 * string/bug-strstr1.c: New file.
45278 * string/Makefile: Add rules to build and run bug-strstr1.
45279
5fb308bc
EB
452802010-10-05 Eric Blake <eblake@redhat.com>
45281
45282 [BZ #12092]
45283 * string/str-two-way.h (two_way_long_needle): Always clear memory
45284 when skipping input due to the shift table.
45285
45db99c7
UD
452862010-10-03 Ulrich Drepper <drepper@gmail.com>
45287
3b111893
UD
45288 [BZ #12005]
45289 * malloc/mcheck.c: Handle large requests.
45290
45db99c7
UD
45291 [BZ #12077]
45292 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45293 for strncmp and strncasecmp.
45294 * string/stratcliff.c: Add tests for strcmp and strncmp.
45295 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45296
cf7a1eb8
NI
452972010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45298
45299 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45300 __set_fpscr.
45301
6484ba5e
AJ
453022010-09-30 Andreas Jaeger <aj@suse.de>
45303
45304 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45305 (CGROUP_SUPER_MAGIC): Define.
45306 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45307 Handle btrfs and cgroup file systems.
45308 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45309 Likewise.
45310
91c42559
LM
453112010-09-27 Luis Machado <luisgpm@br.ibm.com>
45312
45313 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45314 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45315
87a97932
AK
453162010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45317
45318 [BZ #12067]
45319 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45320 trying to locate the ELF header.
45321
c21cc9bc
AS
453222010-09-27 Andreas Schwab <schwab@redhat.com>
45323
45324 [BZ #11611]
45325 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45326 Mask out sign-bit copies when constructing f_fsid.
45327
315970f6
PB
453282010-09-24 Petr Baudis <pasky@suse.cz>
45329
45330 * debug/stack_chk_fail_local.c: Add missing licence exception.
45331 * debug/warning-nop.c: Likewise.
45332
1ac7a2c7
JM
453332010-09-15 Joseph Myers <joseph@codesourcery.com>
45334
45335 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45336 implementing getdents64 using getdents syscall, set d_type if
45337 __ASSUME_GETDENTS32_D_TYPE.
45338
56801c50
AS
453392010-09-16 Andreas Schwab <schwab@redhat.com>
45340
45341 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45342 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45343
dda51327
UD
453442010-09-21 Ulrich Drepper <drepper@redhat.com>
45345
45346 [BZ #12037]
45347 * posix/unistd.h: Undo change of feature selection for ftruncate from
45348 2010-01-11.
45349
8ffcee4a
UD
453502010-09-20 Ulrich Drepper <drepper@redhat.com>
45351
a545ecd9 45352 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45353 detection.
45354
e24f0a8b
AS
453552010-09-20 Andreas Schwab <schwab@redhat.com>
45356
45357 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45358 fanotify_mark.
45359 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45360
7291c56f
AS
453612010-09-14 Andreas Schwab <schwab@redhat.com>
45362
45363 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45364 variables after CHECK_SP call.
45365 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45366
bc5fb037
AS
453672010-09-13 Andreas Schwab <schwab@redhat.com>
45368 Ulrich Drepper <drepper@redhat.com>
45369
45370 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45371 re-relocationg ld.so.
45372 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45373 _dl_init_paths call.
45374 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45375 here anymore.
45376
e66e7419
UD
453772010-09-14 Ulrich Drepper <drepper@redhat.com>
45378
45379 * resolv/res_init.c (__res_vinit): Count the default server we added.
45380
c044aa75
CLT
453812010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45382 Ulrich Drepper <drepper@redhat.com>
45383
45384 [BZ #11968]
45385 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45386 (____longjmp_chk): Use %ebx for saving value across system call.
45387 Add unwind info.
45388
32cf4069
AS
453892010-09-06 Andreas Schwab <schwab@redhat.com>
45390
45391 * manual/Makefile: Don't mix pattern rules with normal rules.
45392
817328ee
AS
453932010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45394
45395 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45396 operation.
45397 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45398 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45399 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45400 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45402 Likewise.
45403
29fddf61
UD
454042010-09-04 Ulrich Drepper <drepper@redhat.com>
45405
45406 [BZ #11979]
45407 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45408 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45409
0959ffc9
UD
454102010-09-02 Ulrich Drepper <drepper@redhat.com>
45411
45412 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45413 * sysdeps/x86_64/addmul_1.S: Likewise.
45414 * sysdeps/x86_64/lshift.S: Likewise.
45415 * sysdeps/x86_64/mul_1.S: Likewise.
45416 * sysdeps/x86_64/rshift.S: Likewise.
45417 * sysdeps/x86_64/sub_n.S: Likewise.
45418 * sysdeps/x86_64/submul_1.S: Likewise.
45419
ece29840
ST
454202010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45421
0959ffc9
UD
45422 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45423 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45424 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45425 * bits/sched.h [__need_schedparam]
ece29840 45426 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45427 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45428 (__defined_schedparam): Define to 1.
ece29840
ST
45429 (__sched_param): New structure, identical to sched_param.
45430 (__need_schedparam): Undefine.
45431
e53a31fe
MF
454322010-08-31 Mike Frysinger <vapier@gentoo.org>
45433
fdc0c10d
MF
45434 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45435 (epoll_create1): Declare.
45436
e53a31fe
MF
45437 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45438
a726d796
AS
454392010-08-31 Andreas Schwab <schwab@redhat.com>
45440
45441 [BZ #7066]
45442 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45443 shifting retval into place.
45444
2f3e3dc7
UD
454452010-09-01 Ulrich Drepper <drepper@redhat.com>
45446
f2933da9
UD
45447 * nis/rpcsvc/nis.h: Update copyright notice.
45448 * nis/rpcsvc/nis.x: Likewise.
45449 * nis/rpcsvc/nis_callback.h: Likewise.
45450 * nis/rpcsvc/nis_callback.x: Likewise.
45451 * nis/rpcsvc/nis_object.x: Likewise.
45452 * nis/rpcsvc/nis_tags.h: Likewise.
45453 * nis/rpcsvc/yp.h: Likewise.
45454 * nis/rpcsvc/yp.x: Likewise.
45455 * nis/rpcsvc/ypupd.h: Likewise.
45456 * nis/yp_xdr.c: Likewise.
45457 * nis/ypupdate_xdr.c: Likewise.
45458
2f3e3dc7
UD
45459 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45460 mainly the body of pmap_getport. Add parameters to specify timeouts.
45461 (pmap_getport): Use __libc_rpc_getport.
45462 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45463 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45464 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45465
f3dcc2f9
AS
454662010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45467
45468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45469 fanotify_mark.
45470
6d34eb5b
RM
454712010-08-27 Roland McGrath <roland@redhat.com>
45472
45473 * sysdeps/i386/i686/multiarch/Makefile
45474 (CFLAGS-varshift.c): New variable.
45475
9ea3de11
UD
454762010-08-27 Ulrich Drepper <drepper@redhat.com>
45477
c96d23fc
UD
45478 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45479 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45480
9ea3de11
UD
45481 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45482
45483 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45484
623aac7f
L
454852010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45486
45487 * sysdeps/x86_64/strlen.S: Unroll the loop.
45488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45489 strlen-sse2 strlen-sse2-bsf.
45490 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45491 __strlen_no_bsf if bit_Slow_BSF is set.
45492 (__strlen_sse42): Removed.
45493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45494 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45495
8b2b7715
RM
454962010-08-25 Roland McGrath <roland@redhat.com>
45497
45498 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45499 * sysdeps/x86_64/multiarch/varshift.c: New file.
45500 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45501 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45502 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45503 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45504
e73015f2
L
455052010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45506
45507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45508 strlen-sse2 strlen-sse2-bsf.
45509 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45510 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45511 (__strlen_sse2): Removed.
45512 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45513 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45515 bit_Slow_BSF for Atom.
45516 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45517 (index_Slow_BSF): Define.
45518 (HAS_SLOW_BSF): Define.
45519
df24a73e
UD
455202010-08-25 Ulrich Drepper <drepper@redhat.com>
45521
45522 [BZ #10851]
45523 * resolv/res_init.c (__res_vinit): When no server address at all
45524 is given default to loopback.
45525
f2ac4868
RM
455262010-08-24 Roland McGrath <roland@redhat.com>
45527
09055553
RM
45528 * configure.in: Remove config-name.h generation.
45529 * configure: Regenerated.
45530 * config-name.in: File removed.
45531 * scripts/config-uname.sh: New file.
45532 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45533 ($(objdir)config-name.h): New target.
45534
f2ac4868
RM
45535 * sunrpc/rpc_parse.h: Avoid nested comment.
45536
73f27d5e
RH
455372010-08-24 Richard Henderson <rth@redhat.com>
45538 Ulrich Drepper <drepper@redhat.com>
45539 H.J. Lu <hongjiu.lu@intel.com>
45540
45541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45543 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45544 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45545 _mm_alignr_epi8 with _mm_loadu_si128.
45546 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45547 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45548 (__m128i_shift_right): Removed.
45549 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45550 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45551 * sysdeps/x86_64/multiarch/varshift.h: New file.
45552 * sysdeps/x86_64/multiarch/varshift.S: New file.
45553
84b9230c
MF
455542010-08-21 Mike Frysinger <vapier@gentoo.org>
45555
45556 * configure.in: Move assembler checks to before sysdep dir checking.
45557
9bbd0ddc
PB
455582010-08-20 Petr Baudis <pasky@suse.cz>
45559
45560 * LICENSES: Sync the sunrpc license.
45561
9da4bb31
UD
455622010-08-19 Ulrich Drepper <drepper@redhat.com>
45563
a7ab6ec8
UD
45564 * sunrpc/auth_des.c: Update copyright notice once again.
45565 * sunrpc/auth_none.c: Likewise.
45566 * sunrpc/auth_unix.c: Likewise.
45567 * sunrpc/authdes_prot.c: Likewise.
45568 * sunrpc/authuxprot.c: Likewise.
45569 * sunrpc/bindrsvprt.c: Likewise.
45570 * sunrpc/clnt_gen.c: Likewise.
45571 * sunrpc/clnt_perr.c: Likewise.
45572 * sunrpc/clnt_raw.c: Likewise.
45573 * sunrpc/clnt_simp.c: Likewise.
45574 * sunrpc/clnt_tcp.c: Likewise.
45575 * sunrpc/clnt_udp.c: Likewise.
45576 * sunrpc/clnt_unix.c: Likewise.
45577 * sunrpc/des_crypt.c: Likewise.
45578 * sunrpc/des_soft.c: Likewise.
45579 * sunrpc/get_myaddr.c: Likewise.
45580 * sunrpc/getrpcport.c: Likewise.
45581 * sunrpc/key_call.c: Likewise.
45582 * sunrpc/key_prot.c: Likewise.
45583 * sunrpc/openchild.c: Likewise.
45584 * sunrpc/pm_getmaps.c: Likewise.
45585 * sunrpc/pm_getport.c: Likewise.
45586 * sunrpc/pmap_clnt.c: Likewise.
45587 * sunrpc/pmap_prot.c: Likewise.
45588 * sunrpc/pmap_prot2.c: Likewise.
45589 * sunrpc/pmap_rmt.c: Likewise.
45590 * sunrpc/rpc/auth.h: Likewise.
45591 * sunrpc/rpc/auth_unix.h: Likewise.
45592 * sunrpc/rpc/clnt.h: Likewise.
45593 * sunrpc/rpc/des_crypt.h: Likewise.
45594 * sunrpc/rpc/key_prot.h: Likewise.
45595 * sunrpc/rpc/netdb.h: Likewise.
45596 * sunrpc/rpc/pmap_clnt.h: Likewise.
45597 * sunrpc/rpc/pmap_prot.h: Likewise.
45598 * sunrpc/rpc/pmap_rmt.h: Likewise.
45599 * sunrpc/rpc/rpc.h: Likewise.
45600 * sunrpc/rpc/rpc_des.h: Likewise.
45601 * sunrpc/rpc/rpc_msg.h: Likewise.
45602 * sunrpc/rpc/svc.h: Likewise.
45603 * sunrpc/rpc/svc_auth.h: Likewise.
45604 * sunrpc/rpc/types.h: Likewise.
45605 * sunrpc/rpc/xdr.h: Likewise.
45606 * sunrpc/rpc_clntout.c: Likewise.
45607 * sunrpc/rpc_cmsg.c: Likewise.
45608 * sunrpc/rpc_common.c: Likewise.
45609 * sunrpc/rpc_cout.c: Likewise.
45610 * sunrpc/rpc_dtable.c: Likewise.
45611 * sunrpc/rpc_hout.c: Likewise.
45612 * sunrpc/rpc_main.c: Likewise.
45613 * sunrpc/rpc_parse.c: Likewise.
45614 * sunrpc/rpc_parse.h: Likewise.
45615 * sunrpc/rpc_prot.c: Likewise.
45616 * sunrpc/rpc_sample.c: Likewise.
45617 * sunrpc/rpc_scan.c: Likewise.
45618 * sunrpc/rpc_scan.h: Likewise.
45619 * sunrpc/rpc_svcout.c: Likewise.
45620 * sunrpc/rpc_tblout.c: Likewise.
45621 * sunrpc/rpc_util.c: Likewise.
45622 * sunrpc/rpc_util.h: Likewise.
45623 * sunrpc/rpcinfo.c: Likewise.
45624 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45625 * sunrpc/rpcsvc/key_prot.x: Likewise.
45626 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45627 * sunrpc/rpcsvc/mount.x: Likewise.
45628 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45629 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45630 * sunrpc/rpcsvc/rex.x: Likewise.
45631 * sunrpc/rpcsvc/rstat.x: Likewise.
45632 * sunrpc/rpcsvc/rusers.x: Likewise.
45633 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45634 * sunrpc/rpcsvc/spray.x: Likewise.
45635 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45636 * sunrpc/rtime.c: Likewise.
45637 * sunrpc/svc.c: Likewise.
45638 * sunrpc/svc_auth.c: Likewise.
45639 * sunrpc/svc_authux.c: Likewise.
45640 * sunrpc/svc_raw.c: Likewise.
45641 * sunrpc/svc_run.c: Likewise.
45642 * sunrpc/svc_simple.c: Likewise.
45643 * sunrpc/svc_tcp.c: Likewise.
45644 * sunrpc/svc_udp.c: Likewise.
45645 * sunrpc/svc_unix.c: Likewise.
45646 * sunrpc/svcauth_des.c: Likewise.
45647 * sunrpc/xcrypt.c: Likewise.
45648 * sunrpc/xdr.c: Likewise.
45649 * sunrpc/xdr_array.c: Likewise.
45650 * sunrpc/xdr_float.c: Likewise.
45651 * sunrpc/xdr_mem.c: Likewise.
45652 * sunrpc/xdr_rec.c: Likewise.
45653 * sunrpc/xdr_ref.c: Likewise.
45654 * sunrpc/xdr_sizeof.c: Likewise.
45655 * sunrpc/xdr_stdio.c: Likewise.
45656
9da4bb31
UD
45657 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45658 handling.
45659
bdaa77bc
AS
456602010-08-19 Andreas Schwab <schwab@redhat.com>
45661
45662 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45663
fe2f79db
LM
456642010-08-19 Luis Machado <luisgpm@br.ibm.com>
45665
45666 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45667 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45668 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45669 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45670 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45671 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45672 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45673 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45674 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45675 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45676 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45677 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45678 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45679 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45680
b9b42ee0
AB
456812010-07-26 Anton Blanchard <anton@samba.org>
45682
45683 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45684 * malloc/arena.c (heap_trim): Likewise.
45685
1c06ba31
UD
456862010-08-16 Ulrich Drepper <drepper@redhat.com>
45687
45688 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45689 here. Not...
45690 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45691 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45692
f8392f40
L
456932010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45694
45695 * sysdeps/i386/elf/Makefile: New file.
45696
3162f12e
AS
456972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45698
45699 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45700 from fanotify_init.
45701 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45702 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45703
28c90b2c
UD
457042010-08-15 Ulrich Drepper <drepper@redhat.com>
45705
45706 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45707 of strncasecmp_l.
1feccb6c 45708 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45709
ca6bb004
UD
457102010-08-14 Ulrich Drepper <drepper@redhat.com>
45711
e9f82e0d
UD
45712 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45713 strncase_l-nonascii.
45714 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45715 Add strncase_l-ssse3.
45716 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45717 * sysdeps/x86_64/strcmp.S: Likewise.
45718 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45719 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45720 * sysdeps/x86_64/strncase.S: New file.
45721 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45722 * sysdeps/x86_64/strncase_l.S: New file.
45723 * string/Makefile (strop-tests): Add strncasecmp.
45724 * string/test-strncasecmp.c: New file.
45725
45726 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45727 warning.
45728
ca6bb004
UD
45729 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45730 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45731
052fa7b3
AS
457322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45733
45734 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45735
962dba78
UD
457362010-08-12 Ulrich Drepper <drepper@redhat.com>
45737
45738 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45739 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45740 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45741
bebff237
AM
457422010-05-01 Alan Modra <amodra@gmail.com>
45743
45744 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45745 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45746 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45747 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45748 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45749 tidying. Don't tail-call __sigjmp_save for static lib.
45750 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45751 save location.
45752 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45753 (CALL_MCOUNT): Add eh info, and nop after bl.
45754 (TAIL_CALL_SYSCALL_ERROR): New macro.
45755 (PSEUDO_RET): Use it.
45756 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45757 Correct save location of integer regs and cr.
45758 (_dl_profile_resolve): Correct cr save location. Delete nops
45759 after bl when SHARED. Reduce cfi size a little by better
45760 placement of cfi directives.
45761 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45762 make a stack frame. Instead use parm save area as a temp.
45763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45764 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45766 Don't make a stack frame for parent, use parm save area.
45767 Increase child stack frame to 112 bytes. Don't save unused reg,
45768 and adjust reg usage. Set up cfi on error recovery and
45769 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45771 (__makecontext): Add dummy nop after jump to exit.
45772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45773 Use correct parm save area and cr save, reduce stack frame.
45774 Correct cfi for possible PSEUDO_RET frame setup.
45775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45776 Branch to local label emitted by PSEUDO_RET rather than
45777 __syscall_error.
45778
02637374
AS
457792010-08-12 Andreas Schwab <schwab@redhat.com>
45780
45781 [BZ #11904]
45782 * locale/programs/locale.c (print_assignment): New function.
45783 (show_locale_vars): Use it.
45784
c3e2f19b
UD
457852010-08-11 Ulrich Drepper <drepper@redhat.com>
45786
3cdaa6ad
UD
45787 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45788 field.
45789 (struct statfs64): Likewise.
45790 (_STATFS_F_FLAGS): Define.
45791 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45792 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45793 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45794 (ST_VALID): Define locally.
45795 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45796 __statvfs_getflags, use the provided value.
45797 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45798 __ASSUME_STATFS_F_FLAGS.
45799
754f7da3
UD
45800 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45801
10b3bedc
UD
45802 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45803 Add sys/fanotify.h.
45804 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45805 fanotify_mask for GLIBC_2.13.
45806 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45807 fanotify_init and fanotify_mark.
45808 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45809 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45810
c08fb0d7
UD
45811 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45812 Add prlimit.
45813 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45814 prlimit64 for GLIBC_2.13.
45815 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45816 prlimit64.
45817 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45818 syscall.
45819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45820 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45821 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45822 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45824 add prlimit alias.
45825 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45826
15bac72b
UD
45827 [BZ #11903]
45828 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45829 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45830
c3e2f19b
UD
45831 * nss/Makefile: Add rules to build and run tst-nss-test1.
45832 * shlib-versions: Add entry for libnss_test1.
45833 * nss/nss_test1.c: New file.
45834 * nss/tst-nss-test1.c: New file.
45835
45836 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45837 (__nss_configure_lookup): Set appropriate entry in
45838 __nss_configure_lookup to true.
45839 * nss/nsswitch.h: Define enum with indeces of databases in
45840 databases and __nss_database_custom arrays. Declare
45841 __nss_database_custom.
45842 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45843 to avoid using nscd when custom rules are installed.
45844 * nss/getXXbyYY_r.c: Likewise.
45845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45846
45847 * nss/nss_files/files-parse.c: Whitespace fixes.
45848
f15ce4d8
UD
458492010-08-09 Ulrich Drepper <drepper@redhat.com>
45850
45851 [BZ #11883]
45852 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45853 * posix/fnmatch_loop.c: Likewise.
45854
d22e4cc9
AK
458552010-07-17 Andi Kleen <ak@linux.intel.com>
45856
45857 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45858 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45859 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45860 * Versions.def [GLIBC_2.13]: Add.
45861
805bc17d
UD
458622010-08-06 Ulrich Drepper <drepper@redhat.com>
45863
45864 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45865 Also fail if tpwd after pwuid call is NULL.
45866
5a42321d
ST
458672010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45868
45869 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45870 when converting to ms.
45871
fd3ebeda
ST
458722010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45873
45874 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45875 EOPNOTSUPP errors with ENOTTY.
45876 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45877 EOPNOTSUPP errors with ENOTTY.
45878
73507d3a
UD
458792010-07-31 Ulrich Drepper <drepper@redhat.com>
45880
45881 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45882 Add strcasecmp_l-ssse3.
45883 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45884 strcasecmp.
45885 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45886 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45887 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45888
fe36dd02
UD
458892010-07-30 Ulrich Drepper <drepper@redhat.com>
45890
66f6765a
UD
45891 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45892
42e08a54
UD
45893 * string/Makefile (strop-tests): Add strcasecmp.
45894 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45895 strcasecmp_l-nonascii.
45896 (gen-as-const-headers): Add locale-defines.sym.
45897 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45898 * sysdeps/x86_64/strcasecmp.S: New file.
45899 * sysdeps/x86_64/strcasecmp_l.S: New file.
45900 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45901 * sysdeps/x86_64/locale-defines.sym: New file.
45902 * string/test-strcasecmp.c: New file.
45903
fe36dd02
UD
45904 * string/test-strcasestr.c: Test both ends of the range of characters.
45905 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45906
48cbc0d6
RM
459072010-07-29 Roland McGrath <roland@redhat.com>
45908
76e6d6bc 45909 [BZ #11856]
48cbc0d6
RM
45910 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45911
880113d9
UD
459122010-07-27 Ulrich Drepper <drepper@redhat.com>
45913
45914 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45915 for ld.so.
45916
deb9cabb
AS
459172010-07-27 Andreas Schwab <schwab@redhat.com>
45918
45919 * manual/memory.texi (Malloc Tunable Parameters): Document
45920 M_PERTURB.
45921
1c7570ff
RM
459222010-07-26 Roland McGrath <roland@redhat.com>
45923
45924 [BZ #11840]
45925 * configure.in (-fgnu89-inline check): Set and substitute
45926 gnu89_inline, not libc_cv_gnu89_inline.
45927 * configure: Regenerated.
45928 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45929
24fb0f88
UD
459302010-07-26 Ulrich Drepper <drepper@redhat.com>
45931
45932 * string/test-strnlen.c: New file.
45933 * string/Makefile (strop-tests): Add strnlen.
45934 * string/tester.c (test_strnlen): Add a few more test cases.
45935 * string/tst-strlen.c: Better error reporting.
45936
45937 * sysdeps/x86_64/strnlen.S: New file.
45938
8e96b93a
UD
459392010-07-24 Ulrich Drepper <drepper@redhat.com>
45940
45941 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45942 lower-latency instructions.
45943
dbc676d4
UD
459442010-07-23 Ulrich Drepper <drepper@redhat.com>
45945
45946 * string/test-strcasestr.c: New file.
45947 * string/test-strstr.c: New file.
45948 * string/Makefile (strop-tests): Add strstr and strcasestr.
45949 * string/str-two-way.h: Don't undefine MAX.
45950 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45951
f6a31e0e
AS
459522010-07-21 Andreas Schwab <schwab@redhat.com>
45953
45954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45955 strcasestr-nonascii.
45956 (CFLAGS-strcasestr-nonascii.c): Define.
45957 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45958 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45959 Remove unused attribute.
45960
5dbc3b6c
RM
459612010-07-20 Roland McGrath <roland@redhat.com>
45962
45963 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45964 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45965 ld.so.cache was broken. With it, there is no way to disable dsocaps
45966 like LD_HWCAP_MASK can disable hwcaps.
45967
23d101d8
EPM
459682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45969
45970 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45971
cc9f2e47
UD
459722010-07-16 Ulrich Drepper <drepper@redhat.com>
45973
45974 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45975 call in strcasestr.
45976 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45977 __strcasestr_sse42_nonascii.
45978 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45979 strcasestr-nonascii.c.
45980 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45981
77c1b069
LM
459822010-06-15 Luis Machado <luisgpm@br.ibm.com>
45983
45984 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45985 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45986 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45987 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45988
440566c3
UD
459892010-07-09 Ulrich Drepper <drepper@redhat.com>
45990
45991 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45992 fcntl.
45993
5be9d05d
AS
459942010-07-06 Andreas Schwab <schwab@redhat.com>
45995
c30b7ee2 45996 [BZ #11577]
5be9d05d
AS
45997 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45998 dl_signal_cerror.
45999
8a492a67
UD
460002010-07-06 Ulrich Drepper <drepper@redhat.com>
46001
46002 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46003 _PC_PIPE_BUF using F_GETPIPE_SZ.
46004
713df3d5
RM
460052010-07-05 Roland McGrath <roland@redhat.com>
46006
46007 * manual/arith.texi (Rounding Functions): Fix rint description
46008 implicit in round description.
46009
702e8f14
UD
460102010-07-02 Ulrich Drepper <drepper@redhat.com>
46011
46012 * elf/Makefile: Fix linking for a few tests to make recent linker
46013 happy.
46014
52ed8be9
AS
460152010-06-30 Andreas Schwab <schwab@redhat.com>
46016
46017 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46018 $(common-objpfx)libc_nonshared.a.
46019
f47c9a11
LM
460202010-06-21 Luis Machado <luisgpm@br.ibm.com>
46021
46022 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46023 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46024 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46025 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46026 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46027 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46028 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46029 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46044 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46045 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46046 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46047 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46048 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46049 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46050 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46051 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46052 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46053 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46054 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46055 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46070
6fb8cbcb
L
460712010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46072
46073 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46074 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46075 * string/memmove.c (memmove): Renamed to ...
46076 (MEMMOVE): ...this. Default to memmove.
46077 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46078 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46079 (END_CHK): Define.
46080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46081 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46082 mempcpy-ssse3-back memmove-ssse3-back.
46083 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46084 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46086 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46087 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46088 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46089 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46090 * sysdeps/x86_64/multiarch/memmove.c: New file.
46091 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46092 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46093 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46094 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46095 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46096 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46097 Define.
46098 (index_Fast_Copy_Backward): Define.
46099 (HAS_ARCH_FEATURE): Define.
46100 (HAS_FAST_REP_STRING): Define.
46101 (HAS_FAST_COPY_BACKWARD): Define.
46102
4e733bac 461032010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
46104
46105 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46106 Restore proper fallback handling.
46107
63c4ed22
UD
461082010-06-19 Ulrich Drepper <drepper@redhat.com>
46109
ac2b484c
UD
46110 [BZ #11701]
46111 * posix/group_member.c (__group_member): Correct checking loop.
46112
63c4ed22
UD
46113 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46114 OOM in getpwuid_r correctly. Return error number when the caller
46115 should return, otherwise -1.
46116 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46117 call returning > 0 value.
46118 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46119
765ade4b
AS
461202010-06-07 Andreas Schwab <schwab@redhat.com>
46121
46122 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46123 libc_nonshared.a from targets in modules-names.
46124
80da2e09
KS
461252010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46126
46127 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46128 requires it.
46129
158db122
LM
461302010-06-10 Luis Machado <luisgpm@br.ibm.com>
46131
46132 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46133 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46134 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46135 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46136
caa78cf8
AS
461372010-06-02 Andreas Schwab <schwab@redhat.com>
46138
46139 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46140
b2ef2c01
UD
461412010-06-14 Ulrich Drepper <drepper@redhat.com>
46142
46143 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46144 and F_GETPIPE_SZ.
46145 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46147 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46149 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46150 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46151
fbd643b6
RM
461522010-06-14 Roland McGrath <roland@redhat.com>
46153
46154 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46155
f32f2869
JJ
461562010-06-07 Jakub Jelinek <jakub@redhat.com>
46157
46158 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46159 __REDIRECT followed by __THROW.
46160 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46161 * posix/getopt.h (getopt): Likewise.
46162
2a50c078
EPM
461632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46164
46165 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46166 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46167 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46168 in AT_FLAGS.
46169 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46170 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46171
eb5ad2eb
LM
461722010-05-28 Luis Machado <luisgpm@br.ibm.com>
46173
46174 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46175
3c88fe1e
L
461762010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46177
46178 [BZ #11640]
46179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46180 Properly check family and model.
46181
d2f73151
TY
461822010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46183
46184 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46185
ebd2e13d
LM
461862010-05-24 Luis Machado <luisgpm@br.ibm.com>
46187
46188 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46189
b32b8b45
UD
461902010-05-21 Ulrich Drepper <drepper@redhat.com>
46191
46192 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46193 symbol reference.
46194
9acbe24d
AS
461952010-05-19 Andreas Schwab <schwab@redhat.com>
46196
46197 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46198 symbol reference.
46199
f0ccf6ea
AS
462002010-05-21 Andreas Schwab <schwab@redhat.com>
46201
3d04ff3a
AS
46202 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46203 and internal_recvmmsg.
46204 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46205 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46206 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46207 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46208
f0ccf6ea
AS
46209 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46210 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46211 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46212
5b08ac57
AS
462132010-05-20 Andreas Schwab <schwab@redhat.com>
46214
46215 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46216
4828935d
LM
462172010-05-17 Luis Machado <luisgpm@br.ibm.com>
46218
46219 POWER7 optimizations.
46220 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46221 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46222
373d545e
UD
462232010-05-19 Ulrich Drepper <drepper@redhat.com>
46224
46225 * version.h: Update for 2.13 development version.
46226
21a2b1ae
AS
462272010-05-12 Andrew Stubbs <ams@codesourcery.com>
46228
46229 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46230 exceptions. Return 0.
46231
3f7dcb2b
RM
462322010-05-07 Roland McGrath <roland@redhat.com>
46233
46234 * elf/ldconfig.c (main): Add a const.
46235
5f24d53a 462362010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46237
a160f8d8
UD
46238 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46239 (args_options): Add no-idn option.
46240 (ahosts_keys_int): Add idn_flags to ai_flags.
46241 (parse_option): Handle 'i' option to clear idn_flags.
46242
5f24d53a
UD
46243 * malloc/malloc.c (_int_free): Possible race in the most recently
46244 added check. Only act on the data if no current modification
46245 happened.
265bb1ce
UD
46246
46247See ChangeLog.17 for earlier changes.