]> sourceware.org Git - glibc.git/blame - ChangeLog
S390: Convert fork.c to arch-fork.h
[glibc.git] / ChangeLog
CommitLineData
45193bb8
RM
12014-06-13 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5
f6fdf533
DM
62014-06-13 David S. Miller <davem@davemloft.net>
7
8 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19 Remove RESET_PID cpp guards.
20 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
21 Remove RESET_PID cpp guards.
22 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
23
f5d71e14
AS
242014-06-13 Andreas Schwab <schwab@linux-m68k.org>
25
26 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27 __sp to uintptr_t.
28
b7aa8caa
AK
292014-06-13 Andi Kleen <ak@linux.intel.com>
30
31 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
32 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
36 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
38 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
40 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
41 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
42 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
43 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
45 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
46 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
47 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
49 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
51
8491ed6d
AK
522014-06-13 Andi Kleen <ak@linux.intel.com>
53
54 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
55 (pthread_rwlock_rdlock): Add elision.
56 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
57 (pthread_rwlock_wrlock): Add elision.
58 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
59 (pthread_rwlock_trywrlock): Add elision.
60 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
61 (pthread_rwlock_tryrdlock): Add elision.
62 * nptl/pthread_rwlock_unlock.c: Include elide.h.
63 (pthread_rwlock_tryrdlock): Add elision unlock.
64 * nptl/sysdeps/pthread/pthread.h:
65 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
66 (PTHREAD_RWLOCK_INITIALIZER,
67 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
68 Handle new elision field.
69 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
70 * sysdeps/arm/nptl/bits/pthreadtypes.h
71 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
72 * sysdeps/sh/nptl/bits/pthreadtypes.h
73 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
74 * sysdeps/tile/nptl/bits/pthreadtypes.h
75 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
76 * sysdeps/a/nptl/bits/pthreadtypes.h
77 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
78 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
79 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
80 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
81 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
82 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
83 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
84 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
85 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
86 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
87 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
88 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
89 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
90 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
91 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
92 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
93 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
94 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
95 (elision_init): Set try_xbegin to zero when no RTM.
96 * sysdeps/x86/nptl/bits/pthreadtypes.h
97 (pthread_rwlock_t): Change __pad1 to __rwelision.
98 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
99
a832bdd3
AK
1002014-06-13 Andi Kleen <ak@linux.intel.com>
101
102 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
103 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
104 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
105 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
106
995a46bb
MI
1072014-06-13 Meador Inge <meadori@codesourcery.com>
108
109 [BZ #16996]
03ed7738 110 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
111 that the cached result has been set before returning it.
112
45262aee
RM
1132014-06-12 Roland McGrath <roland@hack.frob.com>
114
febf6cc5
RM
115 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
116 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
117 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
118 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
119 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
120 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
121
e2682246
RM
122 * nptl/sysdeps/sparc/Makefile: Moved ...
123 * sysdeps/sparc/nptl/Makefile: ... here.
124 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
125 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
126 * nptl/sysdeps/sparc/tls.h: Moved ...
127 * sysdeps/sparc/nptl/tls.h: ... here.
128 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
129 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
130 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
131 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
132 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
133 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
134 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
135 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
136 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
137 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
138 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
139 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
140 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
141 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
142 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
143 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
144 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
145 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
146 Update #include.
147 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
148 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
149 Update #include.
150 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
152 Update #include.
153 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
154 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
155 Update #include.
156
b0725f43
RM
157 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
158
b14368b8
RM
159 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
160 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
161
c5620eb3
RM
162 * sysdeps/pthread/posix-timer.h: Include <list.h>.
163 (struct list_links): Type removed.
164 (struct thread_node, struct timer_node): Replace struct list_links
165 with struct list_head.
166 (list_unlink_ip): Likewise.
167 * sysdeps/pthread/timer_routines.c
168 (timer_free_list, thread_free_list, thread_active_list): Likewise.
169 (list_append, list_insbefore): Likewise.
170 (list_init): Function removed.
171 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
172 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
173 * sysdeps/pthread/Makefile: ... here, new file.
174
175 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
176 * sysdeps/nptl/Implies: ... here.
177 * sysdeps/unix/sysv/linux/Implies: Add nptl.
178 * nptl/sysdeps/pthread/list.h: Moved ...
179 * include/list.h: ... here.
180 * nptl/sysdeps/pthread/createthread.c: Moved ...
181 * nptl/createthread.c: ... here.
182 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
183 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
184 * nptl/pt-longjmp.c: ... here.
185 * nptl/sysdeps/pthread/Makefile: Moved ...
186 * sysdeps/nptl/Makefile: ... here.
187 * nptl/sysdeps/pthread/Subdirs: Moved ...
188 * sysdeps/nptl/Subdirs: ... here.
189 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
190 * sysdeps/nptl/aio_misc.h: ... here.
191 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
192 * sysdeps/nptl/bits/libc-lock.h: ... here.
193 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
194 * sysdeps/nptl/bits/libc-lockP.h: ... here.
195 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
196 * sysdeps/nptl/bits/stdio-lock.h: ... here.
197 * nptl/sysdeps/pthread/configure: Moved ...
198 * sysdeps/nptl/configure: ... here.
199 * nptl/sysdeps/pthread/configure.ac: Moved ...
200 * sysdeps/nptl/configure.ac: ... here.
201 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
202 * sysdeps/nptl/gai_misc.h: ... here.
203 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
204 * sysdeps/nptl/librt-cancellation.c: ... here.
205 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
206 * sysdeps/nptl/malloc-machine.h: ... here.
207 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
208 * sysdeps/nptl/pthread-functions.h: ... here.
209 * nptl/sysdeps/pthread/pthread.h: Moved ...
210 * sysdeps/nptl/pthread.h: ... here.
211 * nptl/sysdeps/pthread/setxid.h: Moved ...
212 * sysdeps/nptl/setxid.h: ... here.
213 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
214 * sysdeps/nptl/sigfillset.c: ... here.
215 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
216 * sysdeps/nptl/tcb-offsets.h: ... here.
217 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
218 * sysdeps/nptl/tst-mqueue8x.c: ... here.
219 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
220 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
221 * nptl/sysdeps/pthread/allocalim.h: Moved ...
222 * sysdeps/pthread/allocalim.h: ... here.
223 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
224 * sysdeps/pthread/bits/sigthread.h: ... here.
225 * nptl/sysdeps/pthread/flockfile.c: Moved ...
226 * sysdeps/pthread/flockfile.c: ... here.
227 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
228 * sysdeps/pthread/ftrylockfile.c: ... here.
229 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
230 * sysdeps/pthread/funlockfile.c: ... here.
231 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
232 * sysdeps/pthread/posix-timer.h: ... here.
233 * nptl/sysdeps/pthread/timer_create.c: Moved ...
234 * sysdeps/pthread/timer_create.c: ... here.
235 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
236 * sysdeps/pthread/timer_delete.c: ... here.
237 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
238 * sysdeps/pthread/timer_getoverr.c: ... here.
239 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
240 * sysdeps/pthread/timer_gettime.c: ... here.
241 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
242 * sysdeps/pthread/timer_routines.c: ... here.
243 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
244 * sysdeps/pthread/timer_settime.c: ... here.
245 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
246 * sysdeps/pthread/tst-timer.c: ... here.
247 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
248 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
249
e876b090
RM
250 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
251 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
252
f6b07b3d
RM
253 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
254 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
255 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
256 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
257 Update #include target.
258 * nptl/sysdeps/i386/i686/Makefile: Moved ...
259 * sysdeps/i386/i686/nptl/Makefile: ... here.
260 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
261 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
262 Update #include target.
263 * nptl/sysdeps/i386/i686/tls.h: Moved ...
264 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
265 * nptl/sysdeps/i386/Makefile: Moved ...
266 * sysdeps/i386/nptl/Makefile: ... here.
267 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
268 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
269 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
270 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
271 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
272 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
273 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
274 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
275 * sysdeps/i386/nptl/pthreaddef.h: ... here.
276 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
277 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
278 * nptl/sysdeps/i386/tls.h: Moved ...
279 * sysdeps/i386/nptl/tls.h: ... here.
280
45262aee
RM
281 * sysdeps/sh/Makefile [$(subdir) = csu]
282 (gen-as-const-headers): Add tcb-offsets.sym.
283 * nptl/sysdeps/sh/Makefile: File removed.
284 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
285 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
286 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
287 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
288 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
289 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
290 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
291 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
292 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
293 * sysdeps/sh/nptl/pthreaddef.h: ... here.
294 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
295 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
296 * nptl/sysdeps/sh/tls.h: Moved ...
297 * sysdeps/sh/nptl/tls.h: ... here.
298 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
299 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
300 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
301 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
302 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
303 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
304 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
305 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
306 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
307 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
308 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
309 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
310 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
311 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
312 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
313 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
314 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
315 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
316 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
317 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
318 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
319 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
320 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
321 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
322 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
323 Moved ...
324 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
325 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
326 Moved ...
327 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
328 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
329 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
330 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
331 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
332 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
333 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
334 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
335 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
336 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
337 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
338 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
339 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
340 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
341 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
342 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
343 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
344 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
345 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
346
35a5e3e3
SL
3472014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
348
349 * posix/spawn_faction_addopen.c: Include string.h.
350
14642b85
RM
3512014-06-11 Roland McGrath <roland@hack.frob.com>
352
353 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
354 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
355 * nptl/sysdeps/x86_64/Makefile: Moved ...
356 * sysdeps/x86_64/nptl/Makefile: ... here.
357 * nptl/sysdeps/x86_64/configure: Moved ...
358 * sysdeps/x86_64/nptl/configure: ... here.
359 * nptl/sysdeps/x86_64/configure.ac: Moved ...
360 * sysdeps/x86_64/nptl/configure.ac: ... here.
361 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
362 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
363 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
364 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
365 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
366 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
367 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
368 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
369 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
370 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
371 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
372 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
373 * nptl/sysdeps/x86_64/tls.h: Moved ...
374 * sysdeps/x86_64/nptl/tls.h: ... here.
375 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
376 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
377 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
378 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
379
380 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
381
31c44fea
AZ
3822014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
383
384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
385
e81a4f9a
JM
3862014-06-11 Joseph Myers <joseph@codesourcery.com>
387
388 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
389 type.
390 [POSIX] (off_t): Likewise.
391 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
392 [POSIX] (S_ISBLK): Require macro.
393 [POSIX] (S_ISCHR): Likewise.
394 [POSIX] (S_ISDIR): Likewise.
395 [POSIX] (S_ISFIFO): Likewise.
396 [POSIX] (S_ISREG): Likewise.
397 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
398 optional-macro.
399 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
400 type.
401 [POSIX] (time_t): Likewise.
402 [POSIX] (timer_t): Likewise.
403
89e435f3
FW
4042014-06-11 Florian Weimer <fweimer@redhat.com>
405
406 [BZ #17048]
407 * posix/spawn_int.h (struct __spawn_action): Make the path string
408 non-const to support deallocation.
409 * posix/spawn_faction_addopen.c
410 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
411 * posix/spawn_faction_destroy.c
412 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
413 path in all spawn_do_open actions.
414 * posix/tst-spawn.c (do_test): Exercise the copy operation in
415 posix_spawn_file_actions_addopen.
416
c3a2ebe1
CM
4172014-06-11 Chris Metcalf <cmetcalf@tilera.com>
418
419 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
420 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
421 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
422 conditional code always true.
423 (__libc_vfork): New alias.
424
9503784a
RM
4252014-06-11 Roland McGrath <roland@hack.frob.com>
426
c9cab3d2
RM
427 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
428 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
429
d3996c79
RM
430 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
431
ba5ec611
RM
432 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
433 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
434
f12b4814
RM
435 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
436 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
437
9503784a
RM
438 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
439 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
440
e23d3d26
VR
4412014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
442
443 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
444 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
445 multiarch strcmp for PPC64.
446 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
447 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
448 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
449 multiarch optimizations.
450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
451 (__libc_ifunc_impl_list): Likewise.
452
42b1161e
SP
4532014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
454
455 * benchtests/scripts/validate_benchout.py: New script.
456 * benchtests/Makefile (bench-func): Call it.
457 * benchtests/scripts/benchout.schema.json: New file.
458
2d0fc4dc
CM
4592014-06-10 Chris Metcalf <cmetcalf@tilera.com>
460
4a594c34
AZ
461 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
462 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
463 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
464 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
465 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
466 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
467 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
468 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
469 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
470 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
471 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
472 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
473 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
474 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
475 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
476 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 478 Moved ...
4a594c34 479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 480 ... here.
4a594c34 481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 482 Moved ...
4a594c34
AZ
483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 485 Moved ...
4a594c34 486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 487 ... here.
4a594c34 488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 489 Moved ...
4a594c34 490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 491 ... here.
4a594c34 492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 493 Moved ...
4a594c34
AZ
494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 496 Moved ...
4a594c34 497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 498 ... here.
4a594c34 499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 500 Moved ...
4a594c34 501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 502 ... here.
4a594c34 503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 504 Moved ...
4a594c34
AZ
505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 507 Moved ...
4a594c34 508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 509 ... here.
4a594c34 510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 511 Moved ...
4a594c34 512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 513 ... here.
4a594c34 514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 515 Moved ...
4a594c34 516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 517 ... here.
4a594c34 518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 519 Moved ...
4a594c34
AZ
520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 522 Moved ...
4a594c34 523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 524 ... here.
4a594c34 525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 526 Moved ...
4a594c34 527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 528 ... here.
4a594c34 529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 530 Moved ...
4a594c34 531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 532 ... here.
4a594c34 533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 534 Moved ...
4a594c34
AZ
535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 537 Moved ...
4a594c34 538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 539 ... here.
4a594c34 540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 541 Moved ...
4a594c34 542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 543 ... here.
4a594c34 544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 545 Moved ...
4a594c34
AZ
546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 548 Moved ...
4a594c34 549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 550 ... here.
4a594c34 551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 552 Moved ...
4a594c34
AZ
553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 555 Moved ...
4a594c34
AZ
556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 558 Moved ...
4a594c34 559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 560 ... here.
4a594c34 561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 562 Moved ...
4a594c34 563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 564 ... here.
4a594c34 565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 566 Moved ...
4a594c34 567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 568 ... here.
4a594c34 569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 570 Moved ...
4a594c34
AZ
571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 573 Moved ...
4a594c34 574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 575 ... here.
4a594c34 576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 577 Moved ...
4a594c34 578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 579 ... here.
4a594c34
AZ
580 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
581 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
582 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
583 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
584 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 585 Moved ...
4a594c34 586 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 587 ... here.
4a594c34
AZ
588 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
589 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
590 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
591 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
592 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
593 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
594 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
595 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
596 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
597 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
598 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
599 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
600 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 601 Moved ...
4a594c34
AZ
602 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
603 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 604 Moved ...
4a594c34
AZ
605 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
606 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
607 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
608 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 609 Moved ...
4a594c34
AZ
610 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
611 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
612 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
613 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
614 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
615 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
616 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 617
0570cfed
W
6182014-06-10 Wilco <wdijkstr@arm.com>
619
620 * math/test-fenv-return.c: New file.
621 * math/Makefile: Add new test test-fenv-return.
622
f8ba1b56
JM
6232014-06-10 Joseph Myers <joseph@codesourcery.com>
624
625 [BZ #17042]
626 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
627 when x - 1 is zero.
628 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
629 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
630 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
631 0.0L for an argument of 1.0L.
632 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
633 Likewise.
634 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
635 value when x - 1 is zero.
636 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
637 * sysdeps/i386/fpu/libm-test-ulps: Update.
638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
639
2c3520d9
BO
6402014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
641
642 [BZ #15119]
643 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
644
acaa4d24
RM
6452014-06-09 Roland McGrath <roland@hack.frob.com>
646
647 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
648 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
649
962b744d
RM
6502014-06-09 Roland McGrath <roland@hack.frob.com>
651
d752f0cc
RM
652 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
653 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
654
34eda6d1
RM
655 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
656 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
657
50f0a637
RM
658 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
659 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
660
08f41f04
RM
661 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
662 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
663
962b744d
RM
664 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
665 if not already defined.
666 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
667 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
668 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
669 (TLS_INIT_TP): Use it.
670 (TLS_DEFINE_INIT_TP): New macro.
671 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
672
09f19b05
JM
6732014-06-09 Joseph Myers <joseph@codesourcery.com>
674
675 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
676 constant.
677 [POSIX] (IXANY): Likewise.
678 [POSIX] (OLCUC): Likewise.
679 [POSIX || POSIX2008] (CBAUD): Do not allow.
680 [POSIX || POSIX2008] (DEFECHO): Likewise.
681 [POSIX || POSIX2008] (ECHOCTL): Likewise.
682 [POSIX || POSIX2008] (ECHOKE): Likewise.
683 [POSIX || POSIX2008] (ECHOPRT): Likewise.
684 [POSIX || POSIX2008] (EXTA): Likewise.
685 [POSIX || POSIX2008] (EXTB): Likewise.
686 [POSIX || POSIX2008] (FLUSHO): Likewise.
687 [POSIX || POSIX2008] (LOBLK): Likewise.
688 [POSIX || POSIX2008] (PENDIN): Likewise.
689 [POSIX || POSIX2008] (SWTCH): Likewise.
690 [POSIX || POSIX2008] (VDISCARD): Likewise.
691 [POSIX || POSIX2008] (VDSUSP): Likewise.
692 [POSIX || POSIX2008] (VLNEXT): Likewise.
693 [POSIX || POSIX2008] (VREPRINT): Likewise.
694 [POSIX || POSIX2008] (VSTATUS): Likewise.
695 [POSIX || POSIX2008] (VWERASE): Likewise.
696 (B*): Change to B[0123456789]*.
697 * conform/data/time.h-data [POSIX || UNIX98]
698 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
699 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
700 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
701 [POSIX] (tm_*): Do not allow.
702
686554bf
JM
7032014-06-07 Joseph Myers <joseph@codesourcery.com>
704
705 * Makefile (install): Don't set LANGUAGE.
706 * Makefile.in (install): Likewise.
707 * assert/Makefile (test-assert-ENV): Remove variable.
708 (test-assert-perr-ENV): Likewise.
709 * elf/Makefile (neededtest4-ENV): Likewise.
710 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
711 [$(cross-compiling) = no]: Don't set LANGUAGE.
712 * io/ftwtest-sh (LANG): Remove variable.
713 * libio/Makefile (tst-widetext-ENV): Likewise.
714 * manual/install.texi (Running make install): Don't refer to
715 environment settings for make install.
716 * INSTALL: Regenerated.
717 * nptl/tst-tls6.sh: Don't set LANG.
718 * posix/globtest.sh (LANG): Remove variable.
719 * string/Makefile (tester-ENV): Likewise.
720 (inl-tester-ENV): Likewise.
721 (noinl-tester-ENV): Likewise.
722 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
723 [$(cross-compiling) = no]: Don't set LANGUAGE.
724 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
725 without explicit environment settings.
726
68e6b6b1
RM
7272014-06-06 Roland McGrath <roland@hack.frob.com>
728
729 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
730 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
731 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
732 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
733
4d3ae034
CM
7342014-06-06 Chris Metcalf <cmetcalf@tilera.com>
735
736 * crypt/crypt-private.h [DOS]: Add some includes taken from the
737 other files in the crypt directory.
738 * crypt/crypt.c: Remove duplicate includes.
739 * crypt/crypt-entry.c: Likewise.
740 * crypt/crypt_util.c: Likewise.
741
8540f6d2
JM
7422014-06-06 Joseph Myers <joseph@codesourcery.com>
743
744 * Makeconfig (run-program-env): New variable.
745 (run-program-prefix-before-env): Likewise.
746 (run-program-prefix-after-env): Likewise.
747 (run-program-prefix): Define in terms of new variables.
748 (built-program-cmd-before-env): New variable.
749 (built-program-cmd-after-env): Likewise.
750 (built-program-cmd): Define in terms of new variables.
751 (test-program-prefix-before-env): New variable.
752 (test-program-prefix-after-env): Likewise.
753 (test-program-prefix): Define in terms of new variables.
754 (test-program-cmd-before-env): New variable.
755 (test-program-cmd-after-env): Likewise.
756 (test-program-cmd): Define in terms of new variables.
757 * Rules (make-test-out): Use $(run-program-env).
758 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
759 (help): Do not mention environment variables. Mention
760 --timeoutfactor option.
761 (timeoutfactor): New variable.
762 (blacklist_exports): Remove function.
763 (exports): Remove variable.
764 (command): Do not include ${exports}.
765 * manual/install.texi (Configuring and compiling): Do not mention
766 test wrappers preserving environment variables. Mention that last
767 assignment to a variable must take precedence.
768 * INSTALL: Regenerated.
769 * benchtests/Makefile (run-bench): Use $(run-program-env).
770 * catgets/Makefile ($(objpfx)test1.cat): Use
771 $(built-program-cmd-before-env), $(run-program-env) and
772 $(built-program-cmd-after-env).
773 ($(objpfx)test2.cat): Do not specify environment variables
774 explicitly.
775 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
776 $(run-program-env) and $(built-program-cmd-after-env).
777 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
778 $(run-program-env) and $(test-program-cmd-after-env).
779 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
780 explicitly.
781 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
782 run_program_env and test_program_cmd_after_env arguments.
783 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
784 * elf/tst-pathopt.sh: Use run_program_env argument.
785 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
786 $(test-wrapper-env) and $(run-program-env).
787 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
788 run_program_env arguments.
789 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
790 * intl/Makefile ($(objpfx)tst-gettext.out): Use
791 $(test-program-prefix-before-env), $(run-program-env) and
792 $(test-program-prefix-after-env).
793 ($(objpfx)tst-gettext2.out): Likewise.
794 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
795 run_program_env and test_program_prefix_after_env arguments.
796 * intl/tst-gettext2.sh: Likewise.
797 * intl/tst-gettext4.sh: Do not set environment variables
798 explicitly.
799 * intl/tst-gettext6.sh: Likewise.
800 * intl/tst-translit.sh: Likewise.
801 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
802 $(test-program-prefix-before-env), $(run-program-env) and
803 $(test-program-prefix-after-env).
804 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
805 run_program_env and test_program_prefix_after_env arguments.
806 * math/Makefile (run-regen-ulps): Use $(run-program-env).
807 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
808 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
809 explicitly with each use of ${test_wrapper_env}.
810 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
811 $(test-program-prefix-before-env), $(run-program-env) and
812 $(test-program-prefix-after-env).
813 * posix/tst-getconf.sh: Do not set environment variables
814 explicitly.
815 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
816 run_program_env and test_program_prefix_after_env arguments.
817 * stdio-common/tst-printf.sh: Do not set environment variables
818 explicitly.
819 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
820 $(test-program-prefix-before-env), $(run-program-env) and
821 $(test-program-prefix-after-env).
822 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
823 run_program_env and test_program_prefix_after_env arguments.
824 Split $test calls into $test_pre and $test.
825 * timezone/Makefile (build-testdata): Use
826 $(built-program-cmd-before-env), $(run-program-env) and
827 $(built-program-cmd-after-env).
828
ed36bfa1
AZ
8292014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
830
831 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
832 strlen for non SHARED builds.
833
fc75bf46
SP
8342014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
835
836 * nptl/allocatestack.c (check_list): Inlined function...
837 (__reclaim_stacks): ... here.
838
d89b3d80
OB
8392014-06-05 Ondřej Bílka <neleai@seznam.cz>
840
841 [BZ #15698]
842 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
843 memory overrun.
844
2bf18041
JM
8452014-06-05 Joseph Myers <joseph@codesourcery.com>
846
847 * Rules (make-test-out): Include
848 LOCPATH=$(common-objpfx)localedata in default environment.
849 * debug/Makefile (tst-chk1-ENV): Remove variable.
850 (tst-chk2-ENV): Likewise.
851 (tst-chk3-ENV): Likewise.
852 (tst-chk4-ENV): Likewise.
853 (tst-chk5-ENV): Likewise.
854 (tst-chk6-ENV): Likewise.
855 (tst-lfschk1-ENV): Likewise.
856 (tst-lfschk2-ENV): Likewise.
857 (tst-lfschk3-ENV): Likewise.
858 (tst-lfschk4-ENV): Likewise.
859 (tst-lfschk5-ENV): Likewise.
860 (tst-lfschk6-ENV): Likewise.
861 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
862 (tst-iconv7-ENV): Likewise.
863 * intl/Makefile (LOCPATH-ENV): Likewise.
864 (tst-codeset-ENV): Likewise.
865 (tst-gettext3-ENV): Likewise.
866 (tst-gettext5-ENV): Likewise.
867 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
868 (tst-fopenloc-ENV): Likewise.
869 (tst-fgetws-ENV): Remove variable.
870 (tst-ungetwc1-ENV): Likewise.
871 (tst-ungetwc2-ENV): Likewise.
872 (bug-ungetwc2-ENV): Likewise.
873 (tst-swscanf-ENV): Likewise.
874 (bug-ftell-ENV): Likewise.
875 (tst-fgetwc-ENV): Likewise.
876 (tst-fseek-ENV): Likewise.
877 (tst-ftell-partial-wide-ENV): Likewise.
878 (tst-ftell-active-handler-ENV): Likewise.
879 (tst-ftell-append-ENV): Likewise.
880 * posix/Makefile (tst-fnmatch-ENV): Likewise.
881 (tst-regexloc-ENV): Likewise.
882 (bug-regex1-ENV): Likewise.
883 (tst-regex-ENV): Likewise.
884 (tst-regex2-ENV): Likewise.
885 (bug-regex5-ENV): Likewise.
886 (bug-regex6-ENV): Likewise.
887 (bug-regex17-ENV): Likewise.
888 (bug-regex18-ENV): Likewise.
889 (bug-regex19-ENV): Likewise.
890 (bug-regex20-ENV): Likewise.
891 (bug-regex22-ENV): Likewise.
892 (bug-regex23-ENV): Likewise.
893 (bug-regex25-ENV): Likewise.
894 (bug-regex26-ENV): Likewise.
895 (bug-regex30-ENV): Likewise.
896 (bug-regex32-ENV): Likewise.
897 (bug-regex33-ENV): Likewise.
898 (bug-regex34-ENV): Likewise.
899 (bug-regex35-ENV): Likewise.
900 (tst-rxspencer-ENV): Likewise.
901 (tst-rxspencer-no-utf8-ENV): Likewise.
902 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
903 (tst-sscanf-ENV): Likewise.
904 (tst-swprintf-ENV): Likewise.
905 (tst-swscanf-ENV): Likewise.
906 (test-vfprintf-ENV): Likewise.
907 (scanf13-ENV): Likewise.
908 (bug14-ENV): Likewise.
909 (tst-grouping-ENV): Likewise.
910 * stdlib/Makefile (tst-strtod-ENV): Likewise.
911 (tst-strtod3-ENV): Likewise.
912 (tst-strtod4-ENV): Likewise.
913 (tst-strtod5-ENV): Likewise.
914 (testmb2-ENV): Likewise./
915 * string/Makefile (tst-strxfrm-ENV): Likewise.
916 (tst-strxfrm2-ENV): Likewise.
917 (bug-strcoll1-ENV): Likewise.
918 (test-strcasecmp-ENV): Likewise.
919 (test-strncasecmp-ENV): Likewise.
920 * time/Makefile (tst-strptime-ENV): Likewise.
921 (tst-ftime_l-ENV): Likewise.
922 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
923 (tst-mbrtowc-ENV): Likewise.
924 (tst-wcrtomb-ENV): Likewise.
925 (tst-mbrtowc2-ENV): Likewise.
926 (tst-c16c32-1-ENV): Likewise.
927 (tst-mbsnrtowcs-ENV): Likewise.
928
cd1fb604
OB
9292014-06-05 Ondřej Bílka <neleai@seznam.cz>
930
931 * manual/resource.texi (How to get information about the memory
932 subsystem?): Fix typo.
933 Reported by Peon de la Parra Ivan <peon@keba.com>
934
b42eca7d
GY
9352014-06-03 Guo Yixuan <culu.gyx@gmail.com>
936
937 [BZ #16882]
938 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
939 (pthread_spin_lock): Branch out of spin loop to proper location.
940 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
941 (pthread_spin_lock): Likewise.
942
902b71f9
DM
943 * nptl/tst-spin4.c: New test.
944 * nptl/Makefile (tests): Add tst-spin4.
945
f9d2d032
AS
9462014-06-03 Andreas Schwab <schwab@suse.de>
947
948 [BZ #15946]
949 * resolv/res_send.c (send_dg): Reload file descriptor after
950 calling reopen.
951
cf7bfd28
SL
9522014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
953
954 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
955
111cc714
RH
9562014-06-03 Richard Henderson <rth@redhat.com>
957
89b4bd6b
RH
958 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
959 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
960 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
961 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
962 in the SAVE_PID block.
963 (__libc_vfork): New alias.
71840409 964 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 965
111cc714
RH
966 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
967 child in registers, not on the stack. Remove RESET_PID conditionals.
968 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
969
ccc39911
MS
9702014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
971
972 * sysdeps/aarch64/libm-test-ulps: Regenerate.
973
693096cc
W
9742014-06-03 Wilco <wdijkstr@arm.com>
975
976 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
977 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
978 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
979 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
980 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
981 Likewise.
982
0b4366bc
W
9832014-06-03 Wilco <wdijkstr@arm.com>
984
985 * sysdeps/aarch64/fpu/math_private.h
986 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
987 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
988 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
989 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
990 Fix declarations.
991
8747cd03
KS
9922014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
993
994 * crypt/crypt-private.h: Include ufc-crypt.h.
995 (__b64_from_24bit): Declare extern.
996 * crypt/crypt_util.c(__b64_from_24bit): New function.
997 (b64t): New static const variable.
998 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
999 (b64t): Remove variable.
1000 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1001 * crypt/sha256-crypt.c: Include crypt-private.h.
1002 (b64t): Remove variable.
1003 (__sha256_crypt_r): Remove b64_from_24bit and replace
1004 with __b64_from_24bit.
1005 * crypt/sha512-crypt.c: Likewise.
1006
d936d379
RM
10072014-06-02 Roland McGrath <roland@hack.frob.com>
1008
1009 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1010 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1011 Label the code __libc_vfork rather than __vfork.
1012 [!NOT_IN_libc] (vfork): Define as weak alias.
1013 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1014 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1015 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1016
9fa76613
SP
10172014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1018
1019 * malloc/malloc.c (malloc_info): Fix format specifier for
1020 n_mmaps.
1021
a88dadbe
W
10222014-06-02 Wilco <wdijkstr@arm.com>
1023
1024 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1025 FPCR write.
1026
c95b3011
W
10272014-06-02 Wilco <wdijkstr@arm.com>
1028
1029 [BZ #17009]
1030 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1031 Rewrite to reduce FPCR/FPSR accesses.
1032
6b4d7a90
DM
10332014-06-01 David S. Miller <davem@davemloft.net>
1034
1035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1036
30f3d07c
DM
10372014-05-31 David S. Miller <davem@davemloft.net>
1038
1039 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1040 to occur in round to nearest mode when |x| >= 2.0
1041
74f31c18
RH
10422014-05-30 Richard Henderson <rth@twiddle.net>
1043
f0712b54
RH
1044 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1045 (PSEUDO_RET_NOERRNO): Remove.
1046 (ret): Don't redefine.
1047 (ret_NOERRNO): Define in terms of ret.
1048 (ret_ERRVAL): Likewise.
1049
74f31c18
RH
1050 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1051 use of PSEUDO_RET; perform the error check directly.
1052
30477995
MM
10532014-05-30 Marko Myllynen <myllynen@redhat.com>
1054
1055 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1056 with __int128_t.
1057
62a58816
SP
10582014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1059
1060 * malloc/malloc (malloc_info): Fix formatting.
1061
4d653a59
SP
10622014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1063 Roland McGrath <roland@hack.frob.com>
1064
1065 * malloc/malloc (malloc_info): Also print mmapped statistics.
1066
5190c17f
RM
10672014-05-30 Roland McGrath <roland@hack.frob.com>
1068
1069 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1070 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1071
987c0269
OB
10722014-05-30 Ondřej Bílka <neleai@seznam.cz>
1073
1074 * malloc/malloc.c (malloc_info): Inline mi_arena.
1075
af4e8ef9
RH
10762014-05-29 Richard Henderson <rth@twiddle.net>
1077
1670e207
RH
1078 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1079 Remove comma before expanding ASM_ARGS_##nr.
1080 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1081 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1082 of ASM_ARGS_##nr.
1083 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1084 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1085 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1086 (ASM_ARGS_1): Add leading comma.
1087
11a28aee
RH
1088 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1089 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1090 to __errno_location.
1091 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1092 Remove the expected plt for __errno_location.
1093
a17e5ffb 1094 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 1095 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
1096 call to __read_tp.
1097
b5be4597
RH
1098 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1099 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1100 it and break it down.
1101 (DOCARGS_0, DOCARGS_1): Do nothing.
1102 (DOCARGS_2): Update to store into the new stack frame.
1103 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1104 (UNDOCARGS_1): Update to restore from the new stack frame.
1105 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1106 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1107
645d44ab
RH
1108 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1109 (SINGLE_THREAD_P): New parameter for result regno.
1110 (PSEUDO): Update to match; use cbz instead of beq.
1111
a8b4f04a
RH
1112 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1113 Use ENTRY to define the _nocancel entry point. Share the syscall
1114 and syscall error check paths with the cancel path.
1115 (PSEUDO_END): New.
1116
af4e8ef9
RH
1117 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1118 whitespace; tabs before and after asm mnemonics.
1119
26b0d2e1
EW
11202014-05-29 Eric Wong <normalperson@yhbt.net>
1121
1122 [BZ #15132]
1123 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1124 Call fstat64 or stat64 internally, depending on arguments passed.
1125 Replace stat buffer argument with file descriptor argument.
1126 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1127 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1128 Pass fd to __internal_statvfs instead of calling fstat64.
1129 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1130 Pass fd to __internal_statvfs64 instead of calling fstat64.
1131 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1132 Pass -1 to __internal_statvfs instead of calling stat64.
1133 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1134 Pass -1 to __internal_statvfs64 instead of calling stat64.
1135
1efe2bd9
RM
11362014-05-28 Roland McGrath <roland@hack.frob.com>
1137
0d3b7a19
RM
1138 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1139 that was previously under [RESET_PID].
1140 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1141
1efe2bd9
RM
1142 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1143 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1144
a6bea3ca
RM
11452014-05-27 Roland McGrath <roland@hack.frob.com>
1146
30b6629e
RM
1147 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1148
a6bea3ca
RM
1149 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1150 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1151
3dfb9a5c
OB
11522014-05-27 Ondřej Bílka <neleai@seznam.cz>
1153
1154 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1155
774f9285
AS
11562014-05-27 Andreas Schwab <schwab@suse.de>
1157
1158 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1159 TLS_INIT_TP macro.
1160 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1161 * elf/rtld.c (init_tls, dl_main): Likewise.
1162 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1163 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1164 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1165 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1166 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1167 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1168 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1169 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1170 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1171 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1172 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1173 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1174 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1175 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1176 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1177 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1178 * sysdeps/generic/tls.h: Update description.
1179
36ffe739
WN
11802014-05-27 Will Newton <will.newton@linaro.org>
1181
1182 [BZ #16990]
1183 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1184 and restore r2 rather than just restoring.
1185
2482ae43
SP
11862014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1187
1188 [BZ #16724]
1189 * libio/tst-ftell-append.c: New test case.
1190 * libio/Makefile (tests): Add test case.
1191 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1192 append mode.
1193 * libio/wfileops.c (do_ftell_wide): Likewise.
1194
3d1024e8
AZ
11952014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1196
bab90016
AZ
1197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1198
c7a8d667
AZ
1199 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1200 ...
1201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1203 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1204 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1205 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1206 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1207 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1208 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1210 Moved ...
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1212 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1213 Moved ...
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1215 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1216 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1217 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1218 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1219 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1220 ...
1221 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1222 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1223 Moved ...
1224 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1225 here.
1226 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1227 ...
1228 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1229 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1230 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1231
daee7851
AZ
1232 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1233 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1234 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1235 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1236
50a40819
AZ
1237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1238 merge into ...
1239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1240 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1241 ...
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1243 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1244 ...
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1246 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1247 Moved ...
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1249 here.
1250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1251 Moved ...
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1254 Moved ...
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1256
8464c2a1
AZ
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1258 conditional [RESET_PID].
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1260 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1261 removed.
1262 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1263 removed.
1264
3d1024e8
AZ
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1266 <tcb-offsets.h>.
1267 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1268 (__libc_vfork): New strong alias.
1269 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1270 removed.
1271 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1272 Removed.
1273
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1275 <tcb-offsets.h>.
1276 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1277 (__libc_vfork): New strong alias.
1278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1279 removed.
1280 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1281 removed.
1282
fdfd175d
CD
12832014-05-26 Carlos O'Donell <carlos@redhat.com>
1284
1285 * malloc/malloc.c (mi_arena): New function.
1286 (malloc_info): Remove nested function mi_arena. Call non-nosted
1287 function mi_arena.
1288
d298c416
AZ
12892014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1290
1291 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1292 by insrwi.
1293 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1294 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1295 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1296 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1297 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1298 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1299 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1300
b60ea6ff
AS
13012014-05-26 Andreas Schwab <schwab@suse.de>
1302
1303 [BZ #16984]
1304 * locale/programs/repertoire.c (repertoire_read): Add slash
1305 between I18NPATH element and file name.
1306 * locale/programs/locfile.c (locfile_read): Likewise.
1307
67365926
SL
13082014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1309
1310 * nptl/pthread_mutexattr_settype.c
1311 (__pthread_mutexattr_settype):
1312 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1313
f8bdf1f0
SL
13142014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1315
1316 * nptl/tst-mutex5 (do_test):
1317 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1318
15eaf6ff
SP
13192014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1320
1321 * benchtests/README: Document 'init' directive.
1322 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1323 BENCH_INIT.
1324 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1325 (parse_file): Recognize 'init' directive.
1326
75f11331
KM
13272014-05-26 Kyle McMartin <kyle@redhat.com>
1328
1329 [BZ #16796]
1330 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1331 alignment of struct pthread.
1332
c3ec475c
SP
13332014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1334
1335 [BZ #16878]
1336 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1337 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1338 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1339 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1340
82aab97c
RH
13412014-05-25 Richard Henderson <rth@twiddle.net>
1342
aa2f176d
RH
1343 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1344 (SINGLE_THREAD_P_PIC): Remove.
1345 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1346 (SINGLE_THREAD_P_PIC): Remove.
1347
ca3cfa40
RH
1348 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1349 branch to syscall error ...
1350 (PSEUDO): ... here.
1351 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1352 from __local_syscall_error to .Lsyscall_error.
1353 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1354 (SYSCALL_ERROR): Update label name.
1355
6e6c2d01
RH
1356 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1357 Do not use DOARGS/UNDOARGS.
1358 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1359 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1360 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1361 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1362 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1363
c69abcee
RH
1364 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1365 block comment.
1366
82aab97c
RH
1367 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1368 define if !NOT_IN_libc.
1369 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1370 define with non-default symbol versions.
1371
8820e3ac
RH
13722014-05-23 Richard Henderson <rth@twiddle.net>
1373
900e445f
RH
1374 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1375 (vfork, __vfork): Define via compat_symbol.
1376
8820e3ac
RH
1377 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1378 [!HAVE_IFUNC] (vfork_compat): Remove.
1379 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1380
e59252a5
JM
13812014-05-23 Joseph Myers <joseph@codesourcery.com>
1382
1383 [BZ #16978]
1384 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1385 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1386 variable.
1387
132c7f5f
RH
13882014-05-23 Richard Henderson <rth@twiddle.net>
1389
bc89e962
RH
1390 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1391 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1392 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1393 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1394
1395 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1396 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1397 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1398 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1399 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1400 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1401 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1402 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1403 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1404 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1405 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1406 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1407 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1408 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1410 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1411 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1412 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1413 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1414 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1415 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1416 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1417 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1418 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1419 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1420 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1421 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1422 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1423 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1424 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1425 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1426 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1427 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1428 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1429 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1430 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1432 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1433 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1434 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1435 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1436 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1437 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1438 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1439 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1440 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1441 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1442 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1443 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1444 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1445 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1446 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1447 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1448 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1449 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1450 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1451
e2fa4bc2
RH
1452 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1453 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1454 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1455 before exiting on error.
1456 (__libc_vfork): New strong alias.
1457 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1458 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1459
279b24e2
RH
1460 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1461 that was previously under [RESET_PID].
1462 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1463
132c7f5f
RH
1464 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1465
b72592e7
JM
14662014-05-23 Joseph Myers <joseph@codesourcery.com>
1467
1468 [BZ #16977]
1469 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1470 value when x - 1 is zero.
1471 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1472 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1473 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1474 0.0L for an argument of 1.0L.
1475 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1476 Likewise.
1477 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1478 value when x - 1 is zero.
1479 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1480 * sysdeps/i386/fpu/libm-test-ulps: Update.
1481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1482
2302d679
RV
14832014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1484
1485 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1486 alphasort and versionsort.
1487
32999d63
AZ
14882014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1489
1490 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1491 macro.
1492 [copysignf]: Likewise.
1493
019324d0
SP
14942014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1495
1496 * crypt/md5-crypt.c: Fix formatting.
1497
34fff5c2
KS
14982014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1499
1500 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1501 (b64_from_24bit): New function.
1502
3d2badac
AZ
15032014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1504
1505 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1506 libc_hidden_builtin_def to ifunc.
1507 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1508 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1509
f7bb179f 15102014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
1511
1512 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1513 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1514
4134b50d
JM
15152014-05-21 Joseph Myers <joseph@codesourcery.com>
1516
bb7d0337
JM
1517 * nscd/Depend (linuxthreads): Remove.
1518 (nptl): Add.
1519 * resolv/Depend (linuxthreads): Remove.
1520 * rt/Depend (linuxthreads): Remove.
1521
4134b50d
JM
1522 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1523 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1524 $(common-objpfx)elf/.
1525 (link-libc-before-gnulib): Likewise.
1526 (elfobjdir): Remove variable.
1527 * Makefile (install): Use $(elf-objpfx) instead of
1528 $(common-objpfx)elf/.
1529 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1530 $(elfobjdir)/.
1531 (link-libc-deps): Likewise.
1532 ($(common-objpfx)libc.so): Likewise.
1533 ($(common-objpfx)linkobj/libc.so): Likewise.
1534 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1535 instead of $(common-objpfx)elf/.
1536 (symbolic-link-list): Likewise.
1537 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1538 [$(cross-compiling) = no]: Likewise.
1539 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1540 $(elfobjdir)/.
1541 (static-gnulib-arch): Likewise.
1542 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1543 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1544 $(common-objpfx)elf/.
1545
3612eb8f
RH
15462014-05-21 Richard Henderson <rth@redhat.com>
1547
a6b3657b
RH
1548 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1549 (SINGLE_THREAD_P): Use the correct width load. Fold
1550 into the ldr offset.
1551
3612eb8f
RH
1552 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1553 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1554
175cef41
JM
15552014-05-20 Joseph Myers <joseph@codesourcery.com>
1556
1557 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1558 (libgcc_s_resume): Use __attribute_used__.
1559 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1560 Likewise.
1561
e13bccd3
AZ
15622014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1563
1564 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1565 optimization when used with float constants.
1566
7c112a38
AZ
1567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1568
ae75a883
AJ
15692014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1570
1571 [BZ #16915]
1572 * locale/nl_langinfo_l.c: Make direct reference to every
1573 _nl_current_CATEGORY symbol.
1574 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1575 (tests-static): Add tst-langinfo-static.
1576 (tests-special): Add tst-langinfo-static.out.
1577 ($(objpfx)tst-langinfo.out): Redirect output.
1578 ($(objpfx)tst-langinfo-static.out): New.
1579 * localedata/tst-langinfo.sh: Send output to stdout.
1580 * localedata/tst-langinfo-static.c: New file.
1581
4406c41c
AJ
1582 [BZ #16965]
1583 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1584 when the shift amount is modulo the limb size.
1585
4c0a1e63
RH
15862014-05-20 Richard Henderson <rth@redhat.com>
1587
de9d8f20
RH
1588 [BZ #16967]
1589 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1590 Change type of sa_flags from unsigned int to int.
1591
4c0a1e63
RH
1592 [BZ #16966]
1593 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
1594
1595 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1596
a60339aa
WN
15972014-05-20 Will Newton <will.newton@linaro.org>
1598
1599 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1600 Test the return value of the system call in the nocancel case.
1601
7d05a816
YR
16022014-05-20 Will Newton <will.newton@linaro.org>
1603 Yvan Roux <yvan.roux@linaro.org>
1604
1605 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1606 #include of asm/ptrace.h.
1607 (PTRACE_GET_THREAD_AREA): Remove #undef.
1608 (PTRACE_GETHBPREGS): Likewise.
1609 (PTRACE_SETHBPREGS): Likewise.
1610 (struct user_regs_struct): New structure.
1611 (struct user_fpsimd_struct): New structure.
1612 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1613 #include of asm/ptrace.h and second #include of sys/user.h.
1614 (PTRACE_GET_THREAD_AREA): Remove #undef.
1615 (PTRACE_GETHBPREGS): Likewise.
1616 (PTRACE_SETHBPREGS): Likewise.
1617 (ELF_NGREG): Use new struct user_regs_struct.
1618 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1619
af121e37
AZ
16202014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1621
1622 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1623 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1624
834caf06
JM
16252014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1626
1627 [BZ #16958]
1628 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1629 membar to avoid block loads/stores to overlap previous stores.
1630
e184a918
RH
16312014-05-17 Richard Henderson <rth@redhat.com>
1632
1633 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1634 Create the __##syscall_name##_nocancel entry point.
1635 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1636 Remove; let the sysdep-cancel.h code create it.
1637
f56c7a6a
DM
16382014-05-17 David S. Miller <davem@davemloft.net>
1639
1640 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1641 Protect with __USE_GNU.
1642 (TIOCSET_TEMPT): Likewise.
1643 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1644 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1645 these are already provided in bits/ioctl-types.h
1646
f75616b2
RM
16472014-05-16 Roland McGrath <roland@hack.frob.com>
1648
3edeca86
RM
1649 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1650 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1651
f75616b2
RM
1652 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1653 Use wait4 regardless of [__NR_waitpid].
1654
deb0f7f6
MR
16552014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1656
1657 PR libgcc/60166
1658 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1659 (_FP_NANSIGN_Q): Set the quiet bit.
1660
79520f4b
JM
16612014-05-16 Joseph Myers <joseph@codesourcery.com>
1662
1663 * benchtests/Makefile
1664 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1665 not $(common-objpfx)math/libm.so.
1666 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1667 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1668 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1669 $(common-objpfx)dlfcn/libdl.so.
1670 ($(objpfx)tst-audit8): Depend on $(libm), not
1671 $(common-objpfx)math/libm.so.
1672 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1673 not $(common-objpfx)dlfcn/libdl.so.
1674 * math/Makefile
1675 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1676 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1677 [$(build-shared) = yes].
1678 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1679 $(common-objpfx)nptl/libpthread.so.
1680 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1681 $(common-objpfx)math/libm.so$(libm.so-version) or
1682 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1683 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1684 $(common-objpfx)dlfcn/libdl.so.
1685 * setjmp/Makefile (link-libm): Remove variable.
1686 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1687 * stdio-common/Makefile (link-libm): Remove variable.
1688 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1689 * stdlib/Makefile (link-libm): Remove variable.
1690 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1691 ($(objpfx)tst-strtod-round): Likewise.
1692 ($(objpfx)tst-tininess): Likewise.
1693 ($(objpfx)tst-strtod-underflow): Likewise.
1694 ($(objpfx)tst-strtod6): Likewise.
1695 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1696 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1697 $(common-objpfx)dlfcn/libdl.so.
1698
026b0fe4
AZ
16992014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1700
1701 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1702 BSD terminal modes definitions.
1703
def4bcb2
RM
17042014-05-16 Roland McGrath <roland@hack.frob.com>
1705
fe39b021
RM
1706 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1707 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1708
1d1fc46e 1709 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1710 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1711 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1712 Don't do #include_next.
1713 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1714 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1715 Don't do #include_next.
1716 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1717 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1718 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1719 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1720
c72399fb
AM
17212014-05-16 Allan McRae <allan@archlinux.org>
1722
d51d659d
AM
1723 * po/sv.po: Update Swedish translation from translation project.
1724
c72399fb
AM
1725 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1726 in sed expression.
1727
d0583c40
AJ
17282014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1729
1730 [BZ #16917]
1731 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1732 errno if the TIOCGPTN ioctl fails with an error different than
1733 EINVAL.
1734 * login/tst-ptsname.c: New file.
1735 * login/Makefile (tests): Add tst-ptsname.
1736
d16e6ec7
AJ
1737 [BZ #16943]
1738 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1739 and prlimit64.
1740
cf26a0cb
SP
17412014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1742
1743 [BZ #16849]
1744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1745 herrno to return EAI_AGAIN.
1746
5675da1e
RM
17472014-05-14 Roland McGrath <roland@hack.frob.com>
1748
a5d87b3d
RM
1749 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1750 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1751 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1752 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1753 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1754 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1755 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1756 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1757 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1758 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1759 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1760 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1761 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1762 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1763 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1764 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1765 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1766 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1767 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1768 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1769 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1770 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1771 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1772 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1774 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1775 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1776 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1777 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1778 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1780 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1782 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1784 Moved ...
1785 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1787 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1789 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1791 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1793 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1795 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1797 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1799 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1801 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1803 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1805 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1807 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1809 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1811 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1813 Moved ...
1814 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1816 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1818 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1820 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1822 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1824 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1826 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1828 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1830 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1832 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1834 Moved ...
1835 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1837 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1838
039890a6
RM
1839 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1840 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1841 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1842 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1843 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1844 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1845 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1846 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1847 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1848 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1849 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1850 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1851 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1852 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1853 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1854 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1855 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1856 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1857 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1858 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1859 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1860 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1861 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1862 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1863 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1864 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1865 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1866 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1867 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1869 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1870
65c89320
RM
1871 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1872 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1873
348f8e8c
RM
1874 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1875 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1876 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1877 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1878 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1879 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1880 Moved ...
1881 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1882 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1883 Moved ...
1884 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1885 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1886 Moved ...
1887 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1888 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1889 Moved ...
1890 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1891 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1892 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1893 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1894 Moved ...
1895 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1896 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1897 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1898 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1899 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1900 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1901 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1902 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1903 Moved ...
1904 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1906 Moved ...
1907 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1908 ... here.
1909 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1910 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1911 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1912 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1914 Moved ...
1915 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1916 ... here.
1917 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1918 Moved ...
1919 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1920 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1921 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1922 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1923 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1924 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1925 Moved ...
1926 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1927 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1928 Moved ...
1929 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1930 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1931 Moved ...
1932 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1933 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1934 Moved ...
1935 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1936 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1937 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1938 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1939 Moved ...
1940 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1941 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1942 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1943 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1944 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1945 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1946 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1947 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1948 Moved ...
1949 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1950 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1951 Moved ...
1952 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1953 ... here.
1954 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1955 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1956 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1957 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1958 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1959 Moved ...
1960 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1961 ... here.
1962 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1963 Moved ...
1964 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1965 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1966 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1967 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1968 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1969 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1970 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1971 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1972 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1973 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1974 Moved ...
1975 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1976 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1977 Moved ...
1978 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1979 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1980 Moved ...
1981 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1982 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1983 Moved ...
1984 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1985 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1986 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1987 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1988 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1989 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1990 Moved ...
1991 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1992 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1993 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1994 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1995 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1996 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1997 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1998 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1999 Moved ...
2000 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2001 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2002 Moved ...
2003 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2004 ... here.
2005 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2006 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2007 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2008 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2009 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2010 Moved ...
2011 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2012 ... here.
2013 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2014 Moved ...
2015 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2016 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2017 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2018 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2019 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2020 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2021 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2022 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2023 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2024 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2025 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2026
5085af05
RM
2027 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2028 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2029
708f0813
RM
2030 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2031 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2032
c96067bc
RM
2033 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2034 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2035 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2036 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2037 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2038 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2039 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2040 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2041 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2042 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2043 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2044 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2045 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2046 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2047 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2049 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2050 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2051 Moved ...
2052 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2053 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2054 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2055 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2056 Moved ...
2057 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2058 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2059 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2060 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2061 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2062 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2063 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2064 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2065 Moved ...
2066 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2067 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2068 Moved ...
2069 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2070 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2071 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2072 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2073 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2074 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2075 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2076 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2077 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2078 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2079 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2080 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2081 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2082 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2083 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2084 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2085 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2086
ec136444
RM
2087 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2088 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2089 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2090 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2091 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2092
2fbdf533
RM
2093 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2094 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2095 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2096 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2097 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2098 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2099 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2100 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2101 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2102 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2103
4c68138b
RM
2104 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2105 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2106
4eaae765
RM
2107 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2108 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
2109 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2110 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2111 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2112 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2113 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2114 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2115 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2116 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2117 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2118 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2119 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2120 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2121 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2122 Update #include.
2123 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2124 Likewise.
2125 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2126 Likewise.
2127 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2128 Likewise.
2129 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2130 Likewise.
2131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2132 Likewise.
2133 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2134 Likewise.
2135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2136 Likewise.
2137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2138 Likewise.
2139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2140 Likewise.
4ef6befa
RM
2141 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2142 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2143 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2144 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2145 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2146 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2147 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2148 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2149 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2150 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2151 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2152 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2153 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2154 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2155 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2156
941d7dfd
RM
2157 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2158 that was previously under [RESET_PID].
2159 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2160 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2161 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2162
1b731c35
RM
2163 * sysdeps/i386/nptl/Implies: New file.
2164 * sysdeps/x86_64/nptl/Implies: New file.
2165 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2166 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2167 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2168 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2169
e2787137
RM
2170 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2171 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2172 (__libc_vfork): New strong alias.
2173 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2174 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2175
2176 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2177 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2178 (__libc_vfork): New strong alias.
2179 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2180 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2181
5675da1e
RM
2182 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2183 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2184 (__libc_vfork): New strong alias.
2185 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2186 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2187 * nptl/pt-vfork.c: New file.
2188 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2189 (libpthread: GLIBC_2.20): New version set (empty).
2190
4f02e2b8
WN
21912014-05-14 Will Newton <will.newton@linaro.org>
2192
2193 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2194 rather than #if.
2195
0bf061d3
JM
21962014-05-14 Joseph Myers <joseph@codesourcery.com>
2197
1a84c3d6
JM
2198 [BZ #16564]
2199 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2200 arguments with exponent 65 or above.
2201 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2202 arguments 0x1p113L or above.
2203 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2204 to arguments 0x1p107L or above.
2205 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2206 positive arguments with exponent 65 or above.
2207 * math/auto-libm-test-in: Add more tests of log1p.
2208 * math/auto-libm-test-out: Regenerated.
2209
01dbacd2
JM
2210 [BZ #16928]
2211 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2212 non-finite arguments is +0.
2213 * math/s_cacosf.c (__cacosf): Likewise.
2214 * math/s_cacosl.c (__cacosl): Likewise.
2215 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2216 * sysdeps/i386/fpu/libm-test-ulps: Update.
2217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2218
913d03c8
JM
2219 [BZ #16927]
2220 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2221 value.
2222 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2223 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2224 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2225 for explicit high bit of mantissa when testing for argument equal
2226 to 1.
2227 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2228 * sysdeps/i386/fpu/libm-test-ulps: Update.
2229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2230
0bf061d3
JM
2231 [BZ #16516]
2232 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2233 (__erf): Scale by 16 instead of 8 in potentially underflowing
2234 case. Ensure exception if result actually underflows.
2235 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2236 (__erff): Scale by 16 instead of 8 in potentially underflowing
2237 case. Ensure exception if result actually underflows.
2238 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2239 (efx8): Remove variable.
2240 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2241 case. Ensure exception if result actually underflows.
2242 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2243 (efx8): Remove variable.
2244 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2245 case. Ensure exception if result actually underflows.
2246 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2247 (efx8): Remove variable.
2248 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2249 case. Ensure exception if result actually underflows.
2250 * math/auto-libm-test-in: Add more tests of erf.
2251 * math/auto-libm-test-out: Regenerated.
2252
73ba67cb
AS
22532014-05-14 Andreas Schwab <schwab@suse.de>
2254
3d8c8bff
AS
2255 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2256 Remove code conditionalized on USE___THREAD.
2257
73ba67cb
AS
2258 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2259 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2260 not definedness.
2261
5c521ecd
JM
22622014-05-14 Joseph Myers <joseph@codesourcery.com>
2263
5e7698c6
JM
2264 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2265 Define unconditionally.
2266 (__ASSUME_O_CLOEXEC): Likewise.
2267 (__ASSUME_SOCK_CLOEXEC): Likewise.
2268 (__ASSUME_IN_NONBLOCK): Likewise.
2269 (__ASSUME_PIPE2): Likewise.
2270 (__ASSUME_EVENTFD2): Likewise.
2271 (__ASSUME_SIGNALFD4): Likewise.
2272 (__ASSUME_DUP3): Likewise.
2273 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2274 (__ASSUME_DUP3): Do not define.
2275 (__ASSUME_EVENTFD2): Likewise.
2276 (__ASSUME_IN_NONBLOCK): Likewise.
2277 (__ASSUME_O_CLOEXEC): Likewise.
2278 (__ASSUME_PIPE2): Likewise.
2279 (__ASSUME_SIGNALFD4): Likewise.
2280 (__ASSUME_SOCK_CLOEXEC): Likewise.
2281 (__ASSUME_UTIMES): Undefine.
2282 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2283 (__ASSUME_UTIMES): Do not define.
2284 (__ASSUME_O_CLOEXEC): Likewise.
2285 (__ASSUME_SOCK_CLOEXEC): Likewise.
2286 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2287 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2288 0x020621].
2289 (__ASSUME_PIPE2): Likewise.
2290 (__ASSUME_EVENTFD2): Likewise.
2291 (__ASSUME_SIGNALFD4): Likewise.
2292 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2293 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2294 Do not define.
2295 (__ASSUME_EVENTFD2): Likewise.
2296 (__ASSUME_SIGNALFD4): Likewise.
2297 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2298 (__ASSUME_32BITUIDS): Likewise.
2299 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2300 (__ASSUME_IPC64): Likewise.
2301 (__ASSUME_ST_INO_64_BIT): Likewise.
2302 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2303 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2304 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2305 (__ASSUME_UTIMES): Do not define.
2306 (__ASSUME_PSELECT): Likewise.
2307 (__ASSUME_PPOLL): Likewise.
2308 (__ASSUME_O_CLOEXEC): Likewise.
2309 (__ASSUME_SOCK_CLOEXEC): Likewise.
2310 (__ASSUME_IN_NONBLOCK): Likewise.
2311 (__ASSUME_PIPE2): Likewise.
2312 (__ASSUME_EVENTFD2): Likewise.
2313 (__ASSUME_SIGNALFD4): Likewise.
2314 (__ASSUME_DUP3): Likewise.
2315 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2316 (__ASSUME_UTIMES): Likewise.
2317 (__ASSUME_O_CLOEXEC): Likewise.
2318 (__ASSUME_SOCK_CLOEXEC): Likewise.
2319 (__ASSUME_IN_NONBLOCK): Likewise.
2320 (__ASSUME_PIPE2): Likewise.
2321 (__ASSUME_EVENTFD2): Likewise.
2322 (__ASSUME_SIGNALFD4): Likewise.
2323 (__ASSUME_DUP3): Likewise.
2324 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2325 (__ASSUME_UTIMES): Likewise.
2326 (__ASSUME_O_CLOEXEC): Likewise.
2327 (__ASSUME_SOCK_CLOEXEC): Likewise.
2328 (__ASSUME_IN_NONBLOCK): Likewise.
2329 (__ASSUME_PIPE2): Likewise.
2330 (__ASSUME_EVENTFD2): Likewise.
2331 (__ASSUME_SIGNALFD4): Likewise.
2332 (__ASSUME_DUP3): Likewise.
2333 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2334 Likewise.
2335 (__ASSUME_UTIMES): Likewise.
2336 (__ASSUME_EVENTFD2): Likewise.
2337 (__ASSUME_SIGNALFD4): Likewise.
2338 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2339 (__ASSUME_O_CLOEXEC): Likewise.
2340 (__ASSUME_SOCK_CLOEXEC): Likewise.
2341 (__ASSUME_IN_NONBLOCK): Likewise.
2342 (__ASSUME_PIPE2): Likewise.
2343 (__ASSUME_EVENTFD2): Likewise.
2344 (__ASSUME_SIGNALFD4): Likewise.
2345 (__ASSUME_DUP3): Likewise.
2346 (__ASSUME_UTIMES): Undefine.
2347
5c521ecd
JM
2348 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2349 feclearexcept. Remove symbol versioning code.
2350 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2351 symbol versioning code.
2352 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2353 symbol versioning code.
2354 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2355 feupdateenv. Remove symbol versioning code.
2356 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2357 fegetexceptflag. Remove symbol versioning code.
2358 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2359 fesetexceptflag. Remove symbol versioning code.
2360 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2361 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2362 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2363 (__posix_fadvise64_l32): Remove prototype.
2364 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2365 code.
2366
5da9dfad
RM
23672014-05-13 Roland McGrath <roland@hack.frob.com>
2368
2369 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2370 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2371 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2372 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2373
893b4f37
SK
23742014-05-13 Sami Kerola <kerolasa@iki.fi>
2375
2376 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2377 current working directory
2378
e0db6517
RM
23792014-05-13 Roland McGrath <roland@hack.frob.com>
2380
58aa195d
RM
2381 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2382 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2383 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2384 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2385 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2386 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2387 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2388 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2389 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2390 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2391 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2392 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2393 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2394 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2395 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2396 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2397 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2398 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2399 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2400 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2401 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2402 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2403 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2404 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2405 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2406 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2407 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2408 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2409 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2410 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2411 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2412 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2414 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2415 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2416 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2417 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2418 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2419 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2420 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2421 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2422 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2423
8c6d01f0
RM
2424 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2425 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2426
2427 * sysdeps/unix/sysv/linux/arm/Makefile
2428 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2429 Add rt-aeabi_unwind_cpp_pr1.
2430 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2431 Add nptl-aeabi_unwind_cpp_pr1.
2432 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2433 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2434 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2435 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2436 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2437 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2438
2439 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2440 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2441 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2442 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2443
bba6da4e
RM
2444 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2445 Deconditionalize the code that was previously under [RESET_PID].
2446 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2447
e0db6517
RM
2448 * sysdeps/generic/exit-thread.h: New file.
2449 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2450 * include/unistd.h (__exit_thread): Remove declaration.
2451 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2452 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2453 * csu/libc-start.c: Include <exit-thread.h>.
2454 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2455 * nptl/pthread_create.c: Include <exit-thread.h>.
2456 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2457 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2458 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2459 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2460 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2461 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2462 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2463 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2464 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2465 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2466 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2467 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2468 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2469 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2470 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2471 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2472 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2473
01eb16fd
AS
24742014-05-13 Andreas Schwab <schwab@suse.de>
2475
2476 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2477
637461d9
JM
24782014-05-12 Joseph Myers <joseph@codesourcery.com>
2479
2480 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2481 (__ASSUME_UTIMES): Do not condition on kernel version.
2482 (__ASSUME_PSELECT): Define unconditionally.
2483 (__ASSUME_PPOLL): Likewise.
2484 (__ASSUME_ATFCTS): Likewise.
2485 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2486 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2487 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2488 (__ASSUME_UTIMENSAT): Define unconditionally.
2489 (__ASSUME_PRIVATE_FUTEX): Likewise.
2490 (__ASSUME_FALLOCATE): Likewise.
2491 (__ASSUME_O_CLOEXEC): Likewise.
2492 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2493 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2494 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2495 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2496 (__ASSUME_IN_NONBLOCK): Likewise.
2497 (__ASSUME_PIPE2): Likewise.
2498 (__ASSUME_EVENTFD2): Likewise.
2499 (__ASSUME_SIGNALFD4): Likewise.
2500 (__ASSUME_DUP3): Likewise.
2501 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2502 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2503 (__ASSUME_AT_RANDOM): Likewise.
2504 (__ASSUME_PREADV): Likewise.
2505 (__ASSUME_PWRITEV): Likewise.
2506 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2507 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2508 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2509 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2510 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2511 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2512 (__ASSUME_O_CLOEXEC): Define unconditionally.
2513 (__ASSUME_PSELECT): Do not undefine conditionally.
2514 (__ASSUME_PPOLL): Likewise.
2515 (__ASSUME_ATFCTS): Likewise.
2516 (__ASSUME_SET_ROBUST_LIST): Likewise.
2517 (__ASSUME_UTIMENSAT): Likewise.
2518 (__ASSUME_FDATASYNC): Define unconditionally.
2519 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2520 (__ASSUME_SIGFRAME_V2): Likewise.
2521 )__ASSUME_EVENTFD2): Likewise.
2522 (__ASSUME_SIGNALFD4): Likewise.
2523 (__ASSUME_PSELECT): Do not undefine conditionally.
2524 (__ASSUME_PPOLL): Likewise.
2525 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2526 (__ASSUME_PSELECT): Define unconditionally.
2527 (__ASSUME_PPOLL): Likewise.
2528 (__ASSUME_O_CLOEXEC): Likewise.
2529 (__ASSUME_SOCK_CLOEXEC): Likewise.
2530 (__ASSUME_IN_NONBLOCK): Likewise.
2531 (__ASSUME_PIPE2): Likewise.
2532 (__ASSUME_EVENTFD2): Likewise.
2533 (__ASSUME_SIGNALFD4): Likewise.
2534 (__ASSUME_DUP3): Likewise.
2535 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2536 (__ASSUME_O_CLOEXEC): Likewise.
2537 (__ASSUME_SOCK_CLOEXEC): Likewise.
2538 (__ASSUME_IN_NONBLOCK): Likewise.
2539 (__ASSUME_PIPE2): Likewise.
2540 (__ASSUME_EVENTFD2): Likewise.
2541 (__ASSUME_SIGNALFD4): Likewise.
2542 (__ASSUME_DUP3): Likewise.
2543 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2544 (__ASSUME_EVENTFD2): Likewise.
2545 (__ASSUME_SIGNALFD4): Likewise.
2546 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2547
315eb1d8
AS
25482014-05-12 Andreas Schwab <schwab@suse.de>
2549
2550 [BZ #16932]
2551 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2552 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2553 than maximum RPC packet size.
2554 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2555 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2556 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2557 (_nss_nis_getservbyport_r): Likewise.
2558
91df99f7
WN
25592014-05-12 Will Newton <will.newton@linaro.org>
2560
2561 * malloc/Makefile (tests): Add tst-mallopt.
2562 * malloc/tst-mallopt.c: New file.
2563
0a982a29
RM
25642014-05-09 Roland McGrath <roland@hack.frob.com>
2565
2566 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2567 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2568
0ded08a5
AZ
25692014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2570
2571 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2572 (tst-tlsmod6.so): Likewise.
2573
55d4d550
RM
25742014-05-09 Roland McGrath <roland@hack.frob.com>
2575
2576 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2577
77d08aca
JM
25782014-05-09 Joseph Myers <joseph@codesourcery.com>
2579
2580 [BZ #16064]
2581 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2582 and <dl-procinfo.h>.
2583 (__fegetenv): Save SSE state in envp->__eip if supported.
2584 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2585 envp->__eip if supported.
2586 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2587 and <dl-procinfo.h>.
2588 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2589 __data_offset and __data_selector in environment to 0. Set SSE
2590 state if supported.
2591 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2592 test-fenv-sse.
2593 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2594 -mfpmath=sse.
2595 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2596
28162f4d
WN
25972014-05-09 Will Newton <will.newton@linaro.org>
2598
2599 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2600 and libc_relro_required for ARM.
2601 * sysdeps/arm/preconfigure: Regenerate.
2602
5a414ff7
DV
26032014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2604 Stefan Liebler <stli@linux.vnet.ibm.com>
2605
2606 * config.make.in (enable-lock-elision): New Makefile variable.
2607 * configure.ac: Likewise.
2608 * configure: Regenerate.
2609 * sysdeps/s390/configure.ac:
2610 Add check for gcc transactions support.
2611 * sysdeps/s390/configure: Regenerate.
2612 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2613 Build elision files if enabled.
2614 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2615 Add lock elision support for s390.
2616 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2617 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2618 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2619 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2620 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2621 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2622 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2623 Likewise.
2624 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2625 Likewise.
2626 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2627 Likewise.
2628 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2629 Likewise.
2630 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2631 (__lll_timedlock_elision, __lll_lock_elision)
2632 (__lll_unlock_elision, __lll_trylock_elision)
2633 (lll_timedlock_elision, lll_lock_elision)
2634 (lll_unlock_elision, lll_trylock_elision): Add.
2635 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2636 (pthread_mutex_t): Add lock elision support for s390.
2637
1a2f40e5
W
26382014-05-14 Wilco <wdijkstr@arm.com>
2639
2640 * sysdeps/arm/fclrexcpt.c: Cleanup.
2641 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2642 * sysdeps/arm/feenablxcpt.c: Cleanup.
2643 * sysdeps/arm/fegetenv.c: Cleanup.
2644 * sysdeps/arm/fegetexcept.c: Cleanup.
2645 * sysdeps/arm/fegetround.c: Cleanup.
2646 * sysdeps/arm/feholdexcpt.c: Cleanup.
2647 * sysdeps/arm/fesetenv.c: Cleanup.
2648 * sysdeps/arm/fesetround.c: Cleanup.
2649 * sysdeps/arm/feupdateenv.c: Cleanup.
2650 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2651 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2652 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2653 * sysdeps/arm/ftestexcept.c: Cleanup.
2654 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2655 * sysdeps/arm/setfpucw.c: Cleanup.
2656
f63c86fe
WN
26572014-05-09 Will Newton <will.newton@linaro.org>
2658
2659 * sysdeps/arm/armv7/strcmp.S: New file.
2660 * NEWS: Mention addition of ARMv7 optimized strcmp.
2661
7a1a51b5
RM
26622014-05-08 Roland McGrath <roland@hack.frob.com>
2663
95afbbe5
RM
2664 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2665 look for %.ac rather than %.in.
2666
2667 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2668 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2669 * sysdeps/mach/hurd/configure: Regenerated.
2670 * sysdeps/unix/sysv/linux/configure: Regenerated.
2671
7a1a51b5
RM
2672 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2673
5057ad3b
SE
26742014-05-07 Steve Ellcey <sellcey@mips.com>
2675
2676 [BZ# 16922]
2677 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2678 (LONG_SUB): Ditto.
2679 (PTR_SUB): Ditto.
2680
8dc97517
AS
26812014-05-07 Andreas Schwab <schwab@suse.de>
2682
2683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2684 when skipping over non-matching result from nscd.
2685
ce0c5b8f
OB
26862014-05-07 Ondřej Bílka <neleai@seznam.cz>
2687
2688 [BZ #16876]
2689 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2690
a1189263
OB
2691 [BZ #16877]
2692 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2693 nscd security class.
ce0c5b8f 2694
0f58d252
RM
26952014-05-06 Roland McGrath <roland@hack.frob.com>
2696
2697 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2698 * sysdeps/arm/unwind.h: ... here.
2699
83df9ad0
AJ
27002014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2701
ce0c5b8f
OB
2702 [BZ# 16916]
2703 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2704 Define.
83df9ad0 2705
f360f94a
VR
27062014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2707
2708 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2709 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2710 multiarch strncpy for PPC64.
2711 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2712 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2714 multiarch optimizations.
2715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2716 (__libc_ifunc_impl_list): Likewise.
2717 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2718 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2719 multiarch stpncpy for PPC64.
2720 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2721 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2722
978a41c3
AS
27232014-05-06 Andreas Schwab <schwab@suse.de>
2724
2725 [BZ #16912]
2726 * gmon/mcount.c (_MCOUNT_DECL): Use
2727 atomic_compare_and_exchange_bool_acq instead of
2728 catomic_compare_and_exchange_bool_acq.
2729
eb1ed03d
RM
27302014-05-05 Roland McGrath <roland@hack.frob.com>
2731
fe658845
RM
2732 * elf/Makefile (others, install-bin): Remove pldd.
2733 (pldd-modules): Variable removed.
2734 ($(objpfx)pldd): Target removed.
2735 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2736 (others, install-bin): Append pldd here.
2737 ($(objpfx)pldd): New target.
2738
eb1ed03d
RM
2739 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2740 to 0, so the first #if test emitted later doesn't see it undefined.
2741 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2742 * sysdeps/gnu/errlist.c: Regenerated.
2743
19c4bec0
AZ
27442014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2745
2746 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2747 [libc_hidden_builtin_def]: Define to empty value.
2748 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2749 [libc_hidden_builtin_def]: Likewise.
2750 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2751 [libc_hidden_builtin_def]: Likewise.
2752 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2753 [libc_hidden_builtin_def]: Likewise.
2754 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2755 __redirect_memcpy and define ifunc as default hidden symbol.
2756 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2757 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2758
7776e669
AC
27592014-05-04 Adam Conrad <adconrad@0c3.net>
2760
2761 * locale/iso-4217.def: Reintroduce XDR currency.
2762
d69aeb12
AM
27632014-05-04 Allan McRae <allan@archlinux.org>
2764
2765 * po/eo.po: Update Esperanto translation from translation project.
2766
8f1df5cf
CD
27672014-05-02 Carlos O'Donell <carlos@redhat.com>
2768
2769 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2770 and FEATURE_INDEX_MAX to 1.
2771 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2772
13e402e7
SE
27732014-05-01 Steve Ellcey <sellcey@mips.com>
2774
2775 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2776 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2777 * iconvdata/big5.c (ONE_DIRECTION): Define.
2778 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2779 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2780 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2781 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2782 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2783 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2784 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2785 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2786 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2787 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2788 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2789 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2790 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2791 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2792 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2793 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2794 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2795 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2796 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2797 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2798 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2799 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2800 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2801 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2802 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2803 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2804 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2805 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2806 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2807 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2808 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2809 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2810 * iconvdata/johab.c (ONE_DIRECTION): Define.
2811 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2812 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2813 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2814 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2815 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2816 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2817 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2818 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2819 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2820 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2821
c727f032
RM
28222014-05-01 Roland McGrath <roland@hack.frob.com>
2823
8f2f08d0
RM
2824 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2825 (_IO_JUMPS_OFFSET): Define to 0.
2826
c727f032
RM
2827 * nptl/sysdeps/pthread/bits/libc-lock.h
2828 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2829 (__libc_lock_define_initialized_recursive): Always define using
2830 initializer. Modern compilers treat uninitialized (implicit zero) and
2831 explicit zero initializers the same (i.e. put the datum in bss).
2832
a849e800
AS
28332014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2834
2835 * nscd/nscd-client.h: Include <string.h>.
2836
5331255b
DM
28372014-05-01 David S. Miller <davem@davemloft.net>
2838
2839 [BZ #16885]
2840 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2841 multiple zero bytes exist at the end of a string.
2842 Reported by Aurelien Jarno <aurelien@aurel32.net>
2843
2844 * string/test-strcmp.c (check): Add explicit test for situations where
2845 there are multiple zero bytes after the first.
2846
4fdfe821
AS
28472014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2848
2849 [BZ #16890]
2850 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2851 when compiling wprintf.
2852 * stdio-common/tstdiomisc.c (t3): New function.
2853 (main): Call it.
2854
0cdddc25
SE
28552014-05-01 Steve Ellcey <sellcey@mips.com>
2856
2857 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2858 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2859 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2860 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2861
6426d77e
SE
28622014-05-01 Steve Ellcey <sellcey@mips.com>
2863
2864 * stdlib/longlong.h: Updated from GCC.
2865
6d96f5e4
WN
28662014-05-01 Will Newton <will.newton@linaro.org>
2867 Bernard Ogden <bernie.ogden@linaro.org>
2868
7470db0c
WN
2869 * NEWS: Update fixed bug list.
2870
6d96f5e4
WN
2871 [BZ #15119]
2872 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2873
211d653c
DM
28742014-04-30 David S. Miller <davem@davemloft.net>
2875
4fa262fa
DM
2876 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2877 (libc_feholdexcept_setround_sparc_ctx): New function.
2878 (libc_fesetenv_sparc_ctx): Likewise.
2879 (libc_feupdateenv_sparc_ctx): Likewise.
2880 (libc_feholdsetround_sparc_ctx): Likewise.
2881 (libc_feholdexcept_setround_ctx): Define.
2882 (libc_feholdexcept_setroundf_ctx): Likewise.
2883 (libc_feholdexcept_setroundl_ctx): Likewise.
2884 (libc_fesetenv_ctx): Likewise.
2885 (libc_fesetenvf_ctx): Likewise.
2886 (libc_fesetenvl_ctx): Likewise.
2887 (libc_feupdateenv_ctx): Likewise.
2888 (libc_feupdateenvf_ctx): Likewise.
2889 (libc_feupdateenvl_ctx): Likewise.
2890 (libc_feresetround_ctx): Likewise.
2891 (libc_feresetroundf_ctx): Likewise.
2892 (libc_feresetroundl_ctx): Likewise.
2893 (libc_feholdsetround_ctx): Likewise.
2894 (libc_feholdsetroundf_ctx): Likewise.
2895 (libc_feholdsetroundl_ctx): Likewise.
2896
1d3d93ef
DM
2897 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2898 with __USE_GNU instead of XOPEN cpp guards.
2899
8aa583c3
DM
2900 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2901 0.
2902
211d653c
DM
2903 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2904 with XOPEN cpp guards.
2905
60c8f1f6
JB
29062014-04-30 Julian Brown <julian@codesourcery.com>
2907
2908 [BZ #16888]
2909 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2910 handling.
2911
9a461d46
JM
29122014-04-30 Joseph Myers <joseph@codesourcery.com>
2913
d0f5b3f8
JM
2914 [BZ #9894]
2915 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2916 Change to 2.6.32.
2917 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2918 * sysdeps/unix/sysv/linux/configure: Regenerated.
2919 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2920 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2921 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2922 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2923 * README: Update reference to required Linux kernel version.
2924 * manual/install.texi (Linux): Update reference to required Linux
2925 kernel headers version.
2926 * INSTALL: Regenerated.
2927
9a461d46
JM
2928 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2929 header inclusion.
2930 [POSIX] (limits.h): Likewise.
2931 [POSIX] (math.h): Likewise.
2932 [POSIX] (sys/wait.h): Likewise.
2933 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2934 function.
2935 [POSIX] (stddef.h): Do not allow header inclusion.
2936
1775babf
AZ
29372014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2938
57f41c40 2939 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2940
8f630cca
YY
29412014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2942
2943 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2944 Return immediately after lll_futex_wake.
2945
1cdeb237
SP
29462014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2947
bc8f194c
SP
2948 [BZ #16791]
2949 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2950 structure.
2951 (datahead_init_pos): Call datahead_init_common early.
2952 (datahead_init_neg): Likewise.
2953
1cdeb237
SP
2954 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2955 datahead_init_neg): New functions.
2956 * nscd/aicache.c (addhstaiX): Use them.
2957 * nscd/grpcache.c (cache_addgr): Likewise.
2958 * nscd/hstcache.c (cache_addhst): Likewise.
2959 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2960 * nscd/netgroupcache.c (do_notfound): Likewise.
2961 (addgetnetgrentX): Likewise.
2962 (addinnetgrX): Likewise.
2963 * nscd/pwdcache.c (cache_addpw): Likewise.
2964 * nscd/servicescache.c (cache_addserv): Likewise.
2965
16b293a7
SP
29662014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2967 Atsushi Onoe <atsushi@onoe.org>
2968
2969 [BZ #14308]
2970 [BZ #12994]
2971 [BZ #13651]
2972 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2973 one response is valid.
2974 * resolv/res_send.c (send_dg): Check for validity of other
2975 response if the current response is a referral.
2976
a28a9b94
SE
29772014-04-29 Steve Ellcey <sellcey@mips.com>
2978
2979 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2980
2ca180e9
SL
29812014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2982
2983 [BZ #16823]
2984 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2985 Always divide by positive zero when computing -Inf result.
2986 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2987 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2988
18f2945a
AZ
29892014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2990
2991 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2992 FPSCR if value do not change.
2993 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2994 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2995 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2996 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2997 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2998 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2999 function.
3000
5abebba4
CD
30012014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3002
3003 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3004 * sysdeps/unix/sysv/linux/hppa: Move directory from
3005 ports/systeps/unix/sysv/linux/hppa.
3006 * README: Update listing for hppa-*-linux-gnu.
3007
f7ed60c2
OB
30082014-04-28 Ondřej Bílka <neleai@seznam.cz>
3009
fff763a5
OB
3010 [BZ #16754]
3011 * manual/stdio.texi (Hook functions): Fix types of stream hook
3012 functions.
f7ed60c2
OB
3013 [BZ #16854]
3014 * socket/sys/socket.h: Fix typo in comment.
3015
df639d73
WD
30162014-04-28 Wilco <wdijkstr@arm.com>
3017
f7ed60c2 3018 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
3019 * sysdeps/arm/math_private.h: New file.
3020 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3021
48332d82
L
30222014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3023
3024 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3025 with __int128_t.
3026 (La_x86_64_retval): Likewise.
3027
e5e0d9a4
IB
30282014-04-24 Ian Bolton <ian.bolton@arm.com>
3029
3030 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3031 fpsr if value didn't change.
3032 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3033 to fpcr if value didn't change.
3034 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3035 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3036 fpsr or fpcr if value didn't change.
3037 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3038 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3039 fpcr if value didn't change.
3040 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3041 to fpsr if value didn't change.
3042
bacc75f7
SP
30432014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3044
3045 * nptl/tst-sem3.c: Use test-skeleton.c
3046 (main): Rename to do_test. Use return instead of
3047 exit.
3048 * nptl/tst-sem4.c: Use test-skeleton.c
3049 (main): Rename to do_test.
3050
a059d359
DM
30512014-04-22 David S. Miller <davem@davemloft.net>
3052
3053 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3054 (struct sigaction): New struct member __glibc_reserved0, change
3055 type of sa_flags to int.
3056
ea6c92f3
YZ
30572014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3058
3059 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3060 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3061
766c4a36
SP
30622014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3063
3064 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3065 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3066
140cc7ab
VK
30672014-04-22 Will Newton <will.newton@linaro.org>
3068 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3069
3070 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3071 (__longjmp): Add longjmp and longjmp_target SystemTap
3072 probes.
3073 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3074 (__sigsetjmp): Add setjmp SystemTap probe.
3075
c54e5cf7
CD
30762014-04-17 Carlos O'Donell <carlos@redhat.com>
3077
3078 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3079 match manual order.
3080
75ffb047
AZ
30812014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3082
3083 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3084
2cd925f7
AZ
3085 * sysdeps/powerpc/fpu/fenv_private.h
3086 (libc_feholdexcept_setroundl_ctx): Define to
3087 libc_feholdexcept_setround_ppc_ctx.
3088 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3089 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3090 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3091 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3092
39e6cd8d
IB
30932014-04-17 Ian Bolton <ian.bolton@arm.com>
3094
3095 * sysdeps/aarch64/math-tests.h: New file.
3096
f9281df9
SY
30972014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3098
3099 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3100 New.
3101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3102 Check and set bit_AVX2_Usable.
3103 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3104 macro.
3105 (bit_AVX2): Likewise.
3106 (index_AVX2_Usable): Likewise.
3107 (CPUID_AVX2): Likewise.
3108 (HAS_AVX2): Likewise.
3109
37d35007
WN
31102014-04-17 Will Newton <will.newton@linaro.org>
3111
7c677662
WN
3112 * manual/setjmp.texi (System V contexts): Add note that
3113 calling setcontext on a context created by a call to a
3114 signal handler is undefined. Update text to note that
3115 setcontext from a signal handler is possible but not
3116 recommended.
3117
37d35007 3118 [BZ #16629]
e04a4e9d
WN
3119 * stdlib/tst-setcontext.c: Include signal.h.
3120 (main): Check that the signal stack before and
3121 after swapcontext is the same.
3122
37d35007
WN
3123 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3124 Re-implement to restore registers in user code and avoid
3125 rt_sigreturn system call.
3126
423a7160
W
31272014-04-17 Wilco <wdijkstr@arm.com>
3128
3129 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3130 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3131 * math/test-fenv.c: Skip exception trap tests on targets which only
3132 support non-stop mode.
3133
bc93ab29
IB
31342014-04-17 Ian Bolton <ian.bolton@arm.com>
3135 Wilco Dijkstra <wilco.dijkstra@arm.com>
3136
3137 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3138 (libc_feholdsetround_aarch64_ctx)
3139 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3140 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3141 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3142 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3143 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3144 (libc_feresetround_noexl_ctx): Define.
3145
95fc5fa3
RH
31462014-04-16 Richard Henderson <rth@redhat.com>
3147
ddb04724
RH
3148 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3149
d77c0899
RH
3150 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3151 unwind tables.
3152
a3df56fc
RH
3153 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3154 const from the non-libc, non-ldso copy.
3155
95fc5fa3
RH
3156 * sysdeps/alpha/libm-test-ulps: Regenerate.
3157
7e0b6763
IB
31582014-04-16 Ian Bolton <ian.bolton@arm.com>
3159 Wilco Dijkstra <wilco.dijkstra@arm.com>
3160
3161 * sysdeps/aarch64/fpu/math_private.h: New file.
3162
a9ea2e0c
MS
31632014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3164
3165 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3166
ea8ba7cd
IZ
31672014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3168
3169 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3170 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3172 Intel MPX bound registers before _dl_profile_fixup.
3173 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3174 registers after _dl_profile_fixup. Save and restore bound
3175 registers bnd0/bnd1 when calling _dl_call_pltexit.
3176 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3177 (LR_BND_OFFSET): Likewise.
3178 (LRV_BND0_OFFSET): Likewise.
3179 (LRV_BND1_OFFSET): Likewise.
3180
9f2a4fbc
ST
31812014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3182
3183 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3184 to...
3185 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3186 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3187 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3188 fields.
9f2a4fbc 3189
fd15a59b
ST
31902014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3191
3192 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3193
f19dfa0a
SL
31942014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3195
3196 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3197
4fa8bc3b
SL
31982014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3199
3200 [BZ #14770]
3201 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3202 * sysdeps/s390/configure: Regenerate.
3203
8ea587db
SL
3204 [BZ #16824]
3205 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3206 Set round-to-nearest internally to reduce error accumulation.
3207
aa5f0ff1
AM
32082014-04-16 Alan Modra <amodra@gmail.com>
3209
3210 [BZ #16740]
3211 [BZ #16619]
3212 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3213 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3214 * NEWS: Update fixed bug list.
aa5f0ff1 3215
bb9c256f
SP
32162014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3217
3218 * benchtests/Makefile: Depend on libraries in build directory.
3219 (bench-math): Separate out math tests.
3220 (bench-pthread): Separate out pthread tests.
3221 (bench): Include math and pthread tests.
3222
f737dfd0
CD
32232014-04-14 Carlos O'Donell <carlos@redhat.com>
3224
3225 [BZ #16831]
3226 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3227 _dl_debug_initialize.
3228
0699f766
CD
3229 * configure.ac: Remove SELinux header check.
3230 * configure: Regenerate.
3231 * nscd/selinux.c (perms): Array of const char* to permission names.
3232 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3233 default policy. Call string_to_security_class and string_to_av_perm to
3234 translate strings. Enforce default policy and call avs_has_perm with
3235 results of translated strings.
3236
809bd45f
DM
32372014-04-13 David S. Miller <davem@davemloft.net>
3238
3239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3240
89e691f2
AM
32412014-04-12 Allan McRae <allan@archlinux.org>
3242
3243 [BZ #16838]
3244 * manual/string.texi (Collation Functions): Fix qsort argument
3245 order in example.
3246 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3247
9c9daaeb
CM
32482014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3249
3250 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3251 Make the test a no-op if there are no exceptions defined.
3252
95561fb9
PP
32532014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3254
fe8d072c 3255 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3256 enable-hardcoded-path-in-tests
3257
970c602a
WN
32582014-04-11 Will Newton <will.newton@linaro.org>
3259
3260 * benchtests/Makefile (extra-objs): Add json-lib.o.
3261 (bench-func): Tidy up JSON output.
3262 * benchtests/bench-skeleton.c: Include json-lib.h.
3263 (main): Use JSON library functions to do output of
3264 benchmark results.
3265 * benchtests/bench-timing-type.c (main): Output the
3266 timing type simply, leaving formatting to the user.
3267 * benchtests/json-lib.c: New file.
3268 * benchtests/json-lib.h: Likewise.
3269
36875b06
TR
32702014-04-11 Torvald Riegel <triegel@redhat.com>
3271
3272 [BZ #15215]
3273 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3274 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3275 memory barriers. Add comments.
3276 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3277 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3278 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3279 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3280 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3281 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3282
579db35a
SL
32832014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3284
3285 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3286 * sysdeps/s390/s390-64/configure.ac: ... this ...
3287 * sysdeps/s390/configure.ac: ... to here.
3288 * sysdeps/s390/s390-32/configure: Delete file.
3289 * sysdeps/s390/s390-64/configure: Delete file.
3290 * sysdeps/s390/configure: Regenerate.
3291
c12e9f37
JAPH
32922014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3293
3294 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3295
439bda32
WN
32962014-04-11 Will Newton <will.newton@linaro.org>
3297
3298 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3299 to zero if it is not defined elsewhere. (mtrim): Test
3300 the value of MALLOC_DEBUG with #if rather than #ifdef.
3301
6a5d6ea1
TR
33022014-04-10 Torvald Riegel <triegel@redhat.com>
3303
3304 * benchtests/pthread_once-inputs: New file.
3305 * benchtests/pthread_once-source.c: New file.
3306 * benchtests/README: Update documentation.
3307
a4c75cfd
IZ
33082014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3309 H.J. Lu <hongjiu.lu@intel.com>
3310
3311 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3312 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3313 * sysdeps/x86_64/configure: Regenerated.
3314 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3315 macro.
3316 (REGISTER_SAVE_RAX): Likewise.
3317 (REGISTER_SAVE_RCX): Likewise.
3318 (REGISTER_SAVE_RDX): Likewise.
3319 (REGISTER_SAVE_RSI): Likewise.
3320 (REGISTER_SAVE_RDI): Likewise.
3321 (REGISTER_SAVE_R8): Likewise.
3322 (REGISTER_SAVE_R9): Likewise.
3323 (REGISTER_SAVE_BND0): Likewise.
3324 (REGISTER_SAVE_BND1): Likewise.
3325 (REGISTER_SAVE_BND2): Likewise.
3326 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3327 bound registers when calling _dl_fixup.
3328
27822ce6
AZ
33292014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3330
3331 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3332 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3333 of its definition.
27822ce6
AZ
3334 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3335 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3336 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3337 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3338 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3339 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3340 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3341
a88ddc90
PTB
33422014-04-09 Peter Brett <peter@peter-b.co.uk>
3343
3344 [BZ #15514]
3345 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3346 pathconf(_PC_NAME_MAX).
3347
01f8eac2
AZ
33482014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3349
3350 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3351 Remove macro usage.
3352 (__PTHREAD_SPINS): Move definition to ...
3353 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3354 (__PTHREAD_SPINS): ... here.
3355 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3356 (__PTHREAD_SPIN): Likewise.
3357 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3358 (__PTHREAD_SPIN): Likewise.
3359 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3360 (__PTHREAD_SPIN): Likewise.
3361 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3362 (__PTHREAD_SPIN): Likewise.
3363 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3364 (__PTHREAD_SPIN): Likewise.
3365 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3366 (__PTHREAD_SPIN): Likewise.
3367 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3368 (__PTHREAD_SPIN): Likewise.
3369 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3370 (__PTHREAD_SPIN): Likewise.
3371 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3372 (__PTHREAD_SPIN): Likewise.
3373 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3374 (__PTHREAD_SPIN): Likewise.
3375 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3376 (__PTHREAD_SPIN): Likewise.
3377 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3378 (__PTHREAD_SPIN): Likewise.
3379
de21c33c
AZ
3380 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3381 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3382 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3383 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3384 imply folder.
3385 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3386 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3387 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3388 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3389 correct imply path.
3390 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3391 strlen symbol for non multi-arch builds.
3392 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3393 missing hidden_def and weak_alias.
3394
862c472e
CD
33952014-04-08 Carlos O'Donell <carlos@redhat.com>
3396
3397 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3398
8667f90e
WN
33992014-04-07 Will Newton <will.newton@linaro.org>
3400
3401 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3402 and contents. [!_LIBC] Remove #ifndef and contents.
3403 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3404 * string/memccpy.c (__memccpy): Use ANSI prototype.
3405 * string/memfrob.c (memfrob): Likewise.
3406 * string/strcoll.c (STRCOLL): Likewise.
3407 * string/strlen.c (strlen): Likewise.
3408 * string/strtok.c (STRTOK): Likewise.
3409 * string/strcat.c: Remove unused #include of memcopy.h.
3410 (strcat): Use ANSI prototype.
3411 * string/strchr.c: Remove unused #include of memcopy.h.
3412 (strchr): Use ANSI prototype.
3413 * string/strcmp.c: Remove unused #include of memcopy.h.
3414 (strcmp): Use ANSI prototype.
3415 * string/strcpy.c: Remove unused #include of memcopy.h.
3416 (strcpy): Use ANSI prototype.
3417
7ffa9423
AZ
34182014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3419
3420 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3421 * config.make.in (config-extra-cppflags): Set it from
3422 libc_extra_cppflags.
3423 * configure.ac (libc_extra_cflags): Make it accumulate over
3424 configure fragments.
3425 (libc_extra_cppflags): New flag.
3426 * configure. Regenerate.
3427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3428 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3429 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3431
8bd70862
AZ
3432 [BZ #16815]
3433 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3434 result for FE_DOWNWARD rounding mode.
3435 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3436 Likewise.
3437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3438
d42f3448
CM
34392014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3440
3441 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3442 in function argument name.
3443
1c21d115
DS
34442014-04-03 David Svoboda <svoboda@cert.org>
3445
3446 [BZ #5666]
3447 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3448 explicitly.
3449
fcccd512
RM
34502014-04-03 Roland McGrath <roland@hack.frob.com>
3451
3452 * elf/dl-unmap-segments.h: New file.
3453 * sysdeps/generic/ldsodefs.h
3454 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3455 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3456 * elf/dl-fptr.c: Likewise.
3457 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3458 * sysdeps/aarch64/tlsdesc.c: Likewise.
3459 * sysdeps/arm/tlsdesc.c: Likewise.
3460 * sysdeps/i386/tlsdesc.c: Likewise.
3461 * sysdeps/tile/dl-runtime.c: Likewise.
3462 * sysdeps/x86_64/tlsdesc.c: Likewise.
3463 * elf/dl-load.h: New file.
3464 * elf/dl-load.c: Include it.
3465 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3466 Macros moved to dl-load.h.
3467 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3468 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3469 Use _dl_unmap_segments in place of __munmap.
3470 Break out segment-mapping loop into ...
3471 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3472
f6488e2b
WN
34732014-04-03 Will Newton <will.newton@linaro.org>
3474
3475 * elf/dl-lookup.c (do_lookup_x): Remove comment
3476 referring to nested function and move variable
3477 declarations down to before first use.
3478
6f05bafe
JM
34792014-04-02 Joseph Myers <joseph@codesourcery.com>
3480
a84e78c8
JM
3481 [BZ #16799]
3482 [BZ #16800]
3483 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3484 with 0 numerator.
3485 * math/s_catanf.c (__catanf): Likewise.
3486 * math/s_catanh.c (__catanh): Likewise.
3487 * math/s_catanhf.c (__catanhf): Likewise.
3488 * math/s_catanhl.c (__catanhl): Likewise.
3489 * math/s_catanl.c (__catanl): Likewise.
3490 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3491 by positive zero when computing -Inf result.
3492 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3493 (catanh_test): Likewise.
3494 * sysdeps/i386/fpu/libm-test-ulps: Update.
3495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3496
6f05bafe
JM
3497 [BZ #16789]
3498 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3499 instead of using underflowing value in computing result.
3500 * math/s_clog10.c (__clog10): Likewise.
3501 * math/s_clog10f.c (__clog10f): Likewise.
3502 * math/s_clog10l.c (__clog10l): Likewise.
3503 * math/s_clogf.c (__clogf): Likewise.
3504 * math/s_clogl.c (__clogl): Likewise.
3505 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3506 (clog10_test): Likewise.
3507 * sysdeps/i386/fpu/libm-test-ulps: Update.
3508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3509
b0abbc21
AM
35102014-04-02 Alan Modra <amodra@gmail.com>
3511
3512 [BZ #16739]
3513 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3514 output when value is near a power of two. Use int64_t for lx and
3515 remove casts. Use decimal rather than hex exponent constants.
3516 Don't use long double multiplication when double will suffice.
3517 * math/libm-test.inc (nextafter_test_data): Add tests.
3518 * NEWS: Add 16739 and 16786 to bug list.
3519
af6b1797
AM
3520 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3521
483818d7
AM
3522 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3523
f6c55796
WN
35242014-04-01 Will Newton <will.newton@linaro.org>
3525
3526 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3527 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3528
13f7fe35
FW
35292014-04-01 Florian Weimer <fweimer@redhat.com>
3530
3531 [BZ #13347]
3532 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3533 * nptl/tst-setuid2.c: New file.
3534 * nptl/Makefile (xtests): Add tst-setuid2.
3535
c859b32e
AM
35362014-04-01 Alan Modra <amodra@gmail.com>
3537
3538 [BZ #16786]
3539 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3540
54fa2475
JM
35412014-03-31 Joseph Myers <joseph@codesourcery.com>
3542
8795b4a4
JM
3543 [BZ #6803]
3544 [BZ #6804]
3545 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3546 set errno as appropriate.
3547 * math/w_scalbf.c (__scalbf): Likewise.
3548 * math/w_scalbl.c (__scalbl): Likewise.
3549 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3550 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3551 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3552 Add more NaN tests.
3553
54fa2475
JM
3554 [BZ #16349]
3555 * math/w_atan2.c: Include <errno.h>.
3556 (__atan2): Set errno for result underflowing to zero.
3557 * math/w_atan2f.c: Include <errno.h>.
3558 (__atan2f): Set errno for result underflowing to zero.
3559 * math/w_atan2l.c: Include <errno.h>.
3560 (__atan2l): Set errno for result underflowing to zero.
3561 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3562 tests.
3563 * math/auto-libm-test-out: Regenerated.
3564
757d9dd5
AZ
35652014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3566
3567 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3568 Encode instruction correctly in little endian.
3569 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3570 Likewise.
3571 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3572 Likewise.
3573 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3574 Likewise.
3575 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3576 Likewise.
3577
d7a68734
JM
35782014-03-31 Joseph Myers <joseph@codesourcery.com>
3579
47c5adeb
JM
3580 [BZ #9894]
3581 * sysdeps/unix/sysv/linux/kernel-features.h
3582 [__sparc__ && !__arch64__ && !__sparc_v9__]
3583 (__ASSUME_SET_ROBUST_LIST): Do not define.
3584 [__sparc__ && !__arch64__ && !__sparc_v9__]
3585 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3586 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3587 Likewise.
3588 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3589 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3590 (__ASSUME_REQUEUE_PI): Likewise.
3591 (__ASSUME_SET_ROBUST_LIST): Likewise.
3592 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3593 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3594 Undefine.
3595 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3596 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3597 Likewise.
3598 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3599 Likewise.
3600 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3601 Likewise.
3602 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3603 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3604 Undefine.
3605 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3606 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3607 Likewise.
3608
d7a68734
JM
3609 [BZ #16648]
3610 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3611 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3612 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3613
c760f5c2
WN
36142014-03-31 Will Newton <will.newton@linaro.org>
3615
3616 * benchtests/Makefile (bench): Add ffs and ffsll to list
3617 of tests.
3618 * benchtests/ffs-inputs: New file.
3619 * benchtests/ffsll-inputs: Likewise.
3620
ea6029b1
JM
36212014-03-29 Joseph Myers <joseph@codesourcery.com>
3622
3623 [BZ #16770]
3624 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3625 too large before casting to int.
3626 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3627 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3628 * math/libm-test.inc (scalb_test_data): Add more tests.
3629
cf806aff
SP
36302014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3631
56737508
SP
3632 * benchtests/Makefile (DETAILED_OPT): New make option.
3633 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3634 set.
3635 * benchtests/bench-skeleton.c: Include stdbool.h.
3636 (main): Store and print timings per input.
3637 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3638 member to each argument value.
3639 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3640 (_print_arg_data): Initialize per-input timing to 0.
3641
cb5e4aad
SP
3642 * benchtests/Makefile (timing-type): New binary.
3643 (bench-clean): Also remove bench-timing-type.
3644 (bench): New target for timing-type.
3645 (bench-func): Print output in JSON format.
3646 * benchtests/bench-skeleton.c (main): Print output in JSON
3647 format.
3648 * benchtests/bench-timing-type.c: New file.
3649 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3650 (TIMING_PRINT_STATS): Remove.
3651 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3652 name separately.
3653
cf806aff
SP
3654 * benchtests/bench-modf.c: Remove.
3655 * benchtests/modf-inputs: New inputs file.
3656
289e0779
JM
36572014-03-28 Joseph Myers <joseph@codesourcery.com>
3658
3659 [BZ #16362]
3660 * math/s_clog10.c (M_PI_LOG10E): New macro.
3661 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3662 imaginary parts are 0.
3663 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3664 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3665 imaginary parts are 0.
3666 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3667 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3668 imaginary parts are 0.
3669 * math/libm-test.inc (clog10_test_data): Update expected results
3670 for when real and imaginary parts are 0.
3671
277ae3f1
PP
36722014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3673
3674 * elf/dl-load.c: Finish conversion of __builtin_expect into
3675 __glibc_{un}likely.
3676
03a7091f
JM
36772014-03-27 Joseph Myers <joseph@codesourcery.com>
3678
3679 [BZ #16348]
3680 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3681 1+x for argument with exponent below -67.
3682 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3683 Likewise.
3684 * math/auto-libm-test-in: Add more tests of exp.
3685 * math/auto-libm-test-out: Regenerated.
3686
ea7d8b95
SP
36872014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3688
dd3022d7
SP
3689 [BZ #16759]
3690 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3691 (nscd_getnetgrent): Use it.
3692
ea7d8b95
SP
3693 [BZ #16760]
3694 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3695 of stpcpy.
3696
df5b85da
AK
36972014-03-27 Andi Kleen <ak@linux.intel.com>
3698
57f41c40
AS
3699 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3700 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3701 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3702 (lll_robust_unlock): Remove out of line section. Use cfi
3703 intrinsics.
df5b85da 3704 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3705 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3706 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3707 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3708 (lll_robust_unlock): Remove out of line section. Use cfi
3709 intrinsics.
df5b85da
AK
3710 (LLL_STUB_UNWIND_INFO*): Remove.
3711
fbd6b5a4
SP
37122014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3713
3714 [BZ #16758]
3715 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3716 blank values.
3717
1b26b855
PP
37182014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3719
3720 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3721
9be36fb8
JM
37222014-03-26 Joseph Myers <joseph@codesourcery.com>
3723
3724 [BZ #16198]
3725 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3726 fnstenv.
3727 * math/test-fenv-preserve.c: New file.
3728 * math/Makefile (tests): Add test-fenv-preserve.
3729
60a2f3c1
WN
37302014-03-26 Will Newton <will.newton@linaro.org>
3731
3732 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3733
a5e5f1e2
RM
37342014-03-25 Roland McGrath <roland@hack.frob.com>
3735
3736 * scripts/versionlist.awk: Partition the version sets and emit all
3737 GLIBC_* (sorted) before all others (sorted).
3738
00f4012a
JM
37392014-03-25 Joseph Myers <joseph@codesourcery.com>
3740
3741 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3742 GLIBC_2.2.5 version.
3743
7bc5a741
AZ
37442014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3745
3746 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3747 calls.
3748
7578473b
AZ
3749 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3750 previous change.
3751
f3f1dab3
AZ
3752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3753
6da36183
AS
37542014-03-25 Andreas Schwab <schwab@suse.de>
3755
3756 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3757 label to be used after in6ailist is initialized.
3758
f3f1dab3 37592014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3760
7578473b 3761 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3762 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3763
046651c1
JM
37642014-03-25 Joseph Myers <joseph@codesourcery.com>
3765
3766 [BZ #16357]
3767 [BZ #16599]
3768 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3769 min_plus_half.
3770 (fp_formats): Update initializers.
3771 (init_fp_formats): Initialize new field.
3772 (output_for_one_input_case): Allow underflow for results up to
3773 min_plus_half.
3774 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3775 * math/auto-libm-test-in: Don't mark some underflows from asin and
3776 atanh as spurious.
3777 * math/auto-libm-test-out: Regenerated.
3778 * sysdeps/i386/fpu/libm-test-ulps: Update.
3779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3780
003e49ed
AS
37812014-03-25 Andreas Schwab <schwab@suse.de>
3782
3783 * libio/Makefile (tst-ftell-partial-wide-ENV)
3784 (tst-ftell-active-handler-ENV): Define.
3785
de031874
SL
37862014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3787
3788 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3789
55a81e3b
PP
37902014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3791
3792 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3793
f3426898
JM
37942014-03-24 Joseph Myers <joseph@codesourcery.com>
3795
3796 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3797 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3798 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3799
a42faf59
PP
38002014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3801
3802 [BZ #16634]
a42faf59 3803 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3804 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3805 (open_path): Change from boolean 'secure' to complete flag 'mode'
3806 (_dl_map_object): Adjust.
a42faf59
PP
3807 * elf/Makefile (tests): Add tst-dlopen-aout.
3808 * elf/tst-dlopen-aout.c: New test.
3809
50936127
SL
38102014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3811
3812 [BZ #16714]
3813 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3814 (struct stat): Rename member pad0 to __glibc_reserved0.
3815
26011b5c
SL
3816 [BZ #16712]
3817 * sysdeps/s390/s390-32/bits/wordsize.h
3818 (__WORDSIZE32_SIZE_ULONG): New define.
3819 * sysdeps/s390/s390-64/bits/wordsize.h
3820 (__WORDSIZE32_SIZE_ULONG): Likewise.
3821 * sysdeps/generic/stdint.h (SIZE_MAX):
3822 Define as UL if __WORDSIZE32_SIZE_ULONG.
3823
a2d86bf1
SL
3824 [BZ #16713]
3825 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3826 (__glibc_reserved0): New variable.
3827 (sa_flags): Change type to int.
3828
78b6eebc
SL
3829 * posix/Makefile (before-compile): Use += before-compile instead
3830 of a :=.
3831
f1399b5a
SL
3832 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3833 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3834
a071766e
AS
38352014-03-20 Andreas Schwab <schwab@suse.de>
3836
3837 [BZ #16743]
3838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3839 non-matching result from nscd.
3840
27c673b8
SP
38412014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3842
3843 * scripts/bench.py: Moved to ...
3844 * benchtests/scripts/bench.py: ... here.
3845 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3846
44152e4b
AS
38472014-03-24 Andreas Schwab <schwab@suse.de>
3848
3849 [BZ #16002]
3850 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3851 alloca_account and account alloca use for struct in6ailist.
3852
b376a11a
JM
38532014-03-24 Joseph Myers <joseph@codesourcery.com>
3854
3855 [BZ #16284]
3856 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3857 rounding mode to recompute results that overflow to infinity or
3858 underflow to zero.
3859 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3860 bug 16284.
3861 * math/auto-libm-test-out: Regenerated.
3862 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3863 (ccosh_test): Likewise.
3864 (csin_test_data): Use plus_oflow.
3865 (csin_test): Use ALL_RM_TEST.
3866 (csinh_test_data): Use plus_oflow.
3867 (csinh_test): Use ALL_RM_TEST.
3868 * sysdeps/i386/fpu/libm-test-ulps: Update.
3869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3870
f7be7376
JM
38712014-03-21 Joseph Myers <joseph@codesourcery.com>
3872
1ca2d03e
JM
3873 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3874 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3875 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3876
f7be7376
JM
3877 [BZ #16731]
3878 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3879 when x - 1 is zero.
3880 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3881 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3882 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3883 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3884 argument is 1.
3885 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3886 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3887 zero.
3888 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3889 * sysdeps/i386/fpu/libm-test-ulps: Update.
3890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3891
fdf4534d
SP
38922014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3893
df26ea53
SP
3894 * scripts/bench.pl: Remove file.
3895 * scripts/bench.py: New benchmark script.
3896 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3897 * benchtests/README: Mention python dependency.
3898 * scripts/pylintrc: New file.
3899 * scripts/pylint: New file.
3900
fdf4534d
SP
3901 * bits/mathdef.h: Use #ifdef instead of #if.
3902 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3903 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3904 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3905 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3906 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3907 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3908
6f23d093
AZ
39092014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3910 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3911
3912 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3914 and strpbrk-ppc64 objects.
3915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3916 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3917 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3918 multiarch strpbrk for POWER7.
3919 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3920 multiarch strpbrk for PPC64.
3921 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3922 ifunc selector.
3923 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3924 strpbrk for POWER7.
3925
8c92dfff
JM
39262014-03-20 Joseph Myers <joseph@codesourcery.com>
3927
3928 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3929 (atan_test): Likewise.
3930 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3931 (atanh_test): Use ALL_RM_TEST.
3932 (atan2_test_data): Likewise.
3933 (cabs_test): Likewise.
3934 (cacosh_test): Likewise.
3935 (carg_test): Likewise.
3936 (casin_test): Likewise.
3937 (casinh_test): Likewise.
3938 (cbrt_test): Likewise.
3939 (csqrt_test): Likewise.
3940 (erf_test): Likewise.
3941 (erfc_test): Likewise.
3942 (pow10_test): Likewise.
3943 (exp2_test): Likewise.
3944 (hypot_test): Likewise.
3945 (j0_test): Likewise.
3946 (j1_test): Likewise.
3947 (lgamma_test): Likewise.
3948 (gamma_test): Likewise.
3949 (sincos_test): Likewise.
3950 (tanh_test): Likewise.
3951 (y0_test): Likewise.
3952 (y1_test): Likewise.
3953 * sysdeps/i386/fpu/libm-test-ulps: Update.
3954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3955
6eaf95cb
AZ
39562014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3957
a387428c
SP
3958 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3960 and strcspn-ppc64 objects.
3961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3962 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3963 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3964 multiarch strcspn for POWER7.
3965 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3966 multiarch strcspn for PPC64.
3967 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3968 ifunc selector.
3969 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3970 strcspn for POWER7.
3971
ae3a5dff
JM
39722014-03-20 Joseph Myers <joseph@codesourcery.com>
3973
3974 * math/gen-libm-test.pl (generate_testfile): Expect only function
3975 name as argument to AUTO_TESTS_* and pass results for all rounding
3976 modes to parse_args.
3977 (parse_auto_input): Separate inputs of automatic tests from
3978 outputs before storing in %auto_tests.
3979 * math/libm-test.inc (acos_test_data): Update call to
3980 AUTO_TESTS_f_f.
3981 (acos_test): Use ALL_RM_TEST.
3982 (acos_tonearest_test_data): Remove.
3983 (acos_test_tonearest): Likewise.
3984 (acos_towardzero_test_data): Likewise.
3985 (acos_test_towardzero): Likewise.
3986 (acos_downward_test_data): Likewise.
3987 (acos_test_downward): Likewise.
3988 (acos_upward_test_data): Likewise.
3989 (acos_test_upward): Likewise.
3990 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3991 (asin_test_data): Likewise.
3992 (asin_test): Use ALL_RM_TEST.
3993 (asin_tonearest_test_data): Remove.
3994 (asin_test_tonearest): Likewise.
3995 (asin_towardzero_test_data): Likewise.
3996 (asin_test_towardzero): Likewise.
3997 (asin_downward_test_data): Likewise.
3998 (asin_test_downward): Likewise.
3999 (asin_upward_test_data): Likewise.
4000 (asin_test_upward): Likewise.
4001 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4002 (atan_test_data): Likewise.
4003 (atanh_test_data): Likewise.
4004 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4005 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4006 (carg_test_data): Likewise.
4007 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4008 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4009 (ccosh_test_data): Likewise.
4010 (cexp_test_data): Likewise.
4011 (clog_test_data): Likewise.
4012 (clog10_test_data): Likewise.
4013 (cos_test_data): Update call to AUTO_TESTS_f_f.
4014 (cos_test): Use ALL_RM_TEST.
4015 (cos_tonearest_test_data): Remove.
4016 (cos_test_tonearest): Likewise.
4017 (cos_towardzero_test_data): Likewise.
4018 (cos_test_towardzero): Likewise.
4019 (cos_downward_test_data): Likewise.
4020 (cos_test_downward): Likewise.
4021 (cos_upward_test_data): Likewise.
4022 (cos_test_upward): Likewise.
4023 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4024 (cosh_test): Use ALL_RM_TEST.
4025 (cosh_tonearest_test_data): Remove.
4026 (cosh_test_tonearest): Likewise.
4027 (cosh_towardzero_test_data): Likewise.
4028 (cosh_test_towardzero): Likewise.
4029 (cosh_downward_test_data): Likewise.
4030 (cosh_test_downward): Likewise.
4031 (cosh_upward_test_data): Likewise.
4032 (cosh_test_upward): Likewise.
4033 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4034 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4035 (ctan_test_data): Likewise.
4036 (ctan_test): Use ALL_RM_TEST.
4037 (ctan_tonearest_test_data): Remove.
4038 (ctan_test_tonearest): Likewise.
4039 (ctan_towardzero_test_data): Likewise.
4040 (ctan_test_towardzero): Likewise.
4041 (ctan_downward_test_data): Likewise.
4042 (ctan_test_downward): Likewise.
4043 (ctan_upward_test_data): Likewise.
4044 (ctan_test_upward): Likewise.
4045 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4046 (ctanh_test): Use ALL_RM_TEST.
4047 (ctanh_tonearest_test_data): Remove.
4048 (ctanh_test_tonearest): Likewise.
4049 (ctanh_towardzero_test_data): Likewise.
4050 (ctanh_test_towardzero): Likewise.
4051 (ctanh_downward_test_data): Likewise.
4052 (ctanh_test_downward): Likewise.
4053 (ctanh_upward_test_data): Likewise.
4054 (ctanh_test_upward): Likewise.
4055 (erf_test_data): Update call to AUTO_TESTS_f_f.
4056 (erfc_test_data): Likewise.
4057 (exp_test_data): Likewise.
4058 (exp_test): Use ALL_RM_TEST.
4059 (exp_tonearest_test_data): Remove.
4060 (exp_test_tonearest): Likewise.
4061 (exp_towardzero_test_data): Likewise.
4062 (exp_test_towardzero): Likewise.
4063 (exp_downward_test_data): Likewise.
4064 (exp_test_downward): Likewise.
4065 (exp_upward_test_data): Likewise.
4066 (exp_test_upward): Likewise.
4067 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4068 (exp10_test): Use ALL_RM_TEST.
4069 (exp10_tonearest_test_data): Remove.
4070 (exp10_test_tonearest): Likewise.
4071 (exp10_towardzero_test_data): Likewise.
4072 (exp10_test_towardzero): Likewise.
4073 (exp10_downward_test_data): Likewise.
4074 (exp10_test_downward): Likewise.
4075 (exp10_upward_test_data): Likewise.
4076 (exp10_test_upward): Likewise.
4077 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4078 (expm1_test_data): Likewise.
4079 (expm1_test): Use ALL_RM_TEST.
4080 (expm1_tonearest_test_data): Remove.
4081 (expm1_test_tonearest): Likewise.
4082 (expm1_towardzero_test_data): Likewise.
4083 (expm1_test_towardzero): Likewise.
4084 (expm1_downward_test_data): Likewise.
4085 (expm1_test_downward): Likewise.
4086 (expm1_upward_test_data): Likewise.
4087 (expm1_test_upward): Likewise.
4088 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4089 (fma_test): Use ALL_RM_TEST.
4090 (fma_towardzero_test_data): Remove.
4091 (fma_test_towardzero): Likewise.
4092 (fma_downward_test_data): Likewise.
4093 (fma_test_downward): Likewise.
4094 (fma_upward_test_data): Likewise.
4095 (fma_test_upward): Likewise.
4096 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4097 (j0_test_data): Update call to AUTO_TESTS_f_f.
4098 (j1_test_data): Likewise.
4099 (jn_test_data): Update call to AUTO_TESTS_if_f.
4100 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4101 (log_test_data): Update call to AUTO_TESTS_f_f.
4102 (log10_test_data): Likewise.
4103 (log1p_test_data): Likewise.
4104 (log2_test_data): Likewise.
4105 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4106 (pow_tonearest_test_data): Likewise.
4107 (sin_test_data): Update call to AUTO_TESTS_f_f.
4108 (sin_test): Use ALL_RM_TEST.
4109 (sin_tonearest_test_data): Remove.
4110 (sin_test_tonearest): Likewise.
4111 (sin_towardzero_test_data): Likewise.
4112 (sin_test_towardzero): Likewise.
4113 (sin_downward_test_data): Likewise.
4114 (sin_test_downward): Likewise.
4115 (sin_upward_test_data): Likewise.
4116 (sin_test_upward): Likewise.
4117 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4118 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4119 (sinh_test): Use ALL_RM_TEST.
4120 (sinh_tonearest_test_data): Remove.
4121 (sinh_test_tonearest): Likewise.
4122 (sinh_towardzero_test_data): Likewise.
4123 (sinh_test_towardzero): Likewise.
4124 (sinh_downward_test_data): Likewise.
4125 (sinh_test_downward): Likewise.
4126 (sinh_upward_test_data): Likewise.
4127 (sinh_test_upward): Likewise.
4128 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4129 (sqrt_test): Use ALL_RM_TEST.
4130 (sqrt_tonearest_test_data): Remove.
4131 (sqrt_test_tonearest): Likewise.
4132 (sqrt_towardzero_test_data): Likewise.
4133 (sqrt_test_towardzero): Likewise.
4134 (sqrt_downward_test_data): Likewise.
4135 (sqrt_test_downward): Likewise.
4136 (sqrt_upward_test_data): Likewise.
4137 (sqrt_test_upward): Likewise.
4138 (tan_test_data): Update call to AUTO_TESTS_f_f.
4139 (tan_test): Use ALL_RM_TEST.
4140 (tan_tonearest_test_data): Remove.
4141 (tan_test_tonearest): Likewise.
4142 (tan_towardzero_test_data): Likewise.
4143 (tan_test_towardzero): Likewise.
4144 (tan_downward_test_data): Likewise.
4145 (tan_test_downward): Likewise.
4146 (tan_upward_test_data): Likewise.
4147 (tan_test_upward): Likewise.
4148 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4149 (tgamma_test_data): Likewise.
4150 (y0_test_data): Likewise.
4151 (y1_test_data): Likewise.
4152 (yn_test_data): Update call to AUTO_TESTS_if_f.
4153 (main): Do not call removed functions.
4154
d71aeee8
JM
41552014-03-19 Joseph Myers <joseph@codesourcery.com>
4156
4157 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4158 (ldexp_test_data): Remove.
4159 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4160 scalbn_test_data.
4161 (scalb_test): Use ALL_RM_TEST.
4162
baaf1ded
AS
41632014-03-19 Andreas Schwab <schwab@suse.de>
4164
4165 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4166
b1115e91
JM
41672014-03-19 Joseph Myers <joseph@codesourcery.com>
4168
4169 [BZ #16649]
4170 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4171 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4172 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4173 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4174 (__ASSUME_PREADV): Undefine.
4175 (__ASSUME_PWRITEV): Likewise.
4176
0283ecca
RM
41772014-03-18 Roland McGrath <roland@hack.frob.com>
4178
7d375303
RM
4179 * bits/mman-linux.h: Add comment about non-Linux use.
4180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4181 bits/mman-linux.h resting place.
4182
0283ecca
RM
4183 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4184 * bits/mman-linux.h: ... here.
4185
aebe1003
AZ
41862014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4187
4188 * conform/conformtest.pl: Add standard definition when calling C
4189 preprocessor on data files.
4190 (checknamespace): Remove unused variable.
4191
b29b6bb8
JM
41922014-03-18 Joseph Myers <joseph@codesourcery.com>
4193
4194 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4195 minus_oflow, plus_uflow and minus_uflow in expected results.
4196 * math/libm-test.inc (scalbn_test_data): Add more tests of
4197 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4198 minus_uflow.
4199 (scalbn_test): Use ALL_RM_TEST.
4200 (scalbln_test_data): Add more tests of negative arguments. Use
4201 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4202 (scalbln_test): Use ALL_RM_TEST.
4203
c8f8fa15
RM
42042014-03-18 Roland McGrath <roland@hack.frob.com>
4205
4206 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4207
fede7a5f
WN
42082014-03-18 Will Newton <will.newton@linaro.org>
4209
4210 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4211 inaccurate comment.
4212
80cf0a58
JM
42132014-03-18 Joseph Myers <joseph@codesourcery.com>
4214
4215 * Makerules [!subdir] (check-abi): Exit with error status if a
4216 test failed.
4217
b3620862
JM
42182014-03-17 Joseph Myers <joseph@codesourcery.com>
4219
4220 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4221 for rint. Include results for all rounding modes.
4222 (nearbyint_test): Use ALL_RM_TEST.
4223 (rint_test_data): Include all tests used for nearbyint.
4224
788bba36
WN
42252014-03-17 Will Newton <will.newton@linaro.org>
4226
04ec140a
WN
4227 * nptl/sysdeps/pthread/pthread.h: Revert previous
4228 change.
4229
7579d8d5
WN
4230 * sysdeps/generic/ldsodefs.h: Revert previous
4231 change.
4232
c15cf13a
WN
4233 * libio/genops.c: Revert previous change.
4234 * libio/libioP.h: Likewise.
4235 * stdio-common/vfprintf.c: Likewise.
4236
d0ac1324
WN
4237 * sysdeps/generic/math_private.h: Revert previous
4238 change.
4239
9290130a
WN
4240 * sysdeps/generic/math_private.h: Check whether
4241 HAVE_RM_CTX is defined with #ifdef rather
4242 than #if.
4243
afb466fc
WN
4244 * argp/argp-fmtstream.h: Check whether
4245 __STRICT_ANSI__ is defined with #ifdef rather
4246 than #if.
4247 * argp/argp.h: Likewise.
4248
f7efd7c3
WN
4249 * libio/genops.c: Check whether
4250 _IO_JUMPS_OFFSET is defined with #ifdef rather
4251 than #if.
4252 * libio/libioP.h: Likewise.
4253 * stdio-common/vfprintf.c: Likewise.
4254
53f1bed3
WN
4255 * sysdeps/generic/ldsodefs.h: Check whether
4256 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4257 than #if.
4258
788bba36
WN
4259 * nptl/sysdeps/pthread/pthread.h: Check
4260 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4261 its value.
4262
fcd89ebe
SP
42632014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4264
ae42bbc5
SP
4265 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4266 setting O_APPEND.
4267 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4268 test case.
4269
ea33158c
SP
4270 [BZ #16680]
4271 * libio/fileops.c (_IO_file_open): Seek to end of file but
4272 don't cache the offset.
4273 (get_file_offset): Remove function.
4274 (do_ftell): Use cached offset when available.
4275 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4276 don't cache the offset.
4277 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4278 case.
4279 (do_one_test): Call it.
4280 (do_ftell_test): Fix up expected old offset for a+ mode.
4281 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4282 available.
4283
b1dbb426
SP
4284 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4285 up test status with function return status.
4286 (do_write_test): Likewise.
4287 (do_append_test): Likewise.
4288
fcd89ebe
SP
4289 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4290 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4291 Remove.
4292
9962a2d3
JM
42932014-03-17 Joseph Myers <joseph@codesourcery.com>
4294
4295 * math/gen-libm-test.pl (parse_args): Handle results specified for
4296 each rounding mode separately.
4297 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4298 tests and results from lrint_tonearest_test_data,
4299 lrint_towardzero_test_data, lrint_downward_test_data and
4300 lrint_upward_test_data.
4301 (lrint_test): Use ALL_RM_TEST.
4302 (lrint_tonearest_test_data): Remove.
4303 (lrint_test_tonearest): Likewise.
4304 (lrint_towardzero_test_data): Likewise.
4305 (lrint_test_towardzero): Likewise.
4306 (lrint_downward_test_data): Likewise.
4307 (lrint_test_downward): Likewise.
4308 (lrint_upward_test_data): Likewise.
4309 (lrint_test_upward): Likewise.
4310 (llrint_test_data): Merge in per-rounding-mode tests and results
4311 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4312 llrint_downward_test_data and llrint_upward_test_data.
4313 (llrint_test): Use ALL_RM_TEST.
4314 (llrint_tonearest_test_data): Remove.
4315 (llrint_test_tonearest): Likewise.
4316 (llrint_towardzero_test_data): Likewise.
4317 (llrint_test_towardzero): Likewise.
4318 (llrint_downward_test_data): Likewise.
4319 (llrint_test_downward): Likewise.
4320 (llrint_upward_test_data): Likewise.
4321 (llrint_test_upward): Likewise.
4322 (rint_test_data): Merge in per-rounding-mode tests and results
4323 from rint_tonearest_test_data, rint_towardzero_test_data,
4324 rint_downward_test_data and rint_upward_test_data. Add
4325 per-rounding-mode results for tests not in those arrays.
4326 (rint_test): Use ALL_RM_TEST.
4327 (rint_tonearest_test_data): Remove.
4328 (rint_test_tonearest): Likewise.
4329 (rint_towardzero_test_data): Likewise.
4330 (rint_test_towardzero): Likewise.
4331 (rint_downward_test_data): Likewise.
4332 (rint_test_downward): Likewise.
4333 (rint_upward_test_data): Likewise.
4334 (rint_test_upward): Likewise.
4335 (main): Don't call removed functions.
4336
5006148e
RM
43372014-03-14 Roland McGrath <roland@hack.frob.com>
4338
4339 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4340 "Compiled on ..." crapola. It is anti-useful.
4341
d6fe5e58
JM
43422014-03-14 Joseph Myers <joseph@codesourcery.com>
4343
4344 * scripts/evaluate-test.sh: Handle fourth argument to determine
4345 whether test run should stop on failure.
4346 * Makeconfig (stop-on-test-failure): New variable.
4347 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4348 $(stop-on-test-failure).
4349 * Makefile (tests): Give a summary of results from testing and
4350 exit with failure status if they include an ERROR or FAIL.
4351 (xtests): Likewise.
4352 * manual/install.texi (Configuring and compiling): Mention
4353 stop-on-test-failure=y.
4354 * INSTALL: Regenerated.
4355
498a2233
RM
43562014-03-14 Roland McGrath <roland@hack.frob.com>
4357
22dbc19d
RM
4358 * scripts/versionlist.awk: New file.
4359 * Makerules [$(build-shared) = yes]
4360 (postclean-generated): Add Versions.def, not Versions.def.v and
4361 Versions.def.v.i.
4362 ($(common-objpfx)Versions.def.v.i): Target removed.
4363 ($(common-objpfx)Versions.def): New target.
4364 ($(common-objpfx)Versions.all): Depend on that rather that
4365 $(common-objpfx)Versions.def.v.
4366 * Versions.def: File removed.
4367
498a2233
RM
4368 * Makeconfig (+gccwarn): Add -Wundef.
4369 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4370 a dl-sysdep.h breaking its contract.
4371 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4372 * include/stackinfo.h: New file.
4373 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4374 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4375 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4376 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4377 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4378 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4379 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4380 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4381 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4382 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4383 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4384 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4385 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4386 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4387 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4388
c7de5025
AZ
43892014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4390
4391 [BZ #16707]
4392 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4393 implementation.
4394 * math/libm-test.inc (round_test_data): Add more tests.
4395
98fb27a3
AZ
4396 [BZ #16706]
4397 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4398 implementation.
4399 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4400
374f7f61
AZ
4401 [BZ #16701]
4402 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4403 implementation.
4404 * math/libm-test.inc (ceil_test_data): Add more tests.
4405
4655c291
AZ
4406 * math/libm-test.inc (trunc_test_data): Add more tests related to
4407 BZ#16414.
4408
d7329d4b
RM
44092014-03-14 Roland McGrath <roland@hack.frob.com>
4410
4411 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4412 with #if rather than #ifdef.
4413 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4414
aa4de9ce
L
44152014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4416
4417 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4418 first. Disable AVX-512 GCC support if assembler doesn't support
4419 it.
4420 * sysdeps/x86_64/configure: Regenerated.
4421
2e03fae7
CD
44222014-03-13 Carlos O'Donell <carlos@redhat.com>
4423
4424 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4425 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4426 (__old_pthread_attr_setstack): Likewise.
4427 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4428 [!_STACK_GROWS_DOWN]: Likewise.
4429
43ca83ec
MF
44302014-03-13 Mike Frysinger <vapier@gentoo.org>
4431
4432 * config.make.in (have-bash2): Delete.
4433 * configure.ac (libc_cv_have_bash2): Delete.
4434 * configure: Regenerate.
4435 * elf/Makefile (common-ldd-rewrite): Rename to ...
4436 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4437 (sh-ldd-rewrite): Delete.
4438 (bash-ldd-rewrite): Delete.
4439 (have-bash2): Delete checks.
57f41c40
AS
4440 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4441 ldd-rewrite.
c66e48b4
MF
4442
4443 * config.make.in (have-ksh): Delete.
4444 (KSH): Delete.
4445 * configure.ac (libc_cv_have_ksh): Delete.
4446 * configure: Regenerate.
4447
b93834ef
MF
4448 * elf/Makefile: Delete $(have-ksh) check.
4449 ($(objpfx)sotruss): Change KSH to BASH.
4450 * elf/sotruss.ksh: Rename to ...
4451 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4452 function style to match POSIX. Drop ksh vim mode setting.
4453
f3a4632a
MF
4454 * manual/time.texi (Specifying the Time Zone with TZ): Change
4455 Tuesday to Thursday.
4456
5896c8bd
MF
4457 * debug/tst-longjmp_chk2.c: Update header comment.
4458 (stackoverflow_handler): Add comment. Call assert on pass value.
4459
2d63a517
IZ
44602014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4461
4462 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4463 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4464 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4465 (La_x86_64_vector): Add zmm.
4466 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4467 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4468 ($(objpfx)tst-audit10): New target.
4469 ($(objpfx)tst-audit10.out): Likewise.
4470 (tst-audit10-ENV): New.
4471 (AVX512-CFLAGS): Likewise.
4472 (CFLAGS-tst-audit10.c): Likewise.
4473 (CFLAGS-tst-auditmod10a.c): Likewise.
4474 (CFLAGS-tst-auditmod10b.c): Likewise.
4475 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4476 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4477 * sysdeps/x86_64/configure: Regenerated.
4478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4479 AVX-512 zmm register support.
4480 (_dl_x86_64_save_sse): Likewise.
4481 (_dl_x86_64_restore_sse): Likewise.
4482 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4483 size vector registers.
4484 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4485 (ZMM_SIZE): Likewise.
4486 * sysdeps/x86_64/tst-audit10.c: New file.
4487 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4488 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4489
44c4e5d5
RM
44902014-03-13 Roland McGrath <roland@hack.frob.com>
4491
4492 * configure.ac (HAVE_EHDR_START): New check.
4493 * configure: Regenerated.
4494 * config.h.in (HAVE_EHDR_START): New #undef.
4495 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4496 assuming the lowest-addressed segment maps the start of the file.
4497
acd6e389
JM
44982014-03-13 Joseph Myers <joseph@codesourcery.com>
4499
4500 * INSTALL: Regenerated.
4501
6f918f36
WN
45022014-03-13 Will Newton <will.newton@linaro.org>
4503
4504 * manual/setjmp.texi (System V contexts): Improve
4505 clarity and grammar of documentation.
4506
798212a0
PP
45072014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4508
4509 [BZ #16381]
798212a0 4510 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 4511 (tests-pie): Add tst-pie2.
798212a0
PP
4512 * elf/tst-pie2.c: New file.
4513 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4514 for ET_EXEC.
4515 * elf/rtld.c (map_doit): Load executable as lt_executable.
4516 (dl_main): Likewise.
4517
abe6d90c
JM
45182014-03-12 Joseph Myers <joseph@codesourcery.com>
4519
4520 [BZ #16642]
4521 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4522 (__ASSUME_PSELECT): Undefine.
4523
dd3946c6
AZ
45242014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4525
4526 [BZ #16689]
4527 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4528 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4529 static build.
4530 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4531 selector for static builds.
4532
c44496df
SP
45332014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4534
4535 [BZ #16695]
4536 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4537 key in the buffer.
4538
27c7220a
AZ
45392014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4540
57f41c40
AS
4541 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4542 IFUNC selector for static builds.
27c7220a 4543
600fa361
JM
45442014-03-11 Joseph Myers <joseph@codesourcery.com>
4545
76c96cf7
JM
4546 * sysdeps/mips/math_private.h [__mips_hard_float]
4547 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4548 libc_feresetround_mips_ctx.
4549 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4550 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4551 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4552
600fa361
JM
4553 [BZ #16677]
4554 * math/s_nextafter.c (__nextafter): Do not return value from
4555 overflowing computation.
4556 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4557 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4558 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4559 Likewise.
4560 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4561 Likewise.
4562 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4563 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4564
d7706c32
RM
45652014-03-11 Roland McGrath <roland@hack.frob.com>
4566
4567 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4568 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4569 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4570 the new mov targetting sp.
4571
4facea47
AZ
45722014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4573
4574 [BZ #16683]
4575 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4576 Define it for static builds as well.
4577 (NO_BZERO_IMPL): Likewise.
4578
e65caf1f
VR
45792014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4580
4581 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4582 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4583 multiarch strspn for PPC64.
4584 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4585 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4587 (__libc_ifunc_impl_list): Likewise.
4588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4589 multiarch optimizations
4590 * string/strspn.c (strspn): Using macro to redefine symbol name.
4591
ba9cc071
AZ
45922014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4593 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4594
4595 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4596 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4597 multiarch strncat for PPC64.
4598 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4599 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4601 (__libc_ifunc_impl_list): Likewise.
4602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4603 multiarch optimizations
4604
8b4ff974
SP
46052014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4606
4607 [BZ #16639]
4608 * nscd/nscd.service: Make service type forking.
4609
54b46a4b
AZ
46102014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4611
4612 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4613 sign in non default rounding modes.
4614 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4615
e9996ef7
JM
46162014-03-08 Joseph Myers <joseph@codesourcery.com>
4617
4618 * math/libm-test.inc (ALL_RM_TEST): New macro.
4619 (ceil_test): Use ALL_RM_TEST.
4620 (cimag_test): Likewise.
4621 (conj_test): Likewise.
4622 (copysign_test): Likewise.
4623 (cproj_test): Likewise.
4624 (creal_test): Likewise.
4625 (fabs_test): Likewise.
4626 (floor_test): Likewise.
4627 (fmax_test): Likewise.
4628 (fmin_test): Likewise.
4629 (fmod_test): Likewise.
4630 (fpclassify_test): Likewise.
4631 (frexp_test): Likewise.
4632 (ilogb_test): Likewise.
4633 (isfinite_test): Likewise.
4634 (finite_test): Likewise.
4635 (isgreater_test): Likewise.
4636 (isgreaterequal_test): Likewise.
4637 (isinf_test): Likewise.
4638 (isless_test): Likewise.
4639 (islessequal_test): Likewise.
4640 (islessgreater_test): Likewise.
4641 (isnan_test): Likewise.
4642 (isnormal_test): Likewise.
4643 (issignaling_test): Likewise.
4644 (isunordered_test): Likewise.
4645 (logb_test): Likewise.
4646 (logb_downward_test_data): Remove.
4647 (logb_test_downward): Likewise.
4648 (lround_test): Use ALL_RM_TEST.
4649 (llround_test): Likewise.
4650 (modf_test): Likewise.
4651 (nexttoward_test): Likewise.
4652 (remainder_test): Likewise.
4653 (drem_test): Likewise.
4654 (remainder_tonearest_test_data): Likewise.
4655 (remainder_test_tonearest): Likewise.
4656 (drem_test_tonearest): Likewise.
4657 (remainder_towardzero_test_data): Likewise.
4658 (remainder_test_towardzero): Likewise.
4659 (drem_test_towardzero): Likewise.
4660 (remainder_downward_test_data): Likewise.
4661 (remainder_test_downward): Likewise.
4662 (drem_test_downward): Likewise.
4663 (remainder_upward_test_data): Likewise.
4664 (remainder_test_upward): Likewise.
4665 (drem_test_upward): Likewise.
4666 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4667 (round_test): Use ALL_RM_TEST.
4668 (signbit_test): Likewise.
4669 (trunc_test): Likewise.
4670 (significand_test): Likewise.
4671 (main): Don't call removed functions.
4672
bc61d27c
JM
46732014-03-07 Joseph Myers <joseph@codesourcery.com>
4674
5c780849
JM
4675 [BZ #16674]
4676 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4677 || __USE_XOPEN2K8].
4678 (ILL_ILLOPN): Likewise.
4679 (ILL_ILLADR): Likewise.
4680 (ILL_ILLTRP): Likewise.
4681 (ILL_PRVOPC): Likewise.
4682 (ILL_PRVREG): Likewise.
4683 (ILL_COPROC): Likewise.
4684 (ILL_BADSTK): Likewise.
4685 (FPE_INTDIV): Likewise.
4686 (FPE_INTOVF): Likewise.
4687 (FPE_FLTDIV): Likewise.
4688 (FPE_FLTOVF): Likewise.
4689 (FPE_FLTUND): Likewise.
4690 (FPE_FLTRES): Likewise.
4691 (FPE_FLTINV): Likewise.
4692 (FPE_FLTSUB): Likewise.
4693 (SEGV_MAPERR): Likewise.
4694 (SEGV_ACCERR): Likewise.
4695 (BUS_ADRALN): Likewise.
4696 (BUS_ADRERR): Likewise.
4697 (BUS_OBJERR): Likewise.
4698 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4699 (TRAP_TRACE): Likewise.
4700 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4701 __USE_XOPEN2K8].
4702 (CLD_KILLED): Likewise.
4703 (CLD_DUMPED): Likewise.
4704 (CLD_TRAPPED): Likewise.
4705 (CLD_STOPPED): Likewise.
4706 (CLD_CONTINUED): Likewise.
4707 (POLL_IN): Likewise.
4708 (POLL_OUT): Likewise.
4709 (POLL_MSG): Likewise.
4710 (POLL_ERR): Likewise.
4711 (POLL_PRI): Likewise.
4712 (POLL_HUP): Likewise.
4713 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4714 Likewise.
4715 (ILL_ILLOPN): Likewise.
4716 (ILL_ILLADR): Likewise.
4717 (ILL_ILLTRP): Likewise.
4718 (ILL_PRVOPC): Likewise.
4719 (ILL_PRVREG): Likewise.
4720 (ILL_COPROC): Likewise.
4721 (ILL_BADSTK): Likewise.
4722 (FPE_INTDIV): Likewise.
4723 (FPE_INTOVF): Likewise.
4724 (FPE_FLTDIV): Likewise.
4725 (FPE_FLTOVF): Likewise.
4726 (FPE_FLTUND): Likewise.
4727 (FPE_FLTRES): Likewise.
4728 (FPE_FLTINV): Likewise.
4729 (FPE_FLTSUB): Likewise.
4730 (SEGV_MAPERR): Likewise.
4731 (SEGV_ACCERR): Likewise.
4732 (BUS_ADRALN): Likewise.
4733 (BUS_ADRERR): Likewise.
4734 (BUS_OBJERR): Likewise.
4735 (BUS_MCEERR_AR): Likewise.
4736 (BUS_MCEERR_AO): Likewise.
4737 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4738 (TRAP_TRACE): Likewise.
4739 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4740 __USE_XOPEN2K8].
4741 (CLD_KILLED): Likewise.
4742 (CLD_DUMPED): Likewise.
4743 (CLD_TRAPPED): Likewise.
4744 (CLD_STOPPED): Likewise.
4745 (CLD_CONTINUED): Likewise.
4746 (POLL_IN): Likewise.
4747 (POLL_OUT): Likewise.
4748 (POLL_MSG): Likewise.
4749 (POLL_ERR): Likewise.
4750 (POLL_PRI): Likewise.
4751 (POLL_HUP): Likewise.
4752 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4753 (ILL_ILLOPN): Likewise.
4754 (ILL_ILLADR): Likewise.
4755 (ILL_ILLTRP): Likewise.
4756 (ILL_PRVOPC): Likewise.
4757 (ILL_PRVREG): Likewise.
4758 (ILL_COPROC): Likewise.
4759 (ILL_BADSTK): Likewise.
4760 (FPE_INTDIV): Likewise.
4761 (FPE_INTOVF): Likewise.
4762 (FPE_FLTDIV): Likewise.
4763 (FPE_FLTOVF): Likewise.
4764 (FPE_FLTUND): Likewise.
4765 (FPE_FLTRES): Likewise.
4766 (FPE_FLTINV): Likewise.
4767 (FPE_FLTSUB): Likewise.
4768 (SEGV_MAPERR): Likewise.
4769 (SEGV_ACCERR): Likewise.
4770 (BUS_ADRALN): Likewise.
4771 (BUS_ADRERR): Likewise.
4772 (BUS_OBJERR): Likewise.
4773 (BUS_MCEERR_AR): Likewise.
4774 (BUS_MCEERR_AO): Likewise.
4775 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4776 (TRAP_TRACE): Likewise.
4777 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4778 __USE_XOPEN2K8].
4779 (CLD_KILLED): Likewise.
4780 (CLD_DUMPED): Likewise.
4781 (CLD_TRAPPED): Likewise.
4782 (CLD_STOPPED): Likewise.
4783 (CLD_CONTINUED): Likewise.
4784 (POLL_IN): Likewise.
4785 (POLL_OUT): Likewise.
4786 (POLL_MSG): Likewise.
4787 (POLL_ERR): Likewise.
4788 (POLL_PRI): Likewise.
4789 (POLL_HUP): Likewise.
4790 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4791 Likewise.
4792 (ILL_ILLOPN): Likewise.
4793 (ILL_ILLADR): Likewise.
4794 (ILL_ILLTRP): Likewise.
4795 (ILL_PRVOPC): Likewise.
4796 (ILL_PRVREG): Likewise.
4797 (ILL_COPROC): Likewise.
4798 (ILL_BADSTK): Likewise.
4799 (ILL_BADIADDR): Likewise.
4800 (ILL_BREAK): Likewise.
4801 (FPE_INTDIV): Likewise.
4802 (FPE_INTOVF): Likewise.
4803 (FPE_FLTDIV): Likewise.
4804 (FPE_FLTOVF): Likewise.
4805 (FPE_FLTUND): Likewise.
4806 (FPE_FLTRES): Likewise.
4807 (FPE_FLTINV): Likewise.
4808 (FPE_FLTSUB): Likewise.
4809 (FPE_DECOVF): Likewise.
4810 (FPE_DECDIV): Likewise.
4811 (FPE_DECERR): Likewise.
4812 (FPE_INVASC): Likewise.
4813 (FPE_INVDEC): Likewise.
4814 (SEGV_MAPERR): Likewise.
4815 (SEGV_ACCERR): Likewise.
4816 (SEGV_PSTKOVF): Likewise.
4817 (BUS_ADRALN): Likewise.
4818 (BUS_ADRERR): Likewise.
4819 (BUS_OBJERR): Likewise.
4820 (BUS_MCEERR_AR): Likewise.
4821 (BUS_MCEERR_AO): Likewise.
4822 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4823 (TRAP_TRACE): Likewise.
4824 (TRAP_BRANCH): Likewise.
4825 (TRAP_HWBKPT): Likewise.
4826 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4827 __USE_XOPEN2K8].
4828 (CLD_KILLED): Likewise.
4829 (CLD_DUMPED): Likewise.
4830 (CLD_TRAPPED): Likewise.
4831 (CLD_STOPPED): Likewise.
4832 (CLD_CONTINUED): Likewise.
4833 (POLL_IN): Likewise.
4834 (POLL_OUT): Likewise.
4835 (POLL_MSG): Likewise.
4836 (POLL_ERR): Likewise.
4837 (POLL_PRI): Likewise.
4838 (POLL_HUP): Likewise.
4839 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4840 (ILL_ILLOPN): Likewise.
4841 (ILL_ILLADR): Likewise.
4842 (ILL_ILLTRP): Likewise.
4843 (ILL_PRVOPC): Likewise.
4844 (ILL_PRVREG): Likewise.
4845 (ILL_COPROC): Likewise.
4846 (ILL_BADSTK): Likewise.
4847 (FPE_INTDIV): Likewise.
4848 (FPE_INTOVF): Likewise.
4849 (FPE_FLTDIV): Likewise.
4850 (FPE_FLTOVF): Likewise.
4851 (FPE_FLTUND): Likewise.
4852 (FPE_FLTRES): Likewise.
4853 (FPE_FLTINV): Likewise.
4854 (FPE_FLTSUB): Likewise.
4855 (SEGV_MAPERR): Likewise.
4856 (SEGV_ACCERR): Likewise.
4857 (BUS_ADRALN): Likewise.
4858 (BUS_ADRERR): Likewise.
4859 (BUS_OBJERR): Likewise.
4860 (BUS_MCEERR_AR): Likewise.
4861 (BUS_MCEERR_AO): Likewise.
4862 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4863 (TRAP_TRACE): Likewise.
4864 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4865 __USE_XOPEN2K8].
4866 (CLD_KILLED): Likewise.
4867 (CLD_DUMPED): Likewise.
4868 (CLD_TRAPPED): Likewise.
4869 (CLD_STOPPED): Likewise.
4870 (CLD_CONTINUED): Likewise.
4871 (POLL_IN): Likewise.
4872 (POLL_OUT): Likewise.
4873 (POLL_MSG): Likewise.
4874 (POLL_ERR): Likewise.
4875 (POLL_PRI): Likewise.
4876 (POLL_HUP): Likewise.
4877 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4878 (ILL_ILLOPN): Likewise.
4879 (ILL_ILLADR): Likewise.
4880 (ILL_ILLTRP): Likewise.
4881 (ILL_PRVOPC): Likewise.
4882 (ILL_PRVREG): Likewise.
4883 (ILL_COPROC): Likewise.
4884 (ILL_BADSTK): Likewise.
4885 (FPE_INTDIV): Likewise.
4886 (FPE_INTOVF): Likewise.
4887 (FPE_FLTDIV): Likewise.
4888 (FPE_FLTOVF): Likewise.
4889 (FPE_FLTUND): Likewise.
4890 (FPE_FLTRES): Likewise.
4891 (FPE_FLTINV): Likewise.
4892 (FPE_FLTSUB): Likewise.
4893 (SEGV_MAPERR): Likewise.
4894 (SEGV_ACCERR): Likewise.
4895 (BUS_ADRALN): Likewise.
4896 (BUS_ADRERR): Likewise.
4897 (BUS_OBJERR): Likewise.
4898 (BUS_MCEERR_AR): Likewise.
4899 (BUS_MCEERR_AO): Likewise.
4900 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4901 (TRAP_TRACE): Likewise.
4902 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4903 __USE_XOPEN2K8].
4904 (CLD_KILLED): Likewise.
4905 (CLD_DUMPED): Likewise.
4906 (CLD_TRAPPED): Likewise.
4907 (CLD_STOPPED): Likewise.
4908 (CLD_CONTINUED): Likewise.
4909 (POLL_IN): Likewise.
4910 (POLL_OUT): Likewise.
4911 (POLL_MSG): Likewise.
4912 (POLL_ERR): Likewise.
4913 (POLL_PRI): Likewise.
4914 (POLL_HUP): Likewise.
4915 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4916 (ILL_ILLOPN): Likewise.
4917 (ILL_ILLADR): Likewise.
4918 (ILL_ILLTRP): Likewise.
4919 (ILL_PRVOPC): Likewise.
4920 (ILL_PRVREG): Likewise.
4921 (ILL_COPROC): Likewise.
4922 (ILL_BADSTK): Likewise.
4923 (FPE_INTDIV): Likewise.
4924 (FPE_INTOVF): Likewise.
4925 (FPE_FLTDIV): Likewise.
4926 (FPE_FLTOVF): Likewise.
4927 (FPE_FLTUND): Likewise.
4928 (FPE_FLTRES): Likewise.
4929 (FPE_FLTINV): Likewise.
4930 (FPE_FLTSUB): Likewise.
4931 (SEGV_MAPERR): Likewise.
4932 (SEGV_ACCERR): Likewise.
4933 (BUS_ADRALN): Likewise.
4934 (BUS_ADRERR): Likewise.
4935 (BUS_OBJERR): Likewise.
4936 (BUS_MCEERR_AR): Likewise.
4937 (BUS_MCEERR_AO): Likewise.
4938 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4939 (TRAP_TRACE): Likewise.
4940 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4941 __USE_XOPEN2K8].
4942 (CLD_KILLED): Likewise.
4943 (CLD_DUMPED): Likewise.
4944 (CLD_TRAPPED): Likewise.
4945 (CLD_STOPPED): Likewise.
4946 (CLD_CONTINUED): Likewise.
4947 (POLL_IN): Likewise.
4948 (POLL_OUT): Likewise.
4949 (POLL_MSG): Likewise.
4950 (POLL_ERR): Likewise.
4951 (POLL_PRI): Likewise.
4952 (POLL_HUP): Likewise.
4953 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4954 (ILL_ILLOPN): Likewise.
4955 (ILL_ILLADR): Likewise.
4956 (ILL_ILLTRP): Likewise.
4957 (ILL_PRVOPC): Likewise.
4958 (ILL_PRVREG): Likewise.
4959 (ILL_COPROC): Likewise.
4960 (ILL_BADSTK): Likewise.
4961 (ILL_DBLFLT): Likewise.
4962 (ILL_HARDWALL): Likewise.
4963 (FPE_INTDIV): Likewise.
4964 (FPE_INTOVF): Likewise.
4965 (FPE_FLTDIV): Likewise.
4966 (FPE_FLTOVF): Likewise.
4967 (FPE_FLTUND): Likewise.
4968 (FPE_FLTRES): Likewise.
4969 (FPE_FLTINV): Likewise.
4970 (FPE_FLTSUB): Likewise.
4971 (SEGV_MAPERR): Likewise.
4972 (SEGV_ACCERR): Likewise.
4973 (BUS_ADRALN): Likewise.
4974 (BUS_ADRERR): Likewise.
4975 (BUS_OBJERR): Likewise.
4976 (BUS_MCEERR_AR): Likewise.
4977 (BUS_MCEERR_AO): Likewise.
4978 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4979 (TRAP_TRACE): Likewise.
4980 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4981 __USE_XOPEN2K8].
4982 (CLD_KILLED): Likewise.
4983 (CLD_DUMPED): Likewise.
4984 (CLD_TRAPPED): Likewise.
4985 (CLD_STOPPED): Likewise.
4986 (CLD_CONTINUED): Likewise.
4987 (POLL_IN): Likewise.
4988 (POLL_OUT): Likewise.
4989 (POLL_MSG): Likewise.
4990 (POLL_ERR): Likewise.
4991 (POLL_PRI): Likewise.
4992 (POLL_HUP): Likewise.
4993 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4994 (ILL_ILLOPN): Likewise.
4995 (ILL_ILLADR): Likewise.
4996 (ILL_ILLTRP): Likewise.
4997 (ILL_PRVOPC): Likewise.
4998 (ILL_PRVREG): Likewise.
4999 (ILL_COPROC): Likewise.
5000 (ILL_BADSTK): Likewise.
5001 (FPE_INTDIV): Likewise.
5002 (FPE_INTOVF): Likewise.
5003 (FPE_FLTDIV): Likewise.
5004 (FPE_FLTOVF): Likewise.
5005 (FPE_FLTUND): Likewise.
5006 (FPE_FLTRES): Likewise.
5007 (FPE_FLTINV): Likewise.
5008 (FPE_FLTSUB): Likewise.
5009 (SEGV_MAPERR): Likewise.
5010 (SEGV_ACCERR): Likewise.
5011 (BUS_ADRALN): Likewise.
5012 (BUS_ADRERR): Likewise.
5013 (BUS_OBJERR): Likewise.
5014 (BUS_MCEERR_AR): Likewise.
5015 (BUS_MCEERR_AO): Likewise.
5016 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5017 (TRAP_TRACE): Likewise.
5018 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5019 __USE_XOPEN2K8].
5020 (CLD_KILLED): Likewise.
5021 (CLD_DUMPED): Likewise.
5022 (CLD_TRAPPED): Likewise.
5023 (CLD_STOPPED): Likewise.
5024 (CLD_CONTINUED): Likewise.
5025 (POLL_IN): Likewise.
5026 (POLL_OUT): Likewise.
5027 (POLL_MSG): Likewise.
5028 (POLL_ERR): Likewise.
5029 (POLL_PRI): Likewise.
5030 (POLL_HUP): Likewise.
5031 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5032 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5033
bc61d27c
JM
5034 [BZ #16670]
5035 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5036 before #include of <time.h>.
5037 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5038 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5039 (test-xfail-UNIX98/sched.h/conform): Likewise.
5040
302949e2
MS
50412014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5042
5043 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5044 error absence of trapping exception support.
5045 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5046
a00f522a
JM
50472014-03-07 Joseph Myers <joseph@codesourcery.com>
5048
6f99f280
JM
5049 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5050 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5051 * timezone/Makefile (testdata): Move definition above include of
5052 Rules.
5053 (test-zones): New variable.
5054 (tests-special): Add zone files.
5055 (build-testdata): Use $(evaluate-test).
5056
0b20a9e8
JM
5057 * elf/Makefile (tests-special): Rename tests to end with .out.
5058 ($(objpfx)noload-mem): Likewise.
5059 ($(objpfx)tst-leaks1-mem): Likewise.
5060 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5061 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5062 $(objpfx)test-iconvconfig.out.
5063 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5064 set -e inside subshell and redirect output to file.
5065 * iconvdata/Makefile (generated): Rename tests to end with .out.
5066 Correct type.
5067 (tests-special): Rename tests to end with .out.
5068 ($(objpfx)mtrace-tst-loading): Likewise.
5069 * intl/Makefile (generated): Likewise.
5070 (tests-special): Likewise.
5071 ($(objpfx)mtrace-tst-gettext): Likewise.
5072 * misc/Makefile (generated): Likewise.
5073 (tests-special): Likewise.
5074 ($(objpfx)tst-error1-mem): Likewise.
5075 * nptl/Makefile (tests-special): Likewise.
5076 ($(objpfx)tst-stack3-mem): Likewise.
5077 (generated): Likewise.
5078 * posix/Makefile (generated): Likewise.
5079 (tests-special): Likewise.
5080 (xtests-special): Likewise.
5081 ($(objpfx)tst-fnmatch-mem): Likewise.
5082 ($(objpfx)bug-regex2-mem): Likewise.
5083 ($(objpfx)bug-regex14-mem): Likewise.
5084 ($(objpfx)bug-regex21-mem): Likewise.
5085 ($(objpfx)bug-regex31-mem): Likewise.
5086 ($(objpfx)tst-vfork3-mem): Likewise.
5087 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5088 ($(objpfx)tst-pcre-mem): Likewise.
5089 ($(objpfx)tst-boost-mem): Likewise.
5090 ($(objpfx)bug-ga2-mem): Likewise.
5091 ($(objpfx)bug-glob2-mem): Likewise.
5092 * resolv/Makefile (generate): Likewise.
5093 (tests-special): Likewise.
5094 (xtests-special): Likewise.
5095 (generated): Likewise.
5096 ($(objpfx)mtrace-tst-leaks): Likewise.
5097 ($(objpfx)mtrace-tst-leaks2): Likewise.
5098
265d52ab
JM
5099 * scripts/merge-test-results.sh: New file.
5100 * Makefile (tests-special-notdir): New variable.
5101 (tests): Run merge-test-results.sh.
5102 (xtests): Likewise.
5103 * Rules (tests-special-notdir): New variable.
5104 (xtests-special-notdir): Likewise.
5105 (tests): Run merge-test-results.sh
5106 (xtests): Likewise.
5107
54ee292d
JM
5108 * Makeconfig (test-xfail-name): New variable.
5109 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5110 compute variable name for expected failures.
5111 * conform/Makefile (conformtest-headers-data): New variable.
5112 (conformtest-standards): Likewise.
5113 (conformtest-headers-ISO): Likewise.
5114 (conformtest-headers-ISO99): Likewise.
5115 (conformtest-headers-ISO11): Likewise.
5116 (conformtest-headers-POSIX): Likewise.
5117 (conformtest-headers-XPG3): Likewise.
5118 (conformtest-headers-XPG4): Likewise.
5119 (conformtest-headers-UNIX98): Likewise.
5120 (conformtest-headers-XOPEN2K): Likewise.
5121 (conformtest-headers-POSIX2008): Likewise.
5122 (conformtest-headers-XOPEN2K8): Likewise.
5123 (conformtest-header-list-base): Likewise.
5124 (conformtest-header-list-tests): Likewise.
5125 (conformtest-header-base): Likewise.
5126 (conformtest-header-tests): Likewise.
5127 (tests-special): Add $(conformtest-header-list-tests). If
5128 [$(fast-check) && !$(cross-compiling)], add
5129 $(conformtest-header-tests) instead of
5130 $(objpfx)run-conformtest.out.
5131 (generated): Add $(conformtest-header-list-base). If
5132 [$(fast-check) && !$(cross-compiling)], add
5133 $(conformtest-header-base). Remove previous setting.
5134 ($(conformtest-header-list-tests)): New target.
5135 (test-xfail-run-conformtest): Remove variable.
5136 ($(objpfx)run-conformtest.out): Remove target.
5137 (test-xfail-ISO11/complex.h/conform): New variable.
5138 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5139 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5140 (test-xfail-XPG3/varargs.h/conform): Likewise.
5141 (test-xfail-XPG4/varargs.h/conform): Likewise.
5142 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5143 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5144 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5145 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5146 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5147 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5148 (test-xfail-XPG3/ftw.h/conform): Likewise.
5149 (test-xfail-XPG3/grp.h/conform): Likewise.
5150 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5151 (test-xfail-XPG3/limits.h/conform): Likewise.
5152 (test-xfail-XPG3/pwd.h/conform): Likewise.
5153 (test-xfail-XPG3/search.h/conform): Likewise.
5154 (test-xfail-XPG3/signal.h/conform): Likewise.
5155 (test-xfail-XPG3/stdio.h/conform): Likewise.
5156 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5157 (test-xfail-XPG3/string.h/conform): Likewise.
5158 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5159 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5160 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5161 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5162 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5163 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5164 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5165 (test-xfail-XPG3/termios.h/conform): Likewise.
5166 (test-xfail-XPG3/time.h/conform): Likewise.
5167 (test-xfail-XPG3/unistd.h/conform): Likewise.
5168 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5169 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5170 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5171 (test-xfail-XPG4/netdb.h/conform): Likewise.
5172 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5173 (test-xfail-XPG4/signal.h/conform): Likewise.
5174 (test-xfail-XPG4/stdio.h/conform): Likewise.
5175 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5176 (test-xfail-XPG4/stropts.h/conform): Likewise.
5177 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5178 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5179 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5180 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5181 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5182 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5183 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5184 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5185 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5186 (test-xfail-XPG4/termios.h/conform): Likewise.
5187 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5188 (test-xfail-XPG4/unistd.h/conform): Likewise.
5189 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5190 (test-xfail-POSIX/sched.h/conform): Likewise.
5191 (test-xfail-POSIX/signal.h/conform): Likewise.
5192 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5193 (test-xfail-POSIX/tar.h/conform): Likewise.
5194 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5195 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5196 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5197 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5198 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5199 (test-xfail-UNIX98/sched.h/conform): Likewise.
5200 (test-xfail-UNIX98/signal.h/conform): Likewise.
5201 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5202 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5203 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5204 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5205 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5206 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5207 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5208 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5209 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5210 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5211 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5212 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5213 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5214 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5215 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5216 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5217 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5218 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5219 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5220 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5221 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5222 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5223 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5224 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5225 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5226 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5227 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5228 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5229 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5230 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5231 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5232 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5233 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5234 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5235 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5236 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5237 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5238 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5239 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5240 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5241 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5242 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5243 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5244 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5245 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5246 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5247 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5248 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5249 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5250 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5251 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5252 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5253 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5254 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5255 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5256 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5257 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5258 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5259 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5260 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5261 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5262 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5263 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5264 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5265 (conformtest-cc-flags): Likewise.
5266 ($(conformtest-header-tests): New target.
5267 * conform/check-header-lists.sh: New file.
5268 * conform/run-conformtest.sh: Remove.
5269
a00f522a
JM
5270 * conform/conformtest.pl: Allow ' and \ in values given for
5271 constants.
5272 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5273 inclusion.
5274 [POSIX] (sys/types.h): Likewise.
5275 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5276 inclusion.
5277 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5278 inclusion.
5279 * conform/data/signal.h-data (SIGIO): Remove expectation.
5280 [XPG3] (SIGBUS): Do not expect.
5281 [POSIX || XPG3] (SIGPOLL): Likewise.
5282 [POSIX || XPG3] (SIGPROF): Likewise.
5283 [POSIX || XPG3] (SIGSYS): Likewise.
5284 [XPG3] (SIGTRAP): Likewise.
5285 [POSIX || XPG3] (SIGURG): Likewise.
5286 [POSIX || XPG3] (SIGVTALRM): Likewise.
5287 [POSIX || XPG3] (SIGXCPU): Likewise.
5288 [POSIX || XPG3] (SIGXFSZ): Likewise.
5289 [POSIX] (SA_SIGINFO): Expect.
5290 [XPG3] (siginfo_t): Do not expect type or contents.
5291 [POSIX] (si_pid): Do not expect element.
5292 [POSIX] (si_uid): Likewise.
5293 [POSIX] (si_addr): Likewise.
5294 [POSIX] (si_status): Likewise.
5295 [POSIX] (si_band): Likewise.
5296 [XPG4] (si_value): Likewise.
5297 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5298 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5299 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5300 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5301 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5302 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5303 [POSIX || XPG3] (ILL_COPROC): Likewise.
5304 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5305 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5306 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5307 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5308 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5309 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5310 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5311 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5312 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5313 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5314 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5315 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5316 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5317 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5318 [POSIX || XPG3] (CLD_EXITED): Likewise.
5319 [POSIX || XPG3] (CLD_KILLED): Likewise.
5320 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5321 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5322 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5323 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5324 [POSIX || XPG3] (POLL_IN): Likewise.
5325 [POSIX || XPG3] (POLL_OUT): Likewise.
5326 [POSIX || XPG3] (POLL_MSG): Likewise.
5327 [POSIX || XPG3] (POLL_ERR): Likewise.
5328 [POSIX || XPG3] (POLL_PRI): Likewise.
5329 [POSIX || XPG3] (POLL_HUP): Likewise.
5330 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5331 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5332 (SIG*): Do not allow.
5333 [XPG3] (si_*): Likewise.
5334 [XPG3] (SI_*): Likewise.
5335 [XPG3 || XPG4] (sigev_*): Likewise.
5336 [XPG3 || XPG4] (SIGEV_*): Likewise.
5337 [XPG3 || XPG4] (sival_*): Likewise.
5338 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5339 [POSIX || XPG3] (BUS_*): Likewise.
5340 [POSIX || XPG3] (CLD_*): Likewise.
5341 [POSIX || XPG3] (FPE_*): Likewise.
5342 [POSIX || XPG3] (ILL_*): Likewise.
5343 [POSIX || XPG3] (POLL_*): Likewise.
5344 [POSIX || XPG3] (SEGV_*): Likewise.
5345 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5346 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5347 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5348 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5349 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5350 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5351 Specify type and value.
5352 (TVERSLEN): Likewise.
5353 (REGTYPE): Likewise.
5354 (AREGTYPE): Likewise.
5355 (LNKTYPE): Likewise.
5356 (SYMTYPE): Likewise.
5357 (CHRTYPE): Likewise.
5358 (BLKTYPE): Likewise.
5359 (DIRTYPE): Likewise.
5360 (FIFOTYPE): Likewise.
5361 (CONTTYPE): Likewise.
5362 (TSUID): Likewise.
5363 (TSGID): Likewise.
5364 (TSVTX): Likewise.
5365 (TUREAD): Likewise.
5366 (TUWRITE): Likewise.
5367 (TUEXEC): Likewise.
5368 (TGREAD): Likewise.
5369 (TGWRITE): Likewise.
5370 (TGEXEC): Likewise.
5371 (TOREAD): Likewise.
5372 (TOWRITE): Likewise.
5373 (TOEXEC): Likewise.
5374 [POSIX] (TSVTX): Expect constant.
5375
aa97dee1
JM
53762014-03-06 Joseph Myers <joseph@codesourcery.com>
5377
f214606a
JM
5378 * Makefile (tests): Change dependencies to ....
5379 (tests-special): ... additions to this variable.
5380 (tests): Depend on $(tests-special).
5381 * Makerules (check-abi-list): New variable.
5382 (check-abi): Depend on $(check-abi-list).
5383 [$(subdir) = elf] (tests-special): Add
5384 $(objpfx)check-abi-libc.out.
5385 [$(build-shared) = yes && subdir] (tests-special): Add
5386 $(check-abi-list).
5387 [$(build-shared) = yes && subdir] (tests): Do not depend on
5388 check-abi.
5389 * Rules (tests): Depend on $(tests-special).
5390 (xtests): Depend on $(xtests-special).
5391 * catgets/Makefile (tests): Change dependencies to ....
5392 (tests-special): ... additions to this variable.
5393 * conform/Makefile (tests): Change dependencies to ....
5394 (tests-special): ... additions to this variable.
5395 * elf/Makefile (tests): Change dependencies to ....
5396 (tests-special): ... additions to this variable.
5397 * grp/Makefile (tests): Change dependencies to ....
5398 (tests-special): ... additions to this variable.
5399 * iconv/Makefile (xtests): Change dependencies to ....
5400 (xtests-special): ... additions to this variable.
5401 * iconvdata/Makefile (tests): Change dependencies to ....
5402 (tests-special): ... additions to this variable.
5403 * intl/Makefile (tests): Change dependencies to ....
5404 (tests-special): ... additions to this variable. Also add
5405 $(objpfx)tst-gettext.out.
5406 * io/Makefile (tests): Change dependencies to ....
5407 (tests-special): ... additions to this variable.
5408 * libio/Makefile (tests): Change dependencies to ....
5409 (tests-special): ... additions to this variable.
5410 * malloc/Makefile (tests): Change dependencies to ....
5411 (tests-special): ... additions to this variable.
5412 * misc/Makefile (tests): Change dependencies to ....
5413 (tests-special): ... additions to this variable.
5414 * nptl/Makefile (tests): Change dependencies to ....
5415 (tests-special): ... additions to this variable.
5416 * nptl_db/Makefile (tests): Change dependencies to ....
5417 (tests-special): ... additions to this variable.
5418 * posix/Makefile (tests): Change dependencies to ....
5419 (tests-special): ... additions to this variable.
5420 (xtests): Change dependencies to ....
5421 (xtests-special): ... additions to this variable.
5422 * resolv/Makefile (tests): Change dependencies to ....
5423 (tests-special): ... additions to this variable.
5424 (xtests): Change dependencies to ....
5425 (xtests-special): ... additions to this variable.
5426 * stdio-common/Makefile (tests): Change dependencies to ....
5427 (tests-special): ... additions to this variable.
5428 (do-tst-unbputc): Remove target.
5429 (do-tst-printf): Likewise.
5430 * stdlib/Makefile (tests): Change dependencies to ....
5431 (tests-special): ... additions to this variable.
5432 * string/Makefile (tests): Change dependencies to ....
5433 (tests-special): ... additions to this variable.
5434 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5435 (tests-special): ... additions to this variable.
5436
81700b53
JM
5437 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5438 whole file.
5439 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5440 whole file.
5441 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5442 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5443
2ea18461
JM
5444 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5445 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5446 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5447 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5448 * conform/data/libgen.h-data [XPG3]: Likewise.
5449 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5450 * conform/data/ndbm.h-data [XPG3]: Likewise.
5451 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5452 * conform/data/netdb.h-data [XPG3]: Likewise.
5453 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5454 * conform/data/poll.h-data [XPG3]: Likewise.
5455 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5456 * conform/data/strings.h-data [XPG3]: Likewise.
5457 * conform/data/stropts.h-data [XPG3]: Likewise.
5458 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5459 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5460 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5461 Likewise.
5462 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5463 * conform/data/sys/time.h-data [XPG3]: Likewise.
5464 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5465 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5466 * conform/data/sys/un.h-data [XPG3]: Likewise.
5467 * conform/data/syslog.h-data [XPG3]: Likewise.
5468 * conform/data/ucontext.h-data [XPG3]: Likewise.
5469 * conform/data/utmpx.h-data [XPG3]: Likewise.
5470 * conform/data/varargs.h-data [UNIX98]: Enable file.
5471
355bc986
JM
5472 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5473
215db402
JM
5474 * math/libm-test.inc (struct test_f_f_data): Move expected results
5475 into structure for each rounding mode.
5476 (struct test_ff_f_data): Likewise.
5477 (struct test_ff_f_data_nexttoward): Likewise.
5478 (struct test_fi_f_data): Likewise.
5479 (struct test_fl_f_data): Likewise.
5480 (struct test_if_f_data): Likewise.
5481 (struct test_fff_f_data): Likewise.
5482 (struct test_c_f_data): Likewise.
5483 (struct test_f_f1_data): Likewise.
5484 (struct test_fF_f1_data): Likewise.
5485 (struct test_ffI_f1_data): Likewise.
5486 (struct test_c_c_data): Likewise.
5487 (struct test_cc_c_data): Likewise.
5488 (struct test_f_i_data): Likewise.
5489 (struct test_ff_i_data): Likewise.
5490 (struct test_f_l_data): Likewise.
5491 (struct test_f_L_data): Likewise.
5492 (struct test_fFF_11_data): Likewise.
5493 (RM_): New macro.
5494 (RM_FE_DOWNWARD): Likewise.
5495 (RM_FE_TONEAREST): Likewise.
5496 (RM_FE_TOWARDZERO): Likewise.
5497 (RM_FE_UPWARD): Likewise.
5498 (RUN_TEST_LOOP_f_f): Update references to expected results.
5499 (RUN_TEST_LOOP_2_f): Likewise.
5500 (RUN_TEST_LOOP_fff_f): Likewise.
5501 (RUN_TEST_LOOP_c_f): Likewise.
5502 (RUN_TEST_LOOP_f_f1): Likewise.
5503 (RUN_TEST_LOOP_fF_f1): Likewise.
5504 (RUN_TEST_LOOP_fI_f1): Likewise.
5505 (RUN_TEST_LOOP_ffI_f1): Likewise.
5506 (RUN_TEST_LOOP_c_c): Likewise.
5507 (RUN_TEST_LOOP_cc_c): Likewise.
5508 (RUN_TEST_LOOP_f_i): Likewise.
5509 (RUN_TEST_LOOP_f_i_tg): Likewise.
5510 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5511 (RUN_TEST_LOOP_f_b): Likewise.
5512 (RUN_TEST_LOOP_f_b_tg): Likewise.
5513 (RUN_TEST_LOOP_f_l): Likewise.
5514 (RUN_TEST_LOOP_f_L): Likewise.
5515 (RUN_TEST_LOOP_fFF_11): Likewise.
5516 * math/gen-libm-test.pl (parse_args): Output four copies of
5517 expected results for each test.
5518
67737b8f
JM
5519 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5520 (__ASSUME_UTIMES): Remove.
5521 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5522 (__ASSUME_UTIMES): Likewise.
5523
aa97dee1
JM
5524 * math/gen-auto-libm-tests.c: Update comment on output format.
5525 (output_for_one_input_case): Generate before-rounding and
5526 after-rounding information as conditions on output flags not
5527 floating-point format.
5528 * math/auto-libm-test-out: Regenerated.
5529 * math/gen-libm-test.pl (cond_value): New function.
5530 (or_cond_value): Use cond_value.
5531 (generate_testfile): Handle conditional exceptions.
5532
e6b6a857
JM
55332014-03-05 Joseph Myers <joseph@codesourcery.com>
5534
2f0a0f44
JM
5535 * math/libm-test.inc (max_valid_error): New variable.
5536 (init_max_error): Take new argument specifying whether function
5537 results are exactly determined. Set max_valid_error and bound
5538 other variables for errors based on this argument.
5539 (set_max_error): Do not record results above max_valid_error.
5540 (check_float_internal): Only accept errors of up to 0.5ulps if
5541 also at most max_valid_error.
5542 (START): Take new argument EXACT and pass it to init_max_error.
5543 (acos_test): Update call to START.
5544 (acos_test_tonearest): Likewise.
5545 (acos_test_towardzero): Likewise.
5546 (acos_test_downward): Likewise.
5547 (acos_test_upward): Likewise.
5548 (acosh_test): Likewise.
5549 (asin_test): Likewise.
5550 (asin_test_tonearest): Likewise.
5551 (asin_test_towardzero): Likewise.
5552 (asin_test_downward): Likewise.
5553 (asin_test_upward): Likewise.
5554 (asinh_test): Likewise.
5555 (atan_test): Likewise.
5556 (atanh_test): Likewise.
5557 (atan2_test): Likewise.
5558 (cabs_test): Likewise.
5559 (cacos_test): Likewise.
5560 (cacosh_test): Likewise.
5561 (carg_test): Likewise.
5562 (casin_test): Likewise.
5563 (casinh_test): Likewise.
5564 (catan_test): Likewise.
5565 (catanh_test): Likewise.
5566 (cbrt_test): Likewise.
5567 (ccos_test): Likewise.
5568 (ccosh_test): Likewise.
5569 (ceil_test): Likewise.
5570 (cexp_test): Likewise.
5571 (cimag_test): Likewise.
5572 (clog_test): Likewise.
5573 (clog10_test): Likewise.
5574 (conj_test): Likewise.
5575 (copysign_test): Likewise.
5576 (cos_test): Likewise.
5577 (cos_test_tonearest): Likewise.
5578 (cos_test_towardzero): Likewise.
5579 (cos_test_downward): Likewise.
5580 (cos_test_upward): Likewise.
5581 (cosh_test): Likewise.
5582 (cosh_test_tonearest): Likewise.
5583 (cosh_test_towardzero): Likewise.
5584 (cosh_test_downward): Likewise.
5585 (cosh_test_upward): Likewise.
5586 (cpow_test): Likewise.
5587 (cproj_test): Likewise.
5588 (creal_test): Likewise.
5589 (csin_test): Likewise.
5590 (csinh_test): Likewise.
5591 (csqrt_test): Likewise.
5592 (ctan_test): Likewise.
5593 (ctan_test_tonearest): Likewise.
5594 (ctan_test_towardzero): Likewise.
5595 (ctan_test_downward): Likewise.
5596 (ctan_test_upward): Likewise.
5597 (ctanh_test): Likewise.
5598 (ctanh_test_tonearest): Likewise.
5599 (ctanh_test_towardzero): Likewise.
5600 (ctanh_test_downward): Likewise.
5601 (ctanh_test_upward): Likewise.
5602 (erf_test): Likewise.
5603 (erfc_test): Likewise.
5604 (exp_test): Likewise.
5605 (exp_test_tonearest): Likewise.
5606 (exp_test_towardzero): Likewise.
5607 (exp_test_downward): Likewise.
5608 (exp_test_upward): Likewise.
5609 (exp10_test): Likewise.
5610 (exp10_test_tonearest): Likewise.
5611 (exp10_test_towardzero): Likewise.
5612 (exp10_test_downward): Likewise.
5613 (exp10_test_upward): Likewise.
5614 (pow10_test): Likewise.
5615 (exp2_test): Likewise.
5616 (expm1_test): Likewise.
5617 (expm1_test_tonearest): Likewise.
5618 (expm1_test_towardzero): Likewise.
5619 (expm1_test_downward): Likewise.
5620 (expm1_test_upward): Likewise.
5621 (fabs_test): Likewise.
5622 (fdim_test): Likewise.
5623 (floor_test): Likewise.
5624 (fma_test): Likewise.
5625 (fma_test_towardzero): Likewise.
5626 (fma_test_downward): Likewise.
5627 (fma_test_upward): Likewise.
5628 (fmax_test): Likewise.
5629 (fmin_test): Likewise.
5630 (fmod_test): Likewise.
5631 (fpclassify_test): Likewise.
5632 (frexp_test): Likewise.
5633 (hypot_test): Likewise.
5634 (ilogb_test): Likewise.
5635 (isfinite_test): Likewise.
5636 (finite_test): Likewise.
5637 (isgreater_test): Likewise.
5638 (isgreaterequal_test): Likewise.
5639 (isinf_test): Likewise.
5640 (isless_test): Likewise.
5641 (islessequal_test): Likewise.
5642 (islessgreater_test): Likewise.
5643 (isnan_test): Likewise.
5644 (isnormal_test): Likewise.
5645 (issignaling_test): Likewise.
5646 (isunordered_test): Likewise.
5647 (j0_test): Likewise.
5648 (j1_test): Likewise.
5649 (jn_test): Likewise.
5650 (ldexp_test): Likewise.
5651 (lgamma_test): Likewise.
5652 (gamma_test): Likewise.
5653 (lrint_test): Likewise.
5654 (lrint_test_tonearest): Likewise.
5655 (lrint_test_towardzero): Likewise.
5656 (lrint_test_downward): Likewise.
5657 (lrint_test_upward): Likewise.
5658 (llrint_test): Likewise.
5659 (llrint_test_tonearest): Likewise.
5660 (llrint_test_towardzero): Likewise.
5661 (llrint_test_downward): Likewise.
5662 (llrint_test_upward): Likewise.
5663 (log_test): Likewise.
5664 (log10_test): Likewise.
5665 (log1p_test): Likewise.
5666 (log2_test): Likewise.
5667 (logb_test): Likewise.
5668 (logb_test_downward): Likewise.
5669 (lround_test): Likewise.
5670 (llround_test): Likewise.
5671 (modf_test): Likewise.
5672 (nearbyint_test): Likewise.
5673 (nextafter_test): Likewise.
5674 (nexttoward_test): Likewise.
5675 (pow_test): Likewise.
5676 (pow_test_tonearest): Likewise.
5677 (pow_test_towardzero): Likewise.
5678 (pow_test_downward): Likewise.
5679 (pow_test_upward): Likewise.
5680 (remainder_test): Likewise.
5681 (drem_test): Likewise.
5682 (remainder_test_tonearest): Likewise.
5683 (drem_test_tonearest): Likewise.
5684 (remainder_test_towardzero): Likewise.
5685 (drem_test_towardzero): Likewise.
5686 (remainder_test_downward): Likewise.
5687 (drem_test_downward): Likewise.
5688 (remainder_test_upward): Likewise.
5689 (drem_test_upward): Likewise.
5690 (remquo_test): Likewise.
5691 (rint_test): Likewise.
5692 (rint_test_tonearest): Likewise.
5693 (rint_test_towardzero): Likewise.
5694 (rint_test_downward): Likewise.
5695 (rint_test_upward): Likewise.
5696 (round_test): Likewise.
5697 (scalb_test): Likewise.
5698 (scalbn_test): Likewise.
5699 (scalbln_test): Likewise.
5700 (signbit_test): Likewise.
5701 (sin_test): Likewise.
5702 (sin_test_tonearest): Likewise.
5703 (sin_test_towardzero): Likewise.
5704 (sin_test_downward): Likewise.
5705 (sin_test_upward): Likewise.
5706 (sincos_test): Likewise.
5707 (sinh_test): Likewise.
5708 (sinh_test_tonearest): Likewise.
5709 (sinh_test_towardzero): Likewise.
5710 (sinh_test_downward): Likewise.
5711 (sinh_test_upward): Likewise.
5712 (sqrt_test): Likewise.
5713 (sqrt_test_tonearest): Likewise.
5714 (sqrt_test_towardzero): Likewise.
5715 (sqrt_test_downward): Likewise.
5716 (sqrt_test_upward): Likewise.
5717 (tan_test): Likewise.
5718 (tan_test_tonearest): Likewise.
5719 (tan_test_towardzero): Likewise.
5720 (tan_test_downward): Likewise.
5721 (tan_test_upward): Likewise.
5722 (tanh_test): Likewise.
5723 (tgamma_test): Likewise.
5724 (trunc_test): Likewise.
5725 (y0_test): Likewise.
5726 (y1_test): Likewise.
5727 (yn_test): Likewise.
5728 (significand_test): Likewise.
5729
e6b6a857
JM
5730 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5731 individual tests in comment.
5732 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5733 (prev_max_error): New variable.
5734 (prev_real_max_error): Likewise.
5735 (prev_imag_max_error): Likewise.
5736 (compare_ulp_data): Don't refer to test names in comment.
5737 (find_test_ulps): Remove function.
5738 (find_function_ulps): Likewise.
5739 (find_complex_function_ulps): Likewise.
5740 (init_max_error): Take function name as argument. Look up ulps
5741 for that function.
5742 (print_ulps): Remove function.
5743 (print_max_error): Use prev_max_error instead of calling
5744 find_function_ulps.
5745 (print_complex_max_error): Use prev_real_max_error and
5746 prev_imag_max_error instead of calling find_complex_function_ulps.
5747 (check_float_internal): Take max_ulp parameter instead of calling
5748 find_test_ulps. Don't call print_ulps.
5749 (check_float): Update call to check_float_internal.
5750 (check_complex): Update calls to check_float_internal.
5751 (START): Pass argument to init_max_error.
5752 * math/gen-libm-test.pl (%results): Don't include "kind"
5753 information.
5754 (parse_ulps): Don't handle ulps of individual tests.
5755 (print_ulps_file): Likewise.
5756 (output_ulps): Likewise.
5757 * math/README.libm-test: Update.
5758 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5759 individual tests.
5760 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5761 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5762 * sysdeps/arm/libm-test-ulps: Likewise.
5763 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5764 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5765 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5766 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5767 * sysdeps/microblaze/libm-test-ulps: Likewise.
5768 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5769 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5770 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5771 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5772 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5773 * sysdeps/sh/libm-test-ulps: Likewise.
5774 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5775 * sysdeps/tile/libm-test-ulps: Likewise.
5776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5777
45adef3c
JM
57782014-03-04 Joseph Myers <joseph@codesourcery.com>
5779
5780 * math/libm-test.inc (print_complex_max_error): Check separately
5781 whether real and imaginary errors are within allowed range and
5782 pass 0 to print_complex_function_ulps instead of value within
5783 allowed range.
5784
000232b9
SP
57852014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5786
d4b17258
SP
5787 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5788 formatting.
5789 (get_handles_fopen): Likewise.
5790 (do_write_test): Likewise.
5791
091eff71
SP
5792 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5793
fa3cd248
SP
5794 * libio/fileops.c (do_ftell): Use cached offset when
5795 available.
5796 * libio/iofwide.c (do_ftell_wide): Likewise.
5797 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5798 _IO_file_attach.
5799 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5800
000232b9
SP
5801 [BZ #16532]
5802 * libio/libioP.h (get_file_offset): New function.
5803 * libio/fileops.c (get_file_offset): Likewise.
5804 (do_ftell): Likewise.
5805 (_IO_new_file_seekoff): Split out ftell logic.
5806 * libio/wfileops.c (do_ftell_wide): Likewise.
5807 (_IO_wfile_seekoff): Split out ftell logic.
5808 * libio/tst-ftell-active-handler.c: New test case.
5809 * libio/Makefile (tests): Add it.
5810
116f4d1a
RM
58112014-03-03 Roland McGrath <roland@hack.frob.com>
5812
5813 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5814 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5815
532a6035
SP
58162014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5817
5818 [BZ #16639]
5819 * nscd/connections.c (nscd_init): Call do_exit.
5820 (start_threads): Call do_exit and notify_parent.
5821 (begin_drop_privileges): Call do_exit.
5822 (finish_drop_privileges): Likewise.
5823 * nscd/selinux.c (preserve_capabilities): Likewise.
5824 (install_real_capabilities): Likewise.
5825 (nscd_selinux_enabled): Likewise.
5826 (avc_create_thread): Likewise.
5827 (avc_alloc_lock): Likewise.
5828 (nscd_avc_init): Likewise.
5829 * nscd/nscd.c (parent_fd): New static variable.
5830 (main): Create a pipe between parent and child processes.
5831 Skip closing parent_fd.
5832 (monitor_child): New function.
5833 (do_exit): Likewise.
5834 (notify_parent): Likewise.
5835 * nscd/nscd.h (notify_parent): Likewise.
5836 (do_exit): Likewise.
5837
d6285c9f
CD
58382014-03-03 Carlos O'Donell <carlos@redhat.com>
5839
5840 * malloc/malloc.c (__libc_calloc): Revert last change.
5841
2b85d2a0
AZ
58422014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5843
5844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5845
c7debbdf
RS
58462014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5847
5848 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5850 implementation.
5851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5852 (__libc_ifunc_impl_list): Likewise.
5853 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5854 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5855 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5856 * string/strrchr.c: Define STRRCHR.
5857
235eed86
OB
58582014-02-28 Ondřej Bílka <neleai@seznam.cz>
5859
5860 * benchtest/bench-strtok.c (simple_strtok): Delete.
5861 (strtok_string): Use as benchmark.
5862 * string/strtok (STRTOK): New macro.
5863
8e25d1e7
CD
58642014-02-28 Carlos O'Donell <carlos@redhat.com>
5865
ef563f92
CD
5866 * manual/threads.texi: Add header and standard comments to all
5867 functions.
5868
8e25d1e7
CD
5869 * elf/dl-lookup.c (check_match): New function.
5870 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5871 (do_lookup_x): Remove nested function check_match. Use non-nested
5872 function check_match.
5873
ff71cc37
RM
58742014-02-28 Roland McGrath <roland@hack.frob.com>
5875
f08e9a26
RM
5876 * csu/Makefile (generated, before-compile): Use += rather than =.
5877 * catgets/Makefile (generated, generated-dirs): Likewise.
5878 * debug/Makefile (generated): Likewise.
5879 * dlfcn/Makefile (generated): Likewise.
5880 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5881 * iconvdata/Makefile (before-compile, generated): Likewise.
5882 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5883 * libio/Makefile (generated): Likewise.
5884 * malloc/Makefile (generated): Likewise.
5885 * manual/Makefile (generated, generated-dirs): Likewise.
5886 * misc/Makefile (generated): Likewise.
5887 * posix/Makefile (generated): Likewise.
5888 * resolv/Makefile (generated): Likewise.
5889 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5890 * timezone/Makefile (generated, generated-dirs): Likewise.
5891
ff71cc37
RM
5892 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5893
fe13a20c
AZ
58942014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5895
57f41c40
AS
5896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5897 power8 implementation.
5898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5899 file: POWER8 llround ifunc implementation.
5900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5901 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5902 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5903 POWER8 llround implementation.
5904
57f41c40
AS
5905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5906 power8 implementation.
5907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5908 file: POWER8 llrint ifunc implementation.
5909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5910 Add POWER8 implementation.
1ad8950a
AZ
5911 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5912 POWER8 llrint implementation.
5913
57f41c40
AS
5914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5915 power8 implementation.
5916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5917 file: POWER8 finite ifunc implementation.
5918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5919 Add POWER8 implementation.
cac626d6
AZ
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5921 Likewise.
5922 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5923 POWER8 finite implementation.
5924 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5925
57f41c40
AS
5926 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5927 power8 implementation.
5928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5929 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5931 POWER8 implementation.
5932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5933 Likewise.
57f41c40
AS
5934 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5935 isinf implementation.
4393fc11
AZ
5936 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5937
57f41c40
AS
5938 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5939 (INIT_ARCH): Add hwcap2 initialization.
5940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5941 power8 implementation.
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5943 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5945 POWER8 implementation.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5947 Likewise.
57f41c40
AS
5948 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5949 isnan implementation.
487972ae
AZ
5950 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5951
7d92b787
JY
59522014-02-27 Joey Ye <joey.ye@arm.com>
5953
5954 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5955 (_FP_NANFRAC_Q): Set to zero.
5956
1cadc858
SP
59572014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5958
5959 [BZ #16623]
5960 * math/auto-libm-test-in: New test inputs.
5961 * math/auto-libm-test-out: Regenerate.
5962 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5963 and DA.
5964 (__cos): Likewise.
5965 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5966
f8c17e79
JM
59672014-02-27 Joseph Myers <joseph@codesourcery.com>
5968
5969 * scripts/evaluate-test.sh: Take new argument indicating whether
5970 failure is expected.
5971 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5972 indicating whether failure is expected.
5973 * conform/Makefile (test-xfail-run-conformtest): New variable.
5974 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5975 level.
5976 * posix/Makefile (test-xfail-annexc): New variable.
5977 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5978
a5f891ac
JM
59792014-02-26 Joseph Myers <joseph@codesourcery.com>
5980
5981 * argp/Makefile: Include Makeconfig immediately after defining
5982 subdir.
5983 * assert/Makefile: Likewise.
5984 * benchtests/Makefile: Likewise.
5985 * catgets/Makefile: Likewise.
5986 * conform/Makefile: Likewise.
5987 * crypt/Makefile: Likewise.
5988 * csu/Makefile: Likewise.
5989 (all): Remove target.
5990 * ctype/Makefile: Include Makeconfig immediately after defining
5991 subdir.
5992 * debug/Makefile: Likewise.
5993 * dirent/Makefile: Likewise.
5994 * dlfcn/Makefile: Likewise.
5995 * gmon/Makefile: Likewise.
5996 * gnulib/Makefile: Likewise.
5997 * grp/Makefile: Likewise.
5998 * gshadow/Makefile: Likewise.
5999 * hesiod/Makefile: Likewise.
6000 * hurd/Makefile: Likewise.
6001 (all): Remove target.
6002 * iconvdata/Makefile: Include Makeconfig immediately after
6003 defining subdir.
6004 * inet/Makefile: Likewise.
6005 * intl/Makefile: Likewise.
6006 * io/Makefile: Likewise.
6007 * libio/Makefile: Likewise.
6008 (all): Remove target.
6009 * locale/Makefile: Include Makeconfig immediately after defining
6010 subdir.
6011 * login/Makefile: Likewise.
6012 * mach/Makefile: Likewise.
6013 (all): Remove target.
6014 * malloc/Makefile: Include Makeconfig immediately after defining
6015 subdir.
6016 (all): Remove target.
6017 * manual/Makefile: Include Makeconfig immediately after defining
6018 subdir.
6019 * math/Makefile: Likewise.
6020 * misc/Makefile: Likewise.
6021 * nis/Makefile: Likewise.
6022 * nss/Makefile: Likewise.
6023 * po/Makefile: Likewise.
6024 (all): Remove target.
6025 * posix/Makefile: Include Makeconfig immediately after defining
6026 subdir.
6027 * pwd/Makefile: Likewise.
6028 * resolv/Makefile: Likewise.
6029 * resource/Makefile: Likewise.
6030 * rt/Makefile: Likewise.
6031 * setjmp/Makefile: Likewise.
6032 * shadow/Makefile: Likewise.
6033 * signal/Makefile: Likewise.
6034 * socket/Makefile: Likewise.
6035 * soft-fp/Makefile: Likewise.
6036 * stdio-common/Makefile: Likewise.
6037 * stdlib/Makefile: Likewise.
6038 * streams/Makefile: Likewise.
6039 * string/Makefile: Likewise.
6040 * sunrpc/Makefile: Likewise.
6041 (all): Remove target.
6042 * sysvipc/Makefile: Include Makeconfig immediately after defining
6043 subdir.
6044 * termios/Makefile: Likewise.
6045 * time/Makefile: Likewise.
6046 * timezone/Makefile: Likewise.
6047 (all): Remove target.
6048 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6049 subdir.
6050 * wctype/Makefile: Likewise.
6051
5b456e9d
SE
60522014-02-26 Steve Ellcey <sellcey@mips.com>
6053
6054 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6055 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6056 (libc_feholdexcept_setround_mips): Ditto.
6057 (libc_feholdsetround): New.
6058 (libc_feholdsetroundf): New.
6059 (libc_feholdsetroundl): New.
6060 (libc_feupdateenv_test_mips): New.
6061 (libc_feupdateenv_test): New.
6062 (libc_feupdateenv_testf): New.
6063 (libc_feupdateenv_testl): New.
6064 (libc_feresetround): New.
6065 (libc_feresetroundf): New.
6066 (libc_feresetroundl): New.
6067 (libc_fetestexcept_mips): New.
6068 (libc_fetestexcept): New.
6069 (libc_fetestexceptf): New.
6070 (libc_fetestexceptl): New.
6071 (HAVE_RM_CTX): New.
6072 (libc_feholdexcept_setround_mips_ctx): New.
6073 (libc_feholdexcept_setround_ctx): New.
6074 (libc_feholdexcept_setroundf_ctx): New.
6075 (libc_feholdexcept_setroundl_ctx): New.
6076 (libc_fesetenv_mips_ctx): New.
6077 (libc_fesetenv_ctx): New.
6078 (libc_fesetenv_ctxf): New.
6079 (libc_fesetenv_ctxl): New.
6080 (libc_feupdateenv_mips_ctx): New.
6081 (libc_feupdateenv_ctx): New.
6082 (libc_feupdateenvf_ctx): New.
6083 (libc_feupdateenvl_ctx): New.
6084 (libc_feholdsetround_mips_ctx): New.
6085 (libc_feholdsetround_ctx): New.
6086 (libc_feholdsetroundf_ctx): New.
6087 (libc_feholdsetroundl_ctx): New.
6088 (libc_feresetround_mips_ctx): New.
6089 (libc_feresetround_ctx): New.
6090 (libc_feresetroundf_ctx): New.
6091 (libc_feresetroundl_ctx): New.
6092
085d0e35
CD
60932014-02-26 Carlos O'Donell <carlos@redhat.com>
6094
f067bf1f
CD
6095 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6096
085d0e35
CD
6097 * manual/ipc.texi: New file.
6098 * manual/Makefile (chapters): Add ipc.
6099 * manual/job.texi: Add "Inter-Process Communication" to next.
6100 * manual/process.texi: Add "Inter-Process Communication" to prev.
6101
86e58c08
AZ
61022014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6103
6104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6105
4248f0da
OB
61062014-02-26 Ondřej Bílka <neleai@seznam.cz>
6107
6108 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6109
cf822e3c
OB
6110 * manual/arith.texi: Fix spaces after sentences.
6111 * manual/charset.texi: Likewise.
6112 * manual/errno.texi: Likewise.
6113 * manual/install.texi: Likewise.
6114 * manual/llio.texi: Likewise.
6115 * manual/locale.texi: Likewise.
6116 * manual/maint.texi: Likewise.
6117 * manual/math.texi: Likewise.
6118 * manual/memory.texi: Likewise.
6119 * manual/message.texi: Likewise.
6120 * manual/probes.texi: Likewise.
6121 * manual/resource.texi: Likewise.
6122 * manual/signal.texi: Likewise.
6123 * manual/socket.texi: Likewise.
6124 * manual/stdio.texi: Likewise.
6125 * manual/string.texi: Likewise.
6126 * manual/time.texi: Likewise.
6127 * manual/users.texi: Likewise.
6128
ade40b10
CD
61292014-02-25 Carlos O'Donell <carlos@redhat.com>
6130
6131 [BZ #16632]
6132 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6133 _DEFAULT_SOURCE is defined.
6134
d0503676
CD
61352014-02-25 Ulrich Drepper <drepper@gmail.com>
6136 Carlos O'Donell <carlos@redhat.com>
6137
6138 [BZ #16613]
6139 * elf/dl-tls.c (_dl_count_modids): New function.
6140 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6141 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6142 audit library and increment generation counter.
6143 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6144 * elf/tst-audit9.c: New file.
6145 * elf/tst-auditmod9a.c: New file.
6146 * elf/tst-auditmod9b.c: New file.
6147 * elf/Makefile: Add rules to build and run tst-audit9.
6148
4cbf380c
FW
61492014-02-25 Florian Weimer <fweimer@redhat.com>
6150
6151 [BZ #15347]
6152 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6153
80a56cc3
WN
61542014-02-25 Will Newton <will.newton@linaro.org>
6155
6156 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6157 (__longjmp): Restore sp and lr before restoring callee
6158 saved registers. Add longjmp and longjmp_target
6159 SystemTap probe point.
6160 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6161 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6162 Define to zero to match jmpbuf layout.
6163 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6164 (__sigsetjmp): Save sp and lr before saving callee
6165 saved registers. Add setjmp SystemTap probe point.
6166
3ea0f74e
SL
61672014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6168
6169 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6170
b04acb26
AS
61712014-02-24 Andreas Schwab <schwab@suse.de>
6172
6173 [BZ #15804]
6174 * elf/pldd.c (wait_for_ptrace_stop): New function.
6175 (main): Call it after attaching.
6176
098ad55c
RM
61772014-02-22 Roland McGrath <roland@hack.frob.com>
6178
d4ec6ae1
RM
6179 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6180 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6181 Versions files is now verboten.
6182 * hurd/Versions (libc: GLIBC_2.0):
6183 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6184 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6185 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6186 * mach/Versions: Likewise.
6187
098ad55c
RM
6188 * csu/Versions: Remove unused %include.
6189 * resolv/Versions: Likewise.
6190
acd7f096
JM
61912014-02-21 Joseph Myers <joseph@codesourcery.com>
6192
f0881698
JM
6193 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6194 ($(objpfx)check-local-headers.out): Likewise.
6195 ($(objpfx)begin-end-check.out): Likewise.
6196 * Makerules (check-abi-%.out): Likewise.
6197 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6198 ($(objpfx)test2.cat): Likewise.
6199 ($(objpfx)de/libc.cat): Likewise.
6200 ($(objpfx)test-gencat.out): Likewise.
6201 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6202 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6203 ($(objpfx)noload-mem): Likewise.
6204 ($(objpfx)tst-pathopt.out): Likewise.
6205 ($(objpfx)tst-rtld-load-self.out): Likewise.
6206 ($(objpfx)tst-array1-cmp.out): Likewise.
6207 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6208 ($(objpfx)tst-array2-cmp.out): Likewise.
6209 ($(objpfx)tst-array3-cmp.out): Likewise.
6210 ($(objpfx)tst-array4-cmp.out): Likewise.
6211 ($(objpfx)tst-array5-cmp.out): Likewise.
6212 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6213 ($(objpfx)check-textrel.out): Likewise.
6214 ($(objpfx)check-execstack.out): Likewise.
6215 ($(objpfx)check-localplt.out): Likewise.
6216 ($(objpfx)order2-cmp.out): Likewise.
6217 ($(objpfx)tst-leaks1-mem): Likewise.
6218 ($(objpfx)tst-leaks1-static-mem): Likewise.
6219 ($(objpfx)tst-initorder-cmp.out): Likewise.
6220 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6221 ($(objpfx)tst-unused-dep.out): Likewise.
6222 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6223 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6224 * iconv/Makefile (test-iconvconfig): Likewise.
6225 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6226 ($(objpfx)iconv-test.out): Likewise.
6227 ($(objpfx)tst-tables.out): Likewise.
6228 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6229 ($(objpfx)tst-gettext.out): Likewise.
6230 ($(objpfx)tst-translit.out): Likewise.
6231 ($(objpfx)tst-gettext2.out): Likewise.
6232 ($(objpfx)tst-gettext4.out): Likewise.
6233 ($(objpfx)tst-gettext6.out): Likewise.
6234 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6235 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6236 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6237 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6238 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6239 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6240 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6241 ($(objpfx)wordexp-tst.out): Likewise.
6242 ($(objpfx)annexc.out): Likewise.
6243 ($(objpfx)tst-fnmatch-mem): Likewise.
6244 ($(objpfx)bug-regex2-mem): Likewise.
6245 ($(objpfx)bug-regex14-mem): Likewise.
6246 ($(objpfx)bug-regex21-mem): Likewise.
6247 ($(objpfx)bug-regex31-mem): Likewise.
6248 ($(objpfx)tst-vfork3-mem): Likewise.
6249 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6250 ($(objpfx)tst-pcre-mem): Likewise.
6251 ($(objpfx)tst-boost-mem): Likewise.
6252 ($(objpfx)tst-getconf.out): Likewise.
6253 ($(objpfx)bug-ga2-mem): Likewise.
6254 ($(objpfx)bug-glob2-mem): Likewise.
6255 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6256 ($(objpfx)mtrace-tst-leaks2): Likewise.
6257 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6258 ($(objpfx)tst-printf.out): Likewise.
6259 ($(objpfx)tst-setvbuf1.out): Likewise.
6260 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6261 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6262 ($(objpfx)tst-fmtmsg.out): Likewise.
6263 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6264 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6265
acd7f096
JM
6266 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6267 * bits/sigaction.h [__USE_MISC]: Likewise.
6268 * bits/waitstatus.h: Update #endif comments.
6269 * ctype/ctype.h: Likewise.
6270 * dirent/dirent.h: Likewise.
6271 [__USE_MISC]: Remove redundant conditionals.
6272 * grp/grp.h: Update #endif comments.
6273 [__USE_GNU]: Remove redundant conditionals.
6274 [__USE_MISC]: Likewise.
6275 * inet/netinet/in.h [__USE_GNU]: Likewise.
6276 * io/sys/stat.h [__USE_MISC]: Likewise.
6277 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6278 * libio/bits/stdio.h: Update #endif comments.
6279 [__USE_MISC]: Remove redundant conditionals.
6280 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6281 * libio/stdio.h: Update #endif comments.
6282 [__USE_MISC]: Remove redundant conditionals.
6283 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6284 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6285 * math/math.h: Update #else and #endif comments.
6286 [__USE_MISC]: Remove redundant conditionals.
6287 * misc/sys/uio.h: Update #endif comments.
6288 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6289 * posix/glob.h [__USE_MISC]: Likewise.
6290 * posix/sys/types.h: Update #endif comments.
6291 [__USE_MISC]: Remove redundant conditionals.
6292 * posix/sys/wait.h: Update #endif comments.
6293 [__USE_MISC]: Remove redundant conditionals.
6294 * posix/unistd.h: Update #endif comments.
6295 [__USE_MISC]: Remove redundant conditionals.
6296 * pwd/pwd.h [__USE_GNU]: Likewise.
6297 [__USE_MISC]: Likewise.
6298 * resolv/netdb.h [__USE_GNU]: Likewise.
6299 * signal/signal.h: Update #endif comments.
6300 [__USE_MISC]: Remove redundant conditionals.
6301 * stdlib/stdlib.h: Update #else and #endif comments.
6302 [__USE_MISC]: Remove redundant conditionals.
6303 [__USE_GNU]: Likewise.
6304 * string/bits/string2.h [__USE_MISC]: Likewise.
6305 * string/string.h: Update #endif comments.
6306 [__USE_MISC]: Remove redundant conditionals.
6307 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6308 Likewise.
6309 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6310 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6311 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6312 Likewise.
6313 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6314 Likewise.
6315 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6316 comments.
6317 [__USE_MISC]: Remove redundant conditionals.
6318 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6319 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6320 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6321 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6322 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6323 Likewise.
6324 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6325 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6326 Likewise.
6327 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6328 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6329 Likewise.
6330 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6331 Likewise.
6332 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6333 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6334 Likewise.
6335 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6336 Likewise.
6337 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6338 * sysdeps/x86/bits/string.h: Update #endif comments.
6339 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6340 conditionals.
6341 * time/sys/time.h: Update #endif comments.
6342 * time/time.h: Likewise.
6343 [__USE_MISC]: Remove redundant conditionals.
6344
a5d82e4e
YG
63452014-02-21 Yury Gribov <y.gribov@samsung.com>
6346
6347 [BZ #16600]
6348 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6349
9a80491d
AS
63502014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6351
6352 * Versions.def (librt): Add GLIBC_2.17.
6353
105fa381
AC
63542014-02-21 Adam Conrad <adconrad@0c3.net>
6355
6356 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6357 synonym for _SYS_AUXV_H to allow direct inclusion.
6358 * sysdeps/sparc/bits/hwcap.h: Likewise.
6359 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6360 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6361 * sysdeps/sparc/sysdep.h: Likewise.
6362
b8cd1c4e
SP
63632014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6364
6365 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6366
bd939d23
RS
63672014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6368
6369 * benchtests/bench-strrchr.c: Print length instead of position.
6370
5d7b57ca
JM
63712014-02-20 Joseph Myers <joseph@codesourcery.com>
6372
bc688c10
JM
6373 [BZ #16611]
6374 * sysdeps/unix/sysv/linux/kernel-features.h
6375 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6376 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6377 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6378 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6379 Likewise.
6380 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6381 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6382 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6383 (__ASSUME_SENDMMSG): Define instead of using previous
6384 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6385 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6386 (__ASSUME_SENDMMSG_SYSCALL): Define.
6387 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6388 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6389 Likewise.
6390 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6391 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6392 Likewise.
6393 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6394 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6395 Likewise.
6396 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6397 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6398 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6399 [__ASSUME_SENDMMSG]: Change conditionals to
6400 [__ASSUME_SENDMMSG_SOCKETCALL].
6401 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6402 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6403 Define.
6404 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6405 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6406 Likewise.
6407 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6408 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6409 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6410 [!__ASSUME_SENDMMSG]: Change conditional to
6411 [!__ASSUME_SENDMMSG_SOCKETCALL].
6412 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6413 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6414 Define.
6415
0e31b18c
JM
6416 [BZ #16610]
6417 * sysdeps/unix/sysv/linux/kernel-features.h
6418 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6419 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6420 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6421 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6422 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6423 [__i386__ || __sparc__]
6424 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6425 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6426 (__ASSUME_RECVMMSG): Define instead of using previous
6427 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6428 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6429 (__ASSUME_RECVMMSG_SYSCALL): Define.
6430 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6431 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6432 Likewise.
6433 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6434 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6435 Likewise.
6436 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6437 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6438 Likewise.
6439 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6440 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6441 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6442 [__ASSUME_RECVMMSG]: Change condition to
6443 [__ASSUME_RECVMMSG_SOCKETCALL].
6444 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6445 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6446 Define.
6447 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6448 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6449 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6450 Likewise.
6451 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6452 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6453 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6454 [!__ASSUME_RECVMMSG]: Change condition to
6455 [!__ASSUME_RECVMMSG_SOCKETCALL].
6456 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6457 (__ASSUME_RECVMMSG_SYSCALL): Define.
6458
dd481ccf
JM
6459 [BZ #16609]
6460 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6461 __powerpc__ || __s390__ || __sh__ || __sparc__]
6462 (__ASSUME_SOCKETCALL): Define.
6463 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6464 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6465 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6466 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6467 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6468 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6469 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6470 (__ASSUME_ACCEPT4): Define instead of using previous
6471 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6472 __powerpc__ || __sparc__ || __s390__)] condition.
6473 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6474 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6475 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6476 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6477 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6478 [!__ASSUME_ACCEPT4]: Change condition to
6479 [!__ASSUME_ACCEPT4_SOCKETCALL].
6480 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6481 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6482 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6483 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6484 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6485 __ASSUME_ACCEPT4_SYSCALL.
6486 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6487 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6488 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6489 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6490 __ASSUME_ACCEPT4_SYSCALL.
6491 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6492 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6493 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6494 [__ASSUME_ACCEPT4]: Change condition to
6495 [__ASSUME_ACCEPT4_SOCKETCALL].
6496 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6497 (__ASSUME_SOCKETCALL): Define.
6498 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6499 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6500 (__ASSUME_SOCKETCALL): Define.
6501 (__ASSUME_ACCEPT4): Remove.
6502 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6503 Define.
6504 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6505 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6506 Likewise.
6507 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6508 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6509
5d7b57ca
JM
6510 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6511 macro.
6512 (HWCAP_ARM_LPAE): Likewise.
6513 (HWCAP_ARM_EVTSTRM): Likewise.
6514 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6515 Add vpfd32, lpae and evtstrm.
6516 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6517 Increase to 22.
6518
63689d61
JM
65192014-02-19 Joseph Myers <joseph@codesourcery.com>
6520
6521 * math/auto-libm-test-in: Add tests of clog10.
6522 * math/auto-libm-test-out: Regenerated.
6523 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6524 * sysdeps/i386/fpu/libm-test-ulps: Update.
6525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6526
ab09bf61
AS
65272014-02-18 Andreas Schwab <schwab@suse.de>
6528
6529 [BZ #16574]
6530 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6531 Store non-zero if the second buffer was newly allocated.
6532 (send_dg): Likewise.
6533 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6534 to send_vc and send_dg.
6535 (res_nsend): Pass NULL for ansp2_malloced.
6536 * resolv/res_query.c (__libc_res_nquery): Add parameter
6537 answerp2_malloced and pass it down to __libc_res_nsend.
6538 (res_nquery): Pass additional NULL to __libc_res_nquery.
6539 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6540 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6541 second answer buffer if answerp2_malloced was set.
6542 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6543 (__libc_res_nquerydomain): Add parameter
6544 answerp2_malloced and pass it down to __libc_res_nquery.
6545 (res_nquerydomain): Pass additional NULL to
6546 __libc_res_nquerydomain.
6547 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6548 additional NULL to __libc_res_nsend and __libc_res_nquery.
6549 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6550 additional NULL to __libc_res_nsearch.
6551 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6552 parameter of __libc_res_nsearch to check for separately allocated
6553 second buffer.
6554 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6555 __libc_res_nquery.
6556 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6557 additional NULL to __libc_res_nquery.
6558 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6559 __libc_res_nsearch.
6560 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6561 * include/resolv.h: Update prototypes of __libc_res_nquery,
6562 __libc_res_nsearch, __libc_res_nsend.
6563
a4fb7861
JM
65642014-02-18 Joseph Myers <joseph@codesourcery.com>
6565
c6af2d89
JM
6566 * math/auto-libm-test-in: Add tests of fma.
6567 * math/auto-libm-test-out: Regenerated.
6568 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6569 (fma_towardzero_test_data): Likewise.
6570 (fma_downward_test_data): Likewise.
6571 (fma_upward_test_data): Likewise.
6572 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6573 mpc_mode.
6574 (rounding_modes): Add values for new field.
6575 (func_calc_method): Add value mpfr_fff_f.
6576 (func_calc_desc): Add mpfr_fff_f union field.
6577 (test_function): Add field exact_args.
6578 (FUNC): Add macro argument EXACT_ARGS.
6579 (FUNC_mpfr_f_f): Update call to FUNC.
6580 (FUNC_mpfr_f_f): Likewise.
6581 (FUNC_mpfr_ff_f): Likewise.
6582 (FUNC_mpfr_if_f): Likewise.
6583 (FUNC_mpc_c_f): Likewise.
6584 (FUNC_mpc_c_c): Likewise.
6585 (test_functions): Add fma. Update calls to FUNC.
6586 (handle_input_arg): Add argument exact_args.
6587 (add_test): Update call to handle_input_arg.
6588 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6589 (output_for_one_input_case): Update call to calc_generic_results.
6590 Recalculate exact zero results in each rounding mode.
6591
a4fb7861
JM
6592 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6593 non-negative before setting low bit.
6594 * math/auto-libm-test-in: Mark one asin test possibly having
6595 spurious underflow.
6596 * math/auto-libm-test-out: Regenerated.
6597 * sysdeps/i386/fpu/libm-test-ulps: Update.
6598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6599
ef114eaf
DH
66002014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6601
2b7f4f2c
SP
6602 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6603 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6604 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
6605 * README: Add missing listing for microblaze*-*-linux-gnu.
6606
c70a4b1d
MF
66072014-02-16 Mike Frysinger <vapier@gentoo.org>
6608
6609 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6610 * sysdeps/unix/sysv/linux/ia64: Move directory from
6611 ports/sysdeps/unix/sysv/linux/ia64.
6612 * README: Update listing for ia64-*-linux-gnu.
6613
591aeaf7
TD
66142014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6615 Joseph Myers <joseph@codesourcery.com>
6616
6617 * Makeconfig (test-name): New variable.
6618 (evaluate-test): Likewise.
6619 * Makerules (do-test-clean): Remove .test-result files.
6620 (common-mostlyclean): Likewise.
6621 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6622 * scripts/evaluate-test.sh: New file.
6623
6e89caf1
JM
66242014-02-14 Joseph Myers <joseph@codesourcery.com>
6625
7f98f180
JM
6626 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6627 separate $(objpfx)tst-fopenloc-cmp.out and
6628 $(objpfx)tst-fopenloc-mem.out targets.
6629 (tests): Update dependencies.
6630 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6631 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6632 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6633 (tst-rxspencer-no-utf8-ARGS): New variable.
6634 (tst-rxspencer-no-utf8-ENV): Likewise.
6635 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6636 instead of $(objpfx)tst-rxspencer-mem.
6637 ($(objpfx)tst-rxspencer-mem): Change target to
6638 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6639 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6640 * posix/tst-rxspencer-no-utf8.c: New file.
6641
6e89caf1
JM
6642 * elf/Makefile ($(objpfx)order.out): Remove rule.
6643 [$(run-built-tests) = yes] (tests): Depend on
6644 $(objpfx)order-cmp.out.
6645 ($(objpfx)order-cmp.out): New rule.
6646 [$(run-built-tests) = yes] (tests): Depend on
6647 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6648 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6649 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6650 $(objpfx)tst-array5-static-cmp.out.
6651 ($(objpfx)tst-array1.out): Remove rule.
6652 ($(objpfx)tst-array1-cmp.out): New rule.
6653 ($(objpfx)tst-array1-static.out): Remove rule.
6654 ($(objpfx)tst-array1-static-cmp.out): New rule.
6655 ($(objpfx)tst-array2.out): Remove rule.
6656 ($(objpfx)tst-array2-cmp.out): New rule.
6657 ($(objpfx)tst-array3.out): Remove rule.
6658 ($(objpfx)tst-array3-cmp.out): New rule.
6659 ($(objpfx)tst-array4.out): Remove rule.
6660 ($(objpfx)tst-array4-cmp.out): New rule.
6661 ($(objpfx)tst-array5.out): Remove rule.
6662 ($(objpfx)tst-array5-cmp.out): New rule.
6663 ($(objpfx)tst-array5-static.out): Remove rule.
6664 ($(objpfx)tst-array5-static-cmp.out): New rule.
6665 [$(run-built-tests) = yes] (tests): Depend on
6666 $(objpfx)order2-cmp.out.
6667 ($(objpfx)order2.out): Remove rule.
6668 ($(objpfx)order2-cmp.out): New rule.
6669 ($(objpfx)tst-initorder.out): Remove rule.
6670 [$(run-built-tests) = yes] (tests): Depend on
6671 $(objpfx)tst-initorder-cmp.out.
6672 ($(objpfx)tst-initorder-cmp.out): New rule.
6673 ($(objpfx)tst-initorder2.out): Remove rule.
6674 [$(run-built-tests) = yes] (tests): Depend on
6675 $(objpfx)tst-initorder2-cmp.out.
6676 ($(objpfx)tst-initorder2-cmp.out): New rule.
6677 [$(run-built-tests) = yes] (tests): Depend on
6678 $(objpfx)tst-unused-dep-cmp.out.
6679 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6680 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6681 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6682 on $(objpfx)tst-setvbuf1-cmp.out.
6683 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6684 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6685 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6686 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6687 ($(objpfx)tst-svc.out): Remove rule.
6688 ($(objpfx)tst-svc-cmp.out): New rule.
6689
ed9a38e2
JM
66902014-02-13 Joseph Myers <joseph@codesourcery.com>
6691
6692 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6693 * ctype/ctype.h [__USE_MISC]: Likewise.
6694 * dirent/dirent.h [__USE_MISC]: Likewise.
6695 * grp/grp.h [__USE_MISC]: Likewise.
6696 * io/fcntl.h [__USE_MISC]: Likewise.
6697 * io/sys/stat.h [__USE_MISC]: Likewise.
6698 * libio/stdio.h [__USE_MISC]: Likewise.
6699 * posix/unistd.h [__USE_MISC]: Likewise.
6700 * pwd/pwd.h [__USE_MISC]: Likewise.
6701 * stdlib.h [__USE_MISC]: Likewise.
6702 * string/bits/string2.h [__USE_MISC]: Likewise.
6703 * string/string.h [__USE_MISC]: Likewise.
6704 * time/time.h [__USE_MISC]: Likewise.
6705
d6680619
AS
67062014-02-13 Andreas Schwab <schwab@suse.de>
6707
6708 [BZ #16574]
6709 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6710 second answer buffer if it was separately allocated.
6711
ace614b8
JM
67122014-02-12 Joseph Myers <joseph@codesourcery.com>
6713
743151ae
JM
6714 * sysdeps/mips/math-tests.h: Include <features.h>.
6715 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6716 (ROUNDING_TESTS_long_double): Do not define.
6717 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6718 (EXCEPTION_TESTS_long_double): Likewise.
6719 * sysdeps/mips/mips64/libm-test-ulps: Update.
6720
498afc54
JM
6721 * include/features.h (__USE_BSD): Remove macro definitions.
6722 (__USE_SVID): Likewise.
6723 (_BSD_SOURCE): Likewise.
6724 (_SVID_SOURCE): Likewise.
6725 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6726 from definition of _DEFAULT_SOURCE.
6727 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6728 [_DEFAULT_SOURCE].
6729 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6730 * bits/mman.h [__USE_BSD]: Likewise.
6731 * bits/termios.h [__USE_BSD]: Likewise.
6732 * bits/waitstatus.h [__USE_BSD]: Likewise.
6733 * ctype/ctype.h [__USE_SVID]: Likewise.
6734 * dirent/dirent.h [__USE_BSD]: Likewise.
6735 * grp/grp.h [__USE_SVID]: Likewise.
6736 [__USE_BSD]: Likewise.
6737 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6738 * io/fcntl.h [__USE_BSD]: Likewise.
6739 * io/ftw.h [__USE_BSD]: Likewise.
6740 * io/sys/stat.h [__USE_BSD]: Likewise.
6741 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6742 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6743 * libio/stdio.h [__USE_SVID]: Likewise.
6744 [__USE_BSD]: Likewise.
6745 * math/math.h [__USE_SVID]: Likewise.
6746 [__USE_BSD]: Likewise.
6747 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6748 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6749 * misc/search.h [__USE_SVID]: Likewise.
6750 * misc/sys/mman.h [__USE_BSD]: Likewise.
6751 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6752 * misc/sys/uio.h [__USE_BSD]: Likewise.
6753 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6754 * posix/glob.h [__USE_BSD]: Likewise.
6755 * posix/regex.h [__USE_BSD]: Likewise.
6756 * posix/sys/types.h [__USE_BSD]: Likewise.
6757 [__USE_SVID]: Likewise.
6758 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6759 * posix/sys/wait.h [__USE_BSD]: Likewise.
6760 [__USE_SVID]: Likewise.
6761 * posix/unistd.h [__USE_BSD]: Likewise.
6762 [__USE_SVID]: Likewise.
6763 * pwd/pwd.h [__USE_SVID]: Likewise.
6764 * resolv/netdb.h [__USE_BSD]: Likewise.
6765 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6766 * signal/signal.h [__USE_BSD]: Likewise.
6767 [__USE_SVID]: Likewise.
6768 * socket/sys/socket.h [__USE_BSD]: Likewise.
6769 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6770 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6771 [__USE_SVID]: Likewise.
6772 * string/bits/string2.h [__USE_BSD]: Likewise.
6773 [__USE_SVID]: Likewise.
6774 * string/bits/string3.h [__USE_BSD]: Likewise.
6775 * string/endian.h [__USE_BSD]: Likewise.
6776 * string/string.h [__USE_SVID]: Likewise.
6777 [__USE_BSD]: Likewise.
6778 * string/strings.h [__USE_BSD]: Likewise.
6779 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6780 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6781 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6782 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6783 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6784 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6785 Likewise.
6786 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6787 Likewise.
6788 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6789 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6790 Likewise.
6791 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6792 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6793 Likewise.
6794 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6795 Likewise.
6796 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6797 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6798 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6799 Likewise.
6800 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6801 Likewise.
6802 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6803 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6804 * termios/termios.h [__USE_BSD]: Likewise.
6805 * time/sys/time.h [__USE_BSD]: Likewise.
6806 * time/time.h [__USE_BSD]: Likewise.
6807 [__USE_SVID]: Likewise.
6808
dd7b064c
JM
6809 * Makefile (subdir_targets): Remove subdir_lint.out.
6810
a2c4c199
JM
6811 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6812 (do-tst-printf): Likewise.
6813 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6814 $(objpfx)tst-printf.out.
6815
8756f740
JM
6816 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6817
1b6dd3f1
JM
6818 * Makerules (check-abi-%): Change target to
6819 $(objpfx)check-abi-%.out.
6820 (check-abi target): Update dependencies.
6821 (check-abi-pattern variable): Redirect output of diff to $@.
6822 (check-abi variable): Likewise.
6823 * elf/Makefile (check-abi): Update dependencies.
6824
ace614b8
JM
6825 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6826 unused.
6827 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6828 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6829 subnormal range.
6830 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6831 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6832 value has largest subnormal exponent.
6833 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6834 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6835 * sysdeps/aarch64/soft-fp/sfp-machine.h
6836 (_FP_TININESS_AFTER_ROUNDING): New macro.
6837 * sysdeps/alpha/soft-fp/sfp-machine.h
6838 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6839 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6840 Likewise.
6841 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6842 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6843 * sysdeps/mips/soft-fp/sfp-machine.h
6844 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6845 * sysdeps/powerpc/soft-fp/sfp-machine.h
6846 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6847 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6848 Likewise.
6849 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6850 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6851 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6852 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6853 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6854 Likewise.
6855
fbfdf9cb
DAS
68562014-02-12 Dylan Alex Simon <dylan@dylex.net>
6857
6858 [BZ #16545]
6859 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6860 model 1.
6861
68b7efaa
RH
68622014-02-12 Richard Henderson <rth@redhat.com>
6863
c70a4b1d 6864 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6865 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6866 * sysdeps/unix/sysv/linux/alpha: Move directory from
6867 ports/sysdeps/unix/sysv/linux/alpha.
6868 * README: Update listing for alpha-*-linux-gnu.
6869
cb4a2928
JM
68702014-02-11 Joseph Myers <joseph@codesourcery.com>
6871
c941736c
JM
6872 * include/features.h: Update comment documenting feature test
6873 macros.
6874 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6875 _DEFAULT_SOURCE.
6876 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6877 (_SVID_SOURCE): Likewise.
6878 (_DEFAULT_SOURCE): Update description of default features.
6879 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6880 with _GNU_SOURCE.
6881 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6882 (S_ISVTX): Likewise.
6883 * manual/math.texi (Mathematical Constants): Likewise.
6884 * manual/signal.texi (Interrupted Primitives): Likewise.
6885 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6886 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6887 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6888 Don't refer to _SVID_SOURCE in warning text.
6889
e8d8d7ec
JM
6890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6891
cb4a2928
JM
6892 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6893 already defined.
6894 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6895 * sysdeps/mips/dl-lookup.c: Remove.
6896 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6897
7e6424e3
AK
68982014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6899
6900 [BZ #16447]
6901 * math/auto-libm-test-in: Add testcase for expl.
6902 * math/auto-libm-test-out: Regenerate.
6903 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6904 calculation of unsafe.
6905 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6906
75eff3fe
MS
69072014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6908
6909 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6910 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6911 ports/sysdeps/unix/sysv/linux/aarch64.
6912 * README: Update listing for aarch64*-*-linux-gnu.
6913
d35f1e80
WN
69142014-02-11 Will Newton <will.newton@linaro.org>
6915
6916 * manual/probes.texi (Mathematical Function Probes): Use
6917 "triggered" instead of "hit".
6918
7b3436d4
WN
6919 * manual/probes.texi (Internal Probes): Add documentation
6920 of setjmp, longjmp and longjmp_target probes.
6921
b4f12ca3
WN
6922 * include/stap-probe.h: Add comment about probe argument
6923 format.
6924
c13a72b7
WN
6925 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6926 definition. (tr_where, tr_freehook, tr_mallochook,
6927 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6928
195b8165
DM
69292014-02-11 David S. Miller <davem@davemloft.net>
6930
6931 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6932 processing int_tests.
6933
2ad7600b
JM
69342014-02-10 Joseph Myers <joseph@codesourcery.com>
6935
6936 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6937 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6938 * sysdeps/unix/sysv/linux/mips: Move directory from
6939 ports/sysdeps/unix/sysv/linux/mips.
6940 * README: Update listing for mips-*-linux-gnu and
6941 mips64-*-linux-gnu.
6942
73588a72
AS
69432014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6944
6945 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6946 * sysdeps/unix/sysv/linux/m68k: Move directory from
6947 ports/sysdeps/unix/sysv/linux/m68k.
6948 * README: Update listing for m68k-*-linux-gnu.
6949
4372980f
CM
69502014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6951
6952 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6953 * sysdeps/unix/sysv/linux/generic: Move directory from
6954 ports/sysdeps/unix/sysv/linux/generic.
6955 * sysdeps/unix/sysv/linux/tile: Move directory from
6956 ports/sysdeps/unix/sysv/linux/tile.
6957 * README: Update listing for tile*-*-linux-gnu.
6958
a1ffb40e
OB
69592014-02-10 Ondřej Bílka <neleai@seznam.cz>
6960
57f41c40
AS
6961 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6962 __builtin_expect.
a1ffb40e
OB
6963 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6964 * catgets/open_catalog.c (__open_catalog): Likewise.
6965 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6966 * debug/confstr_chk.c: Likewise.
6967 * debug/fread_chk.c (__fread_chk): Likewise.
6968 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6969 * debug/getgroups_chk.c: Likewise.
6970 * debug/mbsnrtowcs_chk.c: Likewise.
6971 * debug/mbsrtowcs_chk.c: Likewise.
6972 * debug/mbstowcs_chk.c: Likewise.
6973 * debug/memcpy_chk.c: Likewise.
6974 * debug/memmove_chk.c: Likewise.
6975 * debug/mempcpy_chk.c: Likewise.
6976 * debug/memset_chk.c: Likewise.
6977 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6978 * debug/strcat_chk.c (__strcat_chk): Likewise.
6979 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6980 * debug/strncat_chk.c (__strncat_chk): Likewise.
6981 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6982 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6983 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6984 * debug/wcpncpy_chk.c: Likewise.
6985 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6986 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6987 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6988 * debug/wcsncpy_chk.c: Likewise.
6989 * debug/wcsnrtombs_chk.c: Likewise.
6990 * debug/wcsrtombs_chk.c: Likewise.
6991 * debug/wcstombs_chk.c: Likewise.
6992 * debug/wmemcpy_chk.c: Likewise.
6993 * debug/wmemmove_chk.c: Likewise.
6994 * debug/wmempcpy_chk.c: Likewise.
6995 * debug/wmemset_chk.c: Likewise.
6996 * dirent/scandirat.c (SCANDIRAT): Likewise.
6997 * dlfcn/dladdr1.c (dladdr1): Likewise.
6998 * dlfcn/dladdr.c (dladdr): Likewise.
6999 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7000 * dlfcn/dlerror.c (__dlerror): Likewise.
7001 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7002 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7003 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7004 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7005 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7006 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7007 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7008 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7009 Likewise.
7010 * elf/dl-conflict.c: Likewise.
7011 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7012 * elf/dl-dst.h: Likewise.
7013 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7014 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7015 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7016 * elf/dl-init.c (call_init, _dl_init): Likewise.
7017 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
7018 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7019 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7020 Likewise.
a1ffb40e
OB
7021 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7022 Likewise.
7023 * elf/dl-minimal.c (__libc_memalign): Likewise.
7024 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7025 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7026 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7027 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
7028 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7029 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
7030 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7031 * elf/dl-writev.h (_dl_writev): Likewise.
7032 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
7033 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7034 (dl_main): Likewise.
a1ffb40e
OB
7035 * elf/setup-vdso.h (setup_vdso): Likewise.
7036 * grp/compat-initgroups.c (compat_call): Likewise.
7037 * grp/fgetgrent.c (fgetgrent): Likewise.
7038 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7039 * grp/putgrent.c (putgrent): Likewise.
7040 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7041 Likewise.
7042 * hurd/hurdinit.c: Likewise.
7043 * iconvdata/8bit-gap.c (struct): Likewise.
7044 * iconvdata/ansi_x3.110.c : Likewise.
7045 * iconvdata/big5.c : Likewise.
7046 * iconvdata/big5hkscs.c : Likewise.
7047 * iconvdata/cp1255.c: Likewise.
7048 * iconvdata/cp1258.c : Likewise.
7049 * iconvdata/cp932.c : Likewise.
7050 * iconvdata/euc-cn.c: Likewise.
7051 * iconvdata/euc-jisx0213.c : Likewise.
7052 * iconvdata/euc-jp.c: Likewise.
7053 * iconvdata/euc-jp-ms.c : Likewise.
7054 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7055 * iconvdata/gb18030.c : Likewise.
7056 * iconvdata/gbbig5.c (const): Likewise.
7057 * iconvdata/gbgbk.c: Likewise.
7058 * iconvdata/gbk.c : Likewise.
7059 * iconvdata/ibm1364.c : Likewise.
7060 * iconvdata/ibm930.c : Likewise.
7061 * iconvdata/ibm932.c: Likewise.
7062 * iconvdata/ibm933.c : Likewise.
7063 * iconvdata/ibm935.c : Likewise.
7064 * iconvdata/ibm937.c : Likewise.
7065 * iconvdata/ibm939.c : Likewise.
7066 * iconvdata/ibm943.c: Likewise.
7067 * iconvdata/iso_11548-1.c: Likewise.
7068 * iconvdata/iso-2022-cn.c : Likewise.
7069 * iconvdata/iso-2022-cn-ext.c : Likewise.
7070 * iconvdata/iso-2022-jp-3.c: Likewise.
7071 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7072 * iconvdata/iso-2022-kr.c : Likewise.
7073 * iconvdata/iso646.c (gconv_end): Likewise.
7074 * iconvdata/iso_6937-2.c : Likewise.
7075 * iconvdata/iso_6937.c : Likewise.
7076 * iconvdata/iso8859-1.c: Likewise.
7077 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7078 * iconvdata/shift_jisx0213.c : Likewise.
7079 * iconvdata/sjis.c : Likewise.
7080 * iconvdata/t.61.c : Likewise.
7081 * iconvdata/tcvn5712-1.c : Likewise.
7082 * iconvdata/tscii.c: Likewise.
7083 * iconvdata/uhc.c : Likewise.
7084 * iconvdata/unicode.c (gconv_end): Likewise.
7085 * iconvdata/utf-16.c (gconv_end): Likewise.
7086 * iconvdata/utf-32.c (gconv_end): Likewise.
7087 * iconvdata/utf-7.c (base64): Likewise.
7088 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7089 * iconv/gconv_close.c (__gconv_close): Likewise.
7090 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
7091 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7092 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7093 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7094 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7095 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
7096 * iconv/iconv.c (iconv): Likewise.
7097 * iconv/iconv_close.c: Likewise.
7098 * iconv/loop.c (SINGLE): Likewise.
7099 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7100 * include/atomic.h: Likewise.
7101 * inet/inet6_option.c (option_alloc): Likewise.
7102 * intl/bindtextdom.c (set_binding_values): Likewise.
7103 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7104 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7105 * intl/localealias.c (read_alias_file): Likewise.
7106 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
7107 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7108 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
7109 * libio/fmemopen.c (fmemopen): Likewise.
7110 * libio/iofgets.c (_IO_fgets): Likewise.
7111 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7112 * libio/iofgetws.c (fgetws): Likewise.
7113 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7114 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
7115 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7116 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
7117 * locale/findlocale.c (_nl_find_locale): Likewise.
7118 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7119 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7120 Likewise.
7121 * locale/setlocale.c (setlocale): Likewise.
7122 * login/programs/pt_chown.c (main): Likewise.
7123 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7124 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7125 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7126 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7127 * math/e_exp2l.c: Likewise.
7128 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7129 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7130 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7131 * math/s_catan.c (__catan): Likewise.
7132 * math/s_catanf.c (__catanf): Likewise.
7133 * math/s_catanh.c (__catanh): Likewise.
7134 * math/s_catanhf.c (__catanhf): Likewise.
7135 * math/s_catanhl.c (__catanhl): Likewise.
7136 * math/s_catanl.c (__catanl): Likewise.
7137 * math/s_ccosh.c (__ccosh): Likewise.
7138 * math/s_ccoshf.c (__ccoshf): Likewise.
7139 * math/s_ccoshl.c (__ccoshl): Likewise.
7140 * math/s_cexp.c (__cexp): Likewise.
7141 * math/s_cexpf.c (__cexpf): Likewise.
7142 * math/s_cexpl.c (__cexpl): Likewise.
7143 * math/s_clog10.c (__clog10): Likewise.
7144 * math/s_clog10f.c (__clog10f): Likewise.
7145 * math/s_clog10l.c (__clog10l): Likewise.
7146 * math/s_clog.c (__clog): Likewise.
7147 * math/s_clogf.c (__clogf): Likewise.
7148 * math/s_clogl.c (__clogl): Likewise.
7149 * math/s_csin.c (__csin): Likewise.
7150 * math/s_csinf.c (__csinf): Likewise.
7151 * math/s_csinh.c (__csinh): Likewise.
7152 * math/s_csinhf.c (__csinhf): Likewise.
7153 * math/s_csinhl.c (__csinhl): Likewise.
7154 * math/s_csinl.c (__csinl): Likewise.
7155 * math/s_csqrt.c (__csqrt): Likewise.
7156 * math/s_csqrtf.c (__csqrtf): Likewise.
7157 * math/s_csqrtl.c (__csqrtl): Likewise.
7158 * math/s_ctan.c (__ctan): Likewise.
7159 * math/s_ctanf.c (__ctanf): Likewise.
7160 * math/s_ctanh.c (__ctanh): Likewise.
7161 * math/s_ctanhf.c (__ctanhf): Likewise.
7162 * math/s_ctanhl.c (__ctanhl): Likewise.
7163 * math/s_ctanl.c (__ctanl): Likewise.
7164 * math/w_pow.c: Likewise.
7165 * math/w_powf.c: Likewise.
7166 * math/w_powl.c: Likewise.
7167 * math/w_scalb.c (sysv_scalb): Likewise.
7168 * math/w_scalbf.c (sysv_scalbf): Likewise.
7169 * math/w_scalbl.c (sysv_scalbl): Likewise.
7170 * misc/error.c (error_tail): Likewise.
7171 * misc/pselect.c (__pselect): Likewise.
7172 * nis/nis_callback.c (__nis_create_callback): Likewise.
7173 * nis/nis_call.c (__nisfind_server): Likewise.
7174 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7175 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7176 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7177 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7178 * nis/nis_lookup.c (nis_lookup): Likewise.
7179 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7180 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7181 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7182 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7183 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7184 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7185 * nis/nss_compat/compat-initgroups.c (add_group)
7186 (internal_getgrent_r): Likewise.
7187 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7188 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7189 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7190 (internal_getspnam_r): Likewise.
7191 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7192 (_nss_nis_getaliasbyname_r): Likewise.
7193 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7194 (_nss_nis_getntohost_r): Likewise.
7195 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7196 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7197 (_nss_nis_getgrgid_r): Likewise.
7198 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7199 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7200 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7201 (_nss_nis_gethostbyname4_r): Likewise.
7202 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7203 (initgroups_netid): Likewise.
a1ffb40e 7204 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7205 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7206 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7207 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7208 (_nss_nis_getprotobynumber_r): Likewise.
7209 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7210 (_nss_nis_getsecretkey): Likewise.
7211 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7212 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7213 (_nss_nis_getpwuid_r): Likewise.
7214 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7215 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7216 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7217 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7218 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7219 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7220 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7221 Likewise.
57f41c40
AS
7222 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7223 (_nss_nisplus_getntohost_r): Likewise.
7224 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7225 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7226 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7227 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7228 Likewise.
57f41c40
AS
7229 * nis/nss_nisplus/nisplus-initgroups.c
7230 (_nss_nisplus_initgroups_dyn): Likewise.
7231 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7232 (_nss_nisplus_getnetbyaddr_r): Likewise.
7233 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7234 (_nss_nisplus_getprotobynumber_r): Likewise.
7235 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7236 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7237 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7238 Likewise.
57f41c40
AS
7239 * nis/nss_nisplus/nisplus-service.c
7240 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7241 (_nss_nisplus_getservbyport_r): Likewise.
7242 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7243 (_nss_nisplus_getspnam_r): Likewise.
7244 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7245 Likewise.
a1ffb40e
OB
7246 * nscd/aicache.c (addhstaiX): Likewise.
7247 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7248 * nscd/connections.c (register_traced_file, send_ro_fd)
7249 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7250 (main_loop_epoll): Likewise.
a1ffb40e
OB
7251 * nscd/grpcache.c (addgrbyX): Likewise.
7252 * nscd/hstcache.c (addhstbyX): Likewise.
7253 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7254 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7255 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7256 (addinnetgrX): Likewise.
7257 * nscd/nscd-client.h (__nscd_acquire_maplock)
7258 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7259 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7260 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7261 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7262 Likewise.
7263 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7264 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7265 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7266 (__nscd_get_map_ref): Likewise.
a1ffb40e 7267 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7268 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7269 Likewise.
a1ffb40e
OB
7270 * nscd/pwdcache.c (addpwbyX): Likewise.
7271 * nscd/selinux.c (preserve_capabilities): Likewise.
7272 * nscd/servicescache.c (addservbyX): Likewise.
7273 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7274 * posix/fnmatch.c (fnmatch): Likewise.
7275 * posix/getopt.c (_getopt_internal_r): Likewise.
7276 * posix/glob.c (glob, glob_in_dir): Likewise.
7277 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7278 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7279 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7280 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7281 * resolv/res_init.c: Likewise.
7282 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7283 * resolv/res_query.c (__libc_res_nquery): Likewise.
7284 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7285 Likewise.
7286 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7287 * stdio-common/perror.c (perror): Likewise.
7288 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7289 * stdio-common/tmpnam.c (tmpnam): Likewise.
7290 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7291 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7292 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7293 Likewise.
a1ffb40e
OB
7294 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7295 * stdlib/putenv.c (putenv): Likewise.
7296 * stdlib/setenv.c (__add_to_environ): Likewise.
7297 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7298 * stdlib/strtol_l.c (INTERNAL): Likewise.
7299 * string/memmem.c (memmem): Likewise.
7300 * string/strerror.c (strerror): Likewise.
7301 * string/strnlen.c (__strnlen): Likewise.
7302 * string/test-memmem.c (simple_memmem): Likewise.
7303 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7304 * sunrpc/pm_getport.c (__get_socket): Likewise.
7305 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7306 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7307 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7308 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7309 Likewise.
7310 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7311 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7312 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7313 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7314 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7315 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7316 Likewise.
7317 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7318 Likewise.
a1ffb40e
OB
7319 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7320 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7321 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7322 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7323 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7324 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7325 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7326 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7327 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7328 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7329 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7330 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7331 Likewise.
7332 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7333 Likewise.
7334 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7335 Likewise.
7336 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7337 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7338 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7339 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7340 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7341 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7342 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7344 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7345 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7346 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7347 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7348 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7349 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7351 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7352 Likewise.
a1ffb40e
OB
7353 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7354 Likewise.
7355 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7356 Likewise.
7357 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7358 Likewise.
7359 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7360 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7361 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7362 Likewise.
7363 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7364 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7365 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7366 * sysdeps/posix/sleep.c: Likewise.
7367 * sysdeps/posix/tempname.c: Likewise.
7368 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7369 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7370 Likewise.
57f41c40
AS
7371 * sysdeps/powerpc/powerpc32/dl-machine.h
7372 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7373 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7375 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7376 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7377 Likewise.
7378 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7379 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7380 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7381 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7382 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7383 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7384 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7385 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7386 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7387 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7388 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7389 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7390 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7391 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7392 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7393 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7394 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7395 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7396 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7397 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7398 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7399 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7401 Likewise.
7402 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7403 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7404 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7405 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7406 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7407 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7408 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7409 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7410 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7411 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7412 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7413 Likewise.
7414 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7415 (__posix_fallocate64_l64): Likewise.
7416 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7417 (posix_fallocate): Likewise.
57f41c40
AS
7418 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7419 Likewise.
a1ffb40e 7420 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7421 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7422 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7423 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7424 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7425 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7426 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7427 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7428 (__posix_fallocate64_l64): Likewise.
7429 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7430 Likewise.
7431 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7432 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7433 (__get_clockfreq): Likewise.
a1ffb40e
OB
7434 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7435 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7436 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7437 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7438 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7439 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7440 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7441 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7442 Likewise.
7443 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7444 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7445 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7446 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7447 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7448 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7449 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7450 Likewise.
7451 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7452 (posix_fallocate): Likewise.
7453 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7454 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7455 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7456 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7457 (elf_machine_rela, elf_machine_rela_relative)
7458 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7459 * time/asctime.c (asctime_internal): Likewise.
7460 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7461 * time/tzset.c (__tzset_parse_tz): Likewise.
7462 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7463 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7464 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7465 * wcsmbs/wcsmbsload.h: Likewise.
7466
f3d338c9
OB
7467 [BZ #15894]
7468 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7469
57f41c40
AS
7470 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7471 (arena_get2): Remove THREAD_STATS conditionals.
7472 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7473 (__malloc_stats, int): Likewise.
bdfe308a 7474
d674667c
MF
74752014-02-08 Mike Frysinger <vapier@gentoo.org>
7476
7477 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7478 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7479
6349768c
MF
7480 * manual/setjmp.texi: Fix typos/grammar errors.
7481
0b7c7473
MF
7482 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7483 Only return early when n is <= 0. Delete unused return statement.
7484
ac8cc9e3
MF
7485 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7486 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7487 * debug/tst-longjmp_chk3.c: New file.
7488
c5bb8e23
MF
7489 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7490 (test_main): Replace code with set_fortify_handler call.
7491 * debug/test-strcpy_chk.c: Likewise.
7492 * debug/tst-chk1.c: Likewise.
7493 * debug/tst-longjmp_chk.c: Likewise.
7494 * test-skeleton.c: Include fcntl.h & paths.h
7495 (set_fortify_handler): Define.
7496
10444e42
MF
7497 * debug/tst-longjmp_chk.c: Add header comment and include
7498 ../test-skeleton.c.
7499 (do_test): Mark static.
7500 (TEST_FUNCTION): Define.
7501
1e805e8d
MF
7502 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7503 (IP_PMTUDISC_INTERFACE): Likewise.
7504 (IP_MULTICAST_IF): Likewise.
7505 (IP_MULTICAST_TTL): Likewise.
7506 (IP_MULTICAST_LOOP): Likewise.
7507 (IP_ADD_MEMBERSHIP): Likewise.
7508 (IP_DROP_MEMBERSHIP): Likewise.
7509 (IP_UNBLOCK_SOURCE): Likewise.
7510 (IP_BLOCK_SOURCE): Likewise.
7511 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7512 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7513 (IP_MSFILTER): Likewise.
7514 (MCAST_JOIN_GROUP): Likewise.
7515 (MCAST_BLOCK_SOURCE): Likewise.
7516 (MCAST_UNBLOCK_SOURCE): Likewise.
7517 (MCAST_LEAVE_GROUP): Likewise.
7518 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7519 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7520 (MCAST_MSFILTER): Likewise.
7521 (IP_MULTICAST_ALL): Likewise.
7522 (IP_UNICAST_IF): Likewise.
7523
73f79bb7
MF
7524 * timezone/Makefile: Delete $(have-ksh) check.
7525 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7526 * timezone/tzselect.ksh: Add +x mode bits.
7527
8da79b60
MF
7528 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7529 (ANON_INODE_FS_MAGIC): Likewise.
7530 (BDEVFS_MAGIC): Likewise.
7531 (BINFMTFS_MAGIC): Likewise.
7532 (BTRFS_TEST_MAGIC): Likewise.
7533 (CRAMFS_MAGIC_WEND): Likewise.
7534 (DEBUGFS_MAGIC): Likewise.
7535 (ECRYPTFS_SUPER_MAGIC): Likewise.
7536 (EXT3_SUPER_MAGIC): Likewise.
7537 (EXT4_SUPER_MAGIC): Likewise.
7538 (FUTEXFS_SUPER_MAGIC): Likewise.
7539 (HOSTFS_SUPER_MAGIC): Likewise.
7540 (HUGETLBFS_MAGIC): Likewise.
7541 (MINIX3_SUPER_MAGIC): Likewise.
7542 (MTD_INODE_FS_MAGIC): Likewise.
7543 (NILFS_SUPER_MAGIC): Likewise.
7544 (OPENPROM_SUPER_MAGIC): Likewise.
7545 (PIPEFS_MAGIC): Likewise.
7546 (PSTOREFS_MAGIC): Likewise.
7547 (QNX6_SUPER_MAGIC): Likewise.
7548 (RAMFS_MAGIC): Likewise.
7549 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7550 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7551 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7552 (SECURITYFS_MAGIC): Likewise.
7553 (SELINUX_MAGIC): Likewise.
7554 (SMACK_MAGIC): Likewise.
7555 (SOCKFS_MAGIC): Likewise.
7556 (SQUASHFS_MAGIC): Likewise.
7557 (STACK_END_MAGIC): Likewise.
7558 (TMPFS_MAGIC): Likewise.
7559 (USBDEVICE_SUPER_MAGIC): Likewise.
7560 (V9FS_MAGIC): Likewise.
7561 (XENFS_SUPER_MAGIC): Likewise.
7562 (CRAMFS_MAGIC): Fix typo in comment.
7563 (EXT2_SUPER_MAGIC): Update comment.
7564 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7565
464263cc
JM
75662014-02-08 Joseph Myers <joseph@codesourcery.com>
7567
c6bfe5c4
JM
7568 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7569 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7570 * sysdeps/unix/sysv/linux/arm: Move directory from
7571 ports/sysdeps/unix/sysv/linux/arm.
7572 * README: Update listing for arm-*-linux-gnueabi.
7573
464263cc
JM
7574 * README: Remove mention of am33.
7575
32749f6c
RM
75762014-02-07 Roland McGrath <roland@hack.frob.com>
7577
7578 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7579 than the comma operator, to avoid "rhs of comma has no effect"
7580 compiler warnings.
7581 (__sigfillset, __sigandset, __sigorset): Likewise.
7582 * include/signal.h (__sigemptyset): Likewise.
7583 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7584
d5b396c1
AM
75852014-02-07 Allan McRae <allan@archlinux.org>
7586
7587 * version.h (RELEASE): Set to "development".
7588 (VERSION): Set to "2.19.90"
7589 * NEWS: Add 2.20 section.
7590
3bfff2ed
CD
75912014-02-06 Carlos O'Donell <carlos@redhat.com>
7592
7593 [BZ #16529]
7594 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7595
ee7cc385
SP
75962014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7597
7598 * manual/contrib.texi: Update entry for Carlos O'Donell,
7599 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7600
f877c4f2
CD
76012014-02-05 Carlos O'Donell <carlos@rehdat.com>
7602
27e839f6
CD
7603 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7604
f877c4f2
CD
7605 * sysdeps/unix/sysv/linux/kernel-features.h
7606 [__LINUX_KERNEL_VERSION >= 0x020621]
7607 (__ASSUME_PROC_PID_TASK_COMM): Define.
7608
68159946
SP
76092014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7610
ba17cdbd
SP
7611 [BZ #16398]
7612 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7613 conversion when destination buffer does not have enough space.
7614 * libio/tst-ftell-partial-wide.c: New test case.
7615 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7616
68159946
SP
7617 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7618 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7619 Leonard and Allan McRae.
7620
2b528732
DM
76212014-02-04 David S. Miller <davem@davemloft.net>
7622
7623 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7624 32-bit.
7625
0ff82463
AZ
76262014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7627
57f41c40
AS
7628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7629 New file
c01603f7
AZ
7630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7631 New file
57f41c40
AS
7632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7633 New file.
7634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7635 New file.
c01603f7
AZ
7636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7637 New file.
57f41c40
AS
7638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7639 New file.
7640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7641 New file.
c01603f7
AZ
7642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7643 New file.
7644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7645 New file.
7646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7647 New file.
7648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7649 New file.
7650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7651 New file.
7652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7653 New file.
7654
76552014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7656
0ff82463
AZ
7657 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7658 * shlib-versions: Likewise.
7659
1695c773
AZ
76602014-02-04 Roland McGrath <roland@hack.frob.com>
7661 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7662
7663 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7664 (abilist-pattern): New variable, set to %-le.abilist.
7665
7666 * Makerules (abilist-pattern): New variable.
7667 (vpath): Use $(abilist-pattern) in place of %.abilist.
7668 (check-abi-% pattern rule): Likewise.
7669 (check-abi, update-abi): Likewise.
7670
6c0ce4b4
EW
76712014-02-04 Eric Wong <normalperson@yhbt.net>
7672
7673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7674
481e3524
CD
76752014-02-03 Carlos O'Donell <carlos@redhat.com>
7676
7677 * manual/startup.texi: Add next, previous, and top entries for
7678 the `Program Arguments' and `Environment Variables' nodes.
7679
375592d3
AO
76802014-02-03 Alexandre Oliva <aoliva@redhat.com>
7681
7682 * manual/macros.texi: Add comments before MTASC-safety macros.
7683
f54838ba
AO
7684 * manual/users.texi: Document MTASC-safety properties.
7685
57f41c40
AS
7686 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7687 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7688 @deftypefun, and add @safety note.
7689 * manual/signal.texi: Move comments that analyze the above
7690 functions to their home place.
7691
fd3daba4
AM
76922014-02-03 Allan McRae <allan@archlinux.org>
7693
7694 * po/sl.po: Update Slovenian translation from translation project.
7695
597636d7
AO
76962014-02-02 Alexandre Oliva <aoliva@redhat.com>
7697
7698 * manual/time.texi (timegm): Add missing blank after @c.
7699 Reported by Joseph Myers <joseph@codesourcery.com>.
7700
ee196e3c
AO
77012014-02-01 Alexandre Oliva <aoliva@redhat.com>
7702
7703 * manual/check-safety.sh: New.
7704 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7705
f8d529d5
AO
7706 * manual/terminal.texi: Document MTASC-safety properties.
7707
de55fdf4
AO
7708 * manual/filesys.texi: Document MTASC-safety properties.
7709
c3299c08
AO
7710 * manual/errno.texi: Document MTASC-safety properties.
7711
06e90b14
AO
7712 * manual/intro.texi: Document safety identifiers and
7713 conditionals.
7714
1acd4371
AO
7715 * manual/string.texi (wcstok): Fix prototype.
7716 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7717
23e5b8cb
AO
7718 * manual/time.texi: Document MTASC-safety properties.
7719
11087373
AO
7720 * manual/string.texi: Document MTASC-safety properties.
7721
5da2c93d
AO
7722 * manual/threads.texi: Document MTASC-safety properties.
7723
171e9210
AO
7724 * manual/stdio.texi: Document MTASC-safety properties.
7725
d9e02532
AO
7726 * manual/syslog.texi: Document MTASC-safety properties.
7727
6af8bab7
AO
7728 * manual/sysinfo.texi: Document MTASC-safety properties.
7729
663b02d7
AO
7730 * manual/startup.texi: Document MTASC-safety properties.
7731
973f180b
AO
7732 * manual/socket.texi: Document MTASC-safety properties.
7733
8f3c25c8
AO
7734 * manual/signal.texi: Document MTASC-safety properties.
7735
542210fb
AO
77362014-01-31 Alexandre Oliva <aoliva@redhat.com>
7737
7738 * manual/setjmp.texi: Document MTASC-safety properties.
7739
433c45a2
AO
7740 * manual/search.texi: Document MTASC-safety properties.
7741
c8ce789c
AO
7742 * manual/resource.texi: Document MTASC-safety properties.
7743
19f5d29c
AO
7744 * manual/process.texi: Document MTASC-safety properties.
7745
e2dfb7f4
AO
7746 * manual/platform.texi: Document MTASC-safety properties.
7747
8c1413f5
AO
7748 * manual/pipe.texi: Document MTASC-safety properties.
7749
03483ada
AO
7750 * manual/pattern.texi: Document MTASC-safety properties.
7751
29e7e2df
AO
7752 * manual/message.texi: Document MTASC-safety properties.
7753
9f529d7c
AO
7754 [BZ #12751]
7755 * manual/memory.texi: Document MTASC-safety properties.
7756
27aaa791
AO
7757 * manual/math.texi: Document MTASC-safety properties.
7758
f2d58726
AO
7759 * manual/locale.texi: Document MTASC-safety properties.
7760
2cc3615c
AO
7761 * manual/llio.texi: Document MTASC-safety properties.
7762
d9f0ec97
AO
7763 * manual/libdl.texi: New.
7764
e7c4409a
AO
7765 * manual/lang.texi: Document MTASC-safety properties.
7766
27bdc63c
AO
7767 * manual/job.texi: Document MTASC-safety properties.
7768
a7b90ea9
AO
7769 * manual/getopt.texi: Document MTASC-safety properties.
7770
c49130e3
AO
7771 * manual/ctype.texi: Document MTASC-safety properties.
7772
0d23a5c1
MR
77732014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7774
7775 [BZ #16046]
7776 * csu/libc-tls.c (static_map): Remove variable.
7777 (__libc_setup_tls): Use main executable's link map for TLS data.
7778 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7779 casing for LM_ID_BASE and GL(dl_nns).
7780 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7781 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7782 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7783 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7784 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7785 member.
7786 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7787 l_phnum members.
7788
0037bb60
AO
77892014-01-30 Alexandre Oliva <aoliva@redhat.com>
7790
7791 * manual/debug.texi: Document MTASC-safety properties.
7792
409e00bd
L
77932014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7794
7795 [BZ #16510]
7796 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7797 of __x86_64__ when disabling x87 inline functions.
7798
86e60666
AO
77992014-01-29 Alexandre Oliva <aoliva@redhat.com>
7800
7801 * manual/charset.texi: Document MTASC-safety properties.
7802
76167637
AO
7803 * manual/crypt.texi: Document MTASC-safety properties.
7804
e567f2a0
AO
7805 * manual/conf.texi: Document MTASC-safety properties.
7806
b719dafd
AO
7807 * manual/arith.texi: Document MTASC-safety properties.
7808
4a16c662
AO
7809 * manual/argp.texi: Document MTASC-safety properties.
7810
0a57b83e
AO
7811 * manual/macros.texi: Introduce macros to document multi
7812 thread, asynchronous signal and asynchronous cancellation
7813 safety properties.
7814 * manual/intro.texi: Introduce the properties themselves.
7815
feab2397
KK
78162014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7817
7818 * sysdeps/sh/sh4/Makefile: New file.
7819
1c0d11bc
AS
78202014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7821
7822 * math/gen-libm-test.pl ($srcdir): New variable.
7823 ($auto_input): Use it.
7824
af37a8a3
SP
78252014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7826
d7b00f98
SP
7827 [BZ #16506]
7828 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7829 access beyond array bounds when parsing netgroups file.
7830
af37a8a3
SP
7831 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7832 the old buffer before realloc.
7833
0c00f062
AM
78342014-01-27 Allan McRae <allan@archlinux.org>
7835
7836 * po/fr.po: Update French translation from translation project.
7837
7d69a1b0
KK
78382014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7839
7840 * sysdeps/sh/libm-test-ulps: Regenerate.
7841
6e697ff7
DM
78422014-01-24 David S. Miller <davem@davemloft.net>
7843
7844 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7845
9cadb35c
KK
78462014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7847
7848 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7849 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7850
5d41dadf
SP
78512013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7852
7853 [BZ #16474]
7854 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7855 string pointers after reallocation.
7856
0bad441c
KK
78572014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7858
7859 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7860 __SH4A__ instead of __SH_FPU_ANY__.
7861
7007c661
KK
78622014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7863
7864 * sysdeps/sh/fpu_control.h: New file.
7865 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7866 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7867 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7868 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7869 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7870 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7871 * sysdeps/sh/sys/ucontext.h: Remove.
7872 * sysdeps/sh/sys: Remove directory.
7873
0f0c35e4
AK
78742014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7875
7876 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7877 s390/sys/ucontext.h.
7878 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7879 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7880
4959e284
L
78812014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7882
7883 [BZ #15605]
7884 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7885
d98720e0
AZ
78862014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7887
7888 [BZ#16431]
7889 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7890 Adjust the vDSO correctly for internal calls.
7891 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7892
91cbd0bc
AM
78932014-01-20 Allan McRae <allan@archlinux.org>
7894
7895 * po/ca.po: Update Catalan translation from translation project.
7896
7a02cfad
MF
78972014-01-16 Mike Frysinger <vapier@gentoo.org>
7898
7899 * sysdeps/s390/sotruss-lib.c: New file.
7900
736c304a
AZ
79012014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7902
7903 [BZ#16430]
6e077ee5 7904 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7905 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7906 local calls issues by not having a PLT stub required for IFUNC calls.
7907 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7908
94d0cea0
JM
79092014-01-16 Joseph Myers <joseph@codesourcery.com>
7910
7911 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7912 * math/test-fpucw-static.c: Likewise.
7913
980cb518
SP
79142013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7915
7916 [BZ #16453]
7917 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7918
2393fc01
AZ
79192014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7920
7921 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7922 implementation for powerpc.
7923
d359bcc2
OB
79242014-01-15 Ondřej Bílka <neleai@seznam.cz>
7925
7926 [BZ #14782]
7927 * sysdeps/posix/system.c (__libc_system): Do not enable
7928 asynchronous cancellation.
7929
7beb48cb
AK
79302014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7931
7932 [BZ #16427]
7933 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7934 handling only for numbers special also in the IEEE case.
7935
c20d5bf5
AK
79362014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7937
7938 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7939
e83bd4ee
AM
79402014-01-11 Allan McRae <allan@archlinux.org>
7941
76d0ea69
AM
7942 * po/bg.po: Update Bulgarian translation from translation project.
7943
e83bd4ee
AM
7944 * po/de.po: Update German translation from translation project.
7945
bc2ba20a
RM
79462014-01-10 Roland McGrath <roland@hack.frob.com>
7947
7948 * sysdeps/generic/gcc-compat.h: New file.
7949
649ecea2
SP
79502014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7951
7952 * benchtests/asin-inputs: Correct slow inputs.
7953 * benchtests/acos-inputs: Likewise.
7954
1b19c006
AM
79552014-01-10 Allan McRae <allan@archlinux.org>
7956
a46dab08
AM
7957 * po:sv.po: Update Swedish translation from translation project.
7958
421df74a
AM
7959 * po/vi.po: Update Vietnamese translation from translation project.
7960
d61c51a7
AM
7961 * po/eo.po: Update Esperanto translation from translation project.
7962
0339a319
AM
7963 * po/cs.po: Update Czech translation from translation project.
7964
94ad3e99
AM
7965 * po/nl.po: Update Dutch translation from translation project.
7966
e349ca71
AM
7967 * po/pl.po: Update Polish translation from translation project.
7968
ddf930c1
AM
7969 * po/ru.po: Update Russian translation from translation project.
7970
1b19c006
AM
7971 * po/uk.po: Update Ukrainian translation from translation project.
7972
9f236c49
BM
79732014-01-08 Brooks Moses <bmoses@google.com>
7974
7975 * elf/dl-load.c: Fix comment typo.
7976
cd6701cf
CD
79772014-01-08 Carlos O'Donell <carlos@redhat.com>
7978
7979 * po/header.pot: Rename to...
7980 * po/pot.header: ... this.
7981 * po/Makefile: Use pot.header.
7982
66671c84
YK
79832014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7984 Maxim Kuvyrkov <maxim@kugelworks.com>
7985
7986 [BZ #16394]
cd6701cf
CD
7987 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7988 SRC and DEST against LEN.
66671c84 7989
38f34581
AZ
79902014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7991
7992 [BZ #16414]
7993 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7994 implementation.
7995 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7996
79972014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7998
7999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8000
4c327f2a
JM
80012014-01-08 Joseph Myers <joseph@codesourcery.com>
8002
8003 [BZ #16408]
8004 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8005 for large positive arguments.
8006
b821f414
JM
80072014-01-07 Joseph Myers <joseph@codesourcery.com>
8008
1f0f2067
JM
8009 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8010
a5a326f6
JM
8011 * math/auto-libm-test-in: Mark various tests with
8012 xfail-rounding:ldbl-128ibm.
8013 * math/auto-libm-test-out: Regenerated.
8014
b821f414
JM
8015 [BZ #16407]
8016 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8017 Increase overflow threshold.
8018
94c8a4bc
OB
80192014-01-07 Ondřej Bílka <neleai@seznam.cz>
8020
8021 [BZ #14286]
8022 * stdio-common/vfprintf.c: Check for integer overflow.
8023
87ded0c3
AK
80242014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8025
8026 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8027 the first argument and return value of __tls_get_addr_internal.
8028
c5eebdd0
AK
80292014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8030
8031 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8032 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8033
05d138ef
AK
80342014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8035
8036 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8037 * sysdeps/s390/rtld-global-offsets.sym: New file.
8038 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8039 GLIBC_2.19 symbol.
8040 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8041 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8042 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8043 ... this.
8044 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8045 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8046 ... this.
8047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8048 Regenerate.
8049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8050 Regenerate.
8051 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8052 halfs of GPRs for high_gprs contexts.
8053 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8054 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8055 field.
8056 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8057 uc_flags field.
8058 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8059 64 bit versions:
8060 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8061 for high GPRs (uc_high_gprs) and for future extensions
8062 (__reserved).
8063 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8064 for future extensions (__reserved).
8065 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8066 64 bit versions:
8067 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8068 SC_HIGHGPRS offset definition.
8069 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8070 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8071
93a45ff1
AK
8072 * Versions.def: Add GLIBC_2.19 for libpthread.
8073 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8074 siglongjmp for libpthread with GLIBC_2.19 symver.
8075 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8076 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8077 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8078 * sysdeps/s390/__longjmp.c: New file.
8079 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8080 * sysdeps/s390/longjmp.c: New file.
8081 * sysdeps/s390/setjmp.S: New file.
8082 * sysdeps/s390/sigjmp.S: New file.
8083 * sysdeps/s390/v1-longjmp.c: New file.
8084 * sysdeps/s390/v1-setjmp.h: New file.
8085 * sysdeps/s390/v1-sigjmp.c: New file.
8086 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8087 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8088 GLIBC_2.19 version.
8089 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8090 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8091 versioned symbols for ____longjmp_chk.
8092 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8093 Likewise.
8094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8095 Regenerate.
8096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8097 Regenerate.
8098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8099 Regenerate.
8100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8101 Regenerate.
8102 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8103 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8104 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8105 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8106 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8107 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8108 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8109 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8110 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8111 * sysdeps/s390/rtld-__longjmp.c: New file.
8112 * sysdeps/s390/rtld-setjmp.S: New file.
8113
eb3fc44b
JM
81142014-01-06 Joseph Myers <joseph@codesourcery.com>
8115
8116 [BZ #16400]
8117 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8118 Return -__logl (x) for small positive arguments without evaluating
8119 a polynomial.
8120
9341dde4
MF
81212014-01-06 Mike Frysinger <vapier@gentoo.org>
8122
8123 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8124 Rename to ...
8125 (__ptrace_peeksiginfo_args): ... this.
8126 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8127 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8128 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8129
4cff0293
AM
81302014-01-06 Allan McRae <allan@archlinux.org>
8131
8132 * inet/netinet/in.h: Fix typo in comment.
8133
75595dcf
AJ
81342014-01-05 Andreas Jaeger <aj@suse.de>
8135
8136 * sysdeps/i386/fpu/libm-test-ulps: Update.
8137
79c1e109
AM
81382014-01-05 Allan McRae <allan@archlinux.org>
8139
dd804818
AM
8140 * po/libc.pot: Regenerated.
8141
79c1e109
AM
8142 * malloc/memusagestat.c: Fix gettext call formatting.
8143
0c813d1f
SK
81442014-01-04 Sami Kerola <kerolasa@iki.fi>
8145
8146 * nscd/nscd.c: Improve usage() output.
8147
20f4a8d9
MF
81482014-01-04 Mike Frysinger <vapier@gentoo.org>
8149
8150 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8151 * sysdeps/unix/sysv/linux/configure: Regenerated.
8152 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8153 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8154
22562bb2
JM
81552014-01-03 Joseph Myers <joseph@codesourcery.com>
8156
8157 [BZ #16390]
8158 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8159 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8160
d7ad2d9b
AZ
81612014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8162
8163 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8164 extra tokens at end of #undef directive.
8165 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8166 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8167 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8168
7dd009d8
JM
81692014-01-03 Joseph Myers <joseph@codesourcery.com>
8170
24db925a
JM
8171 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8172
7dd009d8
JM
8173 * math/auto-libm-test-in: Mark various tests with
8174 xfail-rounding:ldbl-128ibm.
8175 * math/auto-libm-test-out: Regenerated.
8176
396e3ecf
JM
81772014-01-02 Joseph Myers <joseph@codesourcery.com>
8178
819e5d50
JM
8179 [BZ #16386]
8180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8181 numbers with subnormal high part when calculating exponent.
8182
90b6a1e5
JM
8183 [BZ #16385]
8184 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8185 fabs.
8186
396e3ecf
JM
8187 [BZ #16384]
8188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8189 M_LN2l.
8190 (__ieee754_acoshl): Use __log1pl not __log1p.
8191
6c8dbf00
OB
81922013-01-02 Ondřej Bílka <neleai@seznam.cz>
8193
57f41c40
AS
8194 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8195 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8196 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8197 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8198 (reused_arena, arena_get2): Convert to GNU style.
8199 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8200 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8201 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8202 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8203 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8204 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8205 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8206 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8207 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8208 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8209 * malloc/malloc.h: Likewise.
57f41c40
AS
8210 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8211 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8212 * malloc/mcheck.h: Likewise.
57f41c40
AS
8213 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8214 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8215 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8216 * malloc/morecore.c (__default_morecore): Likewise.
8217 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8218 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8219 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8220 (print_and_abort): Likewise.
6c8dbf00
OB
8221 * malloc/obstack.h: Likewise.
8222 * malloc/set-freeres.c (__libc_freeres): Likewise.
8223 * malloc/tst-mallocstate.c (main): Likewise.
8224 * malloc/tst-mtrace.c (main): Likewise.
8225 * malloc/tst-realloc.c (do_test): Likewise.
8226
d4124212
SP
82272013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8228
9a3c6a6f
SP
8229 [BZ #16366]
8230 * nscd/netgroupcache.c (do_notfound): New function.
8231 (addgetnetgrentX): Use it.
8232
d4124212
SP
8233 [BZ # 16365]
8234 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8235 NSS_STATUS_NOTFOUND.
8236
97b9a009
JM
82372014-01-01 Joseph Myers <joseph@codesourcery.com>
8238
8239 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8241
d4697bc9
AM
82422014-01-01 Allan McRae <allan@archlinux.org>
8243
ddb3687f
AM
8244 * scripts/update-copyrights: Update configure input file suffix.
8245
88726d48
AM
8246 * NEWS: Update copyright year.
8247 * catgets/gencat.c: Likewise.
8248 * csu/version.c: Likewise.
8249 * debug/catchsegv.sh: Likewise.
8250 * debug/pcprofiledump.c: Likewise.
8251 * debug/xtrace.sh: Likewise.
8252 * elf/ldconfig.c: Likewise.
8253 * elf/ldd.bash.in: Likewise.
8254 * elf/pldd.c: Likewise.
8255 * elf/sotruss.ksh: Likewise.
8256 * elf/sprof.c: Likewise.
8257 * iconv/iconv_prog.c: Likewise.
8258 * iconv/iconvconfig.c: Likewise.
8259 * locale/programs/locale.c: Likewise.
8260 * locale/programs/localedef.c: Likewise.
8261 * login/programs/pt_chown.c: Likewise.
8262 * malloc/memusage.sh: Likewise.
8263 * malloc/memusagestat.c: Likewise.
8264 * malloc/mtrace.pl: Likewise.
8265 * manual/libc.texinfo: Likewise.
8266 * nscd/nscd.c: Likewise.
8267 * nss/getent.c: Likewise.
8268 * nss/makedb.c: Likewise.
8269 * posix/getconf.c: Likewise.
8270 * scripts/test-installation.pl: Likewise.
8271
d4697bc9
AM
8272 * All files with FSF copyright notices: Update copyright dates
8273 using scripts/update-copyrights.
8274 * intl/plural.c: Regenerated.
8275 * locale/programs/charmap-kw.h: Likewise.
8276 * locale/programs/locfile-kw.h: Likewise.
8277
c8590f9d
MF
82782013-12-31 Mike Frysinger <vapier@gentoo.org>
8279
8280 * sysdeps/unix/sysv/linux/configure: Regenerated.
8281 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8282 the linux/fanotify.h header.
8283 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8284 HAVE_LINUX_FANOTIFY_H is defined.
8285
b19221b9
SP
82862013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8287
dd1d85e5
SP
8288 * benchtests/cos-inputs: New inputs.
8289 * benchtests/sin-inputs: Likewise.
8290
1acbb90f
SP
8291 * benchtests/atan-inputs: New inputs. Fix name of multiple
8292 precision fallback inputs.
8293
4c012ed3
SP
8294 * benchtests/atanh-inputs: New inputs.
8295 * benchtests/tanh-inputs: Likewise.
8296
eff98324
SP
8297 * benchtests/acosh-inputs: New inputs.
8298 * benchtests/asinh-inputs: Likewise.
8299
ce641152
SP
8300 * benchtests/cosh-inputs: New inputs.
8301 * benchtests/sinh-inputs: Likewise.
8302
b19221b9
SP
8303 * benchtests/acos-inputs: Add more inputs.
8304 * benchtests/asin-inputs: Likewise.
8305
030a4976 83062013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8307
030a4976 8308 [BZ #16375]
9dcc8f11
VS
8309 * manual/arith.texi: Fix spelling.
8310 * manual/charset.texi: Likewise.
8311 * manual/errno.texi: Likewise.
8312 * manual/filesys.texi: Likewise.
8313 * manual/lang.texi: Likewise.
8314 * manual/llio.texi: Likewise.
8315 * manual/locale.texi: Likewise.
8316 * manual/message.texi: Likewise.
8317 * manual/resource.texi: Likewise.
8318 * manual/search.texi: Likewise.
8319 * manual/setjmp.texi: Likewise.
8320 * manual/stdio.texi: Likewise.
8321 * manual/string.texi: Likewise.
8322 * manual/sysinfo.texi: Likewise.
8323 * manual/time.texi: Likewise.
8324
11520a57
CD
83252013-12-27 Carlos O'Donell <carlos@redhat.com>
8326
8327 * po/sl.po: New file.
8328
471103ae
MF
83292013-12-27 Mike Frysinger <vapier@gentoo.org>
8330
8331 * .gitignore: Add core/.gdbinit/.gdb_history.
8332
6c9642ed
AM
83332013-12-27 Allan McRae <allan@archlinux.org>
8334
8335 [BZ #16369]
8336 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8337 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8338
3f637079
BM
83392013-12-24 Brooks Moses <bmoses@google.com>
8340
8341 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8342 all compilers that claim C++98 compliance, not just GCC.
8343 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8344 Likewise.
8345
abc26e99
MK
83462013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8347
8348 * NEWS: Restore accidentally deleted bug-fix entries.
8349
362b47fe
MK
83502013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8351 Ondřej Bílka <neleai@seznam.cz>
8352
8353 [BZ #15073]
8354 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8355 have_lock.
362b47fe 8356
b9bcbbcb
OB
83572013-12-23 Ondřej Bílka <neleai@seznam.cz>
8358
8359 [BZ #12986]
8360 * manual/stdio.texi (String Input Conversions): Clarify that character
8361 classes are not supported.
8362
fb55fcd2
AZ
83632013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8364
8365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8366
ef7344f0
JM
83672013-12-22 Joseph Myers <joseph@codesourcery.com>
8368
4f40e4b3
JM
8369 [BZ #16337]
8370 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8371 Calculate results for small negative arguments directly rather
8372 than using reflection formula with special underflow handling.
8373
ef7344f0
JM
8374 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8375 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8376 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8377 (fchflags): Likewise.
8378 (revoke): Likewise.
8379 (setlogin): Likewise.
8380 (sigaltstack): Likewise.
8381 (wait4): Likewise.
8382 (sigblock): Remove.
8383 (sigsetmask): Likewise.
8384 (wait3): Likewise.
8385 (waitpid): Likewise.
8386 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8387 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8388 file.
8389 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8390 * sysdeps/unix/bsd/Makefile: ... here.
8391 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8392 * sysdeps/unix/bsd/Versions: ... here.
8393 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8394 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8395 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8396 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8397 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8398 * sysdeps/unix/bsd/sigblock.c: ... here.
8399 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8400 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8401 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8402 * sysdeps/unix/bsd/sigvec.c: ... here.
8403 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8404 * sysdeps/unix/bsd/tcdrain.c: ... here.
8405 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8406 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8407 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8408 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8409 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8410 * sysdeps/unix/bsd/wait.c: ... here.
8411 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8412 * sysdeps/unix/bsd/wait3.c: ... here.
8413 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8414 * sysdeps/unix/bsd/waitpid.c: ... here.
8415
5b0626b9
JM
84162013-12-21 Joseph Myers <joseph@codesourcery.com>
8417
8418 [BZ #16356]
8419 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8420 round-to-nearest for [!USE_AS_EXPM1L].
8421 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8422 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8423 more tests of exp and exp10. Expect some exp10 tests to miss
8424 exceptions or fail in directed rounding modes.
8425 * math/auto-libm-test-out: Regenerated.
8426 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8427 (exp10_test_tonearest): New function.
8428 (exp10_towardzero_test_data): New array.
8429 (exp10_test_towardzero): New function.
8430 (exp10_downward_test_data): New array.
8431 (exp10_test_downward): New function.
8432 (exp10_upward_test_data): New array.
8433 (exp10_test_upward): New function.
8434 (main): Call the new functions.
8435 * sysdeps/i386/fpu/libm-test-ulps: Update.
8436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8437
7fda5682
JM
84382013-12-20 Joseph Myers <joseph@codesourcery.com>
8439
31e3a405
JM
8440 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8441 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8442 * math/auto-libm-test-out: Regenerated.
8443 * math/libm-test.inc (acosh_test_data): Add more tests.
8444 (atanh_test_data): Likewise.
8445 (ceil_test_data): Likewise.
8446 (copysign_test_data): Likewise.
8447 * sysdeps/i386/fpu/libm-test-ulps: Update.
8448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8449
85bff96a
JM
8450 * timezone/checktab.awk: Update from tzcode 2013i.
8451 * timezone/private.h: Likewise.
8452 * timezone/scheck.c: Likewise.
8453 * timezone/tzfile.h: Likewise.
8454 * timezone/tzselect.ksh: Likewise.
8455 * timezone/zdump.c: Likewise.
8456 * timezone/zic.c: Likewise.
8457
b7867a3b
JM
8458 * math/auto-libm-test-in: Add tests of cpow.
8459 * math/auto-libm-test-out: Regenerated.
8460 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8461 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
8462 mpc_cc_c.
8463 (func_calc_desc): Add mpc_cc_c union field.
8464 (test_functions): Add cpow.
8465 (special_fill_2pi): New function.
8466 (special_real_inputs): Add 2pi.
8467 (calc_generic_results): Handle mpc_cc_c.
8468 * sysdeps/i386/fpu/libm-test-ulps: Update.
8469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8470
7fda5682
JM
8471 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8472 csqrt, ctan and ctanh.
8473 * math/auto-libm-test-out: Regenerated.
8474 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8475 (TEST_COND_x86): Likewise.
8476 (ccos_test_data): Use AUTO_TESTS_c_c.
8477 (ccosh_test_data): Likewise.
8478 (cexp_test_data): Likewise.
8479 (clog_test_data): Likewise.
8480 (csqrt_test_data): Likewise.
8481 (ctan_test_data): Likewise.
8482 (ctan_tonearest_test_data): Likewise.
8483 (ctan_towardzero_test_data): Likewise.
8484 (ctan_downward_test_data): Likewise.
8485 (ctan_upward_test_data): Likewise.
8486 (ctanh_test_data): Likewise.
8487 (ctanh_tonearest_test_data): Likewise.
8488 (ctanh_towardzero_test_data): Likewise.
8489 (ctanh_downward_test_data): Likewise.
8490 (ctanh_upward_test_data): Likewise.
8491 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8492 mpc_c_c.
8493 (func_calc_desc): Add mpc_c_c union field.
8494 (FUNC_mpc_c_c): New macro.
8495 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8496 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8497 ctanh.
8498 (special_fill_min_subnorm_p120): New function.
8499 (special_real_inputs): Add min_subnorm_p120.
8500 (calc_generic_results): Handle mpc_c_c.
8501 * sysdeps/i386/fpu/libm-test-ulps: Update.
8502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8503
5ff8d60e
SP
85042013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8505
57f41c40
AS
8506 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8507 (do_sin_slow): New functions.
8508 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8509 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 8510
84ba214c
SP
8511 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8512 Use M to change sign of result instead of X. Assume X is
8513 positive.
8514 (csloww1): Likewise.
8515 (__sin): Adjust.
8516 (__cos): Adjust.
8517
975195e4
SP
8518 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8519 arguments A and DA.
8520 (__sin): Adjust.
8521 (__cos): Likewise.
8522
5ff8d60e
SP
8523 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8524 (__cos): Likewise.
8525 (sloww1): Don't adjust sign of DX.
8526 (csloww1): Likewise.
8527 (sloww2): Use X directly and don't adjust sign of DX.
8528 (csloww2): Likewise.
8529
eb983568
JM
85302013-12-19 Joseph Myers <joseph@codesourcery.com>
8531
64a17f1a
JM
8532 * math/auto-libm-test-in: Add tests of cabs and carg.
8533 * math/auto-libm-test-out: Regenerated.
8534 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8535 (carg_test_data): Likewise.
8536 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8537 mpc_c_f.
8538 (func_calc_desc): Add mpc_c_f union field.
8539 (test_functions): Add cabs and carg.
8540 (calc_generic_results): Handle mpc_c_f.
8541
eb983568
JM
8542 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8543 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8544 as a macro and a compat symbol.
8545 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8546 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8547 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8548 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8549 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8550 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8551 not use .hidden.
8552 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8553 Likewise.
8554 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8555 Likewise.
8556 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8557 Likewise.
8558 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8559 Likewise.
8560 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8561 Likewise.
8562 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8563 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8564 from GLIBC_2.3.2.
8565
6eeb678a
AZ
85662013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8567
8568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8569
6f6fc482
JM
85702013-12-19 Joseph Myers <joseph@codesourcery.com>
8571
21fea2e2
JM
8572 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8573 trailing whitespace removed.
8574 * scripts/config.guess: Update to version 2013-11-29.
8575 * scripts/config.sub: Update to version 2013-10-01.
8576
6f6fc482
JM
8577 * math/auto-libm-test-in: Add tests of sincos.
8578 * math/auto-libm-test-out: Regenerated.
8579 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8580 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8581 mpfr_f_11.
8582 (func_calc_desc): Add mpfr_f_11 union field.
8583 (test_functions): Add sincos.
8584 (calc_generic_results): Handle mpfr_f_11.
8585 * sysdeps/i386/fpu/libm-test-ulps: Update.
8586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8587
83f5c32d
AS
85882013-12-19 Andreas Schwab <schwab@suse.de>
8589
8590 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8591 CALL_MCOUNT.
8592 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8593 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8594 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8595
c688b419
JM
85962013-12-19 Joseph Myers <joseph@codesourcery.com>
8597
335ee092
JM
8598 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8599 * sysdeps/i386/fpu/libm-test-ulps: Update.
8600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8601
f88acd39
JM
8602 [BZ #16293]
8603 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8604 round-to-nearest mode when using frndint.
8605 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8606 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8607 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8608 Likewise.
8609 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8610 sinh test to fail.
8611 * math/auto-libm-test-out: Regenerated.
8612 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8613 (TEST_COND_x86): Likewise.
8614 (expm1_tonearest_test_data): New array.
8615 (expm1_test_tonearest): New function.
8616 (expm1_towardzero_test_data): New array.
8617 (expm1_test_towardzero): New function.
8618 (expm1_downward_test_data): New array.
8619 (expm1_test_downward): New function.
8620 (expm1_upward_test_data): New array.
8621 (expm1_test_upward): New function.
8622 (main): Run the new test functions.
8623 * sysdeps/i386/fpu/libm-test-ulps: Update.
8624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8625
c688b419
JM
8626 * include/features.h: Update comment documenting feature test
8627 macros. Mention _DEFAULT_SOURCE in comment.
8628 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8629 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8630 _BSD_SOURCE and _SVID_SOURCE.
8631 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8632 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8633 !_SVID_SOURCE]: Likewise.
8634 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8635 (__USE_POSIX_IMPLICITLY): Define.
8636 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8637 (_POSIX_SOURCE): Undefine and redefine.
8638 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8639 (_POSIX_C_SOURCE): Likewise.
8640 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8641 (Feature Test Macros): Update documentation of default features.
8642
9f6e964c
RS
86432013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8644
8645 * benchtests/Makefile: Add bench-strtok.
8646 * benchtests/bench-strtok.c: New file: strtok benchtest.
8647
ee0a148a
AM
86482013-12-19 Allan McRae <allan@archlinux.org>
8649
8650 * manual/install.texi: Suppress menu for plain text output.
8651 * INSTALL: Regenerated.
8652
b9ab448f
BM
86532013-12-18 Brooks Moses <bmoses@google.com>
8654
8655 [BZ #15846]
8656 * misc/getauxval.c: Include errno.h.
8657 (__getauxval): Set errno to ENOENT if the requested type is not
8658 found.
8659 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8660 don't declare with __attribute_const__.
8661 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8662 * manual/startup.texi: Document that getauxval sets errno.
8663
23776487
JM
86642013-12-18 Joseph Myers <joseph@codesourcery.com>
8665
f889953b
JM
8666 * math/auto-libm-test-in: Add tests of jn and yn.
8667 * math/auto-libm-test-out: Regenerated.
8668 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8669 (yn_test_data): Likewise.
8670 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8671 mpfr_if_f.
8672 (func_calc_desc): Add mpfr_if_f union field.
8673 (FUNC_mpfr_if_f): New macro.
8674 (test_functions): Add jn and yn.
8675 (calc_generic_results): Assert type of second input for
8676 mpfr_ff_f. Handle mpfr_if_f.
8677 (output_for_one_input_case): Disable all checking for arguments
8678 fitting floating-point types in case of an integer argument.
8679 * sysdeps/i386/fpu/libm-test-ulps: Update.
8680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8681
23776487
JM
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8683 Don't expect fegetround reference in libm.so.
8684
cb756c6d
MS
86852013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8686
8687 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8688 $(config-cflags-nofma).
8689
2dec468f
JM
86902013-12-18 Joseph Myers <joseph@codesourcery.com>
8691
5953eb3a
JM
8692 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8693 * math/auto-libm-test-out: Regenerated.
8694
2dec468f
JM
8695 [BZ #16338]
8696 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8697 to determine exponent and adjust argument to have exponent of -1.
8698 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8699 log2.
8700 * math/auto-libm-test-out: Regenerated.
8701 * sysdeps/i386/fpu/libm-test-ulps: Update.
8702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8703
4d84e6ad
OB
87042013-12-18 Ondřej Bílka <neleai@seznam.cz>
8705
8706 * manual/probes.texi: Remove cases when per-thread arenas are
8707 disabled.
8708
1818483b
AS
87092013-12-18 Andreas Schwab <schwab@suse.de>
8710
8711 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8712 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8713 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8714 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8715 * sysdeps/i386/i686/multiarch/Makefile: Update.
8716 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8717
25de95bf
JM
87182013-12-17 Joseph Myers <joseph@codesourcery.com>
8719
8720 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8721 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8722
674762d9
PE
87232013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8724
ed27ed83 8725 [BZ #15968]
0748546f
PE
8726 Support TZ transition times < 00:00:00.
8727 This is needed for version-3 tz-format files; it supports time
8728 stamps past 2037 for America/Godthab (the only entry in the tz
8729 database for which this change is relevant).
8730 * manual/time.texi (TZ Variable): Document transition times
8731 from -167:59:59 through -00:00:01.
8732 * time/tzset.c (tz_rule): Time of day is now signed.
8733 (__tzset_parse_tz): Parse negative time of day.
8734
4480e934
PE
8735 Document TZ transition times >= 25:00:00.
8736 * manual/time.texi (TZ Variable): Document transition times from
8737 25:00:00 through 167:59:59. These are already supported, and this
8738 support will help with version-3 tz-format files.
8739
69947401
PE
8740 * manual/time.texi (TZ Variable): Modernize North America example
8741 to reflect current (i.e., 2007-and-later) daylight saving rules.
8742
674762d9
PE
8743 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8744
7011c262
JM
87452013-12-17 Joseph Myers <joseph@codesourcery.com>
8746
2fc6557e
JM
8747 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8748 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8749 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8750 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8751 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8752 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8753 * sysdeps/unix/bsd/clock.c: Likewise.
8754 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8755 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8756 * sysdeps/unix/bsd/init-posix.c: Likewise.
8757 * sysdeps/unix/bsd/poll.c: Likewise.
8758 * sysdeps/unix/bsd/ptsname.c: Likewise.
8759 * sysdeps/unix/bsd/seekdir.c: Likewise.
8760 * sysdeps/unix/bsd/setegid.c: Likewise.
8761 * sysdeps/unix/bsd/seteuid.c: Likewise.
8762 * sysdeps/unix/bsd/setgid.c: Likewise.
8763 * sysdeps/unix/bsd/setrgid.c: Likewise.
8764 * sysdeps/unix/bsd/setruid.c: Likewise.
8765 * sysdeps/unix/bsd/setsid.c: Likewise.
8766 * sysdeps/unix/bsd/setuid.c: Likewise.
8767 * sysdeps/unix/bsd/sigaction.c: Likewise.
8768 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8769 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8770 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8771 * sysdeps/unix/bsd/telldir.c: Likewise.
8772 * sysdeps/unix/bsd/times.c: Likewise.
8773 * sysdeps/unix/bsd/usleep.c: Likewise.
8774
029c7b25
JM
8775 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8776 ($(objpfx)libbsd-compat.a): Remove rule.
8777
7011c262
JM
8778 * include/features.h (__FAVOR_BSD): Do not define.
8779 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8780 features conflicting with POSIX.
8781 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8782 (_BSD_SOURCE): Remove description of not being a subset of other
8783 feature test macros.
8784 * manual/job.texi (getpgrp): Do not document BSD version.
8785 (getpgid): Do not document by reference to BSD getpgrp.
8786 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8787 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8788 * signal/signal.h [__FAVOR_BSD]: Likewise.
8789 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8790 instead of making contents conditional on [__FAVOR_BSD].
8791 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8792
affb6f78
AZ
87932013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8794
8795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8796
c88769dd
JM
87972013-12-17 Joseph Myers <joseph@codesourcery.com>
8798
6432a540
JM
8799 [BZ #16314]
8800 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8801 values below 2**-450, not 2**-500.
8802 * math/auto-libm-test-in: Don't allow spurious underflow from
8803 hypot.
8804 * math/auto-libm-test-out: Regenerated.
8805
c88769dd
JM
8806 [BZ #16316]
8807 [BZ #16330]
8808 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8809 values of ha and hb and sort them after adjusting subnormal
8810 arguments.
8811 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8812 Likewise.
8813 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8814 values of ea and eb and sort them after adjusting subnormal
8815 arguments.
8816 * math/auto-libm-test-in: Do not expect some hypot tests of
8817 subnormals to fail. Add more hypot tests.
8818 * math/auto-libm-test-out: Regenerated.
8819
29618f6b
KK
88202013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8821
8822 [BZ #13304]
8823 * sysdeps/sh/s_fma.c: New file.
8824 * sysdeps/sh/s_fmaf.c: New file.
8825 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8826 version.
8827 * sysdeps/sh/Implies: Add sh/soft-fp.
8828
eacfdfbf
RM
88292013-12-16 Roland McGrath <roland@hack.frob.com>
8830
8831 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8832 level of indirection to members `objname', `errstring', `malloced'.
8833 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8834 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8835 it as the __longjmp argument (just pass 1 instead).
8836 (_dl_catch_error): Initialize C with argument pointers and address of
8837 volatile local ERRCODE rather than copying values out of C at return.
8838
ff362e5b
JM
88392013-12-16 Joseph Myers <joseph@codesourcery.com>
8840
8841 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8842 * math/auto-libm-test-out: Regenerated.
8843 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8844 (hypot_test_data): Likewise.
8845 (pow_test_data): Likewise.
8846 (pow_tonearest_test_data): Likewise.
8847 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8848 mpfr_ff_f.
8849 (func_calc_desc): Add mpfr_ff_f union field.
8850 (FUNC_mpfr_ff_f): New macro.
8851 (test_functions): Add atan2, hypot and pow.
8852 (special_fill_min): New function.
8853 (special_fill_minus_min): Likewise.
8854 (special_fill_min_subnorm): Likewise.
8855 (special_fill_minus_min_subnorm): Likewise.
8856 (special_real_inputs): Add min, -min, min_subnorm and
8857 -min_subnorm.
8858 (calc_generic_results): Handle mpfr_ff_f.
8859 * sysdeps/i386/fpu/libm-test-ulps: Update.
8860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8861
5764c27f
WN
88622013-12-16 Will Newton <will.newton@linaro.org>
8863
8864 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8865 (Aligned Memory Blocks): Add documentation for aligned_alloc
8866 and suggest it as an alternative to posix_memalign.
8867 (Hooks for Malloc): Document __memalign_hook is also called
8868 for aligned_alloc. (Summary of Malloc): Add summary for
8869 aligned alloc. Document __memalign_hook is also called
8870 for aligned_alloc.
8871
0a096e44
WN
88722013-12-16 Will Newton <will.newton@linaro.org>
8873
8874 * manual/memory.texi (Malloc Examples): Clarify default
8875 alignment documentation. Suggest posix_memalign rather
8876 than memalign or valloc.
8877 (Aligned Memory Blocks): Remove suggestion to use memalign
8878 or valloc. Remove obsolete comment about BSD.
8879 Document memalign errno values and mark the function obsolete.
8880 Document posix_memalign returned error codes. Mark valloc
8881 as obsolete. (Hooks for Malloc): __memalign_hook is also
8882 called for posix_memalign and valloc.
8883 (Summary of Malloc): Add posix_memalign to function summary.
8884 __memalign_hook is also called for posix_memalign and valloc.
8885
8d561986
SP
88862013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8887
8888 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8889 TAYLOR_SIN.
8890 (__sin): Adjust.
8891 (__cos): Likewise.
8892 (sloww): Use mynumber union. Expand ternary operator into
8893 if-else statements.
8894 (cslow): use mynumber union.
8895
73616a74
AM
88962013-12-16 Allan McRae <allan@archlinux.org>
8897
9e8ac24b
AM
8898 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8899 * configure: Regenerated.
8900
6f8e37eb
AM
8901 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8902
8894bad3
AM
8903 [BZ #14120]
8904 * configure.ac: Added --enable-maintainer-mode. Check for
8905 autoconf when enabled.
8906 * configure: Regenerated.
8907
73616a74
AM
8908 * nscd/nscd.service: New file.
8909 * nscd/nscd.tmpfiles: New file.
8910
584b18eb
OB
89112013-12-14 Ondřej Bílka <neleai@seznam.cz>
8912
8913 [BZ #12100]
8914 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8915 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8916 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8917 (strstr): Add __strstr_sse2_unaligned ifunc.
8918 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8919 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8920 (strcasestr): Remove __strcasestr_sse42 ifunc.
8921 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8924
8a5c7897
KK
89252013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8926
8927 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8928 * sysdeps/sh/bits/fenv.h: ... here.
8929 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8930
fd712ef3
AZ
89312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8932
8933 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8934
42fcb46c
AZ
8935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8936 hypotf multiarch implementations.
8937 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8938 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8939 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8940 multiarch hypot for PPC64.
8941 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8942 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8943 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8944 multiarch hypotf for PPC64.
8945
83efded4
AZ
8946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8947 modff multiarch implementations.
8948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8951 multiarch modf for PPC64.
8952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8955 multiarch modff for PPC64.
8956
43e246d2
AZ
8957 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8958 and logl multiarch implementations.
8959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8962 multiarch logb for PPC64.
8963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8966 multiarch logb for PPC64.
8967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8970 multiarch logb for PPC64.
8971
8fdad123
AZ
8972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8973 isinff multiarch implementation.
8974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8975 file.
8976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8978 multiarch isinf for PPC64.
8979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8980 file.
8981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8982 multiarch isinff for PPC64.
8983
1481d706
AZ
8984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8985 finitef multiarch implementation.
8986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8987 file.
8988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8990 multiarch finite for PPC64.
8991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8992 file.
8993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8994 multiarch finitef for PPC64.
8995
5ccd5fc8
AZ
8996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8997 lrint multiarch implementation.
8998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8999 file.
9000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9002 multiarch llrint for PPC64.
9003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9004 multiarch lrint for PPC64.
9005
2568f3fa
AZ
9006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9007 copysignf multiarch implementation.
9008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9009 file.
9010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9011 file.
9012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9013 multiarch copysign for PPC64.
9014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9015 multiarch copysignf for PPC64.
9016
1cb341fd
AZ
9017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9018 multiarch implementation.
9019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9020 file.
9021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9022 file.
9023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9024 file.
9025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9026 file.
9027 multiarch llround for PPC64.
9028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9029 multiarch trunc for PPC64.
9030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9031 multiarch truncf for PPC64.
9032
59a3e194
AZ
9033 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9034 multiarch implementation.
9035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9036 file.
9037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9038 file.
9039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9040 file.
9041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9042 file.
9043 multiarch llround for PPC64.
9044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9045 multiarch round for PPC64.
9046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9047 multiarch roundf for PPC64.
9048
357fd3b4
AZ
9049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9050 multiarch implementation.
9051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9052 file.
9053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9054 file.
9055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9056 file.
9057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9058 file.
9059 multiarch llround for PPC64.
9060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9061 multiarch floor for PPC64.
9062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9063 multiarch floorf for PPC64.
9064
96770f12
AZ
9065 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9066 multiarch implementation.
9067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9068 file.
9069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9070 file.
9071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9072 file.
9073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9074 file.
9075 multiarch llround for PPC64.
9076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9077 multiarch ceil for PPC64.
9078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9079 multiarch ceilf for PPC64.
9080
c3627f6e
AZ
9081 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9082 multiarch implementation.
9083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9084 file.
9085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9086 file.
9087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9088 file.
9089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9090 multiarch llround for PPC64.
9091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9092 multiarch lround for PPC64.
9093
b2284ad7
AZ
9094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9095 multiarch implementation.
9096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9099 file.
9100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9103 multiarch isnan for PPC64.
9104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9105 multiarch isnanf for PPC64.
9106
69bbc63d
AZ
9107 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9108 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9109 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9110 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9111 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9113
c24517c9
AZ
9114 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9115 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9118
a52374e8
AZ
9119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9120 multiarch implementations.
9121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9122 (__libc_ifunc_impl_list): Likewise.
9123 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9124 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9125 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9126 multiarch stpcpy for PPC64.
9127
7f5ec113
AZ
9128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9129 multiarch implementations.
9130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9131 (__libc_ifunc_impl_list): Likewise.
9132 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9133 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9134 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9135 multiarch strcpy for PPC64.
9136
e28bcd42
AZ
9137 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9138 redefine function name.
9139 (_wordcopy_fwd_dest_aligned): Likewise.
9140 (_wordcopy_bwd_aligned): Likewise.
9141 (_wordcopy_bwd_dest_aligned): Likewise.
9142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9143 multiarch implementations.
9144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9145 (__libc_ifunc_impl_list): Likewise.
9146 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9147 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9148 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9149 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9150 multiarch wcscpy for PPC64.
9151
92cacfce
AZ
9152 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9153 multiarch implementations.
9154 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9155 (__libc_ifunc_impl_list): Likewise.
9156 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9157 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9158 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9159 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9160 multiarch wcscpy for PPC64.
9161
7b714620
AZ
9162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9163 multiarch implementations.
9164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9165 (__libc_ifunc_impl_list): Likewise.
9166 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9167 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9168 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9169 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9170 multiarch wcsrchr for PPC64.
9171
16fd2ae3
AZ
9172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9173 multiarch implementations.
9174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9175 (__libc_ifunc_impl_list): Likewise.
9176 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9177 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9178 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9179 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9180 multiarch wcschr for PPC64.
9181
9ee2969b
AZ
9182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9183 multiarch implementations.
9184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9185 (__libc_ifunc_impl_list): Likewise.
9186 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9187 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9188 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9189 multiarch strchrnul for PPC64.
9190
372dc060
AZ
9191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9192 implementations.
9193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9194 (__libc_ifunc_impl_list): Likewise.
9195 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9196 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9197 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9198 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9199 strchr for PPC64.
9200
24c2c3b9
AZ
9201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9202 implementations.
9203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9204 (__libc_ifunc_impl_list): Likewise.
9205 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9206 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9207 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9208 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9209 strncmp for PPC64.
9210
1c92d9a0
AZ
9211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9212 multiarch implementations.
9213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9214 (__libc_ifunc_impl_list): Likewise.
9215 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9216 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9217 strncasecmp for PPC64.
9218 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9219 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9220 multiarch strncasecmp_l for PPC64.
9221
17de3ee3
AZ
9222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9223 multiarch implementations.
9224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9225 (__libc_ifunc_impl_list): Likewise.
9226 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9227 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9228 multiarch strcasecmp for PPC64.
9229 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9230 file.
9231 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9232 multiarch strcasecmp_l for PPC64.
9233
62982bf9
AZ
9234 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9235 implementations.
9236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9237 (__libc_ifunc_impl_list): Likewise.
9238 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9239 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9240 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9241 strnlen for PPC64.
9242
a65f4904
AZ
9243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9244 implementations.
9245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9246 (__libc_ifunc_impl_list): Likewise.
9247 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9248 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9249 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9250 strlen for PPC64.
9251
1fd005ad
AZ
9252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9253 implementations.
9254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9255 (__libc_ifunc_impl_list): Likewise.
9256 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9257 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9258 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9259 rawmemrchr for PPC64.
9260
cd05ba91
AZ
9261 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9262 implementation.
9263 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9264 (__libc_ifunc_impl_list): Likewise.
9265 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9266 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9267 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9268 memrchr for PPC64.
9269
870f8676
AZ
9270 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9271 implementation.
9272 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9273 (__libc_ifunc_impl_list): Likewise.
9274 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9275 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9276 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9277 memchr for PPC64.
9278
f00be62b
AZ
9279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9280 implementation.
9281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9282 (__libc_ifunc_impl_list): Likewise.
9283 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9284 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9285 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9286 mempcpy for PPC64.
9287
8a29a3d0
AZ
9288 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9289 avoid cretion of __bzero symbol.
9290 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9291 Likewise.
9292 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9293 Likewise.
9294 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9295 Likewise.
9296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9297 multiarch implementations.
9298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9299 (__libc_ifunc_impl_list): Likewise.
9300 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9301 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9302 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9303 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9304 bzero for PPC32.
9305 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9306 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9307 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9308 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9309 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9310 memset for PPC64.
9311 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9312
07253fcf
AZ
9313 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9315 implementations.
9316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9317 (__libc_ifunc_impl_list): Likewise.
9318 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9319 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9320 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9321 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9322 memcmp for PPC64.
9323
b5beafbc
AZ
9324 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9325 multiarch for POWER/PPC64.
9326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9327 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9328 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9329 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9330 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9331 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9332 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9333 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9334 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9335 memcpy for PPC64.
9336
5e6a4d4b
AZ
9337 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9338 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9339 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9340 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9341 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9342 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9343 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9344 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9345 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9346 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9347 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9348 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9349 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9350 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9351 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9359
ddfab6dc
KK
93602013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9361
9362 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9363
19b5525e
SP
93642013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9365
9366 * benchtests/Makefile (bench): Add exp2 and log2.
9367 (LDLIBS-bench-exp2): Add -lm.
9368 (LDLIBS-bench-log2): Likewise.
9369 * benchtests/exp2-inputs: New inputs file.
9370 * benchtests/log2-inputs: New inputs file.
9371 * benchtests/log-inputs: Add new inputs.
9372 * benchtests/tan-inputs: Likewise.
9373
196f7f5d
SP
93742013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9375
7a74607f
SP
9376 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9377 definition...
57f41c40
AS
9378 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9379 (csloww2): ... from here.
7a74607f 9380
196f7f5d
SP
9381 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9382 instead of structures.
9383 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9384 (POLYNOMIAL): Likewise.
9385 (TAYLOR_SLOW): Likewise.
9386 (__sin): Likewise.
9387 (__cos): Likewise.
9388 (slow1): Likewise.
9389 (slow2): Likewise.
9390 (sloww): Likewise.
9391 (sloww1); Likewise.
9392 (sloww2): Likewise.
9393 (bsloww1): Likewise.
9394 (bsloww2): Likewise.
9395 (cslow2): Likewise.
9396 (csloww): Likewise.
9397 (csloww1): Likewise.
9398 (csloww2): Likewise.
9399
0dfa665c
OB
94002013-12-10 Ondřej Bílka <neleai@seznam.cz>
9401
9402 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9403 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9404 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9405 * malloc/hooks.c (realloc_check): Likewise.
9406
5782a80f
OB
9407 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9408 * malloc/arena.c: Remove PER_THREAD conditional.
9409 [!PER_THREAD]: Remove code.
9410 (ptmalloc_unlock_all2): Likewise.
9411 (ptmalloc_init): Likewise.
9412 (_int_new_arena): Likewise.
9413 (arena_get2): Likewise.
9414 * malloc/hooks.c (__malloc_get_state): Likewise.
9415 (__malloc_set_state): Likewise.
9416 * malloc/malloc.c: Likewise.
9417 (struct malloc_state): Likewise.
9418 (struct malloc_par): Likewise.
9419 (__libc_realloc): Likewise.
9420 (__libc_mallopt): Likewise.
9421
aeb95445
AZ
94222013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9423
9424 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9425
e8349efd
OB
94262013-12-09 Ondřej Bílka <neleai@seznam.cz>
9427
9428 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9429 macro to a function. Check for zero perturb_byte.
9430 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9431
f3eeb3fc 9432 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9433 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9434 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9435 force_reg by atomic_forced_read.
9436 * malloc/arena.c (ptmalloc_init): Likewise.
9437 * malloc/hooks.c (top_check): Likewise.
9438
be2f9009
AZ
94392013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9440
9441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9442
e7b914bd
MT
94432013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9444
9445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9446
9f0be4f8
JM
94472013-12-08 Joseph Myers <joseph@codesourcery.com>
9448
9449 * math/auto-libm-test-in: Add tests of lgamma.
9450 * math/auto-libm-test-out: Regenerated.
9451 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9452 (M_LOG_2_SQRT_PIl): Likewise.
9453 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9454 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9455 mpfr_f_f1.
9456 (func_calc_desc): Add mpfr_f_f1 union field.
9457 (ARGS1): New macro.
9458 (ARGS2): Likewise.
9459 (ARGS3): Likewise.
9460 (ARGS4): Likewise.
9461 (RET1): Likewise.
9462 (RET2): Likewise.
9463 (CALC): Likewise.
9464 (FUNC): Likewise.
9465 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9466 (test_functions): Add lgamma.
9467 (calc_generic_results): Handle mpfr_f_f1.
9468 * sysdeps/i386/fpu/libm-test-ulps: Update.
9469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9470
24eeafdb
AZ
94712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9472
9473 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9474 __mpn_add_n for PowerPC64/POWER7.
9475 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9476 __mpn_sub_n for PowerPC64/POWER7.
9477
4a2c0fd4
AZ
9478 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9479 __mpn_addmul_1 for PowerPC64.
9480 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9481 __mpn_submul_1 for PowerPC64.
9482 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9483 for PowerPC64.
9484 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9485 for PowerPC64.
9486
4b5b548c
FS
94872013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9488
9489 [BZ #15089]
9490 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9491
0a3ac0aa
AZ
94922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9493
9494 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9495
ccdc8438
AZ
9496 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9497 add multiarch folders.
9498 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9499 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9500 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9501 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9502 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9503 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9504 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9505 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9506 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9507 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9508 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9515
2e973d99
AZ
9516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9517 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9519 New file.
9520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9521 New file.
9522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9523 multiarch __ieee754_hypot for PowerPC32.
9524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9525 New file.
9526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9527 New file.
9528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9529 multiarch __ieee754_hypotf for PowerPC32.
9530
2d9470b2
AZ
9531 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9532 long_double_symbol only if __logbl is defined.
9533 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9534 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9535 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9536 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9537 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9538 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9539 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9540 path for implementation.
9541 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9542 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9544 logb, and logbl multiarch implementations for PowerPC32.
9545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9546 file.
9547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9548 file.
9549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9550 multiarch logb for PowerPC32.
9551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9552 file.
9553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9554 file.
9555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9556 multiarch logbf for PowerPC32.
9557 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9559 file.
9560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9561 multiarch logbl implementation for PowerPC32.
9562
5212ffce
AZ
9563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9564 and modff multiarch implementations.
9565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9566 New file.
9567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9568 New file.
9569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9570 multiarch modf for PowerPC32.
9571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9572 New file.
9573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9574 New file.
9575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9576 multiarch modff for PowerPC32.
9577
79dccf31
AZ
9578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9579 and lrintf multiarch implementations.
9580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9581 New file.
9582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9583 New file.
9584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9585 multiarch lrint for PowerPC32.
9586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9587 file: multiarch lrintf for PowerPC32.
9588
deb66480
AZ
9589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9590 and lroundf multiarch implementations.
9591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9592 New file.
9593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9594 New file.
9595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9596 New file.
9597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9598 multiarch lround for PowerPC32.
9599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9600 file: multiarch lroundf for PowerPC32.
9601
264b036b
AZ
9602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9603 copysign and copysignf multiarch implementations.
9604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9605 New file.
9606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9607 New file.
9608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9609 file: multiarch copysign for PowerPC32.
9610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9611 file: multiarch copysignf for PowerPC32.
9612
d47db6c9
AZ
9613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9614 and truncf multiarch implementations.
9615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9616 New file.
9617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9618 file.
9619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9620 multiarch trunc for PowerPC32.
9621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9622 New file.
9623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9624 New file.
9625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9626 multiarch truncf for PowerPC32.
9627
ddb60b5a
AZ
9628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9629 and roundf multiarch implementations.
9630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9631 New file.
9632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9633 file.
9634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9635 multiarch round for PowerPC32.
9636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9637 New file.
9638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9639 New file.
9640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9641 multiarch roundf for PowerPC32.
9642
bedcf49b
AZ
9643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9644 and floorf multiarch implementations.
9645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9646 New file.
9647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9648 file.
9649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9650 multiarch floor for PowerPC32.
9651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9652 New file.
9653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9654 New file.
9655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9656 multiarch floorf for PowerPC32.
9657
35ae5b40
AZ
9658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9659 and ceilf multiarch implementations.
9660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9661 New file.
9662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9663 file.
9664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9665 multiarch ceil for PowerPC32.
9666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9667 New file.
9668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9669 file.
9670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9671 multiarch ceilf for PowerPC32.
9672
ae1a4cd9
AZ
9673 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9674 is defined.
9675 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9676 FINITEF is defined.
9677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9678 and finitef multiarch implementations.
9679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9680 New file.
9681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9682 file.
9683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9684 multiarch finite for PowerPC32.
9685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9686 New file.
9687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9688 file: multiarch finitef for PowerPC32.
9689
64fffd65
AZ
9690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9691 and isinff multiarch implementations.
9692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9693 file.
9694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9695 file.
9696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9697 multiarch isinf for PowerPC32.
9698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9699 New file.
9700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9701 multiarch isinff for PowerPC32.
9702
8e4e7ba2
AZ
9703 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9704 alias when __isnan is defined.
9705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9706 and isnanf multiarch implementations.
9707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9708 file.
9709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9710 file.
9711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9712 file.
9713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9714 file.
9715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9716 multiarch isnan for PowerPC32.
9717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9718 New file.
9719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9720 New file.
9721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9722 multiarch isnanf for PowerPC32.
9723
ddba588e
AZ
9724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9725 and sqrtf multiarch implementations.
9726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9727 file.
9728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9729 file.
9730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9731 multiarch sqrt for PowerPC32.
9732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9733 file.
9734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9735 file.
9736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9737 multiarch sqrtf for PowerPC32.
9738
0f96a2f0
AZ
9739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9740 and llroundf multiarch implementations.
9741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9742 New file.
9743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9744 New file.
9745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9746 New file.
9747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9748 file: multiarch llround for PowerPC32.
9749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9750 file: multiarch llroundf for PowerPC32.
9751
c9b5d79e
AZ
9752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9753 multiarch PowerPC32 fpu implementations.
9754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9755 New file.
9756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9757 New file.
9758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9759 multiarch llrint for PowerPC32.
9760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9761 New file.
9762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9763 New file.
9764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9765 file.
9766
9cbb3aab
AZ
9767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9768
ea5a72f8
AZ
9769 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9770 file.
9771 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9772 file.
9773 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9774 file.
9775 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9776 multiarch wordcopy for PPC32.
9777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9778 wordcopy objects.
9779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9780 (__libc_ifunc_impl_list): Likewise.
9781 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9782 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9783 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9784 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9785 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9786 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9787
93be09e7
AZ
9788 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9789 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9790 file.
9791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9792 file.
9793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9794 file.
9795 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9796 multiarch wcscpy for PPC32.
9797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9798 multiarch objects.
9799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9800 (__libc_ifunc_impl_list): Likewise.
9801 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9802 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9803 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9804 sysdeps/powerpc/power6/wcscpy.c.
9805
bb04e529
AZ
9806 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9807 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9808 file.
9809 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9810 file.
9811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9812 file.
9813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9814 multiarch wcsrchr for PPC32.
9815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9816 multiarch objects.
9817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9818 (__libc_ifunc_impl_list): Likewise.
9819 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9820 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9821 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9822 sysdeps/powerpc/power6/wcsrchr.c.
9823
05b5cd1c
AZ
9824 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9825 file.
9826 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9827 file.
9828 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9829 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9830 multiarch wcschr for PPc32.
9831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9832 multiarch objects.
9833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9834 (__libc_ifunc_impl_list): Likewise.
9835 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9836 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9837 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9838 sysdeps/powerpc/power6/wcschr.c.
9839
ba964147
AZ
9840 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9841 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9842 file.
9843 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9844 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9845 file: multiarch strchr for PPC32.
9846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9847 multiarch objects.
9848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9849 (__libc_ifunc_impl_list): Likewise.
9850
31c81aaa
AZ
9851 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9852 name.
9853 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9854 file.
9855 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9856 file.
9857 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9858 multiarch strchrnul for PPC32.
9859 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9860 multiarch objects.
9861 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9862 (__libc_ifunc_impl_list): Likewise.
9863
0d0607d9
AZ
9864 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9865 file.
9866 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9867 multiarch strncasecmp for PPC32.
9868 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9869 file.
9870 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9871 multiarch strncasecmp_l for PPC32.
9872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9873 strncasecmp multiarch objects.
9874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9875 (__libc_ifunc_impl_list): Likewise.
9876
4dfd5c86
AZ
9877 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9878 file.
9879 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9880 multiarch strncasecmp for PPC32.
9881 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9882 New file.
9883 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9884 multiarch strcasecmp_l for PPC32.
9885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9886 multiarch objects.
9887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9888 (__libc_ifunc_impl_list): Likewise.
9889
a19e01a3
AZ
9890 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9891 file.
9892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9893 file.
9894 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9895 multiarch strncmp for PPC32.
9896 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9897 multiarch objects.
9898 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9899 (__libc_ifunc_impl_list): Likewise.
9900
ae9cf7a2
AZ
9901 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9902 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9903 file.
9904 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9905 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9907 multiarch objects.
9908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9909 (__libc_ifunc_impl_list): Likewise.
9910
3148bb7d
AZ
9911 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9912 file.
9913 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9914 file.
9915 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9917 multiarch objects.
9918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9919 (__libc_ifunc_impl_list): Likewise.
9920
7af8b946
AZ
9921 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9922 file.
9923 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9924 file.
9925 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9926 multiarch rawmemchr for PPC32.
9927 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9928 multiarch objects.
9929 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9930 (__libc_ifunc_impl_list): Likewise.
9931
03a6aa6a
AZ
9932 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9933 file.
9934 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9935 file.
9936 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9937 file: memrchr multiarch for PPC32.
9938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9939 multiarch objects.
9940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9941 (__libc_ifunc_impl_list): Likewise.
9942
1c62e6d9
AZ
9943 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9944 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9945 file.
9946 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9947 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9948 multiarch memchr for PPC32.
9949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9950 multiarch objects.
9951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9952 (__libc_ifunc_impl_list): Likewise.
9953
87da8bdb
AZ
9954 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9955 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9956 file.
9957 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9958 file.
9959 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9960 file: multiarch mempcpy for PPC32.
9961 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9962 multiarch objects.
9963 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9964 (__libc_ifunc_impl_list): Likewise.
9965
20ed4714
AZ
9966 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9967 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9968 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9969 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9970 multiarch bzero for PPC32.
9971 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9972 file.
9973 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9974 file.
9975 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9976 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9977 file: multiarch memset for PPC32.
9978 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9980 memset multiarch objects.
9981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9982 (__libc_ifunc_impl_list): Likewise.
9983
ab3e3a46
AZ
9984 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9985 file.
9986 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9987 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9988 memcmp for PPC32.
9989 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9991 multiarch objects.
9992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9993 (__libc_ifunc_impl_list): Likewise.
9994
930de6f0
AZ
9995 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9996 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9997 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9998 file.
9999 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10000 file.
10001 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10002 file.
10003 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10004 multiarch memcpy for PPC32.
10005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10006 multiarch objects.
10007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10008 (__libc_ifunc_impl_list): Likewise.
10009
4c628e00
AZ
10010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10011 support multiarch for POWER/PPC32.
10012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10013 Likewise.
10014 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10016 Implies file to make multiarch folder appers before the fpu and
10017 default folder for power4 configuration.
10018
f4479220
SP
100192013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10020
10021 * scripts/bench.pl: Append volatile keyword to type.
10022
8517800f
KK
100232013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10024
10025 * sysdeps/sh/sotruss-lib.c: New file.
10026 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10027
180138f1
AZ
100282013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10029
10030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10031
bbf37bdc
JM
100322013-12-05 Joseph Myers <joseph@codesourcery.com>
10033
e47cc4e0
JM
10034 [BZ #6810]
10035 * math/w_tgamma.c: Include <errno.h>.
10036 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10037 * math/w_tgammaf.c: Include <errno.h>.
10038 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10039 * math/w_tgammal.c: Include <errno.h>.
10040 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10041 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10042 underflow. Add more tgamma tests.
10043 * math/auto-libm-test-out: Regenerated.
10044 * sysdeps/i386/fpu/libm-test-ulps: Update.
10045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10046
bbf37bdc
JM
10047 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10048 sin, sinh, tan, tanh, tgamma, y0 and y1.
10049 * math/auto-libm-test-out: Regenerated.
10050 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10051 (TEST_COND_x86): Likewise.
10052 (M_E2l): Remove macro.
10053 (M_E3l): Likewise.
10054 (M_2_SQRT_PIl): Likewise.
10055 (M_SQRT_PIl): Likewise.
10056 (M_1_DIV_El): Likewise.
10057 (log_test_data): Use AUTO_TESTS_f_f.
10058 (log10_test_data): Likewise.
10059 (log1p_test_data): Likewise.
10060 (log2_test_data): Likewise.
10061 (sin_test_data): Likewise.
10062 (sin_tonearest_test_data): Likewise.
10063 (sin_towardzero_test_data): Likewise.
10064 (sin_downward_test_data): Likewise.
10065 (sin_upward_test_data): Likewise.
10066 (sinh_test_data): Likewise.
10067 (sinh_tonearest_test_data): Likewise.
10068 (sinh_towardzero_test_data): Likewise.
10069 (sinh_downward_test_data): Likewise.
10070 (sinh_upward_test_data): Likewise.
10071 (tan_test_data): Likewise.
10072 (tan_tonearest_test_data): Likewise.
10073 (tan_towardzero_test_data): Likewise.
10074 (tan_downward_test_data): Likewise.
10075 (tan_upward_test_data): Likewise.
10076 (tanh_test_data): Likewise.
10077 (tgamma_test_data): Likewise.
10078 (y0_test_data): Likewise.
10079 (y1_test_data): Likewise.
10080 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10081 (special_real_inputs): Add pi/4.
10082 * sysdeps/i386/fpu/libm-test-ulps: Update.
10083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10084
eb5ad6b9
AZ
100852013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10086
10087 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10088 "longjmp_target" static probes.
10089 (__longjmp): Rename to __longjmp_symbol.
10090 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10091 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10092 on which longjmp to generate.
10093 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10094 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10095 probe.
10096 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10097 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10098 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10099 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10100 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10101 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10103 __longjmp_symbol based on which __longjmp to generate.
10104 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10105 probe.
10106 (setjmp): Rename to setjmp_symbol.
10107 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10108 (_setjmp): Rename to _setjmp_symbol.
10109 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10110 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10111 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10112 which setjmp to generate.
10113 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10114 "longjmp_target" static probes.
10115
d136c6dc
SP
101162013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10117
9298ecba
SP
10118 * benchtests/README: Add note about output arguments.
10119 * benchtests/bench-sincos.c: Remove file.
10120 * benchtests/sincos-inputs: New file.
10121 * scripts/bench.pl: Identify output arguments and define
10122 static variables for them.
10123
232983e9
SP
10124 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10125
d136c6dc
SP
10126 [BZ #15941]
10127 * Makefile (INSTALL): Add install-plain.texi as the primary
10128 dependency.
10129 * manual/install-plain.texi: New file.
10130 * manual/install.texi: Include node directive only for
10131 non-plaintext output.
10132
699ff837
JM
101332013-12-04 Joseph Myers <joseph@codesourcery.com>
10134
ab07cea8
JM
10135 * stdlib/longlong.h: Update from GCC.
10136
699ff837
JM
10137 [BZ #6807]
10138 [BZ #15901]
10139 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10140 * math/w_j0f.c (y0f): Likewise.
10141 * math/w_j0l.c (__y0l): Likewise.
10142 * math/w_j1.c (y1): Likewise.
10143 * math/w_j1f.c (y1f): Likewise.
10144 * math/w_j1l.c (__y1l): Likewise
10145 * math/w_jn.c (yn): Likewise.
10146 * math/w_jnf.c (ynf): Likewise.
10147 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10148 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10149 value for Bessel function domain errors outside _SVID_ mode.
10150 Adjust sign of return value for yn (negative integer, 0).
10151 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10152 by zero in return for negative x and set sign appropriately for
10153 negative n.
10154 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10155 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10156 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10157 expectations in error cases.
10158 (y1_test_data): Likewise.
10159 (yn_test_data): Likewise.
10160 * sysdeps/i386/fpu/libm-test-ulps: Update.
10161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10162
5b118558
UW
101632013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10164
10165 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10166 "64" to "64-v1". Add "64-v2".
10167 (abi-64-options): Rename to ...
10168 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10169 (abi-64-condition): Rename to ...
10170 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10171 (abi-64-ld-soname): Rename to ...
10172 (abi-64-v1-ld-soname): ... this.
10173 (abi-64-v2-options): Define.
10174 (abi-64-v2-condition): Likewise.
10175 (abi-64-v2-ld-soname): Likewise.
10176 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10177 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10181
61cd8fe4
UW
101822013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10183 Alan Modra <amodra@gmail.com>
10184
10185 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10186 New versions for use with the ELFv2 ABI.
10187 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10188 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10189 declaration.
10190 (struct La_ppc64v2_retval): Likewise.
10191 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10192 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10193 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10194 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10195 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10196 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10197 Do not save or restore CR.
10198 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10199 (_dl_profile_resolve): Do no save or restore CR. Support extended
10200 return values for ELFv2 ABI. Fix location of FPR return registers.
10201 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10202 updated values for _CALL_ELF == 2.
10203 (La_regs, La_retval, int_retval): Likewise.
10204
8b8a692c
UW
102052013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10206
10207 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10208 (FRAME_MIN_SIZE_PARM): Likewise.
10209 (FRAME_BACKCHAIN): Likewise.
10210 (FRAME_CR_SAVE): Likewise.
10211 (FRAME_LR_SAVE): Likewise.
10212 (FRAME_TOC_SAVE): Likewise.
10213 (FRAME_PARM_SAVE): Likewise.
10214 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10215 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10216 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10217 (call_mcount_parm_offset): New macro.
10218 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10219 (PROF): Use symbolic stack frame offsets.
10220 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10221 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10222 Redefine in terms of FRAME_MIN_SIZE.
10223 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10224 (_dl_profile_resolve): Likewise. Update comment.
10225 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10226 symbols stack frame offsets.
10227 (__sigsetjmp): Likewise.
10228 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10229 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10230 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10231 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10232
10233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10234 (FRAME_BACKCHAIN): Remove.
10235 (FRAME_CR_SAVE): Likewise.
10236 (FRAME_LR_SAVE): Likewise.
10237 (FRAME_COMPILER_DW): Likewise.
10238 (FRAME_LINKER_DW): Likewise.
10239 (FRAME_TOC_SAVE): Likewise.
10240 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10241 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10242 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10243 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10245 (CHECK_SP): Use symbolic stack frame offsets.
10246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10247 zone" instead of caller's parameter save area for temp storage.
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10249 Likewise. Also, use symbolic stack frame offsets.
10250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10251 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10252 our own stack frame instead of the caller's.
10253 (__socket): Use symbolic stack frame offsets.
10254
122b66de
UW
102552013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10256 Alan Modra <amodra@gmail.com>
10257
10258 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10259 Define.
57f41c40
AS
10260 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10261 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10262 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10263 New function.
10264 (elf_machine_fixup_plt): Call it.
10265 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10266 reloc arguments.
10267 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10268 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10269 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10270 r2 before calling target.
10271
696caf1d
UW
102722013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10273 Alan Modra <amodra@gmail.com>
10274
10275 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10276 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10277 versions of macros to support ELFv2 ABI.
10278 (LOCALENTRY): New macro.
10279 (ENTRY, EALIGN): Use it.
10280 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10281 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10282 fall through into ENTRY entry point.
10283 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10284 Only define if _CALL_ELF != 2.
10285
10286 (elf_machine_matches_host): Verify ABI version matches.
10287 (RTLD_START): Use LOCALENTRY.
10288 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10289 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10290 (PLT_ENTRY_WORDS): New macro.
10291 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10292 (elf_machine_runtime_setup): Support ELFv2 ABI.
10293 (elf_machine_fixup_plt): Likewise.
10294 (elf_machine_plt_conflict): Likewise.
10295 (resolve_ifunc): Likewise.
10296 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10297 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10298 Likewise.
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10300 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10302 (makecontext): Support ELFv2 ABI.
10303 * elf/elf.h (EF_PPC64_ABI): Define.
10304
d31beafa
UW
103052013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10306
57f41c40
AS
10307 * sysdeps/powerpc/powerpc64/sysdep.h
10308 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10309 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10310 (ENTRY) [ASSEMBLER]: ... but instead here ...
10311 (EALIGN) [ASSEMBLER]: ... and here.
10312 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10313 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10314 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10315 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10316 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10317 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10318 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10319 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10321 Use PPC64_LOAD_FUNCPTR.
10322
b525166b
UW
10323 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10324
7ec07d9a
AM
103252013-12-04 Alan Modra <amodra@gmail.com>
10326
10327 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10328 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10329 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10330 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10331
10332 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10333 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10334 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10335 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10336 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10337 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10338
5162e7dd
UW
103392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10340
10341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10342 (__makecontext): Fix incorrect CFI when backtracing out of
10343 context created via makecontext.
10344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10345 (__setcontext): Fix incorrect CFI during switch to new context.
10346 (__novec_setcontext): Likewise.
10347
19e3372b
OB
103482013-12-04 Ondřej Bílka <neleai@seznam.cz>
10349
10350 [BZ #4772]
10351 * time/strptime_l.c (__strptime_internal): Allow modifiers
10352 in strptime.
10353 * time/tst-strptime.c (day_tests): Add testcase.
10354
ecaf142d
SP
103552013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10356
10357 * scripts/bench.pl: Skip over blank lines.
10358
fbf964ae
PE
103592013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10360
10361 [BZ #926]
10362 * manual/time.texi (Calendar Time): Clarify what timezone functions
10363 use.
10364
fa60a674
AZ
103652013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10366
10367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10368
d674f0ef
OB
103692013-12-04 Ondřej Bílka <neleai@seznam.cz>
10370
10371 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10372 implementation.
10373 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10374 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10375 * debug/memset_chk.c (__memset_chk): Likewise.
10376 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10377 * debug/strncpy_chk.c: Likewise.
10378
17dea188
JM
103792013-12-03 Joseph Myers <joseph@codesourcery.com>
10380
749008ff
JM
10381 [BZ #15268]
10382 [BZ #15425]
10383 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10384 (__ieee754_exp): For possibly underflowing results, check size of
10385 result and force underflow exception if required.
10386 * math/auto-libm-test-in: Add more tests of exp.
10387 * math/auto-libm-test-out: Regenerated.
10388 * sysdeps/i386/fpu/libm-test-ulps: Update.
10389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10390
17dea188
JM
10391 [BZ #16283]
10392 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10393 * math/w_exp2f.c (__exp2f): Likewise.
10394 * math/w_exp2l.c (__exp2l): Likewise.
10395 * math/auto-libm-test-in: Do not allow missing errno on exp2
10396 underflow.
10397 * math/auto-libm-test-out: Regenerated.
10398
b20de2c3
OB
103992013-12-03 Ondřej Bílka <neleai@seznam.cz>
10400
10401 [BZ #16274]
10402 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10403 handle filename validation.
10404 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10405 (do_open): Delete.
10406
d8e2dbe3
JM
104072013-12-03 Joseph Myers <joseph@codesourcery.com>
10408
34e16df5
JM
10409 [BZ #6786]
10410 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10411 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10412 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10413 <float.h>.
10414 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10415 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10416 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10417 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10418 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10419 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10420 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10421 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10422 Add more erfc tests.
10423 * math/auto-libm-test-out: Regenerated.
10424 * sysdeps/i386/fpu/libm-test-ulps: Update.
10425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10426
d8e2dbe3
JM
10427 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10428 exp2, expm1, j0 and j1.
10429 * math/auto-libm-test-out: Regenerated.
10430 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10431 (erfc_test_data): Likewise.
10432 (exp_test_data): Likewise.
10433 (exp_tonearest_test_data): Likewise.
10434 (exp_towardzero_test_data): Likewise.
10435 (exp_downward_test_data): Likewise.
10436 (exp_upward_test_data): Likewise.
10437 (exp10_test_data): Likewise.
10438 (exp2_test_data): Likewise.
10439 (expm1_test_data): Likewise.
10440 (j0_test_data): Likewise.
10441 (j1_test_data): Likewise.
10442 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10443 (input_flag_type): Add flag_xfail_rounding.
10444 (input_flags): Add xfail-rounding.
10445 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10446 (output_for_one_input_case): Handle flag_xfail_rounding.
10447 * sysdeps/i386/fpu/libm-test-ulps: Update.
10448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10449
18d14251
AJ
104502013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10451
3d2e6075 10452 [BZ #16289]
18d14251
AJ
10453 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10454 division by 0.
10455
520d437b
SP
104562013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10457
10458 [BZ #16195]
10459 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10460 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10461 (STAP_PROBE0): New macro.
10462 (STAP_PROBE1): Likewise.
10463 (STAP_PROBE2): Likewise.
10464 (STAP_PROBE3): Likewise.
10465 (STAP_PROBE4): Likewise.
10466
416e0145
OB
104672013-12-02 Ondřej Bílka <neleai@seznam.cz>
10468
10469 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10470
9d17796a
SE
104712013-12-02 Steve Ellcey <sellcey@mips.com>
10472
10473 * benchtests/Makefile (bench): Add sqrt.
10474 (LDLIBS-bench-sqrt): New.
10475 * benchtests/sqrt-input: New.
10476
f524d6a8
PS
104772013-12-02 Pavel Simerda <psimerda@redhat.com>
10478
639a0ef8
PS
10479 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10480 (GAIH_EAI): Likewise.
10481 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10482 (gaih_inet): Likewise.
10483 (getaddrinfo): Don't use GAIH_EAI.
10484
f524d6a8
PS
10485 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10486 (struct gaih): Remove definition.
10487
df3aedaf
SP
104882013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10489
10490 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10491 Use HERRNOP directly.
10492
1ab19dec
AZ
104932013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10494
b42ad38d 10495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 10496
176b0c79
JM
104972013-11-30 Joseph Myers <joseph@codesourcery.com>
10498
10499 * math/gen-auto-libm-tests.c (test_functions): Add more
10500 single-argument functions.
10501 (special_fill_pi_2): New function.
10502 (special_fill_minus_pi_2): Likewise.
10503 (special_fill_pi_6): Likewise.
10504 (special_fill_minus_pi_6): Likewise.
10505 (special_fill_pi_3): Likewise.
10506 (special_fill_2pi_3): Likewise.
10507 (special_fill_e): Likewise.
10508 (special_fill_1_e): Likewise.
10509 (special_fill_e_minus_1): Likewise.
10510 (special_real_inputs): Add more special inputs.
10511 (output_for_one_input_case): Do not require ERANGE on underflow to
10512 zero if round-to-nearest result does not underflow to zero, unless
10513 exact results required.
10514 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10515 atan, atanh, cbrt, cos and cosh.
10516 * math/auto-libm-test-out: Regenerated.
10517 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10518 (acos_tonearest_test_data): Likewise.
10519 (acos_towardzero_test_data): Likewise.
10520 (acos_downward_test_data): Likewise.
10521 (acos_upward_test_data): Likewise.
10522 (acosh_test_data): Likewise.
10523 (asin_test_data): Likewise.
10524 (asin_tonearest_test_data): Likewise.
10525 (asin_towardzero_test_data): Likewise.
10526 (asin_upward_test_data): Likewise.
10527 (asinh_test_data): Likewise.
10528 (atan_test_data): Likewise.
10529 (atanh_test_data): Likewise.
10530 (cbrt_test_data): Likewise.
10531 (cos_test_data): Likewise.
10532 (cos_tonearest_test_data): Likewise.
10533 (cos_towardzero_test_data): Likewise.
10534 (cos_downward_test_data): Likewise.
10535 (cos_upward_test_data): Likewise.
10536 (cosh_test_data): Likewise.
10537 (cosh_tonearest_test_data): Likewise.
10538 (cosh_towardzero_test_data): Likewise.
10539 (cosh_downward_test_data): Likewise.
10540 (cosh_upward_test_data): Likewise.
10541 * sysdeps/i386/fpu/libm-test-ulps: Update.
10542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10543
ffb536d0
JM
105442013-11-29 Joseph Myers <joseph@codesourcery.com>
10545
2a77a467
JM
10546 [BZ #6787]
10547 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10548 * math/w_exp10f.c (__exp10f): Likewise.
10549 * math/w_exp10l.c (__exp10l): Likewise.
10550 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10551 errno settings in existing tests.
10552
ea3bc4e8
JM
10553 [BZ #14032]
10554 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10555 precision control set to double precision.
10556 * sysdeps/i386/fpu/w_sqrt.c: New file.
10557 * math/auto-libm-test-in: Add more tests.
10558 * math/auto-libm-test-out: Update.
10559
0712c9d8
JM
10560 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10561 (sqrt_test_tonearest): New function.
10562 (sqrt_towardzero_test_data): New variable.
10563 (sqrt_test_towardzero): New function.
10564 (sqrt_downward_test_data): New variable.
10565 (sqrt_test_downward): New function.
10566 (sqrt_upward_test_data): New variable.
10567 (sqrt_test_upward): New function.
10568 (main): Call the new functions.
10569
ffb536d0
JM
10570 * math/gen-auto-libm-tests.c: New file.
10571 * math/auto-libm-test-in: Likewise.
10572 * math/auto-libm-test-out: New generated file.
10573 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10574 variables.
10575 (%beautify): Add generated representations of zero.
10576 (top level): Set $auto_input and call parse_auto_input.
10577 (beautify): Remove trailing "f" from hex float constants.
10578 (parse_args): Handle XFAIL_TEST.
10579 (convert_condition): New function.
10580 (or_value): Likewise.
10581 (or_cond_value): Likewise.
10582 (generate_testfile): Handle AUTO_TESTS_* lines.
10583 (parse_auto_input): New function.
10584 * math/libm-test.inc (XFAIL_TEST): New macro.
10585 (ERRNO_UNCHANGED): Update value.
10586 (ERRNO_EDOM): Likewise.
10587 (ERRNO_ERANGE): Likewise.
10588 (IGNORE_RESULT): Likewise.
10589 (TEST_COND_flt_32): New macro.
10590 (TEST_COND_dbl_64): Likewise.
10591 (TEST_COND_ldbl_96_intel): Likewise.
10592 (TEST_COND_ldbl_96_m68k): Likewise.
10593 (TEST_COND_ldbl_128): Likewise.
10594 (TEST_COND_ldbl_128ibm): Likewise.
10595 (TEST_COND_long32): Likewise.
10596 (TEST_COND_long64): Likewise.
10597 (TEST_COND_before_rounding): Likewise.
10598 (TEST_COND_after_rounding): Likewise.
10599 (enable_test): Handle XFAIL_TEST flag.
10600 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10601 with finite results.
10602 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10603 auto-libm-test-out.
10604
acd98a8e
AK
106052013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10606 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10607
10608 [BZ #16214]
10609 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10610 __tls_get_addr_internal instead of __tls_get_offset in order to
10611 avoid GOT pointer dependency. Make rtld export
10612 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10613 __tls_get_addr since we are a __tls_get_offset platform.
10614 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10615 GOT pointer being set up before.
10616 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10617
3c1c46a6
JM
106182013-11-28 Joseph Myers <joseph@codesourcery.com>
10619
7475aef5
JM
10620 * manual/math.texi (Errors in Math Functions): Document accuracy
10621 goals.
10622
8bca7cd8
JM
10623 [BZ #15004]
10624 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10625 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10626 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10627 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10628 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10629 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10630 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10631 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10632 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10633 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10634 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10635 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10636 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10637 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10638 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10639 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10640
91a1f3fe
JM
10641 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10642 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10643 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10644 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10645 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10646 Likewise.
10647 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10648 Likewise.
10649 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10650 Likewise.
10651 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10652 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10653 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10654 atomic-feupdateenv and flt-rounds.
10655 * sysdeps/powerpc/nofpu/Versions (libc): Add
10656 __atomic_feholdexcept, __atomic_feclearexcept,
10657 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10658 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10659 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10660 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10661 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10662 here.
10663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10664 Update.
10665
c5df7609
JM
10666 * manual/arith.texi (FP Exceptions): Document that exceptions may
10667 not be raised when matherr is used.
10668 (Math Error Reporting): Document overflow in directed rounding
10669 modes. Document that errno may not be set when finite values are
10670 returned on overflow. Document intent to set errno on underflow
10671 only for underflow to zero.
10672
3c1c46a6
JM
10673 [BZ #16271]
10674 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10675 round-to-nearest then adjust result for other rounding modes.
10676 * include/fenv.h (fegetround): Use libm_hidden_proto.
10677 * math/fegetround.c (fegetround): Use libm_hidden_def.
10678 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10679 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10680 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10681 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10682 Likewise.
10683 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10684 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10685 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10686 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10687
5a4c6d53
SP
106882013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10689
10690 [BZ #16077]
10691 * nss/Versions (libnss_files): Add
10692 _nss_files_gethostbyname3_r.
10693 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10694 New function.
10695 (HOST_DB_LOOKUP): Remove macro.
10696 (_nss_files_gethostbyname_r): Implement function without the
10697 HOST_DB_LOOKUP macro.
10698 (_nss_files_gethostbyname2_r): Likewise.
10699
897b98ba
OB
107002013-11-28 Ondřej Bílka <neleai@seznam.cz>
10701
10702 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10703
6f476861
UB
107042013-11-26 Uros Bizjak <ubizjak@gmail.com>
10705
10706 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10707 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10708 warning.
10709
bd12ab55
AZ
107102013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10711
10712 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10713 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10714 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10715 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10716 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10717 __fe_nomask_env_priv and attribute_hidden.
10718 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10719 (libc_feupdateenv_test_ppc): Likewise.
10720 (libc_feresetround_ppc): Likewise.
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10722 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10723 compat_symbol macro.
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10725 (__fe_nomask_env): Likewise.
10726 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10727
52bb6543
OB
107282013-11-26 Ondřej Bílka <neleai@seznam.cz>
10729
10730 * string/Makefile: Remove ifunc tests.
10731 * string/test-string.h: Define TEST_IFUNC.
10732 * string/test-bcopy-ifunc.c: Remove.
10733 * string/test-bzero-ifunc.c: Likewise.
10734 * string/test-memccpy-ifunc.c: Likewise.
10735 * string/test-memchr-ifunc.c: Likewise.
10736 * string/test-memcmp-ifunc.c: Likewise.
10737 * string/test-memcpy-ifunc.c: Likewise.
10738 * string/test-memmem-ifunc.c: Likewise.
10739 * string/test-memmove-ifunc.c: Likewise.
10740 * string/test-mempcpy-ifunc.c: Likewise.
10741 * string/test-memrchr-ifunc.c: Likewise.
10742 * string/test-memset-ifunc.c: Likewise.
10743 * string/test-rawmemchr-ifunc.c: Likewise.
10744 * string/test-stpcpy-ifunc.c: Likewise.
10745 * string/test-stpncpy-ifunc.c: Likewise.
10746 * string/test-strcasecmp-ifunc.c: Likewise.
10747 * string/test-strcasestr-ifunc.c: Likewise.
10748 * string/test-strcat-ifunc.c: Likewise.
10749 * string/test-strchr-ifunc.c: Likewise.
10750 * string/test-strchrnul-ifunc.c: Likewise.
10751 * string/test-strcmp-ifunc.c: Likewise.
10752 * string/test-strcpy-ifunc.c: Likewise.
10753 * string/test-strcspn-ifunc.c: Likewise.
10754 * string/test-strlen-ifunc.c: Likewise.
10755 * string/test-strncasecmp-ifunc.c: Likewise.
10756 * string/test-strncat-ifunc.c: Likewise.
10757 * string/test-strncmp-ifunc.c: Likewise.
10758 * string/test-strncpy-ifunc.c: Likewise.
10759 * string/test-strnlen-ifunc.c: Likewise.
10760 * string/test-strpbrk-ifunc.c: Likewise.
10761 * string/test-strrchr-ifunc.c: Likewise.
10762 * string/test-strspn-ifunc.c: Likewise.
10763 * string/test-strstr-ifunc.c: Likewise.
10764
ab260039 107652013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10766
10767 * benchtests/Makefile: Remove ifunc tests.
10768 * benchtests/bench-string.h: Define TEST_IFUNC.
10769 * benchtests/bench-bcopy-ifunc.c: Remove.
10770 * benchtests/bench-bzero-ifunc.c: Likewise.
10771 * benchtests/bench-memccpy-ifunc.c: Likewise.
10772 * benchtests/bench-memchr-ifunc.c: Likewise.
10773 * benchtests/bench-memcmp-ifunc.c: Likewise.
10774 * benchtests/bench-memcpy-ifunc.c: Likewise.
10775 * benchtests/bench-memmem-ifunc.c: Likewise.
10776 * benchtests/bench-memmove-ifunc.c: Likewise.
10777 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10778 * benchtests/bench-memrchr-ifunc.c: Likewise.
10779 * benchtests/bench-memset-ifunc.c: Likewise.
10780 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10781 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10782 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10783 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10784 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10785 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10786 * benchtests/bench-strcat-ifunc.c: Likewise.
10787 * benchtests/bench-strchr-ifunc.c: Likewise.
10788 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10789 * benchtests/bench-strcmp-ifunc.c: Likewise.
10790 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10791 * benchtests/bench-strcpy-ifunc.c: Likewise.
10792 * benchtests/bench-strcspn-ifunc.c: Likewise.
10793 * benchtests/bench-strlen-ifunc.c: Likewise.
10794 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10795 * benchtests/bench-strncat-ifunc.c: Likewise.
10796 * benchtests/bench-strncmp-ifunc.c: Likewise.
10797 * benchtests/bench-strncpy-ifunc.c: Likewise.
10798 * benchtests/bench-strnlen-ifunc.c: Likewise.
10799 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10800 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10801 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10802 * benchtests/bench-strspn-ifunc.c: Likewise.
10803 * benchtests/bench-strstr-ifunc.c: Likewise.
10804
108052013-11-26 Ondřej Bílka <neleai@seznam.cz>
10806
ab260039
OB
10807 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10808
d1d9eaf4 108092013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10810
d1d9eaf4
OB
10811 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10812 * rt/aio.h: Likewise.
10813 * sysdeps/gnu/bits/utmp.h: Likewise.
10814 * sysdeps/gnu/bits/utmpx.h: Likewise.
10815 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10816 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10817 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10818 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10819 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10820 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10821 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10822 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10823 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10824 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10825 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10826 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10827 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10829 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10830 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10831 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10832 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10833 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10834 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10835 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10836 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10837 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10838 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10839 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10840 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10841 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10842 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10843 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10844 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10845 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10846 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10847 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10848 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10849 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10850 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10851 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10852 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10853 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10854 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10855 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10856 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10857
a7624ed9
CD
108582013-11-25 Carlos O'Donell <carlos@redhat.com>
10859
10860 [BZ #16245]
10861 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10862 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10863
63cfe52b
JM
108642013-11-25 Joseph Myers <joseph@codesourcery.com>
10865
10866 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10867 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10868 Likewise.
10869
41e8926a
AZ
108702013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10871
10872 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10873 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10874 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10875 (__fesetround): Remove define.
10876 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10877 rounding and exceptions handling.
10878 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10879 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10880 (__fe_nomask_env): Likewise.
10881 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10882 __fegetround instead of fegetround.
10883 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10884 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10885
6851bd4d
RM
108862013-11-21 Roland McGrath <roland@hack.frob.com>
10887
070906ff
RM
10888 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10889 it's there.
10890
6851bd4d
RM
10891 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10892
84ae135d
MI
108932013-11-21 Meador Inge <meadori@codesourcery.com>
10894
10895 [BZ #11157]
10896 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10897 (encrypt_r): Likewise.
10898 * malloc/obstack.h (obstack_free): Likewise.
10899 * posix/unistd.h (encrypt): Likewise.
10900
daf75146
GM
109012013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10902
10903 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10904 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10905 DL_CALL_DT_FINI() that call the functions directly.
10906 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10907 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10908 * elf/dl-fini.c: Likewise.
10909
10ad46bc
OB
109102013-11-20 Ondřej Bílka <neleai@seznam.cz>
10911
10912 * malloc/hooks.c (memalign_check): Add alignment rounding.
10913 * malloc/malloc.c (_mid_memalign): New function.
10914 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10915 Implement by calling _mid_memalign.
10916 * manual/probes.texi (Memory Allocation Probes): Remove
10917 memory_valloc_retry and memory_pvalloc_retry.
10918
f3fd2628
SP
109192013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10920
4712799f
SP
10921 * locale/programs/locarchive.c (open_archive): Add const
10922 qualifier to ARCHIVEFNAME and copy default fname to
10923 DEFAULT_FNAME.
10924
0417b20f
SP
10925 [BZ #15601]
10926 * libio/tst-widetext.input: Rename Oriya to Odia.
10927 * locale/iso-639.def: Likewise.
10928
f3fd2628
SP
10929 * manual/probes.texi (Mathematical Function Probes): Add
10930 documentation for sin, cos, asin and acos probes.
10931 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10932 (__sin32): Add slowasin probe.
10933 (__cos32): Add slowacos probe.
10934 (__mpsin): Add slowsin probe.
10935 (__mpcos): Add slowcos probe.
10936
73c1ce4f
JM
109372013-11-19 Joseph Myers <joseph@codesourcery.com>
10938
10939 [BZ #15483]
10940 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10941 thread-local __sim_exceptions_thread and global
10942 __sim_exceptions_global.
10943 (__sim_disabled_exceptions): Change to thread-local
10944 __sim_disabled_exceptions_thread and global
10945 __sim_disabled_exceptions_global.
10946 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10947 and global __sim_round_mode_global.
10948 (__simulate_exceptions): Use thread-local floating-point state and
10949 set global state from it as needed.
10950 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10951 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10952 __sim_round_mode_thread.
10953 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10954 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10955 and global __sim_exceptions_global.
10956 (__sim_disabled_exceptions): Change to thread-local
10957 __sim_disabled_exceptions_thread and global
10958 __sim_disabled_exceptions_global.
10959 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10960 and global __sim_round_mode_global.
10961 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10962 (SIM_SET_GLOBAL): Likewise.
10963 * sysdeps/powerpc/soft-fp/sfp-machine.h
10964 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10965 __sim_round_mode_thread.
10966 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10967 __sim_disabled_exceptions_thread.
10968 (__sim_exceptions): Change to __sim_exceptions_thread.
10969 (__sim_disabled_exceptions): Change to
10970 __sim_disabled_exceptions_thread.
10971 (__sim_round_mode): Change to __sim_round_mode_thread.
10972 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10973 thread-local floating-point state and set global state from it as
10974 needed.
10975 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10976 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10977 (__sim_disabled_exceptions): Remove extern declaration.
10978 (feenableexcept): Use thread-local floating-point state and set
10979 global state from it as needed.
10980 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10981 extern declaration.
10982 (__sim_disabled_exceptions): Likewise.
10983 (__sim_round_mode): Likewise.
10984 (__fegetenv): Use thread-local floating-point state.
10985 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10986 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10987 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10988 floating-point state and set global state from it as needed.
10989 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10990 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10991 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10992 Likewise.
10993 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10994 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10995 Likewise.
10996 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10997 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10998 Use __sim_round_mode_thread.
10999 * math/test-fenv-tls.c: New file.
11000 * math/Makefile (tests): Add test-fenv-tls.
11001 ($(objpfx)test-fenv-tls): Depend on
11002 $(common-objpfx)nptl/libpthread.so.
11003
b5449b12
AS
110042013-11-19 Andreas Schwab <schwab@suse.de>
11005
11006 * locale/programs/locale.c (show_info): Decode wordarray elements.
11007 * locale/categories.def (LC_MONETARY): Add element for
11008 _NL_MONETARY_CRNCYSTR.
11009 * locale/C-monetary.c (conversion_rate): New variable.
11010 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11011 element.
11012
e186536b
CM
110132013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11014
11015 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11016 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11017
5c349950
PP
110182013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11019
11020 * elf/Makefile (tst-auxv): New test.
11021 * elf/tst-auxv.c: New
11022 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11023
699df45b
JM
110242013-11-18 Joseph Myers <joseph@codesourcery.com>
11025
11026 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11027 (hidden_proto): Caller changed.
11028 (hidden_tls_proto): New macro.
11029 (libc_hidden_tls_proto): Likewise.
11030 (rtld_hidden_tls_proto): Likewise.
11031 (libm_hidden_tls_proto): Likewise.
11032 (libresolv_hidden_tls_proto): Likewise.
11033 (librt_hidden_tls_proto): Likewise.
11034 (libdl_hidden_tls_proto): Likewise.
11035 (libnss_files_hidden_tls_proto): Likewise.
11036 (libnsl_hidden_tls_proto): Likewise.
11037 (libnss_nisplus_hidden_tls_proto): Likewise.
11038 (libutil_hidden_tls_proto): Likewise.
11039
b7589107
OB
110402013-11-18 Ondřej Bílka <neleai@seznam.cz>
11041
11042 [BZ #10253]
11043 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11044 (decompose_rpath): Defer expansion to fillin_rpath.
11045 (_dl_init_paths): Pass linkmap to fillin_rpath.
11046
250c23bd
RS
110472013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11048
11049 * benchtests/Makefile: Add strsep.
11050 * benchtests/bench-strsep.c: New file: strsep benchtest.
11051 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11052
a7931fcf
AS
110532013-11-18 Andreas Schwab <schwab@suse.de>
11054
11055 * locale/programs/locale.c (show_info) [case byte]: Check for
11056 '\377' instead of '\177'.
11057 * locale/C-monetary.c (not_available): Always use "\377".
11058 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11059 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11060 detect unavailable sign_posn locale elements.
11061 * locale/localeconv.c (__localeconv): For grouping and
11062 mon_grouping handle "\177" and "\377" like no grouping.
11063 (INT_ELEM): New macro. Use it to set all numeric members.
11064 * locale/programs/ld-monetary.c (monetary_read)
11065 <tok_mon_grouping>: Normalize single -1 to the empty string.
11066 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11067 Likewise.
11068
728dab0e
OB
110692013-11-07 Ondřej Bílka <neleai@seznam.cz>
11070
11071 [BZ #16055]
11072 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11073 when we match (nil).
11074 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11075
66294491
JM
110762013-11-16 Joseph Myers <joseph@codesourcery.com>
11077
ce665817
JM
11078 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11079 (NO_TEST_INLINE): Update value.
11080 (ERRNO_UNCHANGED): Likewise.
11081 (ERRNO_EDOM): Likewise.
11082 (ERRNO_ERANGE): Likewise.
11083 (IGNORE_RESULT): Likewise.
11084 (check_float_internal): Check signs of NaN results if
11085 TEST_NAN_SIGN used.
11086 (check_complex): Pass TEST_NAN_SIGN flag through to second
11087 check_float_internal call.
11088 (copysign_test_data): Add tests with quiet NaNs as second
11089 argument. Use TEST_NAN_SIGN.
11090 (fabs_test_data): Add test of negative quiet NaN argument. Use
11091 TEST_NAN_SIGN.
11092 (signbit_test_data): Add tests of quiet NaN argument.
11093 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11094
ee1466a9
JM
11095 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11096 $ignore_result.
11097 (parse_args): Handle function results specified as IGNORE.
11098 * math/libm-test.inc (IGNORE_RESULT): New macro.
11099 (check_float_internal): Do not check numerical result if flag
11100 IGNORE_RESULT set.
11101 (check_complex): Pass through IGNORE_RESULT to second
11102 check_float_internal call.
11103 (check_int): Do not check numerical result if flag IGNORE_RESULT
11104 set.
11105 (check_long): Likewise.
11106 (check_bool): Likewise.
11107 (check_longlong): Likewise.
11108 (lrint_test_data): Add tests of infinite and NaN arguments.
11109 (lrint_tonearest_test_data): Likewise.
11110 (lrint_towardzero_test_data): Likewise.
11111 (lrint_downward_test_data): Likewise.
11112 (lrint_upward_test_data): Likewise.
11113 (llrint_test_data): Likewise.
11114 (llrint_tonearest_test_data): Likewise.
11115 (llrint_towardzero_test_data): Likewise.
11116 (llrint_downward_test_data): Likewise.
11117 (llrint_upward_test_data): Likewise.
11118 (lround_test_data): Likewise.
11119 (llround_test_data): Likewise.
11120
14407b7e
JM
11121 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11122 (ERRNO_UNCHANGED): Update value.
11123 (ERRNO_EDOM): Likewise.
11124 (ERRNO_ERANGE): Likewise.
11125 (NO_TEST_INLINE_FLOAT): New macro.
11126 (NO_TEST_INLINE_DOUBLE): Likewise.
11127 (enable_test): New function.
11128 (RUN_TEST_f_f): Check enable_test before running test.
11129 (RUN_TEST_2_f): Likewise.
11130 (RUN_TEST_fff_f): Likewise.
11131 (RUN_TEST_c_f): Likewise.
11132 (RUN_TEST_f_f1): Likewise.
11133 (RUN_TEST_fF_f1): Likewise.
11134 (RUN_TEST_fI_f1): Likewise.
11135 (RUN_TEST_ffI_f1): Likewise.
11136 (RUN_TEST_c_c): Likewise.
11137 (RUN_TEST_cc_c): Likewise.
11138 (RUN_TEST_f_i): Likewise.
11139 (RUN_TEST_f_i_tg): Likewise.
11140 (RUN_TEST_ff_i_tg): Likewise.
11141 (RUN_TEST_f_b): Likewise.
11142 (RUN_TEST_f_b_tg): Likewise.
11143 (RUN_TEST_f_l): Likewise.
11144 (RUN_TEST_f_L): Likewise.
11145 (RUN_TEST_fFF_11): Likewise.
11146 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11147 conditionals.
11148 (cosh_test_data): Likewise.
11149 (exp_test_data): Likewise.
11150 (expm1_test_data): Likewise.
11151 (hypot_test_data): Likewise.
11152 (pow_test_data): Likewise.
11153 (sinh_test_data): Likewise.
11154 (tanh_test_data): Likewise.
11155 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11156 flags argument.
11157
ca07f197
JM
11158 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11159 tests with quiet NaN input and output.
11160 (acosh_test_data): Likewise.
11161 (asin_test_data): Likewise.
11162 (asinh_test_data): Likewise.
11163 (atan_test_data): Likewise.
11164 (atanh_test_data): Likewise.
11165 (atan2_test_data): Likewise.
11166 (cbrt_test_data): Likewise.
11167 (cos_test_data): Likewise.
11168 (cosh_test_data): Likewise.
11169 (erf_test_data): Likewise.
11170 (erfc_test_data): Likewise.
11171 (exp_test_data): Likewise.
11172 (exp10_test_data): Likewise.
11173 (exp2_test_data): Likewise.
11174 (expm1_test_data): Likewise.
11175 (hypot_test_data): Likewise.
11176 (j0_test_data): Likewise.
11177 (j1_test_data): Likewise.
11178 (jn_test_data): Likewise.
11179 (lgamma_test_data): Likewise.
11180 (log_test_data): Likewise.
11181 (log10_test_data): Likewise.
11182 (log1p_test_data): Likewise.
11183 (log2_test_data): Likewise.
11184 (pow_test_data): Likewise.
11185 (scalb_test_data): Likewise.
11186 (sin_test_data): Likewise.
11187 (sincos_test_data): Likewise.
11188 (sinh_test_data): Likewise.
11189 (tan_test_data): Likewise.
11190 (tanh_test_data): Likewise.
11191 (tgamma_test_data): Likewise.
11192 (y0_test_data): Likewise.
11193 (y1_test_data): Likewise.
11194 (yn_test_data): Likewise.
11195
66294491
JM
11196 [BZ #16167]
11197 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11198 argument being NaN and avoid computations with second argument in
11199 that case.
11200 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11201 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11202 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11203
1820b143
CL
112042013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11205
11206 * locale/iso-639.def: Add Chitwani Tharu (the).
11207
714bd261
AS
112082013-11-14 Andreas Schwab <schwab@suse.de>
11209
11210 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11211 word instead of empty string.
11212
7ab44563
AZ
112132013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11214
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11216 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11218 (__fe_nomask_env): Likewise.
11219
e8470ea2
SE
112202013-11-13 Steve Ellcey <sellcey@mips.com>
11221
11222 * benchtests/bench-timing.h: Include time.h.
11223
17c1d9f0
L
112242013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11225
11226 [BZ #15997]
11227 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11228 to 3.4.0 for x32.
11229 * sysdeps/unix/sysv/linux/configure: Regenerated.
11230
9310c284
JM
112312013-11-13 Joseph Myers <joseph@codesourcery.com>
11232
11233 [BZ #16151]
11234 * stdlib/strtod_l.c (round_and_return): Do not consider
11235 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11236 exponent one less than half the least subnormal exponent.
11237 * stdlib/test-strtod-round-data: Add more tests.
11238 * stdlib/tst-strtod-round.c (tests): Regenerated.
11239
7a2ad8cf
AZ
112402013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11241
11242 [BZ #14143]
11243 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11244 (__fe_mask_env): Likewise.
11245 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11246 libm_hidden_proto and add function prototype.
11247 (__fe_mask_env): Add function prototype.
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11249 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11251 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11253 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11254
50727aa7
MS
112552013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11256
b2f386c1 11257 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11258 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11259
a615be46
MS
112602013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11261
11262 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11263 of htab_find_slot().
11264
7ddace62
DM
112652013-11-11 David S. Miller <davem@davemloft.net>
11266
11267 [BZ #16150]
11268 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11269 symbol in the non-vis3 case in static builds.
11270 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11271 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11272 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11273 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11274
9182aa67
JK
112752013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11276
11277 [BZ #387]
11278 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11279 it is empty.
11280
450a2e2d
AZ
112812013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11282
b2f386c1
SP
11283 * benchtests/Makefile: Add bench-strtod.
11284 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11285
8ec3f656
AS
112862013-11-11 Andreas Schwab <schwab@suse.de>
11287
11288 [BZ #16153]
11289 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11290 terminating NUL in key length.
11291
76a9b998
AZ
112922013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11293
11294 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11295 Add artificial ODP entry for vDSO symbol for PPC64.
11296 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11297 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11298
e4368156
OB
112992013-11-07 Ondřej Bílka <neleai@seznam.cz>
11300
11301 [BZ #15374]
11302 * nss/getent.c (services_keys): Recognize services starting with digit.
11303
8d6bb57c
DM
113042013-11-06 David S. Miller <davem@davemloft.net>
11305
11306 [BZ #15985]
11307 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11308 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11309
e256c421
WN
113102013-11-06 Will Newton <will.newton@linaro.org>
11311
11312 * manual/memory.texi (Malloc Examples): Remove register
11313 keyword from examples.
11314
f6e12daa 113152013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11316
f6e12daa 11317 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11318
9d880655
AS
113192013-11-04 Joseph Myers <joseph@codesourcery.com>
11320
fd2f9486 11321 [BZ #6981]
9d880655
AS
11322 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11323 depending on [__GCC_IEC_559 > 0].
11324 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11325 depending on [__GCC_IEC_559_COMPLEX > 0].
11326
ae129d3c
CL
113272013-11-03 Chris Leonard <cjl@sugarlabs.org>
11328
11329 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11330 to iso-639.def.
11331
4a15c2a4 113322013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11333
11334 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11335
8b35e35d
OB
113362013-11-01 Ondřej Bílka <neleai@seznam.cz>
11337
11338 [BZ #16112]
11339 * malloc/malloc (malloc_info): Do not handle first bin as
11340 special case.
11341
1d70fd6c
CL
113422013-11-01 Chris Leonard <cjl@sugarlabs.org>
11343
11344 * locale/iso-639.def: Add Central Nahuatl (nhn).
11345
8c5c2600
BH
113462013-11-01 Bruno Haible <bruno@clisp.org>
11347
11348 [BZ #7003]
11349 * manual/math.texi (BSD Random): Specify range upper bound as
11350 in POSIX.
11351
da5579c2
CL
113522013-10-31 Chris Leonard <cjl@sugarlabs.org>
11353
11354 * locale/iso-639.def: Add Meadow Mari (mhr).
11355
5d30d853
OB
113562013-10-31 Ondřej Bílka <neleai@seznam.cz>
11357
11358 [BZ #14752], [BZ #15763]
11359 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11360 Validate name.
11361 * rt/tst_shm.c: Add test for escaping directory.
11362
a4966c61
AS
113632013-10-31 Andreas Schwab <schwab@suse.de>
11364
8a43e768 11365 [BZ #15917]
a4966c61
AS
11366 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11367 followed by 'x' as part of digit sequence.
11368 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11369
28d708c4
MAP
113702013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11371
11372 [BZ #16037]
11373 * configure.ac: allow GNU Make 4.0 and greater.
11374 * configure: Regenerated.
11375
a56ee40b
WN
113762013-10-30 Will Newton <will.newton@linaro.org>
11377
11378 [BZ #16038]
11379 * malloc/hooks.c (memalign_check): Limit alignment to the
11380 maximum representable power of two.
11381 * malloc/malloc.c (__libc_memalign): Likewise.
11382 * malloc/tst-memalign.c (do_test): Add test for very
11383 large alignment values.
11384 * malloc/tst-posix_memalign.c (do_test): Likewise.
11385
c6e4925d
OB
113862013-10-30 Ondřej Bílka <neleai@seznam.cz>
11387
11388 [BZ #11087]
11389 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11390 (munmap_chunk): Likewise.
11391 (mremap_chunk): Likewise.
11392
113932013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11394
8a43e768 11395 [BZ #15799]
bbea82f7
OB
11396 * stdlib/div.c (div): Remove obsolete code.
11397 * stdlib/ldiv.c (ldiv): Likewise.
11398 * stdlib/lldiv.c (lldiv): Likewise.
11399
977f4b31
SP
114002013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11401
11402 [BZ #16071]
11403 * nss/nss_files/files-XXX.c (get_contents_ret): New
11404 enumerator.
11405 (get_contents): New function.
11406 (internal_getent): Use it. Expand size of LINEBUFLEN.
11407
cb8a6dbd
MF
114082013-10-30 Mike Frysinger <vapier@gentoo.org>
11409
11410 * configure.in: Moved to ...
11411 * configure.ac: ... here. Change reference to configure.in
11412 to configure.ac.
11413 * sysdeps/arm/preconfigure.ac: ... here.
11414 configure.in to configure.ac.
11415 * sysdeps/gnu/configure.in: Moved to ...
11416 * sysdeps/gnu/configure.ac: ... here.
11417 * sysdeps/i386/configure.in: Moved to ...
11418 * sysdeps/i386/configure.ac: ... here.
11419 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11420 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11421 * sysdeps/mach/configure.in: Moved to ...
11422 * sysdeps/mach/configure.ac: ... here.
11423 * sysdeps/mach/hurd/configure.in: Moved to ...
11424 * sysdeps/mach/hurd/configure.ac: ... here.
11425 * sysdeps/powerpc/configure.in: Moved to ...
11426 * sysdeps/powerpc/configure.ac: ... here.
11427 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11428 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11429 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11430 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11431 * sysdeps/s390/s390-32/configure.in: Moved to ...
11432 * sysdeps/s390/s390-32/configure.ac: ... here.
11433 * sysdeps/s390/s390-64/configure.in: Moved to ...
11434 * sysdeps/s390/s390-64/configure.ac: ... here.
11435 * sysdeps/sh/configure.in: Moved to ...
11436 * sysdeps/sh/configure.ac: ... here.
11437 * sysdeps/sparc/configure.in: Moved to ...
11438 * sysdeps/sparc/configure.ac: ... here.
11439 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11440 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11441 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11442 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11443 * sysdeps/x86_64/configure.in: Moved to ...
11444 * sysdeps/x86_64/configure.ac: ... here.
11445 * sysdeps/x86_64/preconfigure.in: Moved to ...
11446 * sysdeps/x86_64/preconfigure.ac: ... here.
11447 * aclocal.m4: Change reference to configure.in to configure.ac.
11448 * config.h.in: Likewise.
11449 * manual/install.texi: Likewise.
11450 * manual/maint.texi: Likewise.
11451 * Makefile: Likewise.
11452 * malloc/Makefile: Likewise.
11453 * nscd/Makefile: Likewise.
11454 * Makeconfig: Change reference to configure.in and
11455 preconfigure.in to configure.ac and preconfigure.ac
11456 respectively.
11457 * INSTALL: Regenerated.
11458 * configure: Likewise.
11459 * sysdeps/gnu/configure: Likewise.
11460 * sysdeps/i386/configure: Likewise.
11461 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11462 * sysdeps/mach/configure: Likewise.
11463 * sysdeps/mach/hurd/configure: Likewise.
11464 * sysdeps/powerpc/configure: Likewise.
11465 * sysdeps/powerpc/powerpc32/configure: Likewise.
11466 * sysdeps/powerpc/powerpc64/configure: Likewise.
11467 * sysdeps/s390/s390-32/configure: Likewise.
11468 * sysdeps/s390/s390-64/configure: Likewise.
11469 * sysdeps/sh/configure: Likewise.
11470 * sysdeps/sparc/configure: Likewise.
11471 * sysdeps/unix/sysv/linux/configure: Likewise.
11472 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11473 * sysdeps/x86_64/configure: Likewise.
11474 * sysdeps/x86_64/preconfigure: Likewise.
11475
36a4953a
AS
114762013-10-29 Andreas Schwab <schwab@suse.de>
11477
11478 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11479
c79a1204
SP
114802013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11481
dfa1b402
SP
11482 * benchtests/pow-inputs: Add new inputs.
11483
54f73d9c
SP
11484 * benchtests/exp-inputs: Add new inputs.
11485
c79a1204
SP
11486 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11487 conditional check for return value.
11488 (__cos32): Likewise.
11489
67beb545 114902013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
11491
11492 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11493 to provide a boost for large inputs with word alignment.
11494 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11495 implementation based on optimized PPC64 strcpy.
11496 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11497 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11498 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11499 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11500
151659f6
OB
115012013-10-25 Ondřej Bílka <neleai@seznam.cz>
11502
482a077e 11503 [BZ #2801]
151659f6
OB
11504 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11505
10b0f26b
OB
115062013-10-25 Ondřej Bílka <neleai@seznam.cz>
11507
11508 [BZ #14876]
11509 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11510 * time/tst-strptime.c (day_tests): Add testcase.
11511
ca42d35e
OB
115122013-10-25 Ondřej Bílka <neleai@seznam.cz>
11513
482a077e 11514 [BZ #14029]
ca42d35e
OB
11515 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11516
52e6d801
FB
115172013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11518
11519 [BZ #16074]
11520 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11521 MAP_FAILED on error.
11522
7cbcdb36
SP
115232013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11524
11525 [BZ #16072]
11526 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11527 heap for large requests.
11528
894f3f10
AM
115292013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11530
11531 [BZ #9954]
11532 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11533 result if the result has no associated interface.
11534 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11535 interface for all 127.X.Y.Z addresses.
11536
b85545a6
CL
115372013-10-24 Chris Leonard <cjl@sugarlabs.org>
11538
11539 * locale/iso-639.def: Add Ligurian (lij)
11540
d1f23d46
OB
115412013-10-21 Ondřej Bílka <neleai@seznam.cz>
11542
11543 [BZ #15825]
11544 * sunrpc/rpc_main.c: Document rpcgen -5.
11545
4db5b08f
MS
115462013-10-19 Michael Stahl <mstahl@redhat.com>
11547
11548 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11549
a471e96a
OB
115502013-10-19 Ondřej Bílka <neleai@seznam.cz>
11551
d1f23d46 11552 [BZ #10278]
a471e96a
OB
11553 * posix/glob.c: Match only directories when trailing slash is present.
11554 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11555 (main): Add testcase.
11556
45c30c61
OB
115572013-10-19 Ondřej Bílka <neleai@seznam.cz>
11558
11559 [BZ #15670]
11560 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11561
484c12fb
CD
115622013-10-18 Carlos O'Donell <carlos@redhat.com>
11563
3d7dc513
CD
11564 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11565 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11566 AUTH_DES and cindex for FIPS 140-2.
11567 (DES Encryption): Add cindex FIPS 46-3.
11568
484c12fb
CD
11569 * locale/locarchive.h (struct locarhandle): Add fname.
11570 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11571 if an optional argument was specified to --list-archive,
11572 otherwise NULL.
11573 * locale/programs/locarchive.c (show_archive_content): Take new
11574 argument fname and pass it via ah.fname to open_archive.
11575 * locale/programs/localedef.h: Update decl.
11576 (open_archive): If AH->fname is non-null, open that file
11577 rather than the default file name, and don't ignore ENOENT.
11578 (create_archive): Set AH.fname to NULL.
11579 (delete_locales_from_archive): Likewise.
11580 (add_locales_to_archive): Likewise.
11581 * locale/programs/locfile.c (write_all_categories): Likewise.
11582
3c8325fb
JM
115832013-10-18 Joseph Myers <joseph@codesourcery.com>
11584 Aldy Hernandez <aldyh@redhat.com>
11585
11586 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11587 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11588 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11589 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11590 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11591 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11592 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11593 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11594 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11595 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11596 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11597 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11598 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11599 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11600 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11601 Likewise.
11602 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11603 Likewise.
11604 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11605 Likewise.
11606 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11607 Likewise.
11608 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11609 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11610 Likewise.
11611 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11612 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11613 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11614 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11615 Likewise.
11616 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11617 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11618 * sysdeps/powerpc/preconfigure: Likewise.
11619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11620 Likewise.
11621 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11622 Replace contents of file by #include of <fenv_libc.h>.
11623 * sysdeps/powerpc/soft-fp/sfp-machine.h
11624 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11625 and <sys/prctl.h>.
11626 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11627 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11628 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11629 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11630 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11631 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11633 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11634 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11635 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11636 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11637 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11639 Allow copysignl PLT reference to be missing.
11640
5abe0682
RS
116412013-10-18 Richard Sandiford <richard@codesourcery.com>
11642 Joseph Myers <joseph@codesourcery.com
11643
11644 [BZ #15948]
11645 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11646 single character.
11647 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11648
c7738d08
SP
116492013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11650
11651 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11652 * elf/tst-tls1.c: Likewise.
11653 * elf/tst-tls10.h: Likewise.
11654 * elf/tst-tls14.c: Likewise.
11655 * elf/tst-tls2.c: Likewise.
11656 * elf/tst-tls3.c: Likewise.
11657 * elf/tst-tls4.c: Likewise.
11658 * elf/tst-tls5.c: Likewise.
11659 * elf/tst-tls6.c: Likewise.
11660 * elf/tst-tls7.c: Likewise.
11661 * elf/tst-tls8.c: Likewise.
11662 * elf/tst-tls9.c: Likewise.
11663 * elf/tst-tlsmod1.c: Likewise.
11664 * elf/tst-tlsmod13.c: Likewise.
11665 * elf/tst-tlsmod13a.c: Likewise.
11666 * elf/tst-tlsmod14a.c: Likewise.
11667 * elf/tst-tlsmod16a.c: Likewise.
11668 * elf/tst-tlsmod16b.c: Likewise.
11669 * elf/tst-tlsmod2.c: Likewise.
11670 * elf/tst-tlsmod3.c: Likewise.
11671 * elf/tst-tlsmod4.c: Likewise.
11672 * elf/tst-tlsmod5.c: Likewise.
11673 * elf/tst-tlsmod6.c: Likewise.
11674
0bfcf2c7
OB
116752013-10-18 Ondřej Bílka <neleai@seznam.cz>
11676
11677 [BZ #12486]
11678 * malloc/malloc.c: remove checks for statistics.
11679
264aad1e
OB
116802013-10-17 Ondřej Bílka <neleai@seznam.cz>
11681
11682 [BZ #15277]
11683 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11684 * inet/tst-network.c: Add testcase.
11685
b957ced8
AS
116862013-10-17 Andreas Schwab <schwab@suse.de>
11687
11688 [BZ #15218]
11689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11690 to determine canonical name.
11691
c5d5d574
OB
116922013-10-17 Ondřej Bílka <neleai@seznam.cz>
11693
11694 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11695 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11696 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11697 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11698 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11699 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11700 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11701 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11702 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11703 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11704 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11705 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11706 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11707 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11712 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11713 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11714 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11715 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11716 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11717 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11718 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11719 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11720 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11721 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11722 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11723 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11724 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11725 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11726 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11727 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11728 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11729 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11730 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11731 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11732 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11733 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11734 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11735 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11736 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11737 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11738 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11739 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11740 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11741 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11742 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11743 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11744 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11745 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11746 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11747 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11748 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11749 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11751 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11752
e5c2c2d0
JM
117532013-10-17 Joseph Myers <joseph@codesourcery.com>
11754
11755 [BZ #16041]
11756 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11757 make result into a quiet NaN.
11758
51ca9e29
JM
117592013-10-16 Joseph Myers <joseph@codesourcery.com>
11760
11761 * soft-fp/adddf3.c: Fix horizontal whitespace.
11762 * soft-fp/addsf3.c: Likewise.
11763 * soft-fp/addtf3.c: Likewise.
11764 * soft-fp/divdf3.c: Likewise.
11765 * soft-fp/divsf3.c: Likewise.
11766 * soft-fp/divtf3.c: Likewise.
11767 * soft-fp/double.h: Likewise.
11768 * soft-fp/eqdf2.c: Likewise.
11769 * soft-fp/eqsf2.c: Likewise.
11770 * soft-fp/eqtf2.c: Likewise.
11771 * soft-fp/extenddftf2.c: Likewise.
11772 * soft-fp/extended.h: Likewise.
11773 * soft-fp/extendsfdf2.c: Likewise.
11774 * soft-fp/extendsftf2.c: Likewise.
11775 * soft-fp/extendxftf2.c: Likewise.
11776 * soft-fp/fixdfdi.c: Likewise.
11777 * soft-fp/fixdfsi.c: Likewise.
11778 * soft-fp/fixdfti.c: Likewise.
11779 * soft-fp/fixsfdi.c: Likewise.
11780 * soft-fp/fixsfsi.c: Likewise.
11781 * soft-fp/fixsfti.c: Likewise.
11782 * soft-fp/fixtfdi.c: Likewise.
11783 * soft-fp/fixtfsi.c: Likewise.
11784 * soft-fp/fixtfti.c: Likewise.
11785 * soft-fp/fixunsdfdi.c: Likewise.
11786 * soft-fp/fixunsdfsi.c: Likewise.
11787 * soft-fp/fixunsdfti.c: Likewise.
11788 * soft-fp/fixunssfdi.c: Likewise.
11789 * soft-fp/fixunssfsi.c: Likewise.
11790 * soft-fp/fixunssfti.c: Likewise.
11791 * soft-fp/fixunstfdi.c: Likewise.
11792 * soft-fp/fixunstfsi.c: Likewise.
11793 * soft-fp/fixunstfti.c: Likewise.
11794 * soft-fp/floatdidf.c: Likewise.
11795 * soft-fp/floatdisf.c: Likewise.
11796 * soft-fp/floatditf.c: Likewise.
11797 * soft-fp/floatsidf.c: Likewise.
11798 * soft-fp/floatsisf.c: Likewise.
11799 * soft-fp/floatsitf.c: Likewise.
11800 * soft-fp/floattidf.c: Likewise.
11801 * soft-fp/floattisf.c: Likewise.
11802 * soft-fp/floattitf.c: Likewise.
11803 * soft-fp/floatundidf.c: Likewise.
11804 * soft-fp/floatundisf.c: Likewise.
11805 * soft-fp/floatunditf.c: Likewise.
11806 * soft-fp/floatunsidf.c: Likewise.
11807 * soft-fp/floatunsisf.c: Likewise.
11808 * soft-fp/floatunsitf.c: Likewise.
11809 * soft-fp/floatuntidf.c: Likewise.
11810 * soft-fp/floatuntisf.c: Likewise.
11811 * soft-fp/floatuntitf.c: Likewise.
11812 * soft-fp/fmadf4.c: Likewise.
11813 * soft-fp/fmasf4.c: Likewise.
11814 * soft-fp/fmatf4.c: Likewise.
11815 * soft-fp/gedf2.c: Likewise.
11816 * soft-fp/gesf2.c: Likewise.
11817 * soft-fp/getf2.c: Likewise.
11818 * soft-fp/ledf2.c: Likewise.
11819 * soft-fp/lesf2.c: Likewise.
11820 * soft-fp/letf2.c: Likewise.
11821 * soft-fp/muldf3.c: Likewise.
11822 * soft-fp/mulsf3.c: Likewise.
11823 * soft-fp/multf3.c: Likewise.
11824 * soft-fp/negdf2.c: Likewise.
11825 * soft-fp/negsf2.c: Likewise.
11826 * soft-fp/negtf2.c: Likewise.
11827 * soft-fp/op-1.h: Likewise.
11828 * soft-fp/op-2.h: Likewise.
11829 * soft-fp/op-4.h: Likewise.
11830 * soft-fp/op-8.h: Likewise.
11831 * soft-fp/op-common.h: Likewise.
11832 * soft-fp/quad.h: Likewise.
11833 * soft-fp/single.h: Likewise.
11834 * soft-fp/soft-fp.h: Likewise.
11835 * soft-fp/sqrtdf2.c: Likewise.
11836 * soft-fp/sqrtsf2.c: Likewise.
11837 * soft-fp/sqrttf2.c: Likewise.
11838 * soft-fp/subdf3.c: Likewise.
11839 * soft-fp/subsf3.c: Likewise.
11840 * soft-fp/subtf3.c: Likewise.
11841 * soft-fp/truncdfsf2.c: Likewise.
11842 * soft-fp/trunctfdf2.c: Likewise.
11843 * soft-fp/trunctfsf2.c: Likewise.
11844 * soft-fp/trunctfxf2.c: Likewise.
11845 * soft-fp/unorddf2.c: Likewise.
11846 * soft-fp/unordsf2.c: Likewise.
11847 * soft-fp/unordtf2.c: Likewise.
11848
9ebb0332
JM
118492013-10-15 Joseph Myers <joseph@codesourcery.com>
11850
11851 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11852 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11853
4b1a6d8b
OB
118542013-10-15 Ondřej Bílka <neleai@seznam.cz>
11855
11856 * elf/dl-libc.c: Clear initfini list after freeing.
11857
1e145589
JM
118582013-10-14 Joseph Myers <joseph@codesourcery.com>
11859
11860 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11861 * soft-fp/addsf3.c: Likewise.
11862 * soft-fp/addtf3.c: Likewise.
11863 * soft-fp/divdf3.c: Likewise.
11864 * soft-fp/divsf3.c: Likewise.
11865 * soft-fp/divtf3.c: Likewise.
11866 * soft-fp/double.h: Likewise.
11867 * soft-fp/eqdf2.c: Likewise.
11868 * soft-fp/eqsf2.c: Likewise.
11869 * soft-fp/eqtf2.c: Likewise.
11870 * soft-fp/extenddftf2.c: Likewise.
11871 * soft-fp/extended.h: Likewise.
11872 * soft-fp/extendsfdf2.c: Likewise.
11873 * soft-fp/extendsftf2.c: Likewise.
11874 * soft-fp/extendxftf2.c: Likewise.
11875 * soft-fp/fixdfdi.c: Likewise.
11876 * soft-fp/fixdfsi.c: Likewise.
11877 * soft-fp/fixdfti.c: Likewise.
11878 * soft-fp/fixsfdi.c: Likewise.
11879 * soft-fp/fixsfsi.c: Likewise.
11880 * soft-fp/fixsfti.c: Likewise.
11881 * soft-fp/fixtfdi.c: Likewise.
11882 * soft-fp/fixtfsi.c: Likewise.
11883 * soft-fp/fixtfti.c: Likewise.
11884 * soft-fp/fixunsdfdi.c: Likewise.
11885 * soft-fp/fixunsdfsi.c: Likewise.
11886 * soft-fp/fixunsdfti.c: Likewise.
11887 * soft-fp/fixunssfdi.c: Likewise.
11888 * soft-fp/fixunssfsi.c: Likewise.
11889 * soft-fp/fixunssfti.c: Likewise.
11890 * soft-fp/fixunstfdi.c: Likewise.
11891 * soft-fp/fixunstfsi.c: Likewise.
11892 * soft-fp/fixunstfti.c: Likewise.
11893 * soft-fp/floatdidf.c: Likewise.
11894 * soft-fp/floatdisf.c: Likewise.
11895 * soft-fp/floatditf.c: Likewise.
11896 * soft-fp/floatsidf.c: Likewise.
11897 * soft-fp/floatsisf.c: Likewise.
11898 * soft-fp/floatsitf.c: Likewise.
11899 * soft-fp/floattidf.c: Likewise.
11900 * soft-fp/floattisf.c: Likewise.
11901 * soft-fp/floattitf.c: Likewise.
11902 * soft-fp/floatundidf.c: Likewise.
11903 * soft-fp/floatundisf.c: Likewise.
11904 * soft-fp/floatunsidf.c: Likewise.
11905 * soft-fp/floatunsisf.c: Likewise.
11906 * soft-fp/floatuntidf.c: Likewise.
11907 * soft-fp/floatuntisf.c: Likewise.
11908 * soft-fp/floatuntitf.c: Likewise.
11909 * soft-fp/fmadf4.c: Likewise.
11910 * soft-fp/fmasf4.c: Likewise.
11911 * soft-fp/fmatf4.c: Likewise.
11912 * soft-fp/gedf2.c: Likewise.
11913 * soft-fp/gesf2.c: Likewise.
11914 * soft-fp/getf2.c: Likewise.
11915 * soft-fp/ledf2.c: Likewise.
11916 * soft-fp/lesf2.c: Likewise.
11917 * soft-fp/letf2.c: Likewise.
11918 * soft-fp/muldf3.c: Likewise.
11919 * soft-fp/mulsf3.c: Likewise.
11920 * soft-fp/multf3.c: Likewise.
11921 * soft-fp/negdf2.c: Likewise.
11922 * soft-fp/negsf2.c: Likewise.
11923 * soft-fp/negtf2.c: Likewise.
11924 * soft-fp/op-1.h: Likewise.
11925 * soft-fp/op-2.h: Likewise.
11926 * soft-fp/op-4.h: Likewise.
11927 * soft-fp/op-8.h: Likewise.
11928 * soft-fp/op-common.h: Likewise.
11929 * soft-fp/quad.h: Likewise.
11930 * soft-fp/single.h: Likewise.
11931 * soft-fp/soft-fp.h: Likewise.
11932 * soft-fp/sqrtdf2.c: Likewise.
11933 * soft-fp/sqrtsf2.c: Likewise.
11934 * soft-fp/sqrttf2.c: Likewise.
11935 * soft-fp/subdf3.c: Likewise.
11936 * soft-fp/subsf3.c: Likewise.
11937 * soft-fp/subtf3.c: Likewise.
11938 * soft-fp/truncdfsf2.c: Likewise.
11939 * soft-fp/trunctfdf2.c: Likewise.
11940 * soft-fp/trunctfsf2.c: Likewise.
11941 * soft-fp/trunctfxf2.c: Likewise.
11942 * soft-fp/unorddf2.c: Likewise.
11943 * soft-fp/unordsf2.c: Likewise.
11944 * soft-fp/unordtf2.c: Likewise.
11945
17c48a60
OB
119462013-10-14 Ondřej Bílka <neleai@seznam.cz>
11947
11948 [BZ #15672]
11949 * misc/error.c (error_tail): Fix possible buffer overflow.
11950
cabba934
OB
119512013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11952
11953 [BZ #13028]
11954 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11955 address.
11956
94bf958a
PM
119572013-10-14 P. J. McDermott <pj@pehjota.net>
11958
11959 [BZ #832]
11960 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11961 testing pipefail option.
11962
71b4dea7
JM
119632013-10-12 Joseph Myers <joseph@codesourcery.com>
11964
11965 * soft-fp/double.h: Indent preprocessor directives inside #if.
11966 * soft-fp/extended.h: Likewise.
11967 * soft-fp/op-2.h: Likewise.
11968 * soft-fp/op-4.h: Likewise.
11969 * soft-fp/op-common.h: Likewise.
11970 * soft-fp/quad.h: Likewise.
11971 * soft-fp/single.h: Likewise.
11972 * soft-fp/soft-fp.h: Likewise.
11973
55602758
YC
119742013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11975
11976 * iconv/iconv_prog.c: Fix typos.
11977 * stdio-common/psiginfo-data.h: Likewise.
11978
9cd83302
RT
119792013-10-12 Reuben Thomas <rrt@sc3d.org>
11980
11981 [BZ #15764]
11982 * locale/setlocale.c: Fix typo.
11983
99fd9f47
JM
119842013-10-12 Joseph Myers <joseph@codesourcery.com>
11985
b7ea74f0
JM
11986 [BZ #16036]
11987 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11988 signaling NaN arguments.
11989 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11990 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11991
8a509447
JM
11992 [BZ #14910]
11993 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11994 unordered operands.
11995 * soft-fp/gesf2.c (__gesf2): Likewise.
11996 * soft-fp/getf2.c (__getf2): Likewise.
11997 * soft-fp/ledf2.c (__ledf2): Likewise.
11998 * soft-fp/lesf2.c (__lesf2): Likewise.
11999 * soft-fp/letf2.c (__letf2): Likewise.
12000
98998e9f
JM
12001 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12002 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12003 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12004 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12005 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12006 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12007 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12008 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12009 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12010 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12011 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12012 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12013 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12014 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12015 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12016 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12017 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12018 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12019 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12020 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12021 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12022 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12023 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12024 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12025 * soft-fp/floattidf.c (__floattidf): Likewise.
12026 * soft-fp/floattisf.c (__floattisf): Likewise.
12027 * soft-fp/floattitf.c (__floattitf): Likewise.
12028 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12029 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12030 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12031 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12032 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12033 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12034 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12035 * soft-fp/gesf2.c (__gesf2): Likewise.
12036 * soft-fp/getf2.c (__getf2): Likewise.
12037 * soft-fp/ledf2.c (__ledf2): Likewise.
12038 * soft-fp/lesf2.c (__lesf2): Likewise.
12039 * soft-fp/letf2.c (__letf2): Likewise.
12040
8edc4a11
JM
12041 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12042 Undefine and redefine.
12043 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12044 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12045 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12046 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12047 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12048 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12049 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12050 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12051 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12052 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12053 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12054 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12055 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12056 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12057 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12058
8399acaf
JM
12059 [BZ #16032]
12060 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12061 without decrementing exponent if mantissa >= that for the
12062 denominator, not >.
12063 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12064 denominator, not >. Decrement exponent in < case instead of
12065 incrementing in >= case.
12066 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12067 without decrementing exponent if mantissa >= that for the
12068 denominator, not >.
12069
99fd9f47
JM
12070 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12071 computing saturated result for unsigned overflow.
12072
10e1cf6b
SP
120732013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12074 Jeff Law <law@redhat.com>
12075
12076 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12077 (atan2Mp): Add systemtap probe marker.
12078 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12079 (__ieee754_log): Add systemtap probe marker.
12080 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12081 (atanMp): Add systemtap probe marker.
12082 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12083 (tanMp): Add systemtap probe marker.
12084 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12085 (__slowexp): Add systemtap probe marker.
12086 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12087 (__slowpow): Add systemtap probe marker.
12088 * manual/probes.texi: Document probes.
12089
3d110c7c
EB
120902013-10-11 Eric Biggers <ebiggers3@gmail.com>
12091
12092 [BZ #15362]
12093 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12094 written.
12095 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12096 written.
12097 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12098 written to buffer but not flushed.
12099 * libio/iofwrite_u.c: Likewise.
12100 * libio/iopadn.c: Return bytes returned even if EOF was
12101 encountered.
12102 * libio/iowpadn.c: Likewise.
12103 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12104 if _IO_padn does not write the whole buffer.
12105 [!COMPILE_WPRINTF] (PAD): Likewise.
12106
75b4202a
DM
121072013-10-10 David S. Miller <davem@davemloft.net>
12108
12109 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12110 directory block.
12111
6c6352e6
JM
121122013-10-10 Joseph Myers <joseph@codesourcery.com>
12113
33b853c3
JM
12114 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12115 instead of FSF address.
12116 * soft-fp/fixdfti.c: Likewise.
12117 * soft-fp/fixsfti.c: Likewise.
12118 * soft-fp/fixtfti.c: Likewise.
12119 * soft-fp/fixunsdfti.c: Likewise.
12120 * soft-fp/fixunssfti.c: Likewise.
12121 * soft-fp/fixunstfti.c: Likewise.
12122 * soft-fp/floattidf.c: Likewise.
12123 * soft-fp/floattisf.c: Likewise.
12124 * soft-fp/floattitf.c: Likewise.
12125 * soft-fp/floatuntidf.c: Likewise.
12126 * soft-fp/floatuntisf.c: Likewise.
12127 * soft-fp/floatuntitf.c: Likewise.
12128 * soft-fp/trunctfxf2.c: Likewise.
12129
6c6352e6
JM
12130 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12131 * soft-fp/fixdfti.c: Likewise.
12132 * soft-fp/fixsfti.c: Likewise.
12133 * soft-fp/fixtfti.c: Likewise.
12134 * soft-fp/fixunsdfti.c: Likewise.
12135 * soft-fp/fixunssfti.c: Likewise.
12136 * soft-fp/fixunstfti.c: Likewise.
12137 * soft-fp/floattidf.c: Likewise.
12138 * soft-fp/floattisf.c: Likewise.
12139 * soft-fp/floattitf.c: Likewise.
12140 * soft-fp/floatuntidf.c: Likewise.
12141 * soft-fp/floatuntisf.c: Likewise.
12142 * soft-fp/floatuntitf.c: Likewise.
12143 * soft-fp/trunctfxf2.c: Likewise.
12144
3bf78b71
DM
121452013-10-10 David S. Miller <davem@davemloft.net>
12146
12147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12148
6f10289e
JM
121492013-10-10 Joseph Myers <joseph@codsourcery.com>
12150
bd878fc0
JM
12151 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12152 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12153 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12154 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12155 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12156 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12157 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12158
6f10289e
JM
12159 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12160 for NaNs before doing comparisons on argument.
12161 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12162 Likewise.
12163
321e2684
WN
121642013-10-10 Will Newton <will.newton@linaro.org>
12165
12166 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12167 passed to _int_memalign does not overflow.
12168
40fefba1
TR
121692013-10-10 Torvald Riegel <triegel@redhat.com>
12170
12171 * scripts/bench.pl: Add include-sources directive.
12172 * benchtests/README: Update documentation.
12173
2ae21ed2
JM
121742013-10-10 Joseph Myers <joseph@codesourcery.com>
12175
dcc2dd3f
JM
12176 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12177 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12178 instead of FP_INIT_ROUNDMODE.
12179 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12180 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12181
2ae21ed2
JM
12182 [BZ #16034]
12183 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12184 copy class of input value.
12185 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12186 not handle exceptions.
12187 * soft-fp/negsf2.c (__negsf2): Likewise.
12188 * soft-fp/negtf2.c (__negtf2): Likewise.
12189 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12190
cb8f9562
JM
121912013-10-09 Joseph Myers <joseph@codesourcery.com>
12192
12193 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12194 semicolon. From Linux kernel.
12195
5b60c59d
AB
121962013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12197
12198 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12199
b86835ca
YC
122002013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12201
12202 [BZ #156]
12203 * manual/socket.texi: Added statement about buffer
12204 for gethostbyname2_r.
12205
e7044ea7
OB
122062013-10-08 Ondřej Bílka <neleai@seznam.cz>
12207
12208 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12209 Use .p2align directive instead, throughout.
12210 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12211 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12212 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12213 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12214 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12215 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12216 * sysdeps/x86_64/strchr.S: Likewise.
12217 * sysdeps/x86_64/strrchr.S: Likewise.
12218
09544cbc
SP
122192013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12220
88576635
SP
12221 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12222
e7b2d1dd
SP
12223 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12224
09544cbc
SP
12225 * sysdeps/generic/math_private.h (__mpsin1): Remove
12226 declaration.
12227 (__mpcos1): Likewise.
12228 (__mpsin): New argument __range_reduce.
12229 (__mpcos): Likewise.
12230 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12231 (slow): Use __mpsin and __mpcos.
12232 (slow1): Likewise.
12233 (slow2): Likewise.
12234 (sloww): Likewise.
12235 (sloww1): Likewise.
12236 (sloww2): Likewise.
12237 (bsloww): Likewise.
12238 (bsloww1): Likewise.
12239 (bsloww2): Likewise.
12240 (cslow2): Likewise.
12241 (csloww): Likewise.
12242 (csloww1): Likewise.
12243 (csloww2): Likewise.
12244 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12245 range_reduce. Merge in __mpsin1.
12246 (__mpcos): Likewise.
12247 (__mpsin1): Remove.
12248 (__mpcos1): Likewise.
12249
7602d070
JM
122502013-10-07 Joseph Myers <joseph@codesourcery.com>
12251
12252 * locale/loadlocale.c (_nl_intern_locale_data): Use
12253 LOCFILE_ALIGNED_P.
12254 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12255 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12256 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12257 obstack data is appropriately aligned.
12258 (obstack_int32_grow_fast): Likewise.
12259 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12260 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12261 (add_locale_uint32_array): Likewise.
12262
a357259b
SP
122632013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12264
12265 * benchtests/Makefile: Remove ARGLIST and RET variables.
12266 ($(objpfx)bench-%.c): Pass only function name to the script.
12267 * benchtests/README: Update documentation.
12268 * benchtests/acos-inputs: Add new directives.
12269 * benchtests/acosh-inputs: Likewise.
12270 * benchtests/asin-inputs: Likewise.
12271 * benchtests/asinh-inputs: Likewise.
12272 * benchtests/atan-inputs: Likewise.
12273 * benchtests/atanh-inputs: Likewise.
12274 * benchtests/cos-inputs: Likewise.
12275 * benchtests/cosh-inputs: Likewise.
12276 * benchtests/exp-inputs: Likewise.
12277 * benchtests/log-inputs: Likewise.
12278 * benchtests/pow-inputs: Likewise.
12279 * benchtests/rint-inputs: Likewise.
12280 * benchtests/sin-inputs: Likewise.
12281 * benchtests/sinh-inputs: Likewise.
12282 * benchtests/tan-inputs: Likewise.
12283 * benchtests/tanh-inputs: Likewise.
12284 * scripts/bench.pl: Add support for new directives.
12285
9ec1b13d
AM
122862013-10-07 Alan Modra <amodra@gmail.com>
12287
12288 * README: Fix careless merge.
12289
8b7d57cd
AM
122902013-10-05 Alan Modra <amodra@gmail.com>
12291
12292 * NEWS: Mention powerpc64le support and bugs fixed.
12293 * README: Both big-endian and little-endian powerpc64 supported.
12294
7b7bab13
ST
122952013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12296
57f41c40
AS
12297 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12298 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12299 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12300 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12301
d39baad1
RA
123022013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12303
12304 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12305 match prototype.
12306
cd78f7e7
JM
123072013-10-04 Joseph Myers <joseph@codesourcery.com>
12308
29d73d86
JM
12309 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12310 Move -mhard-float appending from
12311 ports/sysdeps/powerpc/powerpc32/Makefile.
12312 [$(with-fp) = yes] (ASFLAGS): Likewise.
12313 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12314 * sysdeps/powerpc/nofpu: Move directory from
12315 ports/sysdeps/powerpc/nofpu.
12316 * sysdeps/powerpc/soft-fp: Move directory from
12317 ports/sysdeps/powerpc/soft-fp.
12318 * sysdeps/powerpc/powerpc32/405: Move directory from
12319 ports/sysdeps/powerpc/powerpc32/405.
12320 * sysdeps/powerpc/powerpc32/440: Move directory from
12321 ports/sysdeps/powerpc/powerpc32/440.
12322 * sysdeps/powerpc/powerpc32/464: Move directory from
12323 ports/sysdeps/powerpc/powerpc32/464.
12324 * sysdeps/powerpc/powerpc32/476: Move directory from
12325 ports/sysdeps/powerpc/powerpc32/476.
12326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12327 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12329 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12331 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12333 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12335 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12336 * README: Update for powerpc-*-linux-gnu software floating point
12337 support in libc.
12338
e246b347
JM
12339 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12340 case to powerpc/powerpc32*.
12341 * sysdeps/unix/sysv/linux/configure: Regenerated.
12342
89c2003e
JM
12343 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12344 (_FPU_MASK_OM): Define as 0x04.
12345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12347 0x00c10080.
12348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12349 0x0000003c.
12350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12351
cd78f7e7
JM
12352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12353 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12354 getcontext_e500.
12355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12356 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12357 setcontext_e500.
12358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12359 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12360 and setcontext_e500.
12361
c755294d
CL
123622013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12363
12364 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12365
e16d221c
SP
123662013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12367
12368 * manual/threads.texi (Default Thread Attributes): Fix typo.
12369
215c7d43
WN
123702013-10-04 Will Newton <will.newton@linaro.org>
12371
12372 * malloc/Makefile: Add tst-memalign.
12373 * malloc/tst-memalign.c: New file.
12374
27d0461b
WN
12375 * malloc/tst-posix_memalign.c: Add comments.
12376 (do_test): Add comments and call free on all potentially
12377 allocated pointers. Add space after cast.
12378
1bc92709
WN
12379 * malloc/tst-pvalloc.c: Add comments.
12380 (do_test): Add comments and call free on all potentially
12381 allocated pointers. Remove duplicate check for NULL pointer.
12382 Add space after cast.
12383
66a9be9d
WN
12384 * malloc/tst-valloc.c: Add comments.
12385 (do_test): Add comments and call free on all potentially
12386 allocated pointers. Remove duplicate check for NULL pointer.
12387 Add space after cast.
12388
4cb81307
AM
123892013-10-04 Alan Modra <amodra@gmail.com>
12390
12391 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12392 Use stdint types in rather than __attribute__((mode())).
12393 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12394
f8e3e9f3
AM
123952013-10-04 Alan Modra <amodra@gmail.com>
12396
12397 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12398 Correct handling of unaligned relocs for little-endian.
12399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12400
8f9ebb08
AM
124012013-10-04 Alan Modra <amodra@gmail.com>
12402
12403 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12404 * configure: Regenerate.
12405 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12406 * shlib-versions: Likewise.
12407
0edf96c2
AM
124082013-10-04 Alan Modra <amodra@gmail.com>
12409
12410 * string/tester.c (test_memrchr): Increment reported test cycle.
12411
e0f7a380
AM
124122013-10-04 Alan Modra <amodra@gmail.com>
12413
12414 * string/test-memcpy.c (do_one_test): When reporting errors, print
12415 string address and don't overrun end of string.
12416
466b0393
AM
124172013-10-04 Alan Modra <amodra@gmail.com>
12418
12419 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12420 insrdi. Make better use of reg selection to speed exit slightly.
12421 Schedule entry path a little better. Remove useless "are we done"
12422 checks on entry to main loop. Handle wrapping around zero address.
12423 Correct main loop count. Handle single left-over word from main
12424 loop inline rather than by using loop_small. Remove extra word
12425 case in loop_small caused by wrong loop count. Add little-endian
12426 support.
12427 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12428 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12429 cache hint.
12430 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12431 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12432 support. Avoid rlwimi.
12433 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12434
3be87c77
AM
124352013-10-04 Alan Modra <amodra@gmail.com>
12436
12437 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12438 insrdi. Formatting.
3be87c77
AM
12439 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12440 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12441 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12442 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12443 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12444 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12445
759cfef3
AM
124462013-10-04 Alan Modra <amodra@gmail.com>
12447
12448 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12449 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12450 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12451 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12452 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12453 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12454 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12455 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12456 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12457 use of regs. Use power7 mtocrf. Tidy function tails.
12458
fe6e95d7
AM
124592013-10-04 Alan Modra <amodra@gmail.com>
12460
12461 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12462 Formatting. Consistently use rXXX register defines or rN defines.
12463 Use early exit labels that avoid restoring unused non-volatile regs.
12464 Make cr field use more consistent with rWORDn compares. Rename
12465 regs used as shift registers for unaligned loop, using rN defines
12466 for short lifetime/multiple use regs.
12467 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12468 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12469 addi 1,1,64 to pop stack frame. Simplify return value code.
12470 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12471
664318c3
AM
124722013-10-04 Alan Modra <amodra@gmail.com>
12473
12474 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12475 support. Correct typos, formatting. Optimize tail. Use insrdi
12476 rather than rlwimi.
12477 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12478 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12479 little-endian support. Correct typos.
12480 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12481 rather than rlwimi.
12482 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12483 in loop and entry code to keep "and." results.
12484 (strchr): Add little-endian support. Comment. Move cntlzd
12485 earlier in tail.
12486 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12487
43b84013
AM
124882013-10-04 Alan Modra <amodra@gmail.com>
12489
12490 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12491 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12492 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12493 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12494
8a7413f9
AM
124952013-10-04 Alan Modra <amodra@gmail.com>
12496
12497 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12498 (rTMP): Define as r11.
12499 (strcmp): Add little-endian support. Optimise tail.
12500 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12501 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12502 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12503 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12504 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12505 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12507
33ee81de
AM
125082013-10-04 Alan Modra <amodra@gmail.com>
12509
12510 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12511 little-endian support. Remove unnecessary "are we done" tests.
12512 Handle "s" wrapping around zero and extremely large "size".
12513 Correct main loop count. Handle single left-over word from main
12514 loop inline rather than by using small_loop. Correct comments.
12515 Delete "zero" tail, use "end_max" instead.
12516 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12517
db9b4570
AM
125182013-10-04 Alan Modra <amodra@gmail.com>
12519
12520 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12521 support. Don't branch over align.
12522 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12523 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12524 support. Rearrange tmp reg use to suit. Comment.
12525 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12526
f7c399cf
AM
125272013-10-04 Alan Modra <amodra@gmail.com>
12528
12529 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12530
0b2c2ace
AM
125312013-10-04 Alan Modra <amodra@gmail.com>
12532
12533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12534 conditional form of branch and link when obtaining pc.
12535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12536
02f04a6c
AM
125372013-10-04 Alan Modra <amodra@gmail.com>
12538
12539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12540 HIWORD/LOWORD.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12543
9b874b2f
AM
125442013-10-04 Alan Modra <amodra@gmail.com>
12545
12546 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12547 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12548 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12549 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12550 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12551 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12552 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12553 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12554 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12555 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12556
be1e5d31
AB
125572013-10-04 Anton Blanchard <anton@au1.ibm.com>
12558 Alistair Popple <alistair@ozlabs.au.ibm.com>
12559 Alan Modra <amodra@gmail.com>
12560
12561 [BZ #15723]
12562 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12563 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12564 _dl_hwcap access for little-endian.
12565 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12566 destroy vmx regs when saving unaligned.
12567 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12568 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12569 destroy vmx regs when saving unaligned.
12570
fef13a78
AM
125712013-10-04 Alan Modra <amodra@gmail.com>
12572
12573 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12574 Don't use a union to pack hi/low value.
12575
76a66d51
AB
125762013-10-04 Anton Blanchard <anton@au1.ibm.com>
12577
12578 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12579 for little-endian.
12580 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12581 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12582 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12583 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12584 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12585
6a31fe7f
AM
125862013-10-04 Alan Modra <amodra@gmail.com>
12587
12588 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12589 constants to usual value for .cst8 section, and remove redundant
12590 high address load.
12591 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12592 constant for 0x1p52. Load little-endian words of double from
12593 correct stack offsets.
12594
7b88401f
AM
125952013-10-04 Alan Modra <amodra@gmail.com>
12596
12597 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12598 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12599 words of double from correct stack offsets.
12600 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12601 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12602 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12603 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12604 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12605 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12606 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12607 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12608 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12609 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12610 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12611 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12612 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12613 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12614 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12615 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12616 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12617
9c008155
AM
126182013-10-04 Alan Modra <amodra@gmail.com>
12619
12620 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12621 64-bit int/double union.
12622 (_FPU_SETCW): Likewise.
12623 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12624 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12625
da13146d
AM
126262013-10-04 Alan Modra <amodra@gmail.com>
12627
12628 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12629 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12630
603e8410
AM
126312013-10-04 Alan Modra <amodra@gmail.com>
12632
12633 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12634 use vector int constants.
12635 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12636
4a28b3ca
AB
126372013-10-04 Anton Blanchard <anton@au1.ibm.com>
12638
12639 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12640 array with long long.
12641 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12642 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12643 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12644 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12645 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12646 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12647 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12648 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12649 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12650 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12651 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12652 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12653 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12654
2ca85d2b
AB
126552013-10-04 Anton Blanchard <anton@au1.ibm.com>
12656
12657 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12658 (__signbit): Likewise. Correct for little-endian.
12659 (__signbitl): Call __signbit.
12660 (lrint): Correct for little-endian.
12661 (lrintf): Call lrint.
12662
62a728ae
AM
126632013-10-04 Alan Modra <amodra@gmail.com>
12664
12665 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12666 union 32-bit int array member with 64-bit int array.
12667 (t515, tm256): Double rather than long double.
12668 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12669
32c301df
AM
126702013-10-04 Alan Modra <amodra@gmail.com>
12671
12672 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12673 Delete.
12674 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12675 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12676 version of math_ldbl.h.
12677
650ef4bd
AM
126782013-10-04 Alan Modra <amodra@gmail.com>
12679
12680 [BZ #15734], [BZ #15735]
12681 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12682 all uses of ieee875 long double macros and unions. Simplify test
12683 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12684 ldbl_extract_mantissa value for ix,iy exponents. Properly
12685 normalize after ldbl_extract_mantissa, and don't add hidden bit
12686 already handled. Don't treat low word of ieee854 mantissa like
12687 low word of IBM long double and mask off bit when testing for
12688 zero.
12689 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12690 all uses of ieee875 long double macros and unions. Simplify tests
12691 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12692 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12693 two1022, instead use their values. Recognise that tests for large
12694 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12695 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12696 Rewrite all uses of ieee875 long double macros and unions. Simplify
12697 test for 0.0L and nan. Correct negation.
12698 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12699 ieee875 long double macros and unions. Correct output for large
12700 magnitude x. Correct absolute value calculation.
12701 (__erfcl): Likewise.
12702 * math/libm-test.inc: Add tests for errors discovered in IBM long
12703 double versions of fmodl, remainderl, erfl and erfcl.
12704
765714ca
AM
127052013-10-04 Alan Modra <amodra@gmail.com>
12706
12707 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12708 all uses of ieee854 long double macros and unions. Simplify tests
12709 for long doubles that are fully specified by the high double.
12710 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12711 Likewise.
12712 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12713 Remove dead code too.
12714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12715 (__ieee754_ynl): Likewise.
12716 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12717 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12718 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12719 Remove dead code too.
12720 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12721 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12722 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12723 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12724 Simplify.
12725 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12726 Simplify.
12727 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12728 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12729 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12730 Comment on variable precision.
12731 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12732 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12733 Likewise.
12734 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12735 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12736 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12737 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12738 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12739
4ebd120c
AM
127402013-10-04 Alan Modra <amodra@gmail.com>
12741
12742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12743 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12744 all uses of ieee854 long double macros and unions.
12745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12746 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12747 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12748 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12749 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12750 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12751 Likewise.
12752 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12753 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12754 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12755 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12757 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12758 Simplify sign and nan test too.
12759 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12760 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12761 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12762 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12763 Likewise.
12764 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12765 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12766 Likewise.
12767 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12768 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12769 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12770 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12771 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12773
1b6adf88
AM
127742013-10-04 Alan Modra <amodra@gmail.com>
12775
12776 * stdio-common/printf_size.c (__printf_size): Don't use
12777 union ieee854_long_double in fpnum union.
12778 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12779 signbit macro to retrieve sign from long double.
12780 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12781 retrieve sign from long double.
12782 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12783 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12784 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12785 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12786 * math/test-misc.c (main): Don't use union ieee854_long_double.
12787
4cf69995
AM
127882013-10-04 Alan Modra <amodra@gmail.com>
12789
12790 [BZ #15680]
12791 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12792 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12793 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12794 calculation. Remove unnecessary test for denormal exponent.
12795 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12796 Correct handling of denormals. Avoid undefined shift behaviour.
12797 Correct normalisation of low mantissa when low double is denormal.
12798 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12799 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12800 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12801 Correct normalisation of low mantissa. Test for overflow of high
12802 mantissa and normalise.
12803 (ldbl_nearbyint): Use more readable constant for two52.
12804 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12805 (__mpn_construct_long_double): Fix test for overflow of high
12806 mantissa and correct normalisation. Avoid undefined shift.
12807
9605ca6c
AM
128082013-10-04 Alan Modra <amodra@gmail.com>
12809
12810 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12811 (union ibm_extended_long_double): Define as an array of ieee754_double.
12812 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12813 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12814 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12815 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12819 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12823
975569d0
JM
128242013-10-03 Joseph Myers <joseph@codesourcery.com>
12825
d3d23756
JM
12826 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12827 page size instead of calling getpagesize.
12828
975569d0
JM
12829 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12830 (LOCFILE_ALIGN_MASK): Likewise.
12831 (LOCFILE_ALIGN_UP): Likewise.
12832 (LOCFILE_ALIGNED_P): Likewise.
12833 * locale/programs/ld-collate.c (collate_output): Use the new
12834 macros instead of __alignof__ (int32_t).
12835 * locale/weight.h (findidx): Likewise.
12836
b1fe1f2b
OB
128372013-10-03 Ondřej Bílka <neleai@seznam.cz>
12838
12839 [BZ #431]
12840 * manual/string.texi: Fix strncat and wcsncat.
12841
5f855e35
BM
128422013-10-03 Brooks Moses <bmoses@google.com>
12843
12844 [BZ #15915]
12845 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12846 * Makerules: ...here, and adjust associated comments.
12847
3cef6009
WN
128482013-10-02 Will Newton <will.newton@linaro.org>
12849
12850 * malloc/Makefile: Add tst-pvalloc.
12851 * malloc/tst-pvalloc.c: New file.
12852
7815420b
WN
128532013-10-02 Will Newton <will.newton@linaro.org>
12854
12855 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12856 improve test coverage.
12857
4868b204
WN
128582013-10-02 Will Newton <will.newton@linaro.org>
12859
12860 * malloc/Makefile: Add tst-posix_memalign.
12861 * malloc/tst-posix_memalign.c: New file.
12862
29c793b3
EB
128632013-10-01 Eric Blake <eblake@redhat.com>
12864
12865 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12866 Use __THROWNL rather than __THROW on static functions.
12867
fd967522
PM
128682013-09-30 Petr Machata <pmachata@redhat.com>
12869
12870 * elf/elf.h (R_AARCH64_ABS16): New macro.
12871 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12872 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12873 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12874 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12875 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12876 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12877 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12878 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12879 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12880 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12881 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12882 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12883 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12884 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12885 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12886 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12887 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12888 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12889 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12890 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12891 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12892 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12893 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12894 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12895 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12896 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12897 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12898 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12899 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12900 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12901 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12902 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12903 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12904 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12905 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12906 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12907 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12908 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12909 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12910 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12911 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12912 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12913 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12914 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12915 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12916 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12917 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12918 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12919 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12920 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12921 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12922 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12923 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12924 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12925 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12926 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12927 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12928 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12929 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12930 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12931 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12932 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12933 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12934 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12935 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12936 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12937 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12938 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12939 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12940 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12941 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12942 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12943 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12944 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12945 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12946 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12947 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12948 (R_AARCH64_TLSDESC_LDR): Likewise.
12949 (R_AARCH64_TLSDESC_ADD): Likewise.
12950 (R_AARCH64_TLSDESC_CALL): Likewise.
12951
b2179107
AS
129522013-09-30 Andreas Schwab <schwab@suse.de>
12953
12954 [BZ #15048]
12955 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12956 the nss database lookup.
12957 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12959
47f28d0a
MF
129602013-09-28 Mike Frysinger <vapier@gentoo.org>
12961
12962 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12963
129642013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12965
12966 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12967 ${Bash-specific parameter/pattern/string} parameter expansion.
12968 * sysdeps/unix/make-syscalls.sh: Likewise.
12969
f4518a17
KK
129702013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12971
12972 * sysdeps/sh/stackguard-macros.h: New file.
12973
dc1a95c7
OB
129742013-09-26 Ondřej Bílka <neleai@seznam.cz>
12975
12976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12977 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12978 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12979 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12980 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12981 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12982
5ebbff8f
AZ
129832013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12984
12985 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12986 Fix thread ID register.
12987
4fd2cf9f
JM
129882013-09-25 Joseph Myers <joseph@codesourcery.com>
12989
12990 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12991 [POSIX || UNIX98]: Require rather than permitting all symbols from
12992 <time.h>.
12993 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12994 element of struct sched_param.
12995 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12996 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12997 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12998 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12999 constant.
13000
12c22bc4
OL
130012013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13002
13003 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13004 argument calculation.
13005
a03d8ea7
JM
130062013-09-24 Joseph Myers <joseph@codesourcery.com>
13007
13008 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13009 Expect macro.
13010 [POSIX] (pthread_attr_t): Do not require type.
13011 [POSIX] (pthread_cond_t): Likewise.
13012 [POSIX] (pthread_condattr_t): Likewise.
13013 [POSIX] (pthread_key_t): Likewise.
13014 [POSIX] (pthread_mutex_t): Likewise.
13015 [POSIX] (pthread_mutexattr_t): Likewise.
13016 [POSIX] (pthread_once_t): Likewise.
13017 [POSIX] (pthread_t): Likewise.
13018 [POSIX-based standards] (pthread_atfork): Expect function.
13019
6055173a
JM
130202013-09-24 Joseph Myers <joseph@codesourcery.com>
13021 Richard Sandiford <richard@codesourcery.com>
13022
13023 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13024 (swap_endianness_p): New extern variable.
13025 (set_big_endian): New inline function.
13026 (maybe_swap_uint32): Likewise.
13027 (maybe_swap_uint32_array): Likewise.
13028 (maybe_swap_uint32_obstack): Likewise.
13029 * locale/programs/locfile.c: Include <stdbool.h>.
13030 (swap_endianness_p): New variable.
13031 (add_locale_uint32): Call maybe_swap_uint32.
13032 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13033 (write_locale_data): Call maybe_swap_uint32_array.
13034 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13035 maybe_swap_uint32.
13036 (obstack_int32_grow_fast): Likewise.
13037 (output_weightwc): Call maybe_swap_uint32_obstack.
13038 (collate_output): Likewise.
13039 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13040 (OPT_LITTLE_ENDIAN): Likewise.
13041 (options): Add --little-endian and --big-endian options.
13042 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13043 * locale/programs/locarchive.c: Include "locfile.h".
13044 (GET): New macro.
13045 (SET): Likewise.
13046 (INC): Likewise.
13047 (create_archive): Use the new macros to access fields of
13048 structures directly mapped from or written to locale archives.
13049 (oldlocrecentcmp): Likewise.
13050 (enlarge_archive): Likewise.
13051 (insert_name): Likewise.
13052 (add_alias): Likewise.
13053 (add_locale): Likewise.
13054 (delete_locales_from_archive): Likewise.
13055 (show_archive_content): Likewise.
13056 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13057 locale data.
13058
39bf0bb4
RM
130592013-09-24 Roland McGrath <roland@hack.frob.com>
13060
13061 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13062 http://www.gnu.org/doc/freemanuals.texi.
13063 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13064
f02eed10
WN
130652013-09-24 Will Newton <will.newton@linaro.org>
13066
13067 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13068 macro.
13069
a3a6c312
JM
130702013-09-23 Joseph Myers <joseph@codesourcery.com>
13071
13072 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13073 unsigned char.
13074
107375ac
MR
130752013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13076
13077 * manual/threads.texi (POSIX Threads): Fix a typo.
13078
141f3a77
SP
130792013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13080
303e567a
SP
13081 [BZ #14547]
13082 * string/tst-strcoll-overflow.c: New test case.
13083 * string/Makefile (xtests): Add tst-strcoll-overflow.
13084 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13085 cache if string sizes may cause integer overflow.
13086
141f3a77
SP
13087 [BZ #14547]
13088 * string/strcoll_l.c (coll_seq): New members rule, idx,
13089 save_idx and back_us.
13090 (get_next_seq_nocache): New function.
13091 (do_compare_nocache): New function.
13092 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13093 when malloc fails.
13094
c61b4d41
CD
130952013-09-23 Carlos O'Donell <carlos@redhat.com>
13096
0b1f8e35
CD
13097 [BZ #15754]
13098 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13099 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13100 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13101
c61b4d41
CD
13102 [BZ #15754]
13103 * elf/Makefile (tests): Add tst-ptrguard1.
13104 (tests-static): Add tst-ptrguard1-static.
13105 (tst-ptrguard1-ARGS): Define.
13106 (tst-ptrguard1-static-ARGS): Define.
13107 * elf/tst-ptrguard1.c: New file.
13108 * elf/tst-ptrguard1-static.c: New file.
13109 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13110 * sysdeps/i386/stackguard-macros.h: Likewise.
13111 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13112 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13113 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13114 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13115 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13116 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13117
131182013-09-23 Hector Marco <hecmargi@upv.es>
13119 Ismael Ripoll <iripoll@disca.upv.es>
13120 Carlos O'Donell <carlos@redhat.com>
13121
13122 [BZ #15754]
13123 * sysdeps/generic/stackguard-macros.h: Define
13124 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13125 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13126 Define __pointer_chk_guard_local.
13127 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13128 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13129
f5f4e7b4
VV
131302013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13131
13132 [BZ #15859]
13133 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13134
5bb43a43
AS
131352013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13136
13137 * include/string.h (__ffs): Declare as hidden.
13138 * string/ffs.c (__ffs): Define as hidden.
13139 * sysdeps/i386/ffs.c (__ffs): Likewise.
13140 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13141 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13142 * sysdeps/s390/ffs.c (__ffs): Likewise.
13143 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13144
3ea5be54
AO
131452013-09-20 Alexandre Oliva <aoliva@redhat.com>
13146
ffb89e53
AO
13147 * NEWS: Mention malloc probes.
13148
322dea08
AO
13149 * malloc/arena.c (new_heap): New memory_heap_new probe.
13150 (grow_heap): New memory_heap_more probe.
13151 (shrink_heap): New memory_heap_less probe.
13152 (heap_trim): New memory_heap_free probe.
13153 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13154 (systrim): New memory_sbrk_less probe.
13155 * manual/probes.texi: Document them.
13156
655673f3
AO
13157 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13158 * manual/probes.texi: Document it.
13159
35fed6f1
AO
13160 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13161 (__libc_realloc): Add memory_realloc_retry probe.
13162 (__libc_memalign): Add memory_memalign_retry probe.
13163 (__libc_valloc): Add memory_valloc_retry probe.
13164 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13165 (__libc_calloc): Add memory_calloc_retry probe.
13166 * manual/probes.texi: Document them.
13167
6999d38c
AO
13168 * malloc/arena.c (get_free_list): Add probe
13169 memory_arena_reuse_free_list.
13170 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13171 and memory_arena_reuse.
13172 (arena_get2) [!PER_THREAD]: Likewise.
13173 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13174 memory_arena_reuse_realloc.
13175 * manual/probes.texi: Document them.
13176
0653427f
AO
13177 * malloc/malloc.c (__libc_free): Add
13178 memory_mallopt_free_dyn_thresholds probe.
13179 (__libc_mallopt): Add multiple memory_mallopt probes.
13180 * manual/probes.texi: Document them.
13181
3ea5be54
AO
13182 * malloc/malloc.c: Include stap-probe.h.
13183 (__libc_mallopt): Add memory_mallopt probe.
13184 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13185 * manual/probes.texi: New.
13186 * manual/Makefile (chapters): Add probes.
13187 * manual/threads.texi: Set next node.
13188
e35696c3 131892013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13190
e35696c3
CL
13191 [BZ #15963, #13985]
13192 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13193 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13194 Add `Chinese' to `nan' entry name.
13195
4aafb73c
SP
131962013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13197
13198 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13199 (POLYNOMIAL): Likewise.
13200 (TAYLOR_SINCOS): Likewise.
13201 (TAYLOR_SLOW): Likewise.
13202 (__sin): Use TAYLOR_SINCOS.
13203 (__cos): Likewise.
13204 (slow): Use TAYLOR_SLOW.
13205 (sloww): Likewise.
13206 (bsloww): Likewise.
13207 (csloww): Likewise.
13208
d84f25c7
LD
132092013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13210
13211 * stdlib/strtod_l.c: Fix buffer overrun.
13212
5eea0404
SP
132132013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13214
7849ff93
SP
13215 * benchtests/Makefile (bench): Add sincos.
13216 * benchtests/bench-sincos.c: New file.
13217
cfa3c886
SP
13218 * math/libm-test.inc (cos_test_data): New test inputs.
13219 (sin_test_data): Likewise.
13220
b348e1e3
SP
13221 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13222 macro.
13223 (__sin): Use it.
13224 (__cos): Likewise.
13225 (slow1): Likewise.
13226 (slow2): Likewise.
13227 (sloww1): Likewise.
13228 (sloww2): Likewise.
13229 (bsloww1): Likewise.
13230 (bsloww2): Likewise.
13231 (cslow2): Likewise.
13232 (csloww1): Likewise.
13233 (csloww2): Likewise.
13234
6cce25f8
SP
13235 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13236 function.
13237 (__sin): Use it.
13238 (__cos): Likewise.
13239
5eea0404
SP
13240 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13241 gotos.
13242 (__cos): Likewise.
13243
9c21573c
MR
132442013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13245
13246 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13247 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13248 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13249 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13250 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13251 * elf/cache.c (print_entry): Handle the new cache flags.
13252
24d22e65
JM
132532013-09-18 Joseph Myers <joseph@codesourcery.com>
13254 Aldy Hernandez <aldyh@redhat.com>
13255
13256 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13257 Change condition to [_SOFT_FLOAT].
13258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13266 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13270 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13273 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13274 declaration.
13275
d13ef066
JM
132762013-09-18 Joseph Myers <joseph@codesourcery.com>
13277
2e071de0
JM
13278 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13279 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13280 (__longjmp): Use LOAD_GP to load saved GPRs.
13281 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13282 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13283 (__sigsetjmp): Use SAVE_GP to save GPRs.
13284
d13ef066
JM
13285 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13286 Do not append -msoft-float.
13287 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13288
97a0650b
SP
132892013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13290
13291 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13292
11ca09e9
JM
132932013-09-17 Joseph Myers <joseph@codesourcery.com>
13294
13295 [BZ #15966]
13296 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13297 (_FPU_GETCW): Use initial "__" on variable and field names but not
13298 on macro parameter name.
13299 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13300 parentheses around reference to macro parameter.
13301
08ffcf34
RS
133022013-09-13 Richard Sandiford <richard@codesourcery.com>
13303
13304 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13305 prototype.
13306 (ctype_startup): Use uint32_t in cast and sizeof for
13307 ctype->charnames.
13308
ae7080d3
JL
133092013-09-11 Jia Liu <proljc@gmail.com>
13310
13311 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13312 __daddr_t_defined.
13313 [__FreeBSD__]: Likewise.
13314
5905e7b3
OB
133152013-09-11 Ondřej Bílka <neleai@seznam.cz>
13316
13317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13318 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13319 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13320 (strchr): Remove __strchr_sse42 ifunc selection.
13321 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13322 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13323
b987c776
WN
133242013-09-11 Will Newton <will.newton@linaro.org>
13325
13326 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13327 parameter to RES. Remove hardcoded 1000 value.
13328 * benchtests/bench-skeleton.c (main): Pass RES parameter
13329 to TIMING_INIT and multiply result by 1000.
13330
ddf985af
AZ
133312013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13332
13333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13334
ffdd3181
AS
133352013-09-11 Andreas Schwab <schwab@suse.de>
13336
13337 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13338 if not defined.
13339 (O_TMPFILE) [__USE_GNU]: Define.
13340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13341 Define.
13342
b73ed247
WN
133432013-09-11 Will Newton <will.newton@linaro.org>
13344
13345 [BZ #15857]
13346 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13347 does not overflow.
13348
55e17aad
WN
133492013-09-11 Will Newton <will.newton@linaro.org>
13350
13351 [BZ #15856]
13352 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13353 does not overflow.
13354
1159a193
WN
133552013-09-11 Will Newton <will.newton@linaro.org>
13356
13357 [BZ #15855]
13358 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13359 does not overflow.
13360
5905e7b3 133612013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13362
13363 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13364 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13368
cdfc721b
AM
133692013-09-10 Allan McRae <allan@archlinux.org>
13370
aa04af00
AM
13371 [BZ #15748]
13372 * manual/arith.texi (Parsing of Floats): Clarify
13373 cross-reference.
13374
cdfc721b
AM
13375 [BZ #15849]
13376 * manual/install.texi (Running make install): Mention
13377 --enable-pt-chown.
13378 * INSTALL: Regenerated.
13379
95e7cf29
MR
133802013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13381
13382 * csu/init-first.c (_init): Remove the !SHARED condition around
13383 FPU control word initialization.
13384 * elf/dl-support.c (_dl_fpu_control): New variable.
13385 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13386 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13387 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13388 * math/test-fpucw-static.c: New file.
13389 * math/test-fpucw-ieee.c: New file.
13390 * math/test-fpucw-ieee-static.c: New file.
13391 * math/Makefile (tests): Add `test-fpucw-ieee' and
13392 `$(tests-static)'.
13393 (tests-static): New variable.
13394 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13395 dependency to...
13396 [($(build-shared),yes)]
13397 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13398 ... this.
13399 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13400 New dependency.
13401
83e43bf0
AM
134022013-09-09 Allan McRae <allan@archlinux.org>
13403
a9f5ce09
AM
13404 [BZ #15939]
13405 * manual/string.texi (Collation Functions): Fix typo in
13406 strcoll example.
13407 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13408
34829bc2
AM
13409 [BZ #15893]
13410 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13411
3932737d
AM
13412 [BZ #15892]
13413 * libio/memstream.c (open_memstream): Fix memory leak.
13414 * libio/wmemstream.c (open_wmemstream): Likewise.
13415
83e43bf0
AM
13416 [BZ #15895]
13417 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13418
0c66b8e9
WN
134192013-09-09 Will Newton <will.newton@linaro.org>
13420
13421 * malloc/Makefile: Add tst-realloc to tests.
13422 * malloc/tst-realloc.c: New file.
13423
f6b00fd1
AM
134242013-09-09 Allan McRae <allan@archlinux.org>
13425
13426 [BZ #15844]
13427 * COPYING: Update from GNU website to fix FSF address.
13428 * COPYING.LIB: Likewise.
13429
eec55e16
DM
134302013-09-06 David S. Miller <davem@davemloft.net>
13431
13432 * po/zh_TW.po: Update Chinese (traditional) translation from
13433 translation project.
13434
1ecbb381
RS
134352013-09-06 Richard Sandiford <richard@codesourcery.com>
13436 Joseph Myers <joseph@codesourcery.com>
13437
13438 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13439 "localeinfo.h".
13440 (obstack_chunk_alloc): New macro.
13441 (obstack_chunk_free): Likewise.
13442 (record_offset): New function.
13443 (init_locale_data): Likewise.
13444 (align_locale_data): Likewise.
13445 (add_locale_empty): Likewise.
13446 (add_locale_raw_data): Likewise.
13447 (add_locale_raw_obstack): Likewise.
13448 (add_locale_string): Likewise.
13449 (add_locale_wstring): Likewise.
13450 (add_locale_uint32): Likewise.
13451 (add_locale_uint32_array): Likewise.
13452 (add_locale_char): Likewise.
13453 (start_locale_structure): Likewise.
13454 (end_locale_structure): Likewise.
13455 (start_locale_prelude): Likewise.
13456 (end_locale_prelude): Likewise.
13457 (write_locale_data): Take locale_file structure rather than an
13458 iovec.
13459 * locale/programs/locfile.h: Include "obstack.h".
13460 (struct locale_file): Change to store locale file contents instead
13461 of header.
13462 (init_locale_data): New prototype.
13463 (align_locale_data): Likewise.
13464 (add_locale_empty): Likewise.
13465 (add_locale_raw_data): Likewise.
13466 (add_locale_raw_obstack): Likewise.
13467 (add_locale_string): Likewise.
13468 (add_locale_wstring): Likewise.
13469 (add_locale_uint32): Likewise.
13470 (add_locale_uint32_array): Likewise.
13471 (add_locale_char): Likewise.
13472 (start_locale_structure): Likewise.
13473 (end_locale_structure): Likewise.
13474 (start_locale_prelude): Likewise.
13475 (end_locale_prelude): Likewise.
13476 (write_locale_data): Update prototype.
13477 * locale/programs/3level.h (struct TABLE): Remove result field.
13478 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13479 Use new locale_file interface.
13480 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13481 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13482 * locale/programs/ld-address.c (address_output): Use new
13483 locale_file interface.
13484 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13485 NO_ADD_LOCALE.
13486 (collate_finish): Don't call collseq_table_finalize.
13487 (collate_output): Use new locale_file interface.
13488 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13489 in file.
13490 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13491 (TABLE): Move defines earlier in file.
13492 (ELEMENT): Likewise.
13493 (DEFAULT): Likewise.
13494 (wctrans_table_add): Move macro and inline function earlier in
13495 file.
13496 (struct wctype_table): Move type earlier in file.
13497 (add_locale_wctype_table): New static prototype.
13498 (struct locale_ctype_t): Use logical types instead of struct iovec
13499 pointers for members.
13500 (ctype_output): Use new locale_file interface.
13501 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13502 new locale_file interface.
13503 (allocate_arrays): Update for use of new locale_file interface.
13504 * locale/programs/ld-identification.c (identification_output): Use
13505 new locale_file interface.
13506 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13507 * locale/programs/ld-messages.c (messages_output): Likewise.
13508 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13509 * locale/programs/ld-name.c (name_output): Likewise.
13510 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13511 * locale/programs/ld-paper.c (paper_output): Likewise.
13512 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13513 * locale/programs/ld-time.c (time_output): Likewise.
13514
e029e2e5
AZ
135152013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13516
13517 * benchtests/Makefile: Add memrchr benchmark.
13518 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13519 benchmark as memrchr.
13520 * benchtests/bench-memrchr-ifunc.c: New file.
13521 * benchtests/bench-memrchr.c: New file.
13522
bbf6e8e4
WN
135232013-09-06 Will Newton <will.newton@linaro.org>
13524
13525 * benchtests/Makefile (string-bench): Add memcpy.
13526
6c82a2f8
CD
135272013-09-05 Carlos O'Donell <carlos@redhat.com>
13528 Cong Wang <amwang@redhat.com>
13529
e732c5f0 13530 [BZ #15850]
6c82a2f8
CD
13531 * sysdeps/unix/sysv/linux/bits/in.h
13532 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13533 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13534 before __USE_KERNEL_IPV6_DEFS uses.
13535 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13536 IPPROTO_BEETPH.
13537 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13538 sockaddr_in6, or ipv6_mreq.
13539
5430fc65
AZ
135402013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13541
13542 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13543 memory access for final bytes in some large inputs.
13544 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13545
4660856c
AZ
135462013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13547
13548 * string/test-memrchr.c: New file.
13549 * string/test-memrchr-ifunc.c: New file.
13550 * string/Makefile: Add new memrchr testcase.
13551
bb8ea713
MF
135522013-09-05 Mike Frysinger <vapier@gentoo.org>
13553
13554 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13555 fanotify_init returns EPERM.
13556
b92a20b5
JM
135572013-09-04 Joseph Myers <joseph@codesourcery.com>
13558
13559 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13560 errors.
13561 (top level): Treat second token from macro or constant entries for
13562 allowed headers as allowed.
13563 * include/complex.h: Condition internal declarations on
13564 [!_ISOMAC].
13565 * include/fenv.h: Condition include of <stdbool.h> and internal
13566 declarations on [!_ISOMAC].
7447ccd9
CL
13567
135682013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13569
3e181dda 13570 [BZ #15923]
7447ccd9
CL
13571 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13572
3f2e46a4
JM
135732013-09-04 Joseph Myers <joseph@codesourcery.com>
13574
13575 * configure.in (--enable-versioning): Remove configure option.
13576 (libc_cv_asm_symver_directive): Remove configure test.
13577 (libc_cv_ld_version_script_option): Likewise.
13578 (VERSIONING): Remove variable and AC_SUBST.
13579 (DO_VERSIONING): Remove AC_DEFINE.
13580 * configure: Regenerated.
13581 * config.h.in (DO_VERSIONING): Remove macro.
13582 * Makerules [$(versioning) = yes]: Change conditionals to
13583 [$(build-shared) = yes].
13584 * config.make.in (versioning): Remove variable.
13585 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13586 [$(build-shared) = yes].
13587 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13588 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13589 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13590 [$(build-shared) = yes].
13591 * extra-lib.mk [$(versioning) = yes]: Likewise.
13592 * hurd/Makefile [$(versioning) = yes]: Likewise.
13593 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13594 [SHARED].
13595 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13596 [SHARED].
13597 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13598 [SHARED && !NO_HIDDEN].
13599 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13600 [SHARED].
13601 [SHARED && DO_VERSIONING]: Likewise..
13602 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13603 [$(build-shared) = yes].
13604 * manual/install.texi (--disable-versioning): Remove
13605 documentation.
13606 * INSTALL: Regenerated.
13607 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13608 to [SHARED].
13609 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13610 [$(build-shared) = yes].
13611 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13612 * sysdeps/i386/i686/multiarch/strstr-c.c
13613 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13614 [SHARED && !NO_HIDDEN].
13615 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13616 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13617 * sysdeps/powerpc/powerpc32/dl-machine.c
13618 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13619 * sysdeps/powerpc/powerpc32/sysdep.h
13620 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13621 to [SHARED && PIC && !NO_HIDDEN].
13622 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13623 conditional to [SHARED].
13624
44558701
WN
136252013-09-04 Will Newton <will.newton@linaro.org>
13626
13627 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13628 * benchtests/bench-string.h: Include bench-timing.h instead
13629 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13630 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13631 call to HP_TIMING_DIFF_INIT.
13632 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13633 instead of hp-timing.h macros.
13634 * benchtests/bench-memchr.c: Likewise.
13635 * benchtests/bench-memcmp.c: Likewise.
13636 * benchtests/bench-memcpy.c: Likewise.
13637 * benchtests/bench-memmem.c: Likewise.
13638 * benchtests/bench-memmove.c: Likewise.
13639 * benchtests/bench-memset.c: Likewise.
13640 * benchtests/bench-rawmemchr.c: Likewise.
13641 * benchtests/bench-strcasecmp.c: Likewise.
13642 * benchtests/bench-strcasestr.c: Likewise.
13643 * benchtests/bench-strcat.c: Likewise.
13644 * benchtests/bench-strchr.c: Likewise.
13645 * benchtests/bench-strcmp.c: Likewise.
13646 * benchtests/bench-strcpy.c: Likewise.
13647 * benchtests/bench-strcpy_chk.c: Likewise.
13648 * benchtests/bench-strlen.c: Likewise.
13649 * benchtests/bench-strncasecmp.c: Likewise.
13650 * benchtests/bench-strncat.c: Likewise.
13651 * benchtests/bench-strncmp.c: Likewise.
13652 * benchtests/bench-strncpy.c: Likewise.
13653 * benchtests/bench-strnlen.c: Likewise.
13654 * benchtests/bench-strpbrk.c: Likewise.
13655 * benchtests/bench-strrchr.c: Likewise.
13656 * benchtests/bench-strspn.c: Likewise.
13657 * benchtests/bench-strstr.c: Likewise.
13658
cae16d66
WN
136592013-09-04 Will Newton <will.newton@linaro.org>
13660
13661 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13662
ffa3cd7f
JM
136632013-09-03 Joseph Myers <joseph@codesourcery.com>
13664
13665 [BZ #15427]
13666 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13667 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13668 * math/libm-test.inc (lgamma_test_data): Add more tests.
13669 * sysdeps/i386/fpu/libm-test-ulps: Update.
13670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13671
8f02859f
OB
136722013-09-03 Ondřej Bílka <neleai@seznam.cz>
13673
13674 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13676 Add ifunc.
13677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13678 Add strcmp-sse2-unaligned
13679 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13680
18d43716
MF
136812013-09-02 Mike Frysinger <vapier@gentoo.org>
13682
13683 * Versions.def (libc): Add GLIBC_2.19.
13684
ac444012
MF
136852013-09-02 Mike Frysinger <vapier@gentoo.org>
13686
13687 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13688 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13689
b7835e32
JM
136902013-09-02 Joseph Myers <joseph@codesourcery.com>
13691
13692 [BZ #14155]
13693 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13694 intermediate calculations in recurrence.
13695 (__ieee754_ynf): Likewise.
13696 * math/libm-test.inc (jn_test_data): Do not allow spurious
13697 underflow exception. Add more tests.
13698 (yn_test_data): Add more tests.
13699 * sysdeps/i386/fpu/libm-test-ulps: Update.
13700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13701
8220f4f0
OB
137022013-09-02 Ondřej Bílka <neleai@seznam.cz>
13703
13704 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13705
f24a6d08
OB
137062013-08-30 Ondřej Bílka <neleai@seznam.cz>
13707
13708 * csu/init-first.c: Fix then/than typos.
13709 * locale/programs/ld-collate.c: Likewise.
13710 * locale/programs/linereader.h: Likewise.
13711 * manual/charset.texi: Likewise.
13712 * manual/filesys.texi: Likewise.
13713 * manual/stdio.texi: Likewise.
13714 * manual/string.texi: Likewise.
13715 * stdlib/fmtmsg.c: Likewise.
13716 * sysdeps/i386/stpncpy.S: Likewise.
13717 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13718 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13719 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13720 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13721
382466e0
OB
137222013-08-30 Ondřej Bílka <neleai@seznam.cz>
13723
13724 * elf/dl-open.c: Fix typos.
13725 * iconvdata/gbbig5.c: Likewise.
13726 * iconvdata/iso-2022-jp.c: Likewise.
13727 * iconv/gconv_int.h: Likewise.
13728 * iconv/loop.c: Likewise.
13729 * nis/rpcsvc/nis.h: Likewise.
13730 * resolv/ns_name.c: Likewise.
13731 * stdio-common/vfscanf.c: Likewise.
13732 * streams/stropts.h: Likewise.
13733 * sunrpc/rpc_thread.c: Likewise.
13734 * sysdeps/i386/strpbrk.S: Likewise.
13735 * sysdeps/ieee754/k_standard.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13738 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13739 * sysdeps/mach/hurd/profil.c: Likewise.
13740 * sysdeps/s390/dl-procinfo.h: Likewise.
13741 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13742 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13743 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13744 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13746
0186c6e9
OB
137472013-08-30 Ondřej Bílka <neleai@seznam.cz>
13748
13749 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13750 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13751
d4e16af1
OB
137522013-08-29 Ondřej Bílka <neleai@seznam.cz>
13753
13754 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13755 aix specific files.
13756 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13757 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13758 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13759 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13760 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13761 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13762 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13763 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13764
88335980
TS
137652013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13766 Roland McGrath <roland@hack.frob.com>
13767
13768 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13769 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13770
ed479b02
ST
137712013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13772
13773 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13774 __executable_start symbol instead of _start.
13775
f1cc4c86
TS
137762013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13777
d821f07c
TS
13778 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13779 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13780 Move macros to...
13781 * sysdeps/gnu/ldsodefs.h: ... this new file.
13782
c54290cf
TS
13783 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13784 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13785 instead of ELFOSABI_LINUX.
13786
0007fc9b 13787 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13788 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13789 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13790 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13791 Likewise.
13792 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13793 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13795 Likewise.
13796 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13797 (ibm_extended_long_double): Add ieee_nan member.
13798 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13799 (do_test): New function.
13800
f1cc4c86
TS
13801 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13802 TEST_TRUNC.
13803 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13804 functions, renamed from truncdfsf_test, trunctfsf_test,
13805 trunctfdf_test.
13806 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13807 functions.
13808 (do_test): Run all these.
13809
6f65e668
OB
138102013-08-29 Ondřej Bílka <neleai@seznam.cz>
13811
13812 * argp/argp-help.c: Fix typos.
13813 * argp/argp-parse.c: Likewise.
13814 * debug/backtracesyms.c: Likewise.
13815 * elf/elf.h: Likewise.
13816 * malloc/malloc.c: Likewise.
13817 * nis/nis_print.c: Likewise.
13818 * resolv/res_comp.c: Likewise.
13819 * stdlib/stdlib.h: Likewise.
13820 * sunrpc/clnt_tcp.c: Likewise.
13821 * sunrpc/clnt_udp.c: Likewise.
13822 * sunrpc/clnt_unix.c: Likewise.
13823 * sysdeps/unix/bsd/ptsname.c: Likewise.
13824 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13825 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13827 Likewise.
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13829 Likewise.
13830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13831 Likewise.
6f65e668
OB
13832 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13833
3a309239
SP
138342013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13835
13836 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13838
3b813b29
MF
138392013-08-27 Mike Frysinger <vapier@gentoo.org>
13840
13841 [BZ #15897]
13842 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13843 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13844 ($(objpfx)bug-dl-leaf): New rule.
13845 ($(objpfx)bug-dl-leaf.so): Likewise.
13846 ($(objpfx)bug-dl-leaf.out): Likewise.
13847 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13848 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13849 * dlfcn/bug-dl-leaf.c: New test.
13850 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13851 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13852 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13853 (dlclose): Likewise.
13854 (dlmopen): Likewise.
13855
8cc3269f
RM
138562013-08-27 Roland McGrath <roland@hack.frob.com>
13857
7f9d0034
RM
13858 * include/netdb.h [!_ISOMAC]:
13859 Don't include <tls.h>.
13860 (h_errno, __libc_h_errno): Move declaration and macros out of
13861 [_LIBC_REENTRANT].
13862
fb431262
RM
13863 * include/resolv.h [_RESOLV_H_]:
13864 Don't include <tls.h>.
13865 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13866 * resolv/res_libc.c: Don't include <tls.h>.
13867 (_res): Use __attribute__ ((nocommon)) in place of
13868 __attribute__ ((section (".bss"))).
13869
bd81123a
RM
13870 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13871 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13872
c4e42566
RM
13873 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13874
f890a59b
RM
13875 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13876 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13877
13878 * resolv/res_mkquery.c: Include <sys/time.h>.
13879
5d1f0a09
RM
13880 * inet/ifreq.c: Moved to ...
13881 * sysdeps/unix/ifreq.c: ... here.
13882 * inet/ifreq.c: New file, true stub version.
13883
6fcf28b3
RM
13884 * socket/sa_len.c: New file.
13885 * socket/Makefile (aux): Add it.
13886 * sysdeps/unix/sysv/linux/Makefile
13887 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13888 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13889 and #include <socket/sa_len.c>.
13890 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13891 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13892
e041fb8b
RM
13893 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13894 * bits/socket.h: ... here.
13895
8cc3269f
RM
13896 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13897 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13898 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13899
5d228a43
AS
139002013-08-27 Andreas Schwab <schwab@suse.de>
13901
45b8accc
AS
13902 [BZ #15736]
13903 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13904 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13905 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13906 * string/test-strcasecmp.c (test_main): Run tests in several
13907 locales.
13908 * string/test-strncasecmp.c (test_main): Likewise.
13909
5d228a43
AS
13910 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13911 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13912 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13913 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13914 (__strncasecmp_ssse3) [PIC]: Likewise.
13915
59d112a4
RM
139162013-08-26 Roland McGrath <roland@hack.frob.com>
13917
53234cc3
RM
13918 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13919
59d112a4
RM
13920 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13921 instead of explicitly declaring xdecrypt.
13922 * nis/nss_nis/nis-publickey.c: Likewise.
13923
595aba70
SP
139242013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13925
13926 [BZ #15890]
13927 * nscd/aicache.c: Include res_hconf.h.
13928 (addhstaiX): Initialize res_hconf.
13929
ffabd393
AS
139302013-08-26 Andreas Schwab <schwab@suse.de>
13931
13932 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13933 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13934
e0a69f5c
SP
139352013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13936
13937 * nscd/aicache.c (addhstaiX): Fix indentation.
13938
8c12f01d
MF
139392013-08-25 Mike Frysinger <vapier@gentoo.org>
13940
13941 * configure.ac: Quote $build_pt_chown test.
13942 * configure: Regenerated.
13943
8fe89494
JM
139442013-08-23 Joseph Myers <joseph@codesourcery.com>
13945
13946 [BZ #15532]
13947 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13948 * math/s_cexpf.c (__cexpf): Likewise.
13949 * math/s_cexpl.c (__cexpl): Likewise.
13950 * math/libm-test.inc (cexp_test_data): Correct expected return
13951 value for NaN + i0. Add another test.
13952
75b181d6
DM
139532013-08-22 David S. Miller <davem@davemloft.net>
13954
13955 * po/ca.po: Update Catalan translation from translation project.
936241e4 13956 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13957
acd06bb1
JM
139582013-08-21 Joseph Myers <joseph@codesourcery.com>
13959
13960 [BZ #15797]
13961 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13962 is infinite, not alongside NaN test.
13963 * math/s_fdimf.c (__fdimf): Likewise.
13964 * math/s_fdiml.c (__fdiml): Likewise.
13965 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13966 errno is unchanged.
13967
c0c3f78a
OB
139682013-08-21 Ondřej Bílka <neleai@seznam.cz>
13969
13970 * argp/argp-help.c: Fix typos.
13971 * crypt/speeds.c: Likewise.
13972 * csu/check_fds.c: Likewise.
13973 * elf/dl-load.c: Likewise.
13974 * elf/dl-open.c: Likewise.
13975 * elf/reldep3.c: Likewise.
13976 * elf/reldep.c: Likewise.
13977 * elf/sprof.c: Likewise.
13978 * iconv/iconv_charmap.c: Likewise.
13979 * iconv/skeleton.c: Likewise.
13980 * iconv/strtab.c: Likewise.
13981 * io/lockf64.c: Likewise.
13982 * libio/libioP.h: Likewise.
13983 * resolv/gai_notify.c: Likewise.
13984 * resolv/ns_name.c: Likewise.
13985 * resolv/ns_samedomain.c: Likewise.
13986 * resolv/res_send.c: Likewise.
13987 * stdlib/random.c: Likewise.
13988 * sunrpc/rpc/xdr.h: Likewise.
13989 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13990 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13991 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13992 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13993 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13994 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13995 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13996 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13997 * sysdeps/mach/hurd/check_fds.c: Likewise.
13998 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13999 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14000 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14001 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14002 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14003 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14004 * sysdeps/pthread/aio_notify.c: Likewise.
14005 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14006 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14007 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14008 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14009 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14010
46ed1038
LD
140112013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14012
14013 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14014 version if bit_Slow_SSE4_2 is set.
14015 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14016 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14017
d400dcac
AZ
140182013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14019
14020 [BZ #15867]
14021 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14022 trampoline stack frame information.
14023 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14024 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14025 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14026 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14027 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14028 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14029 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14030 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14031 sa_flags value.
14032 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14033 interrupting a syscall and set with option SA_SIGINFO.
14034
42c8fdd8
JM
140352013-08-20 Joseph Myers <joseph@codesourcery.com>
14036
c980f2f4
JM
14037 [BZ #15531]
14038 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14039 argument is infinite.
14040 * math/s_cprojf.c (__cprojf): Likewise.
14041 * math/s_cprojl.c (__cprojl): Likewise.
14042 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14043 * math/libm-test.inc (cproj_test_data): Add more tests.
14044
0716c4fc
JM
14045 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14046
42c8fdd8
JM
14047 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14048 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14049 size. Use __ffs to determine corresponding shift.
14050
b31469d0
JM
140512013-08-20 Joseph Myers <joseph@codesourcery.com>
14052 Roland McGrath <roland@hack.frob.com>
14053
14054 * Makefile (INSTALL): Remove trailing blank lines from output of
14055 makeinfo.
14056
4e39af6e
AK
140572013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14058
14059 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14060 Align 32 bit compat elf_greg to 8 bytes.
14061
f315524e
AA
140622013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14063
14064 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14065
1326ba1a
SP
140662013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14067
14068 * string/strcoll_l.c (coll_seq): New structure.
14069 (get_next_seq_cached): New function.
14070 (get_next_seq): New function.
14071 (do_compare): New function.
14072 (STRCOLL): Use GNU style definition. Simplify implementation
14073 by using get_next_seq, get_next_seq_cached and do_compare.
14074
91ce4085
FW
140752013-08-16 Florian Weimer <fweimer@redhat.com>
14076
14077 [BZ #14699]
14078 CVE-2013-4237
14079 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14080 member.
14081 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14082 member.
14083 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14084 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14085 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14086 conditional.
14087 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14088 GETDENTS_64BIT_ALIGNED.
14089 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14090 * manual/filesys.texi (Reading/Closing Directory): Document
14091 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14092 strongly.
14093 * manual/conf.texi (Limits for Files): Add portability note to
14094 NAME_MAX, PATH_MAX.
14095 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14096
ca0a6bc4
AS
140972013-08-13 Andreas Schwab <schwab@suse.de>
14098
14099 [BZ #15749]
14100 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14101 of fabs.
14102 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14103 LDBL_MAX_EXP >= 16384]: Add tests for it.
14104
6c1fd795
DM
141052013-08-12 David S. Miller <davem@davemloft.net>
14106
14107 * version.h (RELEASE): Set to "development".
14108 (VERSION): Set to "2.18.90".
14109 * NEWS: Add 2.19 section.
14110
31ad488d
DM
141112013-08-03 David S. Miller <davem@davemloft.net>
14112
14113 * po/ko.po: Update Korean translation from translation project.
14114
db24e684
DM
141152013-08-01 David S. Miller <davem@davemloft.net>
14116
14117 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14118 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14119 Bilka.
14120
f723285b
DM
141212013-07-30 David S. Miller <davem@davemloft.net>
14122
14123 * po/fr.po: Update French translation from translation project.
14124
3cbc52db
DM
141252013-07-28 David S. Miller <davem@davemloft.net>
14126
30bbc0cc
DM
14127 * po/cs.po: Update Czech translation from translation project.
14128
3cbc52db
DM
14129 * po/sv.po: Update Swedish translation from translation project.
14130
d492e6d0
DM
141312013-07-27 David S. Miller <davem@davemloft.net>
14132
f1a7f492
DM
14133 * po/eo.po: Update Esperanto translation from translation project.
14134
90e62a4a
DM
14135 * po/vi.po: Update Vietnamese translation from translation project.
14136
d492e6d0
DM
14137 * po/de.po: Update German translation from translation project.
14138
d4baa62d
DM
141392013-07-26 David S. Miller <davem@davemloft.net>
14140
641aa7b4
DM
14141 * po/bg.po: Update Bulgarian translation from translation project.
14142
d4baa62d
DM
14143 * po/nl.po: Update Dutch translation from translation project.
14144 * po/pl.po: Update Polish translation from translation project.
14145 * po/ru.po: Update Russian translation from translation project.
14146
61a9dcb9
DM
141472013-07-24 David S. Miller <davem@davemloft.net>
14148
14149 * po/libc.pot: Update.
14150
7b1f8b58
AZ
141512013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14152
14153 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14154 variable page size.
14155 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14156 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14157 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14158
a8fc7a03
AK
141592013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14160
14161 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14162
e4608715
CD
141632013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14164 Andreas Schwab <schwab@suse.de>
14165 Roland McGrath <roland@hack.frob.com>
14166 Joseph Myers <joseph@codesourcery.com>
14167 Carlos O'Donell <carlos@redhat.com>
14168
14169 [BZ #15755]
14170 * config.h.in: Define HAVE_PT_CHOWN.
14171 * config.make.in (build-pt-chown): New variable.
14172 * configure.in (--enable-pt_chown): New configure option.
14173 * configure: Regenerate.
14174 * login/Makefile: Include Makeconfig. Build pt_chown only if
14175 build-pt-chown is enabled.
14176 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14177 pt_chown to fix pty ownership.
14178 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14179 CLOSE_ALL_FDS.
14180 * manual/install.texi (Configuring and compiling): Mention
14181 --enable-pt_chown. Add @findex for grantpt.
14182 * INSTALL: Regenerate.
14183
da2d62df
DM
141842013-07-20 David S. Miller <davem@davemloft.net>
14185
14186 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14187 difference between 32-bit and 64-bit.
14188
d7e06450
CD
141892013-07-15 Carlos O'Donell <carlos@redhat.com>
14190
14191 [BZ #15711]
14192 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14193 Avoid system header dependency with -ffreestanding.
14194 ($(objpfx)bits/syscall%d): Likewise.
14195
f959cfd7
DM
141962013-07-13 David S. Miller <davem@davemloft.net>
14197
14198 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14199 underflows from atanl/atan2l due to bug 15319.
14200 (casinh_test_data): Likewise.
14201
c61f8513
DM
142022013-07-07 David S. Miller <davem@davemloft.net>
14203
14204 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14205
72c90ed0
JA
142062013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14207
14208 * sysdeps/i386/fpu/libm-test-ulps: Update.
14209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14210
52dfbe13
SP
142112013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14212
14213 * configure.in (--enable-lock-elision): Fix message text.
14214 * INSTALL: Regenerate.
14215 * configure: Regenerate.
14216
3f169543
AZ
142172013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14218
14219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14220
521c6785
AJ
142212013-07-03 Andreas Jaeger <aj@suse.de>
14222
14223 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14224 define.
14225 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14226 (ptrace_peeksiginfo_args): Add.
14227 (__ptrace_peeksiginfo_flags): Add.
14228 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14230 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14231
d2cc15cb
AM
142322013-07-03 Allan McRae <allan@archlinux.org>
14233
14234 * sysdeps/i386/fpu/libm-test-ulps: Update.
14235
3aaeeca7
DM
142362013-07-02 David S. Miller <davem@davemloft.net>
14237
14238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14239
5314ed1a
MT
142402013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14241
14242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14243
67338156
JM
142442013-07-02 Joseph Myers <joseph@codesourcery.com>
14245
14246 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14248
1717da59
AK
142492013-07-02 Andi Kleen <ak@linux.intel.com>
14250
14251 * config.h.in (ENABLE_LOCK_ELISION): Add.
14252 * configure.in (--enable-lock-elision): Add option.
14253 * manual/install.texi: Document --enable lock elision.
14254 * configure: Regenerate
14255 * INSTALL: Regenerate.
14256
1c81621c
L
142572013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14258
14259 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14260 SSE4.2 strcasecmp for libc.a.
14261 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14262
77f01ab5
JM
142632013-07-02 Joseph Myers <joseph@codesourcery.com>
14264
14265 [BZ #13304]
14266 * soft-fp/op-common.h (_FP_FMA): New macro.
14267 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14268 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14269 (_FP_MUL_MEAT_1_imm): ... here.
14270 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14271 (_FP_MUL_MEAT_1_wide): ... here.
14272 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14273 (_FP_MUL_MEAT_1_hard): ... here.
14274 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14275 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14276 (_FP_MUL_MEAT_2_wide): ... here.
14277 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14278 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14279 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14280 (_FP_MUL_MEAT_2_gmp): ... here.
14281 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14282 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14283 (_FP_MUL_MEAT_4_wide): ... here.
14284 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14285 (_FP_MUL_MEAT_4_gmp): ... here.
14286 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14287 (_FP_WFRACBITS_DW_S): Likewise.
14288 (_FP_WFRACXBITS_DW_S): Likewise.
14289 (_FP_HIGHBIT_DW_S): Likewise.
14290 (FP_FMA_S): Likewise.
14291 (_FP_FRAC_HIGH_DW_S): Likewise.
14292 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14293 (_FP_WFRACBITS_DW_D): Likewise.
14294 (_FP_WFRACXBITS_DW_D): Likewise.
14295 (_FP_HIGHBIT_DW_D): Likewise.
14296 (FP_FMA_D): Likewise.
14297 (_FP_FRAC_HIGH_DW_D): Likewise.
14298 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14299 (_FP_WFRACBITS_DW_E): Likewise.
14300 (_FP_WFRACXBITS_DW_E): Likewise.
14301 (_FP_HIGHBIT_DW_E): Likewise.
14302 (FP_FMA_E): Likewise.
14303 (_FP_FRAC_HIGH_DW_E): Likewise.
14304 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14305 (_FP_WFRACBITS_DW_Q): Likewise.
14306 (_FP_WFRACXBITS_DW_Q): Likewise.
14307 (_FP_HIGHBIT_DW_Q): Likewise.
14308 (FP_FMA_Q): Likewise.
14309 (_FP_FRAC_HIGH_DW_Q): Likewise.
14310 * soft-fp/fmasf4.c: New file.
14311 * soft-fp/fmadf4.c: Likewise.
14312 * soft-fp/fmatf4.c: Likewise.
14313
6308fd9a
LD
143142013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14315
14316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14317 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14318 Silvermont.
14319 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14320 macro.
14321 (index_Slow_SSE4_2): Likewise.
14322 (index_Prefer_PMINUB_for_stringop): Likewise.
14323 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14324 bit_Slow_SSE4_2 is set.
14325 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14326 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14327
89cd9569
RA
143282013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14329
14330 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14331 rtld_global._dl_hwcap2.
14332 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14333 POWER8.
14334 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14335 POWER8 feature descriptions defined in _dl_hwcap2.
14336 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14337 string handling for POWER8 feature bits.
14338 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14339 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14340 _dl_powerpc_cap_flags.
14341 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14342 * sysdeps/powerpc/rtld-global-offsets.sym
14343 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14344 _dl_hwcap2 in the rtld_global_ro structure.
14345
1ae8bfe0
RA
143462013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14347
14348 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14349 hardware capabilities in support of AT_HWCAP2.
14350 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14351 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14352 GLRO(dl_hwcap2).
14353 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14354 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14355 explicitly the unknown a_type display mechanism is used.
14356 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14357 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14358 struct member.
14359 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14360 to macro prototype for AT_HWCAP2 support.
14361 * sysdeps/i386/dl-procinfo.h: Likewise.
14362 * sysdeps/s390/dl-procinfo.h: Likewise.
14363 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14364 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14365 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14366 return -1 for unknown a_type display fallback.
14367 * sysdeps/sparc/dl-procinfo.h: Likewise.
14368 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14369 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14370
8fbec010
JM
143712013-06-28 Joseph Myers <joseph@codesourcery.com>
14372
14373 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14374 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14375
0432680e
PY
143762013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14377
14378 [BZ #12492]
14379 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14380 mprotect making __stack_prot writable.
14381
ce61a2ad
NF
143822013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14383 Joseph Myers <joseph@codesourcery.com>
14384
14385 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14386 as being properly aligned.
14387
f91f1c0f
MR
143882013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14389
3d0f5d0c
MR
14390 * dlfcn/modstatic5.c: New file.
14391 * dlfcn/tststatic5.c: New file.
14392 * dlfcn/Makefile (tests): Add tststatic5.
14393 (tests-static): Likewise.
14394 (modules-names): Add modstatic5.
14395 (tststatic5-ENV): New variable.
14396 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14397
f91f1c0f
MR
14398 [BZ #15022]
14399 * elf/dl-support.c (_dl_main_map): New variable.
14400 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14401 (_dl_nns, _dl_load_adds): Set to 1.
14402 (_dl_initial_searchlist): Refer to _dl_main_map.
14403 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14404 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14405 call to _dl_get_origin.
14406 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14407 around call_map.
14408 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14409 * dlfcn/modstatic3.c: New file.
14410 * dlfcn/tststatic3.c: New file.
14411 * dlfcn/tststatic4.c: New file.
14412 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14413 (tests-static): Likewise.
14414 (modules-names): Add modstatic3.
14415 (tststatic3-ENV, tststatic4-ENV): New variables.
14416 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14417 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14418
cbe7d24b
JM
144192013-06-26 Joseph Myers <joseph@codesourcery.com>
14420
14421 * configure.in (CC): Require GCC version 4.4 or later.
14422 * configure: Regenerated.
14423 * manual/install.texi (Tools for Compilation): Update GCC version
14424 requirement.
14425 * INSTALL: Regenerated.
14426
11b8a0e1
LD
144272013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14428
14429 [BZ #15674]
bb5bb87c
L
14430 * string/test-memcmp.c (check2): New.
14431 (main): Call check2.
14432
11b8a0e1
LD
14433 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14434
b0037103
MR
144352013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14436
14437 [BZ #15022]
14438 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14439 over to...
14440 (dl_open_worker) [!SHARED]: ... here.
14441
c18c701d
RA
144422013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14443
14444 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14445
1d17fa5f
RH
144462013-06-25 Richard Henderson <rth@redhat.com>
14447
14448 * locale/programs/locarchive.c: Include <libc-internal.h>
14449
8fcb833a
JM
144502013-06-25 Joseph Myers <joseph@codesourcery.com>
14451
14452 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14453 trailing whitespace removed.
14454
17db6e8d
MF
144552013-06-24 Mike Frysinger <vapier@gentoo.org>
14456
14457 [BZ #10283]
17db6e8d
MF
14458 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14459 * locale/programs/locarchive.c: Include libc-mmap.h.
14460 (prepare_address_space): Take two new outputs (the mmap base and len).
14461 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14462 values.
14463 (create_archive): Declare new mmap base and len values for
14464 prepare_address_space, and store the result in ah.
14465 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14466 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14467 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14468 Declare new mmap base and len values for
14469 prepare_address_space, and store the result in new_ah.
14470 (open_archive): Declare new mmap base and len values for
14471 prepare_address_space, and store the result in ah.
14472 (close_archive): If ah->mmap_base is not NULL, use that and
14473 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14474 * sysdeps/generic/libc-mmap.h: New file.
14475
d605071e
MF
144762013-06-24 Mike Frysinger <vapier@gentoo.org>
14477
14478 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14479 (ALIGN_UP): Likewise.
14480 (PTR_ALIGN_DOWN): Likewise.
14481 (PTR_ALIGN_UP): Likewise.
14482
2f063a6e
RA
144832013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14484
14485 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14486 entry mapped to PPC_PLATFORM_POWER8.
14487 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14488 POWER8.
14489 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14490 (_dl_string_platform): Add case for exporting platform position for
14491 POWER8.
14492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14493 search path to sysdeps/powerpc/powerpc32/power8 directory.
14494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14495 search path to sysdeps/powerpc/powerpc64/power8 directory.
14496 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14497 power7 directories.
14498 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14499 power7 directories.
14500
a31ee4b3
SP
145012013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14502
a74ca98f
SP
14503 * INSTALL: Regenerate.
14504
a31ee4b3
SP
14505 * nscd/connections.c (nscd_init): Fix comment.
14506
695c378f
JM
145072013-06-22 Joseph Myers <joseph@codesourcery.com>
14508
d8412221
JM
14509 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14510
695c378f
JM
14511 [BZ #15667]
14512 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14513 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14514
d1d54715
MR
145152013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14516
14517 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14518 DL_DST_REQ_STATIC.
14519 (DL_DST_REQ_STATIC): Remove macro.
14520
8fdda7af
JM
145212013-06-21 Joseph Myers <joseph@codesourcery.com>
14522
14523 [BZ #7006]
14524 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14525 with a shift of 0 bits.
14526
f3bc5e5a
MR
145272013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14528
14529 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14530 $(tststatic-ENV).
14531
be09e8c9
KK
145322013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14533
14534 [BZ #15655]
14535 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14536
85c2e611
AZ
145372013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14538
14539 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14540 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14541 accepts -fno-tree-loop-distribute-patterns.
14542 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14543 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14544 recursive call.
14545 * string/memset.c (memset): Likewise.
14546 * string/test-memmove.c (simple_memmove): Disable loop transformation
14547 to library calls.
14548 * string/test-memset.c (simple_memset): Likewise.
14549 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14550 * benchtests/bench-memset.c (simple_memset): Likewise.
14551 * configure: Regenerated.
14552
c91e0825
JM
145532013-06-20 Joseph Myers <joseph@codesourcery.com>
14554
b8c792af
JM
14555 * math/test-misc.c (main): Ignore fesetround failure when failures
14556 of subsequent rounding tests would be ignored.
14557
c91e0825
JM
14558 [BZ #15654]
14559 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14560 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14561 * math/fegetenv.c (__fegetenv): Return 0.
14562 * math/fegetexcept.c (fegetexcept): Return 0.
14563 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14564 FE_TONEAREST.
14565 * math/feholdexcpt.c (feholdexcept): Return 0.
14566 * math/fesetenv.c (__fesetenv): Return 0.
14567 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14568 argument FE_TONEAREST.
14569 * math/feupdateenv.c (__feupdateenv): Return 0.
14570 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14571
bfcacbde
RM
145722013-06-18 Roland McGrath <roland@hack.frob.com>
14573
14574 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14575 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14576 ($(objpfx)rtld-%.os rules): Use them.
14577
e55a9b25
AZ
145782013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14579
14580 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14581 fields.
14582
346d65b3
RM
145832013-06-17 Roland McGrath <roland@hack.frob.com>
14584
12086fb4
RM
14585 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14586 length of target pattern, then descending length of dependency pattern.
14587 * configure.in (AWK): Require gawk 3.1.2 or newer.
14588 * manual/install.texi (Tools for Compilation): Say that we do.
14589 * configure: Regenerated.
14590
346d65b3
RM
14591 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14592 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14593 * scripts/sysd-rules.awk: ... this new script.
14594 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14595 than a glob-style pattern.
14596
1a846317
JM
145972013-06-17 Joseph Myers <joseph@codesourcery.com>
14598
14599 * math/test-misc.c (main): Do not treat incorrectly rounded
14600 conversions as failure unless ROUNDING_TESTS passes.
14601
8fc75e6f
JM
146022013-06-15 Joseph Myers <joseph@codesourcery.com>
14603
3711a167
JM
14604 [BZ #15631]
14605 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14606 restore exception state around main square root computation, then
14607 check for inexactness explicitly.
14608
8fc75e6f
JM
14609 * math/libm-test.inc (fma_test_data): Add another test.
14610
61dd6208
SP
146112013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14612
adf23d2c
SP
14613 * manual/threads.texi (Non-POSIX Extensions): New document
14614 node. Document pthread_getattr_default_np and
14615 pthread_setattr_default_np.
14616
61dd6208
SP
14617 * Versions.def (libpthread): Add GLIBC_2.18.
14618 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14620 Likewise.
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14622 Likewise.
14623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14624 Likewise.
14625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14626 Likewise.
14627 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14628 Likewise.
14629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14630 Likewise.
14631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14632 Likewise.
14633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14634 Likewise.
14635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14636 Likewise.
14637
d086fc7b
LD
146382013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14639
14640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14641 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14642
747ef469
SP
146432013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14644 H.J. Lu <hjl.tools@gmail.com>
14645
14646 [BZ #15627]
14647 * sysdeps/x86_64/rtld-memset.c: Remove file.
14648 * sysdeps/x86_64/rtld-memset.S: New file.
14649
1b2feed2
JM
146502013-06-14 Joseph Myers <joseph@codesourcery.com>
14651
14652 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14653 (test_in_one_mode): Take arguments for whether the rounding mode
14654 is supported for each floating-point type.
14655 (do_test): Pass new arguments to test_in_one_mode using
14656 ROUNDING_TESTS.
14657
a58ad3f8
RM
146582013-06-13 Roland McGrath <roland@hack.frob.com>
14659
14660 * posix/tst-waitid.c (do_test): Distinguish different instances of
14661 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14662 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14663 before entering the kernel for waitpid.
14664
c204ab28
SP
146652013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14666
14667 * NEWS: Fix note on clock function precision. Text by Roland
14668 McGrath.
14669
f4a29fba
RM
146702013-06-13 Roland McGrath <roland@hack.frob.com>
14671
14672 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14673 it into place only when and if the sanity check passes.
14674
1f24b9ad
JM
146752013-06-13 Joseph Myers <joseph@codesourcery.com>
14676
14677 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14678 output for whether conversion result is exact. Take argument
14679 indicating whether type is IBM long double.
14680 (round_for_all): Change need_exact field to ibm_ld.
14681 * stdlib/tst-strtod-round.c (struct exactness): New type.
14682 (struct test): Change bool ld_ok field to struct exactness exact.
14683 (TEST): Update all definitions for change to field.
14684 (tests): Regenerate array contents.
14685 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14686 field value. Check for IBM long double here.
14687 (do_test): Update calls to test_in_one_mode.
14688
58206c68
SP
146892013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14690
14691 [BZ #12515]
14692 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14693 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14694
2d6f4c5b 146952013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14696
14697 [BZ #15605]
14698 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14699 generated by the compiler on loop optimizations.
14700 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14701 general definitions.
14702
94f2c076
JM
147032013-06-12 Joseph Myers <joseph@codesourcery.com>
14704
14705 * math/bug-nextafter.c: Include <math-tests.h>.
14706 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14707 the relevant type.
14708 * math/bug-nexttoward.c: Include <math-tests.h>.
14709 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14710 the relevant type.
14711 * math/test-misc.c: Include <math-tests.h>.
14712 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14713 the relevant type.
14714
e0e50a0a
AJ
147152013-06-12 Andreas Jaeger <aj@suse.de>
14716
14717 * po/ia.po: Update Interlingua translation from translation
14718 project.
14719
25061094
SP
147202013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14721
14722 * include/fenv.h: Include stdbool.h.
14723 (struct rm_ctx): New structure.
14724 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14725 Define macro.
14726 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14727 (SET_RESTORE_ROUNDF): Likewise.
14728 (SET_RESTORE_ROUNDL): Likewise.
14729 (SET_RESTORE_ROUND_NOEX): Likewise.
14730 (SET_RESTORE_ROUND_NOEXF): Likewise.
14731 (SET_RESTORE_ROUND_NOEXL): Likewise.
14732 (SET_RESTORE_ROUND_53BIT): Likewise.
14733 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14734 (libc_feresetround_noexf_ctx): Likewise.
14735 (libc_feresetround_noexl_ctx): Likewise.
14736 (libc_feholdsetround_53bit_ctx): Likewise.
14737 (libc_feresetround_53bit_ctx): Likewise.
14738 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14739 (libc_feholdexcept_setround_sse_ctx): New function.
14740 (libc_fesetenv_sse_ctx): Likewise.
14741 (libc_feupdateenv_sse_ctx): Likewise.
14742 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14743 (libc_feholdexcept_setround_387_ctx): Likewise.
14744 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14745 (libc_feholdsetround_387_prec_ctx): Likewise.
14746 (libc_feholdsetround_387_ctx): Likewise.
14747 (libc_feholdsetround_387_53bit_ctx): Likewise.
14748 (libc_feholdsetround_sse_ctx): Likewise.
14749 (libc_feresetround_sse_ctx): Likewise.
14750 (libc_feresetround_387_ctx): Likewise.
14751 (libc_feupdateenv_387_ctx): Likewise.
14752 (libc_feholdexcept_setroundf_ctx): Define macro.
14753 (libc_fesetenvf_ctx): Likewise.
14754 (libc_feupdateenvf_ctx): Likewise.
14755 (libc_feholdsetroundf_ctx): Likewise.
14756 (libc_feresetroundf_ctx): Likewise.
14757 (libc_feholdexcept_setround_ctx): Likewise.
14758 (libc_fesetenv_ctx): Likewise.
14759 (libc_feupdateenv_ctx): Likewise.
14760 (libc_feholdsetround_ctx): Likewise.
14761 (libc_feresetround_ctx): Likewise.
14762 (libc_feholdexcept_setroundl_ctx): Likewise.
14763 (libc_feupdateenvl_ctx): Likewise.
14764 (libc_feholdsetroundl_ctx): Likewise.
14765 (libc_feresetroundl_ctx): Likewise.
14766 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14767 (libc_feresetround_53bit_ctx): Likewise.
14768
59b30555
SP
147692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14770
14771 * locale/iso-639.def: Convert to UTF-8.
14772
f1d73d30
JM
147732013-06-11 Joseph Myers <joseph@codesourcery.com>
14774
14775 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14776 (EXCEPTION_TESTS_double): Likewise.
14777 (EXCEPTION_TESTS_long_double): Likewise.
14778 (EXCEPTION_TESTS): Likewise.
14779 * math/libm-test.inc (test_exceptions): Only test exceptions if
14780 EXCEPTION_TESTS (FLOAT).
14781
94aca5e7
SP
147822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14783
14784 * benchtests/Makefile (string-bench): Add strcpy_chk and
14785 stpcpy_chk.
14786 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14787 * benchtests/bench-stpcpy_chk.c: New file.
14788 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14789 * benchtests/bench-strcpy_chk.c: New file.
14790 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14791 code.
14792 (do_test): Likewise.
14793
fac0c5f2
RA
147942013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14795
14796 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14797 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14798 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14799 with tabs where appropriate.
14800 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14801 dl-procinfo.h.
14802 [PPC_PLATFORM_PPC440]: Likewise.
14803 [PPC_PLATFORM_PPC464]: Likewise.
14804 [PPC_PLATFORM_PPC476]: Likewise.
14805 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14806 ppc464, and ppc476 platform strings merging from ports/
14807 dl-procinfo.h.
14808
f22bc486
AS
148092013-06-11 Andreas Schwab <schwab@suse.de>
14810
14811 [BZ #14991]
14812 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14813 (from_ucs4_idx): Regenerate.
14814 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14815 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14816 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14817 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14818 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14819 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14820 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14821 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14822 from FROM_LOOP and TO_LOOP specific macros.
14823 (BODY): Handle combining characters.
14824 * iconvdata/BIG5HKSCS.irreversible: Update.
14825 * iconvdata/BIG5HKSCS.precomposed: New file.
14826 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14827 characters.
14828 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14829
c1f75dc3
SP
148302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14831
4eacded2
SP
14832 * include/sys/time.h: Fix indentation and add copyright header.
14833
fec799f8
SP
14834 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14835 (do_test): Likewise.
14836 * string/test-memchr.c (do_one_test): Likewise.
14837 (do_test): Likewise.
14838 * string/test-memcmp.c (do_one_test): Likewise.
14839 (do_test): Likewise.
14840 * string/test-memcpy.c (do_one_test): Likewise.
14841 (do_test): Likewise.
14842 * string/test-memmem.c (do_one_test): Likewise.
14843 (do_test): Likewise.
14844 (do_random_tests): Likewise.
14845 * string/test-memmove.c (do_one_test): Likewise.
14846 (do_test): Likewise.
14847 * string/test-memset.c (do_one_test): Likewise.
14848 (do_test): Likewise.
14849 * string/test-rawmemchr.c (do_one_test): Likewise.
14850 (do_test): Likewise.
14851 * string/test-strcasecmp.c (do_one_test): Likewise.
14852 (do_test): Likewise.
14853 * string/test-strcasestr.c (do_one_test): Likewise.
14854 (do_test): Likewise.
14855 * string/test-strcat.c (do_one_test): Likewise.
14856 (do_test): Likewise.
14857 * string/test-strchr.c (do_one_test): Likewise.
14858 (do_test): Likewise.
14859 * string/test-strcmp.c (do_one_test): Likewise.
14860 (do_test): Likewise.
14861 * string/test-strcpy.c (do_one_test): Likewise.
14862 (do_test): Likewise.
14863 * string/test-string.h: Likewise.
14864 (test_init): Likewise.
14865 * string/test-strlen.c (do_one_test): Likewise.
14866 (do_test): Likewise.
14867 * string/test-strncasecmp.c (do_one_test): Likewise.
14868 (do_test): Likewise.
14869 * string/test-strncat.c (do_one_test): Likewise.
14870 (do_test): Likewise.
14871 * string/test-strncmp.c (do_one_test): Likewise.
14872 (do_test_limit): Likewise.
14873 (do_test): Likewise.
14874 * string/test-strncpy.c (do_one_test): Likewise.
14875 (do_test): Likewise.
14876 * string/test-strnlen.c (do_one_test): Likewise.
14877 (do_test): Likewise.
14878 * string/test-strpbrk.c (do_one_test): Likewise.
14879 (do_test): Likewise.
14880 * string/test-strrchr.c (do_one_test): Likewise.
14881 (do_test): Likewise.
14882 * string/test-strspn.c (do_one_test): Likewise.
14883 (do_test): Likewise.
14884 * string/test-strstr.c (do_one_test): Likewise.
14885 (do_test): Likewise.
14886
97020474
SP
14887 * benchtests/Makefile (string-bench): Add string benchmarks.
14888 * benchtests/bench-bcopy-ifunc.c: New file.
14889 * benchtests/bench-bcopy.c: New file.
14890 * benchtests/bench-bzero-ifunc.c: New file.
14891 * benchtests/bench-bzero.c: New file.
14892 * benchtests/bench-memccpy-ifunc.c: New file.
14893 * benchtests/bench-memccpy.c: New file.
14894 * benchtests/bench-memchr-ifunc.c: New file.
14895 * benchtests/bench-memchr.c: New file.
14896 * benchtests/bench-memcmp-ifunc.c: New file.
14897 * benchtests/bench-memcmp.c: New file.
14898 * benchtests/bench-memmem-ifunc.c: New file.
14899 * benchtests/bench-memmem.c: New file.
14900 * benchtests/bench-memmove-ifunc.c: New file.
14901 * benchtests/bench-memmove.c: New file.
14902 * benchtests/bench-mempcpy-ifunc.c: New file.
14903 * benchtests/bench-mempcpy.c: New file.
14904 * benchtests/bench-memset-ifunc.c: New file.
14905 * benchtests/bench-memset.c: New file.
14906 * benchtests/bench-rawmemchr-ifunc.c: New file.
14907 * benchtests/bench-rawmemchr.c: New file.
14908 * benchtests/bench-stpcpy-ifunc.c: New file.
14909 * benchtests/bench-stpcpy.c: New file.
14910 * benchtests/bench-stpncpy-ifunc.c: New file.
14911 * benchtests/bench-stpncpy.c: New file.
14912 * benchtests/bench-strcasecmp-ifunc.c: New file.
14913 * benchtests/bench-strcasecmp.c: New file.
14914 * benchtests/bench-strcasestr-ifunc.c: New file.
14915 * benchtests/bench-strcasestr.c: New file.
14916 * benchtests/bench-strcat-ifunc.c: New file.
14917 * benchtests/bench-strcat.c: New file.
14918 * benchtests/bench-strchr-ifunc.c: New file.
14919 * benchtests/bench-strchr.c: New file.
14920 * benchtests/bench-strchrnul-ifunc.c: New file.
14921 * benchtests/bench-strchrnul.c: New file.
14922 * benchtests/bench-strcmp-ifunc.c: New file.
14923 * benchtests/bench-strcmp.c: New file.
14924 * benchtests/bench-strcpy-ifunc.c: New file.
14925 * benchtests/bench-strcpy.c: New file.
14926 * benchtests/bench-strcspn-ifunc.c: New file.
14927 * benchtests/bench-strcspn.c: New file.
14928 * benchtests/bench-strlen-ifunc.c: New file.
14929 * benchtests/bench-strlen.c: New file.
14930 * benchtests/bench-strncasecmp-ifunc.c: New file.
14931 * benchtests/bench-strncasecmp.c: New file.
14932 * benchtests/bench-strncat-ifunc.c: New file.
14933 * benchtests/bench-strncat.c: New file.
14934 * benchtests/bench-strncmp-ifunc.c: New file.
14935 * benchtests/bench-strncmp.c: New file.
14936 * benchtests/bench-strncpy-ifunc.c: New file.
14937 * benchtests/bench-strncpy.c: New file.
14938 * benchtests/bench-strnlen-ifunc.c: New file.
14939 * benchtests/bench-strnlen.c: New file.
14940 * benchtests/bench-strpbrk-ifunc.c: New file.
14941 * benchtests/bench-strpbrk.c: New file.
14942 * benchtests/bench-strrchr-ifunc.c: New file.
14943 * benchtests/bench-strrchr.c: New file.
14944 * benchtests/bench-strspn-ifunc.c: New file.
14945 * benchtests/bench-strspn.c: New file.
14946 * benchtests/bench-strstr-ifunc.c: New file.
14947 * benchtests/bench-strstr.c: New file.
14948
c1f75dc3
SP
14949 * benchtests/Makefile: Disable parallel execution of targets.
14950 (string-bench): Add memcpy.
14951 (benchset): New variable to store a list of benchmark sets.
14952 (bench-func): Renamed from bench.
14953 (bench-set): New target.
14954 (bench): Depend on bench-func and bench-set.
14955 * benchtests/README: Add section on benchmark sets.
14956 * benchtests/bench-memcpy-ifunc.c: New file.
14957 * benchtests/bench-memcpy.c: New file.
14958 * benchtests/bench-string.h: New file.
14959
50fd745b
AS
149602013-06-11 Andreas Schwab <schwab@suse.de>
14961
14962 [BZ #15577]
14963 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14964 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14965 values in the triple.
14966 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14967 terminator in the group key.
14968
3ee7e9fe
AJ
149692013-06-11 Andreas Jaeger <aj@suse.de>
14970
14971 * po/zh_TW.po: Update Chinese (traditional) translation from
14972 translation project.
14973
89fb6835
SP
149742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14975
14976 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14977 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14978 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14979 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14980 (clock_getcpuclockid): Likewise.
14981 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14982 Add weak_alias and libc_hidden_def.
14983 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14984 * rt/clock_gettime.c (clock_gettime): Rename to
14985 __clock_gettime. Add weak_alias and libc_hidden_def.
14986 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14987 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14988 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14989 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14990 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14991 Likewise.
14992 * rt/clock_settime.c (clock_settime): Rename to
14993 __clock_settime. Add weak_alias and libc_hidden_def.
14994 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14995
0efa6f8b
JM
149962013-06-10 Joseph Myers <joseph@codesourcery.com>
14997
b8c61b4b
JM
14998 * mach/err_boot.sub: Remove trailing whitespace.
14999 * mach/err_ipc.sub: Likewise.
15000 * mach/err_mach.sub: Likewise.
15001
0efa6f8b
JM
15002 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15003 (ROUNDING_TESTS_double): Likewise.
15004 (ROUNDING_TESTS_long_double): Likewise.
15005 (ROUNDING_TESTS): Likewise.
15006 * math/libm-test.inc: Include <math-tests.h>.
15007 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15008 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15009 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15010 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15011
50b818bf
SP
150122013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15013
15014 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15015 of assigning.
15016
60d2f8f3
JM
150172013-06-08 Joseph Myers <joseph@codesourcery.com>
15018
4902d2c3
JM
15019 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15020 otherwise empty TRANS lines.
15021 * sysdeps/gnu/errlist.c: Regenerated.
15022
60d2f8f3
JM
15023 * catgets/gencat.c (error_print): Use (void) in function
15024 definition.
15025 * crypt/crypt_util.c (__init_des): Likewise.
15026 * crypt/speeds.c (Stop): Likewise.
15027 (main): Likewise.
15028 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15029 * inet/ruserpass.c (token): Likewise.
15030 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15031 * intl/localealias.c (extend_alias_table): Likewise.
15032 * intl/plural-exp.c (init_germanic_plural): Likewise.
15033 * libio/fcloseall.c (__fcloseall): Likewise.
15034 * libio/genops.c (_IO_flush_all): Likewise.
15035 (_IO_flush_all_linebuffered): Likewise.
15036 (_IO_cleanup): Likewise.
15037 (_IO_iter_begin): Likewise.
15038 (_IO_iter_end): Likewise.
15039 (_IO_list_lock): Likewise.
15040 (_IO_list_unlock): Likewise.
15041 (_IO_list_resetlock): Likewise.
15042 * libio/getchar.c (getchar): Likewise.
15043 * libio/getchar_u.c (getchar_unlocked): Likewise.
15044 * libio/getwchar.c (getwchar): Likewise.
15045 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15046 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15047 * login/getpt.c (__getpt): Likewise.
15048 * login/tst-utmp.c (main): Likewise.
15049 * malloc/hooks.c (__malloc_check_init): Likewise.
15050 * malloc/malloc.c (__malloc_stats): Likewise.
15051 * malloc/mtrace.c (tr_break): Likewise.
15052 (mtrace): Likewise.
15053 (muntrace): Likewise.
15054 * misc/fstab.c (endfsent): Likewise.
15055 * misc/getclktck.c (__getclktck): Likewise.
15056 * misc/getdtsz.c (__getdtablesize): Likewise.
15057 * misc/gethostid.c (gethostid): Likewise.
15058 * misc/getpagesize.c (__getpagesize): Likewise.
15059 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15060 (__get_nprocs): Likewise.
15061 (__get_phys_pages): Likewise.
15062 (__get_avphys_pages): Likewise.
15063 * misc/getttyent.c (getttyent): Likewise.
15064 (setttyent): Likewise.
15065 (endttyent): Likewise.
15066 * misc/getusershell.c (getusershell): Likewise.
15067 (endusershell): Likewise.
15068 (setusershell): Likewise.
15069 (initshells): Likewise.
15070 * misc/hsearch.c (__hdestroy): Likewise.
15071 * misc/sync.c (sync): Likewise.
15072 * misc/syslog.c (closelog_internal): Likewise.
15073 (closelog): Likewise.
15074 * misc/ttyslot.c (ttyslot): Likewise.
15075 * misc/vhangup.c (vhangup): Likewise.
15076 * posix/fork.c (__fork): Likewise.
15077 * posix/getegid.c (__getegid): Likewise.
15078 * posix/geteuid.c (__geteuid): Likewise.
15079 * posix/getgid.c (__getgid): Likewise.
15080 * posix/getpid.c (__getpid): Likewise.
15081 * posix/getppid.c (__getppid): Likewise.
15082 * posix/getuid.c (__getuid): Likewise.
15083 * posix/pause.c (pause): Likewise.
15084 * posix/setpgrp.c (setpgrp): Likewise.
15085 * posix/setsid.c (__setsid): Likewise.
15086 * posix/test-vfork.c (noop): Likewise.
15087 * resolv/gethnamaddr.c (_endhtent): Likewise.
15088 (_gethtent): Likewise.
15089 (ht_endhostent): Likewise.
15090 (gethostent): Likewise.
15091 (dns_service): Likewise.
15092 * stdlib/drand48.c (drand48): Likewise.
15093 * stdlib/lrand48.c (lrand48): Likewise.
15094 * stdlib/mrand48.c (mrand48): Likewise.
15095 * stdlib/rand.c (rand): Likewise.
15096 * stdlib/random.c (__random): Likewise.
15097 * stdlib/setenv.c (clearenv): Likewise.
15098 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15099 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15100 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15101 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15102 (__get_nprocs): Likewise.
15103 (__get_phys_pages): Likewise.
15104 (__get_avphys_pages): Likewise.
15105 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15106 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15107 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15108 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15109 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15110 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15111 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15112 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15113 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15114 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15115 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15116 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15117 * sysdeps/posix/clock.c (clock): Likewise.
15118 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15119 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15120 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15121 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15122 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15124 (__get_nprocs_conf): Likewise.
15125 (__get_phys_pages): Likewise.
15126 (__get_avphys_pages): Likewise.
15127 * time/clock.c (clock): Likewise.
15128 * time/tzset.c (__tzname_max): Likewise.
15129
2e09a79a
JM
151302013-06-07 Joseph Myers <joseph@codesourcery.com>
15131
15132 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15133 (__bswap_32): Do not use "register".
15134 * crypt/crypt.c (_ufc_doit_r): Likewise.
15135 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15136 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15137 * gmon/gmon.c (__monstartup): Likewise.
15138 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15139 * hurd/hurdmalloc.c (more_memory): Likewise.
15140 (malloc): Likewise.
15141 (free): Likewise.
15142 (realloc): Likewise.
15143 (malloc_fork_prepare): Likewise.
15144 (malloc_fork_parent): Likewise.
15145 (malloc_fork_child): Likewise.
15146 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15147 (_svcauth_des): Likewise.
15148 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15149 * inet/inet_net.c (inet_network): Likewise.
15150 * inet/inet_netof.c (inet_netof): Likewise.
15151 * inet/rcmd.c (__validuser2_sa): Likewise.
15152 * io/fts.c (fts_open): Likewise.
15153 (fts_load): Likewise.
15154 (fts_close): Likewise.
15155 (fts_read): Likewise.
15156 (fts_children): Likewise.
15157 (fts_build): Likewise.
15158 (fts_stat): Likewise.
15159 (fts_sort): Likewise.
15160 (fts_alloc): Likewise.
15161 (fts_lfree): Likewise.
15162 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15163 (_IO_file_xsgetn): Likewise.
15164 (_IO_file_xsgetn_mmap): Likewise.
15165 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15166 (_IO_cookie_write): Likewise.
15167 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15168 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15169 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15170 * malloc/obstack.c (_obstack_begin): Likewise.
15171 (_obstack_begin_1): Likewise.
15172 (_obstack_newchunk): Likewise.
15173 (_obstack_allocated_p): Likewise.
15174 (obstack_free): Likewise.
15175 (_obstack_memory_used): Likewise.
15176 * misc/getttyent.c (getttynam): Likewise.
15177 (getttyent): Likewise.
15178 (skip): Likewise.
15179 (value): Likewise.
15180 * misc/getusershell.c (initshells): Likewise.
15181 * misc/syslog.c (__vsyslog_chk): Likewise.
15182 * misc/ttyslot.c (ttyslot): Likewise.
15183 * nis/nis_hash.c (__nis_hash): Likewise.
15184 * posix/fnmatch_loop.c (FCT): Likewise.
15185 * posix/getconf.c (print_all): Likewise.
15186 (main): Likewise.
15187 * posix/getopt.c (exchange): Likewise.
15188 * posix/glob.c (globfree): Likewise.
15189 (prefix_array): Likewise.
15190 (__glob_pattern_type): Likewise.
15191 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15192 (NS_GET32): Likewise.
15193 (NS_PUT16): Likewise.
15194 (NS_PUT32): Likewise.
15195 * resolv/gethnamaddr.c (getanswer): Likewise.
15196 (gethostbyname2): Likewise.
15197 (gethostbyaddr): Likewise.
15198 (_gethtent): Likewise.
15199 (_gethtbyname2): Likewise.
15200 (_gethtbyaddr): Likewise.
15201 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15202 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15203 * resolv/res_init.c (__res_vinit): Likewise.
15204 (net_mask): Likewise.
15205 * resolv/res_mkquery.c (outchar): Likewise.
15206 (PRINT): Likewise.
15207 * stdio-common/printf_fp.c (outchar): Likewise.
15208 (PRINT): Likewise.
15209 * stdio-common/printf_fphex.c (outchar): Likewise.
15210 (PRINT): Likewise.
15211 * stdio-common/printf_size.c (outchar): Likewise.
15212 (PRINT): Likewise.
15213 * stdio-common/test_rdwr.c (main): Likewise.
15214 * stdio-common/tfformat.c (matches): Likewise.
15215 * stdio-common/vfprintf.c (outchar): Likewise.
15216 (printf_unknown): Likewise.
15217 (buffered_vfprintf): Likewise.
15218 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15219 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15220 (ReadFile): Likewise.
15221 * stdlib/qsort.c (SWAP): Likewise.
15222 (_quicksort): Likewise.
15223 * stdlib/setenv.c (__add_to_environ): Likewise.
15224 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15225 * stdlib/strtol_l.c (__strtol_l): Likewise.
15226 * stdlib/tst-strtod.c (main): Likewise.
15227 * stdlib/tst-strtol.c (main): Likewise.
15228 * stdlib/tst-strtoll.c (main): Likewise.
15229 * string/bits/string2.h (__strcmp_cc): Likewise.
15230 (__strcmp_cg): Likewise.
15231 (__strcspn_c1): Likewise.
15232 (__strcspn_c2): Likewise.
15233 (__strcspn_c3): Likewise.
15234 (__strspn_c1): Likewise.
15235 (__strspn_c2): Likewise.
15236 (__strspn_c3): Likewise.
15237 (__strsep_1c): Likewise.
15238 (__strsep_2c): Likewise.
15239 (__strsep_3c): Likewise.
15240 * string/memccpy.c (__memccpy): Likewise.
15241 * string/stpcpy.c (__stpcpy): Likewise.
15242 * string/strcmp.c (strcmp): Likewise.
15243 * string/strrchr.c (strrchr): Likewise.
15244 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15245 Likewise.
15246 * sysdeps/mach/hurd/getcwd.c
15247 (_hurd_canonicalize_directory_name_internal): Likewise.
15248 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15249 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15250 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15251 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15252 Likewise, in both definitions.
15253 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15254 definitions.
15255 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15256 64] (__bswap_64): Likewise.
15257 * time/test_time.c (main): Likewise.
15258 * time/tzfile.c (__tzfile_read): Likewise.
15259 (__tzfile_compute): Likewise.
15260 * time/tzset.c (__tzset_parse_tz): Likewise.
15261 (tzset_internal): Likewise.
15262 (compute_change): Likewise.
15263 * wcsmbs/wcscat.c (__wcscat): Likewise.
15264 * wcsmbs/wcschr.c (wcschr): Likewise.
15265 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15266 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15267 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15268 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15269 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15270 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15271 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15272 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15273 * wcsmbs/wmemset.c (wmemset): Likewise.
15274
9e54314b
JM
152752013-06-06 Joseph Myers <joseph@codesourcery.com>
15276
15277 * scripts/config.guess: Update to version 2013-05-16.
15278 * scripts/config.sub: Update to version 2013-04-24.
15279 * scripts/install-sh: Update to version 2011-11-20.07.
15280 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15281 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15282
350635a5
OB
152832013-06-06 Ondřej Bílka <neleai@seznam.cz>
15284
15285 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15286 * elf/sln.c: Likewise.
15287 * hurd/hurd/ioctl.h: Likewise.
15288 * hurd/hurdmalloc.c: Likewise.
15289 * hurd/xattr.c: Likewise.
15290 * include/shlib-compat.h: Likewise.
15291 * inet/ruserpass.c: Likewise.
15292 * libio/iofgets_u.c: Likewise.
15293 * libio/iofgetws_u.c: Likewise.
15294 * locale/programs/ld-identification.c: Likewise.
15295 * locale/programs/ld-time.c: Likewise.
15296 * mach/msg-destroy.c: Likewise.
15297 * nss/nss_files/files-netgrp.c: Likewise.
15298 * resolv/res_data.c: Likewise.
15299 * soft-fp/op-1.h: Likewise.
15300 * soft-fp/op-2.h: Likewise.
15301 * soft-fp/op-4.h: Likewise.
15302 * soft-fp/op-common.h: Likewise.
15303 * stdio-common/printf_fphex.c: Likewise.
15304 * stdlib/strtod_l.c: Likewise.
15305 * sunrpc/rpc/clnt.h: Likewise.
15306 * sysdeps/generic/framestate.c: Likewise.
15307 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15308 * sysdeps/i386/bsd-setjmp.S: Likewise.
15309 * sysdeps/i386/__longjmp.S: Likewise.
15310 * sysdeps/i386/setjmp.S: Likewise.
15311 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15312 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15313 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15314 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15315 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15316 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15317 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15318 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15319 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15320 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15321 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15322 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15323 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15324 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15325 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15326 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15327 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15328 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15329 * sysdeps/ieee754/support.c: Likewise.
15330 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15331 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15332 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15333 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15334 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15335 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15336 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15337 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15338 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15339 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15340 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15341 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15342 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15343 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15344 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15345 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15346 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15348
44a988af
OB
153492013-06-05 Ondřej Bílka <neleai@seznam.cz>
15350
25506f09 15351 * posix/transbug.c: Remove executable mode.
44a988af 15352
9c84384c
JM
153532013-06-05 Joseph Myers <joseph@codesourcery.com>
15354
15355 * crypt/speeds.c: Remove trailing whitespace.
15356 * dlfcn/default.c: Likewise.
15357 * elf/ifuncdep2.c: Likewise.
15358 * elf/ifuncmain1.c: Likewise.
15359 * elf/ifuncmain1vis.c: Likewise.
15360 * elf/testobj.h: Likewise.
15361 * elf/tst-stackguard1.c: Likewise.
15362 * gmon/sys/gmon.h: Likewise.
15363 * hurd/hurdmsg.c: Likewise.
15364 * hurd/new-fd.c: Likewise.
15365 * hurd/ports-get.c: Likewise.
15366 * iconvdata/ibm1008_420.c: Likewise.
15367 * inet/tst-getni1.c: Likewise.
15368 * inet/tst-getni2.c: Likewise.
15369 * libio/ioungetc.c: Likewise.
15370 * libio/wfiledoalloc.c: Likewise.
15371 * manual/libm-err-tab.pl: Likewise.
15372 * math/w_dremf.c: Likewise.
15373 * misc/ftruncate.c: Likewise.
15374 * posix/bug-glob2.c: Likewise.
15375 * posix/tst-pcre.c: Likewise.
15376 * posix/wait4.c: Likewise.
15377 * resolv/README: Likewise.
15378 * resolv/res_debug.h: Likewise.
15379 * resolv/tst-inet_ntop.c: Likewise.
15380 * setjmp/bug269-setjmp.c: Likewise.
15381 * soft-fp/extended.h: Likewise.
15382 * soft-fp/op-1.h: Likewise.
15383 * soft-fp/op-2.h: Likewise.
15384 * soft-fp/op-4.h: Likewise.
15385 * soft-fp/op-8.h: Likewise.
15386 * soft-fp/testit.c: Likewise.
15387 * stdio-common/bug16.c: Likewise.
15388 * stdlib/random.c: Likewise.
15389 * sunrpc/rpcsvc/rquota.x: Likewise.
15390 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15391 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15392 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15393 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15394 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15395 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15396 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15397 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15398 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15399 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15400 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15401 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15402 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15403 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15404 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15405 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15406 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15407 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15408 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15409 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15410 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15411 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15412 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15413 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15414 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15415 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15416 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15417 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15418 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15419 * sysdeps/ieee754/s_lib_version.c: Likewise.
15420 * sysdeps/mach/hurd/check_fds.c: Likewise.
15421 * sysdeps/mach/hurd/getsockname.c: Likewise.
15422 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15423 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15424 * sysdeps/powerpc/bits/link.h: Likewise.
15425 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15426 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15427 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15428 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15429 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15430 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15431 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15432 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15433 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15434 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15435 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15436 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15437 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15438 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15439 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15440 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15441 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15442 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15443 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15444 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15445 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15446 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15447 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15448 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15449 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15450 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15451 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15452 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15453 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15454 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15455 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15456 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15457 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15458 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15459 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15460 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15461 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15462 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15463 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15464 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15465 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15466 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15467 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15468 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15469 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15470 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15471 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15472 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15473 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15474 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15475 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15476 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15477 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15478 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15479 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15480 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15481 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15482 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15483 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15484 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15485 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15486 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15487 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15488 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15489 * sysdeps/powerpc/sysdep.h: Likewise.
15490 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15491 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15492 * sysdeps/sh/dl-trampoline.S: Likewise.
15493 * sysdeps/sh/memset.S: Likewise.
15494 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15495 * sysdeps/sh/strlen.S: Likewise.
15496 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15497 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15498 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15499 * sysdeps/sparc/sparc32/rem.S: Likewise.
15500 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15501 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15502 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15503 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15504 * sysdeps/sparc/sparc32/urem.S: Likewise.
15505 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15506 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15507 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15508 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15509 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15510 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15511 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15512 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15513 * sysdeps/unix/bsd/times.c: Likewise.
15514 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15515 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15519 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15520 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15521 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15522 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15523 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15524 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15525 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15526 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15527 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15528 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15529 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15530 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15531 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15532 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15533 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15534 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15535 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15536 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15537 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15538 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15539 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15540 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15541 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15542 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15543 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15544 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15545 * sysdeps/x86_64/strcspn.S: Likewise.
15546
869378a5
RA
155472013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15548
15549 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15550 generated file. Regenerate properly from gen-translit.pl.
15551 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15552 locale/C-translit.h.
15553
840e2943
AS
155542013-06-05 Andreas Schwab <schwab@suse.de>
15555
15556 [BZ #15100]
15557 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15558 week as 6 instead of -1.
15559 * time/tst-strptime.c (day_tests): Add test case.
15560
4c60cb0c
SP
155612013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15562
15563 * sysdeps/generic/math_private.h
15564 (libc_feholdexcept_setround_53bit): Replace with
15565 libc_feholdsetround_53bit.
15566 (libc_feupdateenv_53bit): Replace with
15567 libc_feresetround_53bit.
15568 (SET_RESTORE_ROUND_53BIT): Adjust.
15569
d180203e
SP
155702013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15571
96df079a
SP
15572 * string/test-strchrnul.c: Add copyright header.
15573
d180203e
SP
15574 * posix/tst-getaddrinfo4.c: Increase test timeout.
15575
8b0ccb2d
CD
155762013-06-03 Carlos O'Donell <carlos@redhat.com>
15577
15578 [BZ #15536]
15579 * math/libm-test.inc (MAX_EXP): Remove
15580 (MIN_EXP): Define.
15581 (ulp): Use MIN_EXP - MANT_DIG.
15582 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15583
3b3c4d40
CD
155842013-05-31 Carlos O'Donell <carlos@redhat.com>
15585
15586 * po/be.po: Revert last change.
15587 * po/zh_CN.po: Likewise.
15588 * po/header.pot: Likewise.
15589
fab7ce3f
JM
155902013-05-31 Joseph Myers <joseph@codesourcery.com>
15591
15592 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15593 link-libc-deps to empty as target-specific variable.
15594 * Makerules (link-libc-args): New variable.
15595 (libc-for-link): Likewise.
15596 (link-libc-deps): Likewise.
15597 (lib%.so): Depend on $(link-libc-deps). Link with
15598 $(link-libc-args).
15599 (build-module): Link with $(link-libc-args).
15600 (build-module-asneeded): Likewise.
15601 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15602 list of objects.
15603 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15604 target-specific variable.
15605 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15606 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15607 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15608 libc.
15609 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15610 libc and ld.so.
15611 ($(objpfx)libpcprofile.so): Likewise.
15612 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15613 libc_nonshared.a.
15614 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15615 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15616 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15617 $(link-libc-deps).
15618 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15619 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15620 * login/Makefile ($(objpfx)libutil.so): Likewise.
15621 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15622 * math/Makefile ($(objpfx)libm.so): Likewise.
15623 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15624 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15625 variable instead of depending directly on libc.
15626 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15627 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15628 $(link-libc-deps).
15629 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15630 libc.
15631 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15632 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15633 ($(objpfx)libanl.so): Likewise.
15634 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15635 ld.so.
15636 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15637 $(link-libc-deps).
15638 * sysdeps/i386/fpu/Makefile: Remove file.
15639 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15640 ($(objpfx)libm.so): Remove dependency on ld.so.
15641
eca5920c
PF
156422013-05-30 Patsy Franklin <pfrankli@redhat.com>
15643
15644 [BZ # 15553]
15645 * nis/yp_xdr.c (XDRMAXNAME): Define.
15646 (XDRMAXRECORD): Define.
15647 (xdr_domainname): Use XDRMAXNAME.
15648 (xdr_mapname): Likewise.
15649 (xdr_peername): Likewise.
15650 (xdr_keydat): Use XDRMAXRECORD.
15651 (xdr_valdat): Likewise.
15652
156532013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15654
15655 [BZ #14256]
15656 * manual/errno.texi (ESTALE): Update to account for more than
15657 just NFS file systems.
15658 * sysdeps/gnu/errlist.c: Regenerated.
15659
b9375348
SP
156602013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15661
15662 [BZ #15465]
15663 * elf/Makefile (tests): Add tst-null-argv.
15664 (modules-names): Add tst-null-argv-lib.
15665 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15666 (tst-null-argv-ENV): Set environment for tst-null-argv.
15667 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15668 (RTLD_PROGNAME): New macro.
15669 * elf/tst-null-argv.c: New test case.
15670 * elf/tst-null-argv-lib.c: Library for test case.
15671 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15672 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15673 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15674 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15675 * elf/dl-init.c (call_init): Likewise.
15676 (_dl_init): Likewise.
15677 * elf/dl-load.c (print_search_path): Likewise.
15678 (_dl_map_object): Likewise.
15679 * elf/dl-lookup.c (do_lookup_x): Likewise.
15680 (add_dependency): Likewise.
15681 (_dl_lookup_symbol_x): Likewise.
15682 (_dl_debug_bindings): Likewise.
15683 * elf/dl-open.c (_dl_show_scope): Likewise.
15684 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15685 * elf/dl-version.c (match_symbol): Likewise.
15686 (_dl_check_map_versions): Likewise.
15687 * elf/rtld.c (dl_main): Likewise.
15688 (print_unresolved): Use RTLD_PROGNAME.
15689 (print_missing_version): Likewise.
15690 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15691 (elf_machine_rela): Likewise.
15692 * sysdeps/powerpc/powerpc32/dl-machine.c
15693 (__process_machine_rela): Likewise.
15694 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15695 Likewise.
15696 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15697 Likewise.
15698 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15699 Likewise.
15700 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15701 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15702 Likewise.
15703 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15704 Likewise.
15705 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15706
8a9f20c8
CD
157072013-05-28 Carlos O'Donell <carlos@redhat.com>
15708
15709 * po/be.po: Add descriptive title.
15710 * po/zh_CN.po: Likewise.
15711 * po/header.pot: Likewise.
15712
0e60d68e
MF
157132013-05-28 Mike Frysinger <vapier@gentoo.org>
15714
15715 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15716 error message.
15717 (enlarge_archive): Likewise.
15718
56b672e9
BN
157192013-05-28 Ben North <ben@redfrontdoor.org>
15720
15721 * manual/arith.texi (frexp): It is the magnitude of the return
15722 value which lies in [0.5, 1), not the return value itself.
15723
5e056687
AZ
157242013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15725
15726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15727
2b66ef5d
TS
157282013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15729
528c2405
TS
15730 * stdio-common/bug26.c (main): Correct fscanf template.
15731
07b4c13d
TS
15732 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15733 declare _dl_skip_args.
15734
ec9dd97c
TS
15735 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15736 Don't declare.
15737
2b66ef5d
TS
15738 * manual/platform.texi: Add missing @end deftypefun.
15739
4f8dfe27
JM
157402013-05-24 Joseph Myers <joseph@codesourcery.com>
15741
0323d086
JM
15742 [BZ #15529]
15743 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15744 bit of mantissa of 2^16382.
15745 * math/libm-test.inc (hypot_test_data): Add more tests.
15746
dd4259b9
JM
15747 * math/libm-test.inc: Add drem and pow10 to list of tested
15748 functions.
15749 (pow10_test): New function.
15750 (drem_test): Likewise.
15751 (drem_test_tonearest): Likewise.
15752 (drem_test_towardzero): Likewise.
15753 (drem_test_downward): Likewise.
15754 (drem_test_upward): Likewise.
15755 (main): Call the new functions.
15756
4f8dfe27
JM
15757 * math/libm-test.inc (finite_test_data): Remove.
15758 (finite_test): Run tests from isfinite_test_data.
15759 (gamma_test_data): Remove.
15760 (gamma_test): Run tests from lgamma_test_data.
15761 * sysdeps/i386/fpu/libm-test-ulps: Update.
15762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15763
d116b7c4
AZ
157642013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15765
15766 * manual/platform.texi: Add PowerPC PPR function set documentation.
15767 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15768 implementation.
15769
e96e3767
CD
157702013-05-24 Carlos O'Donell <carlos@redhat.com>
15771
15772 * math/libm-test.inc (MAX_EXP): Define.
15773 (ULPDIFF): Define.
15774 (ulp): New function.
15775 (check_float_internal): Use ULPDIFF.
15776 (cpow_test): Disable failing test.
15777 (check_ulp): Test ulp() implemetnation.
15778 (main): Call check_ulp before starting tests.
15779
b679a606
JM
157802013-05-24 Joseph Myers <joseph@codesourcery.com>
15781
e8bdba36
JM
15782 * math/gen-libm-test.pl (generate_testfile): Do not handle
15783 START_DATA and END_DATA.
15784 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15785 END_DATA.
15786 (acos_tonearest_test_data): Likewise.
15787 (acos_towardzero_test_data): Likewise.
15788 (acos_downward_test_data): Likewise.
15789 (acos_upward_test_data): Likewise.
15790 (acosh_test_data): Likewise.
15791 (asin_test_data): Likewise.
15792 (asin_tonearest_test_data): Likewise.
15793 (asin_towardzero_test_data): Likewise.
15794 (asin_downward_test_data): Likewise.
15795 (asin_upward_test_data): Likewise.
15796 (asinh_test_data): Likewise.
15797 (atan_test_data): Likewise.
15798 (atanh_test_data): Likewise.
15799 (atan2_test_data): Likewise.
15800 (cabs_test_data): Likewise.
15801 (cacos_test_data): Likewise.
15802 (cacosh_test_data): Likewise.
15803 (carg_test_data): Likewise.
15804 (casin_test_data): Likewise.
15805 (casinh_test_data): Likewise.
15806 (catan_test_data): Likewise.
15807 (catanh_test_data): Likewise.
15808 (cbrt_test_data): Likewise.
15809 (ccos_test_data): Likewise.
15810 (ccosh_test_data): Likewise.
15811 (ceil_test_data): Likewise.
15812 (cexp_test_data): Likewise.
15813 (cimag_test_data): Likewise.
15814 (clog_test_data): Likewise.
15815 (clog10_test_data): Likewise.
15816 (conj_test_data): Likewise.
15817 (copysign_test_data): Likewise.
15818 (cos_test_data): Likewise.
15819 (cos_tonearest_test_data): Likewise.
15820 (cos_towardzero_test_data): Likewise.
15821 (cos_downward_test_data): Likewise.
15822 (cos_upward_test_data): Likewise.
15823 (cosh_test_data): Likewise.
15824 (cosh_tonearest_test_data): Likewise.
15825 (cosh_towardzero_test_data): Likewise.
15826 (cosh_downward_test_data): Likewise.
15827 (cosh_upward_test_data): Likewise.
15828 (cpow_test_data): Likewise.
15829 (cproj_test_data): Likewise.
15830 (creal_test_data): Likewise.
15831 (csin_test_data): Likewise.
15832 (csinh_test_data): Likewise.
15833 (csqrt_test_data): Likewise.
15834 (ctan_test_data): Likewise.
15835 (ctan_tonearest_test_data): Likewise.
15836 (ctan_towardzero_test_data): Likewise.
15837 (ctan_downward_test_data): Likewise.
15838 (ctan_upward_test_data): Likewise.
15839 (ctanh_test_data): Likewise.
15840 (ctanh_tonearest_test_data): Likewise.
15841 (ctanh_towardzero_test_data): Likewise.
15842 (ctanh_downward_test_data): Likewise.
15843 (ctanh_upward_test_data): Likewise.
15844 (erf_test_data): Likewise.
15845 (erfc_test_data): Likewise.
15846 (exp_test_data): Likewise.
15847 (exp_tonearest_test_data): Likewise.
15848 (exp_towardzero_test_data): Likewise.
15849 (exp_downward_test_data): Likewise.
15850 (exp_upward_test_data): Likewise.
15851 (exp10_test_data): Likewise.
15852 (exp2_test_data): Likewise.
15853 (expm1_test_data): Likewise.
15854 (fabs_test_data): Likewise.
15855 (fdim_test_data): Likewise.
15856 (finite_test_data): Likewise.
15857 (floor_test_data): Likewise.
15858 (fma_test_data): Likewise.
15859 (fma_towardzero_test_data): Likewise.
15860 (fma_downward_test_data): Likewise.
15861 (fma_upward_test_data): Likewise.
15862 (fmax_test_data): Likewise.
15863 (fmin_test_data): Likewise.
15864 (fmod_test_data): Likewise.
15865 (fpclassify_test_data): Likewise.
15866 (frexp_test_data): Likewise.
15867 (gamma_test_data): Likewise.
15868 (hypot_test_data): Likewise.
15869 (ilogb_test_data): Likewise.
15870 (isfinite_test_data): Likewise.
15871 (isgreater_test_data): Likewise.
15872 (isgreaterequal_test_data): Likewise.
15873 (isinf_test_data): Likewise.
15874 (isless_test_data): Likewise.
15875 (islessequal_test_data): Likewise.
15876 (islessgreater_test_data): Likewise.
15877 (isnan_test_data): Likewise.
15878 (isnormal_test_data): Likewise.
15879 (issignaling_test_data): Likewise.
15880 (isunordered_test_data): Likewise.
15881 (j0_test_data): Likewise.
15882 (j1_test_data): Likewise.
15883 (jn_test_data): Likewise.
15884 (ldexp_test_data): Likewise.
15885 (lgamma_test_data): Likewise.
15886 (lrint_test_data): Likewise.
15887 (lrint_tonearest_test_data): Likewise.
15888 (lrint_towardzero_test_data): Likewise.
15889 (lrint_downward_test_data): Likewise.
15890 (lrint_upward_test_data): Likewise.
15891 (llrint_test_data): Likewise.
15892 (llrint_tonearest_test_data): Likewise.
15893 (llrint_towardzero_test_data): Likewise.
15894 (llrint_downward_test_data): Likewise.
15895 (llrint_upward_test_data): Likewise.
15896 (log_test_data): Likewise.
15897 (log10_test_data): Likewise.
15898 (log1p_test_data): Likewise.
15899 (log2_test_data): Likewise.
15900 (logb_test_data): Likewise.
15901 (logb_downward_test_data): Likewise.
15902 (lround_test_data): Likewise.
15903 (llround_test_data): Likewise.
15904 (modf_test_data): Likewise.
15905 (nearbyint_test_data): Likewise.
15906 (nextafter_test_data): Likewise.
15907 (nexttoward_test_data): Likewise.
15908 (pow_test_data): Likewise.
15909 (pow_tonearest_test_data): Likewise.
15910 (pow_towardzero_test_data): Likewise.
15911 (pow_downward_test_data): Likewise.
15912 (pow_upward_test_data): Likewise.
15913 (remainder_test_data): Likewise.
15914 (remainder_tonearest_test_data): Likewise.
15915 (remainder_towardzero_test_data): Likewise.
15916 (remainder_downward_test_data): Likewise.
15917 (remainder_upward_test_data): Likewise.
15918 (remquo_test_data): Likewise.
15919 (rint_test_data): Likewise.
15920 (rint_tonearest_test_data): Likewise.
15921 (rint_towardzero_test_data): Likewise.
15922 (rint_downward_test_data): Likewise.
15923 (rint_upward_test_data): Likewise.
15924 (round_test_data): Likewise.
15925 (scalb_test_data): Likewise.
15926 (scalbn_test_data): Likewise.
15927 (scalbln_test_data): Likewise.
15928 (signbit_test_data): Likewise.
15929 (sin_test_data): Likewise.
15930 (sin_tonearest_test_data): Likewise.
15931 (sin_towardzero_test_data): Likewise.
15932 (sin_downward_test_data): Likewise.
15933 (sin_upward_test_data): Likewise.
15934 (sincos_test_data): Likewise.
15935 (sinh_test_data): Likewise.
15936 (sinh_tonearest_test_data): Likewise.
15937 (sinh_towardzero_test_data): Likewise.
15938 (sinh_downward_test_data): Likewise.
15939 (sinh_upward_test_data): Likewise.
15940 (sqrt_test_data): Likewise.
15941 (tan_test_data): Likewise.
15942 (tan_tonearest_test_data): Likewise.
15943 (tan_towardzero_test_data): Likewise.
15944 (tan_downward_test_data): Likewise.
15945 (tan_upward_test_data): Likewise.
15946 (tanh_test_data): Likewise.
15947 (tgamma_test_data): Likewise.
15948 (trunc_test_data): Likewise.
15949 (y0_test_data): Likewise.
15950 (y1_test_data): Likewise.
15951 (yn_test_data): Likewise.
15952 (significand_test_data): Likewise.
15953
b679a606
JM
15954 * math/gen-libm-test.pl (@functions): Remove variable.
15955 (generate_testfile): Don't handle START and END lines.
15956 * math/libm-test.inc (START): New macro.
15957 (END): Likewise.
15958 (END_COMPLEX): Likewise.
15959 (acos_test): Use END macro without arguments.
15960 (acos_test_tonearest): Likewise.
15961 (acos_test_towardzero): Likewise.
15962 (acos_test_downward): Likewise.
15963 (acos_test_upward): Likewise.
15964 (acosh_test): Likewise.
15965 (asin_test): Likewise.
15966 (asin_test_tonearest): Likewise.
15967 (asin_test_towardzero): Likewise.
15968 (asin_test_downward): Likewise.
15969 (asin_test_upward): Likewise.
15970 (asinh_test): Likewise.
15971 (atan_test): Likewise.
15972 (atanh_test): Likewise.
15973 (atan2_test): Likewise.
15974 (cabs_test): Likewise.
15975 (cacos_test): Use END_COMPLEX macro without arguments.
15976 (cacosh_test): Likewise.
15977 (carg_test): Use END macro without arguments.
15978 (casin_test): Use END_COMPLEX macro without arguments.
15979 (casinh_test): Likewise.
15980 (catan_test): Likewise.
15981 (catanh_test): Likewise.
15982 (cbrt_test): Use END macro without arguments.
15983 (ccos_test): Use END_COMPLEX macro without arguments.
15984 (ccosh_test): Likewise.
15985 (ceil_test): Use END macro without arguments.
15986 (cexp_test): Use END_COMPLEX macro without arguments.
15987 (cimag_test): Use END macro without arguments.
15988 (clog_test): Use END_COMPLEX macro without arguments.
15989 (clog10_test): Likewise.
15990 (conj_test): Likewise.
15991 (copysign_test): Use END macro without arguments.
15992 (cos_test): Likewise.
15993 (cos_test_tonearest): Likewise.
15994 (cos_test_towardzero): Likewise.
15995 (cos_test_downward): Likewise.
15996 (cos_test_upward): Likewise.
15997 (cosh_test): Likewise.
15998 (cosh_test_tonearest): Likewise.
15999 (cosh_test_towardzero): Likewise.
16000 (cosh_test_downward): Likewise.
16001 (cosh_test_upward): Likewise.
16002 (cpow_test): Use END_COMPLEX macro without arguments.
16003 (cproj_test): Likewise.
16004 (creal_test): Use END macro without arguments.
16005 (csin_test): Use END_COMPLEX macro without arguments.
16006 (csinh_test): Likewise.
16007 (csqrt_test): Likewise.
16008 (ctan_test): Likewise.
16009 (ctan_test_tonearest): Likewise.
16010 (ctan_test_towardzero): Likewise.
16011 (ctan_test_downward): Likewise.
16012 (ctan_test_upward): Likewise.
16013 (ctanh_test): Likewise.
16014 (ctanh_test_tonearest): Likewise.
16015 (ctanh_test_towardzero): Likewise.
16016 (ctanh_test_downward): Likewise.
16017 (ctanh_test_upward): Likewise.
16018 (erf_test): Use END macro without arguments.
16019 (erfc_test): Likewise.
16020 (exp_test): Likewise.
16021 (exp_test_tonearest): Likewise.
16022 (exp_test_towardzero): Likewise.
16023 (exp_test_downward): Likewise.
16024 (exp_test_upward): Likewise.
16025 (exp10_test): Likewise.
16026 (exp2_test): Likewise.
16027 (expm1_test): Likewise.
16028 (fabs_test): Likewise.
16029 (fdim_test): Likewise.
16030 (finite_test): Likewise.
16031 (floor_test): Likewise.
16032 (fma_test): Likewise.
16033 (fma_test_towardzero): Likewise.
16034 (fma_test_downward): Likewise.
16035 (fma_test_upward): Likewise.
16036 (fmax_test): Likewise.
16037 (fmin_test): Likewise.
16038 (fmod_test): Likewise.
16039 (fpclassify_test): Likewise.
16040 (frexp_test): Likewise.
16041 (gamma_test): Likewise.
16042 (hypot_test): Likewise.
16043 (ilogb_test): Likewise.
16044 (isfinite_test): Likewise.
16045 (isgreater_test): Likewise.
16046 (isgreaterequal_test): Likewise.
16047 (isinf_test): Likewise.
16048 (isless_test): Likewise.
16049 (islessequal_test): Likewise.
16050 (islessgreater_test): Likewise.
16051 (isnan_test): Likewise.
16052 (isnormal_test): Likewise.
16053 (issignaling_test): Likewise.
16054 (isunordered_test): Likewise.
16055 (j0_test): Likewise.
16056 (j1_test): Likewise.
16057 (jn_test): Likewise.
16058 (ldexp_test): Likewise.
16059 (lgamma_test): Likewise.
16060 (lrint_test): Likewise.
16061 (lrint_test_tonearest): Likewise.
16062 (lrint_test_towardzero): Likewise.
16063 (lrint_test_downward): Likewise.
16064 (lrint_test_upward): Likewise.
16065 (llrint_test): Likewise.
16066 (llrint_test_tonearest): Likewise.
16067 (llrint_test_towardzero): Likewise.
16068 (llrint_test_downward): Likewise.
16069 (llrint_test_upward): Likewise.
16070 (log_test): Likewise.
16071 (log10_test): Likewise.
16072 (log1p_test): Likewise.
16073 (log2_test): Likewise.
16074 (logb_test): Likewise.
16075 (logb_test_downward): Likewise.
16076 (lround_test): Likewise.
16077 (llround_test): Likewise.
16078 (modf_test): Likewise.
16079 (nearbyint_test): Likewise.
16080 (nextafter_test): Likewise.
16081 (nexttoward_test): Likewise.
16082 (pow_test): Likewise.
16083 (pow_test_tonearest): Likewise.
16084 (pow_test_towardzero): Likewise.
16085 (pow_test_downward): Likewise.
16086 (pow_test_upward): Likewise.
16087 (remainder_test): Likewise.
16088 (remainder_test_tonearest): Likewise.
16089 (remainder_test_towardzero): Likewise.
16090 (remainder_test_downward): Likewise.
16091 (remainder_test_upward): Likewise.
16092 (remquo_test): Likewise.
16093 (rint_test): Likewise.
16094 (rint_test_tonearest): Likewise.
16095 (rint_test_towardzero): Likewise.
16096 (rint_test_downward): Likewise.
16097 (rint_test_upward): Likewise.
16098 (round_test): Likewise.
16099 (scalb_test): Likewise.
16100 (scalbn_test): Likewise.
16101 (scalbln_test): Likewise.
16102 (signbit_test): Likewise.
16103 (sin_test): Likewise.
16104 (sin_test_tonearest): Likewise.
16105 (sin_test_towardzero): Likewise.
16106 (sin_test_downward): Likewise.
16107 (sin_test_upward): Likewise.
16108 (sincos_test): Likewise.
16109 (sinh_test): Likewise.
16110 (sinh_test_tonearest): Likewise.
16111 (sinh_test_towardzero): Likewise.
16112 (sinh_test_downward): Likewise.
16113 (sinh_test_upward): Likewise.
16114 (sqrt_test): Likewise.
16115 (tan_test): Likewise.
16116 (tan_test_tonearest): Likewise.
16117 (tan_test_towardzero): Likewise.
16118 (tan_test_downward): Likewise.
16119 (tan_test_upward): Likewise.
16120 (tanh_test): Likewise.
16121 (tgamma_test): Likewise.
16122 (trunc_test): Likewise.
16123 (y0_test): Likewise.
16124 (y1_test): Likewise.
16125 (yn_test): Likewise.
16126 (significand_test): Likewise.
16127
bae143d2
OB
161282013-05-24 Ondřej Bílka <neleai@seznam.cz>
16129
16130 [BZ #15381]
16131 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16132
9323d39b
EM
161332013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16134
d4ea44a0 16135 [BZ #14894]
9323d39b
EM
16136 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16137 __ppc_mdoio and __ppc_mdoom.
16138 * manual/platform.texi: Document new functions __ppc_yield,
16139 __ppc_mdoio and __ppc_mdoom.
16140
13e23af7
CD
161412013-05-22 Carlos O'Donell <carlos@redhat.com>
16142
16143 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16144 (main): Mention "tls" pseudo-hwcap is legacy.
16145 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16146
351fe550
JM
161472013-05-22 Joseph Myers <joseph@codesourcery.com>
16148
16149 * math/gen-libm-test.pl (parse_args): Output only string of
16150 arguments as text for test name, not full call or descriptions of
16151 tests for extra outputs.
16152 (generate_testfile): Do not pass function name to parse_args.
16153 Generate this_func variable from START.
16154 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16155 field to arg_str.
16156 (struct test_ff_f_data): Likewise.
16157 (test_ff_f_data_nexttoward): Likewise.
16158 (struct test_fi_f_data): Likewise.
16159 (struct test_fl_f_data): Likewise.
16160 (struct test_if_f_data): Likewise.
16161 (struct test_fff_f_data): Likewise.
16162 (struct test_c_f_data): Likewise.
16163 (struct test_f_f1_data): Likewise. Remove field extra_name.
16164 (struct test_fF_f1_data): Likewise.
16165 (struct test_ffI_f1_data): Likewise.
16166 (struct test_c_c_data): Rename test_name field to arg_str.
16167 (struct test_cc_c_data): Likewise.
16168 (struct test_f_i_data): Likewise.
16169 (struct test_ff_i_data): Likewise.
16170 (struct test_f_l_data): Likewise.
16171 (struct test_f_L_data): Likewise.
16172 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16173 and extra2_name.
16174 (COMMON_TEST_SETUP): New macro.
16175 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16176 (COMMON_TEST_CLEANUP): Likewise.
16177 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16178 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16179 macros.
16180 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16181 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16182 macros.
16183 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16184 (RUN_TEST_fff_f): Take argument string. Call new setup and
16185 cleanup macros.
16186 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16187 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16188 macros.
16189 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16190 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16191 macros.
16192 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16193 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16194 cleanup macros.
16195 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16196 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16197 cleanup macros.
16198 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16199 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16200 cleanup macros.
16201 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16202 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16203 macros.
16204 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16205 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16206 macros.
16207 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16208 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16209 macros.
16210 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16211 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16212 cleanup macros.
16213 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16214 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16215 cleanup macros.
16216 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16217 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16218 macros.
16219 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16220 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16221 cleanup macros.
16222 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16223 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16224 macros.
16225 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16226 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16227 macros.
16228 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16229 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16230 cleanup macros.
16231 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16232
85118d4d
EBM
162332013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16234
16235 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16236 to _sifields.sigfault.
16237 (si_addr_lsb): Define new macro.
16238 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16239 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16240 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16241
7a44c18f
CD
162422013-05-03 Carlos O'Donell <carlos at redhat.com>
16243
16244 [BZ #15441]
16245 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16246 returns -1.
16247 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16248 null return -1.
16249 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16250 loading the domain.
16251
b50a7181
JM
162522013-05-22 Joseph Myers <joseph@codesourcery.com>
16253
16254 * math/gen-libm-test.pl (parse_args): Do not include expected
16255 result in test name.
16256 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16257 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16258 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16259 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16260 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16262
051063c8
SP
162632013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16264
3ce9e010
SP
16265 * benchtests/Makefile: Sort function entries.
16266
051063c8
SP
16267 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16268 tanh, asinh, acosh, atanh.
16269 * benchtests/acos-inputs: New file.
16270 * benchtests/acosh-inputs: New file.
16271 * benchtests/asin-inputs: New file.
16272 * benchtests/asinh-inputs: New file.
16273 * benchtests/atanh-inputs: New file.
16274 * benchtests/cosh-inputs: New file.
16275 * benchtests/log-inputs: New file.
16276 * benchtests/sinh-inputs: New file.
16277 * benchtests/tanh-inputs: New file.
16278
47c22455
DL
162792013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16280
16281 [BZ #15339]
16282 * posix/tst-getaddrinfo4.c: New test.
16283 * posix/Makefile (tests): Add it.
16284
3d04f5db
SP
162852013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16286
16287 [BZ #15339]
16288 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16289 when no services were used.
16290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16291 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16292
d5dd6189
AS
162932013-05-21 Andreas Schwab <schwab@suse.de>
16294
16295 [BZ #15014]
16296 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16297 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16298 successful.
16299 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16300 redundant variable declarations and reallocation of buffer when
16301 parsing as IPv6 address. Always set NSS status when called from
16302 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16303 buffer too small. Correct computation of needed size.
16304 * nss/Makefile (tests): Add test-digits-dots.
16305 * nss/test-digits-dots.c: New test.
16306
fef94eab
SP
163072013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16308
16309 * benchtests/Makefile: Remove instructions for adding
16310 benchmark tests.
16311 * benchtests/README: New file to explain how to execute and
16312 enhance the benchmark tests.
16313
e39adf43
AS
163142013-05-21 Andreas Schwab <schwab@suse.de>
16315
16316 [BZ #15493]
16317 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16318 * setjmp/tst-sigsetjmp.c: New test.
16319
b2b671b6
OB
163202013-05-20 Ondřej Bílka <neleai@seznam.cz>
16321
16322 * sysdeps/x86_64/memset.S (memset): New implementation.
16323 (__bzero): Likewise.
16324 (__memset_tail): New function.
16325
2d48b41c
OB
163262013-05-20 Ondřej Bílka <neleai@seznam.cz>
16327
16328 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16329 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16330 __memcpy_sse2_unaligned ifunc selection.
16331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16332 Add memcpy-sse2-unaligned.S.
16333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16334 Add: __memcpy_sse2_unaligned.
16335
f16cc3eb
JM
163362013-05-19 Joseph Myers <joseph@codesourcery.com>
16337
3e694268
JM
16338 [BZ #15490]
16339 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16340 math_force_eval before restoring floating-point envrionment.
16341 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16342 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16343 Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16345 <math_private.h>.
16346 (__nearbyintl): Use math_force_eval before restoring
16347 floating-point environment.
16348 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16349
db62a907
JM
16350 * math/gen-libm-test.pl (special_functions): Remove.
16351 (parse_args): Don't handle TEST_extra. Handle functions with no
16352 return value.
16353 * math/libm-test.inc (struct test_sincos_data): Replace with
16354 struct test_fFF_11_data.
16355 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16356 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16357 (sincos_test_data): Change element type to struct
16358 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16359 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16360 RUN_TEST_LOOP_sincos.
16361 * math/README.libm-test: Don't mention special handling of
16362 individual functions.
16363 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16364 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16365 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16366 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16367 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16369
f16cc3eb
JM
16370 * math/gen-libm-test.pl (get_variable): Remove function.
16371 (parse_args): Don't show pointer parameters to call in test
16372 names. Use "extra output N" in test names for extra outputs
16373 rather than naming variables.
16374
3779b5b6
JM
163752013-05-18 Joseph Myers <joseph@codesourcery.com>
16376
2ee094ff
JM
16377 [BZ #15488]
16378 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16379 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16380 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16381 double tests.
16382 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16383 disable.
16384 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16385 check_long_double.
16386
3779b5b6
JM
16387 * math/gen-libm-test.pl (@tests): Remove variable.
16388 ($count): Likewise.
16389 (new_test): Remove function.
16390 (show_exceptions): New function.
16391 (special_functions): Use show_exceptions instead of new_test.
16392 (parse_args): Likewise.
16393 (generate_testfile): Pass only function name in generated call to
16394 print_max_error or print_complex_max_error.
16395 (get_ulps): Do not handle complex tests specially.
16396 (output_test): Rename to ...
16397 (get_all_ulps_for_test): ... this. Return a string rather than
16398 printing to a file. Require ulps to be present.
16399 (output_ulps): Generate arrays rather than #defines.
16400 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16401 (struct ulp_data): New type.
16402 (BUILD_COMPLEX_ULP): Remove macro.
16403 (compare_ulp_data): New function.
16404 (find_ulps): Likewise.
16405 (find_test_ulps): Likewise.
16406 (find_function_ulps): Likewise.
16407 (find_complex_function_ulps): Likewise.
16408 (print_max_error): Determine allowed ulps using
16409 find_function_ulps.
16410 (print_complex_max_error): Determine allowed ulps using
16411 find_complex_function_ulps.
16412 (check_float_internal): Determine max ulps using find_test_ulps.
16413 (check_float): Do not take max_ulp parameter. Update call to
16414 check_float_internal.
16415 (check_complex): Likewise.
16416 (check_int): Do not take max_ulp parameter.
16417 (check_long): Likewise.
16418 (check_bool): Likewise.
16419 (check_longlong): Likewise.
16420 (struct test_f_f_data): Remove max_ulp field.
16421 (struct test_ff_f_data): Likewise.
16422 (struct test_ff_f_data_nexttoward): Likewise.
16423 (struct test_fi_f_data): Likewise.
16424 (struct test_fl_f_data): Likewise.
16425 (struct test_if_f_data): Likewise.
16426 (struct test_fff_f_data): Likewise.
16427 (struct test_c_f_data): Likewise.
16428 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16429 (struct test_fF_f1_data): Likewise.
16430 (struct test_ffI_f1_data): Likewise.
16431 (struct test_c_c_data): Remove max_ulp field.
16432 (struct test_cc_c_data): Likewise.
16433 (struct test_f_i_data): Likewise.
16434 (struct test_ff_i_data): Likewise.
16435 (struct test_f_l_data): Likewise.
16436 (struct test_f_L_data): Likewise.
16437 (struct test_sincos_data): Likewise.
16438 (RUN_TEST_f_f): Do not handle ulps.
16439 (RUN_TEST_LOOP_f_f): Likewise.
16440 (RUN_TEST_2_f): Likewise.
16441 (RUN_TEST_LOOP_2_f): Likewise.
16442 (RUN_TEST_fff_f): Likewise.
16443 (RUN_TEST_LOOP_fff_f): Likewise.
16444 (RUN_TEST_c_f): Likewise.
16445 (RUN_TEST_LOOP_c_f): Likewise.
16446 (RUN_TEST_f_f1): Likewise.
16447 (RUN_TEST_LOOP_f_f1): Likewise.
16448 (RUN_TEST_fF_f1): Likewise.
16449 (RUN_TEST_LOOP_fF_f1): Likewise.
16450 (RUN_TEST_fI_f1): Likewise.
16451 (RUN_TEST_LOOP_fI_f1): Likewise.
16452 (RUN_TEST_ffI_f1): Likewise.
16453 (RUN_TEST_LOOP_ffI_f1): Likewise.
16454 (RUN_TEST_c_c): Likewise.
16455 (RUN_TEST_LOOP_c_c): Likewise.
16456 (RUN_TEST_cc_c): Likewise.
16457 (RUN_TEST_LOOP_cc_c): Likewise.
16458 (RUN_TEST_f_i): Likewise.
16459 (RUN_TEST_LOOP_f_i): Likewise.
16460 (RUN_TEST_f_i_tg): Likewise.
16461 (RUN_TEST_LOOP_f_i_tg): Likewise.
16462 (RUN_TEST_ff_i_tg): Likewise.
16463 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16464 (RUN_TEST_f_b): Likewise.
16465 (RUN_TEST_LOOP_f_b): Likewise.
16466 (RUN_TEST_f_b_tg): Likewise.
16467 (RUN_TEST_LOOP_f_b_tg): Likewise.
16468 (RUN_TEST_f_l): Likewise.
16469 (RUN_TEST_LOOP_f_l): Likewise.
16470 (RUN_TEST_f_L): Likewise.
16471 (RUN_TEST_LOOP_f_L): Likewise.
16472 (RUN_TEST_sincos): Likewise.
16473 (RUN_TEST_LOOP_sincos): Likewise.
16474
8269107f
JM
164752013-05-17 Joseph Myers <joseph@codesourcery.com>
16476
bb38759d
JM
16477 [BZ #15480]
16478 [BZ #15485]
16479 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16480 main case of finite arguments, set rounding mode to FE_TONEAREST
16481 and discard exceptions.
16482 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16483 exceptions.
16484 (remainder_tonearest_test_data): New variable.
16485 (remainder_test_tonearest): New function.
16486 (remainder_towardzero_test_data): New variable.
16487 (remainder_test_towardzero): New function.
16488 (remainder_downward_test_data): New variable.
16489 (remainder_test_downward): New function.
16490 (remainder_upward_test_data): New variable.
16491 (remainder_test_upward): New function.
16492 (main): Call the new test functions.
16493
a00bdcf0
JM
16494 * math/libm-test.inc (struct test_f_f1_data): Remove field
16495 extra_init.
16496 (struct test_fF_f1_data): Likewise.
16497 (struct test_ffI_f1_data): Likewise.
16498 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16499 based on value of EXTRA_EXPECTED.
16500 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16501 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16502 EXTRA_VAR based on value of EXTRA_EXPECTED.
16503 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16504 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16505 EXTRA_VAR based on value of EXTRA_EXPECTED.
16506 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16507 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16508 EXTRA_VAR based on value of EXTRA_EXPECTED.
16509 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16510 * math/gen-libm-test.pl (parse_args): Don't output initializers
16511 for extra output values.
16512
de407f79
JM
16513 * math/libm-test.inc (check_int): Expect result to be exactly
16514 equal to expected value and do not handle ulps.
16515 (check_long): Likewise.
16516 (check_longlong): Likewise.
16517
8269107f
JM
16518 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16519 exceptions.
16520 (cimag_test_data): Likewise.
16521 (conj_test_data): Likewise.
16522 (copysign_test_data): Likewise.
16523 (cproj_test_data): Likewise.
16524 (creal_test_data): Likewise.
16525 (fabs_test_data): Likewise.
16526 (fdim_test_data): Likewise.
16527 (finite_test_data): Likewise.
16528 (floor_test_data): Likewise.
16529 (fmax_test_data): Likewise.
16530 (fmin_test_data): Likewise.
16531 (fmod_test_data): Likewise.
16532 (fpclassify_test_data): Likewise.
16533 (frexp_test_data): Likewise.
16534 (ilogb_test_data): Likewise.
16535 (isfinite_test_data): Likewise.
16536 (isgreater_test_data): Likewise.
16537 (isgreaterequal_test_data): Likewise.
16538 (isinf_test_data): Likewise.
16539 (isless_test_data): Likewise.
16540 (islessequal_test_data): Likewise.
16541 (islessgreater_test_data): Likewise.
16542 (isnan_test_data): Likewise.
16543 (isnormal_test_data): Likewise.
16544 (issignaling_test_data): Likewise.
16545 (isunordered_test_data): Likewise.
16546 (ldexp_test_data): Likewise.
16547 (lrint_test_data): Likewise.
16548 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16549 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16550 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16551 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16552 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16553 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16554 test input.
16555 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16556 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16557 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16558 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16559 that test input.
16560 (lrint_downward_test_data): Test for "inexact" exceptions.
16561 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16562 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16563 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16564 test input.
16565 (lrint_upward_test_data): Test for "inexact" exceptions.
16566 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16567 test input.
16568 (llrint_test_data): Test for "inexact" exceptions.
16569 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16570 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16571 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16572 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16573 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16574 (llrint_downward_test_data): Test for "inexact" exceptions.
16575 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16576 (llrint_upward_test_data): Test for "inexact" exceptions.
16577 (logb_test_data): Likewise.
16578 (logb_downward_test_data): Likewise.
16579 (nextafter_test_data): Likewise.
16580 (nexttoward_test_data): Likewise.
16581 (remainder_test_data): Likewise.
16582 (remquo_test_data): Likewise.
16583 (scalbn_test_data): Likewise.
16584 (scalbln_test_data): Likewise.
16585 (signbit_test_data): Likewise.
16586 (sqrt_test_data): Likewise.
16587 (significand_test_data): Likewise.
16588
48a18de1
SP
165892013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16590
16591 [BZ #15424]
16592 * benchtests/bench-modf.c (struct args): Mark arg0 as
16593 volatile.
16594 * scripts/bench.pl: Mark members of struct args as volatile.
16595
13d3b41a
AZ
165962013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16597
68191c1d 16598 [BZ # 15497]
13d3b41a
AZ
16599 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16600 negative infinity on POWER6 or lower.
16601 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16602
2848b105
MR
166032013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16604
16605 [BZ #15442]
16606 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16607 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16608 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16609 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16610 (_FP_SETQNAN): New macro.
16611 (_FP_SETQNAN_SEMIRAW): Likewise.
16612 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16613 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16614 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16615 (FP_EXTEND): Use _FP_FRAC_SNANP.
16616 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16617 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16618 into account.
16619 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16620 New macro.
16621 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16622 Likewise.
16623
323e5cb7
JM
166242013-05-16 Joseph Myers <joseph@codesourcery.com>
16625
c58b274f
JM
16626 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16627 with DIVIDE_BY_ZERO_EXCEPTION.
16628 (gamma_test_data): Likewise.
16629 (lgamma_test_data): Likewise.
16630 (log_test_data): Likewise.
16631 (log10_test_data): Likewise.
16632 (log2_test_data): Likewise.
16633 (tgamma_test_data): Likewise.
16634
0ab34904
JM
16635 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16636 (acos_test_tonearest): Likewise.
16637 (acos_test_towardzero): Likewise.
16638 (acos_test_downward): Likewise.
16639 (acos_test_upward): Likewise.
16640 (acosh_test): Likewise.
16641 (asin_test): Likewise.
16642 (asin_test_tonearest): Likewise.
16643 (asin_test_towardzero): Likewise.
16644 (asin_test_downward): Likewise.
16645 (asin_test_upward): Likewise.
16646 (asinh_test): Likewise.
16647 (atan_test): Likewise.
16648 (atanh_test): Likewise.
16649 (atan2_test): Likewise.
16650 (cabs_test): Likewise.
16651 (cacos_test): Likewise.
16652 (cacosh_test): Likewise.
16653 (casin_test): Likewise.
16654 (casinh_test): Likewise.
16655 (catan_test): Likewise.
16656 (catanh_test): Likewise.
16657 (cbrt_test): Likewise.
16658 (ccos_test): Likewise.
16659 (ccosh_test): Likewise.
16660 (cexp_test): Likewise.
16661 (clog_test): Likewise.
16662 (clog10_test): Likewise.
16663 (cos_test): Likewise.
16664 (cos_test_tonearest): Likewise.
16665 (cos_test_towardzero): Likewise.
16666 (cos_test_downward): Likewise.
16667 (cos_test_upward): Likewise.
16668 (cosh_test): Likewise.
16669 (cosh_test_tonearest): Likewise.
16670 (cosh_test_towardzero): Likewise.
16671 (cosh_test_downward): Likewise.
16672 (cosh_test_upward): Likewise.
16673 (cpow_test): Likewise.
16674 (csin_test): Likewise.
16675 (csinh_test): Likewise.
16676 (csqrt_test): Likewise.
16677 (ctan_test): Likewise.
16678 (ctan_test_tonearest): Likewise.
16679 (ctan_test_towardzero): Likewise.
16680 (ctan_test_downward): Likewise.
16681 (ctan_test_upward): Likewise.
16682 (ctanh_test): Likewise.
16683 (ctanh_test_tonearest): Likewise.
16684 (ctanh_test_towardzero): Likewise.
16685 (ctanh_test_downward): Likewise.
16686 (ctanh_test_upward): Likewise.
16687 (erf_test): Likewise.
16688 (erfc_test): Likewise.
16689 (exp_test): Likewise.
16690 (exp_test_tonearest): Likewise.
16691 (exp_test_towardzero): Likewise.
16692 (exp_test_downward): Likewise.
16693 (exp_test_upward): Likewise.
16694 (exp10_test): Likewise.
16695 (exp2_test): Likewise.
16696 (expm1_test): Likewise.
16697 (fmod_test): Likewise.
16698 (gamma_test): Likewise.
16699 (hypot_test): Likewise.
16700 (j0_test): Likewise.
16701 (j1_test): Likewise.
16702 (jn_test): Likewise.
16703 (lgamma_test): Likewise.
16704 (log_test): Likewise.
16705 (log10_test): Likewise.
16706 (log1p_test): Likewise.
16707 (log2_test): Likewise.
16708 (logb_test_downward): Likewise.
16709 (pow_test): Likewise.
16710 (pow_test_tonearest): Likewise.
16711 (pow_test_towardzero): Likewise.
16712 (pow_test_downward): Likewise.
16713 (pow_test_upward): Likewise.
16714 (remainder_test): Likewise.
16715 (remquo_test): Likewise.
16716 (sin_test): Likewise.
16717 (sin_test_tonearest): Likewise.
16718 (sin_test_towardzero): Likewise.
16719 (sin_test_downward): Likewise.
16720 (sin_test_upward): Likewise.
16721 (sincos_test): Likewise.
16722 (sinh_test): Likewise.
16723 (sinh_test_tonearest): Likewise.
16724 (sinh_test_towardzero): Likewise.
16725 (sinh_test_downward): Likewise.
16726 (sinh_test_upward): Likewise.
16727 (sqrt_test): Likewise.
16728 (tan_test): Likewise.
16729 (tan_test_tonearest): Likewise.
16730 (tan_test_towardzero): Likewise.
16731 (tan_test_downward): Likewise.
16732 (tan_test_upward): Likewise.
16733 (tanh_test): Likewise.
16734 (tgamma_test): Likewise.
16735 (y0_test): Likewise.
16736 (y1_test): Likewise.
16737 (yn_test): Likewise.
16738
323e5cb7
JM
16739 * math/gen-libm-test.pl (adjust_arg): Remove function.
16740 (special_function): Remove argument $in_func. Only handle
16741 generating output for tables of tests, not inside functions.
16742 (parse_args): Likewise.
16743 (generate_testfile): Remove variable $in_func. Update call to
16744 parse_args.
16745 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16746 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16747 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16748 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16749 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16750 (MAX_VALUE_INIT): Rename macro to max_value.
16751 (MIN_VALUE_INIT): Rename macro to min_value.
16752 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16753 (plus_zero): Remove variable.
16754 (minus_zero): Likewise.
16755 (plus_infty): Likewise.
16756 (minus_infty): Likewise.
16757 (qnan_value): Likewise.
16758 (max_value): Likewise.
16759 (min_value): Likewise.
16760 (min_subnorm_value): Likewise.
16761
e054f494
RA
167622013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16763
16764 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16765 uint64_t or uint32_t usage.
16766 * crypt/sha256-block.c: Likewise.
16767 * crypt/sha256-crypt.c: Likewise.
16768 * crypt/sha256.c: Likewise.
16769 * crypt/sha512-block.c: Likewise.
16770 * crypt/sha512-crypt.c: Likewise.
16771 * crypt/sha512.c: Likewise.
16772 * debug/backtrace-tst.c: Likewise.
16773 * debug/pcprofiledump.c: Likewise.
16774 * elf/cache.c: Likewise.
16775 * elf/dl-cache.c: Likewise.
16776 * elf/dl-misc.c: Likewise.
16777 * elf/dl-profile.c: Likewise.
16778 * elf/dl-support.c: Likewise.
16779 * elf/ldconfig.c: Likewise.
16780 * elf/sprof.c: Likewise.
16781 * iconv/dummy-repertoire.c: Likewise.
16782 * iconv/iconv_charmap.c: Likewise.
16783 * iconv/skeleton.c: Likewise.
16784 * iconvdata/8bit-generic.c: Likewise.
16785 * iconvdata/cp737.h: Likewise.
16786 * iconvdata/cp775.h: Likewise.
16787 * iconvdata/ibm1008.h: Likewise.
16788 * iconvdata/ibm1025.h: Likewise.
16789 * iconvdata/ibm1046.h: Likewise.
16790 * iconvdata/ibm1097.h: Likewise.
16791 * iconvdata/ibm1112.h: Likewise.
16792 * iconvdata/ibm1122.h: Likewise.
16793 * iconvdata/ibm1123.h: Likewise.
16794 * iconvdata/ibm1124.h: Likewise.
16795 * iconvdata/ibm1129.h: Likewise.
16796 * iconvdata/ibm1130.h: Likewise.
16797 * iconvdata/ibm1132.h: Likewise.
16798 * iconvdata/ibm1133.h: Likewise.
16799 * iconvdata/ibm1137.h: Likewise.
16800 * iconvdata/ibm1140.h: Likewise.
16801 * iconvdata/ibm1141.h: Likewise.
16802 * iconvdata/ibm1142.h: Likewise.
16803 * iconvdata/ibm1143.h: Likewise.
16804 * iconvdata/ibm1144.h: Likewise.
16805 * iconvdata/ibm1145.h: Likewise.
16806 * iconvdata/ibm1146.h: Likewise.
16807 * iconvdata/ibm1147.h: Likewise.
16808 * iconvdata/ibm1148.h: Likewise.
16809 * iconvdata/ibm1149.h: Likewise.
16810 * iconvdata/ibm1153.h: Likewise.
16811 * iconvdata/ibm1154.h: Likewise.
16812 * iconvdata/ibm1155.h: Likewise.
16813 * iconvdata/ibm1156.h: Likewise.
16814 * iconvdata/ibm1157.h: Likewise.
16815 * iconvdata/ibm1158.h: Likewise.
16816 * iconvdata/ibm1160.h: Likewise.
16817 * iconvdata/ibm1161.h: Likewise.
16818 * iconvdata/ibm1162.h: Likewise.
16819 * iconvdata/ibm1163.h: Likewise.
16820 * iconvdata/ibm1164.h: Likewise.
16821 * iconvdata/ibm1166.h: Likewise.
16822 * iconvdata/ibm1167.h: Likewise.
16823 * iconvdata/ibm12712.h: Likewise.
16824 * iconvdata/ibm1390.h: Likewise.
16825 * iconvdata/ibm1399.h: Likewise.
16826 * iconvdata/ibm16804.h: Likewise.
16827 * iconvdata/ibm4517.h: Likewise.
16828 * iconvdata/ibm4899.h: Likewise.
16829 * iconvdata/ibm4909.h: Likewise.
16830 * iconvdata/ibm4971.h: Likewise.
16831 * iconvdata/ibm5347.h: Likewise.
16832 * iconvdata/ibm803.h: Likewise.
16833 * iconvdata/ibm856.h: Likewise.
16834 * iconvdata/ibm901.h: Likewise.
16835 * iconvdata/ibm902.h: Likewise.
16836 * iconvdata/ibm9030.h: Likewise.
16837 * iconvdata/ibm9066.h: Likewise.
16838 * iconvdata/ibm921.h: Likewise.
16839 * iconvdata/ibm922.h: Likewise.
16840 * iconvdata/ibm9448.h: Likewise.
16841 * iconvdata/isiri-3342.h: Likewise.
16842 * iconvdata/jis0201.h: Likewise.
16843 * include/link.h: Likewise.
16844 * include/netdb.h: Likewise.
16845 * inet/check_native.c: Likewise.
16846 * inet/check_pf.c: Likewise.
16847 * inet/getipv4sourcefilter.c: Likewise.
16848 * inet/getnameinfo.c: Likewise.
16849 * inet/getsourcefilter.c: Likewise.
16850 * inet/htonl.c: Likewise.
16851 * inet/setipv4sourcefilter.c: Likewise.
16852 * inet/setsourcefilter.c: Likewise.
16853 * inet/test-inet6_opt.c: Likewise.
16854 * inet/tst-network.c: Likewise.
16855 * locale/C-collate.c: Likewise.
16856 * locale/C-ctype.c: Likewise.
16857 * locale/C-time.c: Likewise.
16858 * locale/C-translit.h: Likewise.
16859 * locale/loadarchive.c: Likewise.
16860 * locale/programs/3level.h: Likewise.
16861 * locale/programs/charmap.c: Likewise.
16862 * locale/programs/charmap.h: Likewise.
16863 * locale/programs/ld-address.c: Likewise.
16864 * locale/programs/ld-collate.c: Likewise.
16865 * locale/programs/ld-ctype.c: Likewise.
16866 * locale/programs/ld-identification.c: Likewise.
16867 * locale/programs/ld-measurement.c: Likewise.
16868 * locale/programs/ld-messages.c: Likewise.
16869 * locale/programs/ld-monetary.c: Likewise.
16870 * locale/programs/ld-name.c: Likewise.
16871 * locale/programs/ld-numeric.c: Likewise.
16872 * locale/programs/ld-paper.c: Likewise.
16873 * locale/programs/ld-telephone.c: Likewise.
16874 * locale/programs/ld-time.c: Likewise.
16875 * locale/programs/linereader.c: Likewise.
16876 * locale/programs/locale.c: Likewise.
16877 * locale/programs/locarchive.c: Likewise.
16878 * locale/programs/locfile.h: Likewise.
16879 * locale/programs/repertoire.c: Likewise.
16880 * locale/programs/simple-hash.c: Likewise.
16881 * locale/programs/simple-hash.h: Likewise.
16882 * malloc/memusage.c: Likewise.
16883 * malloc/memusagestat.c: Likewise.
16884 * nis/nis_defaults.c: Likewise.
16885 * nis/nis_hash.c: Likewise.
16886 * nis/nis_print.c: Likewise.
16887 * nis/nis_xdr.c: Likewise.
16888 * nscd/connections.c: Likewise.
16889 * nscd/hstcache.c: Likewise.
16890 * nscd/nscd_gethst_r.c: Likewise.
16891 * nscd/nscd_getserv_r.c: Likewise.
16892 * nscd/nscd_helper.c: Likewise.
16893 * nscd/servicescache.c: Likewise.
16894 * nss/makedb.c: Likewise.
16895 * nss/nss_db/db-XXX.c: Likewise.
16896 * nss/nss_db/db-initgroups.c: Likewise.
16897 * nss/nss_db/db-netgrp.c: Likewise.
16898 * nss/nss_files/files-network.c: Likewise.
16899 * nss/nss_files/files-parse.c: Likewise.
16900 * posix/bug-regex5.c: Likewise.
16901 * posix/fnmatch_loop.c: Likewise.
16902 * posix/regcomp.c: Likewise.
16903 * posix/regexec.c: Likewise.
16904 * posix/tst-rfc3484-2.c: Likewise.
16905 * posix/tst-rfc3484-3.c: Likewise.
16906 * posix/tst-rfc3484.c: Likewise.
16907 * resolv/nss_dns/dns-canon.c: Likewise.
16908 * resolv/nss_dns/dns-network.c: Likewise.
16909 * resolv/res_init.c: Likewise.
16910 * resolv/res_mkquery.c: Likewise.
16911 * resolv/tst-aton.c: Likewise.
16912 * stdlib/cxa_atexit.c: Likewise.
16913 * stdlib/cxa_finalize.c: Likewise.
16914 * stdlib/gen-fpioconst.c: Likewise.
16915 * stdlib/strtol_l.c: Likewise.
16916 * string/tst-endian.c: Likewise.
16917 * sunrpc/auth_des.c: Likewise.
16918 * sunrpc/clnt_udp.c: Likewise.
16919 * sunrpc/rtime.c: Likewise.
16920 * sunrpc/svcauth_des.c: Likewise.
16921 * sunrpc/xdr.c: Likewise.
16922 * sunrpc/xdr_intXX_t.c: Likewise.
16923 * sunrpc/xdr_rec.c: Likewise.
16924 * sysdeps/generic/ldconfig.h: Likewise.
16925 * sysdeps/generic/ldsodefs.h: Likewise.
16926 * sysdeps/generic/memusage.h: Likewise.
16927 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16928 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16929 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16930 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16931 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16932 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16933 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16934 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16935 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16936 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16937 * sysdeps/posix/getaddrinfo.c: Likewise.
16938 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16939 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16940 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16941 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16942 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16943 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16944 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16945 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16946 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16947 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16948 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16949 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16950 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16951 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16952 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16953 * sysdeps/x86_64/dl-tls.h: Likewise.
16954 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16955 * time/alt_digit.c: Likewise.
16956 * time/era.c: Likewise.
16957 * wcsmbs/tst-c16c32-1.c: Likewise.
16958
8c75f674
JM
169592013-05-16 Joseph Myers <joseph@codesourcery.com>
16960
16961 * math/libm-test.inc (struct test_sincos_data): New type.
16962 (RUN_TEST_LOOP_sincos): New macro.
16963 (sincos_test_data): New variable.
16964 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16965
e6e49e59
RH
169662013-05-16 Richard Henderson <rth@redhat.com>
16967
16968 * math/atest-exp2.c (LIMB64): New macro.
16969 (CONSTSZ): New macro.
16970 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16971 (hexdig): Move ...
16972 (print_mpn_fp): ... to function scope.
16973 (read_mpn_hex): Remove.
16974 (get_log2): Remove.
16975 (exp2_mpn): Use mp_log2.
16976 (main): Use mp_exp1.
16977
15c7c18d
JM
169782013-05-16 Joseph Myers <joseph@codesourcery.com>
16979
105a07df
JM
16980 * math/libm-test.inc: Remove comment about not testing "inexact"
16981 exceptions.
16982 (INEXACT_EXCEPTION): New macro.
16983 (NO_INEXACT_EXCEPTION): Likewise.
16984 (INVALID_EXCEPTION_OK): Update value.
16985 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16986 (OVERFLOW_EXCEPTION_OK): Likewise.
16987 (UNDERFLOW_EXCEPTION_OK): Likewise.
16988 (IGNORE_ZERO_INF_SIGN): Likewise.
16989 (ERRNO_UNCHANGED): Likewise.
16990 (ERRNO_EDOM): Likewise.
16991 (ERRNO_ERANGE): Likewise.
16992 (test_exceptions): Handle testing "inexact" exceptions.
16993 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16994 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16995 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16996 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16997 INEXACT_EXCEPTION.
16998 (rint_towardzero_test_data): Likewise.
16999 (rint_downward_test_data): Likewise.
17000 (rint_upward_test_data): Likewise.
17001
e9eee333
JM
17002 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17003 with OVERFLOW_EXCEPTION.
17004 (exp10_test_data): Likewise.
17005 (exp2_test_data): Likewise.
17006 (expm1_test_data): Likewise.
17007 (lgamma_test_data): Likewise.
17008 (pow_test_data): Likewise.
17009 (tgamma_test_data): Likewise.
17010 (yn_test_data): Remove duplicate test of overflow.
17011
1c38ff73
JM
17012 * math/libm-test.inc (struct test_cc_c_data): New type.
17013 (RUN_TEST_LOOP_cc_c): New macro.
17014 (cpow_test_data): New variable.
17015 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17016
15c7c18d
JM
17017 * math/libm-test.inc (struct test_f_L_data): New type.
17018 (RUN_TEST_LOOP_f_L): New macro.
17019 (llrint_test_data): New variable.
17020 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17021 (llrint_tonearest_test_data): New variable.
17022 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17023 (llrint_towardzero_test_data): New variable.
17024 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17025 (llrint_downward_test_data): New variable.
17026 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17027 (llrint_upward_test_data): New variable.
17028 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17029 (llround_test_data): New variable.
17030 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17031
f137ff13
PC
170322013-05-13 Peter Collingbourne <pcc@google.com>
17033
17034 * math/atest-exp2.c (get_log2): Remove const attribute.
17035
3608cb24
JM
170362013-05-15 Joseph Myers <joseph@codesourcery.com>
17037
17038 * math/libm-test.inc (struct test_f_l_data): New type.
17039 (RUN_TEST_LOOP_f_l): New macro.
17040 (lrint_test_data): New variable.
17041 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17042 (lrint_tonearest_test_data): New variable.
17043 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17044 (lrint_towardzero_test_data): New variable.
17045 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17046 (lrint_downward_test_data): New variable.
17047 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17048 (lrint_upward_test_data): New variable.
17049 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17050 (lround_test_data): New variable.
17051 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17052
39b1f617
PC
170532013-05-15 Peter Collingbourne <pcc@google.com>
17054
1deff3dc
PC
17055 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17056 (EXTRACT_WORDS64) Use where appropriate.
17057 (INSERT_WORDS64) Likewise.
17058
791f3ba0
PC
17059 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17060 constraints with x constraints.
17061 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17062
39b1f617
PC
17063 * malloc/obstack.c (_obstack_compat): Add initializer.
17064
12fba011
EM
170652013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17066
17067 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17068 si_trapno and add si_addr_lsb to _sifields.sigfault.
17069 (si_trapno): Remove macro.
17070 (si_addr_lsb): Define new macro.
17071 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17072
d369f531
JM
170732013-05-15 Joseph Myers <joseph@codesourcery.com>
17074
b861c6c4
JM
17075 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17076 instead of TEST_f_l.
17077 (llrint_test_tonearest): Likewise.
17078 (llrint_test_towardzero): Likewise.
17079 (llrint_test_downward): Likewise.
17080 (llrint_test_upward): Likewise.
17081 (llround_test): Likewise.
17082
7abeee12
JM
17083 * math/libm-test.inc (struct test_f_i_data): Add comment.
17084 (RUN_TEST_LOOP_f_b): New macro.
17085 (RUN_TEST_LOOP_f_b_tg): Likewise.
17086 (finite_test_data): New variable.
17087 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17088 (isfinite_test_data): New variable.
17089 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17090 (isinf_test_data): New variable.
17091 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17092 (isnan_test_data): New variable.
17093 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17094 (isnormal_test_data): New variable.
17095 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17096 (issignaling_test_data): New variable.
17097 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17098 (signbit_test_data): New variable.
17099 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17100
cbe8c4d3
JM
17101 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17102 with INVALID_EXCEPTION.
17103 (acosh_test_data): Likewise.
17104 (asin_test_data): Likewise.
17105 (atanh_test_data): Likewise.
17106 (fmod_test_data): Likewise.
17107 (log_test_data): Likewise.
17108 (log10_test_data): Likewise.
17109 (log2_test_data): Likewise.
17110 (pow_test_data): Likewise.
17111 (sqrt_test_data): Likewise.
17112 (y0_test_data): Likewise.
17113 (y1_test_data): Likewise.
17114 (yn_test_data): Likewise.
17115
5575c0e5
JM
17116 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17117 function contents.
17118
d369f531
JM
17119 * math/libm-test.inc (struct test_ff_i_data): New type.
17120 (RUN_TEST_LOOP_ff_i_tg): New macro.
17121 (isgreater_test_data): New variable.
17122 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17123 (isgreaterequal_test_data): New variable.
17124 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17125 (isless_test_data): New variable.
17126 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17127 (islessequal_test_data): New variable.
17128 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17129 (islessgreater_test_data): New variable.
17130 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17131 (isunordered_test_data): New variable.
17132 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17133
781fd748
DM
171342013-05-14 David S. Miller <davem@davemloft.net>
17135
17136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17137
87aa21df
JM
171382013-05-14 Joseph Myers <joseph@codesourcery.com>
17139
5e908270
JM
17140 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17141
f71172e5
JM
17142 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17143 extra_test to int.
17144 (struct test_f_i_data): Change type of max_ulp to int.
17145
8cfa635a
JM
17146 * math/libm-test.inc (test_ffI_f1_data): New type.
17147 (RUN_TEST_LOOP_ffI_f1): New macro.
17148 (remquo_test_data): New variable.
17149 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17150
2bcb36b2
JM
17151 * setjmp/tst-setjmp-fp.c: New file.
17152 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17153 (link-libm): New variable.
17154 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17155
acbd839a
JM
17156 * math/libm-test.inc (struct test_f_i_data): New type.
17157 (RUN_TEST_LOOP_f_i): New macro.
17158 (RUN_TEST_LOOP_f_i_tg): Likewise.
17159 (fpclassify_test_data): New variable.
17160 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17161 (ilogb_test_data): New variable.
17162 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17163
e414d745
JM
17164 * math/libm-test.inc (scalbln_test): Correct function name in END
17165 call.
17166
d9c2a0fd
JM
17167 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17168 (RUN_TEST_LOOP_fI_f1): New macro.
17169 (frexp_test_data): New variable.
17170 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17171
9dc9095d
JM
17172 * math/libm-test.inc (struct test_fF_f1_data): New type.
17173 (RUN_TEST_LOOP_fF_f1): New macro.
17174 (modf_test_data): New variable.
17175 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17176
87aa21df
JM
17177 * math/libm-test.inc (struct test_f_f1_data): New type.
17178 (RUN_TEST_LOOP_f_f1): New macro.
17179 (gamma_test_data): New variable.
17180 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17181 (lgamma_test_data): New variable.
17182 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17183
141af660
CD
171842013-05-13 Carlos O'Donell <carlos@redhat.com>
17185
17186 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17187 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17188 (main): Comment "tls" pseudo-hwcap.
17189
6d33265c
JM
171902013-05-13 Joseph Myers <joseph@codesourcery.com>
17191
68fc074c
JM
17192 * math/libm-test.inc (struct test_fl_f_data): New type.
17193 (RUN_TEST_LOOP_fl_f): New variable.
17194 (scalbln_test_data): New variable.
17195 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17196
243216e1
JM
17197 * math/libm-test.inc (struct test_fi_f_data): New type.
17198 (RUN_TEST_LOOP_fi_f): New macro.
17199 (ldexp_test_data): New variable.
17200 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17201 (scalbn_test_data): New variable.
17202 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17203
6a1992e2
JM
17204 * math/libm-test.inc (struct test_c_f_data): New type.
17205 (RUN_TEST_LOOP_c_f): New macro.
17206 (cabs_test_data): New variable.
17207 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17208 (carg_test_data): New variable.
17209 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17210 (cimag_test_data): New variable.
17211 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17212 (creal_test_data): New variable.
17213 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17214
0e400df5
JM
17215 * math/libm-test.inc (struct test_if_f_data): New type.
17216 (RUN_TEST_LOOP_if_f): New macro.
17217 (jn_test_data): New variable.
17218 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17219 (yn_test_data): New variable.
17220 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17221
6d33265c
JM
17222 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17223
f98ece5f
AZ
172242013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17225
17226 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17227 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17228
0f7d347b
SP
172292013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17230
43fe811b
SP
17231 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17232 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17233 (bench-deps): Add bench-timing.h.
17234 * benchtests-bench-skeleton.c: Include bench-timing.h.
17235 (main): Use TIMING_* macros instead of clock_gettime.
17236 * benchtests/bench-timing.h: New file.
17237
0f7d347b
SP
17238 [BZ #14582]
17239 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17240 Renamed from _LIB_VERSION.
17241 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17242
601a3a5f
JM
172432013-05-12 Joseph Myers <joseph@codesourcery.com>
17244
4f184d30
JM
17245 * math/libm-test.inc (struct test_fff_f_data): New type.
17246 (RUN_TEST_LOOP_fff_f): New macro.
17247 (fma_test_data): New variable.
17248 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17249 (fma_towardzero_test_data): New variable.
17250 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17251 (fma_downward_test_data): New variable.
17252 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17253 (fma_upward_test_data): New variable.
17254 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17255
08198877
JM
17256 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17257 (struct test_c_c_data): New type.
17258 (RUN_TEST_LOOP_c_c): New macro.
17259 (cacos_test_data): New variable.
17260 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17261 (cacosh_test_data): New variable.
17262 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17263 (casin_test_data): New variable.
17264 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17265 (casinh_test_data): New variable.
17266 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17267 (catan_test_data): New variable.
17268 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17269 (catanh_test_data): New variable.
17270 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17271 (ccos_test_data): New variable.
17272 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17273 (ccosh_test_data): New variable.
17274 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17275 (cexp_test_data): New variable.
17276 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17277 (clog_test_data): New variable.
17278 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17279 (clog10_test_data): New variable.
17280 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17281 (conj_test_data): New variable.
17282 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17283 (cproj_test_data): New variable.
17284 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17285 (csin_test_data): New variable.
17286 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17287 (csinh_test_data): New variable.
17288 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17289 (csqrt_test_data): New variable.
17290 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17291 (ctan_test_data): New variable.
17292 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17293 (ctan_tonearest_test_data): New variable.
17294 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17295 (ctan_towardzero_test_data): New variable.
17296 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17297 (ctan_downward_test_data): New variable.
17298 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17299 (ctan_upward_test_data): New variable.
17300 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17301 (ctanh_test_data): New variable.
17302 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17303 (ctanh_tonearest_test_data): New variable.
17304 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17305 (ctanh_towardzero_test_data): New variable.
17306 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17307 (ctanh_downward_test_data): New variable.
17308 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17309 (ctanh_upward_test_data): New variable.
17310 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17311 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17312 of BUILD_COMPLEX.
17313
601a3a5f
JM
17314 * math/libm-test.inc (struct test_ff_f_data): New type.
17315 (struct test_ff_f_data_nexttoward): Likewise.
17316 (RUN_TEST_LOOP_2_f): New macro.
17317 (RUN_TEST_LOOP_ff_f): Likewise.
17318 (atan2_test_data): New variable.
17319 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17320 (copysign_test_data): New variable.
17321 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17322 (fdim_test_data): New variable.
17323 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17324 (fmax_test_data): New variable.
17325 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17326 (fmin_test_data): New variable.
17327 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17328 (fmod_test_data): New variable.
17329 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17330 (hypot_test_data): New variable.
17331 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17332 (nextafter_test_data): New variable.
17333 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17334 (nexttoward_test_data): New variable.
17335 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17336 (pow_test_data): New variable.
17337 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17338 (pow_tonearest_test_data): New variable.
17339 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17340 (pow_towardzero_test_data): New variable.
17341 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17342 (pow_downward_test_data): New variable.
17343 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17344 (pow_upward_test_data): New variable.
17345 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17346 (remainder_test_data): New variable.
17347 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17348 (scalb_test_data): New variable.
17349 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17350 * sysdeps/i386/fpu/libm-test-ulps: Update.
17351
74c57478
JM
173522013-05-11 Joseph Myers <joseph@codesourcery.com>
17353
8329e4da
JM
17354 * math/libm-test.inc (fma_test): Use max_value instead of local
17355 variable fltmax.
17356 (nextafter_test): Likewise.
17357
74c57478
JM
17358 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17359 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17360 (acos_downward_test_data): New variable.
17361 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17362 (acos_upward_test_data): New variable.
17363 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17364 (acosh_test_data): New variable.
17365 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17366 (asin_test_data): New variable.
17367 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17368 (asin_tonearest_test_data): New variable.
17369 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17370 (asin_towardzero_test_data): New variable.
17371 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17372 (asin_downward_test_data): New variable.
17373 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17374 (asin_upward_test_data): New variable.
17375 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17376 (asinh_test_data): New variable.
17377 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17378 (atan_test_data): New variable.
17379 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17380 (atanh_test_data): New variable.
17381 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17382 (cbrt_test_data): New variable.
17383 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17384 (ceil_test_data): New variable.
17385 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17386 (cos_test_data): New variable.
17387 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17388 (cos_tonearest_test_data): New variable.
17389 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17390 (cos_towardzero_test_data): New variable.
17391 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17392 (cos_downward_test_data): New variable.
17393 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17394 (cos_upward_test_data): New variable.
17395 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17396 (cosh_test_data): New variable.
17397 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17398 (cosh_tonearest_test_data): New variable.
17399 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17400 (cosh_towardzero_test_data): New variable.
17401 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17402 (cosh_downward_test_data): New variable.
17403 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17404 (cosh_upward_test_data): New variable.
17405 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17406 (erf_test_data): New variable.
17407 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17408 (erfc_test_data): New variable.
17409 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17410 (exp_test_data): New variable.
17411 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17412 (exp_tonearest_test_data): New variable.
17413 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17414 (exp_towardzero_test_data): New variable.
17415 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17416 (exp_downward_test_data): New variable.
17417 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17418 (exp_upward_test_data): New variable.
17419 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17420 (exp10_test_data): New variable.
17421 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17422 (exp2_test_data): New variable.
17423 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17424 (expm1_test_data): New variable.
17425 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17426 (fabs_test_data): New variable.
17427 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17428 (floor_test_data): New variable.
17429 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17430 (j0_test_data): New variable.
17431 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17432 (j1_test_data): New variable.
17433 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17434 (log_test_data): New variable.
17435 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17436 (log10_test_data): New variable.
17437 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17438 (log1p_test_data): New variable.
17439 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17440 (log2_test_data): New variable.
17441 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17442 (logb_test_data): New variable.
17443 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17444 (logb_downward_test_data): New variable.
17445 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17446 (nearbyint_test_data): New variable.
17447 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17448 (rint_test_data): New variable.
17449 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17450 (rint_tonearest_test_data): New variable.
17451 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17452 (rint_towardzero_test_data): New variable.
17453 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17454 (rint_downward_test_data): New variable.
17455 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17456 (rint_upward_test_data): New variable.
17457 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17458 (round_test_data): New variable.
17459 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17460 (sin_test_data): New variable.
17461 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17462 (sin_tonearest_test_data): New variable.
17463 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17464 (sin_towardzero_test_data): New variable.
17465 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17466 (sin_downward_test_data): New variable.
17467 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17468 (sin_upward_test_data): New variable.
17469 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17470 (sinh_test_data): New variable.
17471 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17472 (sinh_tonearest_test_data): New variable.
17473 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17474 (sinh_towardzero_test_data): New variable.
17475 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17476 (sinh_downward_test_data): New variable.
17477 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17478 (sinh_upward_test_data): New variable.
17479 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17480 (sqrt_test_data): New variable.
17481 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17482 (tan_test_data): New variable.
17483 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17484 (tan_tonearest_test_data): New variable.
17485 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17486 (tan_towardzero_test_data): New variable.
17487 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17488 (tan_downward_test_data): New variable.
17489 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17490 (tan_upward_test_data): New variable.
17491 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17492 (tanh_test_data): New variable.
17493 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17494 (tgamma_test_data): New variable.
17495 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17496 (trunc_test_data): New variable.
17497 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17498 (y0_test_data): New variable.
17499 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17500 (y1_test_data): New variable.
17501 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17502 (significand_test_data): New variable.
17503 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17504
7187d844
CG
175052013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17506
17507 [BZ #12387]
17508 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17509
f63fae73
PT
175102013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17511
17512 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17513
8a67a4b3
AJ
175142013-05-10 Andreas Jaeger <aj@suse.de>
17515
17516 [BZ #15448]
17517 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17518 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17519
51df539d
JM
175202013-05-10 Joseph Myers <joseph@codesourcery.com>
17521
17522 * math/gen-libm-test.pl (adjust_arg): New function.
17523 (special_functions): Handle generating output in both functions
17524 and arrays.
17525 (parse_args): Likewise.
17526 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17527 $in_func argument to parse_args.
17528 * math/libm-test.inc (struct test_f_f_data): New type.
17529 (IF_ROUND_INIT_): New macro.
17530 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17531 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17532 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17533 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17534 (ROUND_RESTORE_): Likewise.
17535 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17536 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17537 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17538 (ROUND_RESTORE_FE_UPWARD): Likewise.
17539 (RUN_TEST_LOOP_f_f): New macro.
17540 (acos_test_data): New variable.
17541 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17542 (acos_tonearest_test_data): New variable.
17543 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17544
5c637fe5
SP
175452013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17546
17547 * benchtests/bench-skeleton.c (startup): Fix coding style.
17548
ab2b9461
JM
175492013-05-10 Joseph Myers <joseph@codesourcery.com>
17550
17551 [BZ #6809]
17552 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17553 negative infinity argument.
17554 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17555 negative infinity argument.
17556 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17557 negative infinity argument.
17558 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17559 domain errors.
17560
4c0fe6fe
FW
175612013-05-10 Florian Weimer <fweimer@redhat.com>
17562
17563 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17564 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17565 * iconv/iconv_prog.c (main): Likewise.
17566 * locale/programs/charmap-dir.c (charmap_readdir)
17567 (fopen_uncompressed): Likewise.
17568 * locale/programs/locfile.c (siblings_uncached)
17569 (write_locale_data): Use lstat64 instead of lstat.
17570 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17571 stat.
17572
a3375d29
AJ
175732013-05-10 Andreas Jaeger <aj@suse.de>
17574
17575 [BZ #15395]
17576 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17577 localization.
17578 Include <locale.h>.
17579
36129722
CD
175802013-05-09 Carlos O'Donell <carlos@redhat.com>
17581
17582 * elf/dl-close.c (_dl_close_worker): Add comments.
17583
faa7f811
JM
175842013-05-09 Joseph Myers <joseph@codesourcery.com>
17585
ed41ffef
JM
17586 [BZ #15359]
17587 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17588 high part of pi/2.
17589 (__ieee754_rem_pio2l): Update comments.
17590
d0213cd0
JM
17591 [BZ #15429]
17592 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17593 high part of pi/2.
17594 (__ieee754_rem_pio2l): Update comments.
17595
0d3e777a
JM
17596 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17597 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17598
24f56066
JM
17599 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17600 M_PI_4l.
17601
faa7f811
JM
17602 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17603 (M_PI_34_LOG10El): Likewise.
17604 (M_PI2_LOG10El): Likewise.
17605 (M_PI4_LOG10El): Likewise.
17606 (M_PI_LOG10El): Likewise.
17607
e9a5e0fd
AZ
176082013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17609
17610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17611
d8cd06db
JM
176122013-05-08 Joseph Myers <joseph@codesourcery.com>
17613
a0d9f9d7
JM
17614 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17615 (MINUS_ZERO_INIT): Likewise.
17616 (PLUS_INFTY_INIT): Likewise.
17617 (MINUS_INFTY_INIT): Likewise.
17618 (QNAN_VALUE_INIT): Likewise.
17619 (MAX_VALUE_INIT): Likewise.
17620 (MIN_VALUE_INIT): Likewise.
17621 (MIN_SUBNORM_VALUE_INIT): Likewise.
17622 (plus_zero): Initialize with PLUS_ZERO_INIT.
17623 (minus_zero): Initialize with MINUS_ZERO_INIT.
17624 (plus_infty): Initialize with PLUS_INFTY_INIT.
17625 (minus_infty): Initialize with MINUS_INFTY_INIT.
17626 (qnan_value): Initialize with QNAN_VALUE_INIT.
17627 (max_value): Initialize with MAX_VALUE_INIT.
17628 (min_value): Initialize with MIN_VALUE_INIT.
17629 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17630
ae08db3b
JM
17631 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17632 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17633 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17634 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17635
f44bf14a
JM
17636 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17637 (RUN_TEST_2_f): Likewise.
17638 (RUN_TEST_ff_f): Likewise.
17639 (RUN_TEST_fi_f): Likewise.
17640 (RUN_TEST_fl_f): Likewise.
17641 (RUN_TEST_fff_f): Likewise.
17642 (RUN_TEST_c_f): Likewise.
17643 (RUN_TEST_f_f1): Likewise.
17644 (RUN_TEST_fF_f1): Likewise.
17645 (RUN_TEST_fI_f1): Likewise.
17646 (RUN_TEST_ffI_f1): Likewise.
17647 (RUN_TEST_c_c): Likewise.
17648 (RUN_TEST_cc_c): Likewise.
17649 (RUN_TEST_f_i): Likewise.
17650 (RUN_TEST_f_i_tg): Likewise.
17651 (RUN_TEST_ff_i_tg): Likewise.
17652 (RUN_TEST_f_b): Likewise.
17653 (RUN_TEST_f_b_tg): Likewise.
17654 (RUN_TEST_f_l): Likewise.
17655 (RUN_TEST_f_L): Likewise.
17656 (RUN_TEST_sincos): Likewise.
17657 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17658 whether to show exceptions. Do not include ");\n" in return
17659 value.
17660 (special_functions): Output call to RUN_TEST_sincos instead of
17661 check_float calls. Update calls to new_test.
17662 (parse_args): Output call to single RUN_TEST_* macro instead of
17663 check_* calls and other assignments. Update calls to new_test.
17664
d8cd06db
JM
17665 [BZ #2546]
17666 [BZ #2560]
17667 [BZ #5159]
17668 [BZ #15426]
17669 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17670 input to result for tgamma overflow.
17671 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17672 (gamma_coeff): New variable.
17673 (NCOEFF): New macro.
17674 (gamma_positive): New function.
17675 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17676 underflow here. Use gamma_positive instead of exp (lgamma) for
17677 other arguments.
17678 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17679 (gamma_coeff): New variable.
17680 (NCOEFF): New macro.
17681 (gammaf_positive): New function.
17682 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17683 underflow here. Use gamma_positive instead of exp (lgamma) for
17684 other arguments.
17685 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17686 (gamma_coeff): New variable.
17687 (NCOEFF): New macro.
17688 (gammal_positive): New function.
17689 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17690 underflow here. Use gamma_positive instead of exp (lgamma) for
17691 other arguments.
17692 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17693 (gamma_coeff): New variable.
17694 (NCOEFF): New macro.
17695 (gammal_positive): New function.
17696 (__ieee754_gammal_r): Handle positive infinity, overflow and
17697 underflow here. Handle NaN the same as positive infinity. Remove
17698 check x < 0xffffffff for negative integers. Use gamma_positive
17699 instead of exp (lgamma) for other arguments.
17700 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17701 (gamma_coeff): New variable.
17702 (NCOEFF): New macro.
17703 (gammal_positive): New function.
17704 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17705 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17706 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17707 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17708 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17709 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17710 * sysdeps/generic/math_private.h (__gamma_productf): New
17711 prototype.
17712 (__gamma_product): Likewise.
17713 (__gamma_productl): Likewise.
17714 * math/Makefile (libm-calls): Add gamma_product.
17715 * math/libm-test.inc (tgamma_test): Add more tests.
17716 * sysdeps/i386/fpu/libm-test-ulps: Update.
17717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17718
bb7cf681
OB
177192013-05-08 Ondřej Bílka <neleai@seznam.cz>
17720
17721 * benchtests/bench-skeleton.c (main): Preheat CPU.
17722
ba853947
AJ
177232013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17724
17725 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17726
8347c74c
RM
177272013-05-07 Roland McGrath <roland@hack.frob.com>
17728
17729 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17730 and _dl_skip_args_internal.
17731
e8dd4791
CD
177322013-05-07 Carlos O'Donell <carlos@redhat.com>
17733
17734 * manual/message.texi (Message Translation): Talk about users.
17735 Message to key mapping impacts design.
17736
c7405830
RM
177372013-05-06 Roland McGrath <roland@hack.frob.com>
17738
a9173057
RM
17739 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17740
976e2f03
RM
17741 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17742
9723ffc5
RM
17743 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17744 * sysdeps/wordsize-64/glob64.c: ... here.
17745
962e6658
RM
17746 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17747 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17748 New macros.
17749
ee586a6d
RM
17750 * debug/getlogin_r_chk.c: Moved to ...
17751 * login/getlogin_r_chk.c: ... here.
17752 * debug/Makefile (routines): Move getlogin_r_chk to ...
17753 * login/Makefile (routines): ... here.
17754 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17755 * login/Versions (libc: GLIBC_2.4): ... here.
17756
355f9165
RM
17757 * io/poll.c (__poll): Renamed from poll.
17758 Add libc_hidden_def.
17759 (poll): Define as weak alias.
17760
bd9ffde6
RM
17761 * debug/ptsname_r_chk.c: Moved to ...
17762 * login/ptsname_r_chk.c: ... here.
17763 * debug/Makefile (routines): Move ptsname_r_chk to ...
17764 * login/Makefile (routines): ... here.
17765 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17766 * login/Versions (libc: GLIBC_2.4): ... here.
17767
8fb16a04
RM
17768 * posix/getlogin.c: Moved to ...
17769 * login/getlogin.c: ... here.
17770 * posix/getlogin_r.c: Moved to ...
17771 * login/getlogin_r.c: ... here.
17772 * posix/getlogin_r.c: Moved to ...
17773 * login/getlogin_r.c: ... here.
17774 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17775 * login/Makefile (routines): ... here.
17776 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17777 * login/Versions (libc: GLIBC_2.0): ... here.
17778
b99b892f
RM
17779 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17780 (setrlimit): Define as weak alias.
17781
c7405830
RM
17782 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17783 Call __ names for open, ftruncate, and close.
17784 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17785 (truncate): Define as weak alias.
17786
5bf96de5
JM
177872013-05-06 Joseph Myers <joseph@codesourcery.com>
17788
9ea3513c
JM
17789 * math/gen-libm-test.pl (parse_args): Initialize x before each
17790 test of frexp, modf and remquo.
17791
5bf96de5
JM
17792 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17793 test signgam value.
17794
16e616a7
AZ
177952013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17796
17797 [BZ #15418]
17798 [BZ #15419]
17799 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17800 internal tests.
17801 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17802
d5e82754
RM
178032013-05-06 Roland McGrath <roland@hack.frob.com>
17804
17805 * elf/dl-writev.h: New file.
17806 * elf/dl-misc.c: Include it.
17807 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17808 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17809
a7548d41
JM
178102013-05-04 Joseph Myers <joseph@codesourcery.com>
17811
b7dab1e4
JM
17812 * math/libm-test.inc (noXFails): Remove variable.
17813 (noXPasses): Likewise.
17814 (BUILD_COMPLEX_INT): Remove macro.
17815 (print_screen): Remove xfail argument.
17816 (print_screen_max_error): Likewise.
17817 (update_stats): Likewise.
17818 (print_max_error): Likewise. Update calls to other affected
17819 functions.
17820 (print_complex_max_error): Likewise.
17821 (test_single_exception): Update calls to print_screen.
17822 (test_single_errno): Likewise.
17823 (check_float_internal): Remove xfail argument. Update calls to
17824 other affected functions.
17825 (check_float): Likewise.
17826 (check_complex): Likewise.
17827 (check_int): Likewise.
17828 (check_long): Likewise.
17829 (check_bool): Likewise.
17830 (check_longlong): Likewise.
17831 (main): Don't print noXFails and noXPasses.
17832 * math/gen-libm-test.pl (top level): Don't mention expected
17833 failure handling in comment.
17834 (new_test): Don't handle expected failures.
17835 (parse_args): Don't mention expected failure handling in comment.
17836 (generate_testfile): Don't handle expected failures.
17837 (parse_ulps): Likewise.
17838 (print_ulps_file): Likewise.
17839 (get_failure): Remove function.
17840 (output_test): Don't handle expected failures.
17841 * make/README.libm-test: Don't mention expected failure handling.
17842
a7548d41
JM
17843 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17844 (minus_zero): Likewise.
17845 (plus_infty): Likewise.
17846 (minus_infty): Likewise.
17847 (qnan_value): Likewise.
17848 (max_value): Likewise.
17849 (min_value): Likewise.
17850 (min_subnorm_value): Likewise.
17851 (initialize): Do not initialize those variables dynamically.
17852
60bfd54c
RM
178532013-05-03 Roland McGrath <roland@hack.frob.com>
17854
cc0e6ed8
RM
17855 * io/open.c (__open_2): Moved to ...
17856 * io/open_2.c: ... this new file.
17857 * io/open64.c (__open64_2): Moved to ...
17858 * io/open64_2.c: ... this new file.
17859 * io/openat.c (__openat_2): Moved to ...
17860 * io/openat_2.c: ... this new file.
17861 * io/openat64.c (__openat64_2): Moved to ...
17862 * io/openat64_2.c: ... this new file.
17863 * io/Makefile (routines): Add them.
17864 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17865 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17866 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17867 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17868 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17869 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17870 (__openat64): Add hidden_ver.
17871 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17872 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17873
60bfd54c
RM
17874 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17875 Separately conditionalize setting of GLRO(dl_sysinfo) so
17876 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17877 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17878
83e7640f
AZ
178792013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17880
17881 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17882 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17883 definition.
17884 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17885 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17886 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17887 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17888 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17889
d5dc2af3
JM
178902013-05-03 Joseph Myers <joseph@codesourcery.com>
17891
c31a5b1e
JM
17892 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17893 test signgam value.
17894
d5dc2af3
JM
17895 * math/libm-test.inc (hypot_test): Do not use
17896 IGNORE_ZERO_INF_SIGN.
17897
164fd39d
AJ
178982013-05-03 Andreas Jaeger <aj@suse.de>
17899
17900 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17901 Linux 3.9.
17902 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17903 (PF_MAX): Adjust for VSOCK change.
17904
8237f48c
AZ
179052013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17906
17907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17908
9df02941
CD
179092013-05-02 Carlos O'Donell <carlos@redhat.com>
17910
17911 [BZ #15264]
17912 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17913 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17914 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17915
d422395e
DM
179162013-05-02 David S. Miller <davem@davemloft.net>
17917
17918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17919
a07c5731
OB
179202013-05-01 Ondřej Bílka <neleai@seznam.cz>
17921
17922 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17923
1324e37f
RM
179242013-05-01 Roland McGrath <roland@hack.frob.com>
17925
17926 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17927
0695940b
RS
179282013-05-01 Richard Smith <richard@metafoo.co.uk>
17929
bb5f27ad 17930 [BZ #14952]
0695940b
RS
17931 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17932 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17933 Use __attribute__ ((__gnu_inline__)).
17934 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17935 Don't use __attribute__ ((__gnu_inline__)).
17936
10de07f5
JM
179372013-05-01 Joseph Myers <joseph@codesourcery.com>
17938
17939 [BZ #15423]
17940 * math/s_catan.c (__catan): Handle small real or imaginary part of
17941 input specially to avoid spurious underflow.
17942 * math/s_catanf.c (__catanf): Likewise.
17943 * math/s_catanh.c (__catanh): Likewise.
17944 * math/s_catanhf.c (__catanhf): Likewise.
17945 * math/s_catanhl.c (__catanhl): Likewise.
17946 * math/s_catanl.c (__catanl): Likewise.
17947 * math/libm-test.inc (catan_test): Add more tests.
17948 (catanh_test): Likewise.
17949 * sysdeps/i386/fpu/libm-test-ulps: Update.
17950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17951
cb4d5414
AZ
179522013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17953
17954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17955
caf84319
JM
179562013-04-30 Joseph Myers <joseph@codesourcery.com>
17957
17958 [BZ #15416]
17959 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17960 accurately for denominator in atan2.
17961 * math/s_catanf.c (__catanf): Likewise.
17962 * math/s_catanh.c (__catanh): Likewise.
17963 * math/s_catanhf.c (__catanhf): Likewise.
17964 * math/s_catanhl.c (__catanhl): Likewise.
17965 * math/s_catanl.c (__catanl): Likewise.
17966 * math/libm-test.inc (catan_test): Add more tests.
17967 (catanh_test): Likewise.
17968 * sysdeps/i386/fpu/libm-test-ulps: Update.
17969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17970
d569c6ee
SP
179712013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17972
6dbe713d
SP
17973 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17974
f0ee064b
SP
17975 * benchtests/Makefile (bench): Remove slow benchmarks.
17976 * benchtests/atan-inputs: Add slow benchmark inputs.
17977 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17978 (BENCH_FUNC): Accept variant offset.
17979 (VARIANT): Define.
17980 * benchtests/bench-skeleton.c (main): Run benchmark for each
17981 variant.
17982 * benchtests/cos-inputs: Add slow benchmark inputs.
17983 * benchtests/exp-inputs: Likewise.
17984 * benchtests/pow-inputs: Likewise.
17985 * benchtests/sin-inputs: Likewise.
17986 * benchtests/slowatan-inputs: Remove.
17987 * benchtests/slowatan.c: Remove.
17988 * benchtests/slowcos-inputs: Remove.
17989 * benchtests/slowcos.c: Remove.
17990 * benchtests/slowexp-inputs: Remove.
17991 * benchtests/slowexp.c: Remove.
17992 * benchtests/slowpow-inputs: Remove.
17993 * benchtests/slowpow.c: Remove.
17994 * benchtests/slowsin-inputs: Remove.
17995 * benchtests/slowsin.c: Remove.
17996 * benchtests/slowtan-inputs: Remove.
17997 * benchtests/slowtan.c: Remove.
17998 * benchtests/tan-inputs: Add slow benchmark inputs.
17999 * scripts/bench.pl: Parse comments and directives.
18000
d569c6ee
SP
18001 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18002 in CPPFLAGS.
18003 ($(objpfx)bench-%.c): Remove *-ITER.
18004 * benchtests/bench-modf.c: Remove definition of ITER.
18005 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18006 (main): Loop for DURATION seconds instead of fixed number of
18007 iterations.
18008 * scripts/bench.pl: Don't expect iterations in parameters.
18009
a6a242fe
RM
180102013-04-29 Roland McGrath <roland@hack.frob.com>
18011
18012 * io/fchdir.c (__fchdir): Renamed from fchdir.
18013 (fchdir): Define as weak alias.
18014
f2da7793
JM
180152013-04-29 Joseph Myers <joseph@codesourcery.com>
18016
18017 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18018 (ERRNO_EDOM): Likewise.
18019 (ERRNO_ERANGE): Likewise.
18020 (noErrnoTests): New variable.
18021 (init_max_error): Set errno to 0.
18022 (test_single_errno): New function.
18023 (test_errno): Likewise.
18024 (check_float_internal): Call test_errno. Set errno to 0.
18025 (check_complex): Refer to errno tests in comment.
18026 (check_int): Call test_errno. Set errno to 0.
18027 (check_long): Likewise.
18028 (check_bool): Likewise.
18029 (check_longlong): Likewise.
18030 (cos_test): Use ERRNO_* flags for errno tests instead of
18031 check_int.
18032 (expm1_test): Likewise.
18033 (fmod_test): Likewise.
18034 (ilogb_test): Likewise.
18035 (lgamma_test): Likewise.
18036 (pow_test): Likewise.
18037 (remainder_test): Likewise.
18038 (sin_test): Likewise.
18039 (tan_test): Likewise.
18040 (yn_test): Likewise.
18041 (initialize): Set errno to 0.
18042 (main): Print number of errno tests.
18043 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18044
b1a36ceb
AJ
180452013-04-29 Andreas Jaeger <aj@suse.de>
18046
c3ed8088
AJ
18047 [BZ #15084]
18048 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18049 and RES_USEVC.
18050
f1a24198
AJ
18051 [BZ #15085]
18052 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18053 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18054 unimplemented.
18055
9ce3b2cb
AJ
18056 [BZ #15380]
18057 * stdlib/random.c (__initstate): Return NULL if
18058 __initstate fails.
18059
f1a24198 18060 [BZ #15086]
b1a36ceb
AJ
18061 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18062 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18063 RES_SNGLKUPREOP.
18064
7e7b6f36
AZ
180652013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18066
18067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18068
4d14f449
JM
180692013-04-29 Joseph Myers <joseph@codesourcery.com>
18070
18071 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18072 of individual tests.
18073 (casin_test): Likewise.
18074 (casinh_test): Likewise.
18075
5b4217d7
JM
180762013-04-27 Joseph Myers <joseph@codesourcery.com>
18077
18078 [BZ #15409]
18079 * math/s_catan.c (__catan): Handle arguments with large real or
18080 imaginary part separately without squaring.
18081 * math/s_catanf.c (__catanf): Likewise.
18082 * math/s_catanh.c (__catanh): Likewise.
18083 * math/s_catanhf.c (__catanhf): Likewise.
18084 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18085 and redefine.
18086 (__catanhl): Handle arguments with large real or imaginary part
18087 separately without squaring.
18088 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18089 and redefine.
18090 (__catanl): Handle arguments with large real or imaginary part
18091 separately without squaring.
18092 * math/libm-test.inc (catan_test): Add more tests.
18093 (catanh_test): Likewise.
18094 * sysdeps/i386/fpu/libm-test-ulps: Update.
18095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18096
4220c3ef
AJ
180972013-04-27 Andreas Jaeger <aj@suse.de>
18098
18099 [BZ #15007]
18100 * stdlib/stdlib.h: Update guards for qecvt.
18101 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18102 <stdlib.h>.
18103
4721b2d1
AM
181042013-04-27 Allan McRae <allan@archlinux.org>
18105
18106 * sysdeps/i386/fpu/libm-test-ulps: Update.
18107
f0302940
JM
181082013-04-26 Joseph Myers <joseph@codesourcery.com>
18109
9457fd95
JM
18110 [BZ #15406]
18111 * math/s_catan.c: Include <float.h>.
18112 (__catan): Ensure underflow exception occurs for underflowed
18113 result.
18114 * math/s_catanf.c: Include <float.h>.
18115 (__catanf): Ensure underflow exception occurs for underflowed
18116 result.
18117 * math/s_catanh.c: Include <float.h>.
18118 (__catanh): Ensure underflow exception occurs for underflowed
18119 result.
18120 * math/s_catanhf.c: Include <float.h>.
18121 (__catanhf): Ensure underflow exception occurs for underflowed
18122 result.
18123 * math/s_catanhl.c: Include <float.h>.
18124 (__catanhl): Ensure underflow exception occurs for underflowed
18125 result.
18126 * math/s_catanl.c: Include <float.h>.
18127 (__catanl): Ensure underflow exception occurs for underflowed
18128 result.
18129 * math/libm-test.inc (catan_test): Add more tests.
18130 (catanh_test): Likewise.
18131
f0302940
JM
18132 [BZ #15405]
18133 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18134 underflowed result.
18135 * math/s_ccoshf.c (__ccoshf): Likewise.
18136 * math/s_ccoshl.c (__ccoshl): Likewise.
18137 * math/s_csin.c (__csin): Likewise.
18138 * math/s_csinf.c (__csinf): Likewise.
18139 * math/s_csinh.c (__csinh): Likewise.
18140 * math/s_csinhf.c (__csinhf): Likewise.
18141 * math/s_csinhl.c (__csinhl): Likewise.
18142 * math/s_csinl.c (__csinl): Likewise.
18143 * math/libm-test.inc (ccos_test): Add more tests.
18144 (ccosh_test): Likewise.
18145 (csin_test): Likewise.
18146 (csinh_test): Likewise.
18147
aa630f59
AZ
181482013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18149
18150 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18151 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18152 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18153 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18154 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18155 powerpc/power5+/fpu folders.
18156 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18157
18158
1b835983
MT
181592013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18160
18161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18162
73709b26
JM
181632013-04-25 Joseph Myers <joseph@codesourcery.com>
18164
18165 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18166 additions to variable.
18167 [$(config-machine) = x86_64] (modules-names): Likewise.
18168 ($(objpfx)tst-audit3): Remove dependency.
18169 ($(objpfx)tst-audit3.out): Likewise.
18170 ($(objpfx)tst-audit4): Likewise.
18171 ($(objpfx)tst-audit4.out): Likewise.
18172 ($(objpfx)tst-audit5): Likewise.
18173 ($(objpfx)tst-audit5.out): Likewise.
18174 ($(objpfx)tst-audit6): Likewise.
18175 ($(objpfx)tst-audit6.out): Likewise.
18176 ($(objpfx)tst-audit7): Likewise.
18177 ($(objpfx)tst-audit7.out): Likewise.
18178 (tst-audit3-ENV): Remove variable.
18179 (tst-audit4-ENV): Likewise.
18180 (tst-audit5-ENV): Likewise.
18181 (tst-audit6-ENV): Likewise.
18182 (tst-audit7-ENV): Likewise.
18183 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18184 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18185 addition to variable.
18186 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18187 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18188 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18189 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18190 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18191 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18192 tst-audit3, tst-audit4 and tst-audit5.
18193 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18194 tst-audit6 and tst-audit7.
18195 [$(subdir) = elf] (modules-names): Add audit modules for those
18196 tests.
18197 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18198 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18199 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18200 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18201 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18202 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18203 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18204 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18205 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18206 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18207 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18208 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18209 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18210 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18211 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18212 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18213 Likewise.
18214 [$(subdir) = elf && $(config-cflags-avx) = yes]
18215 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18216 [$(subdir) = elf && $(config-cflags-avx) = yes]
18217 (CFLAGS-tst-auditmod4a.c): Likewise.
18218 [$(subdir) = elf && $(config-cflags-avx) = yes]
18219 (CFLAGS-tst-auditmod4b.c): Likewise.
18220 [$(subdir) = elf && $(config-cflags-avx) = yes]
18221 (CFLAGS-tst-auditmod6b.c): Likewise.
18222 [$(subdir) = elf && $(config-cflags-avx) = yes]
18223 (CFLAGS-tst-auditmod6c.c): Likewise.
18224 [$(subdir) = elf && $(config-cflags-avx) = yes]
18225 (CFLAGS-tst-auditmod7b.c): Likewise.
18226 * elf/tst-audit3.c: Move to ...
18227 * sysdeps/x86_64/tst-audit3.c: ... here.
18228 * elf/tst-audit4.c: Move to ...
18229 * sysdeps/x86_64/tst-audit4.c: ... here.
18230 * elf/tst-audit5.c: Move to ...
18231 * sysdeps/x86_64/tst-audit5.c: ... here.
18232 * elf/tst-audit6.c: Move to ...
18233 * sysdeps/x86_64/tst-audit6.c: ... here.
18234 * elf/tst-audit7.c: Move to ...
18235 * sysdeps/x86_64/tst-audit7.c: ... here.
18236 * elf/tst-auditmod3a.c: Move to ...
18237 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18238 * elf/tst-auditmod3b.c: Move to ...
18239 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18240 * elf/tst-auditmod4a.c: Move to ...
18241 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18242 * elf/tst-auditmod4b.c: Move to ...
18243 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18244 * elf/tst-auditmod5a.c: Move to ...
18245 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18246 * elf/tst-auditmod5b.c: Move to ...
18247 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18248 * elf/tst-auditmod6a.c: Move to ...
18249 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18250 * elf/tst-auditmod6b.c: Move to ...
18251 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18252 * elf/tst-auditmod6c.c: Move to ...
18253 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18254 * elf/tst-auditmod7a.c: Move to ...
18255 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18256 * elf/tst-auditmod7b.c: Move to ...
18257 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18258
1ef74943
PP
182592013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18260
18261 [BZ #15366]
18262 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18263 define unconditionally.
18264 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18265 define unconditionally.
18266 (INT8_C, INT16_C, etc.): Likewise.
18267
93fd48c5
MR
182682013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18269
ae9552cf
MR
18270 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18271 __ehdr_start with hidden visibility.
18272
93fd48c5
MR
18273 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18274
418601aa
CD
182752013-04-24 Carlos O'Donell <carlos@redhat.com>
18276
18277 * math/libm-test.inc (cos_test): Use accurate hex constants.
18278 (sincost_test): Likewise.
18279
2f38fbfe
JM
182802013-04-24 Joseph Myers <joseph@codesourcery.com>
18281
5e221800
JM
18282 * math/libm-test.inc (catan_test): Add more tests.
18283 (catanh_test): Likewise.
18284
77f143fd
JM
18285 * math/s_catanf.c (__catanf): Use suffixed floating-point
18286 constants.
18287 * math/s_catanhf.c (__catanhf): Likewise.
18288 * math/s_catanhl.c (__catanhl): Likewise.
18289 * math/s_catanl.c (__catanl): Likewise.
18290
2f38fbfe
JM
18291 [BZ #15394]
18292 * math/s_catan.c (__catan): Calculate imaginary part of result
18293 with log1p not log unless computing log of number close to 0.
18294 * math/s_catanf.c (__catanf): Likewise.
18295 * math/s_catanl.c (__catanl): Likewise.
18296 * math/s_catanh.c (__catanh): Calculate real part of result with
18297 log1p not log unless computing log of number close to 0.
18298 * math/s_catanhf.c (__catanhf): Likewise.
18299 * math/s_catanhl.c (__catanhl): Likewise.
18300 * math/libm-test.inc (catan_test): Add more tests.
18301 (catanh_test): Likewise.
18302 * sysdeps/i386/fpu/libm-test-ulps: Update.
18303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18304
45d69176
SP
183052013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18306
18307 * benchtests/Makefile: Mention files in which fast and slow
18308 paths of math functions are implemented.
18309
87f51853
RM
183102013-04-23 Roland McGrath <roland@hack.frob.com>
18311
18312 * sysdeps/posix/timespec_get.c: New file.
18313
3c026539
AZ
183142013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18315
18316 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18317 POWER.
18318 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18319 for POWER.
18320 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18321 powerpc/power5/fpu folders.
18322 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18323 * benchtests/Makefile: Add modf testcase.
18324 * benchtests/bench-modf.c: New file: Benchmark test for mo
18325
ff491d14
SP
183262013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18327
18328 [BZ #14888]
18329 * time/Makefile (tests): Add tst-strptime-whitespace.
18330 * time/strptime_l.c (get_number): Use ISSPACE.
18331 (__strptime_internal): Likewise.
18332 * time/tst-strptime-whitespace.c: New test case.
18333
7ed3f4e8
AS
183342013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18335
18336 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18337 member.
18338 (_nss_files_init): Set it here.
18339
5c95f7b6
HC
183402013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18341
18342 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18343 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18344 unsigned.
18345
d34c9158
JBG
183462013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18347
18348 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18349
2169712d
SP
183502013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18351
18352 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18353 size just once.
18354
29c5de99
DM
183552013-04-21 David S. Miller <davem@davemloft.net>
18356
18357 * po/ru.po: Update Russion translation from translation project.
18358
ccdad15d
AC
183592013-04-17 Adam Conrad <adconrad@0c3.net>
18360
18361 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18362 and setfsgid.
18363
0f122b8d
CD
183642013-04-17 Carlos O'Donell <carlos@redhat.com>
18365
5c5b07da 18366 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18367 * configure: Regenerate.
5c5b07da 18368 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18369 Add example to error message.
18370 * sysdeps/i386/configure: Regenerate.
18371
037714dd
SP
183722013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18373
18374 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18375 slowtan.
18376 * benchtests/cos-inputs: New file.
18377 * benchtests/slowcos-inputs: New file.
18378 * benchtests/slowcos.c: New file.
18379 * benchtests/slowtan-inputs: New file.
18380 * benchtests/slowtan.c: New file.
18381 * benchtests/tan-inputs: New file.
18382
e913141d
RM
183832013-04-16 Roland McGrath <roland@hack.frob.com>
18384
18385 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18386 considered kosher.
18387
a2964074
SP
183882013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18389
4856bcd2
SP
18390 * benchtests/Makefile: Include cppflags-iterator.mk to add
18391 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18392
a2964074
SP
18393 * Makefile.in (bench-clean): New target.
18394 * benchtests/Makefile (bench-clean): Likewise.
18395
9fbf9aca
DH
183962013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18397
18398 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18399
207d1e2a
TS
184002013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18401
18402 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18403
306dfba9
AS
184042013-04-15 Andreas Schwab <schwab@suse.de>
18405
18406 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18407 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18408 * nscd/pwdcache.c (cache_addpw): Likewise.
18409 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18410 more than recsize.
18411
206a6699
SP
184122013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18413
18414 * benchtests/Makefile (bench): Write all output to
18415 bench-out.tmp together.
18416
0582f6b3
AS
184172013-04-15 Andreas Schwab <schwab@suse.de>
18418
18419 * nscd/nscd.c (main): Don't fork again after closing files.
18420
acb4325f
SP
184212013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18422
5cb26d0a
SP
18423 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18424
acb4325f
SP
18425 * benchtests/Rules (bench-deps): Collect dependencies into a
18426 single variable. Add Makefile to dependencies.
18427 ($(objpfx)bench-%.c): Depend on bench-deps.
18428
47792506
RM
184292013-04-12 Roland McGrath <roland@hack.frob.com>
18430 Xavier Roche <roche+kml2@exalead.com>
18431
18432 [BZ #15361]
18433 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18434 just that it's a file descriptor.
18435 * manual/llio.texi (Synchronizing AIO Operations): Update description
18436 for EBADF error from aio_fsync.
18437
8fc1bee5
SP
184382013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18439
18440 * Rules (bench): Move target definition...
18441 * benchtests/Makefile: ... here.
18442
aba5e333
CD
184432013-04-11 Carlos O'Donell <carlos@redhat.com>
18444
18445 * math/libm-test.inc (cos_test): Fix PI/2 test.
18446 (sincos_test): Likewise.
18447 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18448 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18449
273cdee8
AS
184502013-04-11 Andreas Schwab <schwab@suse.de>
18451
6ecec3b6
AS
18452 [BZ #13988]
18453 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18454 accept exponent character only when digits were seen.
18455 * stdio-common/Makefile (tests): Add bug26.
18456 * stdio-common/bug26.c: New file.
18457
273cdee8
AS
18458 [BZ #14293]
18459 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18460 non-freeable.
18461
8da491f5
SP
184622013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18463
01dc6df9
SP
18464 * Makeconfig (rtld-prefix): Define built linker prefix.
18465 * Rules (run-bench): Use it.
18466 * math/Makefile (run-regen-ulps): Likewise.
18467
8da491f5
SP
18468 * Rules (bench): Remove eval.
18469
abe7f530
SP
184702013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18471 Roland McGrath <roland@hack.frob.com>
18472 Ondrej Bilka <neleai@seznam.cz>
18473
18474 [BZ #15346]
18475 * time/getdate.c: Include ctype.h and alloca.h.
18476 (__getdate_r): Trim leading and trailing spaces of input.
18477 * time/tst-getdate.c (tests): Add tests with leading and
18478 trailing spaces.
18479
61c23e62
RM
184802013-04-08 Roland McGrath <roland@hack.frob.com>
18481
18482 [BZ #14280]
18483 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18484 when computing value.
18485
7208a313
CD
184862013-04-06 Carlos O'Donell <carlos@redhat.com>
18487
085b2d41
CD
18488 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18489 Use testrun.sh to run libm tests.
18490
7208a313
CD
18491 [BZ #15309]
18492 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18493
872c0acd
MM
184942013-04-06 Marko Myllynen <myllynen@redhat.com>
18495
18496 [BZ #15264]
18497 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18498
26510bdd
CD
184992013-04-06 Carlos O'Donell <carlos@redhat.com>
18500
18501 * Makefile.in (regen-ulps): New target.
18502 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18503 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18504 [ifneq (no,$(PERL)] (regen-ulps): New target.
18505 [ifeq (no,$(PERL)] (regen-ulps): New target.
18506 * math/libm-test.inc (ulps_file_name): Define.
18507 (output_dir): New variable.
18508 (options): Add "output-dir" option.
18509 (parse_opt): Handle 'o' case.
18510 (main): If output_dir is non-NULL use it as a prefix
18511 otherwise use "".
18512 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18513
a01f19c8
CD
185142013-04-06 Carlos O'Donell <carlos@redhat.com>
18515
18516 [BZ #10060, #10062]
18517 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18518 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18519 fail configure if __sync_val_compare_and_swap is not inlined.
18520 * sysdeps/i386/configure: Regenerate.
18521 * configure.in: Build for i686 when configured for i386.
18522 * configure: Regenerate.
18523 * README: Remove i386 reference.
18524
b7a329a5
CD
185252013-04-06 Carlos O'Donell <carlos@redhat.com>
18526
18527 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18528 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18529
bf0f50df
TS
185302013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18531
ee091edf
TS
18532 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18533 (lmsnanval): New variables.
18534 (F): Add conversion tests.
18535 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18536 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18537
a8b792d6
TS
18538 * stdio-common/tstdiomisc.c (F): Properly collect individual
18539 tests' results.
18540
a1cbf437
TS
18541 [BZ #14686, #15336]
18542 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18543 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18544 Instead, use input NaN values or generate a qNaN by arithmetic
18545 operation. Also fix bugs to comply with the standard.
18546 * math/libm-test.inc (remainder_test): Add more tests.
18547
8b43a0c9
TS
18548 [BZ #15335, #15342]
18549 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18550 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18551 input NaN values or generate a qNaN by arithmetic operation.
18552
d91da4ce
TS
18553 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18554 unreachable code.
18555
bf0f50df
TS
18556 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18557 definitions.
18558
05e166c8
JM
185592013-04-03 Joseph Myers <joseph@codesourcery.com>
18560
18561 [BZ #14478]
18562 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18563 underflowed result.
18564 * math/s_cexpf.c (__cexpf): Likewise.
18565 * math/s_cexpl.c (__cexpl): Likewise.
18566 * math/libm-test.inc (cexp_test): Add more tests.
18567
1cef1b19
AS
185682013-04-03 Andreas Schwab <schwab@suse.de>
18569
18570 [BZ #15330]
18571 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18572 order arrays from heap if bigger than alloca cutoff.
18573
74d87055
TS
185742013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18575
18576 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18577 (SNAN_TESTS_double): Refer to GCC PR56831.
18578 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18579 GCC PR56828.
18580
d755bba4
SP
185812013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18582
90d5d5bb
SP
18583 * Rules (bench): Move bench.out after the run is complete.
18584
73e0cd5d
SP
18585 * Rules (bench): Echo currently running benchmark.
18586
64aabd4b
SP
18587 * benchtests/Makefile (bench): Add atan and slowatan.
18588 * benchtests/atan-inputs: New file.
18589 * benchtests/slowatan-inputs: New file.
18590 * benchtests/slowatan.c: New file.
18591
c871eccd
SP
18592 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18593 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18594 its value.
18595
d755bba4
SP
18596 [BZ #15305]
18597 * sysdeps/unix/sysv/linux/kernel-features.h
18598 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18599 __ASSUME_XFS_RESTRICTED_CHOWN.
18600 * sysdeps/unix/sysv/linux/pathconf.c
18601 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18602 Save and restore errno.
18603
52ce4860
JM
186042013-04-02 Joseph Myers <joseph@codesourcery.com>
18605
18606 [BZ #15327]
18607 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18608 arguments using __kernel_casinh.
18609 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18610 arguments using __kernel_casinhf.
18611 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18612 arguments using __kernel_casinhl.
18613 * math/libm-test.inc (cacosh_test): Add more tests.
18614 * sysdeps/i386/fpu/libm-test-ulps: Update.
18615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18616
81f311c2
SP
186172013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18618
e7906a47
SP
18619 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18620 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18621
92e3664b
SP
18622 * bench/Makefile (bench): Add sin and slowsin.
18623 * benchtests/sin-inputs: New file.
18624 * benchtests/slowsin-inputs: New file.
18625 * benchtests/slowsin.c: New file.
18626
81f311c2
SP
18627 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18628 (bench): Add slowexp and slowpow.
18629 (exp-ITER): Increase iterations.
18630 (pow-ITER): Likewise.
18631 * benchtests/exp-inputs: Change input.
18632 * benchtests/pow-inputs: Likewise.
18633 * benchtests/slowexp-inputs: New file.
18634 * benchtests/slowexp.c: New file.
18635 * benchtests/slowpow-inputs: New file.
18636 * benchtests/slowpow.c: New file.
18637
ab0f1aa9
AZ
186382013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18639
18640 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18641 instructions.
18642 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18643 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18644 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18645 * benchtests/Makefile: Add rint benchtest.
18646 * benchtests/rint-inputs: Input for rint benchtest.
18647
57267616
TS
186482013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18649
18650 * Versions.def (libm): Add GLIBC_2.18.
18651 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18652 hidden libm prototypes.
18653 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18654 * math/Makefile (libm-calls): Add s_issignaling.
18655 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18656 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18657 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18658 declaration.
18659 * math/math.h [__USE_GNU] (issignaling): New macro.
18660 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18661 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18662 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18663 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18664 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18665 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18666 * manual/arith.texi (issignaling): New section.
18667 * manual/libm-err-tab.pl (@all_functions): Update comment.
18668 * math/gen-libm-test.pl (parse_args): Apply special handling for
18669 issignaling.
18670 * math/libm-test.inc (print_float, issignaling_test): New
18671 functions.
18672 (check_float_internal): Add issignaling checks.
18673 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18674 default definition.
18675 * sysdeps/powerpc/math-tests.h: New file.
18676 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18677 tests.
18678 * math/test-snan.c (TEST_FUNC): Likewise.
18679
6142896d
DM
186802013-03-30 David S. Miller <davem@davemloft.net>
18681
18682 * po/de.po: Update from translation team.
18683
ccc8cadf
JM
186842013-03-30 Joseph Myers <joseph@codesourcery.com>
18685
18686 [BZ #10357]
18687 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18688 imaginary part less than 1.0 and real part less than 0.5
18689 specially.
18690 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18691 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18692 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18693 (cacos_test): Add more tests.
18694 (casin_test): Likewise.
18695 (casinh_test): Likewise.
18696 * sysdeps/i386/fpu/libm-test-ulps: Update.
18697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18698
0f6a8d4b
SP
186992013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18700
0d1029de
SP
18701 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18702 ONE with its value.
18703
c2d94018
SP
18704 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18705 (__pow_mp): Replace ONE and MONE with their values.
18706 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18707 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18708 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18709 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18710 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18711 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18712
27ec37f1
SP
18713 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18714
a64d7e0e
SP
18715 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18716 (__pow_mp): Replace ZERO and MZERO with their values.
18717 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18718 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18719 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18721 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18722 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18723 (__sqr): Likewise.
18724
d26dd3eb
SP
18725 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18726
0f6a8d4b
SP
18727 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18728
e57b0c61
RM
187292013-03-28 Roland McGrath <roland@hack.frob.com>
18730
18731 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18732 Declare with __attribute__ ((weak)).
18733 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18734 Call __call_tls_dtors only if it's not NULL.
18735
356b3480
RM
187362013-03-28 Roland McGrath <roland@hack.frob.com>
18737
288f7d79
RM
18738 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18739 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18740 magic __ehdr_start linker symbol if it's defined.
18741 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18742 them up here if it was already done.
18743
dc0a0263
RM
18744 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18745 (_dl_aux_init): Use const in cast when setting it.
18746 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18747 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18748 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18749
3d3436ae
RM
18750 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18751 Declare them here.
18752 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18753 * csu/libc-tls.c: Nor here.
18754 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18755
356b3480
RM
18756 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18757 (__libc_message): Never call vsyslog.
18758
b0f1246a
AM
187592013-03-28 Alan Modra <amodra@gmail.com>
18760
18761 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18762 Define as empty.
18763 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18764 Likewise.
18765
fbbe2b9a
AZ
187662013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18767
18768 [BZ #15214]
18769 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18770 underflow.
18771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18772
1728ab37
SP
187732013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18774
7a86be6e
SP
18775 [BZ #15304]
18776 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18777 Don't add gid passed as argument.
18778
1728ab37
SP
18779 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18780
3a7182a1
JM
187812013-03-27 Joseph Myers <joseph@codesourcery.com>
18782
18783 [BZ #15307]
18784 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18785 imaginary part between 1.0 and 1.5 and real part less than 0.5
18786 specially.
18787 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18788 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18789 * math/libm-test.inc (cacos_test): Add more tests.
18790 (casin_test): Likewise.
18791 (casinh_test): Likewise.
18792 * sysdeps/i386/fpu/libm-test-ulps: Update.
18793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18794
6f2e90e7
SP
187952013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18796
5739f705
SP
18797 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18798 constants.
18799 (norm): Likewise.
18800 (denorm): Likewise.
18801 (__dbl_mp): Likewise.
18802 (add_magnitudes): Likewise.
18803 (sub_magnitudes): Likewise.
18804 (__add): Likewise.
18805 (__sub): Likewise.
18806 (__mul): Likewise.
18807 (__sqr): Likewise.
18808 (__inv): Likewise.
18809 (__dvd): Likewise.
18810
e375e83d
SP
18811 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18812 commented code.
18813 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18814 (__dubcos): Likewise.
18815 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18816 (__ieee754_acos): Likewise.
18817 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18818 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18819 (__exp1): Likewise.
18820 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18822 (log1): Likewise.
18823 (my_log2): Likewise.
18824 (checkint): Likewise.
18825 * sysdeps/ieee754/dbl-64/e_remainder.c
18826 (__ieee754_remainder): Likewise.
18827 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18828 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18829 (bsloww): Likewise.
18830 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18831
6f2e90e7
SP
18832 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18833 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18834 MANTISSA_STORE_T to store computations on mantissa. Use
18835 macros for rounding and division.
18836 (denorm): Likewise.
18837 (__dbl_mp): Likewise.
18838 (add_magnitudes): Likewise.
18839 (sub_magnitudes): Likewise.
18840 (__mul): Likewise.
18841 (__sqr): Likewise.
18842 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18843 powers of two in terms of TWOPOW macro.
18844 (mp_no): Make type of mantissa as MANTISSA_T.
18845 [!RADIXI]: Define RADIXI.
18846 [!TWO52]: Define TWO52.
18847 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18848
fce14d4e
AZ
188492013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18850
18851 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18852 llroundl symbol when building for PPC32.
18853
9ad027fb
MW
188542013-03-24 Mark H Weaver <mhw@netris.org>
18855
18856 * manual/arith.texi (Normalization Functions): Fix prototypes for
18857 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18858
e42a38dd
AZ
188592013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18860
18861 [BZ #13889]
18862 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18863 high value to check if expl overflow.
18864 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18865 to check for underflow and overflow.
18866 * math/libm-test.inc: Add exp test.
18867
2e0fb521
DL
188682013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18869
18870 [BZ #11120]
18871 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18872 with NOT_IN_libc.
18873
b5784d95
AZ
188742013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18875
18876 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18877 symbol.
18878
5aa4a1a1
TS
188792013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18880
bdef0be7
TS
18881 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18882 wrap blocks consisting of several statements.
18883
5aa4a1a1
TS
18884 * sysdeps/generic/math-tests.h: New file.
18885 * sysdeps/i386/fpu/math-tests.h: Likewise.
18886 * math/test-snan.c: Include it.
18887 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18888
98c48fe5
JM
188892013-03-21 Joseph Myers <joseph@codesourcery.com>
18890
18891 [BZ #15285]
18892 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18893 (__ieee754_j0l): Do not improve calculations using cos of twice
18894 input for inputs above LDBL_MAX / 2.0L.
18895 (__ieee754_y0l): Likewise.
18896 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18897 (__ieee754_j1l): Do not improve calculations using cos of twice
18898 input for inputs above LDBL_MAX / 2.0L.
18899 (__ieee754_y1l): Likewise.
18900 * math/libm-test.inc (j0_test): Add another test.
18901 (j1_test): Likewise.
18902 (y0_test): Likewise.
18903 (y1_test): Likewise.
18904 * sysdeps/i386/fpu/libm-test-ulps: Update.
18905
3775a8bc
SP
189062013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18907
18908 * Rules ($(objpfx)bench-%.c): Include code from a C source
18909 file.
18910
0a1b2ae6
JM
189112013-03-21 Joseph Myers <joseph@codesourcery.com>
18912
18913 [BZ #15287]
18914 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18915 imaginary part 1.0 and real part less than 0.5 specially.
18916 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18917 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18918 * math/libm-test.inc (cacos_test): Add more tests.
18919 (casin_test): Likewise.
18920 (casinh_test): Likewise.
18921 * sysdeps/i386/fpu/libm-test-ulps: Update.
18922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18923
b33d4ce4
SP
189242013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18925
18926 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18927 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18928
bef0b507
JM
189292013-03-20 Joseph Myers <joseph@codesourcery.com>
18930
18931 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18932 * config.make.in (config-cflags-sse4): Remove variable.
18933 (config-cflags-avx): Likewise.
18934 (config-cflags-sse2avx): Likewise.
18935 (config-cflags-novzeroupper): Likewise.
18936 (config-asflags-i686): Likewise.
18937 (have-mfma4): Likewise.
18938 (have-as-vis3): Likewise.
18939 (MIG): Likewise.
18940 * configure.in (MIG): Do not AC_SUBST.
18941 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18942 (libc_cv_cc_sse4): Do not AC_SUBST.
18943 (libc_cv_cc_avx): Likewise.
18944 (libc_cv_cc_sse2avx): Likewise.
18945 (libc_cv_cc_novzeroupper): Likewise.
18946 (libc_cv_cc_fma4): Likewise.
18947 (libc_cv_as_i686): Likewise.
18948 (libc_cv_sparc_as_vis3): Likewise.
18949 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18950 LIBC_CONFIG_VAR.
18951 (config-asflags-i686): Likewise.
18952 (config-cflags-avx): Likewise.
18953 (config-cflags-sse2avx): Likewise.
18954 (have-mfma4): Likewise.
18955 (config-cflags-novzeroupper): Likewise.
18956 * sysdeps/mach/configure.in (MIG): Likewise.
18957 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18958 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18959 LIBC_CONFIG_VAR.
18960 (config-cflags-avx): Likewise.
18961 (config-cflags-sse2avx): Likewise.
18962 (have-mfma4): Likewise.
18963 (config-cflags-novzeroupper): Likewise.
18964 * configure: Regenerated.
18965 * sysdeps/i386/configure: Likewise.
18966 * sysdeps/mach/configure: Likewise.
18967 * sysdeps/sparc/configure: Likewise.
18968 * sysdeps/x86_64/configure: Likewise.
18969
912cc4b3
RM
189702013-03-20 Roland McGrath <roland@hack.frob.com>
18971
18972 [BZ #14812]
18973 * locale/programs/localedef.c (options): Put N_ translation marker
18974 on argument names, not just descriptions.
18975
04eed2b0
MS
189762013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18977
18978 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18979
a065ceff
OB
189802013-03-20 Ondřej Bílka <neleai@seznam.cz>
18981
9bb2a810 18982 [BZ #14176]
a065ceff
OB
18983 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18984
a600e5ce
RM
189852013-03-19 Roland McGrath <roland@hack.frob.com>
18986
18987 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18988 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18989 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18990 [!BEFORE_ABORT] (before_abort): New function.
18991 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18992 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18993 (writev_for_fatal): New function.
18994 (WRITEV_FOR_FATAL): New macro; call that.
18995 (backtrace_and_maps): New function.
18996 (BEFORE_ABORT): New macro; call that.
18997 (struct str_list): Type removed.
18998 (__libc_message, __libc_fatal): Functions removed.
18999 Include <sysdeps/posix/libc_fatal.c> instead.
19000
6b18bea6
JM
190012013-03-19 Joseph Myers <joseph@codesourcery.com>
19002
19003 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19004 constants.
19005 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19006 double constants.
19007
aaa8cb4b
AS
190082013-03-19 Andreas Schwab <schwab@suse.de>
19009
44673770
AS
19010 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19011 * sysdeps/gnu/configure: Regenerate.
19012
aaa8cb4b
AS
19013 * configure.in: Substitute libc_cv_rtlddir.
19014 * configure: Regenerate.
19015 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19016 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19017 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19018 * elf/Makefile (install-others, CFLAGS-interp.c)
19019 (ldso_install, common-ldd-rewrite): Likewise.
19020 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19021 $(inst_slibdir)/$(rtld-installed-name).
19022 * scripts/rellns-sh: Add -p option.
19023 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19024 for source.
19025
d3cfc668
SP
190262013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19027
19028 * manual/nptl.texi: Renamed to ...
19029 * manual/threads.texi: ... this.
19030 * manual/Makefile (chapters): Update.
19031
0e2b9cdd
RM
190322013-03-18 Roland McGrath <roland@hack.frob.com>
19033
19034 [BZ #14812]
19035 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19036 on argument names, not just descriptions.
0e2b9cdd
RM
19037 * malloc/memusagestat.c (options): Likewise.
19038 * nss/getent.c (options): Likewise.
63270c24
RM
19039
190402013-03-18 Benno Schulenberg <bensberg@justemail.net>
19041
19042 [BZ #14812]
19043 * iconv/iconv_prog.c (options): Put N_ translation marker
19044 on argument names, not just descriptions.
19045 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 19046
b2e1393c
OB
190472013-03-18 Ondrej Bilka <neleai@seznam.cz>
19048
19049 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19050 implementation which is faster on all x86_64 architectures.
19051 Tested on AMD, Intel Nehalem, SNB, IVB.
19052 * sysdeps/x86_64/strnlen.S: Likewise.
19053
19054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19055 Remove all multiarch strlen and strnlen versions.
19056 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19057 Remove strlen and strnlen related parts.
19058
19059 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19060 Inline strlen part.
19061 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19062
19063 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19064 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19065 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19066 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19067 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19068 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19069
ec4ff04d
CD
190702013-03-17 Carlos O'Donell <carlos@redhat.com>
19071
19072 * manual/memory.texi (Malloc Tunable Parameters):
19073 Sort parameters alphabetically. Add comments for missing entries.
19074
cd18e90a
DM
190752013-03-17 David S. Miller <davem@davemloft.net>
19076
19077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19078
2a185d32
JM
190792013-03-16 Joseph Myers <joseph@codesourcery.com>
19080
d2f9799e
JM
19081 [BZ #15283]
19082 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19083 for arguments at most half maximum finite value.
19084 * math/libm-test.inc (j0_test): Add more tests.
19085 (j1_test): Likewise.
19086 (y0_test): Likewise.
19087 (y1_test): Likewise.
19088 * sysdeps/i386/fpu/libm-test-ulps: Update.
19089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19090
2a185d32
JM
19091 [BZ #14155]
19092 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19093 1 / x and functions P and Q for arguments above 0x1p256L.
19094 (__ieee754_y0l): Likewise.
19095 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19096 (__ieee754_y1l): Likewise.
19097 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19098 (j1_test): Likewise.
19099 (y0_test): Likewise.
19100 (y1_test): Likewise.
19101
6cbec759
TS
191022013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19103
19104 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19105 variable.
19106
bc16e260
RM
191072013-03-15 Roland McGrath <roland@hack.frob.com>
19108
aefc9b8c
RM
19109 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19110 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19111 zero since it's initialized to EXEC_PAGESIZE.
19112
bc16e260
RM
19113 * sysdeps/unix/sysv/linux/ldsodefs.h
19114 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19115 * sysdeps/generic/ldsodefs.h: ... here.
19116
a57da955
TS
191172013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19118
af00a34d
TS
19119 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19120
495ded2c
TS
19121 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19122 math/test-snan.c.
19123 * math/test-snan.c: Renamed from
19124 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19125 * math/Makefile (tests): Add test-snan.
19126 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19127 test-powerpc-snan.
19128
777b0332
TS
19129 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19130 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19131 functions.
19132 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19133 __builtin_nan family of functions.
19134 * math/libm-test.inc (initialize): Initialize qnan_value with
19135 __builtin_nan family of functions.
19136 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19137 Remove variables.
19138 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19139 Remove functions.
19140 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19141 storage class. Initialize qNaN_var and sNaN_var with
19142 __builtin_nan and __builtin_nans families of functions,
19143 respectively.
19144
64d063b8
TS
19145 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19146 (sqrt_test): Remove duplicate test with qNaN input.
19147 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19148 (round_test, signbit_test, significand_test): Note missing +/-Inf
19149 as well as qNaN tests.
19150
67e971f1
TS
19151 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19152 qNaN_var. Fix a few strings, too.
19153 * math/libm-test.inc (nan_value): Rename to qnan_value.
19154 * math/gen-libm-test.pl (%beautify): Adjust to that.
19155 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19156 * math/test-misc.c (main): Likewise.
19157 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19158 to __qnan_bytes, and __qnan_union, respectively.
19159 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19160 Likewise.
19161 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19162 and lqnanval, respectively.
19163 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19164 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19165 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19166 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19167
64487e12
TS
19168 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19169 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19170 doubles.
19171
e015e27b
TS
19172 * math/test-misc.c (main): Fix copy'n'pastos.
19173 * misc/tst-efgcvt.c (special): Likewise.
19174
a57da955
TS
19175 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19176 Remove declarations.
19177
1e380345
SP
191782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19179
19180 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19181 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19182 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19183 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19184
ef26eece
AZ
191852013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19186
19187 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19188 macro to return vdso values correctly in IFUNC implementations.
19189 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19190 Optimization by using IFUNC.
19191
8cfdb7e0
SP
191922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19193 Richard Henderson <rth@redhat.com>
19194 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19195
19196 * Makefile.in (bench): New target.
19197 * NEWS: Mention the benchmark framework.
19198 * Rules (bench): Likewise.
19199 (binaries-bench): Generate binaries for functions to
19200 benchmark.
19201 * benchtests/Makefile: New makefile for benchmark tests.
19202 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19203 programs.
19204 * benchtests/exp-inputs: New input file for EXP function.
19205 * benchtests/pow-inputs: New input file for POW function.
19206 * scripts/bench.pl: New script to generate source files for
19207 benchmark programs.
19208
bcda9880
SP
192092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19210
d22ca8cd
SP
19211 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19212 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19213 computations on mantissa. Use macros for rounding and
19214 division.
19215 (denorm): Likewise.
19216 (__dbl_mp): Likewise.
19217 (add_magnitudes): Likewise.
19218 (sub_magnitudes): Likewise.
19219 (__mul): Likewise.
19220 (__sqr): Likewise.
19221 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19222 powers of two in terms of TWOPOW macro.
19223 (mp_no): Make type of mantissa as MANTISSA_T.
19224 [!RADIXI]: Define RADIXI.
19225 [!TWO52]: Define TWO52.
19226 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19227
bcda9880
SP
19228 * manual/nptl.texi (cindex): Modify threads to pthreads.
19229
06d5adfb
JM
192302013-03-15 Joseph Myers <joseph@codesourcery.com>
19231
19232 * sysdeps/x86_64/preconfigure: Regenerated.
19233
41c7328e
JM
192342013-03-14 Joseph Myers <joseph@codesourcery.com>
19235
19236 [BZ #14155]
19237 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19238 0x1p28 and above.
19239 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19240 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19241 0x1p28 and above.
19242 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19243 * math/libm-test.inc (j0_test): Do not allow one spurious
19244 underflow exception.
19245 (y1_test): Likewise.
19246
e25cfa60
SP
192472013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19248
0409959c
SP
19249 * manual/Makefile (chapters): Add nptl.
19250 * manual/debug.texi (Debugging Support): Add link to Threads
19251 chapter.
19252 * manual/nptl.texi: New file.
19253
e25cfa60
SP
19254 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19255
58a1335e
PB
192562013-03-14 Petr Baudis <pasky@ucw.cz>
19257
19258 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19259 for non-NULL pointer before the memory validity test. Pointed
19260 out by Holger Brunck <holger.brunck@keymile.com>.
19261
9dc7c64f
AS
192622013-03-13 Andreas Schwab <schwab@suse.de>
19263
19264 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19265 instead of .os.
19266
54206aa6
JM
192672013-03-13 Joseph Myers <joseph@codesourcery.com>
19268
19269 * timezone/zic.c: Update from tzcode 2013b.
19270
e98cdb38
CD
192712013-03-12 Carlos O'Donell <carlos@redhat.com>
19272
19273 * manual/install.texi (Configuring and compiling):
19274 Mention i686 and i586.
19275 * INSTALL: Regenerate.
19276
9967e003
RM
192772013-03-12 Roland McGrath <roland@hack.frob.com>
19278
19279 * sysdeps/init_array/elf-init.c: New file.
19280 * csu/elf-init.c
19281 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19282 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19283
19284 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19285 __gmon_start__ as global, but as static with a .preinit_array pointer.
19286 * sysdeps/init_array/gmon-start.c: New file. Use that.
19287 * sysdeps/init_array/crti.S: New file, empty except for comments.
19288 * sysdeps/init_array/crtn.S: Likewise.
19289
e6b5a293 192902013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19291
19292 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19293 definining bcopy.
80f844c9
OB
19294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19295 Remove Prefer_SSE_for_memop.
19296 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19297 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19298 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19300 memset-x86-64.
80f844c9 19301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19302 Remove bzero, memset ifunc support.
80f844c9
OB
19303 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19304 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19305 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19306 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19307
fb6b0fcb
AS
193082013-03-11 Andreas Schwab <schwab@suse.de>
19309
19310 [BZ #15234]
19311 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19312 by SHLIB_COMPAT.
19313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19314 (GLIBC_2.16): Remove pthread_atfork.
19315
3e6bd4b1
PP
193162013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19317
19318 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19319 (ptestcases.h): Likewise.
19320
222d7f00
RM
193212013-03-08 Roland McGrath <roland@hack.frob.com>
19322
19323 * Makeconfig ($(common-objpfx)config.status): Depend on
19324 sysdeps/*/preconfigure{,.in} too.
19325
1ba4f030
JM
193262013-03-08 Joseph Myers <joseph@codesourcery.com>
19327
a222d91a
JM
19328 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19329 (__free_hook): Use void * instead of __malloc_ptr_t.
19330 (__malloc_hook): Likewise.
19331 (__realloc_hook): Likewise.
19332 (__memalign_hook): Likewise.
19333 (__after_morecore_hook): Likewise.
19334 * malloc/arena.c (save_malloc_hook): Likewise.
19335 (save_free_hook): Likewise.
19336 * malloc/hooks.c (malloc_hook_ini): Likewise.
19337 (realloc_hook_ini): Likewise.
19338 (memalign_hook_ini): Likewise.
19339 * malloc/malloc.c (malloc_hook_ini): Likewise.
19340 (realloc_hook_ini): Likewise.
19341 (memalign_hook_ini): Likewise.
19342 (__free_hook): Likewise.
19343 (__malloc_hook): Likewise.
19344 (__realloc_hook): Likewise.
19345 (__memalign_hook): Likewise.
19346 (__libc_malloc): Likewise.
19347 (__libc_free): Likewise.
19348 (__libc_realloc): Likewise.
19349 (__libc_memalign): Likewise.
19350 (__libc_valloc): Likewise.
19351 (__libc_pvalloc): Likewise.
19352 (__libc_calloc): Likewise.
19353 (__posix_memalign): Likewise.
19354 * malloc/morecore.c (__sbrk): Likewise.
19355 (__default_morecore): Likewise.
19356
5cc45e10
JM
19357 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19358
dd54b864
JM
19359 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19360 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19361 __malloc_ptrdiff_t.
19362
1ba4f030
JM
19363 * malloc/malloc.h (__malloc_size_t): Remove macro.
19364 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19365 __malloc_size_t.
19366 (old_memalign_hook): Likewise.
19367 (old_realloc_hook): Likewise.
19368 (struct hdr): Likewise.
19369 (flood): Likewise.
19370 (mallochook): Likewise.
19371 (memalignhook): Likewise.
19372 (reallochook): Likewise.
19373 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19374 (tr_old_realloc_hook): Likewise.
19375 (tr_old_memalign_hook): Likewise.
19376 (tr_mallochook): Likewise.
19377 (tr_reallochook): Likewise.
19378 (tr_memalignhook): Likewise.
19379
edf66e57
AZ
193802013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19381
19382 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19383 default_ldbl_pack and using as default implementation.
19384 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19385 implementation.
19386 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19387 redundant definition.
19388 (ldbl_insert_mantissa): Likewise.
19389 (ldbl_canonicalize): Likewise.
19390 (ldbl_nearbyint): Likewise.
19391 (ldbl_pack): Rename to ldbl_pack_ppc.
19392 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19393 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19394 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19395
6d9145d8
SP
193962013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19397
19398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19399 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19400 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19401 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19403 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19404 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19405 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19406
4dd4e157
AJ
194072013-03-07 Andreas Jaeger <aj@suse.de>
19408
19409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19410 bits/mman-linux.h.
19411
adbb8027
SP
194122013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19413
ce544b5b
SP
19414 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19415 Include mpa.h and declare __MPEXP.
19416 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19417 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19418 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19419 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19420 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19421 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19422 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19423
4cc149fd
SP
19424 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19425 (__slowpow): Use long double EXPL and LOGL functions to
19426 compute POW.
19427 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19428 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19429 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19430 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19431 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19432 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19433
e6ebd4a7
SP
19434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19435 intermediate variable to calculate exponent.
19436 (__sqr): Likewise.
19437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19438 Likewise.
19439 (__sqr): Likewise.
19440
82a9811d
SP
19441 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19442 [!NO__SQR]: Define __sqr.
19443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19444 and NO__SQR. Remove all code except __mul and __sqr. Include
19445 sysdeps/ieee754/dbl-64/mpa.c.
19446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19447
adbb8027
SP
19448 [BZ #12723]
19449 * posix/Makefile (tests): Add tst-pathconf.
19450 * posix/tst-pathconf.c: New test case.
19451 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19452 _PC_PIPE_BUF.
19453 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19454
39120df9
PF
194552013-03-06 Patsy Franklin <pfrankli@redhat.com>
19456
19457 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19458
67525cb8
AJ
194592013-03-06 Andreas Jaeger <aj@suse.de>
19460
664a9ce4
AJ
19461 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19462 definition via __MAP_ANONYMOUS.
19463
8e39047d
AJ
19464 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19465 it's not part of Linux headers.
19466
67525cb8
AJ
19467 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19468 (MAP_HUGE_MASK): Define.
19469
19470 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19471 Define.
19472 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19473 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19474 Define.
19475 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19476 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19477 Define.
19478 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19479 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19480 Define.
19481 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19482
19483 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19484 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19485 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19486 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19487 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19488 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19489
19490 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19491 Handle f2fs.
19492
19493 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19494 Handle f2fs and efivarfs.
19495
19496 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19497 f2fs.
19498
19499 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19500 (EFIVARFS_MAGIC): Add.
19501 (F2FS_LINK_MAX): Add.
19502
e1b42695
PP
195032013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19504
19505 * stdio-common/vfprintf.c: Replace __builtin_expect with
19506 __glibc_unlikely.
19507
2d67d91a
JM
195082013-03-06 Joseph Myers <joseph@codesourcery.com>
19509
19510 [BZ #13550]
19511 * sysdeps/generic/bp-sym.h: Remove file.
19512 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19513 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19514 <bp-sym.h> and <bp-asm.h>.
19515 (__longjmp): Don't use BP_SYM.
19516 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19517 and <bp-asm.h>.
19518 (memcpy): Don't use BP_SYM.
19519 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19520 <bp-sym.h> and <bp-asm.h>.
19521 (memcpy): Don't use BP_SYM.
19522 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19523 <bp-asm.h>.
19524 (memcpy): Don't use BP_SYM.
19525 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19526 <bp-asm.h>.
19527 (memset): Don't use BP_SYM.
19528 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19529 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19530 (__bzero): Don't use BP_SYM.
19531 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19532 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19533 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19534 <bp-sym.h> and <bp-asm.h>.
19535 (memcmp): Don't use BP_SYM. Remove comment about bounded
19536 pointers.
19537 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19538 <bp-sym.h> and <bp-asm.h>.
19539 (memcpy): Don't use BP_SYM.
19540 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19541 <bp-sym.h> and <bp-asm.h>.
19542 (memset): Don't use BP_SYM.
19543 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19544 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19545 (__bzero): Don't use BP_SYM.
19546 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19547 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19548 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19549 <bp-sym.h> and <bp-asm.h>.
19550 (strncmp): Don't use BP_SYM. Remove comment about bounded
19551 pointers.
19552 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19553 <bp-sym.h> and <bp-asm.h>.
19554 (memcpy): Don't use BP_SYM.
19555 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19556 <bp-sym.h> and <bp-asm.h>.
19557 (memset): Don't use BP_SYM.
19558 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19559 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19560 (__bzero): Don't use BP_SYM.
19561 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19562 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19563 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19564 <bp-sym.h> and <bp-asm.h>.
19565 (__memchr): Don't use BP_SYM.
19566 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19567 <bp-sym.h> and <bp-asm.h>.
19568 (memcmp): Don't use BP_SYM. Remove comment about bounded
19569 pointers.
19570 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19571 <bp-sym.h> and <bp-asm.h>.
19572 (memcpy): Don't use BP_SYM.
19573 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19574 <bp-sym.h> and <bp-asm.h>.
19575 (__mempcpy): Don't use BP_SYM.
19576 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19577 <bp-sym.h> and <bp-asm.h>.
19578 (__memrchr): Don't use BP_SYM.
19579 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19580 <bp-sym.h> and <bp-asm.h>.
19581 (memset): Don't use BP_SYM.
19582 (__bzero): Likewise.
19583 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19584 <bp-sym.h> and <bp-asm.h>.
19585 (__rawmemchr): Don't use BP_SYM.
19586 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19587 <bp-sym.h> and <bp-asm.h>.
19588 (__STRCMP): Don't use BP_SYM.
19589 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19590 <bp-sym.h> and <bp-asm.h>.
19591 (strchr): Don't use BP_SYM.
19592 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19593 <bp-sym.h> and <bp-asm.h>.
19594 (__strchrnul): Don't use BP_SYM.
19595 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19596 <bp-sym.h> and <bp-asm.h>.
19597 (strlen): Don't use BP_SYM.
19598 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19599 <bp-sym.h> and <bp-asm.h>.
19600 (strncmp): Don't use BP_SYM. Remove comment about bounded
19601 pointers.
19602 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19603 <bp-sym.h> and <bp-asm.h>.
19604 (__strnlen): Don't use BP_SYM.
19605 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19606 <bp-sym.h> and <bp-asm.h>.
19607 (__GI__setjmp): Don't use BP_SYM.
19608 (_setjmp): Likewise.
19609 (__sigsetjmp): Likewise.
19610 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19611 (L(start_addresses)): Don't use BP_SYM.
19612 (_start): Likewise.
19613 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19614 <bp-asm.h>.
19615 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19616 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19617 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19618 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19619 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19620 <bp-asm.h>.
19621 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19622 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19623 about bounded pointers.
19624 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19625 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19626 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19627 <bp-asm.h>.
19628 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19629 about bounded pointers. Remove GKM FIXME comments.
19630 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19631 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19632 <bp-asm.h>.
19633 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19634 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19635 Remove GKM FIXME comments.
19636 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19637 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19638 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19639 <bp-asm.h>.
19640 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19641 about bounded pointers. Remove GKM FIXME comment.
19642 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19643 and <bp-asm.h>.
19644 (strncmp): Don't use BP_SYM. Remove comment about bounded
19645 pointers.
19646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19647 <bp-sym.h> and <bp-asm.h>.
19648 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19650 <bp-sym.h> and <bp-asm.h>.
19651 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19652 comment.
19653
cdcf361f
PP
196542013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19655
19656 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19657 call free(NULL).
19658
3c4a2b15
DM
196592013-03-05 David S. Miller <davem@davemloft.net>
19660
19661 * po/es.po: Update from translation team.
19662
cdcf361f 196632013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19664
19665 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19666 <bits/mman-linux.h>.
19667 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19668 is fine.
19669 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19670 <bits/mman-linux.h> to end of file.
19671 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19672 is fine.
19673 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19674 <bits/mman-linux.h> to end of file.
19675 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19676 is fine.
19677 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19678 <bits/mman-linux.h> to end of file.
19679
19680 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19681 (MCL_CURRENT, MCL_FUTURE): Define here.
19682
5f67c04f
AK
196832013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19684
8a4473cc 19685 [BZ #15232]
5f67c04f
AK
19686 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19687 attribute_hidden.
19688 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19689
c3e94a95
AK
196902013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19691
19692 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19693 fourth parameter needed for rt_sigprocmask syscall.
19694 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19695 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19696 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19697 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19698 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19699 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19700
cfb6382a
JM
197012013-03-04 Joseph Myers <joseph@codesourcery.com>
19702
19703 [BZ #13550]
19704 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19705 comment about bounded pointers.
19706 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19707 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19708
539d8e01
AJ
197092013-03-04 Andreas Jaeger <aj@suse.de>
19710
19711 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19712 common definitions.
19713
19714 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19715 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19716 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19717 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19718 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19719 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19720
2e167a70 197212013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19722
19723 [BZ #15055]
19724 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19725 __ieee754_sqrl instead of __sqrl.
19726
68508633
JM
197272013-03-01 Joseph Myers <joseph@codesourcery.com>
19728
19729 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19730 * sysdeps/powerpc/fpu_control.h: ... here.
19731 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19732 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19733 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19734 * sysdeps/powerpc/bits/mathinline.h: ... here.
19735
7775448e
RM
197362013-03-01 Roland McGrath <roland@hack.frob.com>
19737
19738 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19739 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19740 to just [NEED_DL_SYSINFO_DSO].
19741 * elf/dl-support.c: Likewise.
19742 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19743 * elf/rtld.c (dl_main): Likewise.
19744 * elf/setup-vdso.h (setup_vdso): Likewise.
19745 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19746 * sysdeps/unix/sysv/linux/dl-sysdep.c
19747 (_dl_discover_osversion): Likewise.
19748
4e9b5995
CD
197492013-03-01 Carlos O'Donell <carlos@redhat.com>
19750
19751 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19752 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19753
e23872c8
SP
197542013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19755
e5c74c63
SP
19756 * NEWS: Mention libm performance improvements and non-x86 PI
19757 futex support.
19758
e23872c8
SP
19759 * csu/libc-start.c (__pthread_initialize_minimal): Change
19760 function arguments.
19761 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19762
b5510883
JM
197632013-02-28 Joseph Myers <joseph@codesourcery.com>
19764
19765 [BZ #13550]
19766 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19767 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19768 <bp-sym.h> and <bp-asm.h>.
19769 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19770 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19771 and <bp-asm.h>.
19772 (memcpy): Don't use BP_SYM.
19773 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19774 <bp-asm.h>.
19775 (__mpn_add_n): Don't use BP_SYM.
19776 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19777 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19778 and <bp-asm.h>.
19779 (__mpn_addmul_1): Don't use BP_SYM.
19780 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19781 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19782 <bp-sym.h>.
19783 (_setjmp): Don't use BP_SYM.
19784 (__novmx_setjmp): Likewise.
19785 (__GI__setjmp): Likewise.
19786 (__vmx_setjmp): Likewise.
19787 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19788 <bp-sym.h>.
19789 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19790 (__bzero): Don't use BP_SYM.
19791 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19792 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19793 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19794 <bp-sym.h> and <bp-asm.h>.
19795 (memcpy): Don't use BP_SYM.
19796 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19797 <bp-sym.h> and <bp-asm.h>.
19798 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19799 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19800 <bp-sym.h> and <bp-asm.h>.
19801 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19802 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19803 <bp-asm.h>.
19804 (__mpn_lshift): Don't use BP_SYM.
19805 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19806 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19807 <bp-asm.h>.
19808 (memset): Don't use BP_SYM.
19809 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19810 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19811 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19812 <bp-asm.h>.
19813 (__mpn_mul_1): Don't use BP_SYM.
19814 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19815 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19816 <bp-sym.h> and <bp-asm.h>.
19817 (memcmp): Don't use BP_SYM.
19818 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19819 <bp-sym.h> and <bp-asm.h>.
19820 (memcpy): Don't use BP_SYM.
19821 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19822 <bp-sym.h> and <bp-asm.h>.
19823 (memset): Don't use BP_SYM.
19824 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19825 <bp-sym.h> and <bp-asm.h>.
19826 (strncmp): Don't use BP_SYM.
19827 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19828 <bp-sym.h> and <bp-asm.h>.
19829 (memcpy): Don't use BP_SYM.
19830 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19831 <bp-sym.h> and <bp-asm.h>.
19832 (memset): Don't use BP_SYM.
19833 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19834 <bp-sym.h> and <bp-asm.h>.
19835 (__memchr): Don't use BP_SYM.
19836 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19837 <bp-sym.h> and <bp-asm.h>.
19838 (memcmp): Don't use BP_SYM.
19839 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19840 <bp-sym.h> and <bp-asm.h>.
19841 (memcpy): Don't use BP_SYM.
19842 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19843 <bp-sym.h> and <bp-asm.h>.
19844 (__mempcpy): Don't use BP_SYM.
19845 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19846 <bp-sym.h> and <bp-asm.h>.
19847 (__memrchr): Don't use BP_SYM.
19848 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19849 <bp-sym.h> and <bp-asm.h>.
19850 (memset): Don't use BP_SYM.
19851 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19852 <bp-sym.h> and <bp-asm.h>.
19853 (__rawmemchr): Don't use BP_SYM.
19854 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19855 <bp-sym.h> and <bp-asm.h>.
19856 (__STRCMP): Don't use BP_SYM.
19857 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19858 <bp-sym.h> and <bp-asm.h>.
19859 (strchr): Don't use BP_SYM.
19860 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19861 <bp-sym.h> and <bp-asm.h>.
19862 (__strchrnul): Don't use BP_SYM.
19863 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19864 <bp-sym.h> and <bp-asm.h>.
19865 (strlen): Don't use BP_SYM.
19866 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19867 <bp-sym.h> and <bp-asm.h>.
19868 (strncmp): Don't use BP_SYM.
19869 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19870 <bp-sym.h> and <bp-asm.h>.
19871 (__strnlen): Don't use BP_SYM.
19872 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19873 <bp-asm.h>.
19874 (__mpn_rshift): Don't use BP_SYM.
19875 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19876 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19877 <bp-sym.h> and <bp-asm.h>.
19878 (__sigsetjmp): Don't use BP_SYM.
19879 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19880 (L(start_addresses)): Don't use BP_SYM.
19881 (_start): Likewise.
19882 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19883 <bp-asm.h>.
19884 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19885 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19886 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19887 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19888 <bp-asm.h>.
19889 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19890 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19891 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19892 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19893 <bp-asm.h>.
19894 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19895 comments.
19896 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19897 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19898 <bp-asm.h>.
19899 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19900 FIXME comments.
19901 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19902 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19903 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19904 <bp-asm.h>.
19905 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19906 comment.
19907 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19908 and <bp-asm.h>.
19909 (strncmp): Don't use BP_SYM,
19910 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19911 <bp-asm.h>.
19912 (__mpn_sub_n): Don't use BP_SYM.
19913 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19914 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19915 and <bp-asm.h>.
19916 (__mpn_submul_1): Don't use BP_SYM.
19917 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19919 <bp-sym.h> and <bp-asm.h>.
19920 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19922 <bp-sym.h> and <bp-asm.h>.
19923 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19924 comment.
19925
8d19fe64
SP
199262013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19927
19928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19929 Use ZK to minimize writes to Z.
19930 (sub_magnitudes): Simplify code a bit.
19931 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19932 Use ZK to minimize writes to Z.
19933 (sub_magnitudes): Simplify code a bit.
19934
85bd816a
RM
199352013-02-27 Roland McGrath <roland@hack.frob.com>
19936
19937 * csu/gmon-start.c: Add special exception to license text.
19938
b5977bf2
RH
199392013-02-27 Richard Henderson <rth@redhat.com>
19940
19941 * scripts/config.guess: Update from config.git.
19942 * scripts/config.sub: Likewise.
19943
11d6e2f2
SP
199442013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19945
09c14ed2
SP
19946 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19947
a688864e
SP
19948 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19949
6295157a
SP
19950 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19951
b8de2202
SP
19952 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19953
11d6e2f2
SP
19954 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19955
7e80ddb8
RM
199562013-02-26 Roland McGrath <roland@hack.frob.com>
19957
19958 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19959 [$(build-shared = yes].
7e80ddb8 19960
7da6d9ed
SP
199612013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19962
45f05884
SP
19963 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19964 (__mul): Reduce iterations for calculating mantissa.
19965
2236d359
SP
19966 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19967 MPTWO.
19968 (__mpranred): Likewise.
19969
7da6d9ed
SP
19970 [BZ #15160]
19971 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19972 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19973
b7688c42
PE
199742013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19975
19976 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19977 Define __attribute__.
19978
53a5c423
SP
199792013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19980
19981 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19982 unused.
19983 * posix/regex_internal.h (__attribute): Remove.
19984 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19985 (re_string_context_at): Likewise.
19986 (bitset_not): Use __attribute__ and mark function as possibly
19987 unused.
19988 (bitset_merge): Likewise.
19989 (bitset_mask): Likewise.
19990 (re_string_char_size_at): Likewise.
19991 (re_string_wchar_at): Likewise.
19992 (re_string_elem_size_at): Likewise.
19993
60f5a8b5
SP
199942013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19995
2a983a2e
SP
19996 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19997 code.
19998 (cc32): Likewise.
19999
e69804d1
SP
20000 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20001 (__acr): Likewise.
20002 (__cpy): Likewise.
20003 (norm): Likewise.
20004 (denorm): Likewise.
20005 (__dbl_mp): Likewise.
20006 (add_magnitudes): Likewise.
20007 (sub_magnitudes): Likewise.
20008 (__mul): Likewise.
20009 (__inv): Likewise.
20010
2f22a1e8
SP
20011 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20012 style.
20013
8930ddc7
SP
20014 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20015 style.
20016
dc60cb11
SP
20017 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20018 code.
20019
60f5a8b5
SP
20020 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20021 up changes with default code.
20022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20023 Likewise.
20024
b4d1fd33
AM
200252013-02-24 Allan McRae <allan@archlinux.org>
20026
faf6f8bc
AM
20027 * manual/socket.texi (The Internet Namespace): Order menu items
20028 to match that in the file.
20029
b4d1fd33
AM
20030 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20031 node listing of the info page menu.
20032
2366713d
JM
200332013-02-21 Joseph Myers <joseph@codesourcery.com>
20034
20035 [BZ #13550]
20036 * sysdeps/i386/bp-asm.h: Remove file.
20037 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20038 (PARMS): Do not use macros from bp-asm.h.
20039 (S1): Likewise.
20040 (S2): Likewise.
20041 (SIZE): Likewise.
20042 (__mpn_add_n): Do not use BP_SYM
20043 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20044 "bp-asm.h".
20045 (PARMS): Do not use macros from bp-asm.h.
20046 (S1): Likewise.
20047 (SIZE): Likewise.
20048 (__mpn_addmul_1): Do not use BP_SYM
20049 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20050 "bp-asm.h".
20051 (PARMS): Do not use macros from bp-asm.h.
20052 (SIGMSK): Likewise.
20053 (_setjmp): Likewise. Do not use BP_SYM.
20054 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20055 "bp-asm.h".
20056 (PARMS): Do not use macros from bp-asm.h.
20057 (SIGMSK): Likewise.
20058 (setjmp): Likewise. Do not use BP_SYM.
20059 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20060 "bp-asm.h".
20061 (PARMS): Do not use macros from bp-asm.h.
20062 (__frexp): Do not use BP_SYM.
20063 (frexp): Likewise.
20064 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20065 "bp-asm.h".
20066 (PARMS): Do not use macros from bp-asm.h.
20067 (__frexpf): Do not use BP_SYM.
20068 (frexpf): Likewise.
20069 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20070 "bp-asm.h".
20071 (PARMS): Do not use macros from bp-asm.h.
20072 (__frexpl): Do not use BP_SYM.
20073 (frexpl): Likewise.
20074 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20075 "bp-asm.h".
20076 (PARMS): Do not use macros from bp-asm.h.
20077 (__remquo): Do not use BP_SYM.
20078 (remquo): Likewise.
20079 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20080 "bp-asm.h".
20081 (PARMS): Do not use macros from bp-asm.h.
20082 (__remquof): Do not use BP_SYM.
20083 (remquof): Likewise.
20084 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20085 "bp-asm.h".
20086 (PARMS): Do not use macros from bp-asm.h.
20087 (__remquol): Do not use BP_SYM.
20088 (remquol): Likewise.
20089 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20090 "bp-asm.h".
20091 (PARMS): Do not use macros from bp-asm.h.
20092 (DEST): Likewise.
20093 (SRC): Likewise.
20094 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20095 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20096 "bp-asm.h".
20097 (PARMS): Do not use macros from bp-asm.h.
20098 (strlen): Do not use BP_SYM.
20099 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20100 "bp-asm.h".
20101 (PARMS): Do not use macros from bp-asm.h.
20102 (S1): Likewise.
20103 (S2): Likewise.
20104 (SIZE): Likewise.
20105 (__mpn_add_n): Do not use BP_SYM.
20106 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20107 "bp-asm.h".
20108 (PARMS): Do not use macros from bp-asm.h.
20109 (S1): Likewise.
20110 (SIZE): Likewise.
20111 (__mpn_addmul_1): Do not use BP_SYM.
20112 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20113 weak_alias.
20114 (bzero): Likewise.
20115 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20116 "bp-asm.h".
20117 (PARMS): Do not use macros from bp-asm.h.
20118 (S): Likewise.
20119 (SIZE): Likewise.
20120 (__mpn_lshift): Do not use BP_SYM.
20121 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20122 "bp-asm.h".
20123 (PARMS): Do not use macros from bp-asm.h.
20124 (DEST): Likewise.
20125 (SRC): Likewise.
20126 (LEN): Likewise.
20127 (memcpy): Likewise. Do not use BP_SYM.
20128 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20129 libc_hidden_def and weak_alias.
20130 (mempcpy): Do not use BP_SYM in weak_alias.
20131 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20132 "bp-asm.h".
20133 (PARMS): Do not use macros from bp-asm.h.
20134 (DEST): Likewise.
20135 (LEN): Likewise.
20136 [!BZERO_P] (CHR): Likewise.
20137 (memset): Likewise. Do not use BP_SYM.
20138 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20139 "bp-asm.h".
20140 (PARMS): Do not use macros from bp-asm.h.
20141 (S1): Likewise.
20142 (SIZE): Likewise.
20143 (__mpn_mul_1): Do not use BP_SYM.
20144 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20145 "bp-asm.h".
20146 (PARMS): Do not use macros from bp-asm.h.
20147 (S): Likewise.
20148 (SIZE): Likewise.
20149 (__mpn_rshift): Do not use BP_SYM.
20150 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20151 "bp-asm.h".
20152 (PARMS): Do not use macros from bp-asm.h.
20153 (STR): Likewise.
20154 (CHR): Likewise.
20155 (strchr): Likewise. Do not use BP_SYM.
20156 (index): Do not use BP_SYM in weak_alias.
20157 * sysdeps/i386/i586/strcpy.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 (SRC): Likewise.
20162 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20163 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20164 "bp-asm.h".
20165 (PARMS): Do not use macros from bp-asm.h.
20166 (strlen): Do not use BP_SYM.
20167 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20168 "bp-asm.h".
20169 (PARMS): Do not use macros from bp-asm.h.
20170 (S1): Likewise.
20171 (S2): Likewise.
20172 (SIZE): Likewise.
20173 (__mpn_sub_n): Do not use BP_SYM.
20174 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20175 "bp-asm.h".
20176 (PARMS): Do not use macros from bp-asm.h.
20177 (S1): Likewise.
20178 (SIZE): Likewise.
20179 (__mpn_submul_1): Do not use BP_SYM.
20180 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20181 "bp-asm.h".
20182 (PARMS): Do not use macros from bp-asm.h.
20183 (S1): Likewise.
20184 (S2): Likewise.
20185 (SIZE): Likewise.
20186 (__mpn_add_n): Do not use BP_SYM.
20187 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20188 weak_alias.
20189 (bzero): Likewise.
20190 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20191 "bp-asm.h".
20192 (PARMS): Do not use macros from bp-asm.h.
20193 (BLK2): Likewise.
20194 (LEN): Likewise.
20195 (memcmp): Do not use BP_SYM.
20196 (bcmp): Do not use BP_SYM in weak_alias.
20197 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20198 "bp-asm.h".
20199 (PARMS): Do not use macros from bp-asm.h.
20200 (DEST): Likewise.
20201 (SRC): Likewise.
20202 (LEN): Likewise.
20203 (memcpy): Likewise. Do not use BP_SYM.
20204 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20205 "bp-asm.h".
20206 (PARMS): Do not use macros from bp-asm.h.
20207 (DEST): Likewise.
20208 (SRC): Likewise.
20209 (LEN): Likewise.
20210 (memmove): Likewise. Do not use BP_SYM.
20211 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20212 "bp-asm.h".
20213 (PARMS): Do not use macros from bp-asm.h.
20214 (DEST): Likewise.
20215 (SRC): Likewise.
20216 (LEN): Likewise.
20217 (__mempcpy): Likewise. Do not use BP_SYM.
20218 (mempcpy): Do not use BP_SYM in weak_alias.
20219 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20220 "bp-asm.h".
20221 (PARMS): Do not use macros from bp-asm.h.
20222 (DEST): Likewise.
20223 (LEN): Likewise.
20224 [!BZERO_P] (CHR): Likewise.
20225 (memset): Likewise. Do not use BP_SYM.
20226 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20227 "bp-asm.h".
20228 (PARMS): Do not use macros from bp-asm.h.
20229 (STR2): Likewise.
20230 (strcmp): Do not use BP_SYM.
20231 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20232 "bp-asm.h".
20233 (PARMS): Do not use macros from bp-asm.h.
20234 (STR): Likewise.
20235 (DELIM): Likewise.
20236 [USE_AS_STRTOK_R] (SAVE): Likewise.
20237 (FUNCTION): Likewise. Do not use BP_SYM.
20238 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20239 aliases.
20240 (strtok_r): Likewise.
20241 (__GI___strtok_r): Likewise.
20242 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20243 (PARMS): Do not use macros from bp-asm.h.
20244 (S): Likewise.
20245 (SIZE): Likewise.
20246 (__mpn_lshift): Do not use BP_SYM.
20247 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20248 (PARMS): Do not use macros from bp-asm.h.
20249 (STR): Likewise.
20250 (CHR): Likewise.
20251 (__memchr): Do not use BP_SYM.
20252 (memchr): Do not use BP_SYM in weak_alias.
20253 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20254 (PARMS): Do not use macros from bp-asm.h.
20255 (BLK2): Likewise.
20256 (LEN): Likewise.
20257 (memcmp): Do not use BP_SYM.
20258 (bcmp): Do not use BP_SYM in weak_alias.
20259 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20260 (PARMS): Do not use macros from bp-asm.h.
20261 (S1): Likewise.
20262 (SIZE): Likewise.
20263 (__mpn_mul_1): Do not use BP_SYM.
20264 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20265 "bp-asm.h".
20266 (PARMS): Do not use macros from bp-asm.h.
20267 (STR): Likewise.
20268 (CHR): Likewise.
20269 (__rawmemchr): Do not use BP_SYM.
20270 (rawmemchr): Do not use BP_SYM in weak_alias.
20271 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20272 (PARMS): Do not use macros from bp-asm.h.
20273 (S): Likewise.
20274 (SIZE): Likewise.
20275 (__mpn_rshift): Do not use BP_SYM.
20276 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20277 (PARMS): Do not use macros from bp-asm.h.
20278 (SIGMSK): Likewise.
20279 (__sigsetjmp): Likewise. Do not use BP_SYM.
20280 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20281 (_start): Do not use BP_SYM.
20282 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20283 (PARMS): Do not use macros from bp-asm.h.
20284 (DEST): Likewise.
20285 (SRC): Likewise.
20286 (__stpcpy): Likewise. Do not use BP_SYM.
20287 (stpcpy): Do not use BP_SYM in weak_alias.
20288 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20289 "bp-asm.h".
20290 (PARMS): Do not use macros from bp-asm.h.
20291 (DEST): Likewise.
20292 (SRC): Likewise.
20293 (LEN): Likewise.
20294 (__stpncpy): Likewise. Do not use BP_SYM.
20295 (stpncpy): Do not use BP_SYM in weak_alias.
20296 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20297 (PARMS): Do not use macros from bp-asm.h.
20298 (STR): Likewise.
20299 (CHR): Likewise.
20300 (strchr): Likewise. Do not use BP_SYM.
20301 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20302 "bp-asm.h".
20303 (PARMS): Do not use macros from bp-asm.h.
20304 (STR): Likewise.
20305 (CHR): Likewise.
20306 (__strchrnul): Likewise. Do not use BP_SYM.
20307 (strchrnul): Do not use BP_SYM in weak_alias.
20308 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20309 "bp-asm.h".
20310 (PARMS): Do not use macros from bp-asm.h.
20311 (STOP): Likewise.
20312 (strcspn): Do not use BP_SYM.
20313 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20314 "bp-asm.h".
20315 (PARMS): Do not use macros from bp-asm.h.
20316 (STR): Likewise.
20317 (STOP): Likewise.
20318 (strpbrk): Likewise. Do not use BP_SYM.
20319 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20320 "bp-asm.h".
20321 (PARMS): Do not use macros from bp-asm.h.
20322 (STR): Likewise.
20323 (CHR): Likewise.
20324 (strrchr): Likewise. Do not use BP_SYM.
20325 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20326 (PARMS): Do not use macros from bp-asm.h.
20327 (SKIP): Likewise.
20328 (strspn): Do not use BP_SYM.
20329 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20330 (PARMS): Do not use macros from bp-asm.h.
20331 (STR): Likewise.
20332 (DELIM): Likewise.
20333 (SAVE): Likewise.
20334 (FUNCTION): Likewise. Do not use BP_SYM.
20335 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20336 aliases.
20337 (strtok_r): Likewise.
20338 (__GI___strtok_r): Likewise.
20339 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20340 (PARMS): Do not use macros from bp-asm.h.
20341 (S1): Likewise.
20342 (S2): Likewise.
20343 (SIZE): Likewise.
20344 (__mpn_sub_n): Do not use BP_SYM.
20345 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20346 "bp-asm.h".
20347 (PARMS): Do not use macros from bp-asm.h.
20348 (S1): Likewise.
20349 (SIZE): Likewise.
20350 (__mpn_submul_1): Do not use BP_SYM.
20351 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20352 <bp-sym.h>.
20353 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20354 and <bp-asm.h>.
20355 (PARMS): Do not use macros from bp-asm.h.
20356 (FLAGS): Likewise.
20357 (PTID): Likewise.
20358 (TLS): Likewise.
20359 (CTID): Likewise.
20360 (__clone): Do not use BP_SYM.
20361 (clone): Do not use BP_SYM in weak_alias.
20362 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20363 and <bp-asm.h>.
20364 (PARMS): Do not use macros from bp-asm.h.
20365 (LEN): Likewise.
20366 (__mmap64): Do not use BP_SYM.
20367 (mmap64): Do not use BP_SYM in weak_alias.
20368 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20369 <bp-sym.h> and <bp-asm.h>.
20370 (PARMS): Do not use macros from bp-asm.h.
20371 (__posix_fadvise64_l64): Do not use BP_SYM.
20372 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20373 (PARMS): Do not use macros from bp-asm.h.
20374 (NSOPS): Likewise.
20375 (semtimedop): Do not use BP_SYM.
20376 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20377 and <bp-asm.h>.
20378
582a3cff
AM
203792013-02-21 Allan McRae <allan@archlinux.org>
20380
20381 * manual/message.texi (Charset conversion in gettext):
20382 Move @end statement to beginning of line.
20383
bab8a695
SP
203842013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20385
80945231
SP
20386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20387 static.
20388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20389 Likewise.
20390
bab8a695
SP
20391 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20392 (denorm): Likewise.
20393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20395
e21d7aa7
AK
203962013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20397
20398 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20399 tail-call to the resolved function if pltexit isn't needed.
20400
4c7a4263
SP
204012013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20402
20403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20404 or Y being zero as being unlikely.
20405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20406 Likewise.
20407
41f49342
CD
204082013-02-20 Carlos O'Donell <carlos@redhat.com>
20409
20410 * manual/nss.texi (System Databases and Name Service Switch):
20411 Remove frobnicate @pxref.
20412
50022a93
TS
204132013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20414
20415 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20416 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20417
08cbd996
PM
204182013-02-20 Petr Machata <pmachata@redhat.com>
20419
20420 * elf/elf.h (R_ARM_TARGET1): New macro.
20421 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20422 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20423 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20424 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20425 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20426 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20427 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20428 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20429 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20430 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20431 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20432 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20433 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20434 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20435 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20436 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20437 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20438 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20439 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20440 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20441 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20442 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20443 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20444 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20445 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20446 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20447 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20448 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20449 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20450 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20451 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20452 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20453 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20454 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20455 (R_ARM_THM_GOT_BREL12): Likewise.
20456 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20457 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20458 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20459 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20460 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20461 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20462 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20463 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20464 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20465
c7b275d6
TS
204662013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20467
20468 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20469 __attribute_used__ to __attribute__ ((unused)).
20470
20cd7fb3
SP
204712013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20472
20473 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20474 powerpc mpa.c.
20475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20476 comment formatting.
20477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20478
92945b52
JM
204792013-02-19 Joseph Myers <joseph@codesourcery.com>
20480
20481 [BZ #13550]
20482 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20483 Remove macro.
20484 (ENTER): Remove both macro definitions.
20485 (LEAVE): Likewise.
20486 (CHECK_BOUNDS_LOW): Likewise.
20487 (CHECK_BOUNDS_HIGH): Likewise.
20488 (CHECK_BOUNDS_BOTH): Likewise.
20489 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20490 (RETURN_BOUNDED_POINTER): Likewise.
20491 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20492 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20493 (POP_ERRNO_LOCATION_RETURN): Likewise.
20494 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20495 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20496 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20497 macros.
20498 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20499 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20500 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20501 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20502 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20503 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20504 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20505 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20506 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20507 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20508 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20509 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20510 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20511 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20512 removed macros.
20513 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20514 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20515 macros.
20516 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20517 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20518 * sysdeps/i386/i586/memset.S (memset): Likewise.
20519 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20520 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20521 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20522 macros.
20523 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20524 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20525 Change uses of L(2) to L(out).
20526 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20527 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20528 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20529 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20530 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20531 removed macros.
20532 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20533 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20534 macros.
20535 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20536 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20537 (RETURN): Do not use macro LEAVE.
20538 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20539 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20540 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20541 * sysdeps/i386/i686/memset.S (memset): Likewise.
20542 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20543 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20544 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20545 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20546 Likewise.
20547 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20548 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20549 L(1_2) and L(1_3) into L(1).
20550 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20551 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20552 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20553 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20554 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20555 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20556 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20557 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20558 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20559 macros.
20560 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20561 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20562 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20563 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20564 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20565 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20566 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20567 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20568 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20569 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20570 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20571 * sysdeps/i386/strspn.S (strspn): Likewise.
20572 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20573 conditional code.
20574 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20575 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20576 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20577 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20578 L(1_3) into L(1_1).
20579 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20580 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20581 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20582 macros.
20583 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20584
2389741a
JJ
205852013-02-19 Jakub Jelinek <jakub@redhat.com>
20586
20587 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20588 macro.
20589
2016b3cd
SP
205902013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20591
e4f22324
SP
20592 * math/atest-exp.c (exp_mpn): Remove ROUND.
20593 * math/atest-exp2.c (exp_mpn): Likewise.
20594 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20595
2016b3cd
SP
20596 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20597 * stdlib/tst-tls-atexit-lib.c: Likewise.
20598 * stdlib/tst-tls-atexit.c: Likewise.
20599
4be9b544
MF
206002013-02-18 Mike Frysinger <vapier@gentoo.org>
20601
20602 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20603 and __attribute_alloc_size__.
20604
2f62b9ee
MF
206052013-02-18 Mike Frysinger <vapier@gentoo.org>
20606
20607 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20608 __attribute_alloc_size__.
20609 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20610 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20611
6ff444c4
MF
206122013-02-18 Mike Frysinger <vapier@gentoo.org>
20613
20614 * include/programs/xmalloc.h: New file.
20615 * catgets/gencat.c: Include it.
20616 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20617 * elf/pldd.c: Likewise.
20618 * iconv/iconv_charmap.c: Likewise.
20619 * iconv/iconvconfig.c: Likewise.
20620 * iconv/strtab.c: Likewise.
20621 * locale/programs/locale.c: Likewise.
20622 * locale/programs/localedef.h: Likewise.
20623 * locale/programs/simple-hash.c: Likewise.
20624 * nscd/nscd.h: Likewise.
20625 * nss/makedb.c: Likewise.
20626 * sysdeps/generic/ldconfig.h: Likewise.
20627
be179c8a
SP
206282013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20629
ba384f6e
SP
20630 * Versions.def: Add GLIBC_2.18.
20631 * include/link.h (struct link_map): New member l_tls_dtor_count.
20632 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20633 (__call_tls_dtors): Likewise.
20634 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20635 __cxa_thread_atexit_impl.
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20637 Likewise.
20638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20639 Likewise.
20640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20641 Likewise.
20642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20643 Likewise.
20644 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20646 Likewise.
20647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20648 Likewise.
20649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20651 Likewise.
20652 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20653 (tests): Add test case tst-tls-atexit.
20654 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20655 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20656 (GLIBC_PRIVATE): Add __call_tls_dtors.
20657 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20658 for libstdc++.
20659 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20660 * stdlib/tst-tls-atexit.c: New test case.
20661 * stdlib/tst-tls-atexit-lib.c: New test case.
20662
ffaa74cf 20663 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20664
be179c8a
SP
20665 * elf/Versions (ld): Add _dl_find_dso_for_object.
20666 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20667 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20668 (dl_open_worker): Use _dl_find_dso_for_object.
20669 * elf/dl-sym.c (do_sym): Likewise.
20670 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20671
f78b5caa
AK
206722013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20673
20674 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20675 Syntactic changes only.
20676 (_dl_runtime_profile): Do a tail-call to the resolved function.
20677
29691210
JM
206782013-02-17 Joseph Myers <joseph@codesourcery.com>
20679
20680 [BZ #13550]
20681 * sysdeps/x86_64/bp-asm.h: Remove file.
20682 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20683 <bp-sym.h> and <bp-asm.h>.
20684 (__clone): Do not use BP_SYM.
20685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20686 <bp-sym.h> and <bp-asm.h>.
20687 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20688 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20689 "bp-asm.h".
20690 (_setjmp): Do not use BP_SYM.
20691 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20692 "bp-asm.h".
20693 (setjmp): Do not use BP_SYM.
20694 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20695 libc_hidden_def.
20696 (mempcpy): Do not use BP_SYM in weak_alias.
20697 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20698 "bp-asm.h".
20699 (strchr): Do not use BP_SYM.
20700 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20701 "bp-asm.h".
20702 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20703 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20704 (_start): Do not use BP_SYM.
20705 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20706 "bp-asm.h".
20707 (strcat): Do not use BP_SYM.
20708 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20709 "bp-asm.h".
20710 (STRCMP): Do not use BP_SYM.
20711 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20712 "bp-asm.h".
20713 (STRCPY): Do not use BP_SYM.
20714 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20715 "bp-asm.h".
20716 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20717 "bp-asm.h".
20718 (FUNCTION): Do not use BP_SYM.
20719 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20720 weak_alias.
20721 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20722
f238fd19
AJ
207232013-02-17 Andreas Jaeger <aj@suse.de>
20724
20725 * time/Versions: Sort entries.
20726 * string/Versions: Likewise.
20727 * resolv/Versions: Likewise.
20728 * posix/Versions: Likewise.
20729 * iconv/Versions: Likewise.
20730 * elf/Versions: Likewise.
20731 * wcsmbs/Versions: Likewise.
20732
bd07f23c 207332013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20734
22af19f9
SP
20735 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20736 loop termination condition.
20737
4709fe76
SP
20738 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20739 variable to calculate EZ.
20740 (__sqr): Likewise.
2d0e0f29
SP
20741
20742 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20743 the lower precision input.
20744
daaa7713
JM
207452013-02-15 Joseph Myers <joseph@codesourcery.com>
20746
20747 [BZ #13550]
20748 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20749 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20750 (run-via-rtld-prefix): Do not handle %-bp tests.
20751 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20752 (all-object-suffixes): Remove .ob.
20753 (bppfx): Remove variable.
20754 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20755 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20756 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20757 [$(build-bounded) = yes] (libtype.ob): Likewise.
20758 * Makerules (elide-routines.ob): Remove variable.
20759 (do-tests-clean): Do not handle *-bp.out.
20760 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20761 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20762 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20763 (tests): Do not include $(tests-bp.out).
20764 (xtests): Do not include $(xtests-bp.out).
20765 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20766 [$(build-bounded) = yes] ($(addprefix
20767 $(objpfx),$(binaries-bounded))): Remove rule.
20768 ($(objpfx)%-bp.out): Remove rule.
20769 * config.make.in (build-bounded): Remove variable.
20770 * crypt/Makefile [$(build-bounded) = yes]
20771 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20772 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20773 append to variable.
20774 [$(build-bounded) = yes] (install-lib): Likewise.
20775 [$(build-bounded) = yes] (generated): Likewise.
20776 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20777 Remove rule.
20778 * intl/Makefile [$(build-bounded) = yes]
20779 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20780 * math/Makefile [$(build-bounded) = yes]
20781 ($(tests:%=$(objpfx)%-bp): Likewise.
20782 * misc/Makefile [$(build-bounded) = yes]
20783 ($(objpfx)tst-tsearch-bp): Likewise.
20784 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20785 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20786 Remove dependency.
20787 * string/Makefile (o-objects.ob): Remove variable.
20788 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20789 (CFLAGS-.ob): Remove variable.
20790 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20791 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20792 both definitions of variable.
20793 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20794 (ASFLAGS-.ob): Remove variable.
20795
e97ed6dd
JM
207962013-02-14 Joseph Myers <joseph@codesourcery.com>
20797
2bdd4ca6
JM
20798 [BZ #13550]
20799 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20800 Remove __BOUNDED_POINTERS__ from condition.
20801 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20802 * string/bits/string2.h [!__NO_STRING_INLINES &&
20803 !__BOUNDED_POINTERS__]: Likewise.
20804 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20805 Likewise.
20806 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20807 Remove conditional code.
20808 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20809 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20810 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20811 condition.
20812
e97ed6dd
JM
20813 [BZ #13550]
20814 * csu/libc-start.c: Do not include <bp-sym.h>.
20815 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20816 * elf/dl-open.c: Do not include <bp-sym.h>.
20817 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20818 * math/fegetenv.c: Do not include <bp-sym.h>.
20819 (fegetenv): Do not use BP_SYM in versioned symbols.
20820 * nptl/sysdeps/pthread/bits/libc-lockP.h
20821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20822 <bp-sym.h>.
20823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20824 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20826 (__pthread_mutex_destroy): Likewise.
20827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20828 (__pthread_mutex_lock): Likewise.
20829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20830 (__pthread_mutex_trylock): Likewise.
20831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20832 (__pthread_mutex_unlock): Likewise.
20833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20834 (__pthread_mutexattr_init): Likewise.
20835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20836 (__pthread_mutexattr_destroy): Likewise.
20837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20838 (__pthread_mutexattr_settype): Likewise.
20839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20840 (__pthread_rwlock_init): Likewise.
20841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20842 (__pthread_rwlock_destroy): Likewise.
20843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20844 (__pthread_rwlock_rdlock): Likewise.
20845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20846 (__pthread_rwlock_tryrdlock): Likewise.
20847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20848 (__pthread_rwlock_wrlock): Likewise.
20849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20850 (__pthread_rwlock_trywrlock): Likewise.
20851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20852 (__pthread_rwlock_unlock): Likewise.
20853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20854 (__pthread_key_create): Likewise.
20855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20856 (__pthread_setspecific): Likewise.
20857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20858 (__pthread_getspecific): Likewise.
20859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20860 Likewise.
20861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20862 (_pthread_cleanup_push_defer): Likewise.
20863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20864 (_pthread_cleanup_pop_restore): Likewise.
20865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20866 (pthread_setcancelstate): Likewise.
20867 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20868 <bp-sym.h>.
20869 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20870 (memchr): Do not use BP_SYM in weak_alias.
20871 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20872 (fegetenv): Do not use BP_SYM in versioned symbols.
20873 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20874 (fesetenv): Do not use BP_SYM in versioned symbols.
20875 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20876 (feupdateenv): Do not use BP_SYM in versioned symbols.
20877 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20878 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20879 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20880 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20881 (open64): Do not use BP_SYM in weak_alias.
20882 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20883 (fegetenv): Do not use BP_SYM in versioned symbols.
20884 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20885 (fesetenv): Do not use BP_SYM in versioned symbols.
20886 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20887 (feupdateenv): Do not use BP_SYM in versioned symbols.
20888 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20889 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20890 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20891 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20892 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20893 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20894 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20895 <bp-sym.h>.
20896 (__libc_start_main): Do not use BP_SYM.
20897
d6752ccd
SP
208982013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20899
cb57ce60
SP
20900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20901 redundant return line.
20902 (norm): Likewise.
20903 (denorm): Likewise.
20904 (dbl_mp): Likewise.
20905 (sub_magnitudes): Likewise.
20906 (__add): Likewise.
20907 (__sub): Likewise.
20908 (__mul): Likewise.
20909 (__inv): Likewise.
20910 (__dvd): Likewise.
20911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20912 (norm): Likewise.
20913 (denorm): Likewise.
20914 (dbl_mp): Likewise.
20915 (sub_magnitudes): Likewise.
20916 (__add): Likewise.
20917 (__sub): Likewise.
20918 (__mul): Likewise.
20919 (__inv): Likewise.
20920 (__dvd): Likewise.
20921
f414520d
SP
20922 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20923 instead of __mul.
20924 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20925 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20926 (cc32): Likewise.
20927
d6752ccd
SP
20928 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20929 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20931 of __mul for squares.
20932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20933 function
20934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20935 Likewise.
20936 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20937 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20938
70d9946a
JM
209392013-02-13 Joseph Myers <joseph@codesourcery.com>
20940
20941 [BZ #13550]
20942 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20943 code.
20944 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20945 prototype or function definition. Rename ubp_* variables and
20946 parameters. Remove argv definitions conditional on
20947 [__BOUNDED_POINTERS__].
20948 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20949 * elf/dl-runtime.c (_dl_fixup): Likewise.
20950 * include/set-hooks.h (RUN_HOOK): Likewise.
20951 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20952 definition.
20953 * string/strcpy.c (strcpy): Do not use __unbounded.
20954 * sysdeps/generic/frame.h (struct layout): Likewise.
20955 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20956 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20957 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20958 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20959 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20960 (__backtrace): Likewise.
20961 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20962 use __ptrvalue.
20963 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20964 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20965 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20966 Likewise.
20967 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20968 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20969 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20970 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20971 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20972 Do not use __unbounded.
20973 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20974 Rename __unboundedrlimits parameter to rlimits in prototype.
20975 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20976 Do not use __unbounded.
20977 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20978 not use __ptrvalue.
20979 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20980 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20981 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20982 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20983 __ptrvalue or __unbounded.
20984 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20985 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20986 use __unbounded.
20987 (__new_msgctl): Do not use __ptrvalue.
20988 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20989 __unbounded.
20990 (__libc_msgrcv): Do not use __ptrvalue.
20991 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20992 startup_info): Do not use __unbounded.
20993 (__libc_start_main): Likewise. Rename ubp_* variables and
20994 parameters. Remove argv definitions conditional on
20995 [__BOUNDED_POINTERS__].
20996 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20997 __ptrvalue.
20998 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20999 use __unbounded.
21000 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21001 or __ptrvalue.
21002 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21003 use __unbounded.
21004 (__new_shmctl): Do not use __ptrvalue.
21005 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21006 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21007 Likewise.
21008 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21009 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21010 (__libc_sigaction): Likewise.
21011 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21012 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21013 Likewise.
21014 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21015
cc7834d6
OB
210162013-02-13 Ondřej Bílka <neleai@seznam.cz>
21017
ffb1ec7b 21018 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
21019
21020 * string/mempcpy.c: Implement by calling memcpy.
21021
bdf02814
SP
210222013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21023
c2af38aa
SP
21024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21025
4e92d59e
SP
21026 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21027 evaluation.
21028
909279a5
SP
21029 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21030 values in the mantissa.
21031
bdf02814
SP
21032 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21033 minimize writes to Z.
21034 (sub_magnitudes): Simplify code a bit.
21035
cd525923
RM
210362013-02-12 Roland McGrath <roland@hack.frob.com>
21037
21038 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21039 from the message. The linker prefixes all warnings with that already.
21040
7e2f0d2d
AS
210412013-02-12 Andreas Schwab <schwab@suse.de>
21042
a445af0b
AS
21043 [BZ #15078]
21044 * posix/regexec.c (extend_buffers): Add parameter min_len.
21045 (check_matching): Pass minimum needed length.
21046 (clean_state_log_if_needed): Likewise.
21047 (get_subexp): Likewise.
21048 * posix/Makefile (tests): Add bug-regex34.
21049 (bug-regex34-ENV): Define.
21050 * posix/bug-regex34.c: New file.
21051
7e2f0d2d
AS
21052 [BZ #11561]
21053 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21054 elements compare against the byte sequence of it, not its name.
21055 * posix/Makefile (tests): Add bug-regex35.
21056 (bug-regex35-ENV): Define.
21057 * posix/bug-regex35.c: New file.
21058
a175b684
TV
210592013-02-11 Tom de Vries <tom@codesourcery.com>
21060
21061 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21062 comment.
21063 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21064 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21065 (CHECK_EOL): Add undef.
21066
310998fe 210672013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
21068
21069 * bits/stdlib-bsearch.h: New file.
21070 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 21071 * stdlib/stdlib.h: Likewise.
41eda41d 21072
8ded91fb
RM
210732013-02-11 Roland McGrath <roland@hack.frob.com>
21074
21075 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21076 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21077 declaration.
21078 * manual/search.texi (Array Search Function): Add missing const in
21079 lfind prototype.
21080 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21081 declaration to use rlim_t.
21082 (Basic Scheduling Functions): Remove erroneous const from
21083 sched_getparam prototype. Remove erroneous * from
21084 sched_get_priority_max and sched_get_priority_min prototypes.
21085 (Resource Usage): Fix summary @comment on vtimes to refer to
21086 sys/vtimes.h rather than vtimes.h.
21087 Add missing *s in vtimes prototype.
21088 (Limits on Resources): Fix ulimit prototype to return long int.
21089 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21090 prototypes to use long int rather than double.
21091 (BSD Random): Fix initstate and setstate to use char *, not void *.
21092 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21093 prototype to make second argument 'struct aiocb64 *const[]'.
21094 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21095 (Status of AIO Operations): Remove erroneous const in aio_return and
21096 aio_return64 prototypes.
21097 (Synchronizing I/O): Fix sync prototype to return void.
21098 * manual/startup.texi (Suboptions): Remove an erroneous const in
21099 getsubopt prototype.
21100 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21101 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21102 use size_t rather than int.
21103 (Scanning All Users): Likewise for getpwent_r.
21104 (Setting Groups): Add missing const to setgroups prototype.
21105 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21106 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21107 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21108 'const void *' rather than 'const char *'.
21109 (Host Address Functions): Likewise for inet_ntop.
21110 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21111 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21112 ssize_t for return value.
21113 (Sending Data): Likewise for send, sendto, sendmsg.
21114 (Socket Option Functions): Add a missing const in setsockopt prototype.
21115 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21116 use wchar_t for the argument.
21117 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21118 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21119 take no arguments.
21120 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21121 double/float/long double for second argument.
21122 Fix return types of significand, significandf, significandl.
21123 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21124 argument in fchmod prototype.
21125 (File Owner): Use uid_t and gid_t in fchown prototype.
21126 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21127 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21128 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21129 use 'const struct dirent **' as argument types to CMP function pointer
21130 argument.
21131 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21132 (File Times): Fix summary magic @comment for struct utimbuf and utime
21133 to refer to utime.h, not time.h.
21134 * manual/string.texi (Argz Functions): Add missing const in
21135 argz_extract and argz_next prototypes.
21136 (Finding Tokens in a String): Likewise for basename.
21137 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21138 (Copying and Concatenation): Fix typo in wmemmove prototype.
21139 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21140 (Signal Stack): Remove erroneous const in sigstack prototype.
21141 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21142 prototype.
21143 (Simple Calendar Time): Likewise for stime.
21144 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21145 prototype.
21146 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21147 say sys/sysctl.h instead.
21148 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21149 and vsyslog prototypes.
21150
fe77fe6d
TV
211512013-02-11 Tom de Vries <tom@codesourcery.com>
21152
21153 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21154 Remove.
21155
3a09b620
RM
211562013-02-11 Roland McGrath <roland@hack.frob.com>
21157
21158 * misc/sys/mman.h: Fix typo in mremap comment.
21159
550a0b89
RM
211602013-02-08 Roland McGrath <roland@hack.frob.com>
21161
21162 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21163 the '\0' terminator.
21164
a2da1673
JM
211652013-02-08 Joseph Myers <joseph@codesourcery.com>
21166
21167 [BZ #13550]
21168 * debug/segfault.c: Don't include <bp-checks.h>.
21169 * sysdeps/generic/bp-checks.h: Remove file.
21170 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21171 (__GETDENTS): Don't use CHECK_N.
21172 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21173 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21174 (__getgroups): Don't use CHECK_N.
21175 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21176 (setgroups): Don't use CHECK_N.
21177 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21178 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21179 (__libc_msgrcv): Don't use CHECK_N.
21180 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21181 (__libc_msgsnd): Don't use CHECK_N.
21182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21183 <bp-checks.h>.
21184 (__libc_pread): Don't use CHECK_N.
21185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21186 include <bp-checks.h>.
21187 (__libc_pread64): Don't use CHECK_N.
21188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21189 include <bp-checks.h>.
21190 (__libc_pwrite): Don't use CHECK_N.
21191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21192 include <bp-checks.h>.
21193 (__libc_pwrite64): Don't use CHECK_N.
21194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21195 <bp-checks.h>.
21196 (__libc_pread): Don't use CHECK_N.
21197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21198 include <bp-checks.h>.
21199 (__libc_pread64): Don't use CHECK_N.
21200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21201 include <bp-checks.h>.
21202 (__libc_pwrite): Don't use CHECK_N.
21203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21204 include <bp-checks.h>.
21205 (__libc_pwrite64): Don't use CHECK_N.
21206 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21207 (do_pread): Don't use CHECK_N.
21208 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21209 (do_pread64): Don't use CHECK_N.
21210 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21211 (do_pwrite): Don't use CHECK_N.
21212 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21213 (do_pwrite64): Don't use CHECK_N.
21214 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21215 (__libc_readv): Don't use CHECK_N.
21216 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21217 (semop): Don't use CHECK_N.
21218 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21219 <bp-checks.h>.
21220 (semtimedop): Don't use CHECK_N.
21221 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21222 (__libc_pread): Don't use CHECK_N.
21223 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21224 <bp-checks.h>.
21225 (__libc_pread64): Don't use CHECK_N.
21226 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21227 <bp-checks.h>.
21228 (__libc_pwrite): Don't use CHECK_N.
21229 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21230 <bp-checks.h>.
21231 (__libc_pwrite64): Don't use CHECK_N.
21232 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21233 <bp-checks.h>.
21234 (__libc_msgrcv): Don't use CHECK_N.
21235 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21236 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21237 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21238 (__libc_writev): Don't use CHECK_N.
21239
b84660a8
RM
212402013-02-08 Roland McGrath <roland@hack.frob.com>
21241
7f3e75f8
RM
21242 * string/strcpy.c: Removed unused variable.
21243
b84660a8
RM
21244 * Makeconfig (+sysdep-includes): Define with := rather than =.
21245 Use an existing include/ subdir of each sysdeps dir before it.
21246
471514d3
CD
212472013-02-08 Carlos O'Donell <carlos@redhat.com>
21248
21249 * nscd/connection.c (register_traced_file): Comment function.
21250 [HAVE_INOTIFY] (union __inev): Define.
21251 [HAVE_INOTIFY] (inotify_check_files): New function.
21252 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21253 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21254 clear_db_cache.
21255 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21256
b2d3c3be
CD
212572013-02-08 Carlos O'Donell <carlos@redhat.com>
21258
21259 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21260 loaded if not already and that a failure is permanent.
21261
b39949d2
CD
212622013-02-08 Carlos O'Donell <carlos@redhat.com>
21263
ddacd1db 21264 [BZ #15006]
b39949d2
CD
21265 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21266 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21267
b2c9eff4
JM
212682013-02-08 Joseph Myers <joseph@codesourcery.com>
21269
f3aae3f3
JM
21270 [BZ #13550]
21271 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21272 (CHECK_1_NULL_OK): Likewise.
21273 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21274 (__fxstat): Do not use CHECK_1.
21275 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21276 <bp-checks.h>.
21277 (___fxstat64): Do not use CHECK_1.
21278 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21279 <bp-checks.h>.
21280 (__fxstatat): Do not use CHECK_1.
21281 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21282 <bp-checks.h>.
21283 (__fxstatat64): Do not use CHECK_1.
21284 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21285 <bp-checks.h>.
21286 (__fxstat): Do not use CHECK_1.
21287 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21288 <bp-checks.h>.
21289 (__fxstatat): Do not use CHECK_1.
21290 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21291 <bp-checks.h>.
21292 (__getresgid): Do not use CHECK_1.
21293 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21294 <bp-checks.h>.
21295 (__getresuid): Do not use CHECK_1.
21296 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21297 <bp-checks.h>.
21298 (__lxstat): Do not use CHECK_1.
21299 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21300 <bp-checks.h>.
21301 (__old_msgctl): Do not use CHECK_1.
21302 (__new_msgctl): Likewise.
21303 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21304 <bp-checks.h>.
21305 (__new_setrlimit): Do not use CHECK_1.
21306 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21307 <bp-checks.h>.
21308 (__old_shmctl): Do not use CHECK_1.
21309 (__new_shmctl): Likewise.
21310 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21311 <bp-checks.h>.
21312 (__xstat): Do not use CHECK_1.
21313 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21314 (__lxstat): Do not use CHECK_1.
21315 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21316 <bp-checks.h>.
21317 (___lxstat64): Do not use CHECK_1.
21318 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21319 (__old_msgctl): Do not use CHECK_1.
21320 (__new_msgctl): Likewise.
21321 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21322 <bp-checks.h>.
21323 (__gettimeofday): Do not use CHECK_1.
21324 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21325 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21326 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21327 <bp-checks.h>.
21328 (__gettimeofday): Do not use CHECK_1.
21329 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21330 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21331 (__new_shmctl): Do not use CHECK_1.
21332 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21333 <bp-checks.h>.
21334 (do_sigtimedwait): Do not use CHECK_1.
21335 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21336 <bp-checks.h>.
21337 (do_sigwaitinfo): Do not use CHECK_1.
21338 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21339 <bp-checks.h>.
21340 (msgctl): Do not use CHECK_1.
21341 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21342 <bp-checks.h>.
21343 (shmctl): Do not use CHECK_1.
21344 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21345 (ustat): Do not use CHECK_1.
21346 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21347 <bp-checks.h>.
21348 (__fxstat): Do not use CHECK_1.
21349 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21350 <bp-checks.h>.
21351 (__fxstatat): Do not use CHECK_1.
21352 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21353 <bp-checks.h>.
21354 (__lxstat): Do not use CHECK_1.
21355 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21356 <bp-checks.h>.
21357 (__xstat): Do not use CHECK_1.
21358 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21359 (__xstat): Do not use CHECK_1.
21360 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21361 (___xstat64): Do not use CHECK_1.
21362
b2c9eff4
JM
21363 [BZ #13550]
21364 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21365 definitions.
21366 (CHECK_BOUNDS_HIGH): Likewise.
21367 * string/strcpy.c: Do not include <bp-checks.h>.
21368 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21369
f1d70dad
RM
213702013-02-07 Roland McGrath <roland@hack.frob.com>
21371
21372 * nscd/nscd-client.h (__nscd_drop_map_ref):
21373 Add __attribute__ ((unused)).
21374 * nis/nss-nisplus.h (niserr2nss): Likewise.
21375
21376 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21377 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21378
21379 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21380 Remove inline keyword.
21381 * include/rounding-mode.h (round_away): Likewise.
21382 * libio/wfileops.c (adjust_wide_data): Likewise.
21383 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21384 (__m128i_strloadu_tolower): Likewise.
21385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21386 (__m128i_strloadu_tolower): Likewise.
21387 * time/mktime.c (ydhms_diff): Likewise.
21388 * locale/elem-hash.h (elem_hash): Likewise.
21389 * locale/setlocale.c (setdata): Likewise.
21390 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21391 (re_string_wchar_at): Likewise.
21392 (bitset_not, bitset_merge, bitset_mask): Likewise.
21393 [!(__GNUC__ > 3)] (inline): Remove macro.
21394 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21395 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21396 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21397 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21398 * string/memcmp.c (memcmp_bytes): Likewise.
21399 * locale/programs/locarchive.c (compute_hashval): Likewise.
21400 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21401 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21402 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21403 * nss/getent.c (print_rpc, print_protocols): Likewise.
21404 (print_passwd, print_group, print_aliases): Likewise.
21405 * nis/nss-nisplus.h (niserr2nss): Likewise.
21406 * nscd/connections.c (restart_p): Likewise.
21407 Change return type to bool.
21408
eab55bfb
RM
214092013-02-05 Roland McGrath <roland@hack.frob.com>
21410
7bd642f5
RM
21411 * Makeconfig (all-Depend-files): Add existing
21412 $(sorted-subdirs:=/Depend) files.
21413 (all-subdirs): Remove nss.
21414 * sysdeps/unix/inet/Subdirs: Add it here instead.
21415 * hesiod/Depend: New file.
21416
573c29b2
RM
21417 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21418 instead of calling alloca.
21419
b2e25af0
RM
21420 * io/lseek.c (__lseek): Rename to __libc_lseek.
21421 Define __lseek as an alias.
21422
eab55bfb
RM
21423 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21424
9a0d1941
CD
214252013-02-04 Carlos O'Donell <carlos@redhat.com>
21426
21427 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21428 else clause and remove check for non-standard endianness.
21429
b83bbec4
DM
214302013-02-04 David S. Miller <davem@davemloft.net>
21431
21432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21433
6277fdab
JM
214342013-02-04 Joseph Myers <joseph@codesourcery.com>
21435
21436 [BZ #13550]
21437 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21438 (__ubp_memchr): Remove prototype.
21439 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21440 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21441 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21442 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21443 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21444 Remove alias.
21445 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21446 (__ubp_memchr): Likewise.
21447 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21448 (__ubp_memchr): Likewise.
21449 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21450 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21451 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21452 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21453 CHECK_STRING.
21454 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21455 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21456 (__getcwd): Do not use CHECK_STRING.
21457 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21458 <bp-checks.h>.
21459 (__real_chown): Do not use CHECK_STRING.
21460 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21461 <bp-checks.h>.
21462 (fchownat): Do not use CHECK_STRING.
21463 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21464 CHECK_STRING.
21465 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21466 <bp-checks.h>.
21467 (__lchown): Do not use CHECK_STRING.
21468 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21469 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21470 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21471 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21473 include <bp-checks.h>.
21474 (truncate64): Do not use CHECK_STRING.
21475 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21476 <bp-checks.h>.
21477 (__real_chown): Do not use CHECK_STRING.
21478 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21479 <bp-checks.h>.
21480 (__lchown): Do not use CHECK_STRING.
21481 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21482 <bp-checks.h>.
21483 (__chown): Do not use CHECK_STRING.
21484 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21485 <bp-checks.h>.
21486 (truncate64): Do not use CHECK_STRING.
21487 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21488 Likewise.
21489 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21490 (__xmknod): Do not use CHECK_STRING.
21491 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21492 <bp-checks.h>.
21493 (__xmknodat): Do not use CHECK_STRING.
21494 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21495 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21496
903ae060
AS
214972013-02-04 Andreas Schwab <schwab@suse.de>
21498
21499 [BZ #14142]
21500 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21501 * include/netdb.h: Likewise for h_errno.
21502 * elf/tst-stackguard1.c: Include <tls.h>.
21503
542f9466
JK
215042013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21505
21506 * elf/link.h (struct link_map): Extend the l_addr comment.
21507 * include/link.h (struct link_map): Likewise.
21508
e782a927
JM
215092013-02-01 Joseph Myers <joseph@codesourcery.com>
21510
21511 [BZ #13550]
21512 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21513 (BOUNDED_1): Remove macro.
21514 * debug/backtrace.c: Don't include <bp-checks.h>.
21515 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21516 (__backtrace): Likewise.
21517 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21518 <bp-checks.h>.
21519 (__backtrace): Don't use BOUNDED_1.
21520 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21521 <bp-checks.h>.
21522 (__backtrace): Don't use BOUNDED_1.
21523 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21524 (__backtrace): Don't use BOUNDED_1.
21525 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21526 (shmat): Don't use BOUNDED_N.
21527
8cf28c5e
JM
215282013-01-31 Joseph Myers <joseph@codesourcery.com>
21529
3a7ac8a0
JM
21530 [BZ #13550]
21531 * sysdeps/generic/bp-start.h: Remove file.
21532 * csu/libc-start.c: Don't include <bp-start.h>.
21533 (LIBC_START_MAIN): Set up __environ directly instead of using
21534 INIT_ARGV_and_ENVIRON.
21535 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21536 <bp-start.h>.
21537
f3499f95
JM
21538 [BZ #13550]
21539 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21540 definitions.
21541 (CHECK_FCNTL): Likewise.
21542 (CHECK_N_PAGES): Likewise.
21543
32a45bea
JM
21544 [BZ #13550]
21545 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21546 definitions.
21547 (CHECK_SIGSET_NULL_OK): Likewise.
21548 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21549 <bp-checks.h>.
21550 (sigpending): Don't use CHECK_SIGSET.
21551 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21552 <bp-checks.h>.
21553 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21554 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21555 <bp-checks.h>.
21556 (do_sigsuspend): Don't use CHECK_SIGSET.
21557 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21558 use CHECK_SIGSET.
21559 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21560 (do_sigwait): Don't use CHECK_SIGSET.
21561 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21562 use CHECK_SIGSET.
21563 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21564 include <bp-checks.h>.
21565 (sigpending): Don't use CHECK_SIGSET.
21566 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21567 include <bp-checks.h>.
21568 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21569 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21570 <bp-checks.h>.
21571 (sigpending): Don't use CHECK_SIGSET.
21572 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21573 <bp-checks.h>.
21574 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21575
2e8a5c8c
JM
21576 [BZ #13550]
21577 * sysdeps/generic/bp-semctl.h: Remove file.
21578 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21579 <bp-checks.h> and <bp-semctl.h>.
21580 (__old_semctl): Don't use CHECK_SEMCTL.
21581 (__new_semctl): Likewise.
21582 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21583 and <bp-semctl.h>.
21584 (__old_semctl): Don't use CHECK_SEMCTL.
21585 (__new_semctl): Likewise.
21586 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21587 <bp-checks.h> and <bp-semctl.h>.
21588 (__old_semctl): Don't use CHECK_SEMCTL.
21589 (__new_semctl): Likewise.
21590 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21591 <bp-checks.h> and <bp-semctl.h>.
21592 (semctl): Don't use CHECK_SEMCTL.
21593
c2d54929
JM
21594 [BZ #13550]
21595 * Makerules (elide-bp-thunks): Remove variable.
21596 (elide-routines.oS): Don't use $(elide-bp-thunks).
21597 (elide-routines.os): Likewise.
21598 (elide-routines.o): Likewise.
21599 (elide-routines.op): Likewise.
21600 (elide-routines.og): Likewise.
21601 (objects): Don't use $(bp-thunks).
21602 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21603 include.
21604 (common-generated): Do not add s-proto-bp.d.
21605 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21606 (int): Likewise.
21607 (typ): Likewise.
21608 Do not generate makefile rules for bounded-pointer thunks.
21609 * sysdeps/generic/bp-thunks.h: Remove file.
21610 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21611 * sysdeps/unix/s-proto-bp.S: Likewise.
21612
8cf28c5e
JM
21613 [BZ #15062]
21614 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21615 parts of result separately when argument is not close to line from
21616 -i to i and one part of argument is small.
21617 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21618 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21619 * math/libm-test.inc (cacos_test): Add more tests.
21620 (casin_test): Likewise.
21621 (casinh_test): Likewise.
21622 * sysdeps/i386/fpu/libm-test-ulps: Update.
21623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21624
c4e33b8d
DM
216252013-01-31 David S. Miller <davem@davemloft.net>
21626
21627 * po/de.po: Update from translation team.
21628
3b60b421
MK
216292013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21630
21631 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21632
bb931195
TS
216332013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21634
b5a5da23
TS
21635 * configure.in (_AC_PROG_CC_C89): New definition.
21636 * configure: Regenerate.
21637
bb931195
TS
21638 * configure.in (AC_PROG_CPP): New definition.
21639 * configure: Regenerate.
21640
8c53a12c
JM
216412013-01-23 Joseph Myers <joseph@codesourcery.com>
21642
21643 * debug/tst-backtrace.h: New file.
21644 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21645 (ret): Remove variable.
21646 (x): Likewise.
21647 (FAIL): Remove macro.
21648 (NO_INLINE): Likewise.
21649 (fn1): Use match function instead of strstr.
21650 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21651 (ret): Remove variable.
21652 (x): Likewise.
21653 (FAIL): Remove macro.
21654 (NO_INLINE): Likewise.
21655 (fn): Use match function instead of strstr.
21656 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21657 (ret): Remove variable.
21658 (x): Likewise.
21659 (FAIL): Remove macro.
21660 (NO_INLINE): Likewise.
21661 (handle_signal): Use match function instead of strstr.
21662 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21663 (ret): Remove variable.
21664 (x): Likewise.
21665 (FAIL): Remove macro.
21666 (NO_INLINE): Likewise.
21667 (handle_signal): Use match function instead of strstr.
21668
4858fa2a
RM
216692013-01-23 Roland McGrath <roland@hack.frob.com>
21670
21671 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21672
bae8e7f5
DM
216732013-01-23 David S. Miller <davem@davemloft.net>
21674
21675 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21676 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21677 argument of CAS if possible.
21678 * sysdeps/sparc/sparc64/bits/atomic.h
21679 (__arch_compare_and_exchange_val_32_acq): Likewise.
21680 (__arch_compare_and_exchange_val_64_acq): Likewise.
21681
9cbbc4ae
PT
216822013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21683
21684 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21685 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21686 Include <limits.h>.
67b3f58c 21687 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21688
5655a0b5
AC
216892013-01-23 Adam Conrad <adconrad@0c3.net>
21690
21691 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21692 (LDFLAGS-tst-array5): Likewise.
21693
052aff95
JM
216942013-01-23 Joseph Myers <joseph@codesourcery.com>
21695
21696 [BZ #15036]
21697 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21698 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21699 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21700 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21701
7c1e01aa
DM
217022013-01-21 David S. Miller <davem@davemloft.net>
21703
21704 * sysdeps/sparc/backtrace.c: New file.
21705 * sysdeps/sparc/sparc32/backtrace.h: New file.
21706 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21707 * sysdeps/sparc/sparc64/backtrace.h: New file.
21708 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21709 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21710 -funwind-tables.
21711
ab087e0a
AS
217122013-01-21 Andreas Schwab <schwab@suse.de>
21713
21714 [BZ #15020]
21715 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21716 closed its stdout.
21717
ed689c2f
AS
217182013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21719
21720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21721 "mpa2.h".
21722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21723
31d470ac
JM
217242013-01-18 Joseph Myers <joseph@codesourcery.com>
21725 Mark Mitchell <mark@codesourcery.com>
21726 Tom de Vries <tom@codesourcery.com>
21727 Paul Pluzhnikov <ppluzhnikov@google.com>
21728
21729 * debug/tst-backtrace2.c: New file.
21730 * debug/tst-backtrace3.c: Likewise.
21731 * debug/tst-backtrace4.c: Likewise.
21732 * debug/tst-backtrace5.c: Likewise.
21733 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21734 (CFLAGS-tst-backtrace3.c): Likewise.
21735 (CFLAGS-tst-backtrace4.c): Likewise.
21736 (CFLAGS-tst-backtrace5.c): Likewise.
21737 (LDFLAGS-tst-backtrace2): Likewise.
21738 (LDFLAGS-tst-backtrace3): Likewise.
21739 (LDFLAGS-tst-backtrace4): Likewise.
21740 (LDFLAGS-tst-backtrace5): Likewise.
21741 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21742 tst-backtrace4 and tst-backtrace5.
21743
90567f30 217442013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21745 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21746
21747 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21748 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21749 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21750 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21752 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21753 "+r" and remove output regs list as redundant. Add explicit inline
21754 asm to specify register of return val to work around compiler codegen
21755 bug. Remove (int) cast on return value. Add return type parameter to
21756 use in macro so that this macro does not truncate return value for
21757 64-bit values.
21758 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21759 pass to INTERNAL_VSYSCALL_NCS.
21760 (INLINE_VSYSCALL): Add 'long int' as return type to
21761 INTERNAL_VSYSCALL_NCS macro invocation.
21762 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21763 INTERNAL_VSYSCALL_NCS macro invocation.
21764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21765
d3b9ea61
SP
217662013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21767
0b57daeb
SP
21768 [BZ #14496]
21769 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21770 Fix application of SIMD FP exception mask.
21771
caa99d06
SP
21772 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21773 mp_no from a power of two.
21774 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21775 __mpexp_twomm1. Use __pow_mp.
21776
d3b9ea61
SP
21777 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21778 multiplication.
21779
1dbaee3c
DM
217802013-01-17 David S. Miller <davem@davemloft.net>
21781
21782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21783
728d7b43
JM
217842013-01-17 Joseph Myers <joseph@codesourcery.com>
21785
21786 [BZ #15023]
21787 * include/complex.h: Condition contents on [!_COMPLEX_H].
21788 (__kernel_casinhf): New prototype.
21789 (__kernel_casinh): Likewise.
21790 (__kernel_casinhl): Likewise.
21791 * math/Makefile (libm_calls): Add k_casinh.
21792 * math/k_casinh.c: New file.
21793 * math/k_casinhf.c: Likewise.
21794 * math/k_casinhl.c: Likewise.
21795 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21796 finite nonzero arguments.
21797 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21798 finite nonzero arguments.
21799 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21800 finite nonzero arguments.
21801 * math/s_casinh.c: Do not include <float.h>.
21802 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21803 * math/s_casinhf.c: Do not include <float.h>.
21804 (__casinhf): Move code for finite nonzero arguments to
21805 k_casinhf.c.
21806 * math/s_casinhl.c: Do not include <float.h>.
21807 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21808 redefine.
21809 (__casinhl): Move code for finite nonzero arguments to
21810 k_casinhl.c.
21811 * math/libm-test.inc (cacos_test): Add more tests.
21812 * sysdeps/i386/fpu/libm-test-ulps: Update.
21813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21814
2a26ef3a
PT
218152013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21816
21817 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21818 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21819 [!HAVE_MREMAP]: Remove [defined linux] case.
21820 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21821
a897655d
SP
218222013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21823
21824 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21825
881ebe89 218262013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21827
21828 * elf/elf.h (R_386_SIZE32): New relocation.
21829 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21830 R_386_SIZE32.
21831 (elf_machine_rela): Likewise.
21832 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21833 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21834
59981e9b
JM
218352013-01-17 Joseph Myers <joseph@codesourcery.com>
21836
21837 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21838 (FP_FAST_FMA): Do not define.
21839 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21840 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21841 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21842 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21843 !_SOFT_FLOAT]: Likewise.
21844 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21845 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21846 value.
21847 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21848 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21849 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21850 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21851 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21852 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21853 file.
21854
cfa8054f
AS
218552013-01-16 Andreas Schwab <schwab@suse.de>
21856
21857 [BZ #14327]
21858 * include/stdlib.h (__mktemp): Add declaration.
21859 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21860 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21861
dd930cc5
SP
218622013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21863
881ebe89
SP
21864 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21865 definitions.
21866 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21867 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21868 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21869 definitions here.
21870 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21871 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21872 definitions.
21873 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21874 and ONE.
21875 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21876 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21877 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21878 definitions.
21879 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21880 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21881 definitions.
21882 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21883
dd930cc5
SP
21884 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21885
c19a9f89
DM
218862013-01-15 David S. Miller <davem@davemloft.net>
21887
1aa61767
DM
21888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21889 trunc{,f} to libm-sysdep_routes.
21890 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21892 file.
21893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21895 file.
21896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21897 file.
21898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21900 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21901 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21902 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21903 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21904 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21905 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21906
c42d5e98
DM
21907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21908 nearbyint{,f} to libm-sysdep_routes.
21909 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21911 New file.
21912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21913 file.
21914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21915 New file.
21916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21917 file.
21918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21920 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21921 file.
21922 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21923 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21924 file.
21925 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21926 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21927 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21928
c19a9f89
DM
21929 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21930 libc_feholdexcept and libc_fesetenv.
21931
357679d2
MF
219322013-01-15 Mike Frysinger <vapier@gentoo.org>
21933
21934 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21935
65a82e3d
DM
219362013-01-14 David S. Miller <davem@davemloft.net>
21937
8b954ab9
DM
21938 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21939 (SPARC_ASM_VIS2_IFUNC): Likewise.
21940 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21942 use of 'siam' instruction.
21943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21944 Likewise.
21945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21946 Likewise.
21947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21948 Likewise.
21949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21954 file.
21955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21956 file.
21957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21958 file.
21959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21960 file.
21961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21966 new VIS2 routines.
21967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21970 Likewise.
21971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21976 routines to libm-sysdep_routines.
21977 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21978
65a82e3d
DM
21979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21980 fdim/fdimf to libm-sysdep_routines.
21981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21982 file.
21983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21985 file.
21986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21989 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21990 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21991 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21992 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21993
e34ab705
SP
219942013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21995
2a91b573
SP
21996 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21997 to optimize copies.
21998
1066a534
SP
21999 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22002
e34ab705
SP
22003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22004 local variable MPTWO.
22005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22006 Likewise.
22007
aba5e596
MF
220082013-01-13 Mike Frysinger <vapier@gentoo.org>
22009
22010 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22011 GLOB_NOESCAPE.
22012
e557e9e5
MF
220132013-01-13 Mike Frysinger <vapier@gentoo.org>
22014
22015 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22016
0428cec9
MF
220172013-01-13 Mike Frysinger <vapier@gentoo.org>
22018
22019 * manual/pattern.texi (glob_t): Document gl_flags.
22020 (glob64_t): Likewise.
22021
8794a964
DM
220222013-01-11 David S. Miller <davem@davemloft.net>
22023
66438c3f
RM
22024 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22025 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22026 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
22027 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22028 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22029 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22030 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22031 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22032 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22033 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22034 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22035 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22036 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22037
4ae4244d
DM
22038 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22039 sparc V9 rather than using V8 code.
22040 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22041 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22042
8794a964
DM
22043 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22044 Move to...
22045 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22046 Here.
22047
6270516e
RM
220482013-01-11 Roland McGrath <roland@hack.frob.com>
22049
22050 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22051 not in the main loop.
22052 * configure: Regenerated.
22053
6a57d931
JM
220542013-01-11 Joseph Myers <joseph@codesourcery.com>
22055
22056 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22057 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22058 to just #else.
22059 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22060 [!__GLIBC_HAVE_LONG_LONG] case.
22061 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22062 condition to just #else.
22063 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22064 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22065 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22066 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22067 unconditional.
22068 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22069 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22070 #elif condition to just #else.
22071 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22072 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22073 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22074 #elif condition to just #else.
22075
0e8529e9
SE
220762013-01-11 Steve Ellcey <sellcey@mips.com>
22077
22078 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22079 (EF_MIPS_ARCH_64): Fix value.
22080 (EF_MIPS_ARCH_32R2): New.
22081 (EF_MIPS_ARCH_64R2): New.
22082
740b3dbe
L
220832013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22084
22085 * Makeconfig (+link-pie-before-libc): New.
22086 (+link-pie-after-libc): Likewise.
22087 (+link-pie-tests): Likewise.
22088 (+link-pie): Rewritten.
22089 (link-before-libc): Remove $(config-LDFLAGS).
22090 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22091 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22092 (config-LDFLAGS): Renamed to ...
22093 (rtld-LDFLAGS): This.
22094 (rtld-tests-LDFLAGS): New macro.
22095 (link-libc-rpath-link): Likewise.
22096 (link-libc-tests-rpath-link): Likewise.
22097 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22098 (link-libc): Prepand $(link-libc-rpath-link).
22099 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22100 (test-program-prefix): New macro.
22101 (test-via-rtld-prefix): Likewise.
22102 (test-program-cmd): Likewise.
22103 (host-test-program-cmd): Likewise.
22104 * Makefile ($(common-objpfx)testrun.sh): Replace
22105 $(run-program-prefix) with $(test-program-prefix).
22106 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22107 $(rtld-LDFLAGS).
22108 ($(common-objpfx)shlib.lds): Likewise.
22109 (build-module-helper): Likewise.
22110 ($(common-objpfx)format.lds): Likewise.
22111 * Rules (binaries-pie-tests): New.
22112 (binaries-pie-notests): Likewise.
22113 (binaries-pie): Rewritten.
22114 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22115 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22116 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22117 (make-test-out): Replace $(host-built-program-cmd) with
22118 $(host-test-program-cmd).
22119 * config.make.in (build-hardcoded-path-in-tests): New variable.
22120 * configure.in (--enable-hardcoded-path-in-tests): New configure
22121 option.
22122 (hardcoded_path_in_tests): New AC_SUBST.
22123 * configure: Regenerated.
22124 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22125 $(built-program-cmd) with $(test-program-cmd).
22126 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22127 (test_program_cmd): This.
22128 * elf/Makefile ($(objpfx)order.out): Run test with
22129 $(test-program-prefix).
22130 ($(objpfx)order2.out): Likewise.
22131 ($(objpfx)tst-initorder.out): Likewise.
22132 ($(objpfx)tst-initorder2.out): Likewise.
22133 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22134 $(test-program-cmd).
22135 ($(objpfx)tst-array1-static.out): Likewise.
22136 ($(objpfx)tst-array2.out): Likewise.
22137 ($(objpfx)tst-array3.out): Likewise.
22138 ($(objpfx)tst-array4.out): Likewise.
22139 ($(objpfx)tst-array5.out): Likewise.
22140 ($(objpfx)tst-array5-static.out): Likewise.
22141 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22142 $(test-program-cmd).
22143 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22144 $(run-program-prefix) with $(test-program-prefix).
22145 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22146 (test_program_prefix): This.
22147 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22148 $(run-program-prefix) with $(test-program-prefix).
22149 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22150 (test_program_prefix): This.
22151 * iconvdata/tst-tables.sh: Likewise.
22152 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22153 $(run-program-prefix) with $(test-program-prefix).
22154 ($(objpfx)tst-translit.out): Likewise.
22155 ($(objpfx)tst-gettext2.out): Likewise.
22156 ($(objpfx)tst-gettext4.out): Likewise.
22157 ($(objpfx)tst-gettext6.out): Likewise.
22158 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22159 (test_program_prefix): This.
22160 * intl/tst-gettext2.sh: Likewise.
22161 * intl/tst-gettext4.sh Likewise.
22162 * intl/tst-gettext6.sh: Likewise.
22163 * intl/tst-translit.sh: Likewise.
22164 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22165 with $(test-program-cmd).
22166 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22167 $(run-program-prefix) with $(test-program-prefix).
22168 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22169 (test_program_prefix): This.
22170 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22171 $(run-program-prefix) with $(test-program-prefix).
22172 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22173 (test_program_prefix): This.
22174 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22175 * posix/Makefile ($(objpfx)globtest.out): Replace
22176 $(run-via-rtld-prefix) and $(test-wrapper) with
22177 $(test-program-prefix) and $(test-via-rtld-prefix).
22178 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22179 $(test-program-prefix).
22180 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22181 $(host-test-program-cmd).
22182 (tst-spawn-ARGS): Likewise.
22183 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22184 $(test-program-prefix).
22185 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22186 (test_via_rtld_prefix): This.
22187 (test_wrapper): Renamed to ...
22188 (test_program_prefix): This.
22189 (run_program_prefix): Replaced by test_program_prefix.
22190 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22191 (test_program_prefix): This.
22192 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22193 with $(host-test-program-cmd).
22194 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22195 $(run-program-prefix) with $(test-program-prefix).
22196 ($(objpfx)tst-printf.out): Likewise.
22197 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22198 $(test-program-cmd).
22199 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22200 (test_program_prefix): This.
22201 * stdio-common/tst-unbputc.sh: Likewise.
22202 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22203 $(run-program-prefix) with $(test-program-prefix).
22204 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22205 (test_program_prefix): This.
22206 * string/Makefile ($(objpfx)tst-svc.out): Replace
22207 $(built-program-cmd) with $(test-program-cmd).
22208
c6fe55cf
AJ
222092013-01-11 Andreas Jaeger <aj@suse.de>
22210
22211 [BZ #15003]
22212 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22213 value. Sync with Linux 3.7.
22214
9e6919c8
DM
222152013-01-10 David S. Miller <davem@davemloft.net>
22216
22217 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22218 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22219 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22220
1c9f1a02
RM
222212013-01-10 Roland McGrath <roland@hack.frob.com>
22222
22223 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22224 never set.
22225 * configure: Regenerated.
22226
b9de2dde
DM
222272013-01-10 David S. Miller <davem@davemloft.net>
22228
22229 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22230 sparc V9 rather than using V8 code.
22231 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22232 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22233
e7f68ef4
RM
222342013-01-10 Roland McGrath <roland@hack.frob.com>
22235
22236 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22237 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22238 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22239 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22240 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22241 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22242 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22243 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22244 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22245 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22246 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22247 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22248 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22249 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22250 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22251 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22252 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22253 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22254 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22255 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22256 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22257 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22258 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22259 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22260 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22261 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22262 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22263
5a47cc9c
DM
222642013-01-10 David S. Miller <davem@davemloft.net>
22265
22266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22267
4cf8f209
L
222682013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22269
22270 * posix/Makefile (tests-static): New variable.
22271 (tests): Add $(tests-static).
22272 (tst-exec-static-ARGS): New variable.
22273 (tst-spawn-static-ARGS): Likewise.
22274 * posix/tst-exec-static.c: New file.
22275 * posix/tst-spawn-static.c: Likewise.
22276 * posix/tst-exec.c: Support run directly.
22277 * posix/tst-spawn.c: Likewise.
22278
fed0faa1
JM
222792013-01-10 Joseph Myers <joseph@codesourcery.com>
22280
828beb13
JM
22281 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22282 long.
22283 * math/bits/mathcalls.h (llrint): Likewise.
22284 (llround): Likewise.
22285 * stdlib/stdlib.h (struct drand48_data): Likewise.
22286 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22287 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22288 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22289 Likewise.
22290 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22291 Likewise.
22292 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22293 (elf_greg_t): Likewise.
22294 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22295 (__jmp_buf): Likewise.
22296 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22297 definitions.
22298 (llrint): Likewise, for all definitions.
22299 (llrintl): Likewise.
22300
fed0faa1
JM
22301 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22302 Remove [__GNUC__] condition.
22303 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22304 condition to just [__USE_ISOC99].
22305 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22306
1a20cb20
L
223072013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22308
22309 [BZ #14200]
22310 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22311 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22312 defined.
22313 (_POSIX_V6_ILP32_OFF32): Likewise.
22314 (_XBS5_ILP32_OFF32): Likewise.
22315 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22316 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22317
751b85f7
SP
223182013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22319
7490eb81
SP
22320 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22321
751b85f7
SP
22322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22323 doubles __mpexp_twomm1. Adjust usage.
22324 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22325 Remove.
22326
988197f0
AS
223272013-01-10 Andreas Schwab <schwab@suse.de>
22328
22329 [BZ #14964]
22330 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22331 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22332
e83d7298
DM
223332013-01-09 David S. Miller <davem@davemloft.net>
22334
034ed64b 22335 [BZ #15003]
57f41c40
AS
22336 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22337 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22338 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22339 (TCP_FASTOPEN): Define.
e83d7298
DM
22340 (tcp_repair_opt): New structure.
22341 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22342 enum values.
57f41c40
AS
22343 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22344 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22345 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22346 (tcp_cookie_transactions): New structure.
22347
d5e0b9bd
AB
223482013-01-09 Anton Blanchard <anton@samba.org>
22349
22350 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22351 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22352 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22353 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22354
0c07e3ea
JM
223552013-01-09 Joseph Myers <joseph@codesourcery.com>
22356
22357 * include/features.h (__USE_ANSI): Remove.
22358
232f7002
RM
223592013-01-09 Roland McGrath <roland@hack.frob.com>
22360
ad98e30c
RM
22361 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22362
232f7002
RM
22363 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22364
950c99ca
SP
223652013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22366
b5792741
SP
22367 * sysdeps/s390/fpu/libm-test-ulps: Update.
22368
47cf2278
SP
22369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22370
950c99ca
SP
22371 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22372 (__acr): Likewise.
22373 (__cpy): Likewise.
22374 (norm): Likewise.
22375 (denorm): Likewise.
22376 (__mp_dbl): Likewise.
22377 (__dbl_mp): Likewise.
22378 (add_magnitudes): Likewise.
22379 (sub_magnitudes): Likewise.
22380 (__add): Likewise.
22381 (__sub): Likewise.
22382 (__mul): Likewise.
22383 (__inv): Likewise.
22384 (__dvd): Likewise.
22385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22386 (__acr): Likewise.
22387 (__cpy): Likewise.
22388 (norm): Likewise.
22389 (denorm): Likewise.
22390 (__mp_dbl): Likewise.
22391 (__dbl_mp): Likewise.
22392 (add_magnitudes): Likewise.
22393 (sub_magnitudes): Likewise.
22394 (__add): Likewise.
22395 (__sub): Likewise.
22396 (__mul): Likewise.
22397 (__inv): Likewise.
22398 (__dvd): Likewise.
22399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22400 (__acr): Likewise.
22401 (__cpy): Likewise.
22402 (norm): Likewise.
22403 (denorm): Likewise.
22404 (__mp_dbl): Likewise.
22405 (__dbl_mp): Likewise.
22406 (add_magnitudes): Likewise.
22407 (sub_magnitudes): Likewise.
22408 (__add): Likewise.
22409 (__sub): Likewise.
22410 (__mul): Likewise.
22411 (__inv): Likewise.
22412 (__dvd): Likewise.
22413
eede9df9
JM
224142013-01-08 Joseph Myers <joseph@codesourcery.com>
22415
22416 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22417 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22418 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22419 2 && __USE_EXTERN_INLINES]: Likewise.
22420
c40ea3d9
AJ
224212013-01-08 Andreas Jaeger <aj@suse.de>
22422
22423 [BZ# 14985]
22424 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22425 Remove.
22426 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22427 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22428
2ccdea26
AB
224292013-01-07 Anton Blanchard <anton@samba.org>
22430
22431 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22432 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22433 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22434 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22435 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22436 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22437 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22438 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22439 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22440 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22441 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22442 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22443 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22444 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22445 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22446 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22447 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22448 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22449 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22450 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22451 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22452 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22453 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22454 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22455 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22456 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22457 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22458 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22459 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22460 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22461 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22463 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22464 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22465 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22466 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22467 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22468 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22469 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22470 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22471 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22472 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22473 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22474
a9708fed
JM
224752013-01-07 Joseph Myers <joseph@codesourcery.com>
22476
375607b9
JM
22477 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22478 (__MALLOC_PMT): Likewise.
22479 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22480 [__GNUC__], only on [_LIBC].
22481 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22482 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22483 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22484 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22485 forward declaration.
22486 (realloc_hook_ini): Likewise.
22487 (memalign_hook_ini): Likewise.
22488 (__libc_memalign): Do not use __MALLOC_PMT in variable
22489 declaration.
22490 (__libc_valloc): Likewise.
22491 (__libc_pvalloc): Likewise.
22492 (__libc_calloc): Likewise.
22493 (__posix_memalign): Likewise.
22494
a9708fed
JM
22495 [BZ #14996]
22496 * math/s_casinh.c: Include <float.h>.
22497 (__casinh): Do not do computation with squaring and square root
22498 for large arguments.
22499 * math/s_casinhf.c: Include <float.h>.
22500 (__casinhf): Do not do computation with squaring and square root
22501 for large arguments.
22502 * math/s_casinhl.c: Include <float.h>.
22503 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22504 (__casinhl): Do not do computation with squaring and square root
22505 for large arguments.
22506 * math/libm-test.inc (casin_test): Add more tests.
22507 (casinh_test): Likewise.
22508 * sysdeps/i386/fpu/libm-test-ulps: Update.
22509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22510
afec409a
L
225112013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22512
22513 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22514 (__x86_64_raw_data_cache_size): Likewise.
22515 (__x86_64_data_cache_size_half): Likewise.
22516 (__x86_64_raw_data_cache_size_half): Likewise.
22517 (__x86_64_shared_cache_size): Likewise.
22518 (__x86_64_raw_shared_cache_size): Likewise.
22519 (__x86_64_shared_cache_size_half): Likewise.
22520 (__x86_64_raw_shared_cache_size_half): Likewise.
22521 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22522 to ...
22523 (__x86_data_cache_size): This.
22524 (__x86_64_raw_data_cache_size): Renamed to ...
22525 (__x86_raw_data_cache_size): This.
22526 (__x86_64_data_cache_size_half): Renamed to ...
22527 (__x86_data_cache_size_half): This.
22528 (__x86_64_raw_data_cache_size_half): Renamed to ...
22529 (__x86_raw_data_cache_size_half): This.
22530 (__x86_64_shared_cache_size): Renamed to ...
22531 (__x86_shared_cache_size): This.
22532 (__x86_64_raw_shared_cache_size): Renamed to ...
22533 (__x86_raw_shared_cache_size): This.
22534 (__x86_64_shared_cache_size_half): Renamed to ...
22535 (__x86_shared_cache_size_half): This.
22536 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22537 (__x86_raw_shared_cache_size_half): This.
22538 * sysdeps/x86_64/memcpy.S: Updated.
22539 * sysdeps/x86_64/memset.S: Likewise.
22540 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22541 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22542 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22543
0b3986d0
DM
225442013-01-04 David S. Miller <davem@davemloft.net>
22545
22546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22547
e47686e9
AS
225482013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22549
d643bac1
AS
22550 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22551 1 to avoid redefinition warning.
22552 (__USE_GNU): Don't define.
22553 (init_signaling_nan): Protoize.
22554
e47686e9
AS
22555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22556
b18decba
SP
225572013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22558
fffb407f
SP
22559 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22560 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22561 (__cpymn): Likewise.
22562 (norm): Remove commented code.
22563 (denorm): Likewise.
22564 (__mp_dbl): Likewise.
22565 (__inv): Likewise.
22566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22567 (__cpymn): Likewise.
22568 (norm): Remove commented code.
22569 (denorm): Likewise.
22570 (__mp_dbl): Likewise.
22571 (__inv): Likewise.
22572
b18decba
SP
22573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22574 mp_no value for 1.0 and 2.0.
22575 (norm): Use RADIXI instead of radixi.d.
22576 (denorm): Likewise.
22577 (__mul): Use 0.0 instead of zero.d.
22578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22579 mp_no value for 1.0 and 2.0.
22580 (norm): Use RADIXI instead of radixi.d.
22581 (denorm): Likewise.
22582 (__mul): Use 0.0 instead of zero.d.
22583
cdc1c96f
JM
225842013-01-04 Joseph Myers <joseph@codesourcery.com>
22585
22586 [BZ #14994]
22587 * math/s_casinh.c (__casinh): Reduce finite argument to first
22588 quadrant then set signs of results at the end.
22589 * math/s_casinhf.c (__casinhf): Likewise.
22590 * math/s_casinhl.c (__casinhl): Likewise.
22591 * math/libm-test.inc (casin_test): Add more tests.
22592 (casinh_test): Likewise.
22593 * sysdeps/i386/fpu/libm-test-ulps: Update.
22594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22595
302913e1
SP
225962013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22597
6420d207
SP
22598 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22599
a9e48ab4
SP
22600 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22601
b7837264
SP
22602 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22603 declarations.
22604 (denorm): Likewise.
22605 (__mp_dbl): Likewise.
22606 (__inv): Likewise.
22607
f8af25d2
SP
22608 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22609 and adjust the header comment.
22610
302913e1
SP
22611 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22612 variable name from declaration.
22613
5d7dd1ca
L
226142013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22615
22616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22617 Initialize COMMON_CPUID_INDEX_7 element.
22618 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22619 (CPUID_RTM): Likewise.
22620 (HAS_RTM): Likewise.
22621 (COMMON_CPUID_INDEX_7): New enum.
22622
2f5f40f4
AS
226232013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22624
22625 [BZ #14981]
22626 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22627 size is zero, record memory as freed.
22628
4056f4a0
AJ
226292013-01-03 Andreas Jaeger <aj@suse.de>
22630
22631 * po/ia.po: Add new Interlingua translation.
22632
ab15736f 226332012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
22634
22635 * locale/programs/localedef.c: Fix description of '--posix' flag.
22636
568035b7
JM
226372013-01-02 Joseph Myers <joseph@codesourcery.com>
22638
e6898b8d
JM
22639 * NEWS: Update dates in second copyright notice.
22640 * README: Update copyright dates in example.
22641 * manual/libc.texinfo: Update copyright dates.
22642 * scripts/test-installation.pl: Update copyright date in --version
22643 output.
22644
0e2f9562
JM
22645 * hurd/ctty-input.c: Fix copyright notice formatting.
22646 * hurd/ctty-output.c: Likewise.
22647 * hurd/dtable.c: Likewise.
22648 * hurd/hurd-raise.c: Likewise.
22649 * hurd/hurdprio.c: Likewise.
22650 * hurd/msgportdemux.c: Likewise.
22651 * misc/sys/file.h: Likewise.
22652 * misc/sys/ioctl.h: Likewise.
22653 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22654 * sysdeps/mach/hurd/chdir.c: Likewise.
22655 * sysdeps/mach/hurd/fchdir.c: Likewise.
22656 * sysdeps/mach/hurd/rename.c: Likewise.
22657 * sysdeps/mach/hurd/rmdir.c: Likewise.
22658 * sysdeps/mach/hurd/seekdir.c: Likewise.
22659 * sysdeps/mach/hurd/setsid.c: Likewise.
22660 * sysdeps/posix/wait3.c: Likewise.
22661
568035b7
JM
22662 * All files with FSF copyright notices: Update copyright dates
22663 using scripts/update-copyrights.
22664 * intl/plural.c: Regenerated.
22665 * locale/programs/charmap-kw.h: Likewise.
22666 * locale/programs/locfile-kw.h: Likewise.
22667
da08f647
SP
226682013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22669
0f5477af
SP
22670 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22671 four values.
22672
44e0d4c2
SP
22673 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22674 calculation loop and add branch prediction.
22675
4d55b4e5
SP
22676 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22677 check access beyond bounds of m1np.
22678
da08f647
SP
22679 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22680 MPTWO.
22681 (__inv): Remove local variable MPTWO to use the global
22682 constant.
22683 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22684 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22685 variable MPTWO.
22686 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22687 MP3HALFS static const.
22688
8e051029
DM
226892013-01-01 David S. Miller <davem@davemloft.net>
22690
22691 * po/ca.po: Update from translation team.
22692
f4cf5f2d
JM
226932013-01-01 Joseph Myers <joseph@codesourcery.com>
22694
22695 * scripts/update-copyrights: New file.
22696 * Makeconfig: Reformat copyright notice.
22697 * ctype/ctype.h: Likewise.
22698 * debug/swprintf_chk.c: Likewise.
22699 * elf/dl-cache.c: Likewise.
22700 * elf/dl-debug.c: Likewise.
22701 * elf/dl-object.c: Likewise.
22702 * grp/initgroups.c: Likewise.
22703 * hurd/Makefile: Likewise.
22704 * hurd/hurd/signal.h: Likewise.
22705 * hurd/hurdfault.c: Likewise.
22706 * hurd/hurdioctl.c: Likewise.
22707 * hurd/hurdlookup.c: Likewise.
22708 * hurd/intr-msg.c: Likewise.
22709 * iconv/gconv_open.c: Likewise.
22710 * libio/swprintf.c: Likewise.
22711 * locale/lc-ctype.c: Likewise.
22712 * locale/nl_langinfo.c: Likewise.
22713 * mach/Machrules: Likewise.
22714 * mach/Makefile: Likewise.
22715 * malloc/obstack.h: Likewise.
22716 * manual/Makefile: Likewise.
22717 * manual/tsort.awk: Likewise.
22718 * misc/bits/stab.def: Likewise.
22719 * nis/nis_print_group_entry.c: Likewise.
22720 * nis/nis_table.c: Likewise.
22721 * nis/nss_compat/compat-pwd.c: Likewise.
22722 * nis/nss_compat/compat-spwd.c: Likewise.
22723 * po/Makefile: Likewise.
22724 * posix/fnmatch.c: Likewise.
22725 * posix/regex.h: Likewise.
22726 * resolv/Makefile: Likewise.
22727 * resolv/nss_dns/dns-network.c: Likewise.
22728 * resolv/res_hconf.c: Likewise.
22729 * scripts/gen-sorted.awk: Likewise.
22730 * soft-fp/soft-fp.h: Likewise.
22731 * stdio-common/printf.h: Likewise.
22732 * stdlib/monetary.h: Likewise.
22733 * stdlib/random.c: Likewise.
22734 * stdlib/random_r.c: Likewise.
22735 * sysdeps/generic/Makefile: Likewise.
22736 * sysdeps/gnu/Makefile: Likewise.
22737 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22740 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22741 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22744 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22745 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22747 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22748 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22749 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22750 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22751 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22752 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22754 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22759 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22760 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22761 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22762 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22763 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22764 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22765 * sysdeps/mach/hurd/errnos.awk: Likewise.
22766 * sysdeps/mach/hurd/fork.c: Likewise.
22767 * sysdeps/mach/hurd/getcwd.c: Likewise.
22768 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22769 * sysdeps/mach/hurd/mmap.c: Likewise.
22770 * sysdeps/mach/hurd/utimes.c: Likewise.
22771 * sysdeps/mach/hurd/xmknod.c: Likewise.
22772 * sysdeps/posix/profil.c: Likewise.
22773 * sysdeps/posix/readdir_r.c: Likewise.
22774 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22775 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22776 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22777 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22779 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22780 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22781 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22783 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22784 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22785 * sysdeps/pthread/lio_listio.c: Likewise.
22786 * sysdeps/sparc/dl-procinfo.h: Likewise.
22787 * sysdeps/unix/i386/sysdep.S: Likewise.
22788 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22789 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22790 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22791 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22793 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22794 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22795 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22796 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22797 * sysdeps/wordsize-32/divdi3.c: Likewise.
22798 * time/sys/time.h: Likewise.
22799 * wcsmbs/Makefile: Likewise.
22800
0549fbba
DM
228012013-01-01 David S. Miller <davem@davemloft.net>
22802
a141f1a7
DM
22803 * po/fr.po: Update from translation team.
22804
0549fbba
DM
22805 * catgets/gencat.c: Update copyright year.
22806 * csu/version.c: Likewise.
22807 * debug/catchsegv.sh: Likewise.
22808 * debug/pcprofiledump.c: Likewise.
22809 * debug/xtrace.sh: Likewise.
22810 * elf/ldconfig.c: Likewise.
22811 * elf/ldd.bash.in: Likewise.
22812 * elf/pldd.c: Likewise.
22813 * elf/sotruss.ksh: Likewise.
22814 * elf/sprof.c: Likewise.
22815 * iconv/iconv_prog.c: Likewise.
22816 * iconv/iconvconfig.c: Likewise.
22817 * locale/programs/locale.c: Likewise.
22818 * locale/programs/localedef.c: Likewise.
22819 * login/programs/pt_chown.c: Likewise.
22820 * malloc/memusage.sh: Likewise.
22821 * malloc/memusagestat.c: Likewise.
22822 * malloc/mtrace.pl: Likewise.
22823 * nscd/nscd.c: Likewise.
22824 * nss/getent.c: Likewise.
22825 * nss/makedb.c: Likewise.
22826 * posix/getconf.c: Likewise.
22827
18ea052c
SP
228282012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22829
22830 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22831 numbers.
22832
9c89fca6
MF
228332012-12-30 Mike Frysinger <vapier@gentoo.org>
22834
22835 * math/bits/mathcalls.h (modf): Use __nonnull.
22836
085ec079
SP
228372012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22838
22839 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22840 (split): Use macro CN instead of the bare value.
22841 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22842 could be used.
22843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22844 instead of the bare value.
22845 (power1): Likewise.
22846
6d9f97e1
SP
228472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22848
d63f73be
SP
22849 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22850 __ATAN_TWOM.
22851 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22852
6d9f97e1
SP
22853 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22854 their values.
22855 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22856 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22857 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22858 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22859
4c4febf5
AJ
228602012-12-28 Andreas Jaeger <aj@suse.de>
22861
af5843ef
AJ
22862 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22863 values are from Linux 3.7.
22864
4c4febf5
AJ
22865 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22866 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22867
99136f82
SP
228682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22869
2f216c3c 22870 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22871 TRUE case.
22872
99136f82
SP
22873 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22874 (norm): Likewise.
22875 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22876 variables with preprocessor constants.
22877 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22878 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22879 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22880
7fffbdff
BH
228812012-12-27 Bruno Haible <bruno@clisp.org>
22882
22883 [BZ #14317]
22884 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22885 only if needed.
22886
b76eb5f0
SP
228872012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22888
31a7fe5c
SP
22889 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22890 and use variable directly.
22891 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22892
b76eb5f0
SP
22893 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22894 MPONE.
22895 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22896 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22897 variable MPONE.
22898 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22899 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22900 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22901 include directive. Remove local variable MPONE.
22902 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22903 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22904 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22905
2c8bfe7d
DM
229062012-12-25 David S. Miller <davem@davemloft.net>
22907
22908 * version.h (RELEASE): Set to "development".
22909 (VERSION): Set to "2.17.90".
22910 * NEWS: Add 2.18 section.
22911
147d03b0
DM
229122012-12-21 David S. Miller <davem@davemloft.net>
22913
22914 * po/hr.po: Update from translation team.
22915
a8ebb2b9
AK
229162012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22917
22918 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22919
95b4f1b6
SE
229202012-12-19 Steve Ellcey <sellcey@mips.com>
22921
b2d94007 22922 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22923
cedb2a90
MS
229242012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22925
22926 * manual/contrib.texi (Contributors): Spelling correction.
22927
bbf527d6
DM
229282012-12-15 David S. Miller <davem@davemloft.net>
22929
22930 * po/ru.po: Update from translation team.
22931
bc38c906
DM
229322012-12-13 David S. Miller <davem@davemloft.net>
22933
85429b1a
DM
22934 * NEWS: Mention IFUNC testsuite enhancements.
22935
d283e353
DM
22936 * po/pl.po: Update from translation team.
22937 * po/bg.po: Likewise.
22938
bc38c906
DM
22939 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22940 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22941
a181b0d7
DM
229422012-12-11 David S. Miller <davem@davemloft.net>
22943
4641d57e
DM
22944 * po/sv.po: Update from translation team.
22945
f7bc6495
DM
22946 * po/vi.po: Update from translation team.
22947
6fc9048f
DM
22948 * po/cs.po: Update from translation team.
22949
a181b0d7
DM
22950 * po/de.po: Update from translation team.
22951 * po/eo.po: Likewise.
22952 * po/nl.po: Likewise.
22953
f70bfe80
SP
229542012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22955
3c8b4190
SP
22956 [BZ #14246]
22957 * manual/argp.texi (Argp Helper Functions): Move node to follow
22958 Argp Parsing State.
22959
f70bfe80
SP
22960 [BZ #14872]
22961 * manual/conf.texi (Limits on File System Capacity): Mention if
22962 terminating null is included in the max size.
22963
188f0adf
AJ
229642012-12-10 Andreas Jaeger <aj@suse.de>
22965
22966 * po/cs.po: Update from translation team.
22967
56e7d3ad
SP
229682012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22969
22970 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22971 void pointer and cast to uintptr_t.
22972 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22973 path.
22974 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22975 * sysdeps/s390/s390-64/memset.S: Likewise.
22976
76f2d2ea 229772012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22978
22979 [BZ #14833]
22980 * menual/message.texi (Message Translation): Fix typos.
22981 (Helper programs for gettext): Likewise.
22982
67cbf9a2
AS
229832012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22984
22985 [BZ #14898]
22986 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22987 Change to -1.
22988
682d0e9a
DM
229892012-12-07 David S. Miller <davem@davemloft.net>
22990
22991 * po/libc.pot: Update.
22992
573cd484
RH
229932012-12-07 Richard Henderson <rth@redhat.com>
22994
7e9da188 22995 [BZ #10114]
573cd484
RH
22996 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22997 normal/normal case to before the switch.
22998 (_FP_DIV): Likewise.
22999
e933a943
MF
230002012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23001 Mike Frysinger <vapier@gentoo.org>
23002
23003 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23004 check for __NR_fadvise64_64.
23005
82123268
CM
230062012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23007
23008 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23009 0, not just to plain "0" as a statement.
23010 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23011 with cw.
23012
d9814526
JM
230132012-12-06 Joseph Myers <joseph@codesourcery.com>
23014
23015 * NEWS: Use sourceware.org in Bugzilla URL.
23016
7728c574
SP
230172012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23018
f16946dd
SP
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23020 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23021
5704bbcb
SP
23022 * stdio-common/tst-put-error.c (do_test): Add newline to the
23023 padded test to ensure flush.
23024
17aa0516
JL
230252012-12-05 Jeff Law <law@redhat.com>
23026
23027 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23028
363313b5
JM
230292012-12-05 Joseph Myers <joseph@codesourcery.com>
23030
effbd42a
JM
23031 * README: Don't refer to ports add-on as distributed separately.
23032 Mention AArch64 in list of systems supported in the ports add-on.
23033
87600365
JM
23034 * LICENSES: Add more non-FSF copyright and license notices.
23035
a0d7066a
JM
23036 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23037 ((unused)).
23038
66ca5a5b
JM
23039 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23040
363313b5
JM
23041 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23042 10000 as width of padded output.
23043
b37984ad
JM
230442012-12-04 Joseph Myers <joseph@codesourcery.com>
23045
9003570a
JM
23046 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23047
b37984ad
JM
23048 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23049 variable LX with __attribute__ ((unused)).
23050 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23051 Likewise.
23052 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23053 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23054 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23055 with __attribute__ ((unused)).
23056
c8df52ec
DM
230572012-12-04 David S. Miller <davem@abraco.davemloft.net>
23058
23059 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23060
b3b099af
JM
230612012-12-04 Joseph Myers <joseph@codesourcery.com>
23062
c33aa6e3
JM
23063 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23064 (CFLAGS-nldbl-acos.c): New variable.
23065 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23066 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23067 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23068 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23069 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23070 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23071 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23072 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23073 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23074 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23075 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23076 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23077 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23078 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23079 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23080 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23081 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23082 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23083 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23084 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23085 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23086 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23087 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23088 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23089 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23090 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23091 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23092 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23093 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23094 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23095 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23096 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23097 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23098 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23099 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23100 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23101 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23102 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23103 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23104 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23105 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23106 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23107 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23108 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23109 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23110 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23111 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23112 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23113 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23114 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23115 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23116 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23117 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23118 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23119 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23120 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23121 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23122 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23123 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23124 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23125 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23126 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23127 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23128 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23129 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23130 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23131 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23132 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23133 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23134 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23135 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23136 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23137 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23138 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23139 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23140 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23141 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23142 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23143 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23144 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23145 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23146 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23147 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23148 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23149 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23150 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23151 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23152 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23153 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23154 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23155 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23156 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23157 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23158 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23159 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23160 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23161 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23162
20f0018d
JM
23163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23164 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23165
b3b099af
JM
23166 [BZ #14914]
23167 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23168 whole low double instead of just low 47 bits when splitting values
23169 into two parts.
23170
029264d1
AM
231712012-12-03 Allan McRae <allan@archlinux.org>
23172
23173 * manual/stdio.texi (Predefined Printf Handlers): Remove
23174 @hsep and @vsep usage.
23175
c9d6789e
MF
231762012-12-03 Mike Frysinger <vapier@gentoo.org>
23177
23178 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23179 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23180
4b7634a5
JL
231812012-12-03 Jeff Law <law@redhat.com>
23182
23183 * time/sys/time.h (settimeofday): Do not mark TV argument
23184 as __nonnull.
23185
eb6cbd24
MF
231862012-12-01 Mike Frysinger <vapier@gentoo.org>
23187
23188 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23189 when currently writing and seek to current position when not.
23190 * libio/Makefile (tests): Remove bug-fclose1.
23191 * libio/bug-fclose1.c: Delete.
23192
f638872a
JM
231932012-12-01 Joseph Myers <joseph@codesourcery.com>
23194
23195 * manual/arith.texi (feenableexcept): Fix typo.
23196 (fedisableexcept): Likewise.
23197
48085d14
RM
231982012-11-30 Roland McGrath <roland@hack.frob.com>
23199
23200 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23201 second, differently-typed declaration, rather than a cast.
23202
1a538b9f
SP
232032012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23204
23205 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23206 * include/rpc/svc.h: ... here.
23207
d07f2ff1 232082012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23209
23210 [BZ #13013]
23211 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23212 depending n and resplen2 to catch cases where answer
23213 equals answerp2.
23214
c93ec1f0
CD
232152012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23216
23217 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23218 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23219
37db69de
MF
232202012-11-29 Mike Frysinger <vapier@gentoo.org>
23221
23222 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23223
e10c4e4f
RM
232242012-11-29 Roland McGrath <roland@hack.frob.com>
23225
23226 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23227
2af1b328
JL
232282012-11-28 Jeff Law <law@redhat.com>
23229
23230 [BZ #13761]
23231 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23232 dataset_temporary. Track alloca usage into alloca_used.
23233 If dataset is large allocate and release it via malloc/free.
23234
111db5b1
FW
232352012-06-04 Florian Weimer <fweimer@redhat.com>
23236
f06cc227 23237 [BZ #14197]
111db5b1
FW
23238 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23239
dd694abd
DM
232402012-11-28 David S. Miller <davem@davemloft.net>
23241
23242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23243
9984dd01
JM
232442012-11-28 Joseph Myers <joseph@codesourcery.com>
23245
23246 [BZ #14803]
23247 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23248 of pi/2 rounded to nearest to 64 bits.
23249 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23250 nearest to 64 bits.
23251 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23252 bits.
23253
14bc93a9
JL
232542012-11-28 Jeff Law <law@redhat.com>
23255 Martin Osvald <mosvald@redhat.com>
23256
23257 [BZ #14889]
23258 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23259 * sunrpc/svc.c: Include time.h.
23260 (__svc_accept_failed): New function.
23261 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23262 any reason other than EINTR, call __svc_accept_failed.
23263 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23264 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23265
e3c6aa3a
AS
232662012-11-28 Andreas Schwab <schwab@suse.de>
23267
23268 * scripts/abilist.awk: Also handle indirect functions in .opd
23269 section.
23270
1bead169
JM
232712012-11-28 Joseph Myers <joseph@codesourcery.com>
23272
23273 [BZ #13881]
23274 * sysdeps/x86/fpu/powl_helper.c: New file.
23275 * sysdeps/x86/fpu/Makefile: Likewise.
23276 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23277 (p3): New object.
23278 (__ieee754_powl): Use __powl_helper for finite arguments except
23279 integer exponents below 8.
23280 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23281 (p3): New object.
23282 (__ieee754_powl): Use __powl_helper for finite arguments except
23283 integer exponents below 8.
23284 * math/libm-test.inc (pow_test): Add more tests and enable some
23285 previously disabled tests.
23286 * sysdeps/i386/fpu/libm-test-ulps: Update.
23287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23288
0817d63d
SP
232892012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23290 Carlos O'Donell <carlos_odonell@mentor.com>
23291
23292 * nss/makedb.c (is_prime): Assert that input is odd and greater
23293 than 4. Note that fact in a comment too.
23294 (next_prime): Add 4 to input.
23295
de2fd463
SP
232962012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23297
23298 [BZ #11741]
23299 * libio/Makefile (tests): Add test case tst-fwrite-error.
23300 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23301 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23302 * libio/tst-fwrite-error.c: New test case.
23303
c515fb51
L
233042012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23305
23306 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23307 before casting to void *.
23308 * include/libc-internal.h (__pointer_type): New macro.
23309 (__integer_if_pointer_type_sub): Likewise.
23310 (__integer_if_pointer_type): Likewise.
23311 (cast_to_integer): Likewise.
23312 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23313 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23314 before casting to atomic64_t.
23315 (atomic_exchange_acq): Likewise.
23316 (__arch_exchange_and_add_body): Likewise.
23317 (__arch_add_body): Likewise.
23318 (atomic_add_negative): Likewise.
23319 (atomic_add_zero): Likewise.
23320
4cf77aa9
JM
233212012-11-26 Joseph Myers <joseph@codesourcery.com>
23322
23323 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23324 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23325 (add_fdes): Likewise.
23326 (linear_search_fdes): Likewise.
23327 (binary_search_unencoded_fdes): Likewise.
23328
d260b3b4
AS
233292012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23330
23331 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23332
67060746
AC
233332012-11-24 Adam Conrad <adconrad@0c3.net>
23334
23335 * configure.in: Autodetect C++ header directories.
23336 * configure: Regenerated.
23337
800938a1
MF
233382012-11-23 Mike Frysinger <vapier@gentoo.org>
23339
23340 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23341
4e6e34e6
AS
233422012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23343
23344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23345
7c7feb47
JM
233462012-11-22 Joseph Myers <joseph@codesourcery.com>
23347
7184dcdf
JM
23348 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23349 LDBL_MANT_DIG == 106]: Disable some tests.
23350 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23351 Likewise.
23352 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23353 Likewise.
23354
0a42601f
JM
23355 [BZ #14871]
23356 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23357 input for small inputs. Return +/- pi/2 for large inputs.
23358 * math/libm-test.inc (atan_test): Add more tests.
23359
79c9b9fe
JM
23360 * sysdeps/generic/unwind-dw2-fde-glibc.c
23361 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23362 __attribute__ ((unused)).
23363
c60d3bf2
JM
23364 [BZ #14645]
23365 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23366 x * y if x and y are nonzero and z is zero.
23367
ef1e0867
JM
23368 [BZ #14811]
23369 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23370 nonzero exponents with absolute value below 0x1p-117 to +/-
23371 0x1p-117.
23372
1468ded3
JM
23373 [BZ #14869]
23374 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23375 up arguments below 2**-450, not just those below 2**-500.
23376 * math/libm-test.inc (hypot_test): Add another test.
23377
8e27e3cc
JM
23378 [BZ #14868]
23379 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23380 Return a+b for ratio over 2**120, not 2**60.
23381 * math/libm-test.inc (hypot_test): Add another test.
23382
c9c0279b
JM
23383 * math/libm-test.inc (clog_test): Use
23384 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23385 (clog10_test): Likewise.
23386
7c7feb47
JM
23387 [BZ #6778]
23388 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23389
fff1530e
AS
233902012-11-22 Andreas Schwab <schwab@suse.de>
23391
23392 * sysdeps/i386/fpu/libm-test-ulps: Update.
23393
94558d30
PT
233942012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23395
23396 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23397 printf output with newline.
23398
7e1be741
L
233992012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23400
6bfea974
L
23401 [BZ #14865]
23402 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23403 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23404 -z nodlopen, -z initfirst and -z execstack support.
23405 * configure: Regenerated.
23406
7e1be741
L
23407 * elf/elf.h (DF_1_NODIRECT): New macro.
23408 (DF_1_IGNMULDEF): Likewise.
23409 (DF_1_NOKSYMS): Likewise.
23410 (DF_1_NOHDR): Likewise.
23411 (DF_1_EDITED): Likewise.
23412 (DF_1_NORELOC): Likewise.
23413 (DF_1_SYMINTPOSE): Likewise.
23414 (DF_1_GLOBAUDIT): Likewise.
23415 (DF_1_SINGLETON): Likewise.
23416 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23417 DT_1_SUPPORTED_MASK bits.
23418 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23419
105ce2ce
CD
234202012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23421
23422 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23423
123be9de
TS
234242012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23425
d072f3f7
TS
23426 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23427 macro.
23428
123be9de
TS
23429 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23430 (sendmmsg): Move declarations...
23431 * socket/sys/socket.h: ... here.
23432 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23433 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23434 include it from...
23435 * socket/recvmmsg.c: ... this new file.
23436 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23437 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23438 definition of __sendmmsg hidden.
23439 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23440 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23441 Move ENOSYS stub into and include it from...
23442 * socket/sendmmsg.c: ... this new file.
23443 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23444 (sysdep_routines): Move recvmmsg and sendmmsg...
23445 * socket/Makefile (routines): ... here.
23446 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23447 (GLIBC_PRIVATE): Add __sendmmsg.
23448 * include/sys/socket.h (__sendmmsg): Add declarations.
23449 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23450 sendmmsg.
23451
cf9a5d18
JM
234522012-11-20 Joseph Myers <joseph@codesourcery.com>
23453
23454 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23455 variable I1 with __attribute__ ((unused)).
23456 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23457
ecd4caf9
JM
234582012-11-19 Joseph Myers <joseph@codesourcery.com>
23459
be14d48f
JM
23460 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23461 DUMMY variables with __attribute__ ((unused)).
23462
ecd4caf9
JM
23463 * bits/byteswap.h: Include <bits/types.h>.
23464 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23465
986cab95
PT
234662012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23467
23468 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23469 string_t. Do not manually set errno.
23470 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23471 length with __strnlen. Make sure to both set errno and return it on
23472 failure.
23473
6d33cc9d
DM
234742012-11-19 David S. Miller <davem@davemloft.net>
23475
23476 With help from Joseph Myers.
23477 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23478 very large arguments properly.
23479 * math/libm-test.inc (atan_test): New tests.
23480 (atan2_test): New tests.
23481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23483
ee663277
JM
234842012-11-19 Joseph Myers <joseph@codesourcery.com>
23485
877f2d8e
JM
23486 [BZ #14856]
23487 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23488 Define to 3.
23489
116fc08a
JM
23490 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23491 [POSIX] (EADDRNOTAVAIL): Likewise.
23492 [POSIX] (EAFNOSUPPORT): Likewise.
23493 [POSIX] (EALREADY): Likewise.
23494 [POSIX] (ECONNABORTED): Likewise.
23495 [POSIX] (ECONNREFUSED): Likewise.
23496 [POSIX] (ECONNRESET): Likewise.
23497 [POSIX] (EDESTADDRREQ): Likewise.
23498 [POSIX] (EDQUOT): Likewise.
23499 [POSIX] (EHOSTUNREACH): Likewise.
23500 [POSIX] (EIDRM): Likewise.
23501 [POSIX] (EISCONN): Likewise.
23502 [POSIX] (ELOOP): Likewise.
23503 [POSIX] (EMULTIHOP): Likewise.
23504 [POSIX] (ENETDOWN): Likewise.
23505 [POSIX] (ENETUNREACH): Likewise.
23506 [POSIX] (ENOBUFS): Likewise.
23507 [POSIX] (ENODATA): Likewise.
23508 [POSIX] (ENOLINK): Likewise.
23509 [POSIX] (ENOMSG): Likewise.
23510 [POSIX] (ENOPROTOOPT): Likewise.
23511 [POSIX] (ENOSR): Likewise.
23512 [POSIX] (ENOSTR): Likewise.
23513 [POSIX] (ENOTCONN): Likewise.
23514 [POSIX] (ENOTSOCK): Likewise.
23515 [POSIX] (EOPNOTSUPP): Likewise.
23516 [POSIX] (EOVERFLOW): Likewise.
23517 [POSIX] (EPROTO): Likewise.
23518 [POSIX] (EPROTONOSUPPORT): Likewise.
23519 [POSIX] (EPROTOTYPE): Likewise.
23520 [POSIX] (ESTALE): Likewise.
23521 [POSIX] (ETIME): Likewise.
23522 [POSIX] (ETXTBSY): Likewise.
23523 [POSIX] (EWOULDBLOCK): Likewise.
23524 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23525 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23526 [POSIX] (SEEK_CUR): Likewise.
23527 [POSIX] (SEEK_END): Likewise.
23528 [POSIX || UNIX98] (mode_t): Do not require.
23529 [POSIX] (off_t): Likewise.
23530 [POSIX] (pid_t): Likewise.
23531 [POSIX] (sys/stat.h): Do not allow header.
23532 [POSIX] (unistd.h): Likewise.
23533 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23534 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23535 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23536 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23537 require.
23538 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23539 sigevent): Specify elements.
23540 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23541 entry.
23542 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23543 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23544
a483863f
JM
23545 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23546 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23547 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23548 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23549 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23550 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23551 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23552 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23553 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23554 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23555 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23556 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23557 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23558 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23559 Likewise.
23560 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23561 Likewise.
23562 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23563 Likewise.
23564 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23565 Likewise.
23566 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23567 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23568 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23569 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23570 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23571 Specify lower bound on value.
23572 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23573 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23574 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23575 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23576 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23577 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23578 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23579 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23580 value.
23581 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23582 as optional.
23583 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23584 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23585 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23586 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23587 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23588 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23589 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23590 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23591 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23592 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23593 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23594 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23595 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23596 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23597 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23598 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23599 entry.
23600 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23601 optional.
23602 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23603 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23604 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23605 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23606 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23607 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23608 Likewise.
23609 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23610 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23611 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23612 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23613 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23614 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23615 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23616 as optional.
23617 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23618 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23619 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23620 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23621 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23622 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23623 specify as optional.
23624 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23625 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23626 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23627 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23628 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23629 [XPG3] (NL_LANGMAX): Likewise.
23630 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23631 [POSIX || XPG3] (NL_NMAX): Likewise.
23632 [POSIX || XPG3] (NL_SETMAX): Likewise.
23633 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23634 [XPG3] (NZERO): Likewise.
23635 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23636 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23637 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23638 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23639 (REG_ERANGE): Expect.
23640 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23641 optional-constant.
23642 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23643 Use (void) in prototype.
23644 [POSIX] (*_t): Allow.
23645 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23646 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23647 (WRDE_BADVAL): Expect.
23648
5ba924e3
JM
23649 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23650 expect.
23651 [XPG3 || XPG4] (O_RSYNC): Likewise.
23652 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23653 Likewise.
23654 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23655 [XPG3 || XPG4] (sigqueue): Likewise.
23656 [XPG3 || XPG4] (sigtimedwait): Likewise.
23657 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23658 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23659 [XPG3 || XPG4] (vsnprintf): Likewise.
23660 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23661 Likewise.
23662 [XPG3 || XPG4] (blksize_t): Likewise.
23663 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23664 Likewise.
23665 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23666 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23667 [XPG3 || XPG4] (struct itimerspec): Likewise.
23668 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23669 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23670 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23671 [XPG3 || XPG4] (clockid_t): Likewise.
23672 [XPG3 || XPG4] (timer_t): Likewise.
23673 [XPG3 || XPG4] (clock_getres): Likewise.
23674 [XPG3 || XPG4] (clock_gettime): Likewise.
23675 [XPG3 || XPG4] (clock_settime): Likewise.
23676 [XPG3 || XPG4] (nanosleep): Likewise.
23677 [XPG3 || XPG4] (timer_create): Likewise.
23678 [XPG3 || XPG4] (timer_delete): Likewise.
23679 [XPG3 || XPG4] (timer_gettime): Likewise.
23680 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23681 [XPG3 || XPG4] (timer_settime): Likewise.
23682 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23683 [XPG3 || XPG4] (getlogin_r): Likewise.
23684 [XPG3 || XPG4] (pread): Likewise.
23685 [XPG3 || XPG4] (pthread_atfork): Likewise.
23686 [XPG3 || XPG4] (pwrite): Likewise.
23687
ee663277
JM
23688 [BZ #14835]
23689 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23690 <bits/siginfo.h>.
23691
942caa16
PT
236922012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23693
e19af380
PT
23694 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23695 finalizing MALLSTREAM.
23696
942caa16
PT
23697 * sysdeps/mach/hurd/syncfs.c: New file.
23698
cfde9b46
SP
236992012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23700
23701 [BZ #14719]
23702 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23703 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23704 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23705 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23706 (_nss_dns_gethostbyname4_r): Likewise.
23707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23708 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23709
f6da27e5
PH
237102012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23711
23712 [BZ #13763]
23713 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23714
6665d4a2
SM
237152012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23716
1f51ee92
SM
23717 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23718 * elf/cache.c (print_entry): Print ",AArch64" for
23719 FLAG_AARCH64_LIB64
23720
6665d4a2
SM
23721 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23722 * elf/cache.c (print_entry): Print ",hard-float" for
23723 FLAG_ARM_LIBHF.
23724
05b227bd
DM
237252012-11-18 David S. Miller <davem@davemloft.net>
23726
23727 With help from Joseph Myers.
23728 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23729 cutoff to 2**-13.
23730 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23731 cutoff to 2**-25.
23732 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23733 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23734 small.
23735 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23736 * math/libm-test.inc (y0_test): New tests.
23737 (y1_test): New tests.
23738 * sysdeps/i386/fpu/libm-test-ulps: Update.
23739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23741
786b0b67
AS
237422012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23743
23744 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23745 64-bit targets.
23746 * configure: Regenerated.
23747
8e18b86d
DM
237482012-11-17 David S. Miller <davem@davemloft.net>
23749
23750 [BZ #14811]
23751 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23752 nonzero exponents with absolute value below 0x1p-128 to +/-
23753 0x1p-128.
23754
531f1ae0
JM
237552012-11-17 Joseph Myers <joseph@codesourcery.com>
23756
12df29e2
JM
23757 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23758
150dc1a0
JM
23759 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23760
531f1ae0
JM
23761 * posix/getconf-speclist.c: New file.
23762 * posix/posix-envs.def: Likewise.
23763 * posix/confstr.c (START_ENV_GROUP): New macro.
23764 (END_ENV_GROUP): Likewise.
23765 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23766 (KNOWN_PRESENT_ENV_STRING): Likewise.
23767 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23768 (UNKNOWN_ENVIRONMENT): Likewise.
23769 (confstr): Include posix-envs.def instead of handling
23770 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23771 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23772 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23773 (END_ENV_GROUP): Likewise.
23774 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23775 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23776 (UNKNOWN_ENVIRONMENT): Likewise.
23777 (__sysconf): Include posix-envs.def instead of handling associated
23778 cases directly here.
23779 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23780 preprocessing getconf-speclist.c rather than running getconf or
23781 generating empty file.
23782
a93f9cbc
PT
237832012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23784
23785 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23786
d64d9f87
AL
237872012-11-16 Andrej Lajovic <natrij@gmail.com>
23788
23789 [BZ #14672]
23790 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23791
447885eb
DM
237922012-11-16 David S. Miller <davem@davemloft.net>
23793
23794 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23795 smaller than LDBL_EPSILON/2.0L, just return xm1.
23796
bcbf9830
L
237972012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23798
23799 * elf/tst-array1.c (init): Set constructor priority to 1000.
23800 (fini): Set destructor priority to 1000.
23801 * elf/tst-array2dep.c: Likewise.
23802
2b766585
SP
238032012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23804
23805 [BZ #11741]
23806 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23807 (_IO_new_file_xsputn): Also return EOF if none of the input
23808 data was written when overflow failed.
23809 * libio/iopadn.c (_IO_padn): Likewise.
23810 * libio/iowpadn.c (_IO_wpadn): Likewise.
23811 * stdio-common/tst-put-error.c: Add copyright notice.
23812 (do_test): Add case for printing padded string.
23813 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23814 _IO_padn returned error.
23815 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23816 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23817 return EOF.
23818
b1848fde
SP
238192012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23820
23821 * libio/libioP.h: Add comment note that the references to C++
23822 bits are now obsolete.
23823
2fd89785
MS
238242012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23825
23826 * math/libm-test.inc (check_complex): Use asprintf.
23827
e3ea5409
JM
238282012-11-14 Joseph Myers <joseph@codesourcery.com>
23829
23830 * debug/pcprofiledump.c (print_version): Update copyright year.
23831 * malloc/memusagestat.c (print_version): Likewise.
23832
2e64d265
L
238332012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23834
23835 [BZ #14831]
23836 * elf/Makefile (tests): Add tst-audit8.
23837 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23838 ($(objpfx)tst-audit8.out): New target.
23839 (tst-audit8-ENV): New variable.
23840 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23841 audit if l_reloc_result is NULL.
23842 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23843 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23844 * elf/tst-audit8.c: New file.
23845
c485e4d2
MS
238462012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23847
23848 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23849 * misc/Makefile (CFLAGS-select.c): Define.
23850 * posix/Makefile (CFLAGS-pause.c): Define.
23851
3a0d900a
DM
238522012-11-13 David S. Miller <davem@davemloft.net>
23853
23854 * crypt/Makefile: Move test targets after toplevel Rules
23855 inclusion. Grab any necessary sysdep routines when linking.
23856 * crypt/md5.c (md5_process_block): Remove define, we will always
23857 name it __md5_process_block.
23858 (md5_finish_ctx): Update md5_process_block call.
23859 (md5_stream): Likewise.
23860 (md5_process_bytes): Likewise.
23861 (md5_process_block): Rename to __md5_process_block and move to ...
23862 * crypt/md5-block.c: ... here.
23863 * crypt/sha256.c (sha256_process_block): Move to ...
23864 * crypt/sha256-block.c: ... here.
23865 * crypt/sha512.c (sha512_process_block): Move to ...
23866 * crypt/sha512-block.c: ... here.
23867 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23868 path.
23869 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23870 * sysdeps/sparc/sparc64/multiarch/Makefile
23871 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23872 crypt subdir.
23873 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23874 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23875 multiarch changes.
23876 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23877 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23878 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23879 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23880 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23881 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23882 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23883 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23884 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23885 file.
23886 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23887 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23888 file.
23889 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23890
8ca89318
JM
238912012-11-13 Joseph Myers <joseph@codesourcery.com>
23892
e27d476a
JM
23893 * timezone/tzselect.ksh: Update from tzcode git revision
23894 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23895 * timezone/zdump.c: Likewise.
23896 * timezone/zic.c: Likewise.
23897 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23898 in TZVERSION setting, not $(PKGVERSION).
23899 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23900 REPORT_BUGS_TO settings.
23901
8ca89318
JM
23902 [BZ #14838]
23903 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23904 macro.
23905
47594329
MS
239062012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23907
23908 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23909 detection to immediately after _FP_ROUND().
23910 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23911 bits are 0.
23912
640ac3f1
DM
239132012-11-11 David S. Miller <davem@davemloft.net>
23914
23915 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23916 inttypes.h
23917 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23918 __close rather than their public counterparts.
23919
3d2577bb
JM
239202012-11-10 Joseph Myers <joseph@codesourcery.com>
23921
23922 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23923 file.
23924 [UNIX98] (sem_timedwait): Do not expect.
23925 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23926 [XPG4 || UNIX98] (sockatmark): Do not expect.
23927 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23928 (clock_getcpuclockid): Do not expect.
23929 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23930 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23931 Do not expect.
23932 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23933 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23934 [UNIX98] (vwscanf): Likewise.
23935 [UNIX98] (vswscanf): Likewise.
23936
fb1ae1ee
JM
239372012-11-09 Joseph Myers <joseph@codesourcery.com>
23938
9ec6f8bd
JM
23939 * timezone/version.h: Remove file.
23940 * timezone/README: Do not refer to version.h.
23941 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23942 $(objpfx)version.h.
23943 ($(objpfx)zdump.o): Likewise.
c3f81911 23944 ($(objpfx)version.h): New target.
9ec6f8bd 23945
0aa8f8a1
JM
23946 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23947 2012i.
23948 * timezone/README: Don't mention modification to tzselect.ksh.
23949 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23950 work on unmodified tzselect.ksh. Substitute version numbers in
23951 tzselect.ksh.
23952
4e87147f
JM
23953 * Makefile (format-me): Remove.
23954 (INSTALL): Adjust indentation. Use commands directly instead of
23955 using $(format-me).
23956
8b748aed
JM
23957 * aclocal.m4 (ACX_PKGVERSION): New macro.
23958 (ACX_BUGURL): Likewise.
23959 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23960 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23961 (REPORT_BUGS_TO): Likewise.
23962 * configure: Regenerated.
23963 * config.h.in (PKGVERSION): New macro.
23964 (REPORT_BUGS_TO): Likewise.
23965 * config.make.in (PKGVERSION): New variable.
23966 (PKGVERSION_TEXI): Likewise.
23967 (REPORT_BUGS_TO): Likewise.
23968 (REPORT_BUGS_TEXI): Likewise.
23969 * Makefile (format-me): Use -I$(common-objpfx)manual.
23970 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23971 ($(common-objpfx)manual/%): New target.
23972 (manual/%): Remove target.
23973 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23974 (print_version): Use PKGVERSION.
23975 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23976 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23977 and REPORT_BUGS_TO.
23978 ($(objpfx)xtrace): Likewise.
23979 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23980 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23981 (print_version): Use PKGVERSION.
23982 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23983 (do_version): Use PKGVERSION.
23984 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23985 REPORT_BUGS_TO.
23986 (common-ldd-rewrite): Likewise.
23987 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23988 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23989 (print_version): Use PKGVERSION.
23990 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23991 * elf/pldd.c (argp_program_bug_address): Remove variable.
23992 (more_help): New function.
23993 (argp): Use more_help.
23994 (print_version): Use PKGVERSION.
23995 * elf/sln.c (main): Use PKGVERSION.
23996 (usage): Use REPORT_BUGS_TO.
23997 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23998 (top level): Use PKGVERSION.
23999 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24000 (print_version): Use PKGVERSION.
24001 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24002 (print_version): Use PKGVERSION.
24003 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24004 (print_version): Use PKGVERSION.
24005 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24006 (print_version): Use PKGVERSION.
24007 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24008 (print_version): Use PKGVERSION.
24009 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24010 (print_version): Use PKGVERSION.
24011 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24012 and BUGURL.
24013 ($(objpfx)memusage): Likewise.
24014 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24015 (do_version): Use PKGVERSION.
24016 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24017 (print_version): Use PKGVERSION.
24018 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24019 ($PKGVERSION): New variable.
24020 ($REPORT_BUGS_TO): Likewise.
24021 (usage): Use $REPORT_BUGS_TO.
24022 (top level): Use $PKGVERSION.
24023 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24024 ($(objpfx)pkgvers.texi): New rule.
24025 ($(objpfx)stamp-pkgvers): Likewise.
24026 * manual/install.texi: Include pkgvers.texi.
24027 (--with-pkgversion): Document new configure option.
24028 (--with-bugurl): Likewise.
24029 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24030 than necessarily for this particular distribution. Use
24031 REPORT_BUGS_TO for where to report bugs.
24032 * INSTALL: Regenerated.
24033 * manual/libc.texinfo: Include pkgvers.texi.
24034 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24035 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24036 (print_version): Use PKGVERSION.
24037 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24038 (print_version): Use PKGVERSION.
24039 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24040 (print_version): Use PKGVERSION.
24041 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24042 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24043 macro.
24044 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24045 (print_version): Use PKGVERSION.
24046 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24047 (print_version): Use PKGVERSION.
24048 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24049 and PKGVERSION.
24050
92e4b6a9
JM
24051 * timezone/checktab.awk: Update from tzcode 2012i.
24052 * timezone/ialloc.c: Likewise.
24053 * timezone/private.h: Likewise.
24054 * timezone/scheck.c: Likewise.
24055 * timezone/tzfile.h: Likewise.
24056 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24057 (TZVERSION): Hardcode tzcode version number.
24058 * timezone/zdump.c: Update from tzcode 2012i.
24059 * timezone/zic.c: Likewise.
24060 * timezone/version.h: New file.
24061 * timezone/README: Describe version.h. Update upstream location.
24062
9bde902c
JM
24063 [BZ #14824]
24064 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24065 (mktemp): Enable declaration.
24066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24067 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24069 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24070 Likewise.
24071 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24072 Likewise.
24073 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24074 Likewise.
24075 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24076 Likewise.
24077 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24078 Likewise.
24079 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24080 Likewise.
24081
fb1ae1ee
JM
24082 [BZ #14821]
24083 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24084 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24085 for copies of such integer values.
24086 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24087 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24088
2c1adbcb
AJ
240892012-11-09 Andreas Jaeger <aj@suse.de>
24090
24091 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24092 definitions and declarations that are provided by
24093 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24094
d0f8457e
AK
240952012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24096
3a235abb 24097 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
24098 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24099 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24100 definition.
24101
57241e26
MS
241022012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24103
24104 * elf/elf.h: Update comment before AArch64 relocations.
24105
60e8270d
DM
241062012-11-07 David S. Miller <davem@davemloft.net>
24107
24108 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24109 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24110 (__start_context): Declare.
24111 (__makecontext_ret): Delete.
24112 (__makecontext): Hook up __start_context instead of
24113 __makecontext_ret.
24114 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24115 (sysdep_routines): Add __start_context when in stdlib.
24116
0fbb0fbc
JM
241172012-11-07 Joseph Myers <joseph@codesourcery.com>
24118
24119 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24120 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24121 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24122 hardcoded "nm".
24123 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24124 (READELF): New variable. Use it instead of hardcoded "readelf".
24125
eb48db7e
L
241262012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24127
24128 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24129 * sysdeps/x86/Makefile: Here.
24130 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24131 * sysdeps/x86/tst-xmmymm.sh: This.
24132
05bcf62a
JM
241332012-11-07 Joseph Myers <joseph@codesourcery.com>
24134
c4b6cf53
JM
24135 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24136 expectations.
24137 [UNIX98] (pthread_barrier_t): Do not expect.
24138 [UNIX98] (pthread_barrierattr_t): Likewise.
24139 [UNIX98] (pthread_spinlock_t): Likewise.
24140 [UNIX98] (pthread_barrier_destroy): Likewise.
24141 [UNIX98] (pthread_barrier_init): Likewise.
24142 [UNIX98] (pthread_barrier_wait): Likewise.
24143 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24144 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24145 [UNIX98] (pthread_barrierattr_init): Likewise.
24146 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24147 [UNIX98] (pthread_getcpuclockid): Likewise.
24148 [UNIX98] (pthread_mutex_timedlock): Likewise.
24149 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24150 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24151 [UNIX98] (pthread_sigmask): Likewise.
24152 [UNIX98] (pthread_spin_destroy): Likewise.
24153 [UNIX98] (pthread_spin_init): Likewise.
24154 [UNIX98] (pthread_spin_lock): Likewise.
24155 [UNIX98] (pthread_spin_trylock): Likewise.
24156 [UNIX98] (pthread_spin_unlock): Likewise.
24157 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24158 Do not expect.
24159 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24160 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24161 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24162 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24163 [XPG3 || XPG4] (pthread_key_t): Likewise.
24164 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24165 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24166 [XPG3 || XPG4] (pthread_once_t): Likewise.
24167 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24168 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24169 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24170 [XPG3 || XPG4] (pthread_t): Likewise.
24171
cbe6e120
JM
24172 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24173 not expect.
24174 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24175
1b126443
JM
24176 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24177 Change function return type to int.
24178
b961a573
JM
24179 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24180 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24181 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24182 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24183 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24184 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24185 [!POSIX] (posix_madvise): Likewise.
24186 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24187 && !UNIX98].
24188 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24189 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24190 (mode_t): Likewise.
24191 (posix_mem_offset): Likewise.
24192 (posix_typed_mem_get_info): Likewise.
24193 (posix_typed_mem_open): Likewise.
24194
9e188909
JM
24195 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24196 Change condition to [XOPEN2K8].
24197
05bcf62a
JM
24198 * conform/conformtest.pl: Preprocess allow-header data with -x c
24199 instead of from stdin.
24200 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24201 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24202 [C99-based standards] (cerfc): Likewise.
24203 [C99-based standards] (cexp2): Likewise.
24204 [C99-based standards] (cexpm1): Likewise.
24205 [C99-based standards] (clog10): Likewise.
24206 [C99-based standards] (clog1p): Likewise.
24207 [C99-based standards] (clog2): Likewise.
24208 [C99-based standards] (clgamma): Likewise.
24209 [C99-based standards] (ctgamma): Likewise.
24210 [C99-based standards] (cerff): Likewise.
24211 [C99-based standards] (cerfcf): Likewise.
24212 [C99-based standards] (cexp2f): Likewise.
24213 [C99-based standards] (cexpm1f): Likewise.
24214 [C99-based standards] (clog10f): Likewise.
24215 [C99-based standards] (clog1pf): Likewise.
24216 [C99-based standards] (clog2f): Likewise.
24217 [C99-based standards] (clgammaf): Likewise.
24218 [C99-based standards] (ctgammaf): Likewise.
24219 [C99-based standards] (cerfl): Likewise.
24220 [C99-based standards] (cerfcl): Likewise.
24221 [C99-based standards] (cexp2l): Likewise.
24222 [C99-based standards] (cexpm1l): Likewise.
24223 [C99-based standards] (clog10l): Likewise.
24224 [C99-based standards] (clog1pl): Likewise.
24225 [C99-based standards] (clog2l): Likewise.
24226 [C99-based standards] (clgammal): Likewise.
24227 [C99-based standards] (ctgammal): Likewise.
24228 * conform/data/inttypes.h-data [C99-based standards]: Include
24229 stdint.h-data. Remove all expectations for stdint.h contents.
24230 [C99-based standards] (PRI*): Do not allow.
24231 [C99-based standards] (SCN*): Likewise.
24232 [C99-based standards] (*_t): Likewise.
24233 [C99-based-standards] (PRId8): Expect macro.
24234 [C99-based-standards] (PRIi8): Likewise.
24235 [C99-based-standards] (PRIo8): Likewise.
24236 [C99-based-standards] (PRIu8): Likewise.
24237 [C99-based-standards] (PRIx8): Likewise.
24238 [C99-based-standards] (PRIX8): Likewise.
24239 [C99-based-standards] (SCNd8): Likewise.
24240 [C99-based-standards] (SCNi8): Likewise.
24241 [C99-based-standards] (SCNo8): Likewise.
24242 [C99-based-standards] (SCNu8): Likewise.
24243 [C99-based-standards] (SCNx8): Likewise.
24244 [C99-based-standards] (PRIdLEAST8): Likewise.
24245 [C99-based-standards] (PRIiLEAST8): Likewise.
24246 [C99-based-standards] (PRIoLEAST8): Likewise.
24247 [C99-based-standards] (PRIuLEAST8): Likewise.
24248 [C99-based-standards] (PRIxLEAST8): Likewise.
24249 [C99-based-standards] (PRIXLEAST8): Likewise.
24250 [C99-based-standards] (SCNdLEAST8): Likewise.
24251 [C99-based-standards] (SCNiLEAST8): Likewise.
24252 [C99-based-standards] (SCNoLEAST8): Likewise.
24253 [C99-based-standards] (SCNuLEAST8): Likewise.
24254 [C99-based-standards] (SCNxLEAST8): Likewise.
24255 [C99-based-standards] (PRIdFAST8): Likewise.
24256 [C99-based-standards] (PRIiFAST8): Likewise.
24257 [C99-based-standards] (PRIoFAST8): Likewise.
24258 [C99-based-standards] (PRIuFAST8): Likewise.
24259 [C99-based-standards] (PRIxFAST8): Likewise.
24260 [C99-based-standards] (PRIXFAST8): Likewise.
24261 [C99-based-standards] (SCNdFAST8): Likewise.
24262 [C99-based-standards] (SCNiFAST8): Likewise.
24263 [C99-based-standards] (SCNoFAST8): Likewise.
24264 [C99-based-standards] (SCNuFAST8): Likewise.
24265 [C99-based-standards] (SCNxFAST8): Likewise.
24266 [C99-based-standards] (PRId16): Likewise.
24267 [C99-based-standards] (PRIi16): Likewise.
24268 [C99-based-standards] (PRIo16): Likewise.
24269 [C99-based-standards] (PRIu16): Likewise.
24270 [C99-based-standards] (PRIx16): Likewise.
24271 [C99-based-standards] (PRIX16): Likewise.
24272 [C99-based-standards] (SCNd16): Likewise.
24273 [C99-based-standards] (SCNi16): Likewise.
24274 [C99-based-standards] (SCNo16): Likewise.
24275 [C99-based-standards] (SCNu16): Likewise.
24276 [C99-based-standards] (SCNx16): Likewise.
24277 [C99-based-standards] (PRIdLEAST16): Likewise.
24278 [C99-based-standards] (PRIiLEAST16): Likewise.
24279 [C99-based-standards] (PRIoLEAST16): Likewise.
24280 [C99-based-standards] (PRIuLEAST16): Likewise.
24281 [C99-based-standards] (PRIxLEAST16): Likewise.
24282 [C99-based-standards] (PRIXLEAST16): Likewise.
24283 [C99-based-standards] (SCNdLEAST16): Likewise.
24284 [C99-based-standards] (SCNiLEAST16): Likewise.
24285 [C99-based-standards] (SCNoLEAST16): Likewise.
24286 [C99-based-standards] (SCNuLEAST16): Likewise.
24287 [C99-based-standards] (SCNxLEAST16): Likewise.
24288 [C99-based-standards] (PRIdFAST16): Likewise.
24289 [C99-based-standards] (PRIiFAST16): Likewise.
24290 [C99-based-standards] (PRIoFAST16): Likewise.
24291 [C99-based-standards] (PRIuFAST16): Likewise.
24292 [C99-based-standards] (PRIxFAST16): Likewise.
24293 [C99-based-standards] (PRIXFAST16): Likewise.
24294 [C99-based-standards] (SCNdFAST16): Likewise.
24295 [C99-based-standards] (SCNiFAST16): Likewise.
24296 [C99-based-standards] (SCNoFAST16): Likewise.
24297 [C99-based-standards] (SCNuFAST16): Likewise.
24298 [C99-based-standards] (SCNxFAST16): Likewise.
24299 [C99-based-standards] (PRId32): Likewise.
24300 [C99-based-standards] (PRIi32): Likewise.
24301 [C99-based-standards] (PRIo32): Likewise.
24302 [C99-based-standards] (PRIu32): Likewise.
24303 [C99-based-standards] (PRIx32): Likewise.
24304 [C99-based-standards] (PRIX32): Likewise.
24305 [C99-based-standards] (SCNd32): Likewise.
24306 [C99-based-standards] (SCNi32): Likewise.
24307 [C99-based-standards] (SCNo32): Likewise.
24308 [C99-based-standards] (SCNu32): Likewise.
24309 [C99-based-standards] (SCNx32): Likewise.
24310 [C99-based-standards] (PRIdLEAST32): Likewise.
24311 [C99-based-standards] (PRIiLEAST32): Likewise.
24312 [C99-based-standards] (PRIoLEAST32): Likewise.
24313 [C99-based-standards] (PRIuLEAST32): Likewise.
24314 [C99-based-standards] (PRIxLEAST32): Likewise.
24315 [C99-based-standards] (PRIXLEAST32): Likewise.
24316 [C99-based-standards] (SCNdLEAST32): Likewise.
24317 [C99-based-standards] (SCNiLEAST32): Likewise.
24318 [C99-based-standards] (SCNoLEAST32): Likewise.
24319 [C99-based-standards] (SCNuLEAST32): Likewise.
24320 [C99-based-standards] (SCNxLEAST32): Likewise.
24321 [C99-based-standards] (PRIdFAST32): Likewise.
24322 [C99-based-standards] (PRIiFAST32): Likewise.
24323 [C99-based-standards] (PRIoFAST32): Likewise.
24324 [C99-based-standards] (PRIuFAST32): Likewise.
24325 [C99-based-standards] (PRIxFAST32): Likewise.
24326 [C99-based-standards] (PRIXFAST32): Likewise.
24327 [C99-based-standards] (SCNdFAST32): Likewise.
24328 [C99-based-standards] (SCNiFAST32): Likewise.
24329 [C99-based-standards] (SCNoFAST32): Likewise.
24330 [C99-based-standards] (SCNuFAST32): Likewise.
24331 [C99-based-standards] (SCNxFAST32): Likewise.
24332 [C99-based-standards] (PRId64): Likewise.
24333 [C99-based-standards] (PRIi64): Likewise.
24334 [C99-based-standards] (PRIo64): Likewise.
24335 [C99-based-standards] (PRIu64): Likewise.
24336 [C99-based-standards] (PRIx64): Likewise.
24337 [C99-based-standards] (PRIX64): Likewise.
24338 [C99-based-standards] (SCNd64): Likewise.
24339 [C99-based-standards] (SCNi64): Likewise.
24340 [C99-based-standards] (SCNo64): Likewise.
24341 [C99-based-standards] (SCNu64): Likewise.
24342 [C99-based-standards] (SCNx64): Likewise.
24343 [C99-based-standards] (PRIdLEAST64): Likewise.
24344 [C99-based-standards] (PRIiLEAST64): Likewise.
24345 [C99-based-standards] (PRIoLEAST64): Likewise.
24346 [C99-based-standards] (PRIuLEAST64): Likewise.
24347 [C99-based-standards] (PRIxLEAST64): Likewise.
24348 [C99-based-standards] (PRIXLEAST64): Likewise.
24349 [C99-based-standards] (SCNdLEAST64): Likewise.
24350 [C99-based-standards] (SCNiLEAST64): Likewise.
24351 [C99-based-standards] (SCNoLEAST64): Likewise.
24352 [C99-based-standards] (SCNuLEAST64): Likewise.
24353 [C99-based-standards] (SCNxLEAST64): Likewise.
24354 [C99-based-standards] (PRIdFAST64): Likewise.
24355 [C99-based-standards] (PRIiFAST64): Likewise.
24356 [C99-based-standards] (PRIoFAST64): Likewise.
24357 [C99-based-standards] (PRIuFAST64): Likewise.
24358 [C99-based-standards] (PRIxFAST64): Likewise.
24359 [C99-based-standards] (PRIXFAST64): Likewise.
24360 [C99-based-standards] (SCNdFAST64): Likewise.
24361 [C99-based-standards] (SCNiFAST64): Likewise.
24362 [C99-based-standards] (SCNoFAST64): Likewise.
24363 [C99-based-standards] (SCNuFAST64): Likewise.
24364 [C99-based-standards] (SCNxFAST64): Likewise.
24365 [C99-based-standards] (PRIdMAX): Likewise.
24366 [C99-based-standards] (PRIiMAX): Likewise.
24367 [C99-based-standards] (PRIoMAX): Likewise.
24368 [C99-based-standards] (PRIuMAX): Likewise.
24369 [C99-based-standards] (PRIxMAX): Likewise.
24370 [C99-based-standards] (PRIXMAX): Likewise.
24371 [C99-based-standards] (SCNdMAX): Likewise.
24372 [C99-based-standards] (SCNiMAX): Likewise.
24373 [C99-based-standards] (SCNoMAX): Likewise.
24374 [C99-based-standards] (SCNuMAX): Likewise.
24375 [C99-based-standards] (SCNxMAX): Likewise.
24376 [C99-based-standards] (PRIdPTR): Likewise.
24377 [C99-based-standards] (PRIiPTR): Likewise.
24378 [C99-based-standards] (PRIoPTR): Likewise.
24379 [C99-based-standards] (PRIuPTR): Likewise.
24380 [C99-based-standards] (PRIxPTR): Likewise.
24381 [C99-based-standards] (PRIXPTR): Likewise.
24382 [C99-based-standards] (SCNdPTR): Likewise.
24383 [C99-based-standards] (SCNiPTR): Likewise.
24384 [C99-based-standards] (SCNoPTR): Likewise.
24385 [C99-based-standards] (SCNuPTR): Likewise.
24386 [C99-based-standards] (SCNxPTR): Likewise.
24387 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24388 allow.
24389 * conform/data/stdint.h-data: Update comments to clarify
24390 requirements.
24391 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24392 type.
24393 [C99-based standards] (INT8_MAX): Likewise.
24394 [C99-based standards] (INT16_MIN): Likewise.
24395 [C99-based standards] (INT16_MAX): Likewise.
24396 [C99-based standards] (INT32_MIN): Likewise.
24397 [C99-based standards] (INT32_MAX): Likewise.
24398 [C99-based standards] (INT64_MIN): Likewise.
24399 [C99-based standards] (INT64_MAX): Likewise.
24400 [C99-based standards] (UINT8_MAX): Likewise.
24401 [C99-based standards] (UINT16_MAX): Likewise.
24402 [C99-based standards] (UINT32_MAX): Likewise.
24403 [C99-based standards] (UINT64_MAX): Likewise.
24404 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24405 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24406 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24407 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24408 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24409 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24410 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24411 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24412 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24413 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24414 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24415 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24416 [C99-based standards] (INT_FAST8_MIN): Likewise.
24417 [C99-based standards] (INT_FAST8_MAX): Likewise.
24418 [C99-based standards] (INT_FAST16_MIN): Likewise.
24419 [C99-based standards] (INT_FAST16_MAX): Likewise.
24420 [C99-based standards] (INT_FAST32_MIN): Likewise.
24421 [C99-based standards] (INT_FAST32_MAX): Likewise.
24422 [C99-based standards] (INT_FAST64_MIN): Likewise.
24423 [C99-based standards] (INT_FAST64_MAX): Likewise.
24424 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24425 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24426 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24427 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24428 [C99-based standards] (INTPTR_MIN): Likewise.
24429 [C99-based standards] (INTPTR_MAX): Likewise.
24430 [C99-based standards] (UINTPTR_MAX): Likewise.
24431 [C99-based standards] (INTMAX_MIN): Likewise.
24432 [C99-based standards] (INTMAX_MAX): Likewise.
24433 [C99-based standards] (UINTMAX_MAX): Likewise.
24434 [C99-based standards] (PTRDIFF_MIN): Likewise.
24435 [C99-based standards] (PTRDIFF_MAX): Likewise.
24436 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24437 [C99-based standards] (SIZE_MAX): Likewise.
24438 [C99-based standards] (WCHAR_MAX): Likewise.
24439 [C99-based standards] (WINT_MAX): Likewise.
24440 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24441 constraint on value.
24442 [C99-based standards] (WCHAR_MIN): Likewise.
24443 [C99-based standards] (WINT_MIN): Likewise.
24444 [C99-based standards] (*_t): Allow.
24445 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24446 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24447 Include math.h-data and complex.h-data. Remove all expectations
24448 of math.h and complex.h contents.
24449 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24450 at end of line.
24451 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24452 (struct tm): Expect tag.
24453 [C99-based-standards] (wcstof): Expect function.
24454 [C99-based-standards] (wcstold): Likewise.
24455 [C99-based-standards] (wcstoll): Likewise.
24456 [C99-based-standards] (wcstoull): Likewise.
24457 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24458 macro-int-constant. Specify type.
24459 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24460 constraint on value.
24461 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24462 Specify type.
24463 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24464 Specify value.
24465 [ISO C standards]: Do not allow headers.
24466 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24467 wcs[abcdefghijklmnopqrstuvwxyz]*.
24468 [ISO C standards] (*_t): Do not allow.
24469 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24470 Expect function.
24471 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24472 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24473 Specify type.
24474 [ISO C standards]: Do not allow headers.
24475 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24476 is[abcdefghijklmnopqrstuvwxyz]*.
24477 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24478 to[abcdefghijklmnopqrstuvwxyz]*.
24479 [ISO C standards] (*_t): Do not allow.
24480 * conform/data/stdalign.h-data: New file.
24481 * conform/data/stdbool.h-data: Likewise.
24482 * conform/data/stdnoreturn.h-data: Likewise.
24483
7514feb8
RM
244842012-11-07 Roland McGrath <roland@hack.frob.com>
24485
24486 [BZ #14815]
24487 * manual/filesys.texi (Directory Entries): Typo fix.
24488 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24489
19b2ecfc
MS
244902012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24491
24492 * elf/elf.h (EM_AARCH64): New macro.
24493 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24494 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24495 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24496 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24497 (R_AARCH64_TLSDESC): Likewise.
24498 (NT_ARM_TLS): Likewise.
24499 (NT_ARM_HW_BREAK): Likewise.
24500 (NT_ARM_HW_WATCH): Likewise.
24501
60e235ee
JM
245022012-11-07 Joseph Myers <joseph@codesourcery.com>
24503
24504 [BZ #14811]
24505 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24506 (__ieee754_powl): Saturate nonzero exponents with absolute value
24507 below 0x1p-79 to +/- 0x1p-79.
24508 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24509 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24510 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24511 nonzero exponents with absolute value below 0x1p-32 to +/-
24512 0x1p-32.
24513 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24514 (__ieee754_powl): Saturate nonzero exponents with absolute value
24515 below 0x1p-79 to +/- 0x1p-79.
24516 * math/libm-test.inc (pow_test): Add more tests.
24517
0ab234b7
AK
245182012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24519
24520 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24521 _dl_s390_cap_flags with kernel. Increase string length.
24522 (_dl_s390_platforms): Add z196 and zEC12.
24523
45832f74
JM
245242012-11-07 Joseph Myers <joseph@codesourcery.com>
24525
24526 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24527 Change XOPEN21K to XOPEN2K.
24528
19218757
MK
245292012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24530
24531 * string/memmove.c: Use memcpy when possible.
24532
c5f45721
AJ
245332012-11-06 Andreas Jaeger <aj@suse.de>
24534
24535 * po/eo.po: Update from translation team.
24536
82477c28
JM
245372012-11-06 Joseph Myers <joseph@codesourcery.com>
24538
24539 [BZ #14793]
24540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24541 exponent and small x and y exponents, scale x or y up. Increase
24542 by 2 the exponent used in scaling up.
24543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24544 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24545 * math/libm-test.inc (fma_test): Add more tests.
24546 (fma_test_towardzero): Likewise.
24547 (fma_test_downward): Likewise.
24548 (fma_test_upward): Likewise.
24549
99252c8c
JM
245502012-11-05 Joseph Myers <joseph@codesourcery.com>
24551
acfa885f
JM
24552 [BZ #14805]
24553 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24554 fenv_t *.
24555
99252c8c
JM
24556 [BZ #14801]
24557 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24558 namespace for names of struct fields.
24559 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24560 fenv_t fields.
24561 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24562 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24563
d6d98dea
ST
245642012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24565
24566 [BZ #3665]
24567 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24568
e10bb107
TS
245692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24570
24571 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24572 PTR_DEMANGLE.
24573
24574 [BZ #5246]
24575 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24576 PTR_DEMANGLE.
24577
a0c2940d
JM
245782012-11-04 Joseph Myers <joseph@codesourcery.com>
24579
24580 [BZ #14797]
24581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24582 definitely overflow as x * y not x * y + z.
24583 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24584 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24585 * math/libm-test.inc (fma_test): Add more tests.
24586 (fma_test_towardzero): Likewise.
24587 (fma_test_downward): Likewise.
24588 (fma_test_upward): Likewise.
24589
b830319d
TS
245902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24591
24592 [BZ #157]
24593
24594 * include/stub-tag.h: Remove file.
24595 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24596 '#include' of it.
24597 * manual/maint.texi (Porting): Don't reference it.
24598 * Makerules ($(objpfx)stubs): Likewise.
24599 * dirent/closedir.c: Don't include <stub-tag.h>.
24600 * dirent/dirfd.c: Likewise.
24601 * dirent/fdopendir.c: Likewise.
24602 * dirent/getdents.c: Likewise.
24603 * dirent/getdents64.c: Likewise.
24604 * dirent/opendir.c: Likewise.
24605 * dirent/readdir.c: Likewise.
24606 * dirent/readdir64.c: Likewise.
24607 * dirent/readdir64_r.c: Likewise.
24608 * dirent/readdir_r.c: Likewise.
24609 * dirent/rewinddir.c: Likewise.
24610 * dirent/seekdir.c: Likewise.
24611 * dirent/telldir.c: Likewise.
24612 * gmon/profil.c: Likewise.
24613 * grp/setgroups.c: Likewise.
24614 * inet/if_index.c: Likewise.
24615 * io/access.c: Likewise.
24616 * io/chdir.c: Likewise.
24617 * io/chmod.c: Likewise.
24618 * io/chown.c: Likewise.
24619 * io/close.c: Likewise.
24620 * io/dup.c: Likewise.
24621 * io/dup2.c: Likewise.
24622 * io/dup3.c: Likewise.
24623 * io/euidaccess.c: Likewise.
24624 * io/faccessat.c: Likewise.
24625 * io/fchdir.c: Likewise.
24626 * io/fchmod.c: Likewise.
24627 * io/fchmodat.c: Likewise.
24628 * io/fchown.c: Likewise.
24629 * io/fchownat.c: Likewise.
24630 * io/fcntl.c: Likewise.
24631 * io/flock.c: Likewise.
24632 * io/fstatfs.c: Likewise.
24633 * io/fstatfs64.c: Likewise.
24634 * io/fstatvfs.c: Likewise.
24635 * io/fstatvfs64.c: Likewise.
24636 * io/futimens.c: Likewise.
24637 * io/fxstat.c: Likewise.
24638 * io/fxstat64.c: Likewise.
24639 * io/fxstatat.c: Likewise.
24640 * io/fxstatat64.c: Likewise.
24641 * io/getcwd.c: Likewise.
24642 * io/isatty.c: Likewise.
24643 * io/lchmod.c: Likewise.
24644 * io/lchown.c: Likewise.
24645 * io/link.c: Likewise.
24646 * io/linkat.c: Likewise.
24647 * io/lseek.c: Likewise.
24648 * io/lseek64.c: Likewise.
24649 * io/lxstat64.c: Likewise.
24650 * io/mkdir.c: Likewise.
24651 * io/mkdirat.c: Likewise.
24652 * io/mkfifo.c: Likewise.
24653 * io/mkfifoat.c: Likewise.
24654 * io/open.c: Likewise.
24655 * io/open64.c: Likewise.
24656 * io/openat.c: Likewise.
24657 * io/openat64.c: Likewise.
24658 * io/pipe.c: Likewise.
24659 * io/pipe2.c: Likewise.
24660 * io/poll.c: Likewise.
24661 * io/posix_fadvise.c: Likewise.
24662 * io/posix_fadvise64.c: Likewise.
24663 * io/posix_fallocate.c: Likewise.
24664 * io/posix_fallocate64.c: Likewise.
24665 * io/read.c: Likewise.
24666 * io/readlink.c: Likewise.
24667 * io/readlinkat.c: Likewise.
24668 * io/rmdir.c: Likewise.
24669 * io/sendfile.c: Likewise.
24670 * io/sendfile64.c: Likewise.
24671 * io/statfs.c: Likewise.
24672 * io/statfs64.c: Likewise.
24673 * io/statvfs.c: Likewise.
24674 * io/statvfs64.c: Likewise.
24675 * io/symlink.c: Likewise.
24676 * io/symlinkat.c: Likewise.
24677 * io/ttyname.c: Likewise.
24678 * io/ttyname_r.c: Likewise.
24679 * io/umask.c: Likewise.
24680 * io/unlink.c: Likewise.
24681 * io/unlinkat.c: Likewise.
24682 * io/utime.c: Likewise.
24683 * io/utimensat.c: Likewise.
24684 * io/write.c: Likewise.
24685 * io/xmknod.c: Likewise.
24686 * io/xmknodat.c: Likewise.
24687 * io/xstat.c: Likewise.
24688 * io/xstat64.c: Likewise.
24689 * login/getpt.c: Likewise.
24690 * login/grantpt.c: Likewise.
24691 * login/unlockpt.c: Likewise.
24692 * math/e_acoshl.c: Likewise.
24693 * math/e_acosl.c: Likewise.
24694 * math/e_asinl.c: Likewise.
24695 * math/e_atan2l.c: Likewise.
24696 * math/e_atanhl.c: Likewise.
24697 * math/e_coshl.c: Likewise.
24698 * math/e_expl.c: Likewise.
24699 * math/e_fmodl.c: Likewise.
24700 * math/e_gammal_r.c: Likewise.
24701 * math/e_hypotl.c: Likewise.
24702 * math/e_j0l.c: Likewise.
24703 * math/e_j1l.c: Likewise.
24704 * math/e_jnl.c: Likewise.
24705 * math/e_lgammal_r.c: Likewise.
24706 * math/e_log10l.c: Likewise.
24707 * math/e_log2l.c: Likewise.
24708 * math/e_logl.c: Likewise.
24709 * math/e_powl.c: Likewise.
24710 * math/e_rem_pio2l.c: Likewise.
24711 * math/e_sinhl.c: Likewise.
24712 * math/e_sqrtl.c: Likewise.
24713 * math/fclrexcpt.c: Likewise.
24714 * math/fedisblxcpt.c: Likewise.
24715 * math/feenablxcpt.c: Likewise.
24716 * math/fegetenv.c: Likewise.
24717 * math/fegetexcept.c: Likewise.
24718 * math/fegetround.c: Likewise.
24719 * math/feholdexcpt.c: Likewise.
24720 * math/fesetenv.c: Likewise.
24721 * math/fesetround.c: Likewise.
24722 * math/feupdateenv.c: Likewise.
24723 * math/fgetexcptflg.c: Likewise.
24724 * math/fraiseexcpt.c: Likewise.
24725 * math/fsetexcptflg.c: Likewise.
24726 * math/ftestexcept.c: Likewise.
24727 * math/k_cosl.c: Likewise.
24728 * math/k_rem_pio2l.c: Likewise.
24729 * math/k_sinl.c: Likewise.
24730 * math/k_tanl.c: Likewise.
24731 * math/s_asinhl.c: Likewise.
24732 * math/s_atanl.c: Likewise.
24733 * math/s_cbrtl.c: Likewise.
24734 * math/s_erfl.c: Likewise.
24735 * math/s_expm1l.c: Likewise.
24736 * math/s_log1pl.c: Likewise.
24737 * math/s_tanhl.c: Likewise.
24738 * misc/acct.c: Likewise.
24739 * misc/brk.c: Likewise.
24740 * misc/chflags.c: Likewise.
24741 * misc/chroot.c: Likewise.
24742 * misc/fchflags.c: Likewise.
24743 * misc/fgetxattr.c: Likewise.
24744 * misc/flistxattr.c: Likewise.
24745 * misc/fremovexattr.c: Likewise.
24746 * misc/fsetxattr.c: Likewise.
24747 * misc/fsync.c: Likewise.
24748 * misc/ftruncate.c: Likewise.
24749 * misc/futimes.c: Likewise.
24750 * misc/futimesat.c: Likewise.
24751 * misc/getdomain.c: Likewise.
24752 * misc/getdtsz.c: Likewise.
24753 * misc/gethostid.c: Likewise.
24754 * misc/gethostname.c: Likewise.
24755 * misc/getloadavg.c: Likewise.
24756 * misc/getpagesize.c: Likewise.
24757 * misc/getsysstats.c: Likewise.
24758 * misc/getxattr.c: Likewise.
24759 * misc/gtty.c: Likewise.
24760 * misc/ioctl.c: Likewise.
24761 * misc/lgetxattr.c: Likewise.
24762 * misc/listxattr.c: Likewise.
24763 * misc/llistxattr.c: Likewise.
24764 * misc/lremovexattr.c: Likewise.
24765 * misc/lsetxattr.c: Likewise.
24766 * misc/lutimes.c: Likewise.
24767 * misc/madvise.c: Likewise.
24768 * misc/mincore.c: Likewise.
24769 * misc/mlock.c: Likewise.
24770 * misc/mlockall.c: Likewise.
24771 * misc/mmap.c: Likewise.
24772 * misc/mprotect.c: Likewise.
24773 * misc/msync.c: Likewise.
24774 * misc/munlock.c: Likewise.
24775 * misc/munlockall.c: Likewise.
24776 * misc/munmap.c: Likewise.
24777 * misc/preadv.c: Likewise.
24778 * misc/preadv64.c: Likewise.
24779 * misc/ptrace.c: Likewise.
24780 * misc/pwritev.c: Likewise.
24781 * misc/pwritev64.c: Likewise.
24782 * misc/readv.c: Likewise.
24783 * misc/reboot.c: Likewise.
24784 * misc/remap_file_pages.c: Likewise.
24785 * misc/removexattr.c: Likewise.
24786 * misc/revoke.c: Likewise.
24787 * misc/select.c: Likewise.
24788 * misc/setdomain.c: Likewise.
24789 * misc/setegid.c: Likewise.
24790 * misc/seteuid.c: Likewise.
24791 * misc/sethostid.c: Likewise.
24792 * misc/sethostname.c: Likewise.
24793 * misc/setregid.c: Likewise.
24794 * misc/setreuid.c: Likewise.
24795 * misc/setxattr.c: Likewise.
24796 * misc/sstk.c: Likewise.
24797 * misc/stty.c: Likewise.
24798 * misc/swapoff.c: Likewise.
24799 * misc/swapon.c: Likewise.
24800 * misc/sync.c: Likewise.
24801 * misc/syncfs.c: Likewise.
24802 * misc/syscall.c: Likewise.
24803 * misc/truncate.c: Likewise.
24804 * misc/ualarm.c: Likewise.
24805 * misc/usleep.c: Likewise.
24806 * misc/ustat.c: Likewise.
24807 * misc/utimes.c: Likewise.
24808 * misc/vhangup.c: Likewise.
24809 * misc/writev.c: Likewise.
24810 * posix/_exit.c: Likewise.
24811 * posix/alarm.c: Likewise.
24812 * posix/execve.c: Likewise.
24813 * posix/fexecve.c: Likewise.
24814 * posix/fork.c: Likewise.
24815 * posix/fpathconf.c: Likewise.
24816 * posix/getaddrinfo.c: Likewise.
24817 * posix/getegid.c: Likewise.
24818 * posix/geteuid.c: Likewise.
24819 * posix/getgid.c: Likewise.
24820 * posix/getgroups.c: Likewise.
24821 * posix/getlogin.c: Likewise.
24822 * posix/getlogin_r.c: Likewise.
24823 * posix/getpgid.c: Likewise.
24824 * posix/getpid.c: Likewise.
24825 * posix/getppid.c: Likewise.
24826 * posix/getresgid.c: Likewise.
24827 * posix/getresuid.c: Likewise.
24828 * posix/getsid.c: Likewise.
24829 * posix/getuid.c: Likewise.
24830 * posix/glob64.c: Likewise.
24831 * posix/nanosleep.c: Likewise.
24832 * posix/pathconf.c: Likewise.
24833 * posix/pause.c: Likewise.
24834 * posix/posix_madvise.c: Likewise.
24835 * posix/pread.c: Likewise.
24836 * posix/pread64.c: Likewise.
24837 * posix/pwrite.c: Likewise.
24838 * posix/pwrite64.c: Likewise.
24839 * posix/sched_getaffinity.c: Likewise.
24840 * posix/sched_getp.c: Likewise.
24841 * posix/sched_gets.c: Likewise.
24842 * posix/sched_primax.c: Likewise.
24843 * posix/sched_primin.c: Likewise.
24844 * posix/sched_rr_gi.c: Likewise.
24845 * posix/sched_setaffinity.c: Likewise.
24846 * posix/sched_setp.c: Likewise.
24847 * posix/sched_sets.c: Likewise.
24848 * posix/sched_yield.c: Likewise.
24849 * posix/setgid.c: Likewise.
24850 * posix/setlogin.c: Likewise.
24851 * posix/setpgid.c: Likewise.
24852 * posix/setresgid.c: Likewise.
24853 * posix/setresuid.c: Likewise.
24854 * posix/setsid.c: Likewise.
24855 * posix/setuid.c: Likewise.
24856 * posix/sleep.c: Likewise.
24857 * posix/spawni.c: Likewise.
24858 * posix/sysconf.c: Likewise.
24859 * posix/times.c: Likewise.
24860 * posix/wait.c: Likewise.
24861 * posix/wait3.c: Likewise.
24862 * posix/wait4.c: Likewise.
24863 * posix/waitpid.c: Likewise.
24864 * resolv/gai_sigqueue.c: Likewise.
24865 * resource/getpriority.c: Likewise.
24866 * resource/getrlimit.c: Likewise.
24867 * resource/getrusage.c: Likewise.
24868 * resource/nice.c: Likewise.
24869 * resource/setpriority.c: Likewise.
24870 * resource/setrlimit.c: Likewise.
24871 * resource/ulimit.c: Likewise.
24872 * rt/aio_cancel.c: Likewise.
24873 * rt/aio_fsync.c: Likewise.
24874 * rt/aio_read.c: Likewise.
24875 * rt/aio_sigqueue.c: Likewise.
24876 * rt/aio_suspend.c: Likewise.
24877 * rt/aio_write.c: Likewise.
24878 * rt/clock_getres.c: Likewise.
24879 * rt/clock_gettime.c: Likewise.
24880 * rt/clock_nanosleep.c: Likewise.
24881 * rt/clock_settime.c: Likewise.
24882 * rt/lio_listio.c: Likewise.
24883 * rt/mq_close.c: Likewise.
24884 * rt/mq_getattr.c: Likewise.
24885 * rt/mq_notify.c: Likewise.
24886 * rt/mq_open.c: Likewise.
24887 * rt/mq_receive.c: Likewise.
24888 * rt/mq_send.c: Likewise.
24889 * rt/mq_setattr.c: Likewise.
24890 * rt/mq_timedreceive.c: Likewise.
24891 * rt/mq_timedsend.c: Likewise.
24892 * rt/mq_unlink.c: Likewise.
24893 * rt/shm_open.c: Likewise.
24894 * rt/shm_unlink.c: Likewise.
24895 * rt/timer_create.c: Likewise.
24896 * rt/timer_delete.c: Likewise.
24897 * rt/timer_getoverr.c: Likewise.
24898 * rt/timer_gettime.c: Likewise.
24899 * rt/timer_settime.c: Likewise.
24900 * setjmp/__longjmp.c: Likewise.
24901 * setjmp/setjmp.c: Likewise.
24902 * signal/kill.c: Likewise.
24903 * signal/killpg.c: Likewise.
24904 * signal/raise.c: Likewise.
24905 * signal/sigaction.c: Likewise.
24906 * signal/sigaltstack.c: Likewise.
24907 * signal/sigblock.c: Likewise.
24908 * signal/sigignore.c: Likewise.
24909 * signal/sigintr.c: Likewise.
24910 * signal/signal.c: Likewise.
24911 * signal/sigpause.c: Likewise.
24912 * signal/sigpending.c: Likewise.
24913 * signal/sigqueue.c: Likewise.
24914 * signal/sigreturn.c: Likewise.
24915 * signal/sigset.c: Likewise.
24916 * signal/sigsetmask.c: Likewise.
24917 * signal/sigstack.c: Likewise.
24918 * signal/sigsuspend.c: Likewise.
24919 * signal/sigtimedwait.c: Likewise.
24920 * signal/sigvec.c: Likewise.
24921 * signal/sigwait.c: Likewise.
24922 * signal/sigwaitinfo.c: Likewise.
24923 * signal/sysv_signal.c: Likewise.
24924 * socket/accept.c: Likewise.
24925 * socket/accept4.c: Likewise.
24926 * socket/bind.c: Likewise.
24927 * socket/connect.c: Likewise.
24928 * socket/getpeername.c: Likewise.
24929 * socket/getsockname.c: Likewise.
24930 * socket/getsockopt.c: Likewise.
24931 * socket/isfdtype.c: Likewise.
24932 * socket/listen.c: Likewise.
24933 * socket/recv.c: Likewise.
24934 * socket/recvfrom.c: Likewise.
24935 * socket/recvmsg.c: Likewise.
24936 * socket/send.c: Likewise.
24937 * socket/sendmsg.c: Likewise.
24938 * socket/sendto.c: Likewise.
24939 * socket/setsockopt.c: Likewise.
24940 * socket/shutdown.c: Likewise.
24941 * socket/sockatmark.c: Likewise.
24942 * socket/socket.c: Likewise.
24943 * socket/socketpair.c: Likewise.
24944 * stdio-common/ctermid.c: Likewise.
24945 * stdio-common/cuserid.c: Likewise.
24946 * stdio-common/remove.c: Likewise.
24947 * stdio-common/rename.c: Likewise.
24948 * stdio-common/renameat.c: Likewise.
24949 * stdio-common/tempname.c: Likewise.
24950 * stdlib/getcontext.c: Likewise.
24951 * stdlib/makecontext.c: Likewise.
24952 * stdlib/setcontext.c: Likewise.
24953 * stdlib/swapcontext.c: Likewise.
24954 * stdlib/system.c: Likewise.
24955 * streams/fattach.c: Likewise.
24956 * streams/fdetach.c: Likewise.
24957 * streams/getmsg.c: Likewise.
24958 * streams/getpmsg.c: Likewise.
24959 * streams/putmsg.c: Likewise.
24960 * streams/putpmsg.c: Likewise.
24961 * sysdeps/unix/bsd/getpt.c: Likewise.
24962 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24963 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24964 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24966 Likewise.
24967 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24968 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24969 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24970 * sysvipc/msgctl.c: Likewise.
24971 * sysvipc/msgget.c: Likewise.
24972 * sysvipc/msgrcv.c: Likewise.
24973 * sysvipc/msgsnd.c: Likewise.
24974 * sysvipc/semctl.c: Likewise.
24975 * sysvipc/semget.c: Likewise.
24976 * sysvipc/semop.c: Likewise.
24977 * sysvipc/semtimedop.c: Likewise.
24978 * sysvipc/shmat.c: Likewise.
24979 * sysvipc/shmctl.c: Likewise.
24980 * sysvipc/shmdt.c: Likewise.
24981 * sysvipc/shmget.c: Likewise.
24982 * termios/tcdrain.c: Likewise.
24983 * termios/tcflow.c: Likewise.
24984 * termios/tcflush.c: Likewise.
24985 * termios/tcgetattr.c: Likewise.
24986 * termios/tcgetpgrp.c: Likewise.
24987 * termios/tcsendbrk.c: Likewise.
24988 * termios/tcsetattr.c: Likewise.
24989 * termios/tcsetpgrp.c: Likewise.
24990 * time/adjtime.c: Likewise.
24991 * time/clock.c: Likewise.
24992 * time/getitimer.c: Likewise.
24993 * time/gettimeofday.c: Likewise.
24994 * time/setitimer.c: Likewise.
24995 * time/settimeofday.c: Likewise.
24996 * time/stime.c: Likewise.
24997 * time/time.c: Likewise.
24998
249992012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 25000
a20492cf
PT
25001 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25002 /usr/old/bin.
25003
72e182e3
PT
25004 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25005 instead of spaces.
25006 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25007
fbeafede
JM
250082012-11-03 Joseph Myers <joseph@codesourcery.com>
25009
5b5b04d6
JM
25010 [BZ #14796]
25011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25012 FE_TONEAREST before applying Dekker multiplication and Knuth
25013 addition. Clear inexact exceptions and check for exact zero
25014 results afterwards.
25015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25016 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25018 * math/libm-test.inc (fma_test): Add more tests.
25019 (fma_test_towardzero): Likewise.
25020 (fma_test_downward): Likewise.
25021 (fma_test_upward): Likewise.
25022 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25023 function.
25024 (libc_fesetround): New macro.
25025 (libc_fesetroundf): Likewise.
25026 (libc_fesetroundl): Likewise.
25027 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25028 function.
25029 (libc_fesetround_387): Likewise.
25030 (libc_fesetroundf): New macro.
25031 (libc_fesetround): Likewise.
25032 (libc_fesetroundl): Likewise.
25033 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25034 function.
25035 (libc_fesetroundf): New macro.
25036 (libc_fesetround): Likewise.
25037 (libc_fesetroundl): Likewise.
25038 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25039 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25040 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25041 libm_hidden_ver.
25042 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25043 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25044 libm_hidden_def.
25045 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25046 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25047 libm_hidden_ver.
25048 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25049 libm_hidden_def.
25050
fbeafede
JM
25051 [BZ #3439]
25052 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25053 integer constant usable in #if and use that to give value to enum
25054 constant.
25055 (FE_DIVBYZERO): Likewise.
25056 (FE_UNDERFLOW): Likewise.
25057 (FE_OVERFLOW): Likewise.
25058 (FE_INVALID): Likewise.
25059 (FE_INVALID_SNAN): Likewise.
25060 (FE_INVALID_ISI): Likewise.
25061 (FE_INVALID_IDI): Likewise.
25062 (FE_INVALID_ZDZ): Likewise.
25063 (FE_INVALID_IMZ): Likewise.
25064 (FE_INVALID_COMPARE): Likewise.
25065 (FE_INVALID_SOFTWARE): Likewise.
25066 (FE_INVALID_SQRT): Likewise.
25067 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25068 (FE_TONEAREST): Likewise.
25069 (FE_TOWARDZERO): Likewise.
25070 (FE_UPWARD): Likewise.
25071 (FE_DOWNWARD): Likewise.
25072 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25073 (FE_DIVBYZERO): Likewise.
25074 (FE_OVERFLOW): Likewise.
25075 (FE_UNDERFLOW): Likewise.
25076 (FE_INEXACT): Likewise.
25077 (FE_TONEAREST): Likewise.
25078 (FE_DOWNWARD): Likewise.
25079 (FE_UPWARD): Likewise.
25080 (FE_TOWARDZERO): Likewise.
25081 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25082 (FE_UNDERFLOW): Likewise.
25083 (FE_OVERFLOW): Likewise.
25084 (FE_DIVBYZERO): Likewise.
25085 (FE_INVALID): Likewise.
25086 (FE_TONEAREST): Likewise.
25087 (FE_TOWARDZERO): Likewise.
25088 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25089 (FE_OVERFLOW): Likewise.
25090 (FE_UNDERFLOW): Likewise.
25091 (FE_DIVBYZERO): Likewise.
25092 (FE_INEXACT): Likewise.
25093 (FE_TONEAREST): Likewise.
25094 (FE_TOWARDZERO): Likewise.
25095 (FE_UPWARD): Likewise.
25096 (FE_DOWNWARD): Likewise.
25097 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25098 (FE_DIVBYZERO): Likewise.
25099 (FE_OVERFLOW): Likewise.
25100 (FE_UNDERFLOW): Likewise.
25101 (FE_INEXACT): Likewise.
25102 (FE_TONEAREST): Likewise.
25103 (FE_DOWNWARD): Likewise.
25104 (FE_UPWARD): Likewise.
25105 (FE_TOWARDZERO): Likewise.
25106
105ca950
CM
251072012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25108
25109 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25110
a542b389
AS
251112012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25112
25113 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25114 commands. Quote $PWD.
25115 (blacklist_exports): Don't use remove_newlines. Replace "declare
25116 -x" by "export".
25117 (remove_newlines): Remove.
25118
f62c8abc
L
251192012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25120
25121 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25122 * stdlib/stdlib.h (atof): Moved to ...
25123 * include/bits/stdlib-float.h: Here. New file.
25124 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25125 * stdlib/bits/stdlib-float.h: New file.
25126 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25127 -mno-sse -mno-mmx.
25128 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25129 <xmmintrin.h>.
25130
0155d5b2
JM
251312012-11-02 Joseph Myers <joseph@codesourcery.com>
25132
a68d0680
JM
25133 * conform/conformtest.pl (@headers): Add fenv.h.
25134 * conform/data/fenv.h-data: New file.
25135 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25136 include of <math/fenv.h>.
25137
caf7f573
JM
25138 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25139 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25140 && !UNIX98]. Enables tests for XOPEN2K8.
25141 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25142 POSIX2008]: Likewise.
25143
6c073ad6
JM
25144 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25145 (struct rusage): Do not expect type or its members.
25146
0155d5b2
JM
25147 [BZ #3439]
25148 * math/math.h (FP_NAN): Define macro to integer constant usable in
25149 #if and use that to give value to enum constant.
25150 (FP_INFINITE): Likewise.
25151 (FP_ZERO): Likewise.
25152 (FP_SUBNORMAL): Likewise.
25153 (FP_NORMAL): Likewise.
25154
b5dcacb4
AS
251552012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25156
25157 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25158 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25159 arguments.
25160
f7934be8
RM
251612012-11-02 Roland McGrath <roland@hack.frob.com>
25162
25163 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25164 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25165 autoconf-time if not.
25166 * configure.in: Remove AC_PREREQ.
25167
d7d08bde
TMQMF
251682012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25169
25170 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25171 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25172 of the internal implementation.
25173
dcdae19a
JM
251742012-11-02 Joseph Myers <joseph@codesourcery.com>
25175
25176 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25177 except include of <misc/sys/syslog.h>.
25178
d6cffd3e
AS
251792012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25180
25181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25182 function returns with a NULL context exit with zero.
25183
b3563932
TMQMF
251842012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25185
25186 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25187
b288a93d
L
251882012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25189
25190 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25191 (run_program_cmd): This.
25192 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25193 (tst_langinfo): New variable. Use it.
25194
a2421a68
SAS
251952012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25196
25197 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25198 floating point opcodes.
25199
6f796e1b
TS
252002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25201
7402596b
TS
25202 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25203 variable.
25204
d0d4f868
TS
25205 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25206
6f796e1b
TS
25207 * sysdeps/mach/hurd/powerpc: Remove directory.
25208 * sysdeps/mach/powerpc: Likewise.
25209
4da224a2
AS
252102012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25211
25212 * scripts/check-local-headers.sh: Ignore c++ headers.
25213
341dd673
TS
252142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25215
25216 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25217 __libc_cleanup_region_start argument.
25218
473611b2
JM
252192012-11-01 Joseph Myers <joseph@codesourcery.com>
25220
25221 [BZ #14784]
25222 [BZ #14785]
25223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25224 x * y using scaling, not as x * y + z.
25225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25226 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25227 * math/libm-test.inc (fma_test): Add more tests.
25228 (fma_test_towardzero): Likewise.
25229 (fma_test_downward): Likewise.
25230 (fma_test_upward): Likewise.
25231
4078da3d
TS
252322012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25233
25234 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25235
903252aa
JM
252362012-10-31 Joseph Myers <joseph@codesourcery.com>
25237
25238 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25239 New variable.
25240
cbc818d0
TS
252412012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25242
25243 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25244
5a03cb1e
AS
252452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25246
25247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25248 Fix sort order.
25249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25250 Likewise.
25251
90aff2ff
TMQMF
252522012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25253
25254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25255 Fix the order of the list for glibc 2.17.
25256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25257 Likewise.
25258
1818fcb7
AS
252592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25260
25261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25262
ef82f4da
JM
252632012-10-31 Joseph Myers <joseph@codesourcery.com>
25264
16a0e2ec
JM
25265 [BZ #14610]
25266 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25267 for low part of x being zero before using __atanl (y).
25268 * math/libm-test.inc (atan2_test): Add another test.
25269
0eb69512
JM
25270 * manual/install.texi (Configuring and compiling): Document
25271 general use of test-wrapper and test-wrapper-env.
25272 * INSTALL: Regenerated.
25273
ef82f4da
JM
25274 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25275 (__fma): Do not extract and scale down low bits on after-rounding
25276 systems when result rounded to normal precision would have normal
25277 exponent.
25278 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25279 (__fmal): Do not extract and scale down low bits on after-rounding
25280 systems when result rounded to normal precision would have normal
25281 exponent.
25282 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25283 (__fmal): Do not extract and scale down low bits on after-rounding
25284 systems when result rounded to normal precision would have normal
25285 exponent.
25286 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25287 macro.
25288 (fma_test): Add more tests.
25289 (fma_test_towardzero): Likewise.
25290 (fma_test_downward): Likewise.
25291 (fma_test_upward): Likewise.
25292
954ef0d9
L
252932012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25294
25295 * sysdeps/i386/tininess.h: Renamed to ...
25296 * sysdeps/x86/tininess.h: This.
25297 * sysdeps/x86_64/tininess.h: Removed.
25298
df61ffb2
JM
252992012-10-30 Joseph Myers <joseph@codesourcery.com>
25300
25301 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25302 input. Use $(build-program-cmd).
25303 ($(objpfx)tst-array1-static.out): Likewise.
25304 ($(objpfx)tst-array2.out): Likewise.
25305 ($(objpfx)tst-array3.out): Likewise.
25306 ($(objpfx)tst-array4.out): Likewise.
25307 ($(objpfx)tst-array5.out): Likewise.
25308 ($(objpfx)tst-array5-static.out): Likewise.
25309
01767843
CM
253102012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25311
47cc1490
CM
25312 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25313 if defined.
25314
01767843
CM
25315 * nss/nsswitch.h (nss_interface_function): Provide new
25316 macro for use with NSS functions.
25317 * grp/initgroups.c: Use new macro.
25318 * nss/getXXbyYY.c: Likewise.
25319 * nss/getXXbyYY_r.c: Likewise.
25320 * nss/getXXent.c: Likewise.
25321 * nss/getXXent_r.c: Likewise.
25322 * sysdeps/posix/getaddrinfo.c: Likewise.
25323
8321aa97
AJ
253242012-10-30 Andreas Jaeger <aj@suse.de>
25325
25326 * po/ru.po: Update Russion translation from translation project.
25327
2a27fd6d
JM
253282012-10-30 Joseph Myers <joseph@codesourcery.com>
25329
8627a232
JM
25330 [BZ #14152]
25331 [BZ #14783]
25332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25333 result and shift together with sticky bit instead of replicating
25334 round-to-nearest rounding.
25335 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25336 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25337 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25338 missing underflow exceptions.
25339 (fma_test_towardzero): Add more tests.
25340 (fma_test_downward): Likewise.
25341 (fma_test_upward): Likewise.
25342
2a27fd6d
JM
25343 [BZ #14047]
25344 * sysdeps/generic/tininess.h: New file.
25345 * sysdeps/i386/tininess.h: Likewise.
25346 * sysdeps/sh/tininess.h: Likewise.
25347 * sysdeps/x86_64/tininess.h: Likewise.
25348 * stdlib/tst-strtod-underflow.c: Likewise.
25349 * stdlib/tst-tininess.c: Likewise.
25350 * stdlib/strtod_l.c: Include <tininess.h>.
25351 (round_and_return): Do not set errno for exact underflow cases.
25352 Force an underflow exception when setting errno for underflow.
25353 Determine underflow based on rounding to normal precision if
25354 TININESS_AFTER_ROUNDING.
25355 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25356 ERANGE for exact underflow cases.
25357 * stdlib/Makefile (tests): Add tst-tininess and
25358 tst-strtod-underflow.
25359 ($(objpfx)tst-tininess): Use $(link-libm).
25360 ($(objpfx)tst-strtod-underflow): Likewise.
25361
e7170363
AJ
253622012-10-30 Andreas Jaeger <aj@suse.de>
25363
e5088dc6
AJ
25364 [BZ#14767]
25365 * elf/Makefile (tests): Remove conditional for have-initfini-array
25366 since this is now always required and the variable does not exist
25367 anymore.
25368 (tests-static): Likewise.
25369 (modules-names): Likewise.
25370
e7170363 25371 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25372
25373 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25374 merged with constructor/destructor.
25375 (init_array): Likewise.
25376 * elf/tst-array2dep.c (fini_array): Likewise.
25377 (init_array): Likewise.
25378
60457d8a
MF
253792012-10-29 Mike Frysinger <vapier@gentoo.org>
25380
25381 * manual/message.texi: Delete @cartouche tags.
25382
8bece752
PT
253832012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25384
94ce799f
PT
25385 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25386 EOPNOTSUPP.
25387 * sysdeps/mach/hurd/fsync.c: Likewise.
25388
8bece752
PT
25389 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25390 [_POSIX_REALTIME_SIGNALS]: Change condition to
25391 [_POSIX_REALTIME_SIGNALS > 0].
25392
86ebe6b1
AJ
253932012-10-27 Andreas Jaeger <aj@suse.de>
25394
25395 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25396 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25397 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25398 [__WORDSIZE != 64]: Likewise.
25399
54399c08
L
254002012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25401
25402 * iconvdata/tst-table.sh: Remove ${SHELL}.
25403 * iconvdata/tst-tables.sh: Likewise.
25404
e2211bed
DM
254052012-10-25 David S. Miller <davem@davemloft.net>
25406
25407 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25408 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25409 of strtoull.
25410
f303f97c
DM
25411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25412 ifunc-impl-list.c
25413 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25414 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25415 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25416 file.
25417
1e9d84cd
RM
254182012-10-25 Roland McGrath <roland@hack.frob.com>
25419
25420 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25421 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25422 __getdirentries.
25423
df381762
JM
254242012-10-25 Joseph Myers <joseph@codesourcery.com>
25425 Jim Blandy <jimb@codesourcery.com>
25426
25427 * scripts/cross-test-ssh.sh: New file.
25428 * manual/install.texi (Configuring and compiling): Document use of
25429 cross-test-ssh.sh.
25430 * INSTALL: Regenerated.
25431
bff64913
PT
254322012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25433
25434 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25435 EOPNOTSUPP.
25436
25fe8932
JM
254372012-10-25 Joseph Myers <joseph@codesourcery.com>
25438
25439 * Makeconfig (run-program-prefix): Fix comment.
25440
cc1290d0
JM
254412012-10-24 Joseph Myers <joseph@codesourcery.com>
25442 Jim Blandy <jimb@codesourcery.com>
25443
25444 * Makeconfig (test-wrapper): New variable,
25445 (test-wrapper-env): Likewise.
25446 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25447 (run-built-tests): Define to yes.
25448 (run-program-prefix): Use $(test-wrapper).
25449 (built-program-cmd): Likewise.
25450 * Rules (make-test-out): Use $(test-wrapper-env) and
25451 $(host-built-program-cmd).
25452 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25453 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25454 tst-pathopt.sh.
25455 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25456 $(test-wrapper-env) to tst-rtld-load-self.sh.
25457 ($(objpfx)order2.out): Use $(test-wrapper).
25458 ($(objpfx)tst-initorder.out): Likewise.
25459 ($(objpfx)tst-initorder2.out): Likewise.
25460 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25461 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25462 (test_wrapper_env): New variable. Use it to run ld.so.
25463 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25464 Use it to run ld.so.
25465 (test_wrapper_env): Likewise.
25466 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25467 $(test-wrapper) to run-iconv-test.sh.
25468 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25469 (ICONV): Use $test_wrapper.
25470 * posix/Makefile ($(objpfx)globtest.out): Pass
25471 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25472 globtest.sh, not $(run-program-prefix).
25473 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25474 (test_wrapper): Likewise.
25475 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25476 set together with run_via_rtld_prefix.
25477 (run_program_prefix): Define in terms of test_wrapper and
25478 run_via_rtld_prefix.
25479
6e6249d0
RM
254802012-10-24 Roland McGrath <roland@hack.frob.com>
25481
25482 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25483 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25484 Targets removed.
25485
25486 [BZ #14743]
25487 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25488 Declare __clock_getres, __clock_gettime, __clock_settime,
25489 __clock_nanosleep, and __clock_getcpuclockid.
25490 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25491 Remove librt_hidden_def (clock_gettime).
25492 * sysdeps/unix/clock_gettime.c: Likewise.
25493 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25494 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25495 * rt/clock_getres.c: Define __clock_getres as an alias.
25496 * sysdeps/posix/clock_getres.c: Likewise.
25497 * rt/clock_settime.c: Define __clock_settime as an alias.
25498 * sysdeps/unix/clock_settime.c: Likewise.
25499 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25500 * sysdeps/unix/clock_nanosleep.c: Likewise.
25501 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25502 * rt/clock-compat.c: New file.
25503 * rt/Makefile (librt-routines): Add clock-compat and move
25504 $(clock-routines) to ...
25505 (routines): ... here, new variable.
25506 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25507 Don't add get_clockfreq here.
25508 * rt/Versions (libc: GLIBC_2.17): New version set.
25509 Add clock_* symbols here.
25510 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25511 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25512 (GLIBC_2.17): Add clock_* symbols.
25513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25515 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25517 Likewise.
25518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25519 Likewise.
25520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25524 * NEWS: Mention the move.
25525
25526 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25527 Use __open, __read, __close rather than their public counterparts.
25528 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25529 (__get_clockfreq_via_cpuinfo): Likewise.
25530 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25531 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25532
25533 * config.h.in (HAVE_IFUNC): New #undef.
25534 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25535 was successful.
25536 * configure: Regenerated.
25537
0cae3f4b
MF
255382012-10-24 Mike Frysinger <vapier@gentoo.org>
25539
25540 * configure.in: Move READELF check to start of file.
25541 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25542 libc_cv_asm_gnu_indirect_function in the process.
25543 * configure: Regenerated.
25544
8175a253
MF
255452012-10-24 Mike Frysinger <vapier@gentoo.org>
25546
25547 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25548 send the output to /dev/null.
25549 (libc_cv_cc_with_libunwind): Likewise.
25550 (libc_cv_as_noexecstack): Likewise.
25551 * configure: Regenerate.
25552
0708a7d1
JM
255532012-10-24 Joseph Myers <joseph@codesourcery.com>
25554
10b40d85
JM
25555 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25556
0708a7d1
JM
25557 * posix/globtest.sh (TMPDIR): Do not set.
25558 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25559 (testout): Likewise.
25560
9fddec1a
AJ
255612012-10-24 Andreas Jaeger <aj@suse.de>
25562
3a8db22f
AJ
25563 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25564 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25565 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25566 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25567 posix_fadvise64, posix_fallocate64.
25568
9fddec1a
AJ
25569 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25570 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25571 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25572 Likewise.
25573 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25574 Likewise.
25575 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25576
25577 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25578 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25579 <bits/fcntl-linux.h>.
25580 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25581
25582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25583 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25584 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25585 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25586 [__WORDSIZE != 64]: Likewise.
25587
ebfd1bbd
JM
255882012-10-23 Joseph Myers <joseph@codesourcery.com>
25589
03ac099f
JM
25590 * Makeconfig (run-built-tests): New variable.
25591 * Rules [$(cross-compiling) = yes]: Change condition to
25592 [$(run-built-tests) = no].
25593 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25594 to [$(run-built-tests) = yes].
25595 * elf/Makefile [$(cross-compiling) = no]: Likewise
25596 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25597 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25598 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25599 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25600 * io/Makefile [$(cross-compiling) = no]: Likewise.
25601 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25602 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25603 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25604 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25605 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25606 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25607 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25608 * string/Makefile [$(cross-compiling) = no]: Likewise.
25609
ebfd1bbd
JM
25610 * posix/Makefile ($(objpfx)globtest.out): Pass
25611 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25612 $(rtld-installed-name).
25613 * posix/globtest.sh (elf_objpfx): Remove variable.
25614 (rtld_installed_name): Likewise.
25615 (library_path): Likewise.
25616 (run_program_prefix): New variable. Use for running globtest
25617 binary.
25618
166bca24
JB
256192012-10-23 Jim Blandy <jimb@codesourcery.com>
25620 Joseph Myers <joseph@codesourcery.com>
25621
25622 * Makeconfig (host-built-program-cmd): New variable.
25623 * elf/Makefile (tst-stackguard1-ARGS): Use
25624 $(host-built-program-cmd).
25625 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25626 (tst-spawn-ARGS): Likewise.
25627 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25628
88866099
JM
256292012-10-23 Joseph Myers <joseph@codesourcery.com>
25630 Jim Blandy <jimb@codesourcery.com>
25631
25632 * Makeconfig (run-via-rtld-prefix): New variable.
25633 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25634 (built-program-cmd): Likewise.
25635
b4b4c296
AJ
256362012-10-22 Andreas Jaeger <aj@suse.de>
25637
25638 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25639 __O_RSYNC if it exists, otherwise to O_SYNC.
25640
6fb54a22
JB
256412012-10-22 Jim Blandy <jimb@codesourcery.com>
25642 Joseph Myers <joseph@codesourcery.com>
25643
25644 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25645 /dev/null.
25646 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25647 from /dev/null
25648 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25649 /dev/null.
25650
481b90b9
AJ
256512012-10-22 Andreas Jaeger <aj@suse.de>
25652
2a0e2669
AJ
25653 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25654 Define always.
25655 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25656
76e38f9a
AJ
25657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25658 bits/fcntl-linux.h.
25659
7cd37b43
AJ
25660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25661 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25662
481b90b9
AJ
25663 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25664 to __O_LARGEFILE.
25665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25666 to __O_LARGEFILE.
25667
aba75984
JB
256682012-10-21 Jim Blandy <jimb@codesourcery.com>
25669 Joseph Myers <joseph@codesourcery.com>
25670
25671 * config.make.in (NM): New variable.
25672
88d4247f
AJ
256732012-10-21 Andreas Jaeger <aj@suse.de>
25674
25675 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25676 definitions and declarations that are provided by
25677 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25678
f2eed205
L
256792012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25680
25681 [BZ #14683]
25682 * elf/Makefile (tests-static): Add tst-leaks1-static.
25683 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25684 ($(objpfx)tst-leaks1-static): New rule.
25685 ($(objpfx)tst-leaks1-static-mem): Likewise.
25686 (tst-leaks1-static-ENV): New macro.
25687 * elf/dl-open.c (dl_open_worker): Check the main application
25688 only if SHARED is defined.
25689 * elf/tst-leaks1-static.c: New file.
25690
335e6931
AJ
256912012-10-20 Andreas Jaeger <aj@suse.de>
25692
25693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25694 generic values for Linux.
25695 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25696 and declarations that are provided by <bits/fcntl-linux.h> and
25697 include <bits/fcntl-linux.h>.
25698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25699 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25700
ac5c94d3
RM
257012012-10-20 Roland McGrath <roland@hack.frob.com>
25702
25703 * io/fcntl.h: Move include of <bits/types.h> to the top and
25704 include it unconditionally.
25705
de54b33a
L
257062012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25707
228cfb01
L
25708 * wcsmbs/Makefile (tests-ifunc): New variable.
25709 (tests): Add $(tests-ifunc).
25710 * wcsmbs/test-wcschr-ifunc.c: New file.
25711 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25712 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25713 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25714 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25715 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25716
69f07e5f
L
25717 * string/Makefile (tests-ifunc): New variable.
25718 (tests): Add $(tests-ifunc).
25719 * string/test-memccpy.c (TEST_NAME): New macro.
25720 * string/test-memchr.c (TEST_NAME): Likewise.
25721 * string/test-memcmp.c (TEST_NAME): Likewise.
25722 * string/test-memcpy.c (TEST_NAME): Likewise.
25723 * string/test-memmem.c (TEST_NAME): Likewise.
25724 * string/test-memmove.c (TEST_NAME): Likewise.
25725 * string/test-memset.c (TEST_NAME): Likewise.
25726 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25727 * string/test-stpcpy.c (TEST_NAME): Likewise.
25728 * string/test-stpncpy.c (TEST_NAME): Likewise.
25729 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25730 * string/test-strcasestr.c (TEST_NAME): Likewise.
25731 * string/test-strcat.c (TEST_NAME): Likewise.
25732 * string/test-strchr.c (TEST_NAME): Likewise.
25733 * string/test-strcmp.c(TEST_NAME): Likewise.
25734 * string/test-strcpy.c (TEST_NAME): Likewise.
25735 * string/test-strcspn.c (TEST_NAME): Likewise.
25736 * string/test-strlen.c (TEST_NAME): Likewise.
25737 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25738 * string/test-strncmp.c (TEST_NAME): Likewise.
25739 * string/test-strncpy.c (TEST_NAME): Likewise.
25740 * string/test-strnlen.c (TEST_NAME): Likewise.
25741 * string/test-strpbrk.c (TEST_NAME): Likewise.
25742 * string/test-strrchr.c (TEST_NAME): Likewise.
25743 * string/test-strspn.c (TEST_NAME): Likewise.
25744 * string/test-strstr.c (TEST_NAME): Likewise.
25745 * string/test-bcopy-ifunc.c: New file.
25746 * string/test-bzero-ifunc.c: Likewise.
25747 * string/test-memccpy-ifunc.c: Likewise.
25748 * string/test-memchr-ifunc.c: Likewise.
25749 * string/test-memcmp-ifunc.c: Likewise.
25750 * string/test-memcpy-ifunc.c: Likewise.
25751 * string/test-memmem-ifunc.c: Likewise.
25752 * string/test-memmove-ifunc.c: Likewise.
25753 * string/test-mempcpy-ifunc.c: Likewise.
25754 * string/test-memset-ifunc.c: Likewise.
25755 * string/test-rawmemchr-ifunc.c: Likewise.
25756 * string/test-stpcpy-ifunc.c: Likewise.
25757 * string/test-stpncpy-ifunc.c: Likewise.
25758 * string/test-strcasecmp-ifunc.c: Likewise.
25759 * string/test-strcasestr-ifunc.c: Likewise.
25760 * string/test-strcat-ifunc.c: Likewise.
25761 * string/test-strchr-ifunc.c: Likewise.
25762 * string/test-strchrnul-ifunc.c: Likewise.
25763 * string/test-strcmp-ifunc.c: Likewise.
25764 * string/test-strcpy-ifunc.c: Likewise.
25765 * string/test-strcspn-ifunc.c: Likewise.
25766 * string/test-strlen-ifunc.c: Likewise.
25767 * string/test-strncasecmp-ifunc.c: Likewise.
25768 * string/test-strncat-ifunc.c: Likewise.
25769 * string/test-strncmp-ifunc.c: Likewise.
25770 * string/test-strncpy-ifunc.c: Likewise.
25771 * string/test-strnlen-ifunc.c: Likewise.
25772 * string/test-strpbrk-ifunc.c: Likewise.
25773 * string/test-strrchr-ifunc.c: Likewise.
25774 * string/test-strspn-ifunc.c: Likewise.
25775 * string/test-strstr-ifunc.c: Likewise.
25776
de54b33a
L
25777 * debug/Makefile (tests-ifunc): New variable.
25778 (tests): Add $(tests-ifunc).
25779 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25780 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25781 * debug/test-stpcpy_chk-ifunc.c: New file.
25782 * debug/test-strcpy_chk-ifunc.c: Likewise.
25783
88481c16
SP
257842012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25785
25786 [BZ #13601]
25787 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25788 header is not read in.
25789
135948bd
JM
257902012-10-19 Joseph Myers <joseph@codesourcery.com>
25791
89f1c388
JM
25792 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25793 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25794 directly. Pass built executable to script as
25795 $(built-program-cmd).
25796 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25797 $testprogram without using LD_LIBRARY_PATH and $ldso.
25798
e40a0d21
JM
25799 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25800 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25801 $(rtld-installed-name).
25802 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25803 (rtld_installed_name): Likewise.
25804 (library_path): Likewise.
25805 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25806 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25807 $(run-program-prefix) to tst-tables.sh.
25808 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25809 it to run tst-table-from and tst-table-to.
25810 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25811 Pass it to tst-table.sh.
25812 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25813 $(run-program-prefix) to tst-gettext.sh.
25814 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25815 tst-translit.sh.
25816 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25817 tst-gettext2.sh.
25818 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25819 to run tst-gettext.
25820 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25821 to run tst-gettext2.
25822 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25823 to run tst-translit.
25824 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25825 $(run-program-prefix) to tst-mtrace.sh.
25826 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25827 to run tst-mtrace.
25828 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25829 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25830 $(rtld-installed-name).
25831 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25832 (rtld_installed_name): Likewise.
25833 (run_program_prefix): New variable. Use it to run wordexp-test.
25834
728e272a
JM
25835 * Makeconfig (ARCH): Remove all definitions.
25836 (machine): Likewise.
25837 [ARCH]: Remove conditional code.
25838 [!objdir]: Give error.
25839 [!objdir] (objpfx): Remove.
25840 [!objdir] (common-objpfx): Likewise.
25841 [!objdir] (common-objdir): Likewise.
25842 * configure.in (config_makefile): Remove. Hardcode Makefile in
25843 AC_CONFIG_FILES call.
25844 * configure: Regenerated.
25845
d528cdcf
JM
25846 [BZ #13888]
25847 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25848 or TMPDIR.
25849 (testout): Likewise.
25850
135948bd
JM
25851 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25852 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25853 $(rtld-installed-name).
25854 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25855 (rtld_installed_name): Likwise.
25856 (runit): Remove function.
25857 (run_getconf): New variable, Use it for running getconf binary.
25858
38c78296
L
258592012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25860
25861 [BZ #14716]
25862 * string/test-memmem.c (check_result): New function.
25863 (do_one_test): Use it.
25864 (check1): New function.
25865 (test_main): Use it.
25866
d077f65f
MT
258672012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25868
25869 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25870
ced52c71
JM
258712012-10-18 Joseph Myers <joseph@codesourcery.com>
25872
25873 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25874 (_G_LSEEK64): Likewise.
25875 (_G_MMAP64): Likewise.
25876 (_G_FSTAT64): Likewise.
25877 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25878 (_G_LSEEK64): Likewise.
25879 (_G_MMAP64): Likewise.
25880 (_G_FSTAT64): Likewise.
25881 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25882 unconditional. Call __mmap64 directly.
25883 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25884 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25885 __lseek64 directly.
25886 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25887 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25888 __mmap64 directly.
25889 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25890 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25891 __lseek64 directly.
25892 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25893 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25894 __lseek64 directly.
25895 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25896 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25897 __lseek64 directly.
25898 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25899 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25900 __fxstat64 directly.
25901 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25902 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25903 unconditional.
25904 (freopen64) [!_G_OPEN64]: Remove conditional code.
25905 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25906 unconditional.
25907 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25908 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25909 unconditional.
25910 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25911 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25912 unconditional.
25913 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25914 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25915 unconditional.
25916 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25917 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25918 unconditional.
25919 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25920 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25921 unconditional.
25922 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25923 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25924 unconditional.
25925 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25926
b741de23
SP
259272012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25928
25929 [BZ #12140]
25930 * manual/memory.texi (Malloc Tunable Parameters): Add note
25931 about free list pointers overwriting some perturb bytes.
25932 Wording suggested by Roland McGrath.
25933
f9b9d9c9
JM
259342012-10-17 Joseph Myers <joseph@codesourcery.com>
25935
25936 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25937 (lgamma_test): Likewise.
25938 (tgamma_test): Likewise.
25939
172a631a
FW
259402012-10-16 Florian Weimer <fweimer@redhat.com>
25941
25942 [BZ #14700]
25943 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25944 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25945
e9f37252
MK
259462012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25947
25948 * NEWS: Mention BZ #14716.
25949 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25950 when removing AVAILABLE1_USES_J macro.
25951
d394eb74
L
259522012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25953
25954 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25955 (__bswap_64): __uint64_t for unsigned 64-bit int.
25956
ca38dc17
AS
259572012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25958
25959 * include/string.h (memmem): Declare libc hidden alias.
25960 * string/memmem.c (memmem): Define libc hidden alias.
25961 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25962 __read, __close instead of open, read, close.
25963
9a387d1f
L
259642012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25965
ac49ecaf
L
25966 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25967 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25968 global and hidden.
25969 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25970 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25971 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25972 Likewise.
25973 (__rawmemchr_sse2): Likewise.
25974 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25975 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25976 (__strchr_sse2): Likewise.
25977 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25978 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25979 (__strcasecmp_sse2): Likewise.
25980 (__strncasecmp_sse2): Likewise.
25981 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25982 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25983 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25984 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25985 (__strrchr_sse2): Likewise.
25986 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25987 ifunc-impl-list.c.
25988 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25989 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25990 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25991 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25992 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25993 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25994 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25995 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25996 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25997 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25998 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25999 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26000 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26001 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26002 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26003 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26004 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26005 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26006 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26007 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26008 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26009 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26010 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26011 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26012 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26013 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26014 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26015 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26016 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26017 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26018
b090e8ea
L
26019 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26020 global and hidden.
26021 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26022 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26023 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26024 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26025 Likewise.
26026 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26027 Likewise.
26028 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26029 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26030 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26031 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26032 ifunc-impl-list.c.
26033 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26034 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26035 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26036 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26037 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26038 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26039 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26040 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26041 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26042 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26043 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26044 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26045 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26046 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26047 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26048 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26049 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26050 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26051 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26052 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26053 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26054 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26055 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26056 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26057 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26058 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26059 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26060 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26061 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26062 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26063 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26064 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26065 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26066 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26067 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26068 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26069 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26070 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26071 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26072 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26073 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26074
11dd4af6
L
26075 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26076 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26077 * include/ifunc-impl-list.h: New file.
26078 * misc/ifunc-impl-list.c: Likewise.
26079 * misc/Makefile (routines): Add ifunc-impl-list.
26080 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26081 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
26082 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26083 TEST_NAME]: New variables.
11dd4af6
L
26084 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26085 are defined.
26086 (test_init): Call __libc_ifunc_impl_list to initialize
26087 func_list if TEST_IFUNC and TEST_NAME are defined.
26088
9a387d1f
L
26089 * string/Makefile (strop-tests): Add bcopy and bzero.
26090 * string/test-bcopy.c: New file.
26091 * string/test-bzero.c: Likewise.
26092 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26093 defined.
26094 * string/test-memset.c: Support bzero test if TEST_BZERO is
26095 defined.
26096 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26097 __libc_memmove.
26098 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26099 __libc_memset.
26100 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26101 of memset.
26102
472371b9
JM
261032012-10-10 Joseph Myers <joseph@codesourcery.com>
26104
1e4a9536
JM
26105 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26106 * configure: Regenerated.
26107
d173d12e
JM
26108 * Makeconfig (+link-static-before-libc): Don't include
26109 $(link-static-libc).
26110
472371b9
JM
26111 * libio/libio.h (_IO_pos_t): Remove.
26112
89a3ad0b
AO
261132012-10-10 Alexandre Oliva <aoliva@redhat.com>
26114
26115 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26116 McGrath.
26117
e7451425
AO
261182012-10-10 Alexandre Oliva <aoliva@redhat.com>
26119
26120 * crypt/crypt-entry.c: Include fips-private.h.
26121 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26122 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26123 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26124 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26125
4ba74a35
AO
261262012-10-10 Alexandre Oliva <aoliva@redhat.com>
26127
26128 * crypt/crypt-private.h: Include stdbool.h.
26129 (_ufc_setup_salt_r): Return bool.
26130 * crypt/crypt-entry.c: Include errno.h.
26131 (__crypt_r): Return NULL with EINVAL for bad salt.
26132 * crypt/crypt_util.c (bad_for_salt): New.
26133 (_ufc_setup_salt_r): Check that salt is long enough and within
26134 the specified alphabet.
26135 * crypt/badsalttest.c: New file.
26136 * crypt/Makefile (tests): Add it.
26137 ($(objpfx)badsalttest): New.
26138
f96f1242
MK
261392012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26140
26141 * NEWS: Add entry for BZ #14602.
26142
0e8e0c1c
JM
261432012-10-09 Joseph Myers <joseph@codesourcery.com>
26144
26145 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26146 type-generic.
26147 * math/libm-test.inc: Update comment listing what functions and
26148 macros are tested.
26149 (isgreater_test): New function.
26150 (isgreaterequal_test): Likewise.
26151 (isless_test): Likewise.
26152 (islessequal_test): Likewise.
26153 (islessgreater_test): Likewise.
26154 (isunordered_test): Likewise.
26155 (main): Call the new functions.
26156
273edc5e
RM
261572012-10-09 Roland McGrath <roland@hack.frob.com>
26158
b8493de0
RM
26159 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26160 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26161 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26162 * sysdeps/i386/configure: Regenerated.
26163 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26164 * sysdeps/mach/configure: Regenerated.
26165 * sysdeps/mach/hurd/configure: Regenerated.
26166 * sysdeps/powerpc/configure: Regenerated.
26167 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26168 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26169 * sysdeps/s390/s390-32/configure: Regenerated.
26170 * sysdeps/s390/s390-64/configure: Regenerated.
26171 * sysdeps/sh/configure: Regenerated.
26172 * sysdeps/sparc/configure: Regenerated.
26173 * sysdeps/unix/sysv/linux/configure: Regenerated.
26174 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26175 * sysdeps/x86_64/configure: Regenerated.
26176
273edc5e
RM
26177 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26178 defined. Don't check if MAP is NULL.
26179
c8450f70
JM
261802012-10-09 Joseph Myers <joseph@codesourcery.com>
26181
26182 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26183 (_G_stat64): Likewise.
26184 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26185 (_G_stat64): Likewise.
26186 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26187 instead of struct _G_stat64.
26188 * libio/fileops.c (mmap_remap_check): Likewise.
26189 (decide_maybe_mmap): Likewise.
26190 (_IO_new_file_seekoff): Likewise.
26191 (_IO_file_stat): Likewise.
26192 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26193 _G_off64_t.
26194 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26195 instead of struct _G_stat64.
26196 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26197
57e605ba
MK
261982012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26199
26200 [BZ #14602]
26201 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26202 Replace with ...
26203 (CHECK_EOL): New macro.
26204 (two_way_short_needle): Check beginning of haystack for EOL. Use
26205 CHECK_EOL.
26206 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26207 Replace with CHECK_EOL.
26208 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26209 Replace with CHECK_EOL.
26210
ef1bb361
JM
262112012-10-08 Joseph Myers <joseph@codesourcery.com>
26212
26213 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26214 type-generic.
26215 * math/libm-test.inc: Update comment listing what functions and
26216 macros are tested.
26217 (finite_test): New function.
26218 (isinf_test): Likewise.
26219 (isnan_test): Likewise.
26220 (fpclassify_test): Test subnormal input.
26221 (isfinite_test): Likewise.
26222 (isnormal_test): Likewise.
26223 (main): Call the new functions.
26224
55f11534
JN
262252012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26226
26227 [BZ #14660]
26228 * Makerules (%.dynsym): Force C locale when running
26229 $(OBJDUMP) --dynamic-syms.
26230
1ab29350
AS
262312012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26232
26233 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26234 <stdint.h>.
26235
f1ecb7ef
DM
262362012-10-06 David S. Miller <davem@davemloft.net>
26237
26238 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26239 upper 32-bits of the length value in %o2 since we use branch-on-register
26240 tests which consider the entire 64-bit register.
26241
5d41d91a
L
262422012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26243
26244 * string/test-strstr.c (check2): Add a test for page boundary.
26245
3baddb72
DM
262462012-10-05 David S. Miller <davem@davemloft.net>
26247
26248 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26249 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26250 file.
26251 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26252 sysdep_routines.
26253 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26254 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26255 and bzero when HWCAP_SPARC_CRYPTO is present.
26256
9cee5585
L
262572012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26258
d7e0dab9
L
26259 [BZ #14602]
26260 * string/test-strstr.c (check2): New function.
26261 (test_main): Call check2.
26262
03759f47
L
26263 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26264 and bug-strchr1.
26265 * string/bug-strcasestr1.c (do_test): Moved to ...
26266 * string/test-strcasestr.c (check1): Here. New function.
26267 (do_one_test): Break out result checking code into ...
26268 (check_result): This. New function.
26269 (do_one_test): Call check_result.
26270 (test_main): Call check1.
26271 * string/bug-strchr1.c (do_test): Moved to ...
26272 * string/test-strchr.c (check1): Here. New function.
26273 (do_one_test): Break out result checking code into ...
26274 (check_result): This. New function.
26275 (do_one_test): Call check_result.
26276 (test_main): Call check1.
26277 * string/bug-strstr1.c (main): Moved to ...
046f153e 26278 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26279 (do_one_test): Break out result checking code into ...
26280 (check_result): This. New function.
26281 (do_one_test): Call check_result.
26282 (test_main): Call check1.
26283 * string/bug-strcasestr1.c: Removed.
26284 * string/bug-strchr1.c: Likewise.
26285 * string/bug-strstr1.c: Likewise.
26286
53cea63e
L
26287 * elf/Makefile (dl-routines): Add hwcaps.
26288 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26289 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26290 (_dl_important_hwcaps): Moved to ...
26291 * elf/dl-hwcaps.c: Here. New file.
26292 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26293
9cee5585 26294 [BZ #14557]
bb859b06
L
26295 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26296 if IS_IN_rtld isn't defined.
26297
9cee5585
L
26298 * elf/dl-support.c (_dl_sysinfo_map): New.
26299 Include "get-dynamic-info.h" and "setup-vdso.h".
26300 (_dl_non_dynamic_init): Call setup_vdso.
26301 * elf/dynamic-link.h: Don't include <assert.h>.
26302 (elf_get_dynamic_info): Moved to ...
26303 * elf/get-dynamic-info.h: Here. New file.
26304 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26305 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26306 * elf/setup-vdso.h: Here. New file.
26307 * elf/rtld.c: Include "setup-vdso.h".
26308 (dl_main): Call setup_vdso.
26309
23c31b76
JM
263102012-10-05 Joseph Myers <joseph@codesourcery.com>
26311
28234b07
JM
26312 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26313 creal in comment listing functions tested. List finite, isinf,
26314 isnan, isless, islessequal, isgreater, isgreaterequal,
26315 islessgreater, isunordered, lgamma_r and pow10 as functions and
26316 macros not tested. Mention which functions not tested are aliases
26317 for other functions. Fix typo. Note that signs of NaNs are not
26318 tested.
26319
23c31b76
JM
26320 * scripts/config.guess: Update from config.git.
26321 * scripts/config.sub: Likewise.
26322
9043e228
RM
263232012-10-04 Roland McGrath <roland@hack.frob.com>
26324
26325 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26326 * misc/madvise.c (madvise): Renamed to __madvise.
26327 Make madvise a weak alias.
26328 * include/sys/mman.h: Declare __madvise.
26329 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26330 * sysdeps/unix/syscalls.list
26331 (madvise): Make __madvise the strong name, and madvise a weak alias.
26332 * sysdeps/unix/sysv/linux/syscalls.list
26333 (madvise, mmap): Remove redundant entries.
26334 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26335 * malloc/malloc.c (mtrim): Likewise.
26336 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26337
f57f8055
RM
263382012-10-03 Roland McGrath <roland@hack.frob.com>
26339
26340 * sysdeps/mach/hurd/dl-cache.c: File removed.
26341 * config.h.in (USE_LDCONFIG): New #undef.
26342 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26343 * configure: Regenerated.
26344 * elf/Makefile (dl-routines): Add dl-cache only under
26345 [$(use-ldconfig) = yes].
26346 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26347 cache on [USE_LDCONFIG].
26348 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26349 [USE_LDCONFIG].
26350 * elf/rtld.c (dl_main): Likewise.
26351
5bb0c10a
PT
263522012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26353
26354 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26355 _SC_LEVEL4_CACHE_LINESIZE.
26356
010188c6
RM
263572012-10-03 Roland McGrath <roland@hack.frob.com>
26358
26359 * sysdeps/unix/bsd/confstr.h: File removed.
26360
b6c5ec07
AO
263612012-10-02 Alexandre Oliva <aoliva@redhat.com>
26362
26363 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26364 sys/sdt-config.h.
26365
408223d4
RM
263662012-10-02 Roland McGrath <roland@hack.frob.com>
26367
26368 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26369 Make 'mapoff' field ElfW(Off) rather than off_t.
26370
bb9510dc
DL
263712012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26372
fc997c6e
DL
26373 * nscd/Makefile: Remove nscd-cflags and all its users.
26374 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26375 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26376
bb9510dc
DL
26377 [BZ #10631]
26378 * malloc.c (malloc_printerr): Clarify error message.
26379
05699367
L
263802012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26381
26382 [BZ #14648]
26383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26384 Set bit_FMA_Usable if FMA is supported.
26385 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26386 macro.
26387 (bit_FMA4_Usable): Updated.
26388 (index_FMA_Usable): New macro.
26389 (CPUID_FMA): Likewise
26390 (HAS_FMA): Defined with bit_FMA_Usable.
26391
51367701
RM
263922012-10-01 Roland McGrath <roland@hack.frob.com>
26393
26394 * bits/types.h (__swblk_t): Type removed.
26395 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26396 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26398 (__SWBLK_T_TYPE): Likewise.
26399 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26400 (__SWBLK_T_TYPE): Likewise.
26401 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26402 (__SWBLK_T_TYPE): Likewise.
26403 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26404 (__SWBLK_T_TYPE): Likewise.
26405
4d57bf63 264062012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26407 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26408
26409 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26410 (xdr_mapname): Use YPMAXMAP as maxsize.
26411 (xdr_peername): Use YPMAXPEER as maxsize.
26412 (xdr_keydat): Use YPAXRECORD as maxsize.
26413 (xdr_valdat): Use YPMAXRECORD as maxsize.
26414
93c65d43
RM
264152012-10-01 Roland McGrath <roland@hack.frob.com>
26416
497a03d6
RM
26417 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26418
93c65d43
RM
26419 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26420 * csu/init-first.c: ... here.
26421 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26422 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26423 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26424 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26425 * sysdeps/i386/init-first.c: File removed.
26426 * sysdeps/sh/init-first.c: File removed.
26427
bec749fd
JM
264282012-10-01 Joseph Myers <joseph@codesourcery.com>
26429
26430 [BZ #14645]
26431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26432 if x * y might underflow to zero and z is zero.
26433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26434 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26435 * math/libm-test.inc (min_subnorm_value): New variable.
26436 (fma_test): Add more tests.
26437 (fma_test_towardzero): Likewise.
26438 (fma_test_downward): Likewise
26439 (fma_test_upward): Likewise.
26440 (initialize): Set min_subnorm_value.
26441
8ec5b013
JM
264422012-09-29 Joseph Myers <joseph@codesourcery.com>
26443
26444 [BZ #14638]
26445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26446 0 + 0.
26447 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26448 mode for addition resulting in exact zero.
26449 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26450 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26451 exact 0 + 0.
26452 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26453 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26454 * math/libm-test.inc (fma_test): Add more tests.
26455 (fma_test_towardzero): New function.
26456 (fma_test_downward): Likewise.
26457 (fma_test_upward): Likewise.
26458 (main): Call the new functions.
26459
b1fa802e
DM
264602012-09-28 David S. Miller <davem@davemloft.net>
26461
26462 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26463
d3b9fd9e
RM
264642012-09-28 Roland McGrath <roland@hack.frob.com>
26465
ea4d37b3
RM
26466 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26467 instead of SIGALRM.
26468
ac51c949
RM
26469 * sysdeps/gnu/_G_config.h: Moved to ...
26470 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26471 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26472 * sysdeps/generic/_G_config.h: ... here.
26473
28c195f7
RM
26474 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26475
848917f9
RM
26476 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26477
6bacf05b
RM
26478 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26479 Conditionalize target on [libnss_test1.so-version].
26480
91363dbb
RM
26481 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26482
cc87f7d8
RM
26483 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26484 (elfobjdir): Move out of conditionals.
26485
b1c608fe
RM
26486 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26487 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26488 (__nss_lookup_function): Conditionalize label remove_from_tree on
26489 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 26490
1d9a6d96
DM
264912012-09-28 David S. Miller <davem@davemloft.net>
26492
26493 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26494 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26495 file.
26496 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26497 sysdep_routines.
26498 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26500 when HWCAP_SPARC_CRYPTO is present.
26501
72581615
PT
265022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26503
26504 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26505
715a900c
JL
265062012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26507
26508 [BZ #6530]
26509 * stdio-common/vfprintf.c (process_string_arg): Revert
26510 2000-07-22 change.
26511
265122011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26513
26514 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26515 for testcase.
26516 * stdio-common/tst-sprintf.c: Include <locale.h>
26517 (main): Test sprintf's handling of incomplete multibyte
26518 characters.
26519
9bac1d86
L
265202012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26521
26522 * elf/dl-runtime.c (VERSYMIDX): Removed.
26523 * elf/dl-version.c (VERSYMIDX): Likewise.
26524 * elf/do-rel.h (VERSYMIDX): Likewise.
26525 (VALIDX): Likewise.
26526 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26527 * elf/rtld.c (VALIDX): Likewise.
26528 (ADDRIDX): Likewise.
9bac1d86
L
26529 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26530 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26531 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
26532 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26533 (VALIDX): Likewise.
26534 (ADDRIDX): Likewise.
9bac1d86 26535
b31606c0
PT
265362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26537
26538 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26539
11541177
JL
265402012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26541
26542 [BZ #11438]
26543 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26544 to global scope.
26545 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26546 addresses are in the same scope as 192.0.2/24.
26547 * posix/gai.conf: Document new scope table defaults.
26548
adb26fae
SP
265492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26550
26551 [BZ #5298]
26552 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26553 for ftell. Compute offsets from write pointers instead.
26554 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26555
4573c6b0
SP
265562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26557
26558 [BZ #14543]
26559 * libio/Makefile (tests): New test case tst-fseek.
26560 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26561 combination works in wide mode.
26562 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26563 state when the external buffer state changes.
26564
aa9bbfe6
DM
265652012-09-27 David S. Miller <davem@davemloft.net>
26566
26567 [BZ #14376]
26568 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26569 pass reloc->r_addend in as the 'high' argument to
26570 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26571
784421e7
DM
26572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26573
c39bc8b8
PT
265742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26575
26576 * rt/tst-aio2.c: Include <pthread.h>.
26577 * rt/tst-aio3.c: Likewise.
26578
1ccc2399
SE
265792012-09-27 Steve Ellcey <sellcey@mips.com>
26580
26581 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26582
31ed4153
L
265832012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26584
25f5f885
L
26585 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26586 contents on [SHARED].
31ed4153 26587
b7bfe116
MP
265882012-09-26 Marek Polacek <polacek@redhat.com>
26589
26590 [BZ #14530]
26591 [BZ #13741]
26592 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26593 for C++ and GCC <4.3 as well as for non GCC compilers.
26594
43c4edba
MT
265952012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26596
26597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26598
6a1bf82f
RM
265992012-09-25 Roland McGrath <roland@hack.frob.com>
26600
26601 * Makefile.in (all, install): Declare with .PHONY.
26602 Reported by Michael Hope <michael.hope@linaro.org>.
26603
8ad11b9a
TMQMF
266042012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26605
26606 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26607 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26608 system header.
26609 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26610 Likewise.
26611 (sydep_routines): Add the new and the internal functions.
26612 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26613 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26615 (GLIBC_2.17): Add the new function.
26616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26617 (GLIBC_2.17): Likewise.
26618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26619 (GLIBC_2.17): Likewise.
26620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26621 (GLIBC_2.17): Likewise.
26622 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26623
7e2fca8d
AM
266242012-09-25 Alan Modra <amodra@gmail.com>
26625
26626 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26627 Add release barrier before setting once_control to say
26628 initialisation is done. Add hints on lwarx. Use macro in
26629 place of isync.
26630 (clear_once_control): Add release barrier.
26631
b87c4b24
JM
266322012-09-25 Joseph Myers <joseph@codesourcery.com>
26633
d032e0d2
JM
26634 [BZ #13629]
26635 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26636 specially.
26637 * math/s_clog10.c (__clog10): Likewise.
26638 * math/s_clog10f.c (__clog10f): Likewise.
26639 * math/s_clog10l.c (__clog10l): Likewise.
26640 * math/s_clogf.c (__clogf): Likewise.
26641 * math/s_clogl.c (__clogl): Likewise.
26642 * math/Makefile (libm-calls): Add x2y2m1.
26643 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26644 (__x2y2m1): Likewise.
26645 (__x2y2m1l): Likewise.
26646 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26647 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26648 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26649 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26650 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26651 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26652 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26653 * sysdeps/i386/fpu/libm-test-ulps: Update.
26654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26655
b87c4b24
JM
26656 [BZ #14621]
26657 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26658 int as type of variable DEPTH.
26659 (glob): Use size_t instead of int as type of variables NEWCOUNT
26660 and OLD_PATHC.
26661
6d3bf199
LD
266622012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26663
22bf5c17
LD
26664 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26665 Add s_sincosf-sse2.
26666 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26667 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26668 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26669 macros for using routine as __sincosf_ia32.
26670 Use macro for function declaration and weak_alias.
26671 * sysdeps/i386/fpu/libm-test-ulps: Update.
26672
26673 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26675
26676 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26677 subnormal argument.
26678 * math/s_cexpf.c (__cexpf): Likewise.
26679 * math/s_csinf.c (__csinf): Likewise.
26680 * math/s_csinhf.c (__csinhf): Likewise.
26681 * math/s_ctanf.c (__ctanf): Likewise.
26682 * math/s_ctanhf.c (__ctanhf): Likewise.
26683 * math/s_ccosh.c (__ccoshf): Likewise.
26684 * math/s_cexp.c (__cexpl): Likewise.
26685 * math/s_csin.c (__csin): Likewise.
26686 * math/s_csinh.c (__csinh): Likewise.
26687 * math/s_ctan.c (__ctan): Likewise.
26688 * math/s_ctanh.c (ctanh): Likewise.
26689 * math/s_ccoshl.c (__ccoshl): Likewise.
26690 * math/s_cexpl.c (__cexpl): Likewise.
26691 * math/s_csinl.c (__csinl): Likewise.
26692 * math/s_csinhl.c (__csinhl): Likewise.
26693 * math/s_ctanl.c (__ctanl): Likewise.
26694 * math/s_ctanhl.c (__ctanhl): Likewise.
26695
203e5603
JM
266962012-09-25 Joseph Myers <joseph@codesourcery.com>
26697
26698 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26699 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26700 (_IO_off_t): Define to __off_t, not _G_off_t.
26701 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26702 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26703 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26704 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26705 type of __dummy and __dummy2 fields.
26706 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26707 (_G_ssize_t): Likewise.
26708 (_G_off_t): Likewise.
26709 (_G_pid_t): Likewise.
26710 (_G_uid_t): Likewise.
26711 (_G_wchar_t): Likewise.
26712 (_G_wint_t): Likewise.
26713 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26714 (_G_ssize_t): Likewise.
26715 (_G_off_t): Likewise.
26716 (_G_pid_t): Likewise.
26717 (_G_uid_t): Likewise.
26718 (_G_wchar_t): Likewise.
26719 (_G_wint_t): Likewise.
26720 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26721 (_G_ssize_t): Likewise.
26722 (_G_off_t): Likewise.
26723 (_G_pid_t): Likewise.
26724 (_G_uid_t): Likewise.
26725 (_G_wchar_t): Likewise.
26726 (_G_wint_t): Likewise.
26727
9fab36eb
SP
267282012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26729
26730 * malloc/arena.c: Include malloc-sysdep.h.
26731 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26732 is sufficient to shrink the heap or an unmap is needed.
26733 * sysdeps/generic/malloc-sysdep.h: New file. Define
26734 new function check_may_shrink_heap.
26735 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26736 new function check_may_shrink_heap.
26737
2b4f00d1
SP
267382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26739
26740 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26741 comments.
26742
9a9028b1
DL
267432012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26744
57c69bef
DL
26745 * catgets/test-gencat.sh: Add "set -e".
26746 * elf/tst-pathopt.sh: Likewise.
26747 * grp/tst_fgetgrent.sh: Likewise.
26748 * iconvdata/run-iconv-test.sh: Likewise.
26749 * intl/tst-gettext.sh: Likewise.
26750 * intl/tst-gettext2.sh: Likewise.
26751 * intl/tst-gettext4.sh: Likewise.
26752 * intl/tst-gettext6.sh: Likewise.
26753 * intl/tst-translit.sh: Likewise.
26754 * io/ftwtest-sh: Likewise.
26755 * libio/test-freopen.sh: Likewise.
26756 * malloc/tst-mtrace.sh: Likewise.
26757 * posix/globtest.sh: Likewise.
26758 * posix/tst-getconf.sh: Likewise.
26759 * posix/wordexp-tst.sh: Likewise.
26760 * stdio-common/tst-printf.sh: Likewise.
26761 * stdio-common/tst-unbputc.sh: Likewise.
26762 * stdlib/tst-fmtmsg.sh: Likewise.
26763 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26764 * catgets/Makefile: Do not specify -e option when running
26765 testsuite shell scripts.
26766 * elf/Makefile: Likewise.
26767 * grp/Makefile: Likewise.
26768 * iconvdata/Makefile: Likewise.
26769 * intl/Makefile: Likewise.
26770 * io/Makefile: Likewise.
26771 * libio/Makefile: Likewise.
26772 * malloc/Makefile: Likewise.
26773 * posix/Makefile: Likewise.
26774 * stdio-common/Makefile: Likewise.
26775 * stdlib/Makefile: Likewise.
26776 * sysdeps/x86_64/Makefile: Likewise.
26777
9a9028b1
DL
26778 * io/ftwtest-sh: Add copyright header.
26779 * posix/globtest.sh: Likewise.
26780 * posix/tst-getconf.sh: Likewise.
26781 * posix/wordexp-tst.sh: Likewise.
26782 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26783
ced6f16e
L
267842012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26785
94b32c39
L
26786 [BZ #13679]
26787 * Makeconfig (+link): Defined as $(+link-static) if
26788 $(build-shared) isn't yes.
26789 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26790 isn't yes.
26791 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26792
189e935b
L
26793 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26794
ced6f16e
L
26795 [BZ #14562]
26796 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26797 new chunk size with MALLOC_ALIGN_MASK.
26798
a9f8e53a
JM
267992012-09-24 Joseph Myers <joseph@codesourcery.com>
26800
26801 [BZ #5044]
26802 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26803 <rounding-mode.h>.
26804 (__printf_fphex): Determine rounding using get_rounding_mode and
26805 round_away.
26806 * stdio-common/tst-printf-round.c (struct hex_test): New
26807 structure.
26808 (hex_tests): New variable.
26809 (test_hex_in_one_mode): New function.
26810 (do_test): Also run tests for hex float output.
26811
43153109
JM
268122012-09-21 Joseph Myers <joseph@codesourcery.com>
26813
26814 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26815 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26816 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26817 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26818 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26819 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26820 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26821 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26822
8a26625d
JM
268232012-09-20 Joseph Myers <joseph@codesourcery.com>
26824
26825 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26826 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26827 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26828 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26829
f3fd569c
DL
268302012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26831
26832 [BZ #14579]
26833 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26834 mode only.
26835 * elf/tst-rtld-load-self.sh: New test.
26836 * elf/Makefile: Run it.
26837
63bbedd4
JM
268382012-09-18 Joseph Myers <joseph@codesourcery.com>
26839
26840 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26841 (tst-writev-ENV): Remove.
26842 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26843
626f8b6a
CM
268442012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26845
26846 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26847
b7aaa4d6
JM
268482012-09-17 Joseph Myers <joseph@codesourcery.com>
26849
26850 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26851 unconditional.
26852 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26853 Likewise.
26854 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26855 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26856 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26857 Likewise.
26858
65513990
L
268592012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26860
26861 [BZ #14587]
26862 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26863 * config.make.in (have-cpp-asm-debuginfo): Removed.
26864 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26865 * configure: Regenerated.
26866
784761be
JM
268672012-09-14 Joseph Myers <joseph@codesourcery.com>
26868
26869 [BZ #5044]
26870 * stdio-common/printf_fp.c: Include <stdbool.h> and
26871 <rounding-mode.h>.
26872 (___printf_fp): Determine rounding using get_rounding_mode and
26873 round_away.
26874 * stdio-common/tst-printf-round.c: New file.
26875 * stdio-common/Makefile (tests): Add tst-printf-round.
26876 (link-libm): New variable.
26877 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26878
9503345f
L
268792012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26880
26881 [BZ #14576]
26882 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26883 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26884 Likewise.
26885 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26886 Likewise.
26887
ad35fc00
JM
268882012-09-13 Joseph Myers <joseph@codesourcery.com>
26889
26890 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26891 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26892 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26893 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26894
6c9b0f68
JM
268952012-09-12 Joseph Myers <joseph@codesourcery.com>
26896
26897 [BZ #14518]
26898 * include/rounding-mode.h: New file.
26899 * sysdeps/generic/get-rounding-mode.h: Likewise.
26900 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26901 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26902 (MAX_VALUE): New macro.
26903 (MIN_VALUE): Likewise.
26904 (overflow_value): New function.
26905 (underflow_value): Likewise.
26906 (round_and_return): Use overflow_value and underflow_value to
26907 determine return values in overflow and underflow cases. Use
26908 round_away to determine rounding depending on rounding mode.
26909 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26910 determine return values in overflow and underflow cases.
26911 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26912 (struct test_results): New structure.
26913 (struct test): Use struct test_results to store expected results
26914 for all rounding modes.
26915 (TEST): Include expected results for all rounding modes.
26916 (test_in_one_mode): New function.
26917 (do_test): Use test_in_one_mode to compute and check results.
26918 Check results for all rounding modes.
26919 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26920 $(link-libm).
26921
19fcedd5
AM
269222012-12-09 Allan McRae <allan@archlinux.org>
26923
1e9d84cd 26924 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26925
8bbfd2f1
JM
269262012-09-11 Joseph Myers <joseph@codesourcery.com>
26927
26928 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26929 (_G_int32_t): Likewise.
26930 (_G_uint16_t): Likewise.
26931 (_G_uint32_t): Likewise.
26932 (_G_HAVE_BOOL): Likewise.
26933 (_G_HAVE_ATEXIT): Likewise.
26934 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26935 (_G_HAVE_IO_FILE_OPEN): Likewise.
26936 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26937 (_G_int32_t): Likewise.
26938 (_G_uint16_t): Likewise.
26939 (_G_uint32_t): Likewise.
26940 (_G_HAVE_BOOL): Likewise.
26941 (_G_HAVE_ATEXIT): Likewise.
26942 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26943 (_G_HAVE_IO_FILE_OPEN): Likewise.
26944 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26945 (_G_int32_t): Likewise.
26946 (_G_uint16_t): Likewise.
26947 (_G_uint32_t): Likewise.
26948 (_G_HAVE_BOOL): Likewise.
26949 (_G_HAVE_ATEXIT): Likewise.
26950 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26951 (_G_HAVE_IO_FILE_OPEN): Likewise.
26952
b1dc5912
L
269532012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26954
26955 * csu/libc-tls.c: Update copyright years.
26956
0e886ef9
JM
269572012-09-10 Joseph Myers <joseph@codesourcery.com>
26958
28361c5e
JM
26959 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26960 [!_G_USING_THUNKS]: Remove conditional code.
26961 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26962 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26963
0e886ef9
JM
26964 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26965 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26966 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26967 (_G_VTABLE_LABEL_PREFIX): Likewise.
26968 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26969 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26970 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26971 (_G_VTABLE_LABEL_PREFIX): Likewise.
26972 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26973 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26974 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26975 (_G_VTABLE_LABEL_PREFIX): Likewise.
26976 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26977
bcba7aa2
L
269782012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26979
26980 * libio/Makefile: Include ../Makeconfig before tests.
26981 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26982 only if $(build-shared) is yes.
26983
06585ee8
L
26984 * iconv/gconv_db.c: Update copyright years.
26985
80ccd52c
LD
269862012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26987
26988 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26989 unwind info if defined PIC. Fix special cases description.
26990 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26991
26992 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26993 DP_HI_MASK entry.
26994 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26995
691bc9c1
L
269962012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26997
3d9b46b3
L
26998 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26999
de2139a9
L
27000 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27001 is NULL.
27002
5ca78dd0
L
27003 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27004 (LDLIBS-tst-chk4): This.
27005 (LDFLAGS-tst-chk5): Renamed to ...
27006 (LDLIBS-tst-chk5): This.
27007 (LDFLAGS-tst-chk6): Renamed to ...
27008 (LDLIBS-tst-chk6): This.
27009 (LDFLAGS-tst-lfschk4): Renamed to ...
27010 (LDLIBS-tst-lfschk4): This.
27011 (LDFLAGS-tst-lfschk5): Renamed to ...
27012 (LDLIBS-tst-lfschk5): This.
27013 (LDFLAGS-tst-lfschk6): Renamed to ...
27014 (LDLIBS-tst-lfschk6): This.
27015
691bc9c1
L
27016 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27017 on $(common-objpfx)soversions.mk.
27018
65cafb1c
JM
270192012-09-07 Joseph Myers <joseph@codesourcery.com>
27020
27021 [BZ #10014]
27022 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27023 example host name.
27024
c78ab094
SP
270252012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27026
27027 * malloc/arena.c (arena_get_retry): New function that gets
27028 another arena for the caller to try its request on.
27029 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27030 current arena cannot fulfill the request.
27031 (__libc_memalign): Likewise.
27032 (__libc_memalign): Likewise.
27033 (__libc_pvalloc): Likewise.
27034 (__libc_calloc): Likewise.
27035
01f49f59
JT
270362012-09-05 John Tobey <john.tobey@gmail.com>
27037
27038 [BZ #13542]
27039 * manual/arith.texi (Operations on Complex): Fix description
27040 of carg branch cut.
27041
4c23fed5
JM
270422012-09-06 Joseph Myers <joseph@codesourcery.com>
27043
1d3c8572
JM
27044 [BZ #10014]
27045 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27046 host name.
27047
4c23fed5
JM
27048 [BZ #10038]
27049 * manual/memory.texi (Memory): Make order of menu items match
27050 order of sections.
27051
04570aaa
L
270522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27053
27054 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27055 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27056 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27057
b80af2f4
L
270582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27059
27060 * csu/libc-tls.c (static_dtv): Renamed to ...
27061 (_dl_static_dtv): This. Make it global.
27062 (_dl_initial_dtv): Removed.
27063 (__libc_setup_tls): Updated.
27064 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27065 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27066 DL_INITIAL_DTV.
27067
2abe9f15
PM
270682012-09-06 Petr Machata <pmachata@redhat.com>
27069
27070 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27071 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27072 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27073 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27074
0948c3af
L
270752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27076
27077 [BZ #14545]
27078 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27079 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27080 freeing dtv[-1].
27081
a5055ad1
L
270822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27083
27084 [BZ #14544]
27085 * Makeconfig (link-static-before-libc): Replace $(+prector)
27086 with $(+prectorT).
27087 (link-static-after-libc): Replace $(+postctor) with
27088 $(+postctorT).
27089 (link-bounded): Replace $(+prector)/$(+postctor) with
27090 $(+prectorT)/$(+postctorT).
27091 (+prectorT): New macro.
27092 (+postctorT): Likewise.
27093
ed8c2ecd
JM
270942012-09-06 Joseph Myers <joseph@codesourcery.com>
27095
27096 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27097 (round_str): Handle values above the maximum for IBM long double
27098 as inexact.
27099 * stdlib/tst-strtod-round.c (tests): Regenerated.
27100
14c996c8
AK
271012012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27102
27103 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27104 assembler flag.
27105 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27106 zarch_nohighgprs around the zarch optimized routines.
27107 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27108 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27109 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27110 for zarch.
27111
430d6ce6
DM
271122012-09-05 David S. Miller <davem@davemloft.net>
27113
27114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27115
57f41c40
AS
27116 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27117 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
27118 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27119 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27120 entries.
27121
24d4e01b
AO
271222012-09-05 Alexandre Oliva <aoliva@redhat.com>
27123
27124 * malloc/arena.c: Fold copyright years.
27125 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27126
61d58174
AO
271272012-09-05 Alexandre Oliva <aoliva@redhat.com>
27128
27129 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27130
20196a5e
AO
271312012-09-05 Alexandre Oliva <aoliva@redhat.com>
27132
27133 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27134
5c447383
AO
271352012-09-05 Alexandre Oliva <aoliva@redhat.com>
27136
27137 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27138 change internal state upon failure.
27139
fad64255
AO
271402012-09-05 Alexandre Oliva <aoliva@redhat.com>
27141
27142 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27143 * malloc/memusage.c (mmap): Likewise.
27144 (mmap64, mremap): Likewise. Adjust name in comment.
27145
1ffb8c90
SP
271462012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27147
27148 * libio/fileops.c: Fix typos in comments.
27149 * libio/oldfileops.c: Likewise.
27150 * libio/wfileops.c: Likewise.
27151
6ef9cc37
SP
271522012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27153
27154 [BZ #1349]
27155 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27156 (tst-malloc-usable-ENV): Set environment for test case.
27157 * malloc/hooks.c (malloc_check_get_size): New function to get
27158 requested size.
27159 * malloc/malloc.c (musable): Use malloc_check_get_size.
27160 * malloc/tst-malloc-usable.c: New test case.
27161
4d038ae3
AS
271622012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27163
27164 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27165
c4e85184
AM
271662012-09-05 Allan McRae <allan@archlinux.org>
27167
b9dafc56 27168 [BZ #13966]
c4e85184
AM
27169 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27170 determine header location.
27171 * configure: Regenerated.
27172
e1343020
AS
271732012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27174
27175 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27176 float format.
27177 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27178 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27179 format.
e1343020
AS
27180 (test): Regenerate.
27181
0a9f1987
DM
271822012-09-04 David S. Miller <davem@davemloft.net>
27183
27184 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27185 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27186 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27187
29237804
FW
271882012-09-04 Florian Weimer <fweimer@redhat.com>
27189
27190 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27191 failures.
27192
edb3cb88
FW
27193 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27194
60160d83
JM
271952012-09-04 Joseph Myers <joseph@codesourcery.com>
27196
27197 [BZ #9914]
27198 * libio/iogetdelim.c: Include <limits.h>.
27199 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27200 + len + 1 would overflow.
27201
bcd6c8dc
AJ
272022012-09-03 Andreas Jaeger <aj@suse.de>
27203
27204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27205 * sysdeps/i386/fpu/libm-test-ulps: Update.
27206
4ffffbd2
LD
272072012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27208
27209 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27210 Add s_sinf-sse2, s_conf-sse2.
27211
27212 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27213 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27214 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27215 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27216
27217 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27218 for using routine as __sinf_ia32.
27219 Use macro for function declaration and weak_alias.
27220 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27221 for using routine as __cosf_ia32.
27222 Use macro for function declaration and weak_alias.
27223
27224 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27225 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27226
27227 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27228 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27230
27231 * math/libm-test.inc (cos_test): Add more test cases.
27232 (sin_test): Likewise.
27233 (sincos_test): Likewise.
27234
511fa286
AK
272352012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27236
27237 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27238 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27239 hidden.
27240 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27241
5f30cfec
L
272422012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27243
27244 [BZ #14538]
27245 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27246 first element of the GOT.
27247 (elf_machine_load_address): Return the difference between
27248 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27249
0786794f
AM
272502012-09-01 Allan McRae <allan@archlinux.org>
27251
5f30cfec
L
27252 [BZ #13412]
27253 * configure.in (AWK): Require gawk version 3.0 or later.
27254 * configure: Regenerated.
0786794f 27255
26889eac
JM
272562012-09-01 Joseph Myers <joseph@codesourcery.com>
27257
27258 * sysdeps/unix/sysv/linux/kernel-features.h
27259 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27260 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27261 [__NR_clock_getres]: Make code unconditional.
27262 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27263 (clock_getcpuclockid): Remove code left unreachable by removal of
27264 conditionals.
27265 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27266 code unconditional.
27267 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27268 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27269 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27270 Make code unconditional.
27271 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27272 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27273 * sysdeps/unix/sysv/linux/clock_settime.c
27274 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27275 conditional code.
27276 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27277 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27278
d22e28b0
L
272792012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27280
27281 [BZ #14476]
27282 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27283 scripts/test-installation.pl.
27284
27285 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27286 and $ld_so_version if it is set.
27287
050af9c4
SP
272882012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27289
27290 [BZ #14516]
27291 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27292 failure if reading from procfs failed.
27293 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27294
ad845c0b
JM
272952012-08-27 Joseph Myers <joseph@codesourcery.com>
27296
27297 * sysdeps/unix/sysv/linux/kernel-features.h
27298 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27299 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27300 Remove conditional code.
27301 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27302 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27303 Remove conditional code.
27304 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27305 * sysdeps/unix/sysv/linux/i386/fxstat.c
27306 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27307 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27308 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27309 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27311 * sysdeps/unix/sysv/linux/i386/lxstat.c
27312 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27313 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27314 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27315 Remove conditional code.
27316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27317 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27318 Remove conditional code.
27319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27320 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27321 <kernel-features.h>.
27322 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27323 Remove.
27324 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27325 Remove conditional code.
27326 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27327 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27328 Remove conditional.
27329
5dbf56af
MF
273302012-08-27 Mike Frysinger <vapier@gentoo.org>
27331
27332 [BZ #5400]
27333 * NEWS: Add fixed bug number.
27334
d6e70f43
JM
273352012-08-27 Joseph Myers <joseph@codesourcery.com>
27336
7efb4737
JM
27337 [BZ #14519]
27338 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27339 underflowing exponent in case of negative sign.
27340 * stdlib/tst-strtod-round-data: Add more tests.
27341 * stdlib/tst-strtod-round.c (tests): Regenerated.
27342
af92131a
JM
27343 [BZ #3479]
27344 * stdlib/strtod_l.c (NDIG): Remove.
27345 (HEXNDIG): Likewise.
27346 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27347 smallest representable value.
27348 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27349 lie within an exact representation of 1/2 ulp of the result.
27350 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27351 unconditionally.
27352 (TENS_P9_IDX): Define unconditionally.
27353 (TENS_P9_SIZE): Likewise.
27354 (TENS_P10_IDX): Likewise.
27355 (TENS_P10_SIZE): Likewise.
27356 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27357 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27358 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27359 entries for 10^2^13 and 10^2^14.
27360 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27361 (TENS_P13_IDX): Define.
27362 (TENS_P13_SIZE): Likewise.
27363 (TENS_P14_IDX): Likewise.
27364 (TENS_P14_SIZE): Likewise.
27365 (_fpioconst_pow10): Change array size to
27366 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27367 unconditional.
27368 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27369 1024]: Add entries for 10^2^13 and 10^2^14.
27370 [LAST_POW10 > _LAST_POW10]: Remove #error.
27371 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27372 (_fpioconst_pow10): Change array size to
27373 FPIOCONST_POW10_ARRAY_SIZE.
27374 * stdlib/gen-fpioconst.c: New file.
27375 * stdlib/gen-tst-strtod-round.c: Likewise.
27376 * stdlib/tst-strtod-round-data: Likewise.
27377 * stdlib/tst-strtod-round.c: Likewise.
27378 * stdlib/Makefile (tests): Add tst-strtod-round.
27379
d6e70f43
JM
27380 [BZ #14459]
27381 * stdlib/strtod_l.c: Include <stdint.h>.
27382 (NDEBUG): Do not define.
27383 (round_and_return): Change EXPONENT parameter to type intmax_t.
27384 Rearrange calculations to avoid internal overflow possibilities.
27385 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27386 Rearrange calculations to avoid internal overflow possibilities.
27387 Assert that number fits inside MPNSIZE limbs.
27388 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27389 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27390 calculations and add assertions to avoid internal overflow
27391 possibilities. Add casts to avoid signed/unsigned operations.
27392 * stdlib/tst-strtod-overflow.c: New file.
27393 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27394
1f529f7d
MP
273952012-08-25 Marek Polacek <polacek@redhat.com>
27396
27397 * time/time.h: Fix some typos in comments.
27398
59a629f1
RM
273992012-08-23 Roland McGrath <roland@hack.frob.com>
27400
27401 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27402 * posix/tst-rfc3484-2.c: Likewise.
27403 * posix/tst-rfc3484-3.c: Likewise.
27404
d3bafbc9
SM
274052012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27406
27407 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27408 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27409
4efcc022
JM
274102012-08-23 Joseph Myers <joseph@codesourcery.com>
27411
27412 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27413 #include of fxstatat64.c.
27414
3cc3ef96
RM
274152012-08-22 Roland McGrath <roland@hack.frob.com>
27416
f04e2132
RM
27417 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27418 * shadow/getspent_r.c: Likewise.
27419 * shadow/getspnam.c: Likewise.
27420 * shadow/getspnam_r.c: Likewise.
27421 * gshadow/getsgent.c: Likewise.
27422 * gshadow/getsgent_r.c: Likewise.
27423 * gshadow/getsgnam.c: Likewise.
27424 * gshadow/getsgnam_r.c: Likewise.
27425 * inet/getnetbyad.c: Likewise.
27426 * inet/getnetbyad_r.c: Likewise.
27427 * inet/getnetbynm.c: Likewise.
27428 * inet/getnetbynm_r.c: Likewise.
27429 * inet/getnetent.c: Likewise.
27430 * inet/getnetent_r.c: Likewise.
27431 * inet/getproto.c: Likewise.
27432 * inet/getproto_r.c: Likewise.
27433 * inet/getprtent.c: Likewise.
27434 * inet/getprtent_r.c: Likewise.
27435 * inet/getprtname.c: Likewise.
27436 * inet/getprtname_r.c: Likewise.
27437 * inet/getrpcbyname.c: Likewise.
27438 * inet/getrpcbyname_r.c: Likewise.
27439 * inet/getrpcbynumber.c: Likewise.
27440 * inet/getrpcbynumber_r.c: Likewise.
27441 * inet/getrpcent.c: Likewise.
27442 * inet/getrpcent_r.c: Likewise.
27443 * inet/getaliasent.c: Likewise.
27444 * inet/getaliasent_r.c: Likewise.
27445 * inet/getaliasname.c: Likewise.
27446 * inet/getaliasname_r.c: Likewise.
27447 * nscd/getgrgid_r.c: Likewise.
27448 * nscd/getgrnam_r.c: Likewise.
27449 * nscd/gethstbyad_r.c: Likewise.
27450 * nscd/gethstbynm3_r.c: Likewise.
27451 * nscd/getpwnam_r.c: Likewise.
27452 * nscd/getpwuid_r.c: Likewise.
27453 * nscd/getsrvbynm_r.c: Likewise.
27454 * nscd/getsrvbypt_r.c: Likewise.
27455 * nscd/gai.c: Likewise.
27456
c53d909c
RM
27457 * configure.in (build_nscd): New substituted variable, set
27458 by --disable-build-nscd and defaults to $use_nscd.
27459 * configure: Regenerated.
27460 * config.make.in (build-nscd): New substituted variable.
27461 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27462 Change conditional to require [$(build-nscd) = yes] as well.
27463 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27464
3cc3ef96
RM
27465 [BZ# 13696]
27466 * configure.in (use_nscd): New substituted variable, set by
27467 --disable-nscd. If enabled, define USE_NSCD.
27468 * configure: Regenerated.
27469 * config.h.in: Add USE_NSCD.
27470 * config.make.in (use-nscd): New substituted variable.
27471 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27472 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27473 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27474 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27475 (CFLAGS-getgrnam_r.c): Likewise.
27476 (CFLAGS-initgroups.c): Likewise.
27477 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27478 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27479 Variables removed.
27480 * inet/getnetgrent_r.c
27481 (nscd_setnetgrent): New function, broken out of ...
27482 (setnetgrent): ... here. Call it.
27483 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27484 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27485 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27486 * nscd/Makefile (routines, aux): Move definitions after include of
27487 Makeconfig. Conditionalize on [$(use-nscd) != no].
27488 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27489 Conditionalize on [USE_NSCD].
27490 (is_nscd, nscd_init_cb): Likewise.
27491 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27492 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27493 * nss/nss_db/db-init.c: Likewise.
27494 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27495 [USE_NSCD].
27496 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27497 (make_request): Use it.
27498 (cache_valid_p): New function.
27499 (__check_pf): Use it.
27500 * NEWS: Add item for --disable-nscd.
27501
07e51550
DL
275022012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27503
27504 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27505 to support sed >= 4.2.1-20-ga9bf076.
27506 * configure: Regenerated.
27507
35a5b08b
RM
275082012-08-22 Roland McGrath <roland@hack.frob.com>
27509
27510 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27511 Conditionalize whole body on [IREL].
27512
8479f23a
JL
275132012-08-22 Jeff Law <law@redhat.com>
27514
27515 [BZ #14505]
27516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27517 if the family is PF_UNSPEC.
27518
48da0b21
MF
275192012-08-22 Mike Frysinger <vapier@gentoo.org>
27520
27521 * Makerules (lib-version): Rename from V.
27522 (install-lib-nosubdir): Change V to lib-version.
27523
15d0da8c
WS
275242012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27525
27526 [BZ #14252]
27527 * powerpc32/power6/wcschr.c: New file.
27528 * powerpc32/power6/wcscpy.c: New file.
27529 * powerpc32/power6/wcsrchr.c: New file.
27530 * powerpc64/power6/wcschr.c: New file.
27531 * powerpc64/power6/wcscpy.c: New file.
27532 * powerpc64/power6/wcsrchr.c: New file.
27533
bcca0895
MK
275342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27535
27536 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27537 (two_way_short_needle): Use it.
5a4aaa33
RM
27538 * string/strstr.c (AVAILABLE1_USES_J): Define.
27539 * string/strcasestr.c: Likewise.
99677e57
MK
27540
27541 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27542 array references.
27543 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27544
400726de
MK
27545 [BZ #11607]
27546 * NEWS: Add an entry.
27547 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27548 define their defaults.
27549 (two_way_short_needle): Detect end-of-string on-the-fly.
27550 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27551 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27552 * string/bug-strcasestr1.c: New test.
27553 * string/Makefile: Run it.
27554
20a71f2c
MK
275552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27556
27557 [BZ #11607]
27558 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27559 the first character.
27560
21ad0558
RM
275612012-08-21 Roland McGrath <roland@hack.frob.com>
27562
27563 * csu/elf-init.c (__libc_csu_irel): Function removed.
27564 * csu/libc-start.c (apply_irel): New function.
27565 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27566
0e1d9911
JM
275672012-08-21 Joseph Myers <joseph@codesourcery.com>
27568
27569 * sysdeps/unix/sysv/linux/kernel-features.h
27570 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27571 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27572 <kernel-features.h>.
27573 [__NR_fadvise64_64]: Make code unconditional.
27574 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27575 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27576 !__NR_fadvise64_64)]: Likewise.
27577 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27578 !__NR_fadvise64_64))]: Likewise.
27579 [__NR_fadvise64]: Make code unconditional.
27580 [!__NR_fadvise64]: Remove conditional code.
27581 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27582 <kernel-features.h>.
27583 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27584 unconditional.
27585 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27586 conditional code.
27587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27588 not include <kernel-features.h>.
27589 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27590 unconditional.
27591 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27592 conditional code.
27593 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27594 include <kernel-features.h>.
27595 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27596 unconditional.
27597 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27598 conditional code.
27599
14a50c9d
WS
276002012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27601
27602 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27603 slight instruction rearrangements per scrollpipe analysis.
27604 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27605
c0f4faf0
RM
276062012-08-20 Roland McGrath <roland@hack.frob.com>
27607
696da859
RM
27608 * manual/syslog.texi (syslog; vsyslog, closelog):
27609 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27610 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27611
c0f4faf0
RM
27612 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27613 DSOCAPS to match condition on defining it.
27614
348363b2
JM
276152012-08-20 Joseph Myers <joseph@codesourcery.com>
27616
a35cbf28
JM
27617 * sysdeps/unix/sysv/linux/kernel-features.h
27618 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27620 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27621 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27623 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27624 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27626 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27627 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27628
445f7ecd
JM
27629 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27630 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27631
348363b2
JM
27632 * sysdeps/unix/sysv/linux/kernel-features.h
27633 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27634 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27635 unconditional.
27636 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27637 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27638 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27639 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27640 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27641 Make code unconditional.
27642 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27643 (__mmap64) [!__NR_mmap2]: Likewise.
27644 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27645 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27646 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27647 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27648 [__NR_mmap2]: Make code unconditional.
27649 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27650 (__mmap64) [!__NR_mmap2]: Likewise.
27651
bc5bc0e5
AK
276522012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27653
27654 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27655
88d506de
AJ
276562012-08-18 Andreas Jaeger <aj@suse.de>
27657
27658 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27659
493387d2
MF
276602012-08-18 Mike Frysinger <vapier@gentoo.org>
27661
27662 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27663 * include/unistd.h (__have_sock_cloexec): Likewise.
27664 (__have_pipe2): Likewise.
27665 (__have_dup3): Likewise.
27666
a277af22
MF
276672012-08-18 Mike Frysinger <vapier@gentoo.org>
27668
27669 [BZ #9685]
27670 * include/unistd.h (__have_pipe2): Change define into an extern int.
27671 (__have_dup3): Likewise.
27672 * socket/have_sock_cloexec.c: Include fcntl.h.
27673 (__have_pipe2): New variable.
27674 (__have_dup3): Likewise.
27675
fdab8fd3
MF
276762012-08-17 Mike Frysinger <vapier@gentoo.org>
27677
27678 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27679
31035e80
MP
276802012-08-17 Marek Polacek <polacek@redhat.com>
27681
27682 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27683 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27684
3bd9e993
RM
276852012-08-17 Roland McGrath <roland@hack.frob.com>
27686
c91c505f
RM
27687 * configure.in: Add AC_SUBST for sysheaders.
27688 * configure: Regenerated.
27689 * config.make.in (sysheaders): New substituted variable.
27690
7c6f9d53
RM
27691 * sysdeps/unix/mkfifo.c: Moved ...
27692 * sysdeps/posix/mkfifo.c: ... here.
27693 * sysdeps/unix/mkfifoat.c: Moved ...
27694 * sysdeps/posix/mkfifoat.c: ... here.
27695
27696 * sysdeps/unix/utime.c: Moved ...
27697 * sysdeps/posix/utime.c: ... here.
27698
27699 * sysdeps/unix/time.c: Moved ...
27700 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27701 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27702 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27703
27704 * sysdeps/unix/nice.c: Moved ...
27705 * sysdeps/posix/nice.c: ... here.
27706
27707 * sysdeps/unix/alarm.c: Moved ...
27708 * sysdeps/posix/alarm.c: ... here.
27709
3bd9e993
RM
27710 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27711
d1f09384
JL
277122012-08-17 Jeff Law <law@redhat.com>
27713
27714 * intl/Makefile (codeset_mo): New variable.
27715 ($(codeset_mo)): New target.
27716 (tst-codeset.out): Depend on that. Remove explicit rule.
27717 (tst-gettext3.out, tst-gettext5.out): Likewise.
27718 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27719 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27720 * intl/tst-codeset.sh: Remove.
27721 * intl/tst-gettext3.sh: Likewise.
27722 * intl/tst-gettext5.sh: Likewise.
27723
2ae1ae5c
RM
277242012-08-17 Roland McGrath <roland@hack.frob.com>
27725
c31fdb83
RM
27726 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27727 * sysdeps/unix/syscalls.list: ... here.
27728
a0844057
RM
27729 * sysdeps/posix/getaddrinfo.c
27730 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27731 (gaiconf_init, gaiconf_reload): Use them.
27732 [!_STATBUF_ST_NSEC]
27733 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27734 Define using time_t rather than struct timespec.
27735
750c1f2a
RM
27736 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27737 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27738 Macros removed.
27739 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27740 [!NO_THREADS].
27741 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27742 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27743 Likewise.
27744
2ae1ae5c
RM
27745 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27746 __libc_cleanup_push argument.
27747
e66a42f5
RM
27748 * bits/param.h: New file.
27749 * misc/sys/param.h: New file.
27750 * include/sys/param.h: New file.
27751 * misc/Makefile (headers): Add bits/param.h.
27752 * sysdeps/generic/sys/param.h: File removed.
27753 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27754 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27755 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27756 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27757
b7c08a66
RM
27758 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27759 last change.
27760
b2e1c562
RM
27761 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27762 [_IO_MTSAFE_IO].
27763 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27764 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27765 New macros.
27766
c75ccd4c
RM
27767 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27768 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27769 rather than -D_IO_MTSAFE_IO conditionally.
27770 * stdio-common/Makefile (CPPFLAGS): Likewise.
27771 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27772 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27773 Use $(libio-mtsafe).
27774 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27775 of -D_IO_MTSAFE_IO.
27776 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27777 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27778 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27779 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27780 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27781 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27782 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27783 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27784 (CFLAGS-fread_u_chk.c): Likewise.
27785 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27786 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27787 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27788 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27789 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27790 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27791 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27792 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27793 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27794
27795 * libio/Makefile: Test [$(libc-reentrant) = yes]
27796 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27797
27798 * Makeconfig
27799 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27800 * sysdeps/pthread/configure: File removed.
27801 * sysdeps/pthread/Makeconfig: New file.
27802 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27803 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27804
d9195db8
GB
278052012-08-16 Gary Benson <gbenson@redhat.com>
27806
27807 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27808 unmapping the first object in a namespace.
27809
86466cd9
RM
278102012-08-16 Roland McGrath <roland@hack.frob.com>
27811
27812 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27813 (__internal_setnetgrent): ... this. Add internal_function to
27814 definition. Add libc_hidden_def.
27815 (setnetgrent): Update caller.
27816 (internal_endnetgrent): Renamed to ...
27817 (__internal_endnetgrent): ... this. Add internal_function to
27818 definition. Add libc_hidden_def.
27819 (endnetgrent): Update caller.
27820 (internal_getnetgrent_r): Renamed to ...
27821 (__internal_getnetgrent_r): ... this. Add internal_function to
27822 definition. Add libc_hidden_def.
27823 (__getnetgrent_r): Update caller.
27824 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27825
c3c8283c
JM
278262012-08-16 Joseph Myers <joseph@codesourcery.com>
27827
27828 * stdlib/longlong.h: Update from GCC.
27829
db1ee0a8
RM
278302012-08-16 Roland McGrath <roland@hack.frob.com>
27831
27832 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27833 on _QL, which is set by umul_ppmm but never used.
27834 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27835 variables, which are set by GMP macros but never used.
27836 * stdio-common/_itowa.c (_itowa): Likewise.
27837 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27838 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27839
30f69637
CD
278402012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27841
27842 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27843 struct La_sh_regs is not constant.
27844 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27845 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27846 and struct La_sparc64_regs are not constant.
27847
93a78ac4
JM
278482012-08-16 Joseph Myers <joseph@codesourcery.com>
27849
27850 * sysdeps/unix/sysv/linux/kernel-features.h
27851 (__ASSUME_POSIX_TIMERS): Remove.
27852 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27853 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27854 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27855 Make code unconditional.
27856 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27857 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27858 Make code unconditional.
27859 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27860 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27861 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27862 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27863 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27864 Make code unconditional.
27865 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27866 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27867 (__libc_missing_posix_timers): Remove.
27868
dd924cd7
RM
278692012-08-15 Roland McGrath <roland@hack.frob.com>
27870
4b4f2771
RM
27871 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27872 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27873
601c888b
RM
27874 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27875
176790a7
RM
27876 * elf/dl-sym.c: Include <stdlib.h>.
27877
329bc018
RM
27878 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27879 constants, which avoids warnings in 32-bit builds.
27880
e04e272d
RM
27881 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27882 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27883
952bf94a
RM
27884 * misc/lseek.c: File moved to ...
27885 * io/lseek.c: ... here.
27886
7c99b50a
RM
27887 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27888
dd924cd7
RM
27889 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27890 shifting LEN more than 31 bits at once.
27891
b3f479a8
LD
278922012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27893
27894 [BZ #14195]
8c4ae0d4
RM
27895 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27896 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27897 * string/test-strncasecmp.c (check1): Renamed to...
27898 (bz12205): ...this.
27899 (bz14195): Add new testcase for two empty input strings and N > 0.
27900 (test_main): Call new testcase, adapt for renamed function.
27901
9c55864e
AJ
279022012-08-15 Andreas Jaeger <aj@suse.de>
27903
27904 [BZ #14090]
27905 * crypt/md5test2.c: New test, based on test supplied by Serge
27906 Belyshev <belyshev@depni.sinp.msu.ru>.
27907 * crypt/Makefile (xtests): Add md5test-giant..
27908 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27909
02dcb6c5
PE
279102012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27911
27912 [BZ #14090]
27913 * crypt/md5.c (md5_process_block): Don't assume the buffer
27914 length is less than 2**32.
27915 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27916 length is less than 2**64.
27917
a3f95dcc
RM
279182012-08-15 Roland McGrath <roland@hack.frob.com>
27919
be75d758
RM
27920 * string/str-two-way.h: Include <sys/param.h>.
27921 (MAX): Macro removed.
27922
7312ca90
RM
27923 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27924 Move #define and #undef of memmove to just before and after
27925 including <string.h>.
27926
9a0a5486
RM
27927 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27928 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27929 and after including <string.h>. Move declarations of
27930 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27931 to before #include "string/memmove.c".
27932
67cc348d
RM
27933 * include/dirent.h: Declare __getdirentries.
27934
a3f95dcc
RM
27935 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27936 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27937
ca98e171
MF
279382012-08-14 Mike Frysinger <vapier@gentoo.org>
27939
27940 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27941 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27942 * sysdeps/i386/configure: Regenerated.
27943 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27944 STABS_CURRENT_FILE, and STABS_FUN.
27945 (END): Remove call to STABS_FUN_END.
27946 (STABS_CURRENT_FILE1): Delete.
27947 (STABS_CURRENT_FILE): Likewise.
27948 (STABS_FUN): Likewise.
27949 (STABS_FUN_END): Likewise.
27950 (STABS_FUN2): Likewise.
27951 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27952 * sysdeps/x86_64/configure: Regenerated.
27953
5908bf46
RM
279542012-08-14 Roland McGrath <roland@hack.frob.com>
27955
27956 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27957 * elf/dl-lookup.c: Likewise.
5908bf46 27958
f2c05b9e
JM
279592012-08-14 Joseph Myers <joseph@codesourcery.com>
27960
27961 * sysdeps/unix/sysv/linux/kernel-features.h
27962 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27963 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27964 unconditionally.
27965 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27966 unconditionally.
27967 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27968 condition on __ASSUME_CLONE_THREAD_FLAGS.
27969
e11f5155
AJ
279702012-08-14 Andreas Jaeger <aj@suse.de>
27971
27972 * sysdeps/i386/fpu/libm-test-ulps: Update.
27973
51a9ba86
MK
279742012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27975
2fdd4f78
AJ
27976 * include/atomic.h (atomic_exchange_and_add): Split into ...
27977 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27978 New atomic macros.
51a9ba86 27979
ba6cba9e
MT
279802012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27981
27982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27983
42443a47
JL
279842012-08-13 Jeff Law <law@redhat.com>
27985
27986 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27987 null byte in the output string.
27988
121dce05
JM
279892012-08-10 Joseph Myers <joseph@codesourcery.com>
27990
27991 * sysdeps/unix/sysv/linux/kernel-features.h
27992 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27993 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27994 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27995 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27996 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27997 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27998 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27999
bf51f568
JL
280002012-08-09 Jeff Law <law@redhat.com>
28001
28002 [BZ #13939]
28003 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28004 When avoid_arena is set, don't retry in the that arena. Pick the
28005 next one, whatever it might be.
28006 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28007 (arena_lock): Pass in new parameter to arena_get2.
28008 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28009 arena_get2.
28010 (__libc_malloc): Unify retrying after main arena failure with
28011 __libc_memalign version.
28012 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28013
f85fa270
L
280142012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28015
28016 [BZ #14166]
28017 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28018 to __redirect_strstr.
28019 (__strstr_sse42): Use typeof __redirect_strstr.
28020 (__strstr_ia32): Likewise.
28021 (__libc_strstr): New prototype.
28022 (strstr): Renamed to ...
28023 (__libc_strstr): This.
28024 (strstr): New strong alias of __libc_strstr.
28025 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28026 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28027 __redirect_time.
28028 Include <time.h>.
28029 (__libc_time): New prototype.
28030 (time_ifunc): Replace time with __libc_time.
28031 (time): New strong alias and hidden definition of __libc_time.
28032 (__GI_time): Remove strong alias.
28033 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28034 Include <stddef.h>.
28035 (memmove): Redefined to __redirect_memmove.
28036 (__memmove_sse2): Use typeof __redirect_memmove.
28037 (__memmove_ssse3): Likewise.
28038 (__memmove_ssse3_back): Likewise.
28039 (__libc_memmove): New prototype.
28040 (memmove): Renamed to ...
28041 (__libc_memmove): This.
28042 (memmove): New strong alias of __libc_memmove.
28043
33b4a91e
MS
280442012-08-08 Mark Salter <msalter@redhat.com>
28045
28046 * elf/elf.h
28047 (R_MN10300_TLS_GD): Define.
28048 (R_MN10300_TLS_LD): Likewise.
28049 (R_MN10300_TLS_LDO): Likewise.
28050 (R_MN10300_TLS_GOTIE): Likewise.
28051 (R_MN10300_TLS_IE): Likewise.
28052 (R_MN10300_TLS_LE): Likewise.
28053 (R_MN10300_TLS_DTPMOD): Likewise.
28054 (R_MN10300_TLS_DTPOFF): Likewise.
28055 (R_MN10300_TLS_TPOFF): Likewise.
28056 (R_MN10300_SYM_DIFF): Likewise.
28057 (R_MN10300_ALIGN): Likewise.
28058 (R_MN10300_NUM): Update.
28059
b36137f1
JM
280602012-08-08 Joseph Myers <joseph@codesourcery.com>
28061
28062 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28063 Remove.
28064
cdd915fd
RM
280652012-08-08 Roland McGrath <roland@hack.frob.com>
28066
a2433aac
RM
28067 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28068
cdd915fd
RM
28069 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28070 sysdeps/unix -> sysdeps/posix move.
28071 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28072
bf9b740a
AM
280732012-08-07 Allan McRae <allan@archlinux.org>
28074
28075 [BZ #14303]
28076 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28077 (SUNOS_CPP): Likewise.
28078 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28079 not found.
28080 (open_input): Call CPP using execvp.
28081
93df14ee
JM
280822012-08-07 Joseph Myers <joseph@codesourcery.com>
28083
28084 * sysdeps/unix/sysv/linux/kernel-features.h
28085 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28086 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28087 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28088 (__ASSUME_WAITID_SYSCALL): Likewise.
28089 * sysdeps/unix/sysv/linux/dl-execstack.c
28090 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28091 code unconditional.
28092 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28093 conditional code.
28094 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28095 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28096 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28097 code.
28098 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28099 unconditional.
28100 [__ASSUME_WAITID_SYSCALL]: Likewise.
28101 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28102
d34689de
RM
281032012-08-07 Roland McGrath <roland@hack.frob.com>
28104
a281decc
RM
28105 * sysdeps/unix/closedir.c: Renamed to ...
28106 * sysdeps/posix/closedir.c: ... here.
28107 * sysdeps/unix/dirfd.c: Renamed to ...
28108 * sysdeps/posix/dirfd.c: ... here.
28109 * sysdeps/unix/dirstream.h: Renamed to ...
28110 * sysdeps/posix/dirstream.h: ... here.
28111 * sysdeps/unix/fdopendir.c: Renamed to ...
28112 * sysdeps/posix/fdopendir.c: ... here.
28113 * sysdeps/unix/opendir.c: Renamed to ...
28114 * sysdeps/posix/opendir.c: ... here.
28115 * sysdeps/unix/readdir.c: Renamed to ...
28116 * sysdeps/posix/readdir.c: ... here.
28117 * sysdeps/unix/readdir_r.c: Renamed to ...
28118 * sysdeps/posix/readdir_r.c: ... here.
28119 * sysdeps/unix/rewinddir.c: Renamed to ...
28120 * sysdeps/posix/rewinddir.c: ... here.
28121 * sysdeps/unix/seekdir.c: Renamed to ...
28122 * sysdeps/posix/seekdir.c: ... here.
28123 * sysdeps/unix/telldir.c: Renamed to ...
28124 * sysdeps/posix/telldir.c: ... here.
28125 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28126 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28127 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28128 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28129
22895b47
RM
28130 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28131 * bits/fcntl.h: ... here.
28132
707a53b6
RM
28133 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28134 not 0.
28135 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28136 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28137 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28138 (struct flock): Move l_start, l_len to the beginning.
28139 Use __pid_t for l_pid.
28140 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28141 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28142 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28143 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28144 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28145 [__USE_LARGEFILE64] (struct flock64): New type.
28146 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28147
f0bd3e25
RM
28148 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28149 * bits/dirent.h: ... here.
28150
d34689de
RM
28151 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28152 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28153
6dad2c06
JM
281542012-08-07 Joseph Myers <joseph@codesourcery.com>
28155
28156 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28157 Change from 2.6.0 to 2.6.16.
28158 * sysdeps/unix/sysv/linux/configure: Regenerated.
28159 * sysdeps/unix/sysv/linux/kernel-features.h
28160 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28161 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28162 version.
28163 (__ASSUME_UTIMES): Likewise.
28164 (__ASSUME_CLONE_STOPPED): Remove.
28165 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28166 architectures, not kernel version.
28167 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28168 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28169 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28170 (__ASSUME_WAITID_SYSCALL): Likewise.
28171 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28172 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28173 * README: State 2.6.16 as minimum Linux kernel version. Do not
28174 refer to older versions.
28175
03af9520
RM
281762012-08-06 Roland McGrath <roland@hack.frob.com>
28177
8e49df1d
RM
28178 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28179 Define alphasort64 as an alias.
28180 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28181 Define versionsort64 as an alias.
28182 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28183 Define scandir64 as an alias.
28184 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28185 Define scandirat64 as an alias.
28186 * dirent/alphasort64.c (alphasort64):
28187 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28188 * dirent/versionsort64.c: Likewise.
28189 * dirent/scandir64.c: Likewise.
28190 * dirent/scandirat64.c: Likewise.
28191 * sysdeps/wordsize-64/alphasort.c: File removed.
28192 * sysdeps/wordsize-64/alphasort64.c: File removed.
28193 * sysdeps/wordsize-64/scandir.c: File removed.
28194 * sysdeps/wordsize-64/scandir64.c: File removed.
28195 * sysdeps/wordsize-64/scandirat.c: File removed.
28196 * sysdeps/wordsize-64/scandirat64.c: File removed.
28197 * sysdeps/wordsize-64/versionsort.c: File removed.
28198 * sysdeps/wordsize-64/versionsort64.c: File removed.
28199 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28200 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28201 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28202 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28203 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28204 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28205 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28206 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28207
28208 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28209 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28210 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28211 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28212 [defined __arch64__ || defined __sparcv9]
28213 (__INO_T_MATCHES_INO64_T): New macro.
28214 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28215 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28216 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28217 * sysdeps/unix/sysv/linux/bits/dirent.h
28218 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28219 (_DIRENT_MATCHES_DIRENT64): New macro.
28220
03af9520
RM
28221 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28222 Define lockf64 as an alias.
28223 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28224 Define fseeko64 as an alias.
28225 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28226 Define ftello64 as an alias.
28227 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28228 Define _IO_fgetpos64 and fgetpos64 as aliases.
28229 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28230 Define _IO_fsetpos64 and fsetpos64 as aliases.
28231 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28232 Conditionalize body on this.
28233 * libio/fseeko64.c: Likewise.
28234 * libio/ftello64.c: Likewise.
28235 * libio/iofgetpos64.c: Likewise.
28236 * libio/iofsetpos64.c: Likewise.
28237 * sysdeps/wordsize-64/lockf.c: File removed.
28238 * sysdeps/wordsize-64/lockf64.c: File removed.
28239 * sysdeps/wordsize-64/fseeko.c: File removed.
28240 * sysdeps/wordsize-64/fseeko64.c: File removed.
28241 * sysdeps/wordsize-64/ftello.c: File removed.
28242 * sysdeps/wordsize-64/ftello64.c: File removed.
28243 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28244 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28245 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28246 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28247 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28248 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28249 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28250 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28251 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28252 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28253 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28254 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28255 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28256 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28257
28258 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28259 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28260 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28261 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28262 [defined __arch64__ || defined __sparcv9]
28263 (__OFF_T_MATCHES_OFF64_T): New macro.
28264 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28265 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28266 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28267 (__OFF_T_MATCHES_OFF64_T): New macro.
28268
c5757acd
L
282692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28270
28271 * stdlib/secure-getenv.c (__secure_getenv): Replace
28272 GLIBC_2_16 with GLIBC_2_17.
28273
3a31811e
L
282742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28275
28276 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28277 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28278
faa2bccb
DM
282792012-08-03 David S. Miller <davem@davemloft.net>
28280
28281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28282
85fe1997
JM
282832012-08-03 Joseph Myers <joseph@codesourcery.com>
28284
28285 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28286 Remove.
28287 (__ASSUME_CORRECT_SI_PID): Likewise.
28288 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28289 (__ASSUME_TMPFS_NAME): Likewise.
28290 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28291 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28292 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28293 (HAVE_AUX_SECURE): Make definition unconditional.
28294 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28295 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28296
4f75b7a0
RM
282972012-08-03 Roland McGrath <roland@hack.frob.com>
28298
28299 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28300 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28301 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28302 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28303 __eloop_threshold instead of SYMLOOP_MAX.
28304
28305 * sysdeps/generic/eloop-threshold.h: New file.
28306 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28307 of MAXSYMLINKS.
28308 * elf/chroot_canon.c (chroot_canon): Likewise.
28309
7aab07e4
JM
283102012-08-03 Joseph Myers <joseph@codesourcery.com>
28311
28312 [BZ #13717]
28313 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28314 Change to 2.6.0 everywhere.
28315 * sysdeps/unix/sysv/linux/configure: Regenerated.
28316 * sysdeps/unix/sysv/linux/kernel-features.h
28317 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28318 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28319 kernel versions.
28320 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28321 (__ASSUME_FUTEX_REQUEUE): Remove.
28322 (__ASSUME_STATFS64): Define unconditionally.
28323 (__ASSUME_AT_SECURE): Likewise.
28324 (__ASSUME_CORRECT_SI_PID): Likewise.
28325 (__ASSUME_TGKILL): Define without depending on kernel version for
28326 i386.
28327 (__ASSUME_UTIMES): Likewise.
28328 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28329 kernel version.
28330 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28331 (__ASSUME_TMPFS_NAME): Likewise.
28332 * README: Update reference to Linux kernel versions.
28333
b67e9372
MP
283342012-08-02 Marek Polacek <polacek@redhat.com>
28335
1f529f7d 28336 [BZ# 14150]
b67e9372
MP
28337 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28338 libc_cv_asm_type_prefix with %.
28339 * configure: Regenerated.
d2441631
RM
28340 * include/libc-symbols.h: Remove comment about
28341 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28342 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28343 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28344 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28345 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28346 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28347 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28348 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28349 * elf/tst-unique2mod1.c: Likewise.
28350 * elf/tst-unique1mod2.c: Likewise.
28351 * elf/tst-unique1mod1.c: Likewise.
28352 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28353 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28354 Replace ASM_TYPE_DIRECTIVE with .type.
28355 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28356 * sysdeps/i386/sysdep.h: Likewise.
28357 * sysdeps/x86_64/sysdep.h: Likewise.
28358 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28360 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28361 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28362 * sysdeps/powerpc/powerpc32/sysdep.h:
28363 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28364 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28365 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28366 * sysdeps/i386/fpu/e_powf.S: Likewise.
28367 * sysdeps/i386/fpu/e_expl.S: Likewise.
28368 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28369 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28370 * sysdeps/i386/fpu/e_pow.S: Likewise.
28371 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28372 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28373 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28374 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28375 * sysdeps/i386/fpu/e_log2.S: Likewise.
28376 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28377 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28378 * sysdeps/i386/fpu/e_powl.S: Likewise.
28379 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28380 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28381 * sysdeps/i386/fpu/e_logl.S: Likewise.
28382 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28383 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28384 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28385 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28386 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28387 * sysdeps/i386/fpu/e_log.S: Likewise.
28388 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28389 * sysdeps/i386/fpu/e_logf.S: Likewise.
28390 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28391 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28392 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28393 * sysdeps/i386/fpu/e_log10.S: Likewise.
28394 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28395 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28396 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28397 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28398 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28399 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28400 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28401 * sysdeps/i386/i686/strtok.S: Likewise.
28402 * sysdeps/i386/i386-mcount.S: Likewise.
28403 * sysdeps/i386/strtok.S: Likewise.
28404 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28405 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28406 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28407 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28408 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28409 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28410 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28411 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28412 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28413 * sysdeps/x86_64/_mcount.S: Likewise.
28414 * sysdeps/x86_64/strtok.S: Likewise.
28415 * sysdeps/sh/_mcount.S: Likewise.
28416
2747bf9a
RM
284172012-08-01 Roland McGrath <roland@hack.frob.com>
28418
28419 * libio/iofopen.c: Include <fcntl.h>.
28420 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28421 (_IO_fopen64, fopen64): Define as aliases.
28422 * libio/iofopen64.c: Include <fcntl.h>.
28423 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28424 Conditionalize body on this.
28425 * sysdeps/wordsize-64/iofopen.c: File removed.
28426 * sysdeps/wordsize-64/iofopen64.c: File removed.
28427
3fb791b8
MP
284282012-08-01 Marek Polacek <polacek@redhat.com>
28429
28430 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28431 Use dlfcn directly instead of a variable.
28432 (binfmt-subdir): Do not define.
28433 (dlfcn): Likewise.
28434
a9f1039f
JM
284352012-08-01 Joseph Myers <joseph@codesourcery.com>
28436
23bddc06
JM
28437 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28438 Remove all definitions.
28439 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28440 <kernel-features.h>.
28441 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28442 (miss_F_GETOWN_EX): Remove all definitions.
28443 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28444 macro definition.
28445 [!__ASSUME_FCNTL64]: Remove conditional code.
28446 [__ASSUME_FCNTL64]: Make code unconditional.
28447 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28448 <kernel-features.h>.
28449 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28450 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28451 (lockf64) [__NR_fcntl64]: Make code unconditional.
28452 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28453
a9f1039f
JM
28454 * sysdeps/unix/sysv/linux/kernel-features.h
28455 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28456 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28457 Make code unconditional.
28458 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28459 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28461 [__NR_vfork]: Make code unconditional.
28462 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28463 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28465 [__NR_vfork]: Make code unconditional.
28466 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28467 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28468
09c0ee5f
RM
284692012-08-01 Roland McGrath <roland@hack.frob.com>
28470
48aec5b9
RM
28471 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28472 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28473
cd97c966
RM
28474 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28475 Define mkstemp64 as an alias.
3f55550c
RM
28476 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28477 Define mkstemps64 as an alias.
cd97c966
RM
28478 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28479 Define mkostemp64 as an alias.
b8625cfc
RM
28480 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28481 Define mkostemps64 as an alias.
cd97c966
RM
28482 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28483 Conditionalize body on this.
28484 * misc/mkostemp64.c: Likewise.
b8625cfc 28485 * misc/mkostemps64.c: Likewise.
3f55550c 28486 * misc/mkstemps64.c: Likewise.
cd97c966
RM
28487 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28488 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28489 * sysdeps/wordsize-64/mkostemp.c: File removed.
28490 * sysdeps/wordsize-64/mkstemp.c: File removed.
28491 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28492 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28493 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28494 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28495
09c0ee5f
RM
28496 [BZ #14138]
28497 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28498 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28499 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28500 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28501
28502 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28503 compat_symbol macros from <shlib-compat.h> rather than the underlying
28504 default_symbol_version and symbol_version macros, so that DEFAULT
28505 lines in shlib-versions are respected.
28506 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28507
7e66ee51
FW
285082012-08-01 Florian Weimer <fweimer@redhat.com>
28509
28510 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28511 Declare with warn_unused_result.
28512 (setgid, setregid, setegid, setresgid): Likewise.
28513 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28514 Likewise.
28515 * WUR-REPORT: Remove set*id functions.
28516
d2a54255
PT
285172012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28518
28519 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28520
7ecdb005
RM
285212012-07-31 Roland McGrath <roland@hack.frob.com>
28522
b4180a5e 28523 [BZ #10191]
789bd351
RM
28524 * include/sys/socket.h (__libc_accept, __libc_accept4):
28525 Add attribute_hidden.
28526 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28527
40ce302d
RM
28528 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28529 use of PTR_MANGLE.
28530 * inet/getnetgrent_r.c (setup): Likewise.
28531
7ecdb005
RM
28532 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28533
e2eabb2c
DM
285342012-07-31 David S. Miller <davem@davemloft.net>
28535
28536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28537
d0419dbf
JM
285382012-07-31 Joseph Myers <joseph@codesourcery.com>
28539
28540 [BZ #13629]
28541 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28542 value between 1.0 and 2.0 and smaller part has absolute value less
28543 than 1.0.
28544 * math/s_clog10.c (__clog10): Likewise.
28545 * math/s_clog10f.c (__clog10f): Likewise.
28546 * math/s_clog10l.c (__clog10l): Likewise.
28547 * math/s_clogf.c (__clogf): Likewise.
28548 * math/s_clogl.c (__clogl): Likewise.
28549 * math/libm-test.inc (clog_test): Add more tests.
28550 (clog10_test): Likewise.
28551 * sysdeps/i386/fpu/libm-test-ulps: Update.
28552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28553
2bc13872
FW
285542012-07-31 Florian Weimer <fweimer@redhat.com>
28555
28556 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28557 Exit with zero in case no suitable GID is found, and write a
28558 message to standard error.
28559
bea9b193
RM
285602012-07-30 Roland McGrath <roland@hack.frob.com>
28561
28562 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28563 rather than to 1.
28564 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28565 (MAXPATHLEN): Removed.
28566 (NOGROUP, NODEV): New macros.
28567 (setbit, clrbit, isset, isclr): New macros.
28568 (howmany, roundup, powerof2): New macros.
28569 (DEV_BSIZE): New macro.
28570
28571 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28572 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28573
28574 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28575 definition on [!__NO_LONG_DOUBLE_MATH].
28576
28577 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28578 PTR_MANGLE and PTR_DEMANGLE.
28579
28580 * socket/accept4.c (accept4): Rename to __libc_accept4.
28581 Define accept4 as a weak alias.
28582
28583 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28584 on [_DIRENT_HAVE_D_TYPE].
28585 * io/ftw.c (ftw_dir): Likewise.
28586
28587 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28588
28589 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28590
28591 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28592 Use the BSD numbers rather than the arbitrary ones we had.
28593 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28594 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28595 (SIGXCPU, SIGXFSZ): New macros.
28596 (_NSIG): Now 32.
28597
28598 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28599 initializer on [_LIBC_REENTRANT].
28600
28601 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28602 definitions inside [_POSIX_MAPPED_FILES].
28603
28604 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28605
28606 * dirent/opendir.c: Include <fcntl.h>.
28607
28608 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28609 (__libc_getspecific): Likewise.
28610 (__libc_key_create): Likewise.
28611
28612 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28613 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28614 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28615 (tmpfile64): Define as alias.
28616 * sysdeps/wordsize-64/tmpfile.c: File removed.
28617 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28618 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28620
28621 * stdio-common/vfscanf.c: Include <stdbool.h>.
28622 * nss/makedb.c: Likewise.
28623 * stdio-common/_i18n_number.h: Likewise.
28624 * argp/argp-help.c: Likewise.
28625 * posix/wordexp.c: Likewise.
28626 * sysdeps/posix/spawni.c: Likewise.
28627 * nss/nss_files/files-initgroups.c: Likewise.
28628 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28629 * nss/nss_files/files-initgroups.c: Likewise.
28630 * nss/nss_db/db-netgrp.c: Likewise.
28631 * nss/nss_db/db-initgroups.c: Likewise.
28632 * io/fchmodat.c: Include <sys/stat.h>.
28633
28634 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28635 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28636
28637 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28638 [HAVE_MMAP].
28639
28640 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28641 Add multiple inclusion protection.
28642
e5abc686
DM
286432012-07-27 David S. Miller <davem@davemloft.net>
28644
28645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28646
815e6fa3
GB
286472012-07-27 Gary Benson <gbenson@redhat.com>
28648
28649 [BZ #14298]
28650 * elf/rtld.c: Include <stap-probe.h>.
28651 (dl_main): Added static probes "init_start" and "init_complete".
28652 * elf/dl-load.c: Include <stap-probe.h>.
28653 (lose): Take new parameter "nsid".
28654 Added static probe "map_failed".
28655 (_dl_map_object_from_fd): Pass namespace id to lose.
28656 Added static probe "map_start".
28657 (open_verify): Pass namespace id to lose.
28658 * elf/dl-open.c: Include <stap-probe.h>.
28659 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28660 and "reloc_complete".
28661 * elf/dl-close.c: Include <stap-probe.h>.
28662 (_dl_close_worker): Added static probes "unmap_start" and
28663 "unmap_complete".
28664 * elf/rtld-debugger-interface.txt: New file documenting the above.
28665
9f98c16c
RM
286662012-07-26 Roland McGrath <roland@hack.frob.com>
28667
28668 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28669 rather than a string variable.
28670 * sunrpc/rpc_main.c (h_output): Likewise.
28671 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28672
f3c22df3
PT
286732012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28674
28675 * inet/check_native.c: New file.
28676
3129cfc6
JM
286772012-07-26 Joseph Myers <joseph@codesourcery.com>
28678
da865e95
JM
28679 [BZ #13629]
28680 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28681 if larger part has absolute value 1.0.
28682 * math/s_clog10.c (__clog10): Likewise.
28683 * math/s_clog10f.c (__clog10f): Likewise.
28684 * math/s_clog10l.c (__clog10l): Likewise.
28685 * math/s_clogf.c (__clogf): Likewise.
28686 * math/s_clogl.c (__clogl): Likewise.
28687 * math/libm-test.inc (clog_test): Add more tests.
28688 (clog10_test): Likewise.
28689 * sysdeps/i386/fpu/libm-test-ulps: Update.
28690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28691
3129cfc6
JM
28692 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28693 (pltexit): Likewise.
28694 (La_regs): Likewise.
28695 (La_retval): Likewise.
28696 (int_retval): Likewise.
28697 Update #error for removed macros to refer only to definitions in
28698 tst-audit.h.
28699 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28700 macro.
28701 (pltexit): Likewise.
28702 (La_regs): Likewise.
28703 (La_retval): Likewise.
28704 (int_retval): Likewise.
28705 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28706 macro.
28707 (pltexit): Likewise.
28708 (La_regs): Likewise.
28709 (La_retval): Likewise.
28710 (int_retval): Likewise.
28711 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28712 macro.
28713 (pltexit): Likewise.
28714 (La_regs): Likewise.
28715 (La_retval): Likewise.
28716 (int_retval): Likewise.
28717 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28718 macro.
28719 (pltexit): Likewise.
28720 (La_regs): Likewise.
28721 (La_retval): Likewise.
28722 (int_retval): Likewise.
28723 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28724 macro.
28725 (pltexit): Likewise.
28726 (La_regs): Likewise.
28727 (La_retval): Likewise.
28728 (int_retval): Likewise.
28729 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28730 macro.
28731 (pltexit): Likewise.
28732 (La_regs): Likewise.
28733 (La_retval): Likewise.
28734 (int_retval): Likewise.
28735 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28736 macro definitions in tst-audit.h.
28737 * sysdeps/i386/tst-audit.h: New file.
28738 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28739 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28740 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28741 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28742 * sysdeps/sh/tst-audit.h: Likewise.
28743 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28744 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28745 * sysdeps/x86_64/tst-audit.h: Likewise.
28746
bfc07087
AJ
287472012-07-26 Andreas Jaeger <aj@suse.de>
28748
b1b2aaf8
AJ
28749 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28750 ptrace.
28751
28752 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28753 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28754 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28755 PTRACE_O_MASK.
28756 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28757 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28758 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28759
bfc07087
AJ
28760 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28761 value.
28762
28763 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28764 _sigsys.
28765 (si_call_addr, si_syscall, si_arch): Define new macro.
28766 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28767 _sigsys.
28768 (si_call_addr, si_syscall, si_arch): Define new marcro.
28769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28770 _sigsys.
28771 (si_call_addr, si_syscall, si_arch): Define new macro.
28772 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28773 _sigsys.
28774 (si_call_addr, si_syscall, si_arch): Define new macro.
28775
89b4b02f
JM
287762012-07-25 Joseph Myers <joseph@codesourcery.com>
28777
28778 [BZ #13717]
28779 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28780 Change to 2.4.21 where previously 2.4.1.
28781 * sysdeps/unix/sysv/linux/configure: Regenerated.
28782 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28783 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28784 Linux kernel version.
28785 (__ASSUME_STD_AUXV): Remove.
28786 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28787 kernel version.
28788 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28789 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28790 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28791 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28792 (__ASSUME_NETLINK_SUPPORT): Likewise.
28793 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28794 (__no_netlink_support): Remove conditional definition.
28795 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28796 Remove.
28797 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28798 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28799 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28800 (if_nameindex_ioctl): Remove.
28801 (if_nameindex_netlink): Do not handle __no_netlink_support.
28802 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28803 code.
28804 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28805 Remove conditional code.
28806 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28807 code.
28808 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28809 unconditional.
28810 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28811 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28812 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28813 Remove.
28814 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28815 [!__ASSUME_STD_AUXV]: Remove conditional code.
28816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28817 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28818 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28820 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28821 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28822 code.
28823 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28825 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28826 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28827 conditional code.
28828 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28830 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28831 code.
28832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28833 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28834 conditional code.
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28836 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28837 code unconditional.
28838 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28839 conditional code.
28840 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28841 unconditional.
28842 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28843 conditional code.
28844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28845 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28846 unconditional.
28847 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28848 conditional code.
28849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28850 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28851 code unconditional.
28852 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28853 conditional code.
28854 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28855 unconditional.
28856 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28857 conditional code.
28858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28859 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28860 code unconditional.
28861 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28862 conditional code.
28863 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28864 unconditional.
28865 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28866 conditional code.
28867
842a39cd
AS
288682012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28869
28870 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28871 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28872 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28873 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28874 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28875 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28876 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28877 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28878 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28879 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28880 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28881 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28882 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28883 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28884 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28885 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28886 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28887 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28888 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28890 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28891 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28892 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28893
84b3fd84
FW
288942012-07-25 Florian Weimer <fweimer@redhat.com>
28895
28896 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28897 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28898 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28899 Introduce __libc_secure_getenv.
0c7936d5
FW
28900 * stdlib/Versions (2.17): Add secure_getenv
28901 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28902 * stdlib/secure-getenv.c: Rename __secure_getenv to
28903 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28904 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28905 * stdlib/tst-secure-getenv.c: New.
28906 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28907 * manual/startup.texi (Environment Access): Document
28908 secure_getenv.
84b3fd84
FW
28909 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28910 __libc_secure_getenv.
28911 * inet/ruserpass.c (ruserpass): Likewise.
28912 * malloc/mtrace.c (mtrace): Likewise.
28913 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28914 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28915 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28916 * sysdeps/posix/tempname.c: Likewise. Evaluate
28917 HAVE_SECURE_GETENV.
28918 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28919 __secure_getenv to __libc_secure_getenv.
84b3fd84 28920 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28922 Likewise.
28923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28924 Likewise.
28925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28932
56e49b71
JM
289332012-07-25 Joseph Myers <joseph@codesourcery.com>
28934
28935 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28936 (struct La_i86_retval): Likewise.
28937 (struct La_x86_64_regs): Likewise.
28938 (struct La_x86_64_retval): Likewise.
28939 (struct La_x32_regs): Likewise.
28940 (struct La_x32_retval): Likewise.
28941 (struct La_ppc32_regs): Likewise.
28942 (struct La_ppc32_retval): Likewise.
28943 (struct La_ppc64_regs): Likewise.
28944 (struct La_ppc64_retval): Likewise.
28945 (struct La_sh_regs): Likewise.
28946 (struct La_sh_retval): Likewise.
28947 (struct La_s390_32_regs): Likewise.
28948 (struct La_s390_32_retval): Likewise.
28949 (struct La_s390_64_regs): Likewise.
28950 (struct La_s390_64_retval): Likewise.
28951 (struct La_sparc32_regs): Likewise.
28952 (struct La_sparc32_retval): Likewise.
28953 (struct La_sparc64_regs): Likewise.
28954 (struct La_sparc64_retval): Likewise.
28955 (struct audit_ifaces): Remove architecture-specific pltenter and
28956 pltexit members.
28957 * sysdeps/i386/ldsodefs.h: New file.
28958 * sysdeps/powerpc/ldsodefs.h: Likewise.
28959 * sysdeps/s390/ldsodefs.h: Likewise.
28960 * sysdeps/sh/ldsodefs.h: Likewise.
28961 * sysdeps/sparc/ldsodefs.h: Likewise.
28962 * sysdeps/x86_64/ldsodefs.h: Likewise.
28963
354691b7
MP
289642012-07-25 Marek Polacek <polacek@redhat.com>
28965
28966 [BZ #6808]
28967 * math/libm-test.inc (yn_test): Add another test.
28968 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28969 to ERANGE when the result is +-Inf.
28970 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28971 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28972 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28973 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28974
bf9e2071
JM
289752012-07-24 Joseph Myers <joseph@codesourcery.com>
28976
28977 * conform/data/time.h-data (NULL): Use macro-constant. Require
28978 equal to 0.
28979 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28980 clock_t.
28981 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28982
57633811
TS
289832012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28984
28985 * configure.in <sysdeps resolving>: Correct printing
28986 Implies_before.
28987 * configure: Regenerate.
28988
c23c33b0
TS
289892012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28990
28991 * math/w_ilogb.c: Include <limits.h>.
28992 * math/w_ilogbl.c: Likewise.
28993
b5982523
JM
289942012-07-20 Joseph Myers <joseph@codesourcery.com>
28995
28996 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28997 va_copy. Document allowing for unavailable va_copy only as
28998 pre-C99 compatibility.
28999 * manual/string.texi (Copying and Concatenation): Use va_copy
29000 instead of __va_copy in concat example.
29001
ac4ea442
PT
290022012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29003
29004 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29005 (__sendto): Use create_address_port. Initialize APORT and deallocate
29006 it if not null.
29007
f98eafbd
PT
29008 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29009 with O_NOLINK passed to __file_name_lookup.
29010
898c7aab
PT
29011 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29012 with O_NOLINK passed to __file_name_lookup.
29013
0ced335a
PT
29014 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29015 negative N or less than NGIDS.
29016
b3404dbd
PT
29017 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29018 type to string_t. Set ERANGE as errno and return it if NAME is not big
29019 enough. Use memcpy instead of strncpy.
29020
0f48659e
JM
290212012-07-20 Joseph Myers <joseph@codesourcery.com>
29022
29023 * elf/Makefile (check-data): Remove.
29024 (localplt.data): New vpath directive.
29025 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29026 instead of $(check-data).
29027 * scripts/data/localplt-generic.data: Move to ...
29028 * sysdeps/generic/localplt.data: ... here.
29029 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29030 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29031 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29033 ... here.
29034 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29036 ... here.
29037 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29039 ... here.
29040 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29042 ... here.
29043 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29045 ... here.
29046 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29048 ... here.
29049
d37cbdaa
AZ
290502012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29051
29052 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29053 PPC32 and PPC64 files.
29054 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29055 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29056
46f85fc2
AK
290572012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29058
29059 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29060 __makecontext_ret to ...
29061 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29062 ... here and call exit if uc_link is NULL. New file.
29063 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29064 __makecontext_ret.S.
29065 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29066 __makecontext_ret to ...
29067 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29068 ... here and call exit if uc_link is NULL. New file.
29069 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29070 __makecontext_ret.S.
29071
08f43f9b
AK
290722012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29073
29074 * elf/elf.h (R_390_IRELATIVE): New definition.
29075 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29076 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29077 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29078 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29079 (elf_machine_lazy_rel): Likewise.
29080 * sysdeps/s390/dl-irel.h: New file.
29081 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29082 * sysdeps/s390/s390-64/memset.S: New asm code.
29083 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29084 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29085 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29086 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29087 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29088 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29089 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29090 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29091 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29092 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29093 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29094 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29095 * sysdeps/s390/s390-32/memset.S: New asm code.
29096 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29097
3b05db33
MP
290982012-07-17 Marek Polacek <polacek@redhat.com>
29099
29100 [BZ #14349]
29101 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29102 * sysdeps/s390/s390-64/configure.in: Likewise.
29103 * sysdeps/sparc/configure.in: Likewise.
29104 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29105 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29106 * sysdeps/i386/configure.in: Likewise.
29107 * sysdeps/x86_64/configure.in: Likewise.
29108 * sysdeps/sh/configure.in: Likewise.
29109 * sysdeps/s390/s390-32/configure: Regenerated.
29110 * sysdeps/s390/s390-64/configure: Likewise.
29111 * sysdeps/x86_64/configure: Likewise.
29112 * sysdeps/sh/configure: Likewise.
29113 * sysdeps/powerpc/powerpc64/configure: Likewise.
29114 * sysdeps/powerpc/powerpc32/configure: Likewise.
29115 * sysdeps/sparc/configure: Likwise.
29116 * sysdeps/i386/configure: Likewise.
29117
a66877c6
MP
29118 * elf/dl-open.c: Comment fixes.
29119
cfc82fd8
JM
291202012-07-17 Joseph Myers <joseph@codesourcery.com>
29121
bd29910a
JM
29122 * Makefile [CXX] (check-data): Remove.
29123 [CXX] (c++-types.data): New vpath directive.
29124 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29125 vpath. Do not allow for C++ type data being missing.
29126 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29127 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29128 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29129 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29130 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29131 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29132 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29134 ... here.
29135 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29137 ... here.
29138 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29140 ... here.
29141 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29143 ... here.
29144 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29146 ... here.
29147 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29149 ... here.
29150 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29152 ... here.
29153 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29155
cfc82fd8
JM
29156 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29157 definitions to architecture-specific files.
29158 (TLS_IE): Likewise.
29159 (TLS_LD): Likewise.
29160 (TLS_GD): Likewise.
29161 * sysdeps/i386/tls-macros.h: New file.
29162 * sysdeps/powerpc/tls-macros.h: Likewise.
29163 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29164 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29165 * sysdeps/sh/tls-macros.h: Likewise.
29166 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29167 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29168 * sysdeps/x86_64/tls-macros.h: Likewise.
29169
f7db3170
TS
291702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29171
07cbfc23
TS
29172 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29173 zero value for regular exit case.
29174
f7db3170
TS
29175 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29176 (__start_context): Preserve zero value for regular exit case.
29177
dc97c227
TS
291782012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29179 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29180
29181 * manual/setjmp.texi (setcontext): Clarify normal process
29182 termination when uc_link is the null pointer.
29183 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29184 exit call.
29185
d0cd7d02
AS
291862012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29187
29188 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29189 preprocessor. Test for each exception mask separately.
29190
dd318934
AJ
291912012-07-16 Andreas Jaeger <aj@suse.de>
29192
29193 * po/ru.po: Update from translation team.
29194
8048311a
JM
291952012-07-15 Joseph Myers <joseph@codesourcery.com>
29196
29197 * conform/data/string.h-data (NULL): Use macro-constant. Require
29198 equal to 0.
29199 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29200 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29201 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29202 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29203 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29204
b637d46e
AJ
292052012-07-13 Andreas Jaeger <aj@suse.de>
29206
29207 * po/fr.po: Update from translation team.
29208
541428fe
MP
292092012-07-12 Marek Polacek <polacek@redhat.com>
29210
29211 [BZ #14173]
29212 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29213 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29214 loop condition.
29215
ec332e94
JM
292162012-07-12 Joseph Myers <joseph@codesourcery.com>
29217
29218 [BZ #13717]
29219 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29220 Change to 2.4.1 where previously 2.4.0.
29221 * sysdeps/unix/sysv/linux/configure: Regenerated.
29222 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29223 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29224 version.
29225 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29226 (__ASSUME_AT_CLKTCK): Remove.
29227 (__ASSUME_AT_PAGESIZE): Likewise.
29228 (__ASSUME_AT_XID): Likewise.
29229 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29230 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29231 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29232 unconditionally.
29233 (HAVE_AUX_PAGESIZE): Likewise.
29234 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29235 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29236 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29237
7b6e99be
JB
292382012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29239
29240 [BZ #14307]
29241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29242 the temporary buffer used to invoke __gethostbyname2_r,
29243 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29244 host_data / struct gaih_addrtuple.
29245 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29246 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29247 header file nss/nsswitch.h.
29248 * nss/nsswitch.h (global scope): Add definition of implementation
29249 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29250 resolv/nss_dns/dns-host.c).
29251
608404eb
AJ
292522012-07-11 Andreas Jaeger <aj@suse.de>
29253
29254 * po/fr.po: Update from translation team.
29255
71220aca
AJ
29256 * po/sv.po: Update from translation team
29257 * po/fr.po: Another update from translation team.
29258
28cfe843
AZ
292592012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29260
29261 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29262 for subnormals or multiply small sinh result by itself.
29263 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29265
6b90f981
DM
292662012-07-11 David S. Miller <davem@davemloft.net>
29267
29268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29269
c6825772
AS
292702012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29271
29272 [BZ #14347]
29273 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29274 (INTERNAL_MARK): Shift it here.
29275
7b8e0d49
MP
292762012-07-10 Marek Polacek <polacek@redhat.com>
29277
29278 [BZ #14151]
29279 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29280 libc_cv_asm_global_directive with .globl.
29281 * configure: Regenerated.
29282 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29283 with .globl.
29284 * sysdeps/i386/configure: Regenerated.
29285 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29286 with .globl.
29287 * sysdeps/x86_64/configure: Regenerated.
29288 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29289 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29290 * elf/tst-unique2mod2.c: Likewise.
29291 * elf/tst-unique2mod1.c: Likewise.
29292 * elf/tst-unique1mod2.c: Likewise.
29293 * elf/tst-unique1mod1.c: Likewise.
29294 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29295 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29296 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29297 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29298 * sysdeps/mach/sysdep.h: Likewise.
29299 * sysdeps/i386/sysdep.h: Likewise.
29300 * sysdeps/i386/i386-mcount.S: Likewise.
29301 * sysdeps/x86_64/_mcount.S: Likewise.
29302 * sysdeps/x86_64/sysdep.h: Likewise.
29303 * sysdeps/sh/_mcount.S: Likewise.
29304 * sysdeps/sh/sysdep.h: Likewise.
29305 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29306 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29307 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29308 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29309 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29310 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29311 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29312 * locale/localeinfo.h: Likewise.
29313 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29314 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29315
6c55cda3
RM
293162012-07-09 Roland McGrath <roland@hack.frob.com>
29317
29318 [BZ #14336]
29319 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29320 system".
29321 * manual/message.texi (The Uniforum approach): Likewise.
29322 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29323 (glibc iconv Implementation): Likewise.
29324
638a572e
JM
293252012-07-09 Joseph Myers <joseph@codesourcery.com>
29326
29327 [BZ #14337]
29328 * math/s_clog.c (__clog): Avoid scaling a value down where that
29329 could result in underflow.
29330 * math/s_clog10.c (__clog10): Likewise.
29331 * math/s_clog10f.c (__clog10f): Likewise.
29332 * math/s_clog10l.c (__clog10l): Likewise.
29333 * math/s_clogf.c (__clogf): Likewise.
29334 * math/s_clogl.c (__clogl): Likewise.
29335 * math/libm-test.inc (clog_test): Add more tests.
29336 (clog10_test): Likewise.
29337 * sysdeps/i386/fpu/libm-test-ulps: Update.
29338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29339
261f4859
AS
293402012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29341
0abaf3e4
AS
29342 [BZ #14283]
29343 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29344 by 7 not 8 to examine high bit of fractional part.
29345
261f4859
AS
29346 [BZ #14042]
29347 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29348 for call to __mcount_internal.
29349 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29350 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29351 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29352
f17ac40d
JM
293532012-07-06 Joseph Myers <joseph@codesourcery.com>
29354
9ad63c23
JM
29355 [BZ #14154]
29356 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29357 approximation for values within 0x1p-13f of an odd multiple of
29358 pi/4.
29359 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29360 exception. Add more tests.
29361 * sysdeps/i386/fpu/libm-test-ulps: Update.
29362
f17ac40d
JM
29363 [BZ #6778]
29364 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29365 inputs and return -1 for them. Do not check for +Inf in case not
29366 reachable for +Inf.
29367 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29368 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29369 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29370 and return -1 for them. Do not check for +Inf in case not
29371 reachable for +Inf.
29372 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29373 define.
29374 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29375 and return -1 for them. Do not check for +Inf in case not
29376 reachable for +Inf.
29377 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29378 spurious underflow.
29379 * sysdeps/i386/fpu/libm-test-ulps: Update.
29380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29381
fb21f89b
MF
293822012-07-06 Mike Frysinger <vapier@gentoo.org>
29383
29384 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29385
cdfe2c5e
JM
293862012-07-05 Joseph Myers <joseph@codesourcery.com>
29387
29388 [BZ #14157]
29389 [BZ #14331]
29390 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29391 could result in spurious underflow. Scale down values above
29392 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29393 * math/s_csqrtf.c (__csqrtf): Likewise.
29394 * math/s_csqrtl.c (__csqrtl): Likewise.
29395 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29396 spurious underflow.
29397 * sysdeps/i386/fpu/libm-test-ulps: Update.
29398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29399
70d35b67
AS
294002012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29401
704bc459
AS
29402 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29403 xopen-msg.sed.
29404 * catgets/xopen-msg.awk: New file.
29405 * catgets/xopen-msg.sed: Removed.
29406
70d35b67
AS
29407 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29408 po2text.sed.
29409 * intl/po2test.awk: New file.
29410 * intl/po2test.sed: Removed.
29411
ca61cf32
JM
294122012-07-04 Joseph Myers <joseph@codesourcery.com>
29413
29414 [BZ #14328]
29415 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29416 or multiply small sinh result by itself.
29417 * math/s_ctanf.c (__ctanf): Likewise.
29418 * math/s_ctanh.c (__ctanh): Likewise.
29419 * math/s_ctanhf.c (__ctanhf): Likewise.
29420 * math/s_ctanhl.c (__ctanhl): Likewise.
29421 * math/s_ctanl.c (__ctanl): Likewise.
29422 * math/libm-test.inc (ctan_test_tonearest): New function.
29423 (ctan_test_towardzero): Likewise.
29424 (ctan_test_downward): Likewise.
29425 (ctan_test_upward): Likewise.
29426 (ctanh_test_tonearest): Likewise.
29427 (ctanh_test_towardzero): Likewise.
29428 (ctanh_test_downward): Likewise.
29429 (ctanh_test_upward): Likewise.
29430 (main): Call these new functions.
29431 * sysdeps/i386/fpu/libm-test-ulps: Update.
29432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29433
ca48a46a
MF
294342012-07-03 Mike Frysinger <vapier@gentoo.org>
29435
29436 * .gitignore: Delete /ports entry.
29437
9d63d37d
AJ
294382012-07-03 Andreas Jaeger <aj@suse.de>
29439
29440 * po/bg.po: Update from translation team.
29441 * po/cs.po: Likewise.
29442 * po/de.po: Likewise.
29443 * po/hr.po: Likewise.
29444 * po/nl.pl: Likewise.
29445 * po/pl.po: Likewise.
29446 * po/vi.po: Likewise.
29447
370ca3d2
JM
294482012-07-03 Joseph Myers <joseph@codesourcery.com>
29449
95f5a9a8
JM
29450 * Makeconfig [!+link] (+link-before-libc): New variable.
29451 [!+link] (+link-after-libc): Likewise.
29452 [!+link] (+link-tests): Likewise.
29453 [!+link] (+link): Define in terms of $(+link-before-libc) and
29454 $(+link-after-libc).
29455 [!+link-static] (+link-static-before-libc): New variable.
29456 [!+link-static] (+link-static-after-libc): Likewise.
29457 [!+link-static] (+link-static-tests): Likewise.
29458 [!+link-static] (+link-static): Define in terms of
29459 $(+link-static-before-libc) and $(+link-static-after-libc).
29460 [build-shared] (link-libc-before-gnulib): New variable.
29461 [build-shared] (link-libc-tests): Likewise.
29462 [build-shared] (link-libc): Define in terms of
29463 $(link-libc-before-gnulib).
29464 [!build-shared] (link-libc-tests): New variable.
29465 (link-libc-static-tests): New variable.
29466 [!gnulib] (gnulib-arch): New variable.
29467 [!gnulib] (gnulib-tests): Likewise.
29468 [!gnulib] (static-gnulib-arch): Likewise.
29469 [!gnulib] (static-gnulib-tests): Likewise.
29470 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29471 Define with "=" instead of ":=".
29472 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29473 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29474 * Rules (binaries-all-notests): New variable.
29475 (binaries-all-tests): Likewise.
29476 (binaries-static-notests): Likewise.
29477 (binaries-static-tests): Likewise.
29478 (binaries-all): Define using $(binaries-all-notests) and
29479 $(binaries-all-tests).
29480 (binaries-static): Define using $(binaries-static-notests) and
29481 $(binaries-static-tests).
29482 (binaries-shared-tests): New variable.
29483 (binaries-shared-notests): Likewise.
29484 (binaries-shared): Remove variable.
29485 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29486 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29487 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29488 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29489 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29490 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29491 * elf/Makefile (sln-modules): New variable.
29492 (extra-objs): Add $(sln-modules:=.o).
29493 (ldconfig-modules): Add static-stubs.
29494 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29495 * elf/static-stubs.c: New file.
29496
7a845b2c
JM
29497 [BZ #14283]
29498 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29499 by 7 not 8 to examine high bit of fractional part. Use volatile
29500 variables when splitting into final array of floats if
29501 __FLT_EVAL_METHOD__ != 0.
29502 * math/libm-test.inc (cos_test): Add another test.
29503 (sin_test): Likewise.
29504 * sysdeps/i386/fpu/libm-test-ulps: Update.
29505
e2283f38
JM
29506 [BZ #14273]
29507 * math/libm-test.inc (cosh_test): Add more tests.
29508
370ca3d2
JM
29509 * version.h (RELEASE): Set to "development".
29510 (VERSION): Set to "2.16.90".
29511
ee9247c3
CD
295122012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29513
29514 * NEWS: Update copyright. Remove last-updated date.
29515 Mention math library bug fixes and timezone data changes.
29516 * README: Mention GNU/Hurd, x32, and HPPA support status.
29517
4648c381
TS
295182012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29519
29520 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29521
aac78a43
AJ
295222012-06-27 Andreas Jaeger <aj@suse.de>
29523
29524 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29525
ed3dbfad
AJ
295262012-06-25 Andreas Jaeger <aj@suse.de>
29527
29528 * sysdeps/s390/fpu/libm-test-ulps: Update.
29529
4d0ee855
AS
295302012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29531 Thomas Schwinge <thomas@codesourcery.com>
29532
29533 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29534 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29535 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29536 fanotify_mark.
29537
af1bce34
TS
295382012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29539
a9fa33ba
TS
29540 * sysdeps/mach/start.c: Remove file.
29541 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29542 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29543 * sysdeps/sh/init-first.c: Likewise.
29544
58f902b8
TS
29545 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29546 registers for frame unwinding purposes, add CFI directives.
29547 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29548 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29549 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29550 Likewise.
29551
1518f58b
TS
29552 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29553 __fortify_fail returning.
29554 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29555
db9b5059
TS
29556 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29557 sysdeps/sh/____longjmp_chk.S.
29558 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29559 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29560 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29561 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29562
967705fe
TS
29563 * sysdeps/sh/abort-instr.h: New file.
29564 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29565 process in case exit returns.
29566
a9def8c4
TS
29567 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29568 initialize the GOT register before use.
29569
2a649725
TS
29570 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29571 calculation of ARGC > 4.
29572
af1bce34
TS
29573 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29574 meaningful names to some local labels.
29575
d230f50a
KK
295762012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29577 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29578
29579 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29580 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29581 (__arch_compare_and_exchange_val_16_acq): Likewise.
29582 (__arch_compare_and_exchange_val_32_acq): Likewise.
29583 (atomic_exchange_and_add): Fix gUSA sequence.
29584 (atomic_add): Likewise.
29585 (atomic_add_negative): Likewise.
29586 (atomic_add_zero): Likewise.
29587 (atomic_bit_test_set): Likewise.
29588
0479b305
AS
295892012-06-22 Andreas Schwab <schwab@redhat.com>
29590
29591 [BZ #13579]
29592 * include/link.h (struct link_map): Add l_free_initfini.
29593 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29594 l_initfini.
29595 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29596 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29597 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29598 set.
29599
0e3933b9
CD
296002012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29601
29602 * configure.in: Use AC_LANG_SOURCE.
29603 * configure: Regenerate.
29604
4248b1b1
RM
296052012-06-22 Roland McGrath <roland@hack.frob.com>
29606
29607 * configure.in (libc_cv_localstatedir): New substituted variable.
29608 * configure: Regenerated.
29609 * config.make.in (localstatedir): New variable, substituted from
29610 libc_cv_localstatedir.
29611 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29612 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29613 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29614 * sysdeps/gnu/configure: Regenerated.
29615
006dd861
JL
296162012-06-21 Jeff Law <law@redhat.com>
29617
29618 [BZ #14277]
29619 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29620 free. Simplify list management for _LIBC case.
29621
79662d42
JM
296222012-06-21 Joseph Myers <joseph@codesourcery.com>
29623
b7abb4bf
JM
29624 [BZ #14273]
29625 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29626 Clear sign bit of 64-bit integer value before comparing against
29627 overflow value.
29628
79662d42
JM
29629 * sysdeps/mach/configure: Regenerated.
29630
1f150908
L
296312012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29632
29633 [BZ #14278]
29634 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29635
28363bbf
JL
296362012-06-21 Jeff Law <law@redhat.com>
29637
29638 [BZ #13882]
29639 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29640 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29641 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29642 * elf/dl-open.c (dl_open_worker): Likewise.
29643
09615db4
CD
296442012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29645
29646 * scripts/list-sources.sh: Scan PORTS for translations.
29647 * po/libc.pot: Regenerated.
29648
2174c6dd
AJ
296492012-06-21 Andreas Jaeger <aj@suse.de>
29650
29651 [BZ #12194]
29652 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29653 warning.
29654 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29655 * bits/byteswap-16.h (__bswap_16): Likewise.
29656 * bits/byteswap.h (__bswap_constant_16): Likewise.
29657
3ee947b1
L
296582012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29659
29660 [BZ #14117]
a2f34833
L
29661 * sysdeps/i386/fpu_control.h: Removed.
29662 * sysdeps/x86_64/fpu_control.h: Moved to ...
29663 * sysdeps/x86/fpu_control.h: Here.
29664
3ee947b1
L
29665 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29666 (_FPU_SETCW): Likewise.
29667
ed1825f8
L
296682012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29669
25f1282a
L
29670 [BZ #14117]
29671 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29672 * sysdeps/x86/fpu/bits/mathinline.h: This.
29673 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29674
ed1825f8
L
29675 [BZ #14050]
29676 [BZ #14117]
29677 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29678 functions if __x86_64__ is defined.
29679
36d54b74
CLT
296802012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29681
29682 * string/endian.h: Add !__ASSEMBLER__ condition for including
29683 conversion interfaces.
29684
10285c21
JM
296852012-06-15 Joseph Myers <joseph@codesourcery.com>
29686
29687 [BZ #14241]
29688 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29689 of ABS(x) in calculating zero to negative powers other than odd
29690 integers.
29691 * math/libm-test.inc (pow_test): Add more tests.
29692
06c5abbd
AJ
296932012-06-15 Andreas Jaeger <aj@suse.de>
29694
29695 * manual/contrib.texi (Contributors): Update entry of Liubov
29696 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29697 Machado Filho.
29698
a3aeac40
CH
296992012-06-15 Cyril Hrubis <metan@ucw.cz>
29700
29701 * string/string.h: Add __wur to GNU version of strerror_r.
29702
49bdf4c1
L
297032012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29704
29705 [BZ #14229]
29706 * string/Makefile (tests): Add tst-strtok_r.
29707 * string/tst-strtok_r.c: New file.
29708 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29709 RAX_LP/RDX_LP on SAVE_PTR.
29710
834f9b8d
RM
297112012-06-14 Roland McGrath <roland@hack.frob.com>
29712
29713 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29714
75fa1921
JM
297152012-06-14 Joseph Myers <joseph@codesourcery.com>
29716
29717 * libm_test.inc (csqrt_test): Allow more spurious underflow
29718 exceptions.
29719 (j0_test): Likewise.
29720 (j1_test): Likewise.
29721 (y0_test): Likewise.
29722 (y1_test): Likewise.
29723
771766df
CD
297242012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29725
29726 * po/Makefile (libc.pot): Use UTF-8 charset.
29727
ceb9e56b
PP
297282012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29729
29730 [BZ #14210]
29731 Suppress sign-conversion warning from FD_SET.
29732 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29733 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29734 not unsigned long int.
29735 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29736
ddb28975
L
297372012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29738
29739 [BZ #14050]
29740 [BZ #14117]
29741 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29742 __extern_always_inline instead of __extern_inline.
29743 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29744 (__signbit): Likewise.
29745 (__signbitl): Support C++ namespace.
29746 (lrintf): New inline function.
29747 (lrint): Likewise.
29748 (llrintf): Likewise.
29749 (llrint): Likewise.
29750 (fmaxf): Likewise.
29751 (fmax): Likewise.
29752 (fminf): Likewise.
29753 (fmin): Likewise.
29754 (rint): Likewise.
29755 (rintf): Likewise.
29756 (ceil): Likewise.
29757 (ceilf): Likewise.
29758 (floor): Likewise.
29759 (floorf): Likewise.
29760 (nearbyint): Likewise.
29761 (nearbyintf): Likewise.
29762
d7b4fb26
TS
297632012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29764
29765 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29766 non-default versions.
29767
eb55f5c2
RM
297682012-06-11 Roland McGrath <roland@hack.frob.com>
29769
29770 [BZ #14218]
29771 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29772
366af02c
TS
297732012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29774
99ff6e5c
TS
29775 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29776 (FE_UPWARD, FE_DOWNWARD): Don't define.
29777 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29778 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29779
366af02c
TS
29780 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29781 reading it.
29782 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29783 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29784
793ea851
KK
297852012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29786
29787 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29788 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29789 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29790 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29791
a728a38f
L
297922012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29793
29794 [BZ #14117]
c08010c7
L
29795 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29796 * sysdeps/i386/fpu/Implies: New file.
29797 * sysdeps/x86_64/fpu/Implies: Likewise.
29798 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29799 * sysdeps/x86/fpu/bits/fenv.h: This.
29800
a728a38f
L
29801 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29802 __SSE_MATH__.
29803
6e230d11
SP
298042012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29805
29806 [BZ #14134]
29807 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29808 character 0xffff that matches the last element of the
29809 conversion table.
29810
1b671feb
AZ
298112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29812
29813 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29814 fmodl commit.
29815
6043738b
AZ
298162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29817
29818 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29819 values higher than 25.6283.
29820
34ae0b32
AZ
298212012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29822
29823 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29824 subnormal exponent extraction and add some __builtin_expect.
29825 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29826 Fix for subnormal mantissa calculation.
29827
1214ec8f
MF
298282012-06-04 Mike Frysinger <vapier@gentoo.org>
29829
29830 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29831 cpu2 is -1 and errno is not ENOSYS.
29832
f3d1f93c
L
298332012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29834
29835 [BZ #14117]
0e4a3cd7
L
29836 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29837 * sysdeps/x86/bits/string.h: This.
29838 * sysdeps/x86_64/bits/string.h: Removed.
29839
6704c645
L
29840 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29841 if not compiling for x86-64, but compiling for >= i486.
29842
48495318
L
29843 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29844 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29845
14adcbfc
L
29846 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29847 New macro from Linux kernel 3.4.0.
29848 (FP_XSTATE_MAGIC2): Likewise.
29849 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29850 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29851 (struct _fpx_sw_bytes): New struct.
29852 (struct _xsave_hdr): Likewise.
29853 (struct _ymmh_state): Likewise.
29854 (struct _xstate): Likewise.
29855
68e408ab
L
29856 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29857 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29858 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29859 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29860 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29861 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29862
f3d1f93c
L
29863 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29864 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29865 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29866 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29867 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29868 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29869
d9dc34cd
TMQMF
298702012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29871
29872 [BZ #13743]
29873 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29874 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29875 (sysdep_headers): Include sys/platform/ppc.h.
29876 * sysdeps/powerpc/test-gettimebase.c: Test for
29877 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29878 * manual/Makefile (appendices): Include platform.texi.
29879 * manual/contrib.texi (Contributors): Update @node pointers.
29880 * manual/maint.texi (Maintenance): Likewise.
29881 (Platform): New node.
29882 * manual/platform.texi: New file. Document the new features.
29883
4af3879c
SP
298842012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29885 Jakub Jelinek <jakub@redhat.com>
29886
29887 [BZ #14188]
29888 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29889 where __builtin_expect is unavailable.
29890
2fd6ff13
DM
298912012-06-03 David S. Miller <davem@davemloft.net>
29892
29893 * stdlib/longlong.h: Updated from GCC.
29894
173f7220
AS
298952012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29896
29897 [BZ #14042]
29898 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29899 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29900 __mcount_internal.
29901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29902 (GLIBC_2.16): Likewise.
29903
f34a1c6f
L
299042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29905
29906 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29907
88a4576f
JM
299082012-06-01 Joseph Myers <joseph@codesourcery.com>
29909
ea32bcdd
JM
29910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29911 (default-abi): New variable.
29912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29913 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29914 variable.
29915 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29916 Likewise.
29917 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29918 Likewise.
29919 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29920 Likewise.
29921
88a4576f
JM
29922 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29923 definition. Document in comment.
29924
402fe938
DM
299252012-06-01 David S. Miller <davem@davemloft.net>
29926
29927 * stdlib/longlong.h: Updated from GCC.
29928
3553723f
L
299292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29930
29931 [BZ #14117]
3bd872c4
L
29932 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29933 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29934 sys/debugreg.h sys/io.h here.
29935 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29936 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29937 sys/io.h.
29938 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29939 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29940 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29941 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29942 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29943 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29944
3553723f
L
29945 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29946 Define only if __x86_64__ is defined.
29947
4842e4fe
JM
299482012-06-01 Joseph Myers <joseph@codesourcery.com>
29949
c5bfe3d5
JM
29950 [BZ #14048]
29951 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29952 Use int64_t for variable i.
29953 * math/libm-test.inc (fmod_test): Add more tests.
29954
4842e4fe
JM
29955 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29956 z computation is not scheduled after fetestexcept.
29957 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29958 Use math_force_eval instead of asm to ensure calculation scheduled
29959 before exception test.
29960 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29961 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29962
efb73488
AJ
299632012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29964
29965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29966 computation is not scheduled after fetestexcept.
29967
29bcce7c
L
299682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29969
29970 [BZ #14117]
29971 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29972 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29973
73a68f94
AZ
299742012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29975
29976 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29977 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29978
67b6df78
L
299792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29980
edf2933a 29981 [BZ #14117]
ebc64a18
L
29982 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29983 <bits/wordsize.h>.
29984 (__WCHAR_MIN): Support __WORDSIZE == 64.
29985 (__WCHAR_MAX): Likewise.
29986
edf2933a
L
29987 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29988 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29989
57c6cf40
L
29990 [BZ #14183]
29991 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29992 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29993
67b6df78 29994 [BZ #14117]
8eb6281e
L
29995 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29996 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29997
aac639f4
L
29998 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29999 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30000
67b6df78
L
30001 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30002 Defined to 1 if __x86_64__ isn't defined.
30003 (_STAT_VER_LINUX_OLD): New.
30004 (st_atime): Remove duplicate.
30005 (st_mtime): Likewise.
30006 (st_ctime): Likewise.
30007
1c2cfe81
DM
300082012-05-31 David S. Miller <davem@davemloft.net>
30009
30010 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30011 entries.
30012
5be8418c
AS
300132012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30014
e7725326
AS
30015 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30016 gen-libm-test.pl.
30017
5be8418c
AS
30018 [BZ #14132]
30019 * elf/dl-reloc.c: Include <_itoa.h>.
30020 (_dl_reloc_bad_type): Remove use of INTUSE.
30021 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30022 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30023 * stdio-common/psiginfo.c (psiginfo): Likewise.
30024 * stdio-common/psignal.c (psignal): Likewise.
30025 * string/strsignal.c (strsignal): Likewise.
30026 * include/signal.h (_sys_siglist): Declare hidden proto.
30027 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30028 INTVARDEF with libc_hidden_data_def.
30029 * stdio-common/itoa-udigits.c: Likewise.
30030 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30031 (_itoa_lower_digits_internal): Remove declaration.
30032 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30033 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30034 (_sys_sigabbrev_internal): Remove aliases.
30035 (_sys_siglist): Define hidden alias.
30036
507352f1
MT
300372012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30038
30039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30040 bits/sysctl.h.
30041
42bbb1c3
L
300422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30043
30044 [BZ #14117]
6bd784b6
L
30045 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30046 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30047
8bca20f0
L
30048 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30049 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30050 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30051 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30052 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30053 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30054
f9e890a9
L
30055 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30056 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30057 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30058
471101a1
L
30059 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30060 with __addr.
30061 (insw): Likewise.
30062 (insl): Likewise.
30063 (outsb): Likewise.
30064 (outsw): Likewise.
30065 (outsl): Likewise.
30066
6451c862
L
30067 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30068 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30069 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30070
a254b8c9
L
30071 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30072 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30073 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30074 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30075 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30076 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30077
b8dfdd92
L
30078 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30079 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30080
578cd270
L
30081 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30082 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30083
de662f5f
L
30084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30086 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30087
25653439
L
30088 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30089 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30090 to ...
30091 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30092
6bad24a0
L
30093 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30094 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30095 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30096
42bbb1c3
L
30097 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30098 for x86-64.
30099 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30100
2d10d547
JM
301012012-05-31 Joseph Myers <joseph@codesourcery.com>
30102
30103 * math/math.h (M_El): Use two more decimal places.
30104 (M_LOG2El): Likewise.
30105 (M_LOG10El): Likewise.
30106 (M_LN2l): Likewise.
30107 (M_LN10l): Likewise.
30108 (M_PIl): Likewise.
30109 (M_PI_2l): Likewise.
30110 (M_PI_4l): Likewise.
30111 (M_1_PIl): Likewise.
30112 (M_2_PIl): Likewise.
30113 (M_2_SQRTPIl): Likewise.
30114 (M_SQRT2l): Likewise.
30115 (M_SQRT1_2l): Likewise.
30116
f230c29b
DM
301172012-05-31 David S. Miller <davem@davemloft.net>
30118
30119 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30120 values between float registers.
30121 * sysdeps/sparc/sparc64/memset.S: Likewise.
30122 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30123
fed806c3
MF
301242012-05-31 Mike Frysinger <vapier@gentoo.org>
30125
30126 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30127 -D_FORTIFY_SOURCE=1.
30128 (CPPFLAGS-tst-longjmp_chk.c): Define.
30129 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30130 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30131 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30132 CFLAGS-tst-wchar-h.c.
30133
30917259
MP
301342012-05-31 Marek Polacek <polacek@redhat.com>
30135
30136 [BZ #14132]
30137 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30138 __endmntent_internal): Remove declaration.
30139 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30140 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30141 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30142
1c58d5dc
DM
301432012-05-30 David S. Miller <davem@davemloft.net>
30144
30145 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30146 (___Q_simulate_exceptions): Use real FP ops rather than writing
30147 into the %fsr.
30148 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30149 Likewise.
30150
7dc00e0d
L
301512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30152
30153 [BZ #14117]
0bd53985
L
30154 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30155 * sysdeps/x86/bits/xtitypes.h: This.
30156
3a257e66
L
30157 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30158 * sysdeps/x86/bits/wordsize.h: This.
30159
62f62904
L
30160 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30161 * sysdeps/x86/bits/huge_vall.h: This.
30162
404fe9d9
L
30163 * sysdeps/i386/bits/select.h: Removed.
30164 * sysdeps/x86_64/bits/select.h: Renamed to ...
30165 * sysdeps/x86/bits/select.h: This.
30166
d48d0446
L
30167 * sysdeps/i386/bits/setjmp.h: Removed.
30168 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30169 * sysdeps/x86/bits/setjmp.h: This.
30170
7dc00e0d
L
30171 * sysdeps/i386/bits/mathdef.h: Removed.
30172 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30173 * sysdeps/x86/bits/mathdef.h: This.
30174
03277f8f
AS
301752012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30176
30177 [BZ #14132]
30178 * include/sys/socket.h (__connect_internal)
30179 (__libc_sa_len_internal): Remove declaration.
30180 (__connect, __libc_sa_len): Declare hidden_proto.
30181 (SA_LEN): Remove use of INTUSE.
30182 * socket/connect.c: Add libc_hidden_def.
30183 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30184 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30185 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30186 alias.
30187 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30188 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30189 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30190 of adding _internal alias.
30191
13764867
L
301922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30193
30194 [BZ #14117]
6bd97696
L
30195 * sysdeps/i386/bits/link.h: Removed.
30196 * sysdeps/i386/bits/linkmap.h: Likewise.
30197 * sysdeps/x86_64/bits/link.h: Renamed to ...
30198 * sysdeps/x86/bits/link.h: This.
30199 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30200 * sysdeps/x86/bits/linkmap.h: This.
30201
f726f0bb
L
30202 * sysdeps/i386/bits/endian.h: Removed.
30203 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30204 * sysdeps/x86/bits/endian.h: This.
30205
13764867
L
30206 * sysdeps/i386/bits/byteswap.h: Removed.
30207 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30208 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30209 * sysdeps/x86/bits/byteswap.h: This.
30210 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30211 * sysdeps/x86/bits/byteswap-16.h: This.
30212 * sysdeps/i386/Implies: Add x86.
30213 * sysdeps/x86_64/Implies: Likewise.
30214
ae251b0b
DM
302152012-05-30 David S. Miller <davem@davemloft.net>
30216
30217 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30218 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30219 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30220 (FP_TRAPPING_EXCEPTIONS): Define.
30221 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30222 (FP_TRAPPING_EXCEPTIONS): Define.
30223 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30224 subnormals only when inexact has been signalled or underflow
30225 exceptions are enabled.
30226 (_FP_PACK_CANONICAL): Likewise.
30227
d5c90867
L
302282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30229
30230 [BZ #14183]
30231 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30232 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30233
63f1549e
RH
302342012-05-30 Richard Henderson <rth@twiddle.net>
30235
8d8f2279
RH
30236 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30237 with #ifndef NOT_IN_libc.
30238
63f1549e
RH
30239 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30240 marked to avoid plt entry.
30241
0ab0291b
L
302422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30243
30244 [BZ #14112]
30245 * Makeconfig (default-abi): New macro.
30246 (abi-includes): Likewise.
30247 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30248 $(abi-$(default-abi)-lib-soname) for soname if defined.
30249 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30250 abi-variants.
30251 * Makefile (installed-stubs): Likewise.
30252 * include/stubs-biarch.h: Removed.
30253 * scripts/lib-names.awk: Only handle one library at a time.
30254 * scripts/soversions.awk: Remove WORDSIZE support.
30255 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30256 entries.
30257 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30258 Removed.
30259 (syscall-list-default-condition): Likewise.
30260 (syscall-list-default-condition): Likewise.
30261 (syscall-list-includes): Likewise.
30262 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30263 syscall-list-* with abi-*. Handle undefined abi-variants.
30264 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30265 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30266 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30267 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30268 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30269 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30270 Removed.
30271 (syscall-list-32-options): Likewise.
30272 (syscall-list-32-condition): Likewise.
30273 (syscall-list-64-options): Likewise.
30274 (syscall-list-64-condition): Likewise.
30275 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30276 macro.
30277 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30278 Renamed to ...
30279 (abi-*): This.
30280 (abi-64-ld-soname): New macro.
30281 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30282 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30283 Renamed to ...
30284 (abi-*): This.
30285 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30286 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30287
4da0431d
JM
302882012-05-30 Joseph Myers <joseph@codesourcery.com>
30289
3a85279c
JM
30290 * sysdeps/unix/sysv/linux/kernel-features.h
30291 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30292 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30293 include <kernel-features.h>.
30294 [!__NR_ftruncate64]: Remove conditional code.
30295 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30296 [__NR_ftruncate64]: Make code unconditional.
30297 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30298 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30299 include <kernel-features.h>.
30300 [!__NR_ftruncate64]: Remove conditional code.
30301 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30302 [__NR_ftruncate64]: Make code unconditional.
30303 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30305 include <kernel-features.h>.
30306 [!__NR_ftruncate64]: Remove conditional code.
30307 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30308 [__NR_ftruncate64]: Make code unconditional.
30309 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30311 include <kernel-features.h>.
30312 [!__NR_ftruncate64]: Remove conditional code.
30313 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30314 [__NR_ftruncate64]: Make code unconditional.
30315 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30316
4da0431d
JM
30317 * configure.in (libc_cv_fpie): Weaken to a compile test using
30318 LIBC_TRY_CC_OPTION.
30319 * configure: Regenerated.
30320
11ef492c
AK
303212012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30322
30323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30327 Refreshed.
30328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30334 Refreshed.
30335
d66ef399
DM
303362012-05-27 David S. Miller <davem@davemloft.net>
30337
30338 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30339 (___Q_zero): New.
30340 (__Q_simulate_exceptions): Return void. Change to simulate
30341 exceptions by writing into the %fsr.
30342 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30343 (__Qp_handle_exceptions): Likewise.
30344 (numbers): Delete.
30345 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30346 __Qp_handle_exceptions.
30347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30348 __Qp_handle_exceptions.
30349 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30350 as unused and give dummy FP_RND_NEAREST initializer.
30351 (FP_INHIBIT_RESULTS): Define.
30352 (___Q_simulate_exceptions): Update declaration.
30353 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30354 formatting.
30355 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30356 as unused and give dummy FP_RND_NEAREST initializer.
30357 (__Qp_handle_exceptions): Update declaration.
30358 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30359 formatting.
30360
04fb54b5
TS
303612012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30362
30363 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30364 the temporary FPU control word.
30365 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30366 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30367 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30368 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30369 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30370 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30371 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30372 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30373 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30374 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30375 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30376
3f99608f
KK
303772012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30378
30379 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30380 fields.
30381
65a4de4e
CLT
303822012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30383
30384 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30385 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30386 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30387 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30388 Likewise.
30389 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30390 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30391 Likewise.
30392
15749d40
UD
303932012-05-27 Ulrich Drepper <drepper@gmail.com>
30394
30395 * po/h.po: Update from translation team.
30396
25dbcb27
AS
303972012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30398
3d3f8e55
AS
30399 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30400
25dbcb27
AS
30401 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30402 handling of denormals.
30403 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30404 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30405 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30406 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30407 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30408 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30410 Likewise.
30411
7ad47a80 304122012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30413
30414 [BZ #14152]
30415 * math/libm-test.inc (fma_test): Don't always expect underflow
30416 exception.
30417
9c6ea9fa
SP
304182012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30419
30420 [BZ #12416]
30421 * elf/tst-execstack.c: Include stackinfo.h.
30422 (do_test): Adjust test case to ensure that pthread_getattr_np
30423 behaviour remains the same after marking stack executable.
30424
a8239222
JM
304252012-05-25 Joseph Myers <joseph@codesourcery.com>
30426
30427 * sysdeps/unix/sysv/linux/kernel-features.h
30428 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30429 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30430 kernel-features.h.
30431 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30432 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30433 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30434 kernel-features.h.
30435 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30436 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30437
918b5606
L
304382012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30439
30440 * configure.in: Define the default includes to being none.
30441 * configure: Regenerated.
30442
3a097cc7
RM
304432012-05-25 Roland McGrath <roland@hack.frob.com>
30444
8422c9a5
RM
30445 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30446 * sysdeps/x86_64/setjmp.S: Likewise.
30447 * sysdeps/i386/bsd-setjmp.S: Likewise.
30448 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30449 * sysdeps/i386/setjmp.S: Likewise.
30450 * sysdeps/i386/__longjmp.S: Likewise.
30451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30452 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30453
3a097cc7
RM
30454 * include/stap-probe.h: New file.
30455 * configure.in: Handle --enable-systemtap.
30456 * configure: Regenerated.
30457 * config.h.in (USE_STAP_PROBE): New #undef.
30458 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30459 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30460 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30461
21708942
JM
304622012-05-25 Joseph Myers <joseph@codesourcery.com>
30463
30464 [BZ #13717]
30465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30466 to 2.4.0 where earlier.
30467 * sysdeps/unix/sysv/linux/configure: Regenerated.
30468 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30469 <kernel-features.h>.
30470 [__ASSUME_32BITUIDS]: Make code unconditional.
30471 [!__ASSUME_32BITUIDS]: Remove conditional code.
30472 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30473 <kernel-features.h>.
30474 [__ASSUME_32BITUIDS]: Make code unconditional.
30475 [!__ASSUME_32BITUIDS]: Remove conditional code.
30476 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30477 [__ASSUME_32BITUIDS]: Make code unconditional.
30478 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30479 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30480 <kernel-features.h>.
30481 [__ASSUME_32BITUIDS]: Make code unconditional.
30482 [!__ASSUME_32BITUIDS]: Remove conditional code.
30483 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30484 <kernel-features.h>.
30485 [__ASSUME_32BITUIDS]: Make code unconditional.
30486 [!__ASSUME_32BITUIDS]: Remove conditional code.
30487 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30488 <kernel-features.h>.
30489 [__ASSUME_32BITUIDS]: Make code unconditional.
30490 [!__ASSUME_32BITUIDS]: Remove conditional code.
30491 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30492 <kernel-features.h>.
30493 [__ASSUME_32BITUIDS]: Make code unconditional.
30494 [!__ASSUME_32BITUIDS]: Remove conditional code.
30495 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30496 <kernel-features.h>.
30497 [__ASSUME_32BITUIDS]: Make code unconditional.
30498 [!__ASSUME_32BITUIDS]: Remove conditional code.
30499 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30500 <kernel-features.h>.
30501 [__ASSUME_32BITUIDS]: Make code unconditional.
30502 [!__ASSUME_32BITUIDS]: Remove conditional code.
30503 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30504 <kernel-features.h>.
30505 [__ASSUME_32BITUIDS]: Make code unconditional.
30506 [!__ASSUME_32BITUIDS]: Remove conditional code.
30507 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30508 <kernel-features.h>.
30509 [__ASSUME_32BITUIDS]: Make code unconditional.
30510 [!__ASSUME_32BITUIDS]: Remove conditional code.
30511 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30512 <kernel-features.h>.
30513 [__ASSUME_32BITUIDS]: Make code unconditional.
30514 [!__ASSUME_32BITUIDS]: Remove conditional code.
30515 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30516 <kernel-features.h>.
30517 [__ASSUME_32BITUIDS]: Make code unconditional.
30518 [!__ASSUME_32BITUIDS]: Remove conditional code.
30519 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30520 <kernel-features.h>.
30521 [__NR_setresgid] (__setresgid): Do not declare.
30522 [__ASSUME_32BITUIDS]: Make code unconditional.
30523 [!__ASSUME_32BITUIDS]: Remove conditional code.
30524 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30525 <kernel-features.h>.
30526 [__NR_setresuid] (__setresuid): Do not declare.
30527 [__ASSUME_32BITUIDS]: Make code unconditional.
30528 [!__ASSUME_32BITUIDS]: Remove conditional code.
30529 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.c: Do not include
30546 <kernel-features.h>.
30547 [__ASSUME_32BITUIDS]: Make code unconditional.
30548 [!__ASSUME_32BITUIDS]: Remove conditional code.
30549 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30550 <kernel-features.h>.
30551 [__ASSUME_32BITUIDS]: Make code unconditional.
30552 [!__ASSUME_32BITUIDS]: Remove conditional code.
30553 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30554 <kernel-features.h>.
30555 [__ASSUME_32BITUIDS]: Make code unconditional.
30556 [!__ASSUME_32BITUIDS]: Remove conditional code.
30557 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30558 <kernel-features.h>.
30559 [__ASSUME_32BITUIDS]: Make code unconditional.
30560 [!__ASSUME_32BITUIDS]: Remove conditional code.
30561 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30562 <kernel-features.h>.
30563 [__ASSUME_32BITUIDS]: Make code unconditional.
30564 [!__ASSUME_32BITUIDS]: Remove conditional code.
30565 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30566 <kernel-features.h>.
30567 [__ASSUME_32BITUIDS]: Make code unconditional.
30568 [!__ASSUME_32BITUIDS]: Remove conditional code.
30569 * sysdeps/unix/sysv/linux/kernel-features.h
30570 (__ASSUME_SETRESUID_SYSCALL): Remove.
30571 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30572 (__ASSUME_32BITUIDS): Likewise.
30573 (__ASSUME_LDT_WORKS): Likewise.
30574 (__ASSUME_O_DIRECTORY): Likewise.
30575 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30576 architecture but not kernel version.
30577 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30578 (__ASSUME_MMAP2_SYSCALL): Likewise.
30579 (__ASSUME_STAT64_SYSCALL): Likewise.
30580 (__ASSUME_IPC64): Likewise.
30581 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30582 <kernel-features.h>.
30583 [__ASSUME_32BITUIDS]: Make code unconditional.
30584 [!__ASSUME_32BITUIDS]: Remove conditional code.
30585 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30586 <kernel-features.h>.
30587 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30588 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30589 132096]: Remove conditional code.
30590 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30591 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
30596 <kernel-features.h>.
30597 [__ASSUME_32BITUIDS]: Make code unconditional.
30598 [!__ASSUME_32BITUIDS]: Remove conditional code.
30599 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30600 <kernel-features.h>.
30601 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30602 unconditional.
30603 (__setresgid): Do not declare.
30604 [__ASSUME_32BITUIDS]: Make code unconditional.
30605 [!__ASSUME_32BITUIDS]: Remove conditional code.
30606 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30607 <kernel-features.h>.
30608 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30609 unconditional.
30610 (__setresuid): Do not declare.
30611 [__ASSUME_32BITUIDS]: Make code unconditional.
30612 [!__ASSUME_32BITUIDS]: Remove conditional code.
30613 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30614 <kernel-features.h>.
30615 [__ASSUME_32BITUIDS]: Make code unconditional.
30616 [!__ASSUME_32BITUIDS]: Remove conditional code.
30617 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30618 <kernel-features.h>.
30619 [__ASSUME_32BITUIDS]: Make code unconditional.
30620 [!__ASSUME_32BITUIDS]: Remove conditional code.
30621
a386f1cc
RH
306222012-05-25 Richard Henderson <rth@twiddle.net>
30623
30624 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30625 dl_hwcap to ifunc resolver.
30626 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30627 elf_ifunc_invoke.
30628 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30629 dl_hwcap to ifunc resolver.
30630 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30631
b6550497
JM
306322012-05-24 Joseph Myers <joseph@codesourcery.com>
30633
30634 [BZ #14153]
30635 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30636 for |x| <= 2**-26, not 2**-57.
30637 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30638 exception.
30639
b0bc23a1
JL
306402012-05-24 Jeff Law <law@redhat.com>
30641
30642 * stdio-common/Makefile (tests): Add bug25.
30643 * stdio-common/bug25.c: New test.
30644
347c92e9
L
306452012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30646
30647 [BZ #13576]
30648 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30649 multiple of MALLOC_ALIGNMENT in size.
30650 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30651
6bcc8b3f
JM
306522012-05-24 Joseph Myers <joseph@codesourcery.com>
30653
30654 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30655 Require >= 256.
30656 (FILENAME_MAX): Use macro-int-constant.
30657 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30658 (_IOFBF): Use macro-int-constant.
30659 (_IOLBF): Likewise.
30660 (_IONBF): Likewise.
30661 (SEEK_CUR): Likewise.
30662 (SEEK_END): Likewise.
30663 (SEEK_SET): Likewise.
30664 (TMP_MAX): Likewise.
30665 (EOF): Use macro-int-constant. Require < 0.
30666 (NULL): Use macro-constant. Require == 0.
30667 (stdin): Require type to be FILE *.
30668 (stdout): Likewise.
30669 (stderr): Likewise.
30670 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30671 macro-int-constant.
30672 (EXIT_SUCCESS): Likewise.
30673 (NULL): Use macro-constant. Require == 0.
30674 (RAND_MAX): Use macro-int-constant.
30675 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30676 [C99-based standards] (strtof): Require function.
30677 [C99-based standards] (strtold): Likewise.
30678 [C99-based standards] (strtoll): Likewise.
30679 [C99-based standards] (strtoull): Likewise.
30680 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30681 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30682 [ISO || ISO99 || ISO11] (math.h): Likewise.
30683 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30684 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30685 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30686
d18ea0c5
AS
306872012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30688
30689 [BZ #14132]
56d25bb8
AS
30690 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30691 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30692 * intl/dgettext.c (DCGETTEXT): Likewise.
30693 * intl/gettext.c (DCGETTEXT): Likewise.
30694 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30695 * posix/regex_internal.h (gettext): Likewise.
30696 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30697 Remove declaration.
30698 * include/argz.h (__argz_count_internal)
30699 (__argz_stringify_internal): Remove declaration.
30700 (__argz_count, __argz_stringify): Declare hidden proto.
30701 * intl/dcgettext.c: Remove use of INTDEF.
30702 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30703 * string/argz-stringify.c: Likewise.
30704 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30705 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30706 Declare hidden proto.
d18ea0c5
AS
30707 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30708 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30709 Declare hidden proto.
30710 * include/stdio.h (__asprintf_internal): Don't declare.
30711 (__asprintf): Don't define as macro. Declare hidden proto.
30712 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30713 (__fsetlocking): Declare hidden proto.
30714 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30715 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30716 hidden proto.
30717 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30718 (_IO_setlinebuf): Remove use of INTUSE.
30719 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30720 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30721 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30722 Remove declaration.
30723 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30724 (_IO_do_flush): Remove use of INTUSE.
30725 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30726 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30727 (_IO_adjust_column, _IO_least_wmarker)
30728 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30729 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30730 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30731 (_IO_default_doallocate, _IO_wdefault_doallocate)
30732 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30733 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30734 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30735 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30736 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30737 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30738 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30739 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30740 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30741 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30742 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30743 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30744 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30745 proto.
30746 (_IO_flush_all_internal, _IO_adjust_column_internal)
30747 (_IO_default_uflow_internal, _IO_default_finish_internal)
30748 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30749 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30750 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30751 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30752 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30753 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30754 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30755 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30756 (_IO_file_close_internal, _IO_file_close_it_internal)
30757 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30758 (_IO_file_init_internal, _IO_file_attach_internal)
30759 (_IO_file_fopen_internal, _IO_file_read_internal)
30760 (_IO_file_sync_internal, _IO_file_seek_internal)
30761 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30762 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30763 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30764 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30765 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30766 (_IO_list_all_internal, _IO_link_in_internal)
30767 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30768 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30769 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30770 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30771 (_IO_do_write_internal, _IO_padn_internal)
30772 (_IO_getline_info_internal, _IO_getline_internal)
30773 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30774 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30775 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30776 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30777 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30778 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30779 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30780 with libc_hidden_ver, remove use of INTUSE.
30781 * libio/genops.c: Likewise.
30782 * libio/freopen.c: Likewise.
30783 * libio/freopen64.c: Likewise.
30784 * libio/iofclose.c: Likewise.
30785 * libio/iofdopen.c: Likewise.
30786 * libio/iofflush.c: Likewise.
30787 * libio/iofflush_u.c: Likewise.
30788 * libio/iofgets.c: Likewise.
30789 * libio/iofgets_u.c: Likewise.
30790 * libio/iofopen.c: Likewise.
30791 * libio/iofopncook.c: Likewise.
30792 * libio/iofread.c: Likewise.
30793 * libio/iofread_u.c: Likewise.
30794 * libio/ioftell.c: Likewise.
30795 * libio/iofwrite.c: Likewise.
30796 * libio/iogetline.c: Likewise.
30797 * libio/iogets.c: Likewise.
30798 * libio/iogetwline.c: Likewise.
30799 * libio/iopadn.c: Likewise.
30800 * libio/iopopen.c: Likewise.
30801 * libio/ioseekoff.c: Likewise.
30802 * libio/ioseekpos.c: Likewise.
30803 * libio/iosetbuffer.c: Likewise.
30804 * libio/iosetvbuf.c: Likewise.
30805 * libio/ioungetc.c: Likewise.
30806 * libio/ioungetwc.c: Likewise.
30807 * libio/iovdprintf.c: Likewise.
30808 * libio/iovsprintf.c: Likewise.
30809 * libio/iovsscanf.c: Likewise.
30810 * libio/memstream.c: Likewise.
30811 * libio/obprintf.c: Likewise.
30812 * libio/oldfileops.c: Likewise.
30813 * libio/oldiofclose.c: Likewise.
30814 * libio/oldiofdopen.c: Likewise.
30815 * libio/oldiofopen.c: Likewise.
30816 * libio/oldiopopen.c: Likewise.
30817 * libio/oldstdfiles.c: Likewise.
30818 * libio/putc.c: Likewise.
30819 * libio/setbuf.c: Likewise.
30820 * libio/setlinebuf.c: Likewise.
30821 * libio/stdfiles.c: Likewise.
30822 * libio/strops.c: Likewise.
30823 * libio/vasprintf.c: Likewise.
30824 * libio/vscanf.c: Likewise.
30825 * libio/vsnprintf.c: Likewise.
30826 * libio/vswprintf.c: Likewise.
30827 * libio/wfiledoalloc.c: Likewise.
30828 * libio/wfileops.c: Likewise.
30829 * libio/wgenops.c: Likewise.
30830 * libio/wmemstream.c: Likewise.
30831 * libio/wstrops.c: Likewise.
30832 * libio/__fpurge.c: Likewise.
30833 * libio/__fsetlocking.c: Likewise.
30834 * assert/assert.c: Likewise.
30835 * debug/fgets_chk.c: Likewise.
30836 * debug/fgets_u_chk.c: Likewise.
30837 * debug/fread_chk.c: Likewise.
30838 * debug/fread_u_chk.c: Likewise.
30839 * debug/gets_chk.c: Likewise.
30840 * debug/obprintf_chk.c: Likewise.
30841 * debug/vasprintf_chk.c: Likewise.
30842 * debug/vdprintf_chk.c: Likewise.
30843 * debug/vsnprintf_chk.c: Likewise.
30844 * debug/vsprintf_chk.c: Likewise.
30845 * malloc/mtrace.c: Likewise.
30846 * misc/error.c: Likewise.
30847 * misc/syslog.c: Likewise.
30848 * stdio-common/asprintf.c: Likewise.
30849 * stdio-common/fxprintf.c: Likewise.
30850 * stdio-common/getw.c: Likewise.
30851 * stdio-common/isoc99_fscanf.c: Likewise.
30852 * stdio-common/isoc99_scanf.c: Likewise.
30853 * stdio-common/isoc99_vfscanf.c: Likewise.
30854 * stdio-common/isoc99_vscanf.c: Likewise.
30855 * stdio-common/isoc99_vsscanf.c: Likewise.
30856 * stdio-common/printf-prs.c: Likewise.
30857 * stdio-common/printf_fp.c: Likewise.
30858 * stdio-common/printf_fphex.c: Likewise.
30859 * stdio-common/printf_size.c: Likewise.
30860 * stdio-common/putw.c: Likewise.
30861 * stdio-common/scanf.c: Likewise.
30862 * stdio-common/sprintf.c: Likewise.
30863 * stdio-common/tmpfile.c: Likewise.
30864 * stdio-common/vfprintf.c: Likewise.
30865 * stdio-common/vfscanf.c: Likewise.
30866 * stdlib/strfmon_l.c: Likewise.
30867 * sunrpc/openchild.c: Likewise.
30868 * sunrpc/xdr_stdio.c: Likewise.
30869 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30870 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30871
d6c33fda
RM
308722012-05-24 Roland McGrath <roland@hack.frob.com>
30873
c1487492
RM
30874 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30875
30876 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30877 in the third column, to generate for the shared library an IFUNC
30878 that uses _dl_vdso_vsym.
30879 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30880 * Makeconfig (object-suffixes-noshared): New variable.
30881
30882 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30883 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30884 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30885 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30886
d6c33fda
RM
30887 [BZ #14132]
30888 * include/sys/time.h (__gettimeofday): Remove macro.
30889 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30890 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30891 Remove INTDEF.
30892 (__gettimeofday): Add libc_hidden_def.
30893 (gettimeofday): Add libc_hidden_weak.
30894 * sysdeps/mach/gettimeofday.c: Likewise.
30895 * sysdeps/posix/gettimeofday.c: Likewise.
30896 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30897 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30899 (__gettimeofday_internal): Remove strong_alias.
30900 (__gettimeofday): Add libc_hidden_def.
30901 (gettimeofday): Add libc_hidden_weak.
30902 * sysdeps/unix/syscalls.list (gettimeofday):
30903 Remove __gettimeofday_internal alias.
30904
b5a2bbe6
L
309052012-05-24 Daniel Jacobowitz <drow@false.org>
30906 H.J. Lu <hongjiu.lu@intel.com>
30907
30908 [BZ #12495]
30909 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30910 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30911 (largebin_index_32_big): New.
30912 (largebin_index): Use it for 16-byte alignment.
30913 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30914 correction with front_misalign.
30915
cfba4fda
L
309162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30917
7f907421
L
30918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30920 Likewise.
30921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30922 Likewise.
30923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30924 Likewise.
30925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30926 Likewise.
30927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30928 Likewise.
30929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30930 Likewise.
30931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30932 Likewise.
30933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30934 Likewise.
30935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30936 Likewise.
30937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30938 Likewise.
30939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30940 Likewise.
30941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30942 Likewise.
30943
cfba4fda
L
30944 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30945 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30946
80bad0cc
JM
309472012-05-24 Joseph Myers <joseph@codesourcery.com>
30948
7a25eb06
JM
30949 [BZ #10846]
30950 [BZ #14036]
30951 * math/libm-test.inc (exp_test): Add test from bug 14036.
30952 (pow_test): Add test from bug 10846.
30953
795405f9
JM
30954 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30955 and other flags.
30956 (special_function): Do not include flags in test name.
30957 (parse_args): Likewise.
30958 * sysdeps/i386/fpu/libm-test-ulps: Update.
30959 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30960 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30961 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30963
80bad0cc
JM
30964 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30965 exceptions.
30966 * math/libm-test.inc ("Philosophy"): Update comment about
30967 exception testing.
30968 (UNDERFLOW_EXCEPTION): New macro.
30969 (UNDERFLOW_EXCEPTION_OK): Likewise.
30970 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30971 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30972 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30973 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30974 (INVALID_EXCEPTION_OK): Update value.
30975 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30976 (OVERFLOW_EXCEPTION_OK): Likewise.
30977 (IGNORE_ZERO_INF_SIGN): Likewise.
30978 (test_exceptions): Handle underflow exceptions.
30979 (acos_test): Update for underflow exception expectations.
30980 (cexp_test): Likewise.
30981 (clog_test): Likewise.
30982 (clog10_test): Likewise.
30983 (csqrt_test): Likewise.
30984 (ctan_test): Likewise.
30985 (ctanh_test): Likewise.
30986 (exp_test): Likewise.
30987 (exp10_test): Likewise.
30988 (exp2_test): Likewise.
30989 (expm1_test): Likewise.
30990 (fma_test): Likewise.
30991 (j0_test): Likewise.
30992 (jn_test): Likewise.
30993 (nexttoward_test): Likewise.
30994 (pow_test): Likewise.
30995 (scalbn_test): Likewise.
30996 (scalbln_test): Likewise.
30997 (tan_test): Likewise.
30998 (y1_test): Likewise.
30999 * sysdeps/i386/fpu/libm-test-ulps: Update.
31000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31001
9e0e3d0b
DM
310022012-05-23 David S. Miller <davem@davemloft.net>
31003
31004 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31005 (__libc_sigaction): Remove unused local variables.
31006
ccd0a08f
L
310072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31008
31009 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31010
62bdf9a6
PE
310112012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31012
f8591f80
PE
31013 mktime: avoid signed integer overflow
31014 * time/mktime.c (__mktime_internal): Do not mishandle the case
31015 where diff == INT_MIN.
31016
94c7d826
PE
31017 mktime: simplify computation of average
31018 * time/mktime.c (ranged_convert): Use new time_t_avg function
31019 instead of rolling our own (probably-slower) code.
31020
ce73d683
PE
31021 mktime: do not assume signed right shift propagates sign bit
31022 * time/mktime.c (isdst_differ): New static function.
31023 (__mktime_internal): No need to normalize tm_isdst now.
31024 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31025 tm_isdst values.
31026
72a22e59
PE
31027 mktime: merge another wrapv change from gnulib
31028 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31029 from some compilers.
31030
68605433
PE
31031 mktime: remove incorrect attempt at unusual arithmetics
31032 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31033 The code didn't really work on such machines anyway.
31034 (TYPE_MINIMUM): Assume two's complement.
31035 (twos_complement_arithmetic): Verify that long_int and time_t
31036 are two's complement (or unsigned, in the latter case).
31037
03cf7fe3
PE
31038 mktime: check signed shifts on long_int and time_t, too
31039 * time/mktime.c (SHR): Check that shifts work as desired
31040 on the types long_int and time_t too, as SHR is used on
31041 such types.
31042
f04dfbc2
PE
31043 mktime: do not assume 'long' is wide enough
31044 * time/mktime.c (verify): Move decl up.
31045 (long_int): New type.
31046 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31047 to remove assumption in the code that 'long' is wide enough to
31048 store year values. This assumption is not true on x32 and on
31049 some non-glibc platforms.
31050
62bdf9a6
PE
31051 mktime: merge wrapv change from gnulib
31052 * time/mktime.c (WRAPV): New macro.
31053 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31054 (guess_time_tm, __mktime_internal): Do not assume that signed
31055 integer overflow wraps around; modern compilers generate code
31056 where this assumption is no longer valid.
31057
5e292e4f
L
310582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31059
31060 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31061 Replace "jmp L(pseudo_end)" with "ret".
31062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31063 Likewise.
31064
8caf8c87
AJ
310652012-05-23 Andreas Jaeger <aj@suse.de>
31066
31067 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31068 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31069
1a09dc56
AJ
310702012-05-23 Andreas Jaeger <aj@suse.de>
31071 Maximilian Attems <max@stro.at>
31072
31073 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31074 New macros.
31075
1c87aba0
L
310762012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31077
31078 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31079 code so that pseudo_end is just ret and the stack pointer is
31080 correct also for static library in error case.
31081
40e45bd5
JM
310822012-05-23 Joseph Myers <joseph@codesourcery.com>
31083
c2670533
JM
31084 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31085 move to syscalls.list.
31086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31090
40e45bd5
JM
31091 * manual/install.texi (Running make install): Do not mention Linux
31092 kernel version for which pt_chown is not needed.
31093 (Linux): Do not mention problems with nscd with 2.0 kernels.
31094 * INSTALL: Regenerated.
31095
be08eda5
AJ
310962012-05-23 Andreas Jaeger <aj@suse.de>
31097
31098 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31099 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31100 macro.
31101 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31102 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31103 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31104 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31105 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31106 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31107 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31108 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31109 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31110 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31111 * sysdeps/unix/sysv/linux/bits/in.h
31112 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31113
a6a056bb
RM
311142012-05-22 Roland McGrath <roland@hack.frob.com>
31115
31116 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31117 (PREPARE_VERSION): Just use assert instead, it will be elided
31118 under [NDEBUG] anyway.
31119
c9009328
L
311202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31121
31122 * sysdeps/unix/sysv/linux/Makefile: Include
31123 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31124 (sysdep_routines): Remove sysctl.
c9009328
L
31125 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31126 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31127 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31128 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31129 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31130
73338355
AJ
311312012-05-22 Andreas Jaeger <aj@suse.de>
31132
31133 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31134 that pseudo_end is just ret and the stack pointer is correct also
31135 for static library in error case.
31136
d44638b0
PP
311372012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31138
31139 [BZ #14122]
31140 * nss/nsswitch.c (defconfig_entries): New variable.
31141 (__nss_database_lookup): Don't leak defconfig entries.
31142 (nss_parse_service_list): Don't leak on error paths.
31143 (free_database_entries): New function.
31144 (free_defconfig): New function.
31145 (free_mem): Move common code to free_database_entries.
31146
31a39bd8
L
311472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31148
da0331a8
L
31149 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31150 Add arch_prctl.
31151 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31152
31a39bd8
L
31153 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31154 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31156 New macro.
31157 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31158 (INTERNAL_SYSCALL_TYPES): Likewise.
31159 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31160 (LOAD_REGS_TYPES_[1-6]): Likewise.
31161 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31162 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31163
45470df3
AZ
311642012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31165
31166 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31167 copysignl for GLIBC_2_0.
31168 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31169 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31170 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31171 logbl for GLIBC_2_0.
31172 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31173 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31174
98a61bcb
L
311752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31176
a4f6e481
L
31177 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31178 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31179
f63d5db6
L
31180 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31181 Use "neg %eax".
31182
98a61bcb
L
31183 * time/mktime.c: Update copyright years.
31184
95770f14
PE
311852012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31186
6226efbd
PE
31187 mktime: merge comment-quoting-style change from gnulib
31188 * time/mktime.c: Quote 'like this' in comments.
31189 The GNU coding standards suggest that we no longer quote `like this',
31190 as "`" and "'" are typically rendered asymmetrically nowadays.
31191 The typical gnulib style is to quote 'like this' when quoting
31192 code, and "like this" when quoting English.
31193
b99e4f78
PE
31194 * time/mktime.c (compile-command): Add "-I.".
31195
643e01e6
PE
31196 mktime: merge mktime-internal.h change from gnulib
31197 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31198
2554247d
PE
31199 mktime: merge time_r change from gnulib
31200 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31201
826dd0ab
PE
31202 mktime: merge DEBUG change from gnulib
31203 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31204 case system <time.h> has a #define.
31205
bd83aabe
PE
31206 mktime: merge <sys/types.h> change from gnulib
31207 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31208 since <time.t> is now guaranteed to define time_t.
31209
95770f14
PE
31210 mktime: merge HAVE_CONFIG_H change from gnulib
31211 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31212
5e1a27a9
L
312132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31214
0e44a77e
L
31215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31216 Use "neg %eax".
31217
5e1a27a9
L
31218 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31219 __rlim_t cast.
31220 (struct rusage): Use anonymous union to pad each field to
31221 __syscall_slong_t.
31222
46259bec
DM
312232012-05-21 David S. Miller <davem@davemloft.net>
31224
31225 * Makefules (o-iterator): Remove .s cases.
31226 (compile-command.s): Delete.
31227 (COMPILE.s): Delete.
31228 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31229
59f0c22e
JM
312302012-05-21 Joseph Myers <joseph@codesourcery.com>
31231
31232 * configure.in (libc_cv_predef_stack_protector): Only consider
31233 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31234 * configure: Regenerated.
31235
20c07380
L
312362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31237
bbb3154b
L
31238 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31239 New macro. Use R*LP on int and pointer.
31240 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31241 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31242 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31243 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31244
20c07380
L
31245 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31246 [__WORDSIZE_TIME64_COMPAT32] instead of
31247 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31248 (struct utmp): Likewise.
31249 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31250 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31251 Renamed to ...
31252 (__WORDSIZE_TIME64_COMPAT32): This.
31253 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31254 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31255 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31256 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31257 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31258 (__WORDSIZE_TIME64_COMPAT32): New macro.
31259
d8d1017e
AJ
312602012-05-21 Andreas Jaeger <aj@suse.de>
31261
31262 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31263 only if [SHARED]. Add prototype for __wcschr_ia32.
31264
6c7fb145
RM
312652012-05-21 Roland McGrath <roland@hack.frob.com>
31266
31267 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31268 of %rbp unmolested in the jmp_buf while mangling the low bits.
31269 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31270 unmolested high bits of %rbp while demangling the low bits.
31271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31272
66274218
AJ
312732012-05-21 Andreas Jaeger <aj@suse.de>
31274
07c58f8f
AJ
31275 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31276 * sunrpc/svc_simple.c: Use it for registerrpc.
31277 * sunrpc/xcrypt.c: Use it for passwd2des.
31278
66274218
AJ
31279 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31280
61f65140
L
312812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31282
31283 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31284 Don't define if [__SYSCALL_WORDSIZE != 32].
31285 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31286 New macro.
31287
5fefb436
AJ
312882012-05-21 Bruno Haible <bruno@clisp.org>
31289 Andreas Jaeger <aj@suse.de>
31290
31291 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31292 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31293 inptr and inend for must_buffer_ch.
31294 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31295 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31296 * stdio-common/Makefile (tests): Remove bug15.
31297 (bug15-ENV): Remove macro.
31298 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31299 anymore.
31300
d8e272ab
AJ
313012012-05-19 Andreas Jaeger <aj@suse.de>
31302 Roland McGrath <roland@hack.frob.com>
31303
31304 * manual/contrib.texi: Completely rewritten. It contains now an
31305 alphabetical list of contributors and their contributions.
31306
4a56a162
RH
313072012-05-21 Richard Henderson <rth@twiddle.net>
31308
31309 * misc/getauxval.c (__getauxval): Use unsigned long int.
31310 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31311 (getauxval): Use unsigned long int.
31312
d024d23c
L
313132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31314
31315 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31316
cbc00a03
RM
313172012-05-21 Roland McGrath <roland@hack.frob.com>
31318
31319 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31320 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31321 __alignof__ (long double).
31322
478143fa
AZ
313232012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31324
31325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31326
c7683a6d
RH
313272012-05-20 Richard Henderson <rth@twiddle.net>
31328
31329 * misc/getauxval.c: New file.
31330 * misc/sys/auxv.h: New file.
31331 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31332 (routines): Add getauxval.
31333 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31334 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31335 * elf/dl-sysdep.c (_dl_auxv): Remove.
31336 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31337 * elf/dl-support.c (_dl_auxv): New variable.
31338 (_dl_aux_init): Initialize it.
31339 * manual/startup.texi (Auxiliary Vector): New node.
31340 * sysdeps/generic/bits/hwcap.h: New file.
31341 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31342 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31343 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31344 * sysdeps/sparc/sysdep.h: ... here. Include it.
31345 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31346 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31348 Update.
c7683a6d
RH
31349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31352 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31357
a6f1845d
AZ
313582012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31359
31360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31361
cbcbe830
DM
313622012-05-19 David S. Miller <davem@davemloft.net>
31363
31364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31365
e0b16cc2
JM
313662012-05-19 Joseph Myers <joseph@codesourcery.com>
31367
31368 [BZ #14123]
31369 * math/s_ccosh.c: Include <float.h>
31370 (__ccosh): Avoid internal overflow calculating sinh and cosh
31371 values before multiplying by sin and cos values.
31372 * math/s_ccoshf.c: Likewise.
31373 * math/s_ccoshl.c: Likewise.
31374 * math/s_csin.c: Likewise.
31375 * math/s_csinf.c: Likewise.
31376 * math/s_csinl.c: Likewise.
31377 * math/s_csinh.c: Likewise.
31378 * math/s_csinhf.c: Likewise.
31379 * math/s_csinhl.c: Likewise.
31380 * math/libm-test.inc (ccos_test): Add more tests.
31381 (ccosh_test): Likewise.
31382 (csin_test): Likewise.
31383 (csinh_test): Likewise.
31384 * sysdeps/i386/fpu/libm-test-ulps: Update.
31385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31386
6ad13e08
L
313872012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31388
f66f0ce8
L
31389 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31390 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31391
6ad13e08
L
31392 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31393
b1d072a7
JM
313942012-05-19 Joseph Myers <joseph@codesourcery.com>
31395
31396 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31397 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31398 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31399 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31400 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31401 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31402 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31403 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31404 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31405 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31406 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31407 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31408 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31409 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31410 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31411 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31412 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31413 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31414 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31415 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31416 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31417 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31418 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31419 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31420 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31421 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31422 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31423 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31424 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31425 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31426 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31427
9eae47cb
AJ
314282012-05-18 Andreas Jaeger <aj@suse.de>
31429
31430 * csu/.gitignore: Delete.
31431
bb07f69f
L
314322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31433
31434 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31435 (timex): Use __syscall_slong_t.
31436
e6bdb741
AJ
314372012-05-18 Andreas Jaeger <aj@suse.de>
31438 Carlos O'Donell <carlos_odonell@mentor.com>
31439
31440 * manual/install.texi (Configuring and compiling): Update
31441 description about files modified in the source directory.
d6c33fda 31442 * INSTALL: Regenerated.
e6bdb741 31443
1b74487e
L
314442012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31445
31446 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31447 value. Use "or" to set return value to -1.
31448 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31449 negate return value.
31450
a88b64b9
TMQMF
314512012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31452
57f41c40
AS
31453 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31454 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31455 failure if the compiler has Graphite support disabled.
31456 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31457 Likewise.
57f41c40
AS
31458 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31459 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31460 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31461 Likewise.
31462
3707636e
L
314632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31464
610b8622
L
31465 * sysdeps/x86_64/x32/_itoa.h: New file.
31466
7cd195df
L
31467 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31468 getdents system call only if kernel and user dirents have the
31469 same d_ino and d_off.
31470
94b07d20
L
31471 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31472 LLONG_MAX != LONG_MAX.
31473 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31474 (_fitoa_word): Likewise.
31475
18298070
L
31476 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31477 years.
31478 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31479 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31480 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31481
553c7ea4
L
31482 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31483 include <bits/wordsize.h>. Check __x86_64__ instead of
31484 __WORDSIZE.
31485 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31486 if __x86_64__ is defined. Use anonymous union on fpstate.
31487
3707636e
L
31488 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31489 anonymous union.
31490
b53ef01a
AS
314912012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31492
37fb1dc0
AS
31493 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31494 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31495 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31496 Refer to _rtld_local_ro instead of _rtld_global_ro.
31497 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31498 Likewise.
31499 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31500 Likewise.
31501 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31502 Likewise.
31503 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31504 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31505 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31506
b53ef01a
AS
31507 * sysdeps/powerpc/powerpc32/dl-machine.c
31508 (__elf_machine_runtime_setup) [PROF]: Don't reference
31509 _dl_prof_resolve.
31510
7a185db2
AJ
315112012-05-18 Andreas Jaeger <aj@suse.de>
31512
31513 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31514 function only available for GCCs before 3.4 since GCC 3.4
31515 introduced a builtin.
31516 (lrint): Likewise.
31517 (llrintf): Likewise.
31518 (llrint): Likewise.
31519 (fmaxf): Likewise.
31520 (fmax): Likewise.
31521 (fminf): Likewise.
31522 (fmin): Likewise.
31523 (rint): Likewise.
31524 (rintf): Likewise.
31525 (nearbyint): Likewise.
31526 (nearbyintf): Likewise.
31527 (ceil): Likewise.
31528 (ceilf): Likewise.
31529 (floor): Likewise.
31530 (floorf): Likewise.
31531
3e5aef87
L
315322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31533
428bd707
L
31534 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31535 on both fields and cast pointer to __syscall_ulong_t.
31536
3e5aef87
L
31537 * bits/types.h (__fsword_t): New type.
31538 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31539 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31540 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31541 (__FSWORD_T_TYPE): Likewise.
31542 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31543 (__FSWORD_T_TYPE): Likewise.
31544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31545 (__FSWORD_T_TYPE): Likewise.
31546 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31547 (__FSWORD_T_TYPE): Likewise.
31548 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31549 __SWORD_TYPE with __fsword_t.
31550 (statfs64): Likewise.
31551
1ba7c3dc
DM
315522012-05-17 David S. Miller <davem@davemloft.net>
31553
31554 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31555
59910343
AJ
315562012-05-17 Andreas Jaeger <aj@suse.de>
31557
31558 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31559 warning.
31560
2e4c1e9e
L
315612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31562
31563 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31564
de7f5ce7
AJ
315652012-05-17 Andreas Jaeger <aj@suse.de>
31566
31567 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31568 when it is used.
31569
286abc3d
CM
315702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31571
31572 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31573
477cc68e
L
315742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31575
31576 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31577 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31578
1a0994f5
CD
315792012-05-17 Andreas Jaeger <aj@suse.de>
31580 Carlos O'Donell <carlos_odonell@mentor.com>
31581
31582 [BZ #14059]
31583 * sysdeps/x86_64/multiarch/init-arch.h
31584 (bit_YMM_Usable): Rename to...
31585 (bit_AVX_Usable): ... this.
31586 (bit_FMA4_Usable): New macro.
31587 (bit_XMM_state): New macro.
31588 (bit_YMM_state): New macro.
31589 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31590 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31591 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31592 (CPUID_OSXSAVE): New macro.
31593 (CPUID_AVX): New macro.
31594 (CPUID_FMA4): New macro.
31595 (index_YMM_Usable): Rename to...
31596 (index_AVX_Usable): ... this.
31597 (HAS_AVX): Use HAS_ARCH_FEATURE.
31598 (HAS_FMA4): Likewise.
31599 (HAS_YMM_USABLE): Remove.
31600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31601 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31602 are present.
31603 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31604 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31605 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31606 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31607 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31608
0af797de
CM
316092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31610
31611 * math/libm-test.c: Support platforms without multiple rounding modes.
31612 * math/bug-nextafter.c: Support platforms without FP exceptions.
31613 * math/bug-nexttoward.c: Likewise.
31614 * math/test-fenv.c: Likewise.
31615 * math/test-misc.c: Likewise.
31616 * stdlib/bug-getcontext.c: Likewise.
31617
e39745ff
AJ
316182012-05-17 Andreas Jaeger <aj@suse.de>
31619
31620 * manual/examples/search.c (critter_cmp): Change signature to
31621 avoid warnings.
31622 * manual/string.texi (Collation Functions): Likewise.
31623
48970aba
L
316242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31625
31626 * bits/types.h: Fold copyright years.
31627 * bits/typesizes.h: Likewise.
31628 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31629 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31630 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31631 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31632 * time/time.h: Likewise.
31633
bedee953
PP
316342012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31635
31636 [BZ #208]
31637 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31638 in instead of returning them. Return void.
31639 (__libc_mallinfo): Accumulate over all arenas.
31640 (__malloc_stats): Adjust for change in int_mallinfo interface.
31641
61653dfb
RM
316422012-05-16 Roland McGrath <roland@hack.frob.com>
31643
30b99d79
RM
31644 [BZ #10375]
31645 * configure.in (NM): Add AC_CHECK_TOOL for it.
31646 (libc_extra_cflags): New substituted variable.
31647 Check for -fstack-protector being used implicitly.
31648 * configure: Regenerated.
31649 * config.make.in (config-extra-cflags): New variable,
31650 gets @libc_extra_cflags@.
31651 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31652
61653dfb
RM
31653 [BZ #10375]
31654 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31655 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31656 * configure: Regenerated.
31657 * config.make.in (CPPUNDEFS): New substituted variable.
31658 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31659 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31660 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31661
661768bb
L
316622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31663
31664 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31665 (mq_attr): Use __syscall_slong_t.
31666
d4261567
L
316672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31668
31669 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31670 Check __x86_64__ instead of __WORDSIZE.
31671 (_STAT_VER_LINUX): Likewise.
31672 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31673 __syscall_ulong_t and __syscall_slong_t.
31674 (stat64): Likewise.
31675
cf3ff365
L
316762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31677
31678 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31679
76cf3e4d
L
316802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31681
31682 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31683
a637753a
L
316842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31685
31686 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31687 __syscall_ulong_t.
31688
d5e05119
L
31689 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31690 include <bits/wordsize.h>. Check __x86_64__ instead of
31691 __WORDSIZE.
31692 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31693 defined.
31694 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31695
f62ee380
L
31696 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31697 include <bits/wordsize.h>. Check __x86_64__ instead of
31698 __WORDSIZE.
31699 (user_regs_struct): Use "__extension__ unsigned long long"
31700 instead of "unsigned long" if __x86_64__ is defined.
31701 (user): Likewise. Pad after pointer field if __ILP32__ is
31702 defined.
31703
4e124ced
JM
317042012-05-16 Joseph Myers <joseph@codesourcery.com>
31705
6a3951a0
JM
31706 * configure.in (makeinfo): Require version 4.5 or later. Allow
31707 versions 5 to 9.
31708 * configure: Regenerated.
31709 * manual/install.texi (texinfo): Increase version requirement to
31710 4.5 or later.
31711 * INSTALL: Regenerated.
31712
4e124ced
JM
31713 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31714
953ca31a
L
317152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31716
31717 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31718
617aca05
L
31719 * sysdeps/x86_64/x32/ffs.c: New file.
31720
5762f7ae
L
31721 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31722 __syscall_ulong_t.
31723 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31724 defined. Use __syscall_ulong_t.
31725 (shminfo): Use __syscall_ulong_t.
31726 (shm_info): Likewise.
31727
a26b6856
L
31728 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31729 __syscall_ulong_t.
31730
cb2b9ef7
L
31731 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31732 <bits/wordsize.h>.
31733 (msgqnum_t): Use __syscall_ulong_t.
31734 (msglen_t): Likewise.
31735 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31736 __syscall_ulong_t.
31737
34683bb0
L
31738 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31739 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31740
84a68786
L
31741 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31742
48baa5f1
L
31743 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31744 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31745
180be88b
L
31746 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31747 __syscall_slong_t.
31748
5e90c8ad
L
31749 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31750 include <bits/wordsize.h>. Check __x86_64__ instead of
31751 __WORDSIZE.
31752
23dfb58b
L
31753 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31754 "unsigned long long int" if __x86_64__ is defined.
31755 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31756
ce5d54b0
L
31757 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31758 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31759 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31760
13dc9eac
L
31761 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31762 <stdint.h>.
31763 (GET_PC): Cast to uintptr_t first.
31764 (GET_FRAME): Likewise.
31765 (GET_STACK): Likewise.
31766
a7895d15
L
31767 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31768 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31769 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31771 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31773 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31774 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31775 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31776 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31778 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31780 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31781 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31782 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31784 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31786 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31787 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31788 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31789 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31790 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31791 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31792 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31794 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31796
656416c9
AS
317972012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31798
5bd66283
AS
31799 * Makerules (+depfiles): Also collect depfiles from .oS in
31800 $(extra-objs).
31801 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31802 .oS, $(libnldbl-routines)).
31803
656416c9
AS
31804 * Makerules (native-compile-mkdep-flags): Define.
31805 * sunrpc/Makefile (extra-objs): Add $(addprefix
31806 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31807 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31808 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31809 calling $(make-target-directory).
31810
a46f2169
L
318112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31812
31813 * bits/types.h (__snseconds_t): Removed.
31814 * time/time.h (struct timespec): Replace __snseconds_t with
31815 __syscall_slong_t.
31816 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31817 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31818 Likewise.
31819 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31820 (__SNSECONDS_T_TYPE): Likewise.
31821 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31822 (__SNSECONDS_T_TYPE): Likewise.
31823 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31824 (__SNSECONDS_T_TYPE): Likewise.
31825
6af6528b
L
318262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31827
31828 * sysdeps/mach/hurd/bits/typesizes.h
31829 (__SYSCALL_SLONG_TYPE): New macro.
31830 (__SYSCALL_ULONG_TYPE): Likewise.
31831
de986b56
L
318322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31833
31834 * bits/types.h (__syscall_slong_t): New type.
31835 (__syscall_ulong_t): Likewise.
31836
31837 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31838 (__SYSCALL_ULONG_TYPE): Likewise.
31839 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31840 (__SYSCALL_SLONG_TYPE): Likewise.
31841 (__SYSCALL_ULONG_TYPE): Likewise.
31842 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31843 (__SYSCALL_SLONG_TYPE): Likewise.
31844 (__SYSCALL_ULONG_TYPE): Likewise.
31845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31846 (__SYSCALL_SLONG_TYPE): Likewise.
31847 (__SYSCALL_ULONG_TYPE): Likewise.
31848
85736dc7
L
318492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31850
31851 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31852 Add sigaltstack-offsets.sym.
31853 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31854 <sigaltstack-offsets.h>.
31855 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31856 longjmp_msg pointer.
31857 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31858 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31859 signal stack.
31860 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31861
cc03b296
JM
318622012-05-15 Joseph Myers <joseph@codesourcery.com>
31863
a9538892
JM
31864 * elf/stackguard-macros.h: Remove file.
31865 * sysdeps/generic/stackguard-macros.h: New file.
31866 * sysdeps/i386/stackguard-macros.h: Likewise.
31867 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31868 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31869 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31870 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31871 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31872 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31873 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31874 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31875 <elf/stackguard-macros.h>.
31876
cc03b296
JM
31877 [BZ #14109]
31878 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31879 __aligned__ in attribute.
31880 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31881 (gregset_t): Likewise.
31882
93171016
L
318832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31884
31885 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31886 * sysdeps/x86_64/64/Implies-after: Here. New file.
31887 * sysdeps/x86_64/x32/Implies-after: New file.
31888
d86813a0
L
318892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31890
31891 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31892 and access return value for _dl_profile_fixup. Use R10_LP to
31893 load frame size.
31894
2953ec75
L
318952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31896
31897 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31898
3b550e9e
L
318992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31900
31901 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31902 * sysdeps/x86_64/x32/sysdep.h: New file.
31903
eda41706
L
319042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31905
31906 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31907 * sysdeps/x86_64/setjmp.S: Likewise.
31908
9ea01d93
AZ
319092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31910
31911 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31913 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31914 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31915 remove unused global constant.
31916
02a91938
CM
319172012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31918
31919 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31920 include of <not-cancel.h>.
31921
6540185f
RM
319222012-05-15 Roland McGrath <roland@hack.frob.com>
31923
31924 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31925
509072a0
AJ
319262012-05-15 Jeff Law <law@redhat.com>
31927 Andreas Jaeger <aj@suse.de>
31928
31929 [BZ #13594]
31930 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31931 out from...
31932 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31933 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31934 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31935 code changing __hst_map_handle.map.
31936
ba75122d
RM
319372012-05-15 Roland McGrath <roland@hack.frob.com>
31938
31939 * configure.in (sysnames): Look for Implies-before and Implies-after
31940 files.
31941 * configure: Regenerated.
31942
890d8bd8
L
319432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31944
31945 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31946 8-byte data alignment with LP_SIZE alignment.
31947
f6ee6623
L
319482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31949
31950 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31951 into R10_LP.
31952
ea2626f6
L
319532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31954
31955 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31956
085f715e
L
319572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31958
31959 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31960 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31961 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31962 Likewise.
31963 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31964
be8498fc
L
319652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31966
31967 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31968 (stackinfo_sub_sp): Likewise.
31969
70bc83b9
L
319702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31971
31972 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31973 RAX_LP.
31974
9bc0b730
L
319752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31976
31977 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31978 into R*_LP.
31979
6d2850e7
L
319802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31981
31982 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31983 sizes into R*_LP.
31984
3cb84561
L
319852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31986
31987 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31988
54e2ed81
L
319892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31990
31991 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31992 into R11_LP and load __x86_64_shared_cache_size_half into
31993 R8_LP.
31994
8a17f349
L
319952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31996
31997 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31998 R8_LP.
31999
777b1eea
AZ
320002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32001
32002 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32003 logb for POWER7.
32004 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32005 logbf for POWER7.
32006 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32007 logbl for POWER7.
32008 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32009 powerpc32/power7/fpu/s_logb.c via #include.
32010 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32011 powerpc32/power7/fpu/s_logbf.c via #include.
32012 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32013 powerpc32/power7/fpu/s_logbl.c via #include.
32014
d20d4ac2
JM
320152012-05-15 Joseph Myers <joseph@codesourcery.com>
32016
32017 * README.libm: Remove file.
32018
6cdef1ab
L
320192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32020
32021 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32022 count for x32. Use R*_LP and omit operand-size suffix.
32023
0b254d8f
L
320242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32025
32026 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32027 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32028 * sysdeps/x86_64/x32/shlib-versions: New file.
32029
ceb809dc
RM
320302012-05-14 Roland McGrath <roland@hack.frob.com>
32031
32032 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32033 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32034 Use _dl_fatal_printf instead.
32035
37f1abd4
JM
320362012-05-14 Joseph Myers <joseph@codesourcery.com>
32037
32038 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32039 set if not set by the user. Do not allow for being unset.
32040 * sysdeps/unix/sysv/linux/configure: Regenerated.
32041
11de3a33
L
320422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32043
32044 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32045 the `q' suffix from lea and replace .quad with ASM_ADDR.
32046
e02f153a
L
320472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32048
32049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32050 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32051 instead of $17.
32052 (PTR_DEMANGLE): Likewise.
32053
520ae0fd
L
320542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32055
32056 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32057 (LP_OP): Likewise.
32058 (ASM_ADDR): Likewise.
32059 (RAX_LP): Likewise.
32060 (RBP_LP): Likewise.
32061 (RBX_LP): Likewise.
32062 (RCX_LP): Likewise.
32063 (RDI_LP): Likewise.
32064 (RSI_LP): Likewise.
32065 (RSP_LP): Likewise.
32066 (R8_LP): Likewise.
32067 (R9_LP): Likewise.
32068 (R10_LP): Likewise.
32069 (R10_LP): Likewise.
32070 (R11_LP): Likewise.
32071 (R12_LP): Likewise.
32072 (R13_LP): Likewise.
32073 (R14_LP): Likewise.
32074 (R15_LP): Likewise.
32075
b985be81
L
320762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32077
32078 * sysdeps/x86_64/x32/dl-machine.h: New file.
32079
6a4888ff
AJ
320802012-05-14 Andreas Jaeger <aj@suse.de>
32081
32082 * manual/Makefile (subdir): Remove export of subdir.
32083 (all): Remove target.
32084 (.PHONY): Remove all from list.
32085 (mkinstalldirs): Remove.
32086 (.PHONY): Remove installdirs from list.
32087 ($(inst_infodir)/libc.info): Use make-target-directory.
32088 (installdirs): Remove.
32089 (subdir_%): Remove.
32090 (glibc-targets): Remove.
32091 (lib): Remove.
32092 (stubs): Remove.
32093 ($(objpfx)stubs ../po/manual.pot): Remove.
32094 ($(objpfx)stamp%): Remove.
32095 (make-target-directory): Remove.
32096 (subdir_install): Remove.
32097 (routines): Remove.
32098 (aux): Remove.
32099 (sources): Remove.
32100 (objects): Remove.
32101 (headers): Remove.
32102
32103 [BZ #13750]
32104 * manual/.gitignore: Remove, it's not needed anymore.
32105 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32106 all files in it.
32107 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32108 directory.
32109 (texis): Renamed to $(objpfx)texis.
32110 (texis-path): New, contains path to generated files.
32111 (chapters.%): Use texis-path for complete path, add extra argument
32112 libc-texinfo.sh.
32113 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32114 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32115 (summary,texi, stamp-summary): Use complete path of
32116 files. Generate files in build dir.
32117 (dir-add.texi): Build in build dir.
32118 (libm-err.texi,stamp-libm-err): Likewise.
32119 (version.texi, stamp-version): Likewise.
32120 (.%c.texi): Likewise.
32121 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32122 (mostlyclean): Remove target.
32123 (realclean): Remove target.
32124 (generated): Add new variable with contents from mostlyclean and
32125 realclean, remove entries duplicated in common-mostlyclean, add
32126 stamp-libm-err and stamp-version.
32127 (generated-dirs): Add libc directory.
32128 ($(inst_infodir)/libc.info): Install files from build dir.
32129
32130 * manual/install.texi (Configuring and compiling): Adjust since
32131 the info files are not part of the tar ball anymore.
32132
7ac77294
AJ
321332012-05-14 Andreas Jaeger <aj@suse.de>
32134
32135 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32136 variable.
32137
ffb7875d
JM
321382012-05-14 Joseph Myers <joseph@codesourcery.com>
32139
32140 [BZ #13717]
32141 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32142 to 2.2.0 where earlier.
32143 * sysdeps/unix/sysv/linux/configure: Regenerated.
32144 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32145 Remove conditional code.
32146 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32147 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32148 Remove conditional code.
32149 [!__NR_lchown]: Likewise.
32150 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32151 [__NR_lchown]: Likewise.
32152 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32153 comment referencing __ASSUME_LCHOWN_SYSCALL.
32154 * sysdeps/unix/sysv/linux/i386/sigaction.c
32155 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32156 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32157 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32158 Remove conditional code.
32159 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32160 (__protocol_available): Remove #if 0 code.
32161 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32162 conditional code.
32163 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32164 * sysdeps/unix/sysv/linux/kernel-features.h
32165 (__ASSUME_GETCWD_SYSCALL): Don't define.
32166 (__ASSUME_REALTIME_SIGNALS): Likewise.
32167 (__ASSUME_PREAD_SYSCALL): Likewise.
32168 (__ASSUME_PWRITE_SYSCALL): Likewise.
32169 (__ASSUME_POLL_SYSCALL): Likewise.
32170 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32171 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32172 non-SPARC.
32173 (__ASSUME_SIOCGIFNAME): Don't define.
32174 (__ASSUME_MSG_NOSIGNAL): Likewise.
32175 (__ASSUME_SENDFILE): Define unconditionally.
32176 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32177 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32178 conditional code.
32179 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32180 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32181 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32182 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32183 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32184 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32185 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32187 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32190 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32193 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32196 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32199 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32200 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32202 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32205 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32208 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32210 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32211 Remove conditional code.
32212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32213 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32214 Remove conditional code.
32215 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32216 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32217 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32218 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32219 Remove conditional code.
32220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32221 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32222 Remove conditional code.
32223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32224 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32225 Remove conditional code.
32226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32227 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32228 Remove conditional code.
32229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32230 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32231 Remove conditional code.
32232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32233 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32234 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32236 * sysdeps/unix/sysv/linux/sigaction.c
32237 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32238 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32239 * sysdeps/unix/sysv/linux/sigpending.c
32240 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32241 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32242 * sysdeps/unix/sysv/linux/sigprocmask.c
32243 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32244 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32245 * sysdeps/unix/sysv/linux/sigsuspend.c
32246 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32247 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32248 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32249 (__libc_missing_rt_sigs): Remove.
32250 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32251 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32252 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32253 Remove conditional code.
32254 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32255 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32256 return 1.
32257 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32258 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32259 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32260 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32261
1bfb7291
AJ
322622012-05-14 Andreas Jaeger <aj@suse.de>
32263
caae5a81
AJ
32264 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32265 it's not used in glibc.
32266 (__coshm1): Likewise.
32267 (__acosh1p): Likewise.
32268 (__sgn): Likewise.
32269
1bfb7291
AJ
32270 * manual/string.texi (Copying and Concatenation): Add missing
32271 variable in concat example.
32272 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32273
c044d724
L
322742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32275
144c5467 32276 [BZ #14103]
c044d724
L
32277 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32278 __builtin_clzl with __builtin_clzll.
32279
2523c62b
L
322802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32281
32282 [BZ #14104]
32283 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32284 libc_freeres_ptr.
32285
d7bb4c42
LD
322862012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32287
32288 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32289 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32290 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32291 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32292
9dc4e1fb
MF
322932012-05-14 Mike Frysinger <vapier@gentoo.org>
32294
32295 * NEWS: Update ia64 info.
32296
c7df0112
AS
322972012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32298
32299 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32300 used as bcopy.
32301
dc70356c
TS
323022012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32303
32304 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32305 * sysdeps/unix/syscalls.list (dup3): Likewise.
32306 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32307 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32308
9fb1a21f
L
323092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32310
32311 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32312 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32313
4822a2a5
L
323142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32315
32316 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32317 thread pointer.
32318 (TLS_IE): Use mov/add instead of movq/addq to load thread
32319 pointer.
32320 (TLS_GD_PREFIX): New.
32321 (TLS_GD): Use it.
32322
842b81d6
DM
323232012-05-11 David S. Miller <davem@davemloft.net>
32324
32325 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32326 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32327 (_FPU_SETCW): Likewise.
32328
1cf463cd
L
323292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32330
32331 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32332 is 32-byte aligned.
32333
60cc4a18
AS
323342012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32335
32336 [BZ #11837]
32337 * iconvdata/gb18030.c: Update tables.
32338 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32339 characters specially.
32340 (BODY for TO_LOOP): Add encoding of missing ranges.
32341
febb44a4
TS
323422012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32343
32344 [BZ #13673]
32345 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32346 * sysdeps/mach/hurd/dup3.c: Likewise.
32347 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32348 * sysdeps/powerpc/memmove.c:: Likewise.
32349
0a10fb9e
L
323502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32351
32352 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32353 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32354
df8a552f
L
323552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32356
32357 * elf/elf.h (R_X86_64_RELATIVE64): New.
32358 (R_X86_64_NUM): Updated.
32359 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32360 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32361 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32362 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32363 tst-quad1pie tst-quad2pie
32364 (modules-names): Add tst-quadmod1 tst-quadmod2.
32365 ($(objpfx)tst-quad1): New dependency.
32366 ($(objpfx)tst-quad2): Likewise.
32367 ($(objpfx)tst-quad1pie): Likewise.
32368 ($(objpfx)tst-quad2pie): Likewise.
32369 * sysdeps/x86_64/tst-quad1.c: New file.
32370 * sysdeps/x86_64/tst-quad1pie.c: New file.
32371 * sysdeps/x86_64/tst-quad2.c: Likewise.
32372 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32373 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32374 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32375 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32376 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32377
f34d6f84
ST
323782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32379
f42d41d1
ST
32380 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32381 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32382 * streams/stropts.h (t_scalar_t): Define type.
32383
3c3571fc
ST
32384 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32385 (_PATH_PRESERVE): Set to "/var/lib".
32386 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32387
61f06bd3
ST
32388 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32389 instead of int.
32390
918d4d71
ST
32391 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32392 if __dir_mkfile succeeded.
32393
f34d6f84
ST
32394 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32395 checking for _hurd_dtablesize. Unlock it right after having
32396 finished _hurd_dtable allocation.
32397
10589b4a
TS
323982012-05-10 Thomas Schwinge <thomas@schwinge.name>
32399
674cdbc7
TS
32400 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32401 * sysdeps/mach/hurd/configure: Regenerated.
32402 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32403 special-casing to...
32404 * sysdeps/gnu/configure.in: ... this new file.
32405 * sysdeps/unix/sysv/linux/configure: Regenerated.
32406 * sysdeps/gnu/configure: New generated file.
32407
8e41b99f
TS
32408 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32409 for Linux: use nsec instead of usec, as well as:
32410 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32411 members of type struct timespec.
32412 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32413 New macros.
32414 (struct stat64): Likewise.
32415 (_STATBUF_ST_NSEC): New macro.
32416 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32417
10589b4a
TS
32418 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32419 __strtoul_internal rather than strtoul.
32420
63643c85
PT
324212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32422
32423 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32424 and reject them.
32425
3faebe6a
ST
324262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32427
32428 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32429 which preserves existing values.
32430 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32431
c6474b07
PT
324322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32433
32434 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32435 TIMEOUT values. Return EINVAL for NFDS values either negative or
32436 greater than FD_SETSIZE.
32437
1043890b
ST
324382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32439
32440 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32441 allocated, call __vm_protect to finish enabling the existing space, and
32442 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32443 allocate the remainder.
32444
37ed8b9b
PT
324452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32446
32447 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32448 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32449
db653660
ST
324502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32451
37ed8b9b
PT
32452 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32453 sysdeps/mach/hurd/readlink.c.
b29d4053 32454
db653660
ST
32455 * posix/tst-sysconf.c (posix_options): Only use
32456 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32457 _POSIX_SYNCHRONIZED_IO when they are defined
32458 * sysdeps/mach/hurd/bits/posix_opt.h:
32459 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32460 (_XOPEN_REALTIME): Undefine macro.
32461 (_XOPEN_REALTIME_THREADS): Undefine macro.
32462 (_XOPEN_SHM): Undefine macro.
32463 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32464 macro to -1.
32465 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32466 macro to -1.
32467 (_POSIX_ASYNC_IO): Undefine macro.
32468 (_POSIX_PRIORITIZED_IO): Undefine macro.
32469 (_POSIX_SPIN_LOCKS): Define macro to -1.
32470
ee16e894
ST
32471 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32472 SA_NODEFER, SA_RESETHAND.
32473 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32474 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32475 F_DUPFD_CLOEXEC.
32476
6103ae3b
TS
324772012-05-10 Thomas Schwinge <thomas@schwinge.name>
32478
32479 * elf/Makefile (pldd-modules): Define unconditionally.
32480
80b4e5f3
TS
324812012-05-10 Thomas Schwinge <thomas@schwinge.name>
32482
32483 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32484
edadcbd6
ST
324852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32486
32487 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32488 Return ENOENT when name is empty.
32489 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32490
80694780
TS
324912012-05-10 Thomas Schwinge <thomas@schwinge.name>
32492
1792c087
TS
32493 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32494
80694780
TS
32495 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32496
6b645f0d
ST
324972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32498
80694780
TS
32499 Fix mlock in all cases except non-readable pages.
32500 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32501 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 32502
6b645f0d
ST
32503 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32504 (__mkdir): When path is `/', just fail with EEXIST.
32505 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32506
e468f8a3
TS
325072012-05-10 Thomas Schwinge <thomas@schwinge.name>
32508
32509 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32510 <sys/uio.h> (for writev).
32511 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32512 and <sys/param.h> (for MIN).
32513
a4186cff
PT
325142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32515
32516 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32517 REQUESTED_TIME. Properly set the remaining time and return EINTR
32518 if interrupted.
32519
510bbf14
TS
325202012-05-10 Thomas Schwinge <thomas@schwinge.name>
32521
32522 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32523 Depend on against $(link-rpcuserlibs).
32524
5d5722e8
ST
325252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32526
a4186cff
PT
32527 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32528 (__libc_stack_end): Do not use attribute_relro.
32529 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32530 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 32531 to libthread-provided value.
a4186cff
PT
32532 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32533 attribute_relro.
5d5722e8 32534
37233df9
TS
325352012-05-10 Thomas Schwinge <thomas@schwinge.name>
32536
be971a2b
TS
32537 [BZ #3748]
32538 * bits/libc-lock.h (__libc_once_get): New macro.
32539 * sysdeps/mach/bits/libc-lock.h: Likewise.
32540 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32541 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32542 instead of using implementation details.
32543
37233df9
TS
32544 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32545 * libio/freopen.c: Likewise.
32546 * libio/freopen64.c: Likewise.
32547 * misc/syslog.c: Likewise.
32548 * nscd/connections.c: Likewise.
32549 * nscd/netgroupcache.c: Likewise.
32550 * sysdeps/posix/getcwd.c: Likewise.
32551
38de94a5
RM
325522012-05-10 Roland McGrath <roland@hack.frob.com>
32553
32554 * math/w_ilogbf.c: Add #include <limits.h>.
32555
67530489
ST
325562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32557
a4186cff 32558 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
32559 path instead of returning without unlocking.
32560
67530489
ST
32561 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32562 immediate-write ioctls.
32563 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32564
5aa3a74a
TS
325652012-05-10 Thomas Schwinge <thomas@schwinge.name>
32566
18bad2ae
TS
32567 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32568 __builtin_frame_address instead of making assumptions about the
32569 location of the return address relative to DATA. Force early load of
32570 the return address.
32571 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32572 __builtin_frame_address.
32573
5aa3a74a
TS
32574 dup3 for GNU Hurd.
32575 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32576 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32577 implement dup3 and do some further code clean-ups.
32578 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32579 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32580
ecd0de9a
ST
325812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32582
cd9fa985
ST
32583 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32584
a4186cff
PT
32585 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32586 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32587 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32588 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32589 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32590 d->port.lock.
802ca5a5 32591
a4186cff
PT
32592 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32593 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32594 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 32595
bcf55240
TS
325962012-05-10 Thomas Schwinge <thomas@schwinge.name>
32597
6960eb42
TS
32598 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32599 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32600 definitions.
32601
eb43375f
TS
32602 accept4 for GNU Hurd.
32603 * include/sys/socket.h (__libc_accept4): New prototype.
32604 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32605 to implement __libc_accept4.
32606 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32607 __libc_accept4.
32608 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32609
bcf55240
TS
32610 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32611 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32612 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32613 signal-defines.sym.
32614
6178c55b
ST
326152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32616
a4186cff 32617 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 32618
6f080c2f
TS
326192012-05-10 Thomas Schwinge <thomas@schwinge.name>
32620
32621 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32622 assertion on O_CLOEXEC flag.
32623 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32624 * hurd/intern-fd.c: Likewise.
32625 * hurd/port2fd.c: Likewise.
32626
bcfe3a54
ST
326272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32628
32629 [BZ #3906]
32630 * bits/in.h (IPV6_PKTINFO): Define new macro.
32631 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32632
89c9aa49
AZ
326332012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32634
32635 [BZ #13954]
32636 [BZ #13955]
32637 [BZ #13956]
32638 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32639 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32640 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32641 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32642 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32643 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32644 * math/libm-test.inc (logb_test) : Additional logb tests.
32645
021db4be
AJ
326462012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32647 Andreas Jaeger <aj@suse.de>
32648
32649 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32650 * configure: Regenerated.
32651 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32652 * config.make.in (link-obsolete-rpc): New substituted variable.
32653 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32654 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32655 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32656 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32657 so that libc.a contains the symbols.
32658 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32659 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32660 * sunrpc/auth_none.c: Likewise.
32661 * sunrpc/auth_unix.c: Likewise.
32662 * sunrpc/authdes_prot.c: Likewise.
32663 * sunrpc/authuxprot.c: Likewise.
32664 * sunrpc/clnt_gen.c: Likewise.
32665 * sunrpc/clnt_perr.c: Likewise.
32666 * sunrpc/clnt_raw.c: Likewise.
32667 * sunrpc/clnt_simp.c: Likewise.
32668 * sunrpc/clnt_tcp.c: Likewise.
32669 * sunrpc/clnt_udp.c: Likewise.
32670 * sunrpc/clnt_unix.c: Likewise.
32671 * sunrpc/des_crypt.c: Likewise.
32672 * sunrpc/des_soft.c: Likewise.
32673 * sunrpc/get_myaddr.c: Likewise.
32674 * sunrpc/key_call.c: Likewise.
32675 * sunrpc/key_prot.c: Likewise.
32676 * sunrpc/netname.c: Likewise.
32677 * sunrpc/pm_getmaps.c: Likewise.
32678 * sunrpc/pm_getport.c: Likewise.
32679 * sunrpc/pmap_clnt.c: Likewise.
32680 * sunrpc/pmap_prot.c: Likewise.
32681 * sunrpc/pmap_prot2.c: Likewise.
32682 * sunrpc/pmap_rmt.c: Likewise.
32683 * sunrpc/publickey.c: Likewise.
32684 * sunrpc/rpc_cmsg.c: Likewise.
32685 * sunrpc/rpc_common.c: Likewise.
32686 * sunrpc/rpc_dtable.c: Likewise.
32687 * sunrpc/rpc_prot.c: Likewise.
32688 * sunrpc/rpc_thread.c: Likewise.
32689 * sunrpc/rtime.c: Likewise.
32690 * sunrpc/svc.c: Likewise.
32691 * sunrpc/svc_auth.c: Likewise.
32692 * sunrpc/svc_raw.c: Likewise.
32693 * sunrpc/svc_run.c: Likewise.
32694 * sunrpc/svc_tcp.c: Likewise.
32695 * sunrpc/svc_udp.c: Likewise.
32696 * sunrpc/svc_unix.c: Likewise.
32697 * sunrpc/svcauth_des.c: Likewise.
32698 * sunrpc/xcrypt.c: Likewise.
32699 * sunrpc/xdr.c: Likewise.
32700 * sunrpc/xdr_array.c: Likewise.
32701 * sunrpc/xdr_float.c: Likewise.
32702 * sunrpc/xdr_intXX_t.c: Likewise.
32703 * sunrpc/xdr_mem.c: Likewise.
32704 * sunrpc/xdr_rec.c: Likewise.
32705 * sunrpc/xdr_ref.c: Likewise.
32706 * sunrpc/xdr_sizeof.c: Likewise.
32707 * sunrpc/xdr_stdio.c: Likewise.
32708
b5c086a2
RM
327092012-05-10 Roland McGrath <roland@hack.frob.com>
32710
32711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32712 change. Update copyright years.
32713
6d74dd09
JM
327142012-05-10 Joseph Myers <joseph@codesourcery.com>
32715
32716 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32717
28e72501
MK
327182012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32719 Joseph Myers <joseph@codesourcery.com>
32720 Paul Pluzhnikov <ppluzhnikov@google.com>
32721
32722 [BZ #14012]
32723 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32724 requiring rpcgen.
32725 [cross-compiling] (extra-libs): Likewise.
32726 [cross-compiling] (extra-libs-others): Likewise.
32727 [cross-compiling] (librpcsvc-routines): Likewise.
32728 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32729 [cross-compiling] (omit-deps): Likewise.
32730 (sunrpc-CPPFLAGS): New variable.
32731 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32732 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32733 (cross-rpcgen-objs): New variable.
32734 (extra-objs): Append $(cross-rpcgen-objs).
32735 ($(cross-rpcgen-objs)): New rule.
32736 ($(objpfx)cross-rpcgen): Likewise.
32737 (rpcgen-cmd): Define to use $(built-program-file). Expand
32738 comment.
32739 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32740 ($(objpfx)x%.stmp): Likewise.
32741 * sunrpc/proto.h [IS_IN_build] (_): Define.
32742 [IS_IN_build] (_libc_intl_domainname): Likewise.
32743
c8c59454
L
327442012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32745
32746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32747 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32748 and R_X86_64_TPOFF64.
32749
6f27cd16
JM
327502012-05-10 Joseph Myers <joseph@codesourcery.com>
32751
32752 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32753 sysdeps/unix/sysv/syscalls.list.
32754 (stime): Likewise.
32755 (utime): Likewise.
32756 * sysdeps/unix/sysv/syscalls.list: Remove file.
32757
02467e1c
PE
327582012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32759
32760 [BZ #3440]
32761 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32762 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32763 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32764 (__LC_IDENTIFICATION): Make these macros useful in #if
32765 expressions, as required by C99.
32766
da392631
AS
327672012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32768
32769 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32770 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32771 after this.
32772
8115f29b
L
327732012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32774
32775 * stdlib/longlong.h: Updated from GCC.
32776
bdd74070
AJ
327772012-05-09 Andreas Jaeger <aj@suse.de>
32778
edfe0dbe
AJ
32779 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32780 default is first entry.
32781 (run_mode): Set type.
32782 (main): Remove informal message about syslog.
32783 (options): Fix typo.
32784
bcfe3a54
ST
32785 [BZ #14053]
32786 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32787 to asm.
bcfe3a54
ST
32788 (lrint): Likewise.
32789 (llrintf): Likewise.
32790 (llrint): Likewise.
32791 (rint): Likewise.
32792 (rintf): Likewise.
32793 (nearbyint): Likewise.
32794 (nearbyintf): Likewise.
bdd74070 32795
91d8d69e
AJ
327962012-05-09 Andreas Jaeger <aj@suse.de>
32797 Pedro Alves <palves@redhat.com>
32798
32799 * nscd/nscd.c (run_mode): Use enum.
32800 (main): Cleanup coding style issue.
32801
bb90b80b
AJ
328022012-05-09 Alexandre Oliva <aoliva@redhat.com>
32803 Andreas Jaeger <aj@suse.de>
32804
bcfe3a54
ST
32805 * nscd/nscd.c (go_background): Replaced with...
32806 (run_mode): ... this.
bb90b80b 32807 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32808 (options): Add -F --foreground.
32809 (main): Implement it.
32810 (parse_opt): Parse it.
bb90b80b 32811
1a4b75a1
AJ
328122012-05-09 Andreas Jaeger <aj@suse.de>
32813
32814 [BZ #14083]
32815 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32816 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32817 -Wconversion warning.
32818 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32819 Likewise.
32820
b1cc2472
JM
328212012-05-09 Joseph Myers <joseph@codesourcery.com>
32822
32823 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32824 == 0.
32825 (LC_ALL): Use macro-int-constant.
32826 (LC_COLLATE): Likewise.
32827 (LC_CTYPE): Likewise.
32828 (LC_MESSAGES): Likewise.
32829 (LC_MONETARY): Likewise.
32830 (LC_NUMERIC): Likewise.
32831 (LC_TIME): Likewise.
32832 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32833 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32834 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32835 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32836 Specify type.
32837 [C99-based standards] (float_t): Expect type.
32838 [C99-based standards] (double_t): Expect type.
32839 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32840 type.
32841 [C99-based standards] (HUGE_VALL): Likewise.
32842 [C99-based standards] (INFINITY): Likewise.
32843 [C99-based standards] (NAN): Likewise.
32844 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32845 [C99-based standards] (FP_NAN): Likewise.
32846 [C99-based standards] (FP_NORMAL): Likewise.
32847 [C99-based standards] (FP_SUBNORMAL): Likewise.
32848 [C99-based standards] (FP_ZERO): Likewise.
32849 [C99-based standards] (FP_FAST_FMA): Use
32850 optional-macro-int-constant. Specify type. Require == 1.
32851 [C99-based standards] (FP_FAST_FMAF): Likewise.
32852 [C99-based standards] (FP_FAST_FMAL): Likewise.
32853 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32854 [C99-based standards] (FP_ILOGBNAN): Likewise.
32855 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32856 Specify type.
32857 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32858 [C99-based standards] (math_errhandling): Specify type.
32859 [ISO99 || ISO11] (signgam): Do not allow.
32860 [non-C99-based standards] (copysignf): Do not allow.
32861 [non-C99-based standards] (exp2f): Likewise.
32862 [non-C99-based standards] (log2f): Likewise.
32863 [non-C99-based standards] (modff): Allow.
32864 [non-C99-based standards] (erff): Do not allow.
32865 [non-C99-based standards] (erfcf): Likewise.
32866 [non-C99-based standards] (gammaf): Likewise.
32867 [non-C99-based standards] (hypotf): Likewise.
32868 [non-C99-based standards] (j0f): Likewise.
32869 [non-C99-based standards] (j1f): Likewise.
32870 [non-C99-based standards] (jnf): Likewise.
32871 [non-C99-based standards] (lgammaf): Likewise.
32872 [non-C99-based standards] (tgammaf): Likewise.
32873 [non-C99-based standards] (y0f): Likewise.
32874 [non-C99-based standards] (y1f): Likewise.
32875 [non-C99-based standards] (ynf): Likewise.
32876 [non-C99-based standards] (isnanf): Likewise.
32877 [non-C99-based standards] (acoshf): Likewise.
32878 [non-C99-based standards] (asinhf): Likewise.
32879 [non-C99-based standards] (atanhf): Likewise.
32880 [non-C99-based standards] (cbrtf): Likewise.
32881 [non-C99-based standards] (expm1f): Likewise.
32882 [non-C99-based standards] (ilogbf): Likewise.
32883 [non-C99-based standards] (log1pf): Likewise.
32884 [non-C99-based standards] (logbf): Likewise.
32885 [non-C99-based standards] (nextafterf): Likewise.
32886 [non-C99-based standards] (remainderf): Likewise.
32887 [non-C99-based standards] (rintf): Likewise.
32888 [non-C99-based standards] (scalbf): Likewise.
32889 [non-C99-based standards] (copysignl): Likewise.
32890 [non-C99-based standards] (exp2l): Likewise.
32891 [non-C99-based standards] (log2l): Likewise.
32892 [non-C99-based standards] (modfl): Allow.
32893 [non-C99-based standards] (erfl): Do not allow.
32894 [non-C99-based standards] (erfcl): Likewise.
32895 [non-C99-based standards] (gammal): Likewise.
32896 [non-C99-based standards] (hypotl): Likewise.
32897 [non-C99-based standards] (j0l): Likewise.
32898 [non-C99-based standards] (j1l): Likewise.
32899 [non-C99-based standards] (jnl): Likewise.
32900 [non-C99-based standards] (lgammal): Likewise.
32901 [non-C99-based standards] (tgammal): Likewise.
32902 [non-C99-based standards] (y0l): Likewise.
32903 [non-C99-based standards] (y1l): Likewise.
32904 [non-C99-based standards] (ynl): Likewise.
32905 [non-C99-based standards] (isnanl): Likewise.
32906 [non-C99-based standards] (acoshl): Likewise.
32907 [non-C99-based standards] (asinhl): Likewise.
32908 [non-C99-based standards] (atanhl): Likewise.
32909 [non-C99-based standards] (cbrtl): Likewise.
32910 [non-C99-based standards] (expm1l): Likewise.
32911 [non-C99-based standards] (ilogbl): Likewise.
32912 [non-C99-based standards] (log1pl): Likewise.
32913 [non-C99-based standards] (logbl): Likewise.
32914 [non-C99-based standards] (nextafterl): Likewise.
32915 [non-C99-based standards] (remainderl): Likewise.
32916 [non-C99-based standards] (rintl): Likewise.
32917 [non-C99-based standards] (scalbl): Likewise.
32918 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32919 [non-C99-based standards] (FP_*): Do not allow.
32920 [C99-based standards] (FP_*): Change to
32921 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32922 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32923 allow.
32924 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32925 (SIG_ERR): Likewise.
32926 [X/Open-based standards] (SIG_HOLD): Likewise.
32927 (SIG_IGN): Likewise.
32928 (SIGABRT): Use macro-int-constant. Specify type. Require
32929 positive value.
32930 (SIGFPE): Likewise.
32931 (SIGILL): Likewise.
32932 (SIGINT): Likewise.
32933 (SIGSEGV): Likewise.
32934 (SIGTER): Likewise.
32935 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32936 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32937 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32938 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32939 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32940 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32941 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32942 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32943 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32944 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32945 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32946 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32947 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32948 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32949 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32950 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32951 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32952 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32953 [X/Open-based standards] (SIGTRAP): Likewise.
32954 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32955 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32956 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32957 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32958 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32959 allow.
32960
b9f1922d
IW
329612012-05-08 Ian Wienand <ianw@vmware.com>
32962
32963 [BZ #14080]
32964 * time/tzset.c (__tzset_parse_tz): Update default rules for
32965 daylight time changes in the Energy Policy Act of 2005.
32966
1db86e88
AJ
329672012-05-09 Andreas Jaeger <aj@suse.de>
32968
32969 [BZ #13983]
32970 * elf/ldconfig.c (parse_conf): Change string to make clear that
32971 ldconfig only issued a warning if ld.so.conf does not exist.
32972
dee4a4e3
DM
329732012-05-08 David S. Miller <davem@davemloft.net>
32974
ee0db190
DM
32975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32976 movxtod instead of popping the value on the stack.
32977
dee4a4e3
DM
32978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32979
6a43ec98
CD
329802012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32981
32982 * config.h.in: Add HAVE_ARM_PCS_VFP.
32983
05c2c961
RMG
329842012-05-08 Roland Mc Grath <roland@hack.frob.com>
32985
bcfe3a54
ST
32986 [BZ #13979]
32987 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32988 checking but the checks are disabled for any reason.
05c2c961 32989
4b30f61a
L
329902012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32991
32992 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32993 and ELF64_R_TYPE with ELFW(R_TYPE).
32994
eee2bc67
JM
329952012-05-08 Joseph Myers <joseph@codesourcery.com>
32996
7ea5391a
JM
32997 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32998 (ulimit): Likewise.
32999
eee2bc67
JM
33000 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33001 (settimeofday): Likewise.
33002
abb66a67
MF
330032012-05-08 Mike Frysinger <vapier@gentoo.org>
33004
33005 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33006 a struct th_u2 inside the union, and move tu_block/tu_code into
33007 a new th_u3 union of tu_block/tu_code inside of that. Move
33008 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33009 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33010 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33011 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33012 (th_stuff): Change to th_u1.tu_stuff.
33013 (th_data): Define.
33014 (th_msg): Change to th_u1.th_u2.tu_data.
33015
7f18b530
DM
330162012-05-07 David S. Miller <davem@davemloft.net>
33017
05760585
DM
33018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33019
7f18b530
DM
33020 [BZ #14074]
33021 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33022 (SETUP_PIC_REG): Use it.
33023 (SETUP_PIC_REG_LEAF): Use it.
33024
495fd99f
JM
330252012-05-07 Joseph Myers <joseph@codesourcery.com>
33026
33027 [BZ #13885]
33028 [BZ #13923]
33029 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33030 USE_AS_EXPM1L.
33031 (EXPL_FINITE): Likewise.
33032 (FLDLOG): Likewise.
33033 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33034 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33035 e_expl.S.
33036 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33037 USE_AS_EXPM1L.
33038 (EXPL_FINITE): Likewise.
33039 (FLDLOG): Likewise.
33040 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33041 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33042 e_expl.S.
33043 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33044 test of -max_value argument for long double.
33045 * sysdeps/i386/fpu/libm-test-ulps: Update.
33046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33047
6693d694
DM
330482012-05-06 David S. Miller <davem@davemloft.net>
33049
33050 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33051 quad soft-float symbols whose references which are compiler
33052 generated.
33053 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33054
6c23e11c
JM
330552012-05-06 Joseph Myers <joseph@codesourcery.com>
33056
d8b82cad
JM
33057 [BZ #13884]
33058 [BZ #13914]
33059 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33060 USE_AS_EXP10L.
33061 (EXPL_FINITE): Likewise.
33062 (FLDLOG): Likewise.
33063 (c0): Likewise.
33064 (c1): Likewise.
33065 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33066 Adjust comments for base varying.
33067 (__expl_finite): Change alias to EXPL_FINITE.
33068 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33069 e_expl.S.
33070 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33071 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33072 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33073 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33074 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33075 USE_AS_EXP10L.
33076 (EXPL_FINITE): Likewise.
33077 (FLDLOG): Likewise.
33078 (c0): Likewise.
33079 (c1): Likewise.
33080 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33081 Adjust comments for base varying.
33082 (__expl_finite): Change alias to EXPL_FINITE.
33083 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33084 tests for bugs.
33085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33086
6c23e11c
JM
33087 [BZ #14064]
33088 * math/libm-test.inc (check_float_internal): Correct ulp
33089 calculation for subnormal expected results.
33090
29ba805c
AJ
330912012-05-06 Andreas Jaeger <aj@suse.de>
33092
33093 * Makeconfig (+math-flags): New, set to -frounding-math.
33094 (+cflags): Add +math-flags so that all of glibc gets compiled with
33095 it.
33096
33097 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33098
7b17aeda
JM
330992012-05-05 Joseph Myers <joseph@codesourcery.com>
33100
5779f134
JM
33101 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33102 Disable one test.
33103
41498f4d
JM
33104 [BZ #13787]
33105 [BZ #13922]
33106 [BZ #14036]
33107 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33108 (__ieee754_expl): Allow for and saturate large arguments.
33109 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33110 (u_threshold): Likewise.
33111 (__exp): Call __ieee754_exp before checking for overflow and
33112 underflow.
33113 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33114 (u_threshold): Likewise.
33115 (__expf): Call __ieee754_expf before checking for overflow and
33116 underflow.
33117 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33118 (u_threshold): Likewise.
33119 (__expl): Call __ieee754_expl before checking for overflow and
33120 underflow.
33121 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33122 (__ieee754_expl): Allow for and saturate large arguments.
33123 * math/libm-test.inc (exp_test): Add another test. Do not allow
33124 missing overflow exception on overflow.
33125 (expm1_test): Do not allow missing overflow exception on overflow.
33126
6698b8bf
JM
33127 * sysdeps/i386/fpu/e_expl.c: Move to ...
33128 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33129 rather than using inline asm.
33130 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33131 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33132 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33133
7b17aeda
JM
33134 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33135 (nice): Likewise.
33136 (poll): Likewise.
33137 (signal): Likewise.
33138 (time): Likewise.
33139 (times): Likewise.
33140
f7c85819
JM
331412012-05-04 Joseph Myers <joseph@codesourcery.com>
33142
33143 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33144 sysdeps/unix/common/syscalls.list.
33145 (fchmod): Likewise.
33146 (fchown): Likewise.
33147 (ftruncate): Likewise.
33148 (getrusage): Likewise.
33149 (gettimeofday): Likewise.
33150 (setpgid): Likewise.
33151 (setregid): Likewise.
33152 (setreuid): Likewise.
33153 (sigaction): Likewise.
33154 (truncate): Likewise.
33155 (vhangup): Likewise.
33156 * sysdeps/unix/common/syscalls.list: Remove file.
33157 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33158 * sysdeps/unix/sysv/linux/Implies: Likewise.
33159
336270d0
L
331602012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33161
33162 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33164 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33165 Moved to ...
33166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33167 Here.
33168 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33169 to ...
33170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33171 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33172 to ...
33173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33174 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33175 to ...
33176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33177 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33178 to ...
33179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33180 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33181 to ...
33182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33183 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33184 to ...
33185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33186 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33187 to ...
33188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33189 Here.
33190 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33191 to ...
33192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33193 Here.
33194 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33195 to ...
33196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33197 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33198 Moved to ...
33199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33200 Here.
33201 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33202 to ...
33203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33204
d128e450
JM
332052012-05-04 Joseph Myers <joseph@codesourcery.com>
33206
fa8ee516
JM
33207 * sysdeps/unix/common/bits/dirent.h: Remove file.
33208 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33209
d128e450
JM
33210 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33211 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33212 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33213 * sysdeps/unix/bsd/isatty.c: Likewise.
33214 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33215 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33216 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33217
ff8faaf0 332182012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33219
62881be4 33220 [BZ #13563]
31dc8730
AZ
33221 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33222 long double comparison inaccuracies.
33223 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33225
6fef930c
AS
332262012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33227
33228 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33229 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33230
8f203e6c
JM
332312012-05-04 Joseph Myers <joseph@codesourcery.com>
33232
33233 [BZ #14049]
33234 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33235 nonzero digits before rounding a hex value.
33236 * stdlib/tst-strtod.c (tests): Add another test.
33237
5197d9c2
AK
332382012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33239
33240 * sysdeps/s390/fpu/libm-test-ulps: Update.
33241
f0c1dedf
AJ
332422012-05-03 Andreas Jaeger <aj@suse.de>
33243
33244 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33245 does not get optimized out.
33246 (malloc_opt_barrier): New.
33247
a65ef2ae 332482012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33249 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33250
2b942cb7 33251 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33252 intermediate file deletion.
2b942cb7 33253 (generated): Add .symlist files.
a65ef2ae 33254
54b71e02
JM
332552012-05-03 Joseph Myers <joseph@codesourcery.com>
33256
33257 [BZ #13775]
33258 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33259 Redirect under this condition.
33260 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33261 [__USE_GNU] (__dprintf_chk): Not under this condition.
33262 [__USE_GNU] (__vdprintf_chk): Likewise.
33263 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33264 under this condition.
33265 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33266 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33267 [__USE_XOPEN2K8] (vdprintf): Likewise.
33268 [__USE_GNU] (__dprintf_chk): Not under this condition.
33269 [__USE_GNU] (__vdprintf_chk): Likewise.
33270 [__USE_GNU] (dprintf): Likewise.
33271 [__USE_GNU] (vdprintf): Likewise.
33272
d3dfcc41
RM
332732012-05-03 Roland McGrath <roland@hack.frob.com>
33274
33275 * elf/Makefile (common-generated): Set this instead of generated for
33276 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33277 $(all-built-dso)-derived lists.
33278
7ac30cc5
AJ
332792012-05-03 Andreas Jaeger <aj@suse.de>
33280
0c51e550
AJ
33281 * sysdeps/i386/fpu/libm-test-ulps: Update.
33282
7ac30cc5
AJ
33283 * FAQ: Removed.
33284 * FAQ.in: Likewise.
33285 * scripts/gen-FAQ.pl: Likewise.
33286 * manual/install.texi (Installation): Point to online location of
33287 FAQ.
33288 * Makefile (files-for-dist): Remove FAQ.
33289 (FAQ): Remove.
33290
d4c2917f
AM
332912012-05-02 Allan McRae <allan@archlinux.org>
33292
33293 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33294 (LDFLAGS-reldepmod5.so): Likewise.
33295 (LDFLAGS-reldep6mod1.so): Likewise.
33296 (LDFLAGS-reldep6mod4.so): Likewise.
33297 (LDFLAGS-reldep8mod3.so): Likewise.
33298 (LDFLAGS-unload4mod1.so): Likewise.
33299 (LDFLAGS-unload4mod2.so): Likewise.
33300 (LDFLAGS-tst-initorder): Likewise.
33301 (LDFLAGS-tst-initordera2.so): Likewise.
33302 (LDFLAGS-tst-initordera3.so): Likewise.
33303 (LDFLAGS-tst-initordera4.so): Likewise.
33304 (LDFLAGS-tst-initorderb2.so): Likewise.
33305 (LDFLAGS-noload): Likewise.
33306 (LDFLAGS-next): Likewise.
33307 (LDFLAGS-order2mod1.so): Likewise.
33308 (LDFLAGS-order2mod2.so): Likewise.
33309 (LDFLAGS-tst-initorder2): Likewise.
33310 (LDFLAGS-tst-initorder2a.so): Likewise.
33311 (LDFLAGS-tst-initorder2b.so): Likewise.
33312 (LDFLAGS-tst-initorder2c.so): Likewise.
33313 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33314
d77f993f
DM
333152012-05-02 David S. Miller <davem@davemloft.net>
33316
33317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33318
171a70b4
PP
333192012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33320
33321 [BZ #14055]
33322 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33323
0be196ad
AJ
333242012-05-02 Andreas Jaeger <aj@suse.de>
33325
33326 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33327 since we manipulate rounding mode.
33328 (CPPFLAGS-test-idouble.c): Likewise.
33329 (CPPFLAGS-test-ifloat.c): Likewise.
33330 (CFLAGS-test-ldouble.c): Likewise.
33331 (CFLAGS-test-double.c): Likewise.
33332 (CFLAGS-test-float.c): Likewise.
33333 (CFLAGS-test-misc.c): Likewise.
33334 (CFLAGS-test-test-fenv.c): Likewise.
33335
4f9d04aa
AZ
333362012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33337
2b942cb7
RM
33338 [BZ #2550]
33339 [BZ #2570]
33340 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33341 comparisons to determine direction to adjust input.
4f9d04aa 33342
82a79e7d
RM
333432012-05-01 Roland McGrath <roland@hack.frob.com>
33344
f5a01ca9
RM
33345 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33346 output to the target.
33347
90fe4186
RM
33348 * scripts/localplt.awk: New file.
33349 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33350 (check-localplt-CFLAGS): Variable removed.
33351 ($(all-built-dso:=.jmprel)): New static pattern rule.
33352 (generated): Add those targets.
33353 (localplt-built-dso): New variable.
33354 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33355
33356 * elf/check-localplt.c: File removed.
33357
82397ed6
RM
33358 * scripts/check-execstack.awk: New file.
33359 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33360 (check-execstack-CFLAGS): Variable removed.
33361 ($(objpfx)check-execstack.h): Target removed.
33362 ($(objpfx)execstack-default): New target.
33363 (generated): Add that instead of check-execstack.h.
33364 ($(all-built-dso:=.phdr)): New static pattern rule.
33365 (generated): Add those targets.
33366 * elf/check-execstack.c: File removed.
33367
82a79e7d
RM
33368 * scripts/check-textrel.awk: New file.
33369 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33370 (check-textrel-CFLAGS): Variable removed.
33371 (all-built-dso): Use := to define.o
33372 ($(all-built-dso:=.dyn)): New static pattern rule.
33373 (generated): Add those targets.
33374 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33375 * config.make.in (READELF): New substituted variable.
33376 * elf/check-textrel.c: File removed.
33377
62fde54f 333782012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33379
615605c9
JM
33380 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33381 allow.
33382 * conform/data/ctype.h-data [C99-based standards] (isblank):
33383 Expect function.
33384 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33385 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33386 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33387 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33388 Specify type. Require positive value.
33389 (EILSEQ): Likewise.
33390 (ERANGE): Likewise.
33391 [ISO || POSIX] (EILSEQ): Do not expect.
33392 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33393 Specify type. Require positive value.
33394 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33395 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33396 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33397 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33398 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33399 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33400 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33401 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33402 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33403 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33404 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33405 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33406 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33407 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33408 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33409 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33410 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33411 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33412 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33413 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33414 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33415 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33416 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33417 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33418 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33419 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33420 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33421 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33422 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33423 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33424 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33425 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33426 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33427 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33428 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33429 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33430 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33431 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33432 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33433 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33434 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33435 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33436 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33437 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33438 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33439 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33440 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33441 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33442 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33443 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33444 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33445 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33446 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33447 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33448 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33449 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33450 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33451 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33452 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33453 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33454 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33455 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33456 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33457 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33458 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33459 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33460 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33461 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33462 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33463 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33464 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33465 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33466 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33467 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33468 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33469 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33470 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33471 Require >= 2.
33472 (FLT_ROUNDS): Expect as macro, not constant.
33473 (FLT_MANT_DIG): Use macro-int-constant.
33474 (DBL_MANT_DIG): Likewise.
33475 (LDBL_MANT_DIG): Likewise.
33476 (FLT_DIG): Likewise.
33477 (DBL_DIG): Likewise.
33478 (LDBL_DIG): Likewise.
33479 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33480 (DBL_MIN_EXP): Likewise.
33481 (LDBL_MIN_EXP): Likewise.
33482 (FLT_MAX_EXP): Use macro-int-constant.
33483 (DBL_MAX_EXP): Likewise.
33484 (LDBL_MAX_EXP): Likewise.
33485 (FLT_MAX_10_EXP): Likewise.
33486 (DBL_MAX_10_EXP): Likewise.
33487 (LDBL_MAX_10_EXP): Likewise.
33488 (FLT_MAX): Use macro-constant.
33489 (DBL_MAX): Likewise.
33490 (LDBL_MAX): Likewise.
33491 (FLT_EPSILON): Use macro-constant. Give upper bound.
33492 (DBL_EPSILON): Likewise.
33493 (LDBL_EPSILON): Likewise.
33494 (FLT_MIN): Likewise.
33495 (DBL_MIN): Likewise.
33496 (LDBL_MIN): Likewise.
33497 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33498 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33499 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33500 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33501 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33502 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33503 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33504 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33505 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33506 [ISO11] (FLT_TRUE_MIN): Likewise.
33507 [ISO11] (LDBL_TRUE_MIN): Likewise.
33508 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33509 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33510 (SCHAR_MIN): Use macro-int-constant. Specify type.
33511 (SCHAR_MAX): Likewise.
33512 (UCHAR_MAX): Likewise.
33513 (CHAR_MIN): Likewise.
33514 (CHAR_MAX): Likewise.
33515 (MB_LEN_MAX): Use macro-int-constant.
33516 (SHRT_MIN): Use macro-int-constant. Specify type.
33517 (SHRT_MAX): Likewise.
33518 (USHRT_MAX): Likewise.
33519 (INT_MAX): Likewise.
33520 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33521 bound negative.
33522 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33523 bound with "U".
33524 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33525 bound with "L".
33526 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33527 bound negative. Suffix upper bound with "L".
33528 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33529 bound with "UL".
33530 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33531 Specify type.
33532 [C99-based standards] (LLONG_MAX): Likewise.
33533 [C99-based standards] (ULLONG_MAX): Likewise.
33534 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33535 == 0.
33536 [ISO11] (max_align_t): Require type.
33537 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33538
c9140a62
JM
33539 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33540 from $CFLAGS, without defining away __attribute__ calls.
33541 (checknamespace): Use $CFLAGS_namespace.
33542
9af0bf29
JM
33543 * conform/conformtest.pl (@keywords): Only include C99 keywords
33544 for standards based on C99 or C11.
33545
343222a2
JM
33546 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33547 Disable tests.
33548 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33549 UNIX98]: Likewise.
33550
661f8cf0
JM
33551 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33552 usability of symbols in #if.
33553
ee74b9cb
JM
33554 * conform/conformtest.pl: If macro or constant types start
33555 "promoted:", expect the symbol to be of the following type
33556 promoted by the integer promotions.
62fde54f 33557
aafc49b3
JM
33558 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33559 in one place. Also handle "macro-constant".
33560
fefdf574
JM
33561 * conform/conformtest.pl: Only accept expected macro values with
33562 "==". Parse all "macro" lines in one place.
33563 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33564
f2d922fe
JM
33565 * conform/conformtest.pl: Handle braced types on "constant" lines
33566 instead of handling "typed-constant".
33567 * conform/data/signal.h-data: Use "constant" instead of
33568 "typed-constant".
33569
d22956c9
JM
33570 * conform/conformtest.pl: Handle "optional-" at start of lines in
33571 one place rather than duplicating several cases. Handle each
33572 format of "macro" line with initial "optional-".
33573
028e2e38
JM
33574 * conform/conformtest.pl: Only accept expected constant or
33575 optional-constant values with "==". Parse all "constant" lines in
33576 one place. Parse all "optional-constant" lines in one place.
33577 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33578 * conform/data/fmtmsg.h-data: Likewise.
33579 * conform/data/netinet/in.h-data: Likewise.
33580 * conform/data/tar.h-data: Likewise.
33581 * conform/data/limits.h-data: Use "==" form on "constant" and
33582 "optional-constant" lines.
33583
1b8f2850
JM
33584 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33585 Use -std=c99 for XOPEN2K.
33586 (@knownproblems): Remove.
33587 (newtoken): Don't check %isknown.
33588
a05a144b
JM
33589 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33590 Do not expect macro.
33591 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33592 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33593 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33594 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33595 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33596 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33597 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33598 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33599 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33600 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33601 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33602 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33603 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33604 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33605 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33606 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33607 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33608 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33609 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33610 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33611 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33612 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33614 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33615 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33616 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33617 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33618 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33619 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33620 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33621 [XPG3] (acosh): Likewise.
33622 [XPG3] (asinh): Likewise.
33623 [XPG3] (atanh): Likewise.
33624 [XPG3] (cbrt): Likewise.
33625 [XPG3] (expm1): Likewise.
33626 [XPG3] (ilogb): Likewise.
33627 [XPG3] (log1p): Likewise.
33628 [XPG3] (logb): Likewise.
33629 [XPG3] (nextafter): Likewise.
33630 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33631 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33632 [XPG3] (remainder): Likewise.
33633 [XPG3] (rint): Likewise.
33634 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33635 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33636 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33637 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33638 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33639 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33640 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33641 [UNIX98 || XOPEN2K] (scalb): Expect.
33642 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33643 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33644 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33645 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33646 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33647 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33648 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33649 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33650 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33651 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33652 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33653 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33654 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33655 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33656 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33657 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33658 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33659 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33660 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33661 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33662 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33663 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33664 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33665 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33666 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33667 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33668 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33669 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33670 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33671 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33672 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33673 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33674 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33675 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33676 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33677 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33678 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33679 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33680 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33681 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33682 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33683 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33684 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33685 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33686 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33687 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33688 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33689 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33690 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33691 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33692 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33693 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33694 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33695 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33696 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33697 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33698 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33699 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33700 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33701 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33702 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33703 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33704 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33705 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33706 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33707 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33708 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33709 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33710 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33711 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33712 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33713 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33714 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33715 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33716 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33717 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33718 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33719 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33720 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33721 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33722 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33723 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33724 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33725 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33726 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33727 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33728 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33729 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33730 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33731 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33732 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33733 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33734 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33735 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33736 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33737 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33738 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33739 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33740 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33741 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33742 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33743 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33744 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33745 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33746 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33747 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33748 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33749 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33750 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33751 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33752 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33753 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33754 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33755 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33756 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33757 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33758 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33759 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33760 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33761 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33762 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33763 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33764 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33765 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33766 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33767 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33768 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33769 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33770 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33771 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33772 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33773 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33774 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33775 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33776 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33777 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33778 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33779
73c5ebe3
JM
33780 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33781 _XOPEN_SOURCE_EXTENDED for XPG4.
33782
39c33b6c
JM
33783 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33784
62fde54f
JM
33785 * Makeconfig (localtime): Remove variable.
33786 (inst_localtime-file): Likewise.
33787
0741d64c
AS
337882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33789
33790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33791 Update.
33792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33793 Update.
33794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33795 Update.
33796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33797 Update.
33798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33799 Update.
33800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33801 Update.
33802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33803 Update.
33804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33805 Update.
33806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33807 Update.
33808
7cb029ee
JM
338092012-05-01 Joseph Myers <joseph@codesourcery.com>
33810
33811 [BZ #2550]
33812 [BZ #2570]
33813 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33814 comparisons to determine direction to adjust input.
33815 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33816 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33817 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33818 Likewise.
33819 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33820 Likewise.
33821 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33822 Likewise.
33823 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33824 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33825 Likewise.
33826 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33827 Likewise.
33828 * math/libm-test.inc (nexttoward_test): Add more tests.
33829
412bd966
AS
338302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33831
33832 [BZ #14040]
33833 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33834 in version GLIBC_2.1, not GLIBC_2.0.
33835 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33836 Likewise.
33837
9568c0c2
JM
338382012-04-30 Joseph Myers <joseph@codesourcery.com>
33839
adfbc8ac
JM
33840 [BZ #13942]
33841 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33842 (1 - x) * (1 + x).
33843 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33844 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33845 * math/libm-test.inc (acos_test): Add more tests.
33846 (asin_test): Likewise.
33847 * sysdeps/i386/fpu/libm-test-ulps: Update.
33848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33849
5ba3cc69
JM
33850 [BZ #14034]
33851 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33852 of square root.
33853 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33854 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33855 * math/libm-test.inc (acos_test_tonearest): New function.
33856 (acos_test_towardzero): Likewise.
33857 (acos_test_downward): Likewise.
33858 (acos_test_upward): Likewise.
33859 (asin_test_tonearest): Likewise.
33860 (asin_test_towardzero): Likewise.
33861 (asin_test_downward): Likewise.
33862 (asin_test_upward): Likewise.
33863 (main): Call the new functions.
33864 * sysdeps/i386/fpu/libm-test-ulps: Update.
33865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33866
9568c0c2
JM
33867 [BZ #13884]
33868 [BZ #13924]
33869 * math/e_exp10.c: Include <float.h>.
33870 (__ieee754_exp10): Handle underflow here rather than multiplying
33871 large negative argument by M_LN10.
33872 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33873 of __ieee754_expf.
33874 * math/e_exp10l.c: Include <float.h>.
33875 (__ieee754_exp10l): Handle underflow here rather than multiplying
33876 large negative argument by M_LN10l.
33877 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33878 spurious overflow exception on underflow.
33879
5ac3ea17
MP
338802012-04-29 Marek Polacek <polacek@redhat.com>
33881
33882 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33883 (__fortify_function): New macro.
33884 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33885 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33886 __extern_always_inline.
33887 * libio/bits/stdio2.h: Likewise.
33888 * libio/bits/stdio.h: Likewise.
33889 * string/string.h: Likewise.
33890 * string/bits/string3.h: Likewise.
33891 * include/stdio.h: Likewise.
33892 * stdlib/bits/stdlib.h: Likewise.
33893 * stdlib/stdlib.h: Likewise.
33894 * rt/bits/mqueue2.h: Likewise.
33895 * rt/mqueue.h: Likewise.
33896 * posix/bits/unistd.h: Likewise.
33897 * posix/unistd.h: Likewise.
33898 * io/bits/poll2.h: Likewise.
33899 * io/bits/fcntl2.h: Likewise.
33900 * io/fcntl.h: Likewise.
33901 * io/sys/poll.h: Likewise.
33902 * misc/bits/syslog.h: Likewise.
33903 * misc/bits/syslog-ldbl.h: Likewise.
33904 * misc/sys/syslog.h: Likewise.
33905 * socket/bits/socket2.h: Likewise.
33906 * socket/sys/socket.h: Likewise.
33907 * debug/tst-chk1.c: Likewise.
33908 * wcsmbs/bits/wchar2.h: Likewise.
33909 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33910 * wcsmbs/wchar.h: Likewise.
33911
ecf0ebfb
AJ
339122012-04-29 Andreas Jaeger <aj@suse.de>
33913
33914 * Makerules (tests): Remove enable-check-abi protection.
33915 (check-abi-warn): Remove.
33916 (check-abi-%): Remove check-abi-warn usage.
33917
33918 * configure.in: Remove check-abi configure option.
33919 * configure: Regenerated.
33920 * config.make.in (enable-check-abi): Remove.
33921
6d5c57fa
AS
339222012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33923
24c5d07e 33924 [BZ #14033]
ded5180a
AS
33925 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33926 double functions to double *_finite functions.
33927
7e0d315d
AS
33928 [BZ #13941]
33929 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33930 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33931 LDBL_MIN_EXP.
33932 * stdio-common/Makefile (tests): Add tst-sprintf3.
33933 * stdio-common/tst-sprintf3.c: New file.
33934
6d5c57fa
AS
33935 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33936 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33937
0749ff8b
JM
339382012-04-28 Joseph Myers <joseph@codesourcery.com>
33939
33940 * conform/conformtest.pl: Remove duplicate typed-constant
33941 handling.
33942
8dbd5d7b
DM
339432012-04-28 David S. Miller <davem@davemloft.net>
33944
33945 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33946 (check-abi-%): Remove AWK script prerequisite and explicit
33947 abilist directory.
33948 (check-abi): Rewrite to just diff the symlist with the abilist.
33949 (config-tls, config-abi-config): Delete, no longer used.
33950 (update-abi-%): Remove AWK script and explicit abilist directory.
33951 (update-abi): Rewrite to simply compare and conditionally copy the
33952 symlist and the sysdep abilist file. Remove update-abi-config
33953 checks.
33954 * abilist/ld.abilist: Remove.
33955 * abilist/libBrokenLocale.abilist: Remove.
33956 * abilist/libanl.abilist: Remove.
33957 * abilist/libcrypt.abilist: Remove.
33958 * abilist/libdl.abilist: Remove.
33959 * abilist/librt.abilist: Remove.
33960 * abilist/libthread_db.abilist: Remove.
33961 * abilist/libutil.abilist: Remove.
33962 * scripts/extract-abilist.awk: Remove.
33963 * scripts/merge-abilist.awk: Remove.
33964 * sysdeps/generic/libcidn.abilist: New file.
33965 * sysdeps/generic/libnss_compat.abilist: New file.
33966 * sysdeps/generic/libnss_db.abilist: New file.
33967 * sysdeps/generic/libnss_dns.abilist: New file.
33968 * sysdeps/generic/libnss_files.abilist: New file.
33969 * sysdeps/generic/libnss_hesiod.abilist: New file.
33970 * sysdeps/generic/libnss_nis.abilist: New file.
33971 * sysdeps/generic/libnss_nisplus.abilist: New file.
33972 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33973 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33974 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33975 file.
33976 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33977 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33978 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33979 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33980 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33981 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33982 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33983 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33984 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33985 file.
33986 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33987 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33988 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33989 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33990 file.
33991 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33992 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33993 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33994 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33995 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33996 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33997 file.
33998 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33999 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34000 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34001 file.
34002 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34004 New file.
34005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34006 New file.
34007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34008 New file.
34009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34010 New file.
34011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34012 New file.
34013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34014 New file.
34015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34016 New file.
34017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34018 New file.
34019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34020 New file.
34021 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34022 New file.
34023 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34024 New file.
34025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34026 New file.
34027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34028 New file.
34029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34030 file.
34031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34032 New file.
34033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34034 New file.
34035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34036 file.
34037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34038 New file.
34039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34040 New file.
34041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34042 file.
34043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34044 New file.
34045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34046 New file.
34047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34048 New file.
34049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34050 New file.
34051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34052 New file.
34053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34054 New file.
34055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34057 file.
34058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34059 New file.
34060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34061 file.
34062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34063 file.
34064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34065 file.
34066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34067 file.
34068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34069 file.
34070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34071 New file.
34072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34073 file.
34074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34075 file.
34076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34077 New file.
34078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34079 file.
34080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34082 file.
34083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34084 New file.
34085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34086 file.
34087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34088 file.
34089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34090 file.
34091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34092 file.
34093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34094 file.
34095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34096 New file.
34097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34098 file.
34099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34100 file.
34101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34102 New file.
34103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34104 file.
34105 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34106 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34107 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34108 file.
34109 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34110 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34111 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34112 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34113 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34114 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34115 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34116 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34117 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34118 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34121 file.
34122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34123 New file.
34124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34125 file.
34126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34127 file.
34128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34129 file.
34130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34131 file.
34132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34133 file.
34134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34135 New file.
34136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34137 New file.
34138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34139 file.
34140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34141 New file.
34142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34143 file.
34144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34146 file.
34147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34148 New file.
34149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34150 file.
34151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34152 file.
34153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34154 file.
34155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34156 file.
34157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34158 file.
34159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34160 New file.
34161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34162 New file.
34163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34164 file.
34165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34166 New file.
34167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34168 file.
34169
41d73a1b
JM
341702012-04-28 Joseph Myers <joseph@codesourcery.com>
34171
34172 * conform/conformtest.pl: Fix typo in handling typed-constant from
34173 allow-header.
34174
28aeeda4
JM
341752012-04-27 Joseph Myers <joseph@codesourcery.com>
34176
adae8f5e
JM
34177 * README: Cut down references to pre-2.6 Linux kernels and
34178 Linuxthreads. Update lists of configurations in libc and ports
34179 and sort alphabetically. Say "or newer" with Linux kernel version
34180 requirements.
34181
28aeeda4
JM
34182 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34183
a462cb63
RA
341842012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34185
34186 [BZ #887]
34187 * math/libm-test.inc (logb_test_downward): New test to expose
34188 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34189 rounding mode.
34190
6ad3493e
JM
341912012-04-27 Joseph Myers <joseph@codesourcery.com>
34192
34193 [BZ #14027]
34194 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34195 to be done.
34196 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34197 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34198
2ce4f015
JM
341992012-04-26 Joseph Myers <joseph@codesourcery.com>
34200
5aeb141a
JM
34201 * sysdeps/unix/i386/brk.S: Remove file.
34202 * sysdeps/unix/i386/dl-brk.S: Likewise.
34203 * sysdeps/unix/i386/pipe.S: Likewise.
34204 * sysdeps/unix/i386/sigreturn.S: Likewise.
34205 * sysdeps/unix/i386/syscall.S: Likewise.
34206 * sysdeps/unix/i386/vfork.S: Likewise.
34207 * sysdeps/unix/i386/wait.S: Likewise.
34208
7143acae
JM
34209 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34210 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34211
2ce4f015
JM
34212 * configure.in (arm*-none*): Do not allow without
34213 --enable-hacker-mode.
34214 (netbsd*): Remove case setting base_os.
34215 (386bsd*): Likewise.
34216 (freebsd*): Likewise.
34217 (bsdi*): Likewise.
34218 (osf*): Likewise.
34219 (sunos*): Likewise.
34220 (ultrix*): Likewise.
34221 (newsos*): Likewise.
34222 (dynix*): Likewise.
34223 (*bsd*): Likewise.
34224 (sysv*): Likewise.
34225 (isc*): Likewise.
34226 (esix*): Likewise.
34227 (sco*): Likewise.
34228 (minix*): Likewise.
34229 (irix4*): Likewise.
34230 (irix6*): Likewise.
34231 (solaris[2-9]*): Likewise.
34232 (none): Likewise.
34233 * configure: Regenerated.
34234
0ac229c8
AZ
342352012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34236
34237 [BZ #11521]
34238 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34239 overflow or cancellation in calculating denominator.
34240 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34241 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34242 down expression to avoid unexpected rounding in newer GCCs.
34243 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34244
33f244f4
DM
342452012-04-26 David S. Miller <davem@davemloft.net>
34246
34247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34248 long-double compat symbols.
34249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34262
cfa1f3e8
DM
342632012-04-25 David S. Miller <davem@davemloft.net>
34264
34265 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34266 HWCAP_* values only after the memory barriers have been defined.
34267 (atomic_full_barrier): Define.
34268 (atomic_read_barrier): Define.
34269 (atomic_write_barrier): Define.
34270
6e236b92
SP
342712012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34272
34273 * shlib-versions: Add libgcc_s version information.
34274 * sysdeps/generic/libgcc_s.h: Remove.
34275 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34276 libgcc_s.h.
34277 * sysdeps/gnu/unwind-resume.c: Likewise.
34278 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34279
aab39a09
DM
342802012-04-25 David S. Miller <davem@davemloft.net>
34281
34282 * sysdeps/unix/sparc/brk.S: Delete.
34283 * sysdeps/unix/sparc/dl-brk.S: Delete.
34284 * sysdeps/unix/sparc/pipe.S: Delete.
34285 * sysdeps/unix/sparc/sysdep.S: Delete.
34286 * sysdeps/unix/sparc/sysdep.h: Delete.
34287 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34288 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34289 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34290 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34291 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34292 (JUMPTARGET): Remove.
34293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34294 sysdeps/unix/sparc/sysdep.h
34295 (ENTRY, END): Remove.
34296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34297
a3cc4f48
JM
342982012-04-25 Joseph Myers <joseph@codesourcery.com>
34299
2ed8cda2
JM
34300 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34301 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34302 -DIS_IN_build.
34303
35d76d59
JM
34304 * timezone/README: Update upstream location and email address for
34305 tzcode and tzdata.
34306 * timezone/zdump.c: Update from tzcode 2012b.
34307 * timezone/zic.c: Likewise.
34308
a3cc4f48
JM
34309 * configure.in (libc_cv_as_needed): Remove test.
34310 * configure: Regenerated.
34311 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34312 conditional definition.
34313 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34314 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34315 * config.make.in (have-as-needed): Remove variable.
34316
ceab42c3
SP
343172012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34318 Paul Pluzhnikov <ppluzhnikov@google.com>
34319
34320 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34321 strings correctly.
34322
3ce2865f
CLT
343232012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34324
34325 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34326 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34327 * sysdeps/sh/strlen.S: Likewise.
34328
f37e0d68
JM
343292012-04-24 Joseph Myers <joseph@codesourcery.com>
34330
ae186e9a
JM
34331 * sysdeps/unix/fork.S: Remove file.
34332 * sysdeps/unix/i386/fork.S: Likewise.
34333 * sysdeps/unix/sparc/fork.S: Likewise.
34334
b96914af
JM
34335 * sysdeps/unix/system.c: Remove file.
34336 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34337
f37e0d68
JM
34338 * sysdeps/unix/getegid.S: Remove file.
34339 * sysdeps/unix/geteuid.S: Likewise.
34340
87ef29ca
RM
343412012-04-24 Roland McGrath <roland@hack.frob.com>
34342
83bcd236
RM
34343 * scripts/check-localplt.awk: New file.
34344 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34345 of diff.
34346 * scripts/data/localplt-generic.data: Add a comment.
34347
87ef29ca
RM
34348 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34349 NODE when __dir_mkfile failed.
34350 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34351 Reported by Ludovic Courtès <ludo@gnu.org>.
34352
e5a6e567
AJ
343532012-04-24 Andreas Jaeger <aj@suse.de>
34354
34355 * Makerules (common-clean): Also remove gen-as-const-headers
34356 files.
34357
c1820385
JM
343582012-04-24 Joseph Myers <joseph@codesourcery.com>
34359
34360 * Makerules (native-compile): Do not change working directory for
34361 build. Use $(OUTPUT_OPTION) in command.
34362 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34363
94e02fc4
AZ
343642012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34365
34366 [BZ #13886]
34367 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34368 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34369 * math/libm-test.inc (floor_test): Add more tests.
34370 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34371
3a533ca3
JM
343722012-04-24 Joseph Myers <joseph@codesourcery.com>
34373
940ab4b3
JM
34374 * sysdeps/unix/getdents.c: Remove file.
34375 * sysdeps/unix/sysv/getdents.c: Likewise.
34376 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34377
90e037bd
JM
34378 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34379 sysdeps/unix/mman/syscalls.list.
34380 (mmap): Likewise.
34381 (mprotect): Likewise.
34382 (msync): Likewise.
34383 (munmap): Likewise.
34384 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34385 * sysdeps/unix/mman/syscalls.list: Remove.
34386 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34387
3a533ca3
JM
34388 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34389 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34390 * configure: Regenerated.
34391 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34392 $(libgcc_s_suffix).
34393 * config.make.in (libgcc_s_suffix): Remove variable.
34394
1ad743de
JM
343952012-04-23 Joseph Myers <joseph@codesourcery.com>
34396
4ad451e2
JM
34397 * sysdeps/unix/sysv/gethostname.c: Move to ...
34398 * sysdeps/posix/gethostname.c: ... here.
34399
5e37ce39
JM
34400 * sysdeps/unix/execve.S: Remove file.
34401
1ad743de
JM
34402 * sysdeps/unix/_exit.S: Remove file.
34403
4e681b5b
AJ
344042012-04-23 Andreas Jaeger <aj@suse.de>
34405
34406 [BZ #13739]
34407 * manual/Makefile: Remove make dist support, there's no
34408 need for a stand-alone documentation tar ball.
34409 (TEXI2DVI): Define always, it's not in Makeconfig.
34410 (dist): Removed.
34411 (tar-it): Removed.
34412 (edition): Removed.
34413 (glibc-doc-$(edition).tar): Removed
34414 (%.Z): Removed.
34415 (%.gz): Removed.
34416 (%.uu): Removed.
34417 (ETAGS): Remove, it's in Makeconfig.
34418 (move-if-change): Remove, it's in Makeconfig.
34419
38686a03 344202012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34421
34422 [BZ #13970]
34423 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34424 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34425 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34426 (strtod_l, strtof_l, strtold_l): Remove __wur.
34427 It is not necessarily an error to ignore strtol's return value.
34428 One can reliably look at the stored endptr to decide whether
34429 the number had valid syntax.
34430
7c0616fa
AJ
344312012-04-21 Andreas Jaeger <aj@suse.de>
34432
803cb6b7 34433 [BZ #13739]
7c0616fa
AJ
34434 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34435
b0fe253f
JM
344362012-04-21 Joseph Myers <joseph@codesourcery.com>
34437
34438 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34439 * sysdeps/unix/sysv/Versions: Remove file.
34440
8280f22d
MT
344412012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34442
34443 [BZ #13927]
34444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34445
75ce411f 344462012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34447
34448 [BZ #7064]
34449 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34450 version from __vm86.
34451
097d59fa
JM
344522012-04-20 Joseph Myers <joseph@codesourcery.com>
34453
a90f3bcb
JM
34454 * sysdeps/unix/common/lxstat.c: Remove file.
34455 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34456
edc7ea78
JM
34457 * sysdeps/unix/sysv/Makefile: Remove file.
34458
cb78c221
JM
34459 * sysdeps/unix/sysv/direct.h: Remove file.
34460
efa6a45f
JM
34461 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34462 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34463 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34464 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34465 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34466 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34467 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34468
9c9f2d0c
JM
34469 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34470
4541c83b
JM
34471 * sysdeps/unix/xmknod.c: Remove file.
34472 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34473
f5d153a0
JM
34474 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34475
aa746595
JM
34476 * sysdeps/unix/sysv/i386/time.S: Remove file.
34477
cce5905e
JM
34478 * sysdeps/unix/fxstat.c: Remove file.
34479 * sysdeps/unix/xstat.c: Likewise.
34480 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34481
37fa3841
JM
34482 * sysdeps/unix/sysv/sigaction.c: Remove file.
34483
ff1962a3
JM
34484 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34485 (sysdep_headers): Remove variable.
34486 [termio.h not in sysdep_headers] (generated): Likewise.
34487 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34488 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34489 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34490 * sysdeps/unix/sysv/tcflow.c: Likewise.
34491 * sysdeps/unix/sysv/tcflush.c: Likewise.
34492 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34493 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34494 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34495 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34496 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34497
e7740d31
JM
34498 * sysdeps/unix/siglist.c: Remove file.
34499
ee06f18b
JM
34500 * sysdeps/unix/getppid.S: Remove file.
34501
097d59fa
JM
34502 * sysdeps/unix/mkdir.c: Remove file.
34503 * sysdeps/unix/rmdir.c: Likewise.
34504
ff3d51ec
AS
345052012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34506
34507 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34508 ERR_MAX value.
34509 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34510 errlist-compat value.
34511
50f81fd7
DM
345122012-04-18 David S. Miller <davem@davemloft.net>
34513
34514 * sysdeps/generic/memcopy.h (reg_char): Delete.
34515 * debug/strcat_chk.c: Use char, not reg_char.
34516 * debug/strcpy_chk.c: Likewise.
34517 * debug/strncat_chk.c: Likewise.
34518 * debug/strncpy_chk.c: Likewise.
34519 * string/memchr.c: Likewise.
34520 * string/memrchr.c: Likewise.
34521 * string/rawmemchr.c: Likewise.
34522 * string/strcat.c: Likewise.
34523 * string/strchr.c: Likewise.
34524 * string/strchrnul.c: Likewise.
34525 * string/strcmp.c: Likewise.
34526 * string/strcpy.c: Likewise.
34527 * string/strncat.c: Likewise.
34528 * string/strncmp.c: Likewise.
34529 * string/strncpy.c: Likewise.
34530
8ff41c46
WS
345312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34532
34533 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34534 __builtin_memcopy is called when src and dest ranges are known to not
34535 overlap.
34536
6b652f46
WS
345372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34538
34539 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34540 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34541 fwd_align_merge macro call.
34542 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34543 bwd_align_merge macro call.
34544 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34545
b282631e
WS
345462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34547
34548 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34549 bwd_align_merge macros.
34550 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34551 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34552 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34553
95aa737c
DM
345542012-04-18 David S. Miller <davem@davemloft.net>
34555
34556 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34557
7a99a614
AJ
345582012-04-18 Andreas Jaeger <aj@suse.de>
34559
34560 [BZ# 6794]
34561 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34562 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34563 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34564
34565 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34566 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34567 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34568
34569 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34570 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34571 Adjust for changed ldbl-128 files.
34572
34573 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34574 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34575 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34576
e5270c23
DM
345772012-04-17 David S. Miller <davem@davemloft.net>
34578
34579 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34580
fb5e92c9
AS
345812012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34582
34583 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34584 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34585 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34586 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34587 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34588 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34589
76da7265
AZ
345902012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34591
34592 [BZ #6794]
34593 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34594 * math/libm-test.inc: Add ilogb errno and exception tests.
34595 * math/w_ilogb.c: New file: ilogb wrapper.
34596 * math/w_ilogbf.c: New file: ilogbf wrapper.
34597 * math/w_ilogbl.c: New file: ilogbl wrapper.
34598 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34599 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34600 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34601 exception being thrown with 0.0 as argument.
34602 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34603 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34604 exception being thrown with 0.0 as argument.
34605 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34606 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34607 exception being thrown with 0.0 as argument.
34608 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34609 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34610 exception being thrown with 0.0 as argument.
34611 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34612 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 34613 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
34614 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34615 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34616 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34617 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34618 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34619 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34620
0396e69d
PB
346212012-04-17 Petr Baudis <pasky@ucw.cz>
34622
34623 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34624 with altivec.
34625
750b5926
MP
346262012-04-16 Marek Polacek <polacek@redhat.com>
34627
34628 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34629
751728a1
MP
346302012-04-16 Marek Polacek <polacek@redhat.com>
34631
34632 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34633 operands of fdivp instruction.
34634
34a27407
L
346352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34636
34637 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34638 * elf/tst-auditmod3b.c: Likewise.
34639 * elf/tst-auditmod4b.c: Likewise.
34640 * elf/tst-auditmod5b.c: Likewise.
34641 * elf/tst-auditmod6b.c: Likewise.
34642 * elf/tst-auditmod6c.c: Likewise.
34643 * elf/tst-auditmod7b.c: Likewise.
34644 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34645 * sysdeps/x86_64/preconfigure.in: Likewise.
34646 * sysdeps/x86_64/preconfigure: Regenerated.
34647
7e73e17d
L
346482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34649
34650 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34651 __ILP32__.
34652
c7a6ab72
AB
346532012-04-13 Antoine Balestrat <merkil33@gmail.com>
34654
34655 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34656 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34657
a9e8e0e0
CL
346582012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34659
34660 [BZ #13973]
34661 * locale/iso-639.def: Fix gl language name. Spotted by
34662 Yaron Shahrabani.
34663
ec98af7d
RM
346642012-04-12 Roland McGrath <roland@hack.frob.com>
34665
34666 [BZ #2074]
34667 * libio/libio.h (__io_write_fn): Update comment.
34668
247c3ede
PB
346692012-04-12 Petr Baudis <pasky@ucw.cz>
34670
34671 [BZ #2074]
34672 * stdio.texi (Hook Functions): The user provided writer function
34673 is not allowed to return -1.
34674
55939d6d
DM
346752012-04-11 David S. Miller <davem@davemloft.net>
34676
34677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34678
90020f5a
MF
346792012-04-11 Mike Frysinger <vapier@gentoo.org>
34680
34681 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34682 Add a leading slash to rtkaio.
34683
288f9098
JM
346842012-04-11 Jim Meyering <meyering@redhat.com>
34685
90020f5a
MF
34686 [BZ #11959]
34687 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34688 It is not necessarily an error to ignore fwrite's return
34689 value. One can reliably use ferror to test for errors after
34690 the fact.
288f9098 34691
4be2b570
L
346922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34693
34694 * bits/types.h (__snseconds_t): New type.
34695 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34696
34697 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34698 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34699 (__SNSECONDS_T_TYPE): Likewise.
34700 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34701 (__SNSECONDS_T_TYPE): Likewise.
34702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34703 (__SNSECONDS_T_TYPE): Likewise.
34704
288f9098 347052012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34706
34707 [BZ #2636]
34708 * manual/time.texi (Processor Time): Return type of times is
34709 elapsed real time since an arbitrary point in the past.
34710 (CPU Time): Move CLK_TCK from here...
34711 (Processor Time): ...to here. Correct description.
34712 * manual/conf.texi (Constants for Sysconf): Correct description of
34713 _SC_CLK_TCK.
34714
d7dd4413
DM
347152012-04-10 David S. Miller <davem@davemloft.net>
34716
34717 [BZ #13967]
34718 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34719 where the is a gap between DT_REL(A) and DT_JMPREL.
34720
b46068fc
L
347212012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34722
34723 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34724 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34725 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34726
73d65cc3
SP
347272012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34728
34729 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34730 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34731 (dl_main): Handle --inhibit-cache.
34732 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34733 _dl_inhibit_cache.
34734 * elf/dl-load.c (_dl_map_object): Use it.
34735 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34736
bcc8d661
JM
347372012-04-09 Joseph Myers <joseph@codesourcery.com>
34738
8f9a2fae
JM
34739 [BZ #13872]
34740 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34741 (__ieee754_powl): Saturate large exponents rather than testing for
34742 overflow of y*log2(x).
34743 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34744 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34745 exceptions.
34746
bcc8d661
JM
34747 [BZ #11521]
34748 * math/s_ctan.c: Include <float.h>.
34749 (__ctan): Avoid internal overflow or cancellation in calculating
34750 denominator.
34751 * math/s_ctanf.c: Likewise.
34752 * math/s_ctanl.c: Likewise.
34753 * math/s_ctanh.c: Likewise.
34754 * math/s_ctanhf.c: Likewise.
34755 * math/s_ctanhl.c: Likewise.
34756 * math/libm-test.inc (ctan_test): Add more tests.
34757 (ctanh_test): Likewise.
34758 * sysdeps/i386/fpu/libm-test-ulps: Update.
34759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34760
823fbbb4
AJ
347612012-04-09 Andreas Jaeger <aj@suse.de>
34762
03879793
AJ
34763 [BZ #6894]
34764 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34765 is an optional BSD extension.
34766
823fbbb4
AJ
34767 [BZ #10254]
34768 * manual/stdio.texi (Opening Streams): Document additional fopen
34769 parameters.
34770
8de131cb
RM
347712012-04-09 Roland McGrath <roland@hack.frob.com>
34772
34773 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34774 %eax without telling the compiler.
34775
c0ed9d7d
CD
347762012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34777
34778 [BZ # 13963]
34779 * manual/install.texi: Use sourceware.org.
34780
c483f6b4
JM
347812012-04-09 Joseph Myers <joseph@codesourcery.com>
34782
d7dd9453
JM
34783 [BZ #13873]
34784 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34785 (__ieee754_pow): Generate overflow and underflow using huge*huge
34786 and tiny*tiny rather than just returning constant infinity or zero
34787 for large exponents.
34788 * math/libm-test.inc (pow_test): Require overflow exceptions for
34789 applicable cases of large exponents.
34790
c483f6b4
JM
34791 [BZ #706]
34792 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34793 (__ieee754_pow): Use iterative multiplication algorithm only for
34794 integer exponents with absolute value below 1024. Check for odd
34795 integer exponents when using algorithm for real exponents.
34796 * math/libm-test.inc (pow_test): Add more tests.
34797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34798
d2de7579
JM
347992012-04-08 Joseph Myers <joseph@codesourcery.com>
34800
34801 [BZ #13705]
34802 * math/libm-test.inc (exp_test): Do not allow overflow exception
34803 on underflow test.
34804
f77f1232
AJ
348052012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34806
34807 [BZ #13705]
34808 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34809 instead of __kernel_standard_f.
34810
3884932b
MF
348112012-04-08 Mike Frysinger <vapier@gentoo.org>
34812
34813 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34814 * sysdeps/x86_64/memset_chk.S: Likewise.
34815
54472e9c
AJ
348162012-04-08 Andreas Jaeger <aj@suse.de>
34817
6ab0fbfc
AJ
34818 [BZ #10153]
34819 * manual/startup.texi (Environment Access): Describe return value
34820 for putenv and setenv.
34821
61efba8c
AJ
34822 [BZ #6895]
34823 * manual/filesys.texi (Directory Entries): Add description for
34824 DT_LNK.
34825
95c3f29a
AJ
34826 [BZ #6890]
34827 * manual/filesys.texi (Directory Entries): Clarify that it's file
34828 system not operating system in the description of DT_UNKNOWN.
34829
54472e9c
AJ
34830 [BZ #6578]
34831 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34832
624254b1
SC
348332012-04-08 Stephen Compall <s11@member.fsf.org>
34834
34835 [BZ #6649]
34836 * manual/llio.texi (Opening and Closing Files): Add cross
34837 reference to explain mode argument.
34838
1e4920e0
MF
348392012-04-07 Mike Frysinger <vapier@gentoo.org>
34840
34841 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34842 * sysdeps/x86_64/memset_chk.S: Likewise.
34843
5ed848f3
DM
348442012-04-07 David S. Miller <davem@davemloft.net>
34845
34846 * elf/elf.h (R_SPARC_WDISP10): Define.
34847 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34848 R_SPARC_SIZE32.
34849 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34850 R_SPARC_SIZE64 and R_SPARC_H34.
34851
96154cd8
CD
348522012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34853
34854 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34855 conditions and remove no longer applicable assertion.
34856
9904dc47
L
348572012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34858
34859 * bits/byteswap.h: Include <features.h>.
34860 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34861 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34862
f8887d0a
L
348632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34864
34865 * bits/byteswap.h (__bswap_16): Removed.
34866 Include <bits/byteswap-16.h> to get __bswap_16.
34867 * sysdeps/i386/bits/byteswap.h: Likewise.
34868 * sysdeps/s390/bits/byteswap.h: Likewise.
34869 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34870 * bits/byteswap-16.h: New file.
34871 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34872 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34873 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34874 * string/Makefile (headers): Add bits/byteswap-16.h.
34875
62470f60
PP
348762012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34877
34878 [BZ #13895]
34879 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34880 extra indirection.
34881 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34882 * nss/tst-nss-static.c: New.
34883
4dad7bab
RM
348842012-04-06 Robert Millan <rmh@gnu.org>
34885
34886 [BZ #6486]
34887 * manual/llio.texi (File Position Primitive): lseek
34888 refers to WHENCE when it really means OFFSET.
34889
e9142a17
AJ
348902012-04-06 Andreas Jaeger <aj@suse.de>
34891
2c040eff
AJ
34892 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34893 strncmp declarations.
34894
e9142a17
AJ
34895 * abilist/libc.abilist: Add __poll and __ppoll.
34896
ff9f1c5f
DM
348972012-04-05 David S. Miller <davem@davemloft.net>
34898
dcd2ae90
DM
34899 * scripts/check-local-headers.sh: Accept a host triplet in the
34900 path matched by the exclude regexp.
34901
993eb054
DM
34902 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34903 definition.
34904 * sysdeps/powerpc/powerpc32/dl-machine.h
34905 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34906 * sysdeps/s390/s390-32/dl-machine.h
34907 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34908 * sysdeps/sparc/sparc32/dl-machine.h
34909 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34910 * sysdeps/sparc/sparc64/dl-machine.h
34911 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34912
ff9f1c5f
DM
34913 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34914 lazy binding.
48e2e132 34915 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34916 undefined symbol errors.
34917
48e2e132 34918 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34919 DT_NEEDED entries.
34920
e80d6f94
MM
349212012-04-05 Michael Matz <matz@suse.de>
34922
34923 [BZ #13592]
34924 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34925
349fa79f
AJ
349262012-04-05 Andreas Jaeger <aj@suse.de>
34927
34928 [BZ #13908]
34929 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34930 comment.
34931
f402708f
KK
349322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34933
34934 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34935 which ROUND is no valid rounding mode.
34936
2ecccfc9
KK
349372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34938
34939 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34940 read again.
34941 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34942
8a53f50f
KK
349432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34944
34945 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34946 an exception using FPU order intentionally.
34947
349482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34949
34950 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34951 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34952 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34953 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34954
d653abb7
SJ
349552012-04-05 Simon Josefsson <simon@josefsson.org>
34956
34957 [BZ #12340]
34958 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34959 EINVAL when BUFLEN is too smal.
34960
c3b1bf7d
TS
349612012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34962
34963 [BZ #13553]
34964 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34965 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34966
b1aa60f3
AJ
349672012-04-03 Andreas Jaeger <aj@suse.de>
34968
c3b1bf7d 34969 [BZ #13938]
67f60a26
AJ
34970 * manual/setjmp.texi (System V contexts): Fix sentence.
34971
b1aa60f3
AJ
34972 [BZ #13926]
34973 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34974 New macro for this case.
34975 [!__GNUC__] (__bswap_64): New inline function for this case.
34976 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34977 * bits/byteswap.h: Likewise.
34978 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34979 ull, guard with __GLIBC_HAVE_LONG_LONG.
34980
34981 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34982 __GLIBC_HAVE_LONG_LONG.
34983
34984 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34985 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34986
39c59c35
TMQMF
349872012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34988
34989 [BZ #13691]
34990 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34991 inptr and inend, rather than using last_ch.
34992
135ffda8
DM
349932012-04-02 David S. Miller <davem@davemloft.net>
34994
34995 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34996 * stdio-common/printf-parse.h (read_int): Change return type to
34997 'int', return -1 on INT_MAX overflow.
34998 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34999 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35000 overflows INT_MAX. Check for overflow of in-format-string precision
35001 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35002 SIZE_MAX not INT_MAX for integer overflow test.
35003 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35004 skip the construct in the format string but do not record anything.
35005 * stdio-common/bug22.c: Adjust to test both width/prevision
35006 INT_MAX overflow as well as total length INT_MAX overflow. Check
35007 explicitly for proper errno values.
35008
228c019e
TS
350092012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35010
302cadd3
TS
35011 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35012 CHAR_MAX.
35013 * string/test-strcmp.c [! WIDE]: Likewise.
35014 * time/tst-mktime2.c: Likewise for INT_MAX.
35015 * string/test-string.h: #include <sys/param.h> for MIN.
35016
228c019e
TS
35017 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35018 * sysdeps/i386/init-first.c (init): Likewise.
35019 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35020 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35021 * sysdeps/sh/init-first.c (init): Likewise.
35022
cfa633f5
UD
350232012-04-01 Ulrich Drepper <drepper@gmail.com>
35024
35025 * po/ru.po: Update from translation team.
d1635ef8 35026 * po/vi.po: Likewise.
cfa633f5 35027
6cd0a5ea
SP
350282012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35029
35030 * resolv/nss_dns/dns-host.c: Merge copyright years.
35031
4b43400f
LD
350322012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35033
35034 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35035 Optimize memcpy with prefetch if
35036 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35037 src, dst pointers have unequal 16 byte alignments.
35038
48c41d04
SP
350392012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35040
35041 [BZ #13928]
35042 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35043 from a CNAME entry and return the minimum ttl for the query.
35044 (gaih_getanswer_slice): Likewise.
35045
b8dc394d
JL
350462012-03-30 Jeff Law <law@redhat.com>
35047
35048 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35049 due to long keys.
35050 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35051 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35052
2f5a5ed0
JL
35053 * resolv/nss_dns/dns-host.c: Update copyright year.
35054
1d39e359
UD
350552012-03-30 Ulrich Drepper <drepper@gmail.com>
35056
c030f70c 35057 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 35058 requests to save a system call. Fix check that all bytes are sent.
c030f70c 35059
1d39e359
UD
35060 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35061 comments for sendmmsg.
35062
350632012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
35064
35065 [BZ #13691]
35066 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35067 with only 1 character between 0x0041 and 0x01b0.
35068 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35069 * wcsmbs/tst-mbsnrtowcs.c: New file.
35070
20fde227
DM
350712012-03-29 David S. Miller <davem@davemloft.net>
35072
35073 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35074 small copies by hand.
35075
984a4237
JL
350762012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35077
35078 [BZ #13761]
57f41c40
AS
35079 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35080 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35081 group memberships.
984a4237 35082
18c9d62b
DM
350832012-03-28 David S. Miller <davem@davemloft.net>
35084
88d85d4f
DM
35085 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35086 that branches into memcpy.
35087 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35088 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35090 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35092 bits.
35093 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35094 implementation too.
35095 * sysdeps/sparc/mempcpy.S: New file.
35096
e5aa83e1
DM
35097 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35098 the IFUNC routine in the libc case.
35099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35100
88570753
DM
35101 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35102 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35103 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35104 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35105 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35106 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35107 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35108 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35109
249d7567
DM
35110 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35111 loop to 256 bytes instead of 64 bytes and fix test signedness.
35112
18c9d62b
DM
35113 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35114 * sysdeps/sparc/sparc32/Makefile: rather than here...
35115 * sysdeps/sparc/sparc64/Makefile: and here.
35116
05f3d1f6
UD
351172012-03-28 Ulrich Drepper <drepper@gmail.com>
35118
35119 * malloc/mallocbug.c: Avoid warnings about unused variables.
35120
86ae07a8
JL
351212012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35122
35123 [BZ #13760]
35124 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35125 in the right place. Discard and retry query if response is
35126 larger than input buffer size.
35127
41bf21a1
JM
351282012-03-28 Joseph Myers <joseph@codesourcery.com>
35129
d6270972
JM
35130 [BZ #369]
35131 [BZ #2678]
35132 [BZ #3866]
35133 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35134 x for large integer exponent.
35135 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35136 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35137 sign of result as needed afterwards.
35138 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35139 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35140 result for underflowing pow the same as for overflow.
35141 (__kernel_standard_l): Handle powl overflow and underflow here
35142 rather than calling __kernel_standard.
35143 * math/libm-test.inc (pow_test): Add more tests.
35144
414fca03 35145 [BZ #3868]
41bf21a1
JM
35146 [BZ #13879]
35147 [BZ #13910]
35148 [BZ #13911]
35149 [BZ #13912]
35150 [BZ #13913]
35151 [BZ #13915]
35152 [BZ #13916]
35153 [BZ #13917]
35154 [BZ #13918]
35155 [BZ #13919]
35156 [BZ #13920]
35157 [BZ #13921]
35158 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35159 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35160 (__kernel_standard_l): New function.
35161 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35162 __kernel_standard.
35163 * math/w_acosl.c (__acosl): Likewise.
35164 * math/w_asinl.c (__asinl): Likewise.
35165 * math/w_atan2l.c (__atan2l): Likewise.
35166 * math/w_atanhl.c (__atanhl): Likewise.
35167 * math/w_coshl.c (__coshl): Likewise.
35168 * math/w_exp10l.c (__exp10l): Likewise.
35169 * math/w_exp2l.c (__exp2l): Likewise.
35170 * math/w_fmodl.c (__fmodl): Likewise.
35171 * math/w_hypotl.c (__hypotl): Likewise.
35172 * math/w_j0l.c (__j0l, __y0l): Likewise.
35173 * math/w_j1l.c (__j1l, __y1l): Likewise.
35174 * math/w_jnl.c (__jnl, __ynl): Likewise.
35175 * math/w_lgammal.c (__lgammal): Likewise.
35176 * math/w_log10l.c (__log10l): Likewise.
35177 * math/w_log2l.c (__log2l): Likewise.
35178 * math/w_logl.c (__logl): Likewise.
35179 * math/w_powl.c (__powl): Likewise.
35180 * math/w_remainderl.c (__remainderl): Likewise.
35181 * math/w_scalbl.c (sysv_scalbl): Likewise.
35182 * math/w_sinhl.c (__sinhl): Likewise.
35183 * math/w_sqrtl.c (__sqrtl): Likewise.
35184 * math/w_tgammal.c (__tgammal): Likewise.
35185 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35186 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35187 * math/libm-test.inc (acos_test): Add more tests.
35188 (acosh_test): Likewise.
35189 (asin_test): Likewise.
35190 (atanh_test): Likewise.
35191 (exp_test): Likewise.
35192 (exp10_test): Likewise.
35193 (exp2_test): Likewise.
35194 (expm1_test): Likewise.
35195 (lgamma_test): Likewise.
35196 (log_test): Likewise.
35197 (log10_test): Likewise.
35198 (log1p_test): Likewise.
35199 (log2_test): Likewise.
35200 (pow_test): Do not allow some spurious overflow exceptions.
35201 (sqrt_test): Add more tests.
35202 (tgamma_test): Likewise.
35203 (y0_test): Likewise.
35204 (y1_test): Likewise.
35205 (yn_test): Likewise.
35206
dd62fda6
AB
352072012-03-27 Anton Blanchard <anton@samba.org>
35208
35209 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35210 MAP_HUGETLB.
35211 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35212 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35213 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35214
1e3cdfda
AJ
352152012-03-27 David S. Miller <davem@davemloft.net>
35216
b855ab85
DM
35217 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35218
1e3cdfda
AJ
35219 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35220 have-as-vis3 check.
35221
352222012-03-27 Andreas Jaeger <aj@suse.de>
35223
35224 * sysdeps/x86_64/elf/configure.in: Moved to ...
35225 * sysdeps/x86_64/configure.in: ... here.
35226 * sysdeps/x86_64/elf/start.S: Moved to ...
35227 * sysdeps/x86_64/start.S: ... here.
35228 * sysdeps/x86_64/elf/configure: Delete.
35229
35230 * sysdeps/x86_64/configure.in: Merge contents from
35231 sysdeps/i386/configure.in (without i686 check).
35232
35233 * sysdeps/i386/elf/Versions: Merge into ...
35234 * sysdeps/i386/Versions: ... this.
35235 * sysdeps/i386/elf/Versions: Delete file.
35236 * sysdeps/i386/elf/start.S: Moved to ...
35237 * sysdeps/i386/start.S: ...here.
35238 * sysdeps/i386/elf/configure.in: Merge into...
35239 * sysdeps/i386/configure.in: ...here.
35240 * sysdeps/i386/elf/configure.in: Delete file.
35241 * sysdeps/i386/elf/configure: Delete file.
35242
35243 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35244 * debug/backtracesyms.c: ... here.
35245 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35246 * debug/backtracesymsfd.c: ... here.
35247 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35248 * sysdeps/generic/ifunc-sel.h: ... here.
35249
35250 * sysdeps/unix/i386/start.c: Delete file.
35251 * sysdeps/unix/sparc/start.c: Delete file.
35252 * sysdeps/unix/start.c: Delete file.
35253
35254 * sysdeps/sh/elf/configure.in: Moved to ...
35255 * sysdeps/sh/configure.in: ... here.
35256 * sysdeps/sh/elf/start.S: Moved to ...
35257 * sysdeps/sh/start.S: ... here.
35258 * sysdeps/sh/elf/configure: Delete file.
35259
35260 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35261 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35262 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35263 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35264 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35265 * sysdeps/powerpc/powerpc64/start.S: here.
35266 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35267 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35268 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35269 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35270 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35271
35272 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35273 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35274 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35275 * sysdeps/powerpc/powerpc32/start.S: ... here.
35276 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35277 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35278 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35279
35280 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35281 * sysdeps/powerpc/ifunc-sel.h: ... here.
35282 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35283 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35284
35285 * sysdeps/sparc/elf/configure.in: Moved to ...
35286 * sysdeps/sparc/configure.in: ... here.
35287 * sysdeps/sparc/elf/configure: Delete file.
35288 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35289 * sysdeps/sparc/sparc32/start.S: ... here.
35290 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35291 * sysdeps/sparc/sparc64/start.S: ... here.
35292 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35293 * sysdeps/sparc/sparc32/Makefile: ... this.
35294 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35295 * sysdeps/sparc/sparc64/Makefile: ... this.
35296
35297 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35298 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35299 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35300 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35301 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35302 * sysdeps/s390/s390-32/setjmp.S: ... here.
35303 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35304 * sysdeps/s390/s390-32/configure.in: ... here.
35305 * sysdeps/s390/s390-32/elf/configure: Delete file.
35306 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35307 * sysdeps/s390/s390-32/start.S: ... here.
35308
35309 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35310 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35311 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35312 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35313 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35314 * sysdeps/s390/s390-64/setjmp.S: ... here.
35315 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35316 * sysdeps/s390/s390-64/configure.in: ... here
35317 * sysdeps/s390/s390-64/elf/configure: Delete file.
35318 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35319 * sysdeps/s390/s390-64/start.S: ... here.
35320 * sysdeps/s390/s390-64/elf/configure: Delete.
35321
35322 * configure.in: Remove support for elf directories in sysdeps.
35323
35324 * configure: Regenerated.
35325 * sysdeps/i386/configure: Regenerated.
35326 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35327 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35328 * sysdeps/s390/s390-32/configure: Regenerated.
35329 * sysdeps/s390/s390-64/configure: Regenerated.
35330 * sysdeps/sh/configure: Regenerated.
35331 * sysdeps/sparc/configure: Regenerated.
35332 * sysdeps/x86_64/configure: Regenerated.
35333
a3f61311
AS
353342012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35335
c876e002
AS
35336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35337
a3f61311
AS
35338 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35339 denormal result into account.
35340
ac4c54f0
RM
353412012-03-25 Roland McGrath <roland@hack.frob.com>
35342
35343 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35344 Reported by Allan McRae <allan@archlinux.org>.
35345
6a9b9c02
JL
353462012-03-23 Jeff Law <law@redhat.com>
35347
35348 * nss/getnssent.c (__nss_getent): Fix typo.
35349
4c42a0c1
DM
353502012-03-23 David S. Miller <davem@davemloft.net>
35351
35352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35353
1532c7ac
L
353542012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35355
35356 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35357 to pad to uint64_t for each field.
35358 (dl_tls_index): Replace unsigned long with uint64_t.
35359
3ff42526
PP
353602012-03-23 Daniel Jacobowitz <dmj@google.com>
35361 Paul Pluzhnikov <ppluzhnikov@google.com>
35362
35363 [BZ #6528]
35364 * grp/Makefile (otherlibs): Don't set it.
35365 * inet/Makefile (otherlibs): Likewise.
35366 * login/Makefile (otherlibs): Likewise.
35367 * nscd/Makefile (otherlibs): Likewise.
35368 * posix/Makefile (otherlibs): Likewise.
35369 * pwd/Makefile (otherlibs): Likewise.
35370 * rt/Makefile (otherlibs): Likewise.
35371 * sunrpc/Makefile (otherlibs): Likewise.
35372 * nss/Makefile (otherlibs): Likewise.
35373 Add libnss_files to routines and static-only-routines.
35374 ($(objpfx)getent): Remove rule.
35375 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35376 static-only-routines.
35377
7c69cd14
JM
353782012-03-22 Joseph Myers <joseph@codesourcery.com>
35379
35380 [BZ #13892]
35381 * math/s_cexp.c: Include <float.h>.
35382 (__cexp): Handle exp result overflowing not necessarily
35383 overflowing both real and imaginary parts of result.
35384 * math/s_cexpf.c: Likewise.
35385 * math/s_cexpl.c: Likewise.
35386 * math/libm-test.inc (cexp_test): Add more tests.
35387 * sysdeps/i386/fpu/libm-test-ulps: Update.
35388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35389
81b035fe
L
353902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35391
35392 * include/link.h (ELFW): New macro.
35393 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35394 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35395
1da7940c
L
353962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35397
35398 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35399 with uint64_t.
35400
b749dbb9
L
354012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35402
35403 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35404 declaration.
35405 (struct La_x32_retval): Likewise.
35406
2ff87f3f
L
354072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35408
35409 * sysdeps/x86_64/preconfigure.in: New file.
35410 * sysdeps/x86_64/preconfigure: New generated file.
35411
c0df8e69
JM
354122012-03-22 Joseph Myers <joseph@codesourcery.com>
35413
48e44791
JM
35414 [BZ #13824]
35415 * math/e_exp2l.c: Include <float.h>.
35416 (__ieee754_exp2l): Handle overflow and underflow cases
35417 separately. Only pass fractional part of argument to
35418 __ieee754_expl.
35419 * math/libm-test.inc (exp2_test): Add more tests.
35420
c0df8e69
JM
35421 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35422 negating x to take absolute value.
35423 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35424 Likewise.
35425 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35426 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35427 Likewise.
35428 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35429 computing low part if x was negated.
35430 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35431
c8e43ba7
L
354322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35433
35434 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35435 la_x32_gnu_pltexit.
35436 (pltexit): Cast int_retval to ptrdiff_t.
35437 * elf/tst-auditmod3b.c: Likewise.
35438 * elf/tst-auditmod4b.c: Likewise.
35439 * elf/tst-auditmod5b.c: Likewise.
35440 * elf/tst-auditmod6b.c: Likewise.
35441 * elf/tst-auditmod6c.c: Likewise.
35442 * elf/tst-auditmod7b.c: Likewise.
35443
35444 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35445 and x32_gnu_pltexit.
35446
35447 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35448 __ELF_NATIVE_CLASS.
35449 (La_x32_regs): New macro.
35450 (La_x32_retval): Likewise.
35451 (la_x32_gnu_pltenter): New function prototype.
35452 (la_x32_gnu_pltexit): Likewise.
35453
7998fa78
AS
354542012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35455
dcb33988
AS
35456 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35457 exponent.
35458
233fc563
AS
35459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35460
7998fa78
AS
35461 * configure.in (libc_cv_cc_nofma): Check for option to disable
35462 generation of FMA instructions.
35463 * configure: Regenerate.
35464 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35465 * sysdeps/ieee754/dbl-64/Makefile: New file.
35466 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35467 Remove brandred-fma4.
35468 (CFLAGS-brandred-fma4.c): Remove.
35469 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35470 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35471 define.
35472 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35473 define.
35474
8e95c99a
L
354752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35476
35477 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35478 LLONG_MAX != LONG_MAX.
35479 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35480 (_fitoa_word): Likewise.
35481 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35482 LLONG_MAX != LONG_MAX.
35483 * stdio-common/_itowa.h: Include <_itoa.h>.
35484 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35485 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35486 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35487 only if not defined.
35488 (_ITOA_WORD_TYPE): Likewise.
35489 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35490 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35491
6f4db457
DM
354922012-03-21 David S. Miller <davem@davemloft.net>
35493
35494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35495
7785fe5a
L
354962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35497
35498 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35499 of x86_64 when setting libc_cv_slibdir, libdir and
35500 libc_cv_localedir.
35501 * sysdeps/unix/sysv/linux/configure: Regenerated.
35502
4535cd55
JM
355032012-03-21 Joseph Myers <joseph@codesourcery.com>
35504
35505 * manual/lang.texi (Old Varargs): Remove section.
35506 (How Variadic): Update menu.
35507 (va_start): Do not mention varargs.h.
35508
17228132
TS
355092012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35510 Joseph Myers <joseph@codesourcery.com>
35511
35512 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35513 link test.
35514 * configure: Regenerated.
35515
8149f976
TS
355162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35517
05f3d1f6
UD
35518 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35519 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35520 conformtest.pl
8149f976 35521
1a4ac776
JM
355222012-03-21 Joseph Myers <joseph@codesourcery.com>
35523
be22ce65
JM
35524 * NOTES: Remove.
35525 * Makefile (files-for-dist): Remove NOTES.
35526 (NOTES): Remove rule.
35527 * README: Don't refer to NOTES.
35528 * manual/creature.texi: Don't include macros.texi.
35529 * manual/intro.texi (creature.texi): Remove comment referring to
35530 NOTES.
35531
40b601fb
JM
35532 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35533 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35534 * configure: Regenerated.
35535 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35536 LIBC_TRY_CC_OPTION.
35537 (libc_cv_as_i686): Likewise.
35538 (libc_cv_cc_avx): Likewise.
35539 (libc_cv_cc_sse2avx): Likewise.
35540 (libc_cv_cc_fma4): Likewise.
35541 (libc_cv_cc_novzeroupper): Likewise.
35542 * sysdeps/i386/configure: Regenerated.
35543
1a4ac776
JM
35544 [BZ #13883]
35545 * sysdeps/i386/fpu/s_cexp.S: Remove.
35546 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35547 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35548 * math/libm-test.inc (cexp_test): Add more tests.
35549 * sysdeps/i386/fpu/libm-test-ulps: Update.
35550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35551
a458e7fe
AM
355522012-03-21 Allan McRae <allan@archlinux.org>
35553
35554 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35555
0cb7efc5
JM
355562012-03-21 Joseph Myers <joseph@codesourcery.com>
35557
35558 [BZ #13871]
35559 * math/w_exp2.c: Do not include <float.h>.
35560 (o_threshold, u_threshold): Remove.
35561 (__exp2): Calculate result before checking finiteness and calling
35562 __kernel_standard.
35563 * math/w_exp2f.c: Likewise.
35564 * math/w_exp2l.c: Likewise.
35565 * math/libm-test.inc (exp2_test): Require overflow exception for
35566 1e6 input.
2460d3aa
JM
35567
35568 [BZ #3866]
35569 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35570 range of signed 64-bit integers before using fistpll. Remove
35571 checks for whether integers fit in mantissa bits.
35572 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35573 the range of signed 32-bit integers before using fistpl. Remove
35574 checks for whether integers fit in mantissa bits.
35575 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35576 (__ieee754_powl): Test for y outside the range of signed 64-bit
35577 integers before using fistpll. Reduce 64-bit values to 63-bit
35578 ones as needed.
35579 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35580 divide-by-zero is raised for zero to large negative powers.
35581 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35582 (__ieee754_powl): Test for y outside the range of signed 64-bit
35583 integers before using fistpll. Reduce 64-bit values to 63-bit
35584 ones as needed.
35585 * math/libm-test.inc (pow_test): Add more tests.
35586
eb96ffb0
L
355872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35588
35589 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35590 <stdio-common/_itoa.h>.
35591 * debug/segfault.c: Likewise.
35592 * elf/dl-cache.c: Likewise.
35593 * elf/dl-minimal.c: Likewise.
35594 * elf/dl-misc.c: Likewise.
35595 * elf/dl-sysdep.c: Likewise.
35596 * elf/dl-version.c: Likewise.
35597 * elf/rtld.c: Likewise.
35598 * hurd/hurdsock.c: Likewise.
35599 * hurd/lookup-retry.c: Likewise.
35600 * malloc/malloc.c: Likewise.
35601 * malloc/mtrace.c: Likewise.
35602 * nscd/nscd_getgr_r.c: Likewise.
35603 * nscd/nscd_getpw_r.c: Likewise.
35604 * nscd/nscd_getserv_r.c: Likewise.
35605 * posix/getopt_init.c: Likewise.
35606 * posix/wordexp.c: Likewise.
35607 * stdio-common/_itoa.c: Likewise.
35608 * stdio-common/printf_fphex.c: Likewise.
35609 * stdio-common/vfprintf.c: Likewise.
35610 * string/_strerror.c: Likewise.
35611 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35612 * sysdeps/i386/i686/hp-timing.h: Likewise.
35613 * sysdeps/mach/_strerror.c: Likewise.
35614 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35615 * sysdeps/mach/hurd/sethostid.c: Likewise.
35616 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35617 * sysdeps/mach/xpg-strerror.c: Likewise.
35618 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35619 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35620 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35621 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35622 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35623 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35624 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35625 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35626 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35627 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35628 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35629 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35630 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35631 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35632 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35633 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35634 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35635 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35636 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35637 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35638 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35639
35640 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35641
35642 * stdio-common/_itoa.h: Moved to ...
35643 * sysdeps/generic/_itoa.h: Here.
35644
35645 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35646
35647 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35648 instead of "_itoa.h" and "_itowa.h".
35649 * stdio-common/vfprintf.: Likewise.
35650
d1af992d
L
356512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35652
35653 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35654 <bits/wordsize.h>.
35655 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35656 (__signbit): Likwise.
35657 (llrintf): Likwise.
35658 (llrint): Likwise.
35659
114883e0
L
356602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35661
35662 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35663 __WORDSIZE != 64.
35664
c135cc1b
JM
356652012-03-20 Joseph Myers <joseph@codesourcery.com>
35666
35667 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35668 OVERFLOW_EXCEPTION_OK.
35669 * math/libm-test.inc ("Philosophy"): Update comment about
35670 exception testing.
35671 (OVERFLOW_EXCEPTION): Define.
35672 (OVERFLOW_EXCEPTION_OK): Likewise.
35673 (INVALID_EXCEPTION_OK): Renumber.
35674 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35675 (IGNORE_ZERO_INF_SIGN): Likewise.
35676 (test_exceptions): Handle FE_OVERFLOW.
35677 (exp10_test): Expect overflow exceptions.
35678 (exp2_test): Likewise.
35679 (expm1_test): Likewise.
35680 (nextafter_test): Likewise.
35681 (pow_test): Likewise.
35682 (scalbn_test): Likewise.
35683 (scalbln_test): Likewise.
35684
95443d88
L
356852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35686
35687 * sysdeps/x86_64/bits/atomic.h
35688 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35689 64bit integer.
35690 (atomic_exchange_acq): Likewise.
35691 (__arch_exchange_and_add_body): Likewise.
35692 (__arch_add_body): Likewise.
35693 (atomic_add_negative): Likewise.
35694 (atomic_add_zero): Likewise.
35695
490df6c4
L
356962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35697
c2722551 35698 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35699 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35700
5e52b189
L
357012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35702
35703 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35704 Check __x86_64__ instead of __WORDSIZE.
35705
a9879d4c
L
357062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35707
35708 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35709
5df98260
DM
357102012-03-19 David S. Miller <davem@davemloft.net>
35711
e1497744
DM
35712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35713
5df98260
DM
35714 * sysdeps/sparc/fpu/fenv_private.h: New file.
35715 * sysdeps/sparc/fpu/math_private.h: Use it.
35716 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35717 Remove.
57f41c40 35718 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35719 (libc_feholdexcept_setroundl): Remove.
35720 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35721 Remove.
35722 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35723 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35724
b4c35121
L
357252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35726
35727 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35728 int64_t instead of long int.
35729 (INSERT_WORDS64): Likwise.
35730
56965fd7
L
357312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35732
35733 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35734 _Unwind_GetCFA return to _Unwind_Ptr first.
35735
83d1aec8
JM
357362012-03-19 Joseph Myers <joseph@codesourcery.com>
35737
1897ad44
JM
35738 [BZ #13629]
35739 * math/s_clog.c: Include <float.h>.
35740 (__clog): Scale large or subnormal inputs.
35741 * math/s_clogf.c: Likewise.
35742 * math/s_clogl.c: Likewise.
35743 * math/s_clog10.c: Include <float.h>.
35744 (M_LOG10_2): Define.
35745 (__clog10): Scale large or subnormal inputs.
35746 * math/s_clog10f.c: Likewise.
35747 * math/s_clog10l.c: Likewise.
35748 * math/libm-test.inc (clog_test): Add more tests.
35749 (clog10_test): Likewise.
35750 * sysdeps/i386/fpu/libm-test-ulps: Update.
35751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35752
7726d6a9
JM
35753 [BZ #11451]
35754 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35755 x and y.
35756 * math/libm-test.inc (atan2_test): Add another test.
35757
83d1aec8
JM
35758 * Makerules (common-objdir-compile): Remove.
35759 * sysdeps/unix/Makefile (config-generated): Do not add
35760 $(unix-generated) to variable.
35761 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35762 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35763 Remove rule.
35764 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35765 Likewise.
35766 [generic bits/local_lim.h] (before-compile): Do not append to
35767 variable.
35768 [generic bits/local_lim.h] (common-generated): Likewise.
35769 [generic sys/param.h] (before-compile): Do not append to variable.
35770 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35771 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35772 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35773 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35774 include.
35775 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35776 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35777 [generic sys/param.h] ($(addprefix
35778 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35779 [generic sys/param.h] (common-generated): Do not append to
35780 variable.
35781 [generic sys/param.h] (sysdep_headers): Likewise.
35782 [generic bits/errno.h] (before-compile): Do not append to
35783 variable.
35784 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35785 rule.
35786 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35787 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35788 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35789 [generic bits/errno.h] (common-generated): Do not append to
35790 variable.
35791 [generic bits/ioctls.h] (before-compile): Do not append to
35792 variable.
35793 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35794 rule.
35795 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35796 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35797 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35798 rule.
35799 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35800 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35801 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35802 [generic bits/ioctls.h] (common-generated): Do not append to
35803 variable.
35804 [generic sys/syscall.h] (syscall.h): Remove variable.
35805 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35806 rule.
35807 [generic sys/syscall.h] (before-compile): Do not append to
35808 variable.
35809 [generic sys/syscall.h] (common-generated): Likewise.
35810 * sysdeps/unix/errnos-tmpl.c: Remove file.
35811 * sysdeps/unix/errnos.awk: Likewise.
35812 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35813 * sysdeps/unix/ioctls.awk: Likewise.
35814 * sysdeps/unix/mk-local_lim.c: Likewise.
35815 * sysdeps/unix/snarf-ioctls: Likewise.
35816
4851a949
RH
358172012-03-19 Richard Henderson <rth@twiddle.net>
35818
bd37f2ee
RH
35819 * sysdeps/i386/fpu/fenv_private.h: New file.
35820 * sysdeps/i386/fpu/math_private.h: Use it.
35821 (math_opt_barrier, math_force_eval): Remove.
35822 (libc_feholdexcept_setround_53bit): Remove.
35823 (libc_feupdateenv_53bit): Remove.
35824 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35825 (math_opt_barrier, math_force_eval): Remove.
35826 (libc_feholdexcept): Remove.
35827 (libc_feholdexcept_setround): Remove.
35828 (libc_fetestexcept, libc_fesetenv): Remove.
35829 (libc_feupdateenv_test): Remove.
35830 (libc_feupdateenv, libc_feholdsetround): Remove.
35831 (libc_feresetround): Remove.
35832
d0adc922
RH
35833 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35834 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35835
0fe0f1f8
RH
35836 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35837 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35838 (libc_feupdateenv_testl): New.
35839 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35840 (libc_feupdateenv_testf): New.
35841 (libc_feupdateenv): Use libc_feupdateenv_test.
35842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35843 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35844
eb92c487
RH
35845 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35846 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35847 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35848 (libc_feresetround_noex): New.
35849 (libc_feresetround_noexf): New.
35850 (libc_feresetround_noexl): New.
35851 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35852 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35853 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35854 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35855 SET_RESTORE_ROUND.
35856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35857 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35858 (__cos): Likewise.
35859 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35860 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35861 SET_RESTORE_ROUND_NOEX.
35862 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35863 SET_RESTORE_ROUND_NOEXF.
35864 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35865 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35866 (libc_feholdsetroundf): New.
35867 (libc_feresetround, libc_feresetroundf): New.
35868
7d2e8012
RH
35869 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35870 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35871 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35872
b4dabbb4
RH
35873 * sysdeps/generic/math_private.h: Include <fenv.h>.
35874 (default_libc_feholdexcept): New.
35875 (default_libc_feholdexcept_setround): New.
35876 (default_libc_fesetenv, default_libc_feupdateenv): New.
35877 (libc_feholdexcept): Only define if undefined.
35878 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35879 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35880 (libc_feholdexcept_setroundl): Likewise.
35881 (libc_feholdexcept_setround_53bit): Likewise.
35882 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35883 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35884 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35885 (libc_feupdateenv_53bit): Likewise.
35886 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35887 (libc_feholdexcept): Convert from macro to inline function.
35888 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35889 (libc_fesetenv, libc_feupdateenv): Likewise.
35890
4851a949
RH
35891 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35892 not previously defined.
35893 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35894 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35895 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35896 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35897 * sysdeps/ieee754/flt-32/math_private.h: New file.
35898 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35899 math_private.h below SET_FLOAT_WORD.
35900 (__isnan, __isinf_ns, __finite): Remove.
35901 (__isnanf, __isinf_nsf, __finitef): Remove.
35902
e79d442e
AS
359032012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35904
35905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35906
90b80344
DM
359072012-03-17 David S. Miller <davem@davemloft.net>
35908
35909 [BZ #6471]
35910 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35911 for 2.16.
35912
edc21804
DM
359132012-03-16 David S. Miller <davem@davemloft.net>
35914
77e927af
DM
35915 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35916 warnings.
35917
374976dd
DM
35918 [BZ #6471]
35919 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35920 properly.
35921 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35922 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35923 sysdep_routines when subdir is sysvipc.
35924 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35925 __getshmlba helper.
35926
edc21804
DM
35927 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35928
473c3ef3
L
359292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35930
35931 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35932 [__LP64__].
35933
eb0f39b6
L
359342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35935
35936 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35937 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35938 (__lround): Renamed to ...
35939 (__llround): This. Replace long int with long long int.
35940 Define lround functions as aliases of llround functions.
35941 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35942
6b6cd74b
L
359432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35944
35945 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35946 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35947 adresses to uintptr_t. Replace "long int" and "unsigned long
35948 int" with "greg_t" on va_arg.
35949
f1a77b01
L
359502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35951
35952 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35953 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35954
35955 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35956 Move e_machine check before EI_CLASS check. Handle x32
35957 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35958 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35959 SKIP_EM_IA_64 and include
35960 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35961
35962 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35963 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35964 (add_system_dir): New macro.
35965
35966 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35967 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35968
11b90b9f
JM
359692012-03-16 Joseph Myers <joseph@codesourcery.com>
35970
c36e1d23
JM
35971 [BZ #2551]
35972 [BZ #2552]
35973 [BZ #2553]
35974 [BZ #2554]
35975 [BZ #2562]
35976 [BZ #2563]
35977 [BZ #2565]
35978 [BZ #2566]
35979 [BZ #2576]
35980 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35981 (y0): Likewise.
35982 * math/w_j0f.c (j0f): Likewise.
35983 (y0f): Likewise.
35984 * math/w_j0l.c (__j0l): Likewise.
35985 (__y0l): Likewise.
35986 * math/w_j1.c (j1): Likewise.
35987 (y1): Likewise.
35988 * math/w_j1f.c (j1f): Likewise.
35989 (y1f): Likewise.
35990 * math/w_j1l.c (__j1l): Likewise.
35991 (__y1l): Likewise.
35992 * math/w_jn.c (jn): Likewise.
35993 (yn): Likewise.
35994 * math/w_jnf.c (jnf): Likewise.
35995 (ynf): Likewise.
35996 * math/w_jnl.c (__jnl): Likewise.
35997 (__ynl): Likewise.
35998 * math/libm-test.inc (j0_test): Add more tests.
35999 (j1_test): Likewise.
36000 (jn_test): Likewise. Add trailing semicolon to existing test.
36001 (y0_test): Likewise.
36002 (y1_test): Likewise.
36003 * sysdeps/i386/fpu/libm-test-ulps: Update.
36004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36005
11b90b9f
JM
36006 [BZ #13851]
36007 [BZ #13854]
36008 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36009 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36010 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36011 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36012 (__tanl): Set errno for infinite argument.
36013 * sysdeps/i386/fpu/mptan.c: Remove.
36014 * sysdeps/i386/fpu/s_tan.S: Likewise.
36015 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36016 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36017 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36018 * math/libm-test.inc (tan_test): Add more tests and enable more
36019 tests for double and long double.
36020 * sysdeps/i386/fpu/libm-test-ulps: Update.
36021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36022
6a1bd2a1
JK
360232012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36024
36025 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36026 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36027
10a803e0
RM
360282012-03-16 Roland McGrath <roland@hack.frob.com>
36029
36030 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36031 * configure.in: Use it for both main tree and add-ons.
36032 * configure: Regenerated.
36033
f196c7f7
L
360342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36035
36036 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36037
8848d99d
JM
360382012-03-16 Joseph Myers <joseph@codesourcery.com>
36039
96cbe7f4
JM
36040 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36041 in comment.
36042
8848d99d
JM
36043 [BZ #13851]
36044 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36045 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36046 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36047 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36048 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36049 infinite argument.
36050 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36051 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36052 != 0 for prec == 2.
36053 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36054 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36055 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36056 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36057 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36058 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36059 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36060 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36061 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36062 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36063 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36064 * math/libm-test.inc (cos_test): Add more tests and enable more
36065 tests for long double.
36066 (sin_test): Likewise.
36067 (sincos_test): Likewise.
36068 * sysdeps/i386/fpu/libm-test-ulps: Update.
36069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36070
dd7f4703
DM
360712012-03-16 David S. Miller <davem@davemloft.net>
36072
36073 * sysdeps/sparc/fpu/math_private.h: New file.
36074
006f1daa
DM
360752012-03-15 David S. Miller <davem@davemloft.net>
36076
c0c83bc8
DM
36077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36078 file.
e6a62e18 36079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
36080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36081 file.
e6a62e18
DM
36082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36087 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36088 sysdep routines.
36089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36090
88cb87d9
DM
36091 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36092 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36093
006f1daa 36094 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
36095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36096 sparc-ifunc.h
006f1daa 36097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
36098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36099 Likewise.
36100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36101 Likewise.
006f1daa
DM
36102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
36105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36106 Likewise.
006f1daa
DM
36107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
36111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36112 Likewise.
36113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36114 Likewise.
006f1daa
DM
36115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36119 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36121 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36133 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36137 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36139
11e0098e
AS
361402012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36141
36142 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36143 scaling.
36144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36145
e85b09d0
AJ
361462012-03-15 Andreas Jaeger <aj@suse.de>
36147
36148 [BZ #13852]
36149 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36150 ieee754/flt-32 implementation for sin, cos and sincos.
36151 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36152 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36153 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36154 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36155 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36156 ieee754/flt-32 implementation for tan.
36157
36158 * math/libm-test.inc (cos_test): Enable some large input tests for
36159 float as well
36160 (sin_test): Likewise.
36161 (sincos_test): Likewise.
36162 (tan_test): Add tests for large input.
36163
36164 * sysdeps/i386/fpu/libm-test-ulps: Update.
36165
81c64153
AJ
361662012-03-15 Andreas Jaeger <aj@suse.de>
36167
36168 [BZ #13658]
36169 * math/libm-test.inc (cos_test): Add more test cases.
36170 (sin_test): Likewise.
36171 (sincos_test): Likewise.
36172
7bbfa5c6
AJ
361732012-03-15 Andreas Jaeger <aj@suse.de>
36174
36175 [BZ #13837]
36176 * math/libm-test.inc (cos_test): Add a test case for large input
36177 value.
36178 (sin_test): Likewise.
36179 (sincos_test): Likewise.
36180
57f41c40
AS
361812012-03-15 Andreas Jaeger <aj@suse.de>
36182 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36183
36184 [BZ #13658]
0671f479 36185 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36186 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36187 * sysdeps/i386/fpu/branred.c: Likewise.
36188 * sysdeps/i386/fpu/dosincos.c: Likewise.
36189 * sysdeps/i386/fpu/mpa.c: Likewise.
36190 * sysdeps/i386/fpu/s_cos.S: Likewise.
36191 * sysdeps/i386/fpu/s_sin.S: Likewise.
36192 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36193 * sysdeps/i386/fpu/sincos32.c: Likewise.
36194
36195 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36196 Define.
36197 (libc_feupdateenv_53bit): Define.
36198 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36199 Define.
36200 (libc_feupdateenv_53bit): Define.
36201
36202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36203 53 bit (without extend i386 double precision).
36204
36205 * math/libm-test.inc (sincos_test): Add tests for large input.
36206 (sin): Likewise.
36207 (cos): Likewise.
36208
36209 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36210
9cad04ea
AS
362112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36212
36213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36214
f7062b9a
DM
362152012-03-15 David S. Miller <davem@davemloft.net>
36216
36217 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36218 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36219 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36220 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36233 file.
f7062b9a 36234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36236 file.
f7062b9a 36237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36239 file.
f7062b9a 36240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36242 file.
f7062b9a
DM
36243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36244 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36245 fmin/fmax sysdep routines.
36246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36247
7bd951ff
DM
362482012-03-14 David S. Miller <davem@davemloft.net>
36249
559398ab
DM
36250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36254 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36270 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36274 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36278 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36279 routines.
36280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36281 file.
559398ab 36282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36284 file.
559398ab 36285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36287 file.
559398ab 36288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36290 file.
559398ab 36291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36293 file.
559398ab 36294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36296 file.
36297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36298 file.
36299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36300 file.
36301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36302 file.
36303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36304 New file.
36305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36306 file.
36307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36308 file.
559398ab 36309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36311 file.
559398ab 36312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36314 file.
559398ab 36315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36317 file.
559398ab 36318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36320 VIS3 routines.
559398ab
DM
36321
36322 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36323 New file.
36324
5a1c1e32
DM
36325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36326
eae47a36
DM
36327 * sysdeps/sparc/configure.in: New file.
36328 * sysdeps/sparc/configure: Generate.
36329 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36330 * configure: Regenerate.
36331 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36332 * config.make.in (have-as-vis3): New.
36333 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36334 available use -Av9d instead of -Av9a.
36335 * sysdeps/sparc/sparc64/Makefile: Likewise.
36336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36338 New file.
36339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36340 file.
36341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36342 New file.
36343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36344 file.
eae47a36
DM
36345 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36346 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36350
c0c83bc8
DM
36351 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36352 fzeros/fnegs to load 0x80000000 into a float register instead of
36353 using the stack.
7bd951ff
DM
36354 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36355
bd951ccb
JM
363562012-03-14 Joseph Myers <joseph@codesourcery.com>
36357
36358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36359 bits/syscall.h.
36360 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36361 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36362 ($(inst_includedir)/bits/syscall.h): Remove rule.
36363 ($(objpfx)bits/syscall.d): Include instead of
36364 $(objpfx)syscall-list.d.
36365 (generated): Change syscall-list.h and syscall-list.d to
36366 bits/syscall.h and bits/syscall.d.
36367
bb4e6db2
RM
363682012-03-14 Roland McGrath <roland@hack.frob.com>
36369
36370 [BZ #13846]
36371 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36372
aa4a2ae1
JM
363732012-03-14 Joseph Myers <joseph@codesourcery.com>
36374
e456826d
JM
36375 [BZ #13841]
36376 * math/s_csqrt.c: Include <float.h>.
36377 (__csqrt): Scale large or subnormal inputs.
36378 * math/s_csqrtf.c: Likewise.
36379 * math/s_csqrtl.c: Likewise.
36380 * math/libm-test.inc (csqrt_test): Add more tests.
36381 * sysdeps/i386/fpu/libm-test-ulps: Update.
36382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36383
aa4a2ae1
JM
36384 [BZ #13840]
36385 * math/libm-test.inc (hypot_test): Add more tests.
36386
7c10fd35
DM
363872012-03-13 David S. Miller <davem@davemloft.net>
36388
36389 [BZ #13840]
36390 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36391 double-precision for the calculation instead of scaling.
36392
f453b98b
JM
363932012-03-13 Joseph Myers <joseph@codesourcery.com>
36394
36395 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36396 manipulate bits before adding and subtracting TWO52[sx].
36397 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36398 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36399 Likewise.
36400 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36401
09a3453f
DM
364022012-03-13 David S. Miller <davem@davemloft.net>
36403
8e59da90
DM
36404 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36405 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36407 rtld-global-offsets.h
36408 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36409
2a8ab7f2
DM
36410 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36411 large parameters.
36412
10f62770
DM
36413 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36414
5f0bdb18
DM
36415 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36416 'err' in the ifdef scope in which it is actually used.
36417
09a3453f
DM
36418 * nss/nss_db/db-init.c: Include string.h
36419
b4b2eb5e
DM
364202012-03-12 David S. Miller <davem@davemloft.net>
36421
98bb2f1c
DM
36422 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36423 masking out of the most significant byte of random value used.
36424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36425 Fix coding style in previous change.
36426
b4b2eb5e
DM
36427 * sysdeps/unix/sysv/linux/kernel-features.h
36428 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36429 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36430 expression.
36431 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36432 later.
36433
6e226b09
DM
364342012-03-11 David S. Miller <davem@davemloft.net>
36435
a1bcbd40
DM
36436 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36437 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36438 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36439 for 'resultvar' otherwise things get truncated on 64-bit.
36440
cb9d6174
DM
36441 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36442 Fix masking out of the most significant byte of random value used.
36443
6e226b09
DM
36444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36445
058c132d
AS
364462012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36447
36448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36449
2d2cd515
DM
364502012-03-09 David S. Miller <davem@davemloft.net>
36451
36452 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36453 variables with appropriate CPP guards.
57f41c40
AS
36454 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36455 from the frame pointer, not the stack pointer. Correct layout
36456 comments. Fix test on resulting framesize and the management of
36457 the outregs buffer for pltexit. Preserve floating point return
36458 values across _dl_call_pltexit call.
2d2cd515
DM
36459 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36460 framesize and the management of the outregs buffer for pltexit.
36461 Preserve floating point return values across _dl_call_pltexit
36462 call.
57f41c40
AS
36463 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36464 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36465 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
36466 (print_exit): Fix format string for return register value.
36467
9a07f9d0
JM
364682012-03-10 Joseph Myers <joseph@codesourcery.com>
36469
36470 * sunrpc/Makefile (others): Add rpcgen.
36471 ($(objpfx)rpcgen): Remove special build rule and dependency on
36472 libc.
36473 * sunrpc/rpcgen.c: New file.
36474
547b5e30
PE
364752012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36476
c524201a
PE
36477 [BZ #13673]
36478 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36479 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36480 * sysdeps/i386/crti.S: Likewise.
36481 * sysdeps/i386/crtn.S: Likewise.
36482 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36483 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36484 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36485 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36486 * sysdeps/sh/crti.S: Likewise.
36487 * sysdeps/sh/crtn.S: Likewise.
36488 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36489
7b6235f2
PE
36490 [BZ #13673]
36491 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36492 with URL.
36493 * locale/programs/locfile-kw.gperf: Likewise.
36494 * locale/programs/charmap-kw.h: Regenerated.
36495 * locale/programs/locfile-kw.h: Likewise.
36496
547b5e30
PE
36497 [BZ #13673]
36498 * intl/plural.y: Replace FSF snail mail address with URL.
36499 * intl/plural.c: Regenerated.
36500
5f0a5dae
RH
365012012-03-09 Richard Henderson <rth@twiddle.net>
36502
36503 * include/math_private.h: Remove file.
36504 * math/math_private.h: Move file ...
36505 * sysdeps/generic/math_private.h: ... here.
36506
b8c03620
RH
36507 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36508 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36509 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36510
4e234f5d 36511 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
36512 and <math_private.h>.
36513 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36514 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36515 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36516 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36517 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36518 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36519 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36521 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36522 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36523 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36524 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36525 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36526 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36527 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36528 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36529 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36530 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36531 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36532 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36534 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36535 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36537 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36538 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36539 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36540 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36542 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36543 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36544 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36545 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36546 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36547 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36548 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36549 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36550 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36551 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36552 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36553 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36554 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36555 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36556 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36557 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36558 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36559 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36560 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36561 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36562 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36563 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36564 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36565 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36566 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36567 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36568 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36569 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36570 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36571 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36572 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36573 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36574 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36575 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36576 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36577 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36578 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36579 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36580 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36581 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36582 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36583 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36584 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36586 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36587 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36590 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36592 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36593 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36594 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36595 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36596 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36597 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36600 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36601 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36602 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36603 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36604 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36605 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36606 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36607 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36608 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36609 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36610 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36611 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36612 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36613 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36614 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36615 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36616 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36617 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36618 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36619 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36620 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36621 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36622 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36623 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36624 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36625 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36626 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36627 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36628 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36629 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36630 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36631 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36632 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36633 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36634 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36635 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36636 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36637 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36638 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36639 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36640 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36641 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36642 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36643 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36644 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36645 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36646 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36647 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36648 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36649 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36650 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36651 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36652 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36653 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36654 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36655 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36656 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36657 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36658 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36659 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36660 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36661 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36662 * sysdeps/ieee754/k_standard.c: Likewise.
36663 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36664 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36665 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36666 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36667 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36668 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36669 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36670 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36671 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36672 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36673 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36674 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36675 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36676 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36677 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36678 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36679 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36680 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36681 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36682 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36683 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36684 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36685 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36686 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36687 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36688 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36689 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36690 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36691 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36692 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36693 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36694 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36695 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36696 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36697 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36698 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36699 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36700 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36701 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36702 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36703 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36704 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36705 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36706 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36707 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36708 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36709 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36710 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36711 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36712 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36713 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36714 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36715 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36716 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36717 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36718 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36719 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36720 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36721 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36722 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36723 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36724 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36725 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36726 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36728 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36730 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36731 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36732 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36733 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36735 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36736 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36737 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36738 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36739 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36740 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36741 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36742 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36743 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36744 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36745 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36746 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36747 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36748 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36749 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36750 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36751 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36752 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36753 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36755 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36756 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36757 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36758 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36759 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36760 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36761 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36762 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36763 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36764 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36765 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36766 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36767 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36768 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36769 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36770 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36771 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36775 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36777 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36778 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36779 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36780 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36781 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36782 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36783 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36784 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36785 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36786 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36787 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36788 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36789 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36790 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36791 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36793 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36794 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36795 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36796 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36797 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36798 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36799 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36800 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36801 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36802 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36803 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36804 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36805 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36806 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36807 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36808 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36809 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36810 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36811 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36812 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36813 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36814 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36815 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36816 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36817 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36818 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36819 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36820 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36821 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36822 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36823 * sysdeps/ieee754/s_lib_version.c: Likewise.
36824 * sysdeps/ieee754/s_matherr.c: Likewise.
36825 * sysdeps/ieee754/s_signgam.c: Likewise.
36826 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36827 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36828 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36829 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36830 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36831 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36832 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36833 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36834 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36835 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36836 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36837 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36838 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36839 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36840 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36841 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36842 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36843 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36844 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36846 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36847
1991fa03
JM
368482012-03-09 Joseph Myers <joseph@codesourcery.com>
36849
36850 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36851 * sunrpc/rpc_main.c: Likewise.
36852 * sunrpc/rpc_svcout.c: Likewise.
36853
60d6f5a6
DM
368542012-03-09 David S. Miller <davem@davemloft.net>
36855
36856 * include/math_private.h: New file.
36857
4962050e
JM
368582012-03-09 Joseph Myers <joseph@codesourcery.com>
36859
02a6f887
JM
36860 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36861 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36862 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36863 from <bits/socket_type.h>.
36864 (enum __socket_type): Don't define here.
36865 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36867 bits/socket_type.h.
36868
c6e013c1
JM
36869 [BZ #13566]
36870 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36871 checking __USE_GNU.
36872
4962050e
JM
36873 * Makerules ($(inst_includedir)/%.h): New rule.
36874 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36875 (install-others): Remove variable setting.
36876 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36877
38842f45
RH
368782012-03-08 Richard Henderson <rth@twiddle.net>
36879
67bb6da6
RH
36880 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36881 from macro to inline function; merge with the
36882 !__LIBC_INTERNAL_MATH_INLINES version.
36883 (__ieee754_sqrtf): Likewise.
36884
15194b4b
RH
36885 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36886 to inline function.
36887 (__rintf, __floor, __floorf): Likewise.
36888
64e21ede
RH
36889 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36890 macro to inline function.
36891 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36892
38842f45
RH
36893 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36894 not <math/math_private.h>.
36895
c64bf5fe
DM
368962012-03-08 David S. Miller <davem@davemloft.net>
36897
36898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36899 copyright year.
36900 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36901
82d86f28
TS
369022012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36903
36904 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36905 normalization.
36906 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36907 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36908
aea5d727
UD
369092012-03-08 Ulrich Drepper <drepper@gmail.com>
36910
36911 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36912 be defined individually, they must be defined as a block. Define
36913 S for printing a string instead of hidint the different by using a
36914 macro for adding the 'l'.
36915 * stdio-common/tst-fphex-wide.c: Adjust.
36916
70bca0a3
MP
369172012-03-07 Marek Polacek <polacek@redhat.com>
36918
36919 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36920
65b81130
MP
369212012-03-08 Marek Polacek <polacek@redhat.com>
36922
36923 [BZ #13806]
36924 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36925 * stdio-common/tst-fphex.c: Define a few macros to make the
36926 test reusable. Use them.
36927 * stdio-common/tst-fphex-wide.c: New file.
36928
07037eeb
JM
369292012-03-08 Joseph Myers <joseph@codesourcery.com>
36930
a7a93d50
JM
36931 [BZ #6911]
36932 * manual/macros.texi (gnusystems): New macro.
36933 (nongnusystems): Likewise.
36934 (gnulinuxhurdsystems): Likewise.
36935 (gnuhurdsystems): Likewise..
36936 (gnulinuxsystems): Likewise.
36937 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36938 variants of the GNU system, not "GNU system".
36939 * manual/conf.texi: Likewise.
36940 * manual/errno.texi: Likewise. Update example of errno macro
36941 expansion.
36942 * manual/filesys.texi: Likewise.
36943 (getumask): Document as specific to GNU/Hurd.
36944 * manual/install.texi: Likewise. Reword some references to
36945 GNU/Linux.
36946 * manual/intro.texi: Likewise.
36947 * manual/io.texi: Likewise.
36948 (File Name Portability): Detail which constraints are inapplicable
36949 to all GNU systems and which are only inapplicable to GNU/Hurd.
36950 * manual/job.texi: Likewise.
36951 * manual/llio.texi: Likewise.
36952 (O_NOCTTY): Document as present on GNU/Linux.
36953 * manual/maint.texi: Likewise.
36954 * manual/memory.texi: Likewise.
36955 * manual/pattern.texi: Likewise.
36956 * manual/pipe.texi: Likewise.
36957 * manual/process.texi: Likewise.
36958 * manual/resource.texi: Likewise.
36959 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36960 child on GNU/Hurd.
36961 * manual/setjmp.texi: Likewise.
36962 * manual/signal.texi: Likewise.
36963 * manual/startup.texi: Likewise.
36964 * manual/stdio.texi: Likewise.
36965 * manual/terminal.texi: Likewise.
36966 (ONLCR): Document as POSIX.
36967 (OXTABS): Document availability on GNU/Linux as XTABS.
36968 (ONOEOT): Document availability separately from other bits.
36969 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36970 * manual/time.texi: Likewise.
36971 * manual/users.texi: Likewise.
36972 * INSTALL: Regenerated.
36973 * sysdeps/gnu/errlist.c: Regenerated.
36974
07037eeb
JM
36975 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36976 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36977 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36978 puts.
36979 * configure: Regenerated.
36980
d1d3431a
JM
369812012-03-07 Joseph Myers <joseph@codesourcery.com>
36982
af6a1e37
JM
36983 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36984 default includes instead of AC_HEADER_CHECK.
36985 * sysdeps/i386/configure: Regenerated.
36986
d1d3431a
JM
36987 [BZ #10716]
36988 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36989 * math/s_cacoshf.c (__cacoshf): Likewise.
36990 * math/s_cacoshl.c (__cacoshl): Likewise.
36991 * math/s_casinh.c (__casinh): Set signs of result from argument.
36992 * math/s_casinhf.c (__casinhf): Likewise.
36993 * math/s_casinhl.c (__casinhl): Likewise.
36994 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36995 (casinh_test): Add more tests.
36996 * sysdeps/i386/fpu/libm-test-ulps: Update.
36997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36998
482ff4da
UD
369992012-03-07 Ulrich Drepper <drepper@gmail.com>
37000
872fda05
UD
37001 * po/zh_TW.po: Update from translation team.
37002
a4300c7a
UD
37003 * login/Makefile (distribute): Remove variable.
37004 * catgets/Makefile: Likewise.
37005 * mach/Makefile: Likewise.
37006 * malloc/Makefile: Likewise.
37007 * misc/Makefile: Likewise.
37008 * iconv/Makefile: Likewise.
37009 * nscd/Makefile: Likewise.
37010 * hurd/Makefile: Likewise.
37011 * manual/Makefile: Likewise.
37012 * locale/Makefile: Likewise.
37013 * intl/Makefile: Likewise.
37014 * conform/Makefile: Likewise.
37015 * nss/Makefile: Likewise.
37016 * time/Makefile: Likewise.
37017 * soft-fp/Makefile: Likewise.
37018 * dirent/Makefile: Likewise.
37019 * gmon/Makefile: Likewise.
37020 * po/Makefile: Likewise.
37021 * rt/Makefile: Likewise.
37022 * socket/Makefile: Likewise.
37023 * math/Makefile: Likewise.
37024 * signal/Makefile: Likewise.
37025 * debug/Makefile: Likewise.
37026 * elf/Makefile: Likewise.
37027 * timezone/Makefile: Likewise.
37028 * stdlib/Makefile: Likewise.
37029 * iconvdata/Makefile: Likewise.
37030 * sunrpc/Makefile: Likewise.
37031 * io/Makefile: Likewise.
37032 * argp/Makefile: Likewise.
37033 * inet/Makefile: Likewise.
37034 * hesiod/Makefile: Likewise.
37035 * grp/Makefile: Likewise.
37036 * csu/Makefile: Likewise.
37037 * wctype/Makefile: Likewise.
37038 * crypt/Makefile: Likewise.
37039 * libio/Makefile: Likewise.
37040 * string/Makefile: Likewise.
37041 * nis/Makefile: Likewise.
37042 * resolv/Makefile: Likewise.
37043 * stdio-common/Makefile: Likewise.
37044 * wcsmbs/Makefile: Likewise.
37045 * dlfcn/Makefile: Likewise.
37046 * posix/Makefile: Likewise.
37047
3b7c4e74 37048 [BZ #6959]
482ff4da
UD
37049 * timezone/Makefile: Don't install timezone files, just the programs
37050 and scripts.
37051
f72ed77d
UD
370522012-03-06 Ulrich Drepper <drepper@gmail.com>
37053
a000466f
UD
37054 * nss/databases.def: Add missing gshadow entry.
37055
f72ed77d
UD
37056 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37057
a53b7a4e
MP
370582012-03-06 Marek Polacek <polacek@redhat.com>
37059
37060 [BZ #13726]
37061 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37062 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37063 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37064 * stdio-common/tst-long-dbl-fphex.c: New file.
37065
e9258400
DM
370662012-03-06 David S. Miller <davem@davemloft.net>
37067
37068 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37069 (set_obp_int): New function.
37070 (get_obp_int): New function.
37071 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
37072 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37073 Avoid unused variable warnings on 'val' and use builtin_expect.
37074 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37075 __builtin_expect.
e9258400
DM
37076 (INLINE_CLONE_SYSCALL): Likewise.
37077
3bd2c723
DM
370782012-03-05 David S. Miller <davem@davemloft.net>
37079
37080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37081
bbb78d03
AS
370822012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37083
884c5db4
AS
37084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37085
bbb78d03
AS
37086 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37087 only for |x| >= 40.
37088 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37089
1c9f702a 370902012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
37091
37092 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37093 Replace gettimeofday with __vdso_gettimeofday.
37094
7be16f82
RM
37095 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37096 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37097 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
37098
37099 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37100 time with __vdso_time.
37101
ed58a00f
JM
371022012-03-05 Joseph Myers <joseph@codesourcery.com>
37103
37104 * manual/lang.texi (size_t): Note types to which size_t may be
37105 equivalent with the GNU C Library, but do not describe when
37106 differences between them are significant.
37107
30ee4ced
AJ
371082012-03-05 Andreas Jaeger <aj@suse.de>
37109
37110 * sysdeps/i386/fpu/libm-test-ulps: Update.
37111
b7cd39e8
JM
371122012-03-05 Joseph Myers <joseph@codesourcery.com>
37113
37114 [BZ #3976]
37115 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37116 (__ieee754_pow): Save and restore rounding mode and use
37117 round-to-nearest for main computations.
37118 * math/libm-test.inc (pow_test_tonearest): New function.
37119 (pow_test_towardzero): Likewise.
37120 (pow_test_downward): Likewise.
37121 (pow_test_upward): Likewise.
37122 (main): Call the new functions.
37123 * sysdeps/i386/fpu/libm-test-ulps: Update.
37124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37125
37126 [BZ #3976]
37127 * math/libm-test.inc (cosh_test_tonearest): New function.
37128 (cosh_test_towardzero): Likewise.
37129 (cosh_test_downward): Likewise.
37130 (cosh_test_upward): Likewise.
37131 (sinh_test_tonearest): Likewise.
37132 (sinh_test_towardzero): Likewise.
37133 (sinh_test_downward): Likewise.
37134 (sinh_test_upward): Likewise.
37135 (main): Call the new functions.
37136 * sysdeps/i386/fpu/libm-test-ulps: Update.
37137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37138
6c6a98c9
TV
371392012-03-05 Tom de Vries <tom@codesourcery.com>
37140
37141 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37142 default stack guard is set in last bytes.
37143 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37144
21bb2d2e 371452012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37146
21bb2d2e 37147 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37148
21bb2d2e
AJ
37149 [BZ #13656]
37150 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37151 possibly allocate from heap instead of stack.
37152 * stdio-common/bug-vfprintf-nargs.c: New file.
37153 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37154
c6922934
AS
371552012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37156
37157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37158
bc957d53
MP
371592012-03-03 Marek Polacek <polacek@redhat.com>
37160
37161 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37162 * math/math_private.h: Likewise.
37163 * stdlib/tst-strtod.c: Likewise.
37164 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37165 * sysdeps/x86_64/bits/atomic.h: Likewise.
37166
6358490d
DM
371672012-03-02 David S. Miller <davem@davemloft.net>
37168
37169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37173 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37174 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37175 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37176 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37177
01ae168d
RM
371782012-03-02 Roland McGrath <roland@hack.frob.com>
37179
d9a17c07
RM
37180 [BZ #13792]
37181 * manual/examples/README: New file, says the example source files
37182 can be used under GPL>=2.
37183 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37184 line containing just "*/".
37185 * manual/examples/add.c: Add copyright header (GPL>=2).
37186 * manual/examples/argp-ex1.c: Likewise.
37187 * manual/examples/argp-ex2.c: Likewise.
37188 * manual/examples/argp-ex3.c: Likewise.
37189 * manual/examples/argp-ex4.c: Likewise.
37190 * manual/examples/atexit.c: Likewise.
37191 * manual/examples/db.c: Likewise.
37192 * manual/examples/dir.c: Likewise.
37193 * manual/examples/dir2.c: Likewise.
37194 * manual/examples/execinfo.c: Likewise.
37195 * manual/examples/filecli.c: Likewise.
37196 * manual/examples/filesrv.c: Likewise.
37197 * manual/examples/fmtmsgexpl.c: Likewise.
37198 * manual/examples/genpass.c: Likewise.
37199 * manual/examples/inetcli.c: Likewise.
37200 * manual/examples/inetsrv.c: Likewise.
37201 * manual/examples/isockad.c: Likewise.
37202 * manual/examples/longopt.c: Likewise.
37203 * manual/examples/memopen.c: Likewise.
37204 * manual/examples/memstrm.c: Likewise.
37205 * manual/examples/mkfsock.c: Likewise.
37206 * manual/examples/mkisock.c: Likewise.
37207 * manual/examples/mygetpass.c: Likewise.
37208 * manual/examples/pipe.c: Likewise.
37209 * manual/examples/popen.c: Likewise.
37210 * manual/examples/rprintf.c: Likewise.
37211 * manual/examples/search.c: Likewise.
37212 * manual/examples/select.c: Likewise.
37213 * manual/examples/setjmp.c: Likewise.
37214 * manual/examples/sigh1.c: Likewise.
37215 * manual/examples/sigusr.c: Likewise.
37216 * manual/examples/stpcpy.c: Likewise.
37217 * manual/examples/strdupa.c: Likewise.
37218 * manual/examples/strftim.c: Likewise.
37219 * manual/examples/strncat.c: Likewise.
37220 * manual/examples/subopt.c: Likewise.
37221 * manual/examples/swapcontext.c: Likewise.
37222 * manual/examples/termios.c: Likewise.
37223 * manual/examples/testopt.c: Likewise.
37224 * manual/examples/testpass.c: Likewise.
37225 * manual/examples/timeval_subtract.c: Likewise.
37226
01ae168d
RM
37227 [BZ #13792]
37228 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37229 function to ...
37230 * manual/timeval_subtract.c.texi: ... here, new file.
37231
49efa33d
DM
372322012-03-02 David S. Miller <davem@davemloft.net>
37233
37234 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37235
28afd92d
JM
372362012-03-02 Joseph Myers <joseph@codesourcery.com>
37237
804360ed
JM
37238 [BZ #3976]
37239 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37240 (__sin): Save and restore rounding mode and use round-to-nearest
37241 for all computations.
37242 (__cos): Save and restore rounding mode and use round-to-nearest
37243 for all computations.
37244 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37245 <fenv.h>.
37246 (tan): Save and restore rounding mode and use round-to-nearest for
37247 all computations.
37248 * math/libm-test.inc (cos_test_tonearest): New function.
37249 (cos_test_towardzero): Likewise.
37250 (cos_test_downward): Likewise.
37251 (cos_test_upward): Likewise.
37252 (sin_test_tonearest): Likewise.
37253 (sin_test_towardzero): Likewise.
37254 (sin_test_downward): Likewise.
37255 (sin_test_upward): Likewise.
37256 (tan_test_tonearest): Likewise.
37257 (tan_test_towardzero): Likewise.
37258 (tan_test_downward): Likewise.
37259 (tan_test_upward): Likewise.
37260 (main): Call the new functions.
37261 * sysdeps/i386/fpu/libm-test-ulps: Update.
37262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37263
a6d06d7b
JM
37264 [BZ #10135]
37265 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37266 small n, then large n, before computing and testing k+n.
37267 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37269 Likewise.
37270 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37271 Likewise.
37272 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37273 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37274 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37275 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37276 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37277 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37278 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37279 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37280 * math/libm-test.inc (scalbn_test): Add more tests.
37281 (scalbln_test): Likewise.
37282
07e12bb3
JM
37283 * manual/filesys.texi (mode_t): Describe constraints on size and
37284 signedness, not exact equivalence to a particular type.
37285 (ino_t): Likewise.
37286 (ino64_t): Likewise.
37287 (dev_t): Likewise.
37288 (nlink_t): Likewise.
37289 (blkcnt_t): Likewise.
37290 (blkcnt64_t): Likewise.
37291 * manual/llio.texi (off_t): Likewise.
37292
28afd92d
JM
37293 [BZ #3976]
37294 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37295 (__ieee754_exp): Save and restore rounding mode and use
37296 round-to-nearest for all computations.
37297 * math/libm-test.inc (exp_test_tonearest): New function.
37298 (exp_test_towardzero): Likewise.
37299 (exp_test_downward): Likewise.
37300 (exp_test_upward): Likewise.
37301 (main): Call the new functions.
37302 * sysdeps/i386/fpu/libm-test-ulps: Update.
37303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37304
b1eeb65d
CD
373052012-03-01 Chris Demetriou <cgd@google.com>
37306
37307 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37308 have predictable order.
37309
53362a4b
DM
373102012-03-01 David S. Miller <davem@davemloft.net>
37311
3c969083
DM
37312 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37313
759707de
DM
37314 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37315 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37316 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37317 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37318
dfdb8ff2
DM
37319 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37320 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37321 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37323 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37324 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37325 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37326 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37327 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37328
ead89f96
DM
37329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37330
7f66bd07
DM
37331 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37332 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37333 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37334
53362a4b
DM
37335 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37336 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37337 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37338 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37339 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37341 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37342 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37343 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37344 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37345 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37346 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37348 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37349 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37351 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37352 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37353 * sysdeps/sparc/elf/configure: Regenerated.
37354
7b1902cb
JM
373552012-03-01 Joseph Myers <joseph@codesourcery.com>
37356
bec039bc
JM
37357 * configure.in (AS, LD): Require binutils 2.20 or later.
37358 * configure: Regenerated.
37359 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37360 as required minimum version.
37361 * INSTALL: Regenerated.
37362
7b1902cb
JM
37363 [BZ #2541]
37364 [BZ #4108]
37365 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37366 before squaring exponent.
37367 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37368 bottom long double and 27 bits of top long double before squaring
37369 exponent.
37370 * math/libm-test.inc (erfc_test): Add more tests.
37371 * sysdeps/i386/fpu/libm-test-ulps: Update.
37372 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37374
f775c276
KT
373752012-03-01 Kai Tietz <ktietz@redhat.com>
37376
37377 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37378 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37379 containing bit-fields.
37380 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37381 * soft-fp/single.h (_FP_UNION_S): Likewise.
37382 * soft-fp/double.h (_FP_UNION_D): Likewise.
37383
5b8a4d4a
JM
373842012-02-29 Joseph Myers <joseph@codesourcery.com>
37385
0bab47b6
JM
37386 [BZ #13786]
37387 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37388 not include ../strcmp.S.
37389 [USE_AS_STRNCASECMP_L]: Likewise.
37390 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37391 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37392 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37393 (__strncasecmp_l_ia32): Define as alias to
37394 __strncasecmp_l_nonascii.
37395
0fcad3e2
JM
37396 [BZ #5794]
37397 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37398 * sysdeps/i386/fpu/libm-test-ulps: Update.
37399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37400
5b8a4d4a
JM
37401 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37403
8fdceb2e
JL
374042012-02-29 Jeff Law <law@redhat.com>
37405
37406 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37407 out of bounds read.
37408
1f393a11
MP
374092012-02-29 Marek Polacek <polacek@redhat.com>
37410
37411 [BZ #13706]
37412 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37413 * elf/Makefile: Add rules to run tst-unused-dep.out.
37414
8847f037
DM
374152012-02-28 David S. Miller <davem@davemloft.net>
37416
37417 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37418 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37420 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37421 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37422 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37423
169d7f11
JM
374242012-02-29 Joseph Myers <joseph@codesourcery.com>
37425
37426 * math/libm-test.inc (llround_test): Move one test from
37427 lround_test. Use TEST_f_L in moved test.
37428 (lround_test): Move misplaced test to llround_test. Add testcase
37429 from bug 2561.
37430
39adf059
UD
374312012-02-28 Ulrich Drepper <drepper@gmail.com>
37432
37433 * sysdeps/x86_64/fpu/e_expf.S: New file.
37434 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37435
71b5d1c5
SB
374362012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37437
37438 [BZ #13637]
37439 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37440 of remain_len that may cause incomplete multi-byte character and
37441 false match.
37442 * posix/bug-regex33.c: New file.
37443 * posix/Makefile (tests): Add bug-regex33.
37444
1f77f049
JM
374452012-02-28 Joseph Myers <joseph@codesourcery.com>
37446
37447 * manual/macros.texi: New file.
37448 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37449 * manual/libc.texinfo: Include macros.texi.
37450 * manual/creatute.texi: Likewise.
37451 * manual/install.texi: Likewise.
37452 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37453 @glibcadj{} in references to the GNU C Library.
37454 * manual/charset.texi: Likewise.
37455 * manual/conf.texi: Likewise.
37456 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37457 when not using those macros.
37458 * manual/creature.texi: Likewise.
37459 * manual/crypt.texi: Likewise.
37460 * manual/errno.texi: Likewise.
37461 * manual/filesys.texi: Likewise.
37462 * manual/header.texi: Likewise.
37463 * manual/install.texi: Likewise.
37464 * manual/intro.texi: Likewise.
37465 * manual/io.texi: Likewise.
37466 * manual/job.texi: Likewise.
37467 * manual/lang.texi: Likewise.
37468 * manual/libc.texiinfo: Likewise.
37469 * manual/llio.texi: Likewise.
37470 * manual/locale.texi: Likewise.
37471 * manual/maint.texi: Likewise.
37472 * manual/math.texi: Likewise.
37473 * manual/memory.texi: Likewise.
37474 * manual/message.texi: Likewise.
37475 * manual/nss.texi: Likewise.
37476 * manual/pattern.texi: Likewise.
37477 * manual/process.texi: Likewise.
37478 * manual/resource.texi: Likewise.
37479 * manual/search.texi: Likewise.
37480 * manual/setjmp.texi: Likewise.
37481 * manual/signal.texi: Likewise.
37482 * manual/socket.texi: Likewise.
37483 * manual/startup.texi: Likewise.
37484 * manual/stdio.texi: Likewise.
37485 * manual/string.texi: Likewise.
37486 * manual/sysinfo.texi: Likewise.
37487 * manual/syslog.texi: Likewise.
37488 * manual/terminal.texi: Likewise.
37489 * manual/time.texi: Likewise.
37490 * manual/users.texi: Likewise.
37491 * INSTALL: Regenerated.
37492 * NOTES: Regenerated.
d40c5d54 37493 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 37494
450bf206
AS
374952012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37496
37497 * include/dirent.h: Include <dirstream.h> before
37498 <dirent/dirent.h>.
37499
741a235b
DM
375002012-02-28 David S. Miller <davem@davemloft.net>
37501
37502 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37503 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37504 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37505 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37506
d6b5aa58
DM
375072012-02-27 David S. Miller <davem@davemloft.net>
37508
1aff59a3
DM
37509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37511 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37512 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37513
d6b5aa58
DM
37514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37515 frame pointer instead of stack pointer relative arg slot.
37516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37517 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37518 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37519
433f48bf
CD
375202012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37521
37522 [BZ #3992]
37523 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37524
d674b76d
DM
375252012-02-27 David S. Miller <davem@davemloft.net>
37526
37527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37531 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37532 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37533 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37534 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37535
0e7727f7
JM
375362012-02-27 Joseph Myers <joseph@codesourcery.com>
37537
37538 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37539 later. Allow versions 5-9.
43be4ca2 37540 * configure: Regenerated.
0e7727f7
JM
37541 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37542 required minimum version and 4.6 as recommended version. Do not
37543 mention bugs in GCC 2.7 and 2.8.
43be4ca2 37544 * INSTALL: Regenerated.
0e7727f7 37545
a78bc654
DM
375462012-02-27 David S. Miller <davem@davemloft.net>
37547
428d5830
DM
37548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37552 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37553 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37554 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37555 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37556
a78bc654
DM
37557 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37558 manipulate bits before adding and subtracting TWO112[sx].
37559 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37560
4579f81c
RM
375612012-02-27 Roland McGrath <roland@hack.frob.com>
37562
36c8acb4
RM
37563 [BZ #13775]
37564 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37565 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37566 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37567 being in POSIX, because they are in 1003.1-2008.
37568
84ad622b
RM
37569 * rt/tst-aio.c: Include <fcntl.h>.
37570 * rt/tst-aio7.c: Likewise.
37571 * rt/tst-aio64.c: Likewise.
37572
4579f81c
RM
37573 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37574
abd923db
JM
375752012-02-27 Joseph Myers <joseph@codesourcery.com>
37576
37577 * manual/install.texi (--with-headers): Describe headers as
37578 interface headers, not private headers.
37579 (Specific advice for GNU/Linux systems): Describe use of headers
37580 from "make headers_install", not private headers from older
37581 kernels.
43be4ca2 37582 * INSTALL: Regenerated.
abd923db
JM
37583 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37584 Change to 2.6.19.
37585 * sysdeps/unix/sysv/linux/configure: Regenerated.
37586
6664049b
JM
37587 * manual/llio.texi (fclean): Remove documentation.
37588
bb8b6697
JM
37589 * manual/Makefile (libc-texi-generated): New variable. Include
37590 version.texi.
37591 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37592 $(libc-texi-generated), not duplicated list of files.
37593 (version.texi, stamp-version): New rules.
37594 (realclean): Remove $(libc-texi-generated), not individual files
37595 from that list. Do not remove dir-add.texinfo.
37596 * manual/libc.texinfo: Comment out uses of edition numbers and
37597 references to printed manual. Remove last-updated dates.
37598 (EDITION): Comment out.
37599 (ISBN): Likewise.
37600 (VERSION, UPDATED): Remove.
37601 (version.texi): Include.
37602
12e5c3b9
AS
376032012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37604
37605 * sysdeps/posix/spawni.c: Include <signal.h>.
37606 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37607 * sysdeps/pthread/aio_fsync.c: Likewise.
37608
4efeffc1 376092012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 37610
ba63ba08
UD
37611 * conform/Makefile (tests): Run only when not cross-compiling and
37612 when fast-check is not defined.
37613
d94a4670
UD
37614 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37615 * conform/data/limits.h-data: Fixes for POSIX2008.
37616 * conform/run-conformtest.sh: Run all tests.
37617 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37618 headers.
37619 * include/bits/dlfcn.h: Likewise.
37620 * include/langinfo.h: Likewise.
37621 * include/monetary.h: Likewise.
37622 * include/sys/poll.h: Likewise.
37623
37624 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37625 for __USE_GNU.
37626 * posix/spawn.h: Define __need_sigset_t.
37627 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37628 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37629 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37630 to get sigevent_t only.
37631 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37632 only for __USE_GNU.
37633 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37634 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37635 process_vm_writev only for __USE_GNU.
37636 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
37637
37638 * conform/Makefile: For now ignore errors from run-conformtest.
37639 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37640 POSIX to avoid namespace pollution. Don't prepend headers.
37641 * conform/data/aio.h-data: Fixes for POSIX testing.
37642 * conform/data/fcntl.h-data: Likewise.
37643 * conform/data/glob.h-data: Likewise.
37644 * conform/data/grp.h-data: Likewise.
37645 * conform/data/pthread.h-data: Likewise.
37646 * conform/data/pwd.h-data: Likewise.
37647 * conform/data/signal.h-data: Likewise.
37648 * conform/data/spawn.h-data: Likewise.
37649 * conform/data/stdio.h-data: Likewise.
37650 * conform/data/stdlib.h-data: Likewise.
37651 * conform/data/stropts.h-data: Likewise.
37652 * conform/data/sys/mman.h-data: Likewise.
37653 * conform/data/sys/stat.h-data: Likewise.
37654 * conform/data/sys/types.h-data: Likewise.
37655 * conform/data/sys/wait.h-data: Likewise.
37656 * conform/data/time.h-data: Likewise.
37657 * conform/data/unistd.h-data: Likewise.
37658 * conform/data/utime.h-data: Likewise.
37659
37660 * io/sys/stat.h: fchmod was always in POSIX.
37661 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37662 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37663 * rt/aio.h: Define __need_timespec before including <time.h>.
37664 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37665 struct. Add forward declaration of pthread_attr_t and use it in
37666 sigevent.
37667 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37668 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37669 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37670 always remove CLK_TCK definition.
37671
c20105c3
AS
376722012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37673
37674 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37675
7a270350
UD
376762012-02-25 Ulrich Drepper <drepper@gmail.com>
37677
31341567
UD
37678 * conform/run-conformtest.sh: New file.
37679 * conform/Makefile: Run run-conformtest for tests.
37680 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37681 support.
37682
37683 * conform/data/uchar.h-data: New file.
37684 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37685 * conform/data/arpa/inet.h-data: Likewise.
37686 * conform/data/assert.h-data: Likewise.
37687 * conform/data/complex.h-data: Likewise.
37688 * conform/data/cpio.h-data: Likewise.
37689 * conform/data/ctype.h-data: Likewise.
37690 * conform/data/dirent.h-data: Likewise.
37691 * conform/data/dlfcn.h-data: Likewise.
37692 * conform/data/errno.h-data: Likewise.
37693 * conform/data/fcntl.h-data: Likewise.
37694 * conform/data/float.h-data: Likewise.
37695 * conform/data/fmtmsg.h-data: Likewise.
37696 * conform/data/fnmatch.h-data: Likewise.
37697 * conform/data/ftw.h-data: Likewise.
37698 * conform/data/glob.h-data: Likewise.
37699 * conform/data/grp.h-data: Likewise.
37700 * conform/data/iconv.h-data: Likewise.
37701 * conform/data/inttypes.h-data: Likewise.
37702 * conform/data/langinfo.h-data: Likewise.
37703 * conform/data/libgen.h-data: Likewise.
37704 * conform/data/limits.h-data: Likewise.
37705 * conform/data/locale.h-data: Likewise.
37706 * conform/data/math.h-data: Likewise.
37707 * conform/data/monetary.h-data: Likewise.
37708 * conform/data/mqueue.h-data: Likewise.
37709 * conform/data/ndbm.h-data: Likewise.
37710 * conform/data/net/if.h-data: Likewise.
37711 * conform/data/netdb.h-data: Likewise.
37712 * conform/data/netinet/in.h-data: Likewise.
37713 * conform/data/nl_types.h-data: Likewise.
37714 * conform/data/poll.h-data: Likewise.
37715 * conform/data/pthread.h-data: Likewise.
37716 * conform/data/pwd.h-data: Likewise.
37717 * conform/data/regex.h-data: Likewise.
37718 * conform/data/sched.h-data: Likewise.
37719 * conform/data/search.h-data: Likewise.
37720 * conform/data/semaphore.h-data: Likewise.
37721 * conform/data/setjmp.h-data: Likewise.
37722 * conform/data/signal.h-data: Likewise.
37723 * conform/data/spawn.h-data: Likewise.
37724 * conform/data/stdarg.h-data: Likewise.
37725 * conform/data/stdio.h-data: Likewise.
37726 * conform/data/stdlib.h-data: Likewise.
37727 * conform/data/string.h-data: Likewise.
37728 * conform/data/strings.h-data: Likewise.
37729 * conform/data/stropts.h-data: Likewise.
37730 * conform/data/sys/ipc.h-data: Likewise.
37731 * conform/data/sys/mman.h-data: Likewise.
37732 * conform/data/sys/msg.h-data: Likewise.
37733 * conform/data/sys/resource.h-data: Likewise.
37734 * conform/data/sys/select.h-data: Likewise.
37735 * conform/data/sys/sem.h-data: Likewise.
37736 * conform/data/sys/shm.h-data: Likewise.
37737 * conform/data/sys/socket.h-data: Likewise.
37738 * conform/data/sys/stat.h-data: Likewise.
37739 * conform/data/sys/statvfs.h-data: Likewise.
37740 * conform/data/sys/time.h-data: Likewise.
37741 * conform/data/sys/timeb.h-data: Likewise.
37742 * conform/data/sys/times.h-data: Likewise.
37743 * conform/data/sys/types.h-data: Likewise.
37744 * conform/data/sys/uio.h-data: Likewise.
37745 * conform/data/sys/un.h-data: Likewise.
37746 * conform/data/sys/utsname.h-data: Likewise.
37747 * conform/data/sys/wait.h-data: Likewise.
37748 * conform/data/syslog.h-data: Likewise.
37749 * conform/data/tar.h-data: Likewise.
37750 * conform/data/termios.h-data: Likewise.
37751 * conform/data/utime.h-data: Likewise.
37752 * conform/data/utmpx.h-data: Likewise.
37753 * conform/data/varargs.h-data: Likewise.
37754 * conform/data/wchar.h-data: Likewise.
37755 * conform/data/wctype.h-data: Likewise.
37756 * conform/data/wordexp.h-data: Likewise.
37757
37758 * include/stropts.h: New file.
37759 * include/uchar.h: New file.
37760 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37761 * include/assert.h: Likewise.
37762 * include/ctype.h: Likewise.
37763 * include/dirent.h: Likewise.
37764 * include/dlfcn.h: Likewise.
37765 * include/fcntl.h: Likewise.
37766 * include/fnmatch.h: Likewise.
37767 * include/glob.h: Likewise.
37768 * include/grp.h: Likewise.
37769 * include/libio.h: Likewise.
37770 * include/locale.h: Likewise.
37771 * include/math.h: Likewise.
37772 * include/net/if.h: Likewise.
37773 * include/netdb.h: Likewise.
37774 * include/netinet/in.h: Likewise.
37775 * include/pthread.h: Likewise.
37776 * include/pwd.h: Likewise.
37777 * include/regex.h: Likewise.
37778 * include/sched.h: Likewise.
37779 * include/search.h: Likewise.
37780 * include/setjmp.h: Likewise.
37781 * include/signal.h: Likewise.
37782 * include/stdio.h: Likewise.
37783 * include/stdlib.h: Likewise.
37784 * include/string.h: Likewise.
37785 * include/sys/cdefs.h: Likewise.
37786 * include/sys/mman.h: Likewise.
37787 * include/sys/msg.h: Likewise.
37788 * include/sys/resource.h: Likewise.
37789 * include/sys/select.h: Likewise.
37790 * include/sys/socket.h: Likewise.
37791 * include/sys/stat.h: Likewise.
37792 * include/sys/statvfs.h: Likewise.
37793 * include/sys/time.h: Likewise.
37794 * include/sys/times.h: Likewise.
37795 * include/sys/uio.h: Likewise.
37796 * include/sys/utsname.h: Likewise.
37797 * include/sys/wait.h: Likewise.
37798 * include/termios.h: Likewise.
37799 * include/time.h: Likewise.
37800 * include/ulimit.h: Likewise.
37801 * include/unistd.h: Likewise.
37802 * include/utime.h: Likewise.
37803 * include/wchar.h: Likewise.
37804 * include/wctype.h: Likewise.
37805 * include/wordexp.h: Likewise.
37806
37807 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37808
7a270350
UD
37809 * time/time.h: TIME_UTC must be a macro.
37810 Make timespec_get available for ISO C11 only as well.
37811
7724defc
UD
378122012-02-24 Ulrich Drepper <drepper@gmail.com>
37813
37814 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37815 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37816
6b1d1d46
JM
378172012-02-24 Joseph Myers <joseph@codesourcery.com>
37818
37819 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37820
0f8bbd69
JM
378212012-02-24 Joseph Myers <joseph@codesourcery.com>
37822
37823 * manual/texinfo.tex: Update to version 2012-01-19.16.
37824
66ab80bc
JM
378252012-02-24 Joseph Myers <joseph@codesourcery.com>
37826
37827 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37828
74981cc5
RM
378292012-02-24 Roland McGrath <roland@hack.frob.com>
37830
ee968201
RM
37831 [BZ #13738]
37832 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37833 * manual/fdl-1.3.texi: New file.
37834 * manual/fdl-1.1.texi: File removed.
37835
74981cc5
RM
37836 [BZ #13738]
37837 * manual/libc.texinfo (FDL_VERSION): New @set.
37838 Use it for mention of FDL in cover text.
37839 (Documentation License): Use it in @include file name.
37840
7bb764bc
JM
378412012-02-22 Joseph Myers <joseph@codesourcery.com>
37842 Roland McGrath <roland@hack.frob.com>
37843
37844 [BZ #5461]
57f41c40
AS
37845 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37846 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37847 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37848 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37849 name.
37850 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37851
6cbeae47
JM
378522012-02-22 Joseph Myers <joseph@codesourcery.com>
37853
37854 [BZ #2547]
37855 [BZ #11365]
37856 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37857 manipulate bits before adding and subtracting TWO23[sx].
37858 * math/libm-test.inc (nearbyint_test): Add more tests.
37859
fe45ce09
JM
378602012-02-22 Joseph Myers <joseph@codesourcery.com>
37861
37862 [BZ #2548]
37863 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37864 bits before adding and subtracting TWO23[sx].
37865 * math/libm-test.inc (rint_test): Add more tests.
37866 (rint_test_tonearest): Likewise.
37867 (rint_test_towardzero): Likewise.
37868 (rint_test_downward): Likewise.
37869 (rint_test_upward: Likewise.
37870
ff3b3d82
JM
378712012-02-22 Joseph Myers <joseph@codesourcery.com>
37872
37873 [BZ #10110]
37874 * include/stdc-predef.h: New file. Extracted from features.h.
37875 * include/features.h: Include stdc-predef.h.
37876 * Makefile (headers): Add stdc-predef.h.
37877 * CONFORMANCE (Compiler limitations): Update.
37878
ef0aab35
JM
378792012-02-22 Joseph Myers <joseph@codesourcery.com>
37880
37881 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37882
58639409
DM
378832012-02-21 David S. Miller <davem@davemloft.net>
37884
37885 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37886 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37887
c0e70b25
DM
378882012-02-20 David S. Miller <davem@davemloft.net>
37889
37890 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37891 using a normal save/restore sequence, rather than allocating a
37892 dummy stack frame just to store a frame pointer and restore.
37893 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37894
fb06851d
JM
378952012-02-21 Joseph Myers <joseph@codesourcery.com>
37896
37897 * manual/install.texi: Fix stray word in line-wrapped comment.
37898
7a8b71c3
DM
378992012-02-20 David S. Miller <davem@davemloft.net>
37900
d510c123
DM
37901 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37902 both binutils and gcc support GOTDATA.
37903
0722d7c2
DM
37904 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37905 "rd %pc" in the PIC register setup sequences.
37906
3d2b3019
DM
37907 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37908 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37909 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37910 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37911 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37913 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37914 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37915 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37916 (SYSCALL_ERROR_HANDLER): Likewise.
37917 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37918 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37920 (SYSCALL_ERROR_HANDLER): Likewise.
37921
c80098a9
DM
37922 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37923 (HAVE_GCC_GOTDATA): New.
37924 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37925 relocation support in both binutils and gcc.
37926 * sysdeps/sparc/elf/configure: Regenerate.
37927
3a2545a0
DM
37928 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37929 * sysdeps/sparc/sparc32/elf/configure: Delete.
37930 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37931 * sysdeps/sparc/sparc64/elf/configure: Delete.
37932 * sysdeps/sparc/elf/configure.in: New file.
37933 * sysdeps/sparc/elf/configure: Generate.
37934
7a8b71c3
DM
37935 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37936 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37937 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37938 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37939 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37940
f1e86fca
JM
379412012-02-21 Joseph Myers <joseph@codesourcery.com>
37942
37943 * manual/install.texi: Do not mention specific glibc version
37944 numbers.
37945 * manual/libc.texinfo (VERSION, UPDATED): Update.
37946 (@copying): Use @copyright{} and range of years.
37947
0e7dfaef
JM
379482012-02-21 Joseph Myers <joseph@codesourcery.com>
37949
37950 [BZ #13695]
37951 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37952 [crti.S not in sysdirs] (generated): Do not append.
37953 [crti.S not in sysdirs] (omit-deps): Likewise.
37954 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37955 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37956 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37957 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37958 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37959 Likewise.
37960 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37961 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37962 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37963 * csu/defs.awk: Remove file.
37964 * sysdeps/generic/initfini.c: Likewise.
37965 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37966 variable.
37967 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37968 Likewise.
37969
599af3ca
JM
379702012-02-20 Joseph Myers <joseph@codesourcery.com>
37971
37972 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37973 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37974 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37975 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37976 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37977 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37978 <bits/epoll.h>.
37979 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37980 (__EPOLL_PACKED): Define to empty if not defined by
37981 <bits/epoll.h>.
37982 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37984 bits/epoll.h.
37985
0e499750
JM
379862012-02-20 Joseph Myers <joseph@codesourcery.com>
37987
37988 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37989 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37990 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37991 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37992 <bits/timerfd.h>.
37993 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37995 bits/timerfd.h.
37996
5ad91f6e
JM
379972012-02-20 Joseph Myers <joseph@codesourcery.com>
37998
37999 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38000 in C locale.
38001 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38002 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38003 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38005
06b99b02
AJ
380062012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38007
38008 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38009 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38010
7638c0fd
AS
380112012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38012
38013 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38014 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38015 defined.
38016 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38017 Likewise.
38018 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38019 entry for 2.16.
38020
92221550
AJ
380212012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38022
38023 * math/w_acos.c: Use non-signaling floating-point comparisons.
38024 * math/w_acosf.c: Likewise.
38025 * math/w_acosh.c: Likewise.
38026 * math/w_acoshf.c: Likewise.
38027 * math/w_acoshl.c: Likewise.
38028 * math/w_acosl.c: Likewise.
38029 * math/w_asin.c: Likewise.
38030 * math/w_asinf.c: Likewise.
38031 * math/w_asinl.c: Likewise.
38032 * math/w_atanh.c: Likewise.
38033 * math/w_atanhf.c: Likewise.
38034 * math/w_atanhl.c: Likewise.
38035 * math/w_exp2.c: Likewise.
38036 * math/w_exp2f.c: Likewise.
38037 * math/w_exp2l.c: Likewise.
38038 * math/w_j0.c: Likewise.
38039 * math/w_j0f.c: Likewise.
38040 * math/w_j0l.c: Likewise.
38041 * math/w_j1.c: Likewise.
38042 * math/w_j1f.c: Likewise.
38043 * math/w_j1l.c: Likewise.
38044 * math/w_jn.c: Likewise.
38045 * math/w_jnf.c: Likewise.
38046 * math/w_log.c: Likewise.
38047 * math/w_log10.c: Likewise.
38048 * math/w_log10f.c: Likewise.
38049 * math/w_log10l.c: Likewise.
38050 * math/w_log2.c: Likewise.
38051 * math/w_log2f.c: Likewise.
38052 * math/w_log2l.c: Likewise.
38053 * math/w_logf.c: Likewise.
38054 * math/w_logl.c: Likewise.
38055 * math/w_sqrt.c: Likewise.
38056 * math/w_sqrtf.c: Likewise.
38057 * math/w_sqrtl.c: Likewise.
38058 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38059 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38060 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38061 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38062 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38063
ebaf36eb
JM
380642012-02-19 Joseph Myers <joseph@codesourcery.com>
38065
38066 [BZ #9739]
38067 * manual/string.texi (strnlen): Use correct parameter name in
38068 equivalent expression.
38069
71c254a6
JM
380702012-02-19 Joseph Myers <joseph@codesourcery.com>
38071
38072 [BZ #11174]
38073 * manual/users.texi (seteuid): Consistently use neweuid for
38074 argument name.
38075
16d2c631
JM
380762012-02-19 Joseph Myers <joseph@codesourcery.com>
38077
38078 [BZ #13704]
38079 * manual/nss.texi (Services in the NSS configuration): Correct
38080 list of services in example configuration file.
38081
cd837b09
NB
380822012-02-19 Nick Bowler <nbowler@draconx.ca>
38083
38084 [BZ #11322]
38085 * manual/arith.texi: Remove statements about negative zero
38086 behaving identically to zero.
38087
02c4bbad
JM
380882012-02-18 Joseph Myers <joseph@codesourcery.com>
38089
38090 [BZ #5993]
38091 * manual/install.texi: Do not document upgrading from libc5.
38092
366842e7
JM
380932012-02-18 Joseph Myers <joseph@codesourcery.com>
38094
38095 [BZ #4596]
38096 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38097
dd54084d
DM
380982012-02-18 David S. Miller <davem@davemloft.net>
38099
38100 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38101 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38102 %o7 across the call.
38103 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38104 instead.
38105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38106 SETUP_PIC_REG_LEAF.
38107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38108 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38109 * sysdeps/sparc/crtn.S: Likewise.
38110
2bcc53a3
UD
381112012-02-17 Ulrich Drepper <drepper@gmail.com>
38112
38113 * aout/Makefile: Remove.
38114
09c093b5
RK
381152012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38116
38117 [BZ #13058]
38118 * manual/examples/argp-ex1.c (main): Format definition in GNU
38119 style.
38120 * manual/examples/argp-ex2.c (main): Likewise.
38121 * manual/examples/argp-ex3.c (main): Likewise.
38122 * manual/examples/argp-ex4.c (main): Likewise.
38123 * manual/examples/longopt.c (main): Use new-style prototype
38124 definition.
38125 * manual/examples/strncat.c (main): Specify return type and use
38126 (void) for arguments.
38127 * manual/examples/subopt.c (main): Use char **argv argument.
38128
2ee633a2
JM
381292012-02-17 Joseph Myers <joseph@codesourcery.com>
38130
38131 [BZ #5077]
38132 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38133 rounding modes.
38134
0520adde
FB
381352012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38136
38137 [BZ #6907]
38138 * manual/string.texi (strchr): Change when strchrnul is
38139 recommended.
38140
3f4081cd
DGM
381412012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38142
38143 [BZ #174]
38144 * manual/locale.texi (setlocale): Document LOCPATH.
38145
d1b10e78
JM
381462012-02-17 Joseph Myers <joseph@codesourcery.com>
38147
38148 [BZ #10210]
38149 * manual/process.texi (execle): Move @dots{} before last argument.
38150
79c6869c
PB
381512012-02-17 Paul Bolle <pebolle@tiscali.nl>
38152
38153 [BZ #12047]
38154 * manual/charset.texi (Generic Charset Conversion): Fix typo
38155 (LC_TYPE -> LC_CTYPE).
38156
cc6e48bc
NB
381572012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38158
38159 [BZ #5805]
38160 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38161 (scalbnf): Likewise.
38162 (scalbnl): Likewise.
38163 (scalbln): Likewise.
38164 (scalblnf): Likewise.
38165 (scalblnl): Likewise.
38166 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38167 (vwarnx): Likewise.
38168 (verr): Likewise.
38169 (verrx): Likewise.
38170 * manual/filesys.texi (telldir): Use braces around return type.
38171 * manual/llio.texi (mmap): Add space after comma.
38172 (mmap64): Likewise.
38173 * manual/math.texi (jn): Use @var{} on parameter names.
38174 (jnf): Likewise.
38175 (jnl): Likewise.
38176 (yn): Likewise.
38177 (ynf): Likewise.
38178 (ynl): Likewise.
38179 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38180 line.
38181 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38182 "...".
38183 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38184 (sched_get_priority_max): Likewise.
38185 * manual/signal.texi (sigvec): Add space after comma.
38186 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38187 names.
38188 (if_indextoname): Likewise.
38189 (if_freenameindex): Likewise.
38190 (sendto): Use ',' instead of '.' in prototype.
38191 * manual/startup.texi (syscall): Use @dots{} instead of literal
38192 "...".
38193 * manual/stdio.texi (__fpending): Separate initial words of
38194 paragraph from @deftypefun line.
38195 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38196 "...".
38197 (vsyslog): Use @var{} on parameter names.
38198 * manual/terminal.texi (stty): Use @var{} on parameter names.
38199 * manual/users.texi (getutmp): Use @var{} on parameter names.
38200 (getutmpx): Likewise.
38201
5b23062f
JM
382022012-02-17 Joseph Myers <joseph@codesourcery.com>
38203
38204 [BZ #6884]
38205 * manual/stdio.texi (fopen): Fix typos in description of
38206 ",ccs=STRING".
38207
8dee4833
AJ
382082012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38209
38210 [BZ #4026]
38211 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38212 get clock_id definition.
38213
9078ce93
TS
382142012-02-17 Thomas Schwinge <thomas@schwinge.name>
38215
38216 [BZ #4822]
38217 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38218 (madvise): Cast every argument to void on its own.
38219
3835c55f
JM
382202012-02-17 Joseph Myers <joseph@codesourcery.com>
38221
38222 [BZ #9902]
38223 * manual/startup.texi (Exit Status): Fix typo.
38224
35c47e37
JM
382252012-02-17 Joseph Myers <joseph@codesourcery.com>
38226
38227 [BZ #10140]
38228 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38229 * manual/examples/argp-ex2.c: Likewise.
38230 * manual/examples/argp-ex3.c: Likewise.
38231
e3b69ca7
RH
382322012-02-16 Richard Henderson <rth@redhat.com>
38233
38234 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38235 * sysdeps/s390/s390-32/initfini.c: Remove.
38236 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38237 * sysdeps/s390/s390-64/initfini.c: Remove.
38238
df83af67
KK
382392012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38240
38241 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38242 compiler output for sysdeps/generic/initfini.c.
38243 * sysdeps/sh/elf/initfini.c: Remove file.
38244
f63f3380
DM
382452012-02-16 David S. Miller <davem@davemloft.net>
38246
fb59b3a4
DM
38247 [BZ #11494]
38248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38249
f63f3380
DM
38250 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38251 * sysdeps/sparc/crti.S: New file.
38252 * sysdeps/sparc/crtn.S: New file.
38253 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38254 * sysdeps/sparc/sparc64/Makefile: Likewise.
38255
df6a4a4a
MF
382562012-02-15 Mike Frysinger <vapier@gentoo.org>
38257
6dd8f3dc 38258 [BZ #3335]
df6a4a4a
MF
38259 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38260
1cac7236
RM
382612012-02-15 Roland McGrath <roland@hack.frob.com>
38262
d2c736f8
RM
38263 [BZ #4822]
38264 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38265
1cac7236
RM
38266 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38267 (write, read, close): Likewise.
38268 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38269
8e475601
JM
382702012-02-15 Joseph Myers <joseph@codesourcery.com>
38271
38272 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38273 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38274 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38275 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38276 <bits/signalfd.h>.
38277 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38279 bits/signalfd.h.
38280
ed656b40
MP
382812012-02-14 Marek Polacek <polacek@redhat.com>
38282
38283 * sysdeps/x86_64/crti.S: New file.
38284 * sysdeps/x86_64/crtn.S: New file.
38285 * sysdeps/x86_64/elf/initfini.c: Remove file.
38286
2a979d3a
JM
382872012-02-13 Joseph Myers <joseph@codesourcery.com>
38288
38289 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38290 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38291 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38292 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38293 <bits/inotify.h>.
38294 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38296 bits/inotify.h.
38297
2a418ac3
JM
382982012-02-13 Joseph Myers <joseph@codesourcery.com>
38299
38300 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38301 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38302 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38303 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38304 <bits/eventfd.h>.
38305 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38307 bits/eventfd.h.
38308
fb779be7
TS
383092012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38310
e19e83c5
RM
38311 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38312 __feraiseexcept instead of feraiseexcept.
7c35ffed 38313
fb779be7
TS
38314 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38315 nanosleep invocations.
38316 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38317 strings, and add error checking for a nanosleep invocations.
38318
59ba27a6
PE
383192012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38320
38321 Replace FSF snail mail address with URLs, as per GNU coding standards.
38322 Most of the snail mail addresses were wrong anyway, and omitting
38323 them makes the source code easier to maintain. Almost all of the
38324 changes are to license notices and to locale LC_IDENTIFICATION
38325 addresses, except for this one:
38326 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38327 not its snail mail address.
38328
57b957eb
RH
383292012-02-09 Richard Henderson <rth@twiddle.net>
38330
af850b1c
RH
38331 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38332 of kernel-features.h.
38333
57b957eb
RH
38334 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38335
6b73181a
MP
383362012-02-08 Marek Polacek <polacek@redhat.com>
38337
38338 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38339 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38340 * sysdeps/gnu/_G_config.h: Likewise.
38341 * sysdeps/generic/_G_config.h: Likewise.
38342
26ecc33a
AS
383432012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38344
6c6dbc63
AS
38345 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38346 tests.
38347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38348
e216c012
AS
38349 * sysdeps/powerpc/powerpc32/crti.S: New file.
38350 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38351 * sysdeps/powerpc/powerpc64/crti.S: New file.
38352 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38353
26ecc33a
AS
38354 * Makeconfig (have-initfini): Don't set.
38355 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38356 * configure.in (nopic_initfini): Don't substitute.
38357 * config.h.in (HAVE_INITFINI): Don't #undef.
38358 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38359 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38360
3add8e13
JM
383612012-02-08 Joseph Myers <joseph@codesourcery.com>
38362
38363 Support crti.S and crtn.S provided directly by architectures.
38364 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38365 [crti.S in sysdirs] (omit-deps): Likewise.
38366 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38367 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38368 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38369 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38370 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38371 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38372 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38373 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38374 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38375 compiler output for sysdeps/generic/initfini.c.
38376 * sysdeps/i386/elf/Makefile: Remove file.
38377 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38378
a22f12b4
MP
383792012-02-07 Marek Polacek <polacek@redhat.com>
38380
38381 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38382 * sysdeps/gnu/_G_config.h: Likewise.
38383 * sysdeps/mach/hurd/_G_config.h: Likewise.
38384
148cf100
MP
383852012-02-07 Marek Polacek <polacek@redhat.com>
38386
38387 * math/Makefile (tests): Add tst-CMPLX2.
38388 * math/tst-CMPLX2.c: New file.
38389
cfdc0dd7
AS
383902012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38391
84ba42c4
AS
38392 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38393
cfdc0dd7
AS
38394 * math/libm-test.inc (jn_test): Add missing L suffix.
38395
622c86f4
MP
383962012-02-06 Marek Polacek <polacek@redhat.com>
38397
38398 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38399 * sysdeps/i386/fpu/e_powf.S: Likewise.
38400 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38401 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38402 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38403 * sysdeps/i386/fpu/e_pow.S: Likewise.
38404 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38405 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38406 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38407 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38408 * sysdeps/i386/fpu/e_log2.S: Likewise.
38409 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38410 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38411 * sysdeps/i386/fpu/e_powl.S: Likewise.
38412 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38413 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38414 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38415 * sysdeps/i386/fpu/e_logl.S: Likewise.
38416 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38417 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38418 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38419 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38420 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38421 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38422 * sysdeps/i386/fpu/e_log.S: Likewise.
38423 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38424 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38425 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38426 * sysdeps/i386/fpu/e_logf.S: Likewise.
38427 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38428 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38429 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38430 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38431 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38432 * sysdeps/i386/fpu/e_log10.S: Likewise.
38433 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38434 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38435 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38436 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38437 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38438 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38439 * sysdeps/i386/asm-syntax.h: Likewise.
38440 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38441 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38442 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38443 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38444 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38445 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38446 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38447 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38448 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38449 * sysdeps/powerpc/sysdep.h: Likewise.
38450 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38451 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38452
d4a54ac6
JM
384532012-02-06 Joseph Myers <joseph@codesourcery.com>
38454
38455 [BZ #411]
38456 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38457
314054ea
JM
384582012-02-06 Joseph Myers <joseph@codesourcery.com>
38459
38460 * sysdeps/i386/sysdep.h: Include <features.h>.
38461 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38462 version.
38463
d8e0ca50
JM
384642012-02-05 Joseph Myers <joseph@codesourcery.com>
38465
38466 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38467 Define.
38468 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38469 LOAD_PIC_REG_STR.
38470
b1da7dd9
JM
384712012-02-03 Joseph Myers <joseph@codesourcery.com>
38472
38473 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38474 (SETUP_PIC_REG): Use GET_PC_THUNK.
38475 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38476 macro.
38477
9a1d9254
JM
384782012-02-03 Joseph Myers <joseph@codesourcery.com>
38479
38480 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38481 for non-PIC compilation.
38482 (SETUP_PIC_REG): Add .p2align directive.
38483 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38484 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38485 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38486 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38487 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38488 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38489 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38490 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38491 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38492 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38493 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38494 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38495 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38496 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38497 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38498 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38499 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38500 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38501 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38502 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38503 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38504 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38505 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38506 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38507 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38508 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38509 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38510 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38511 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38512 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38513 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38514 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38515 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38516 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38517 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38518 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38519 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38520 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38521 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38522 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38523 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38524
65dc3b75
JM
385252012-02-03 Joseph Myers <joseph@codesourcery.com>
38526
38527 * math/tst-CMPLX.c: Include <stdio.h>.
38528
d55bf177
JM
385292012-01-31 Joseph Myers <joseph@codesourcery.com>
38530
38531 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38532 float.
38533 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38534 * sysdeps/sparc/bits/mathdef.h: Likewise.
38535
69db4f8f
MP
385362012-01-31 Marek Polacek <polacek@redhat.com>
38537
38538 * libio/libio.h: Don't define _PARAMS.
38539 * locale/programs/config.h: Don't define PARAMS.
38540 * stdlib/strtol_l.c: Likewise.
38541 (__strtol_l): Remove PARAMS from the prototype.
38542
41b81892
UD
385432012-01-31 Ulrich Drepper <drepper@gmail.com>
38544
3b49edc0
UD
38545 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38546 names. Just use the correct names. Remove unnecessary wrapper
38547 functions.
38548 * malloc/arena.c: Likewise.
38549 * malloc/hooks.c: Likewise.
38550
41b81892
UD
38551 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38552 ARENA_TEST says not to. Simplify test for creation of a new arena.
38553 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38554
27a25b6e
UD
385552012-01-30 Ulrich Drepper <drepper@gmail.com>
38556
38557 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38558 into tail calls.
38559 (update_get_addr): New function.
38560 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38561 GET_ADDR_MODULE parameter.
38562
c8a89e7d
JM
385632012-01-30 Joseph Myers <joseph@codesourcery.com>
38564
38565 * crypt/cert.c: Remove __STDC__ conditionals.
38566 * crypt/crypt-entry.c: Likewise.
38567 * crypt/crypt_util.c: Likewise.
38568 * libio/filedoalloc.c: Likewise.
38569 * libio/fileops.c: Likewise.
38570 * libio/genops.c: Likewise.
38571 * libio/iofclose.c: Likewise.
38572 * libio/iofdopen.c: Likewise.
38573 * libio/iofopen.c: Likewise.
38574 * libio/iofopen64.c: Likewise.
38575 * libio/iogetdelim.c: Likewise.
38576 * libio/iopopen.c: Likewise.
38577 * libio/obprintf.c: Likewise.
38578 * libio/oldfileops.c: Likewise.
38579 * libio/oldiofclose.c: Likewise.
38580 * libio/oldiofdopen.c: Likewise.
38581 * libio/oldiofopen.c: Likewise.
38582 * libio/oldiopopen.c: Likewise.
38583 * libio/wfiledoalloc.c: Likewise.
38584 * libio/wgenops.c: Likewise.
38585 * locale/programs/xmalloc.c: Likewise.
38586 * misc/syslog.c: Likewise.
38587 * stdio-common/xbug.c: Likewise.
38588 * string/memchr.c: Likewise.
38589 * string/memcmp.c: Likewise.
38590 * string/memrchr.c: Likewise.
38591 * string/rawmemchr.c: Likewise.
38592 * sysdeps/posix/getcwd.c: Likewise.
38593 * time/strftime_l.c: Likewise.
38594
3b100462
JM
385952012-01-30 Joseph Myers <joseph@codesourcery.com>
38596
38597 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
38598 * config.make.in (config-cflags-sse2avx): Define.
38599 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38600 Fix typo.
38601
607998af
CM
386022012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38603
38604 * scripts/config.guess: Update from upstream config git repository.
38605 * scripts/config.sub: Likewise.
38606
3601428f
CM
386072012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38608
3ac8b282
CM
38609 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38610 (EM_NUM): Update.
38611 (R_TILEPRO_*, R_TILEGX_*): New macros.
38612
e034841e
CM
38613 * scripts/firstversions.awk: Fix bug in version range handling.
38614
540d7568
CM
38615 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38616
3601428f
CM
38617 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38618
463de862
CM
38619 * include/sys/epoll.h: New file.
38620 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38621 libc_hidden_def.
38622
73139a76
UD
386232012-01-28 Ulrich Drepper <drepper@gmail.com>
38624
96bc5b45
UD
38625 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38626 Avoid unnecessary __WORDSIZE == 64 test.
38627 (fmaxf): Use VEX format if possible.
38628 (fmax): Likewise.
38629 (fminf): Likewise.
38630 (fmin): Likewise.
38631
56f6f6a2
UD
38632 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38633 * math/math_private.h: Remove libc_fegetround* and
38634 libc_fesetround*.
38635 * sysdeps/i386/configure.in: Check for -msse2avx.
38636 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38637 also if SSE2AVX is defined.
38638 Remove libc_fegetround* and libc_fesetround*.
38639 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38640 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38641 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38642 of HAS_YMM_USABLE.
38643 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38644 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38646 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38647 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38648
73139a76
UD
38649 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38650
d73f93a4
AZ
386512012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38652
38653 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38654 size is not set.
38655 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38656
6ee65ed6
UD
386572012-01-27 Ulrich Drepper <drepper@gmail.com>
38658
38659 [BZ #13618]
38660 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38661 relocation.
38662 * Makeconfig (libm): Define.
38663 * elf/Makefile: Add rules to build and run tst-relsort1.
38664 * elf/tst-relsort1.c: New file.
38665 * elf/tst-relsort1mod1.c: New file.
38666 * elf/tst-relsort1mod2.c: New file.
38667
8db21882
JM
386682012-01-27 Joseph Myers <joseph@codesourcery.com>
38669
38670 * math/s_ldexp.c: Remove __STDC__ conditionals.
38671 * math/s_ldexpf.c: Likewise.
38672 * math/s_ldexpl.c: Likewise.
38673 * math/s_nextafter.c: Likewise.
38674 * math/s_nexttowardf.c: Likewise.
38675 * math/s_significand.c: Likewise.
38676 * math/s_significandf.c: Likewise.
38677 * math/s_significandl.c: Likewise.
38678 * math/w_jnl.c: Likewise.
38679 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38680 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38681 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38682 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38683 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38684 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38685 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38686 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38687 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38688 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38689 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38691 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38692 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38693 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38694 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38695 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38696 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38698 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38699 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38700 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38701 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38702 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38703 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38704 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38705 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38706 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38707 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38708 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38709 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38710 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38711 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38712 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38713 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38714 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38715 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38716 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38717 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38718 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38719 * sysdeps/ieee754/k_standard.c: Likewise.
38720 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38721 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38722 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38723 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38724 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38725 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38726 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38727 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38728 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38729 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38730 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38731 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38732 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38733 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38734 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38735 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38736 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38737 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38738 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38739 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38740 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38741 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38742 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38743 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38744 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38745 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38746 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38749 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38750 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38751 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38752 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38753 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38754 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38755 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38756 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38757 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38758 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38759 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38760 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38761 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38762 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38763 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38764 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38765 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38766 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38767 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38768 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38769 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38770 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38771 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38772 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38773 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38774 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38775 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38776 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38777 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38778 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38779 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38780 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38781 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38782 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38783 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38784 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38785 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38786 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38787 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38788 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38789 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38790 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38791 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38792 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38793 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38794 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38795 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38796 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38798 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38799 * sysdeps/ieee754/s_matherr.c: Likewise.
38800 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38801 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38803 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38804
965a54a4
JM
388052012-01-26 Joseph Myers <joseph@codesourcery.com>
38806
38807 * crypt/md5.h: Remove __STDC__ conditionals.
38808 * libio/libioP.h: Likewise.
38809 * locale/programs/config.h: Likewise.
38810 * sysdeps/generic/sysdep.h: Likewise.
38811 * sysdeps/i386/asm-syntax.h: Likewise.
38812 * sysdeps/s390/asm-syntax.h: Likewise.
38813 * sysdeps/unix/sysdep.h: Likewise.
38814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38816
7071ad79
JM
388172012-01-26 Joseph Myers <joseph@codesourcery.com>
38818
38819 * libio/libio.h: Remove __STDC__ conditionals.
38820 * malloc/obstack.h: Likewise.
38821 * math/complex.h: Likewise.
38822 * math/math.h: Likewise.
38823 * sysdeps/generic/_G_config.h: Likewise.
38824 * sysdeps/gnu/_G_config.h: Likewise.
38825 * sysdeps/mach/hurd/_G_config.h: Likewise.
38826 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38827 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38828 * sysdeps/sparc/bits/mathdef.h: Likewise.
38829
afc5ed09
UD
388302012-01-26 Ulrich Drepper <drepper@gmail.com>
38831
38832 [BZ #13583]
38833 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38834 Clean up HAS_* macros.
afc5ed09 38835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38836 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38837 possible.
38838 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38839 HAS_AVX.
38840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38842 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38845
bdb6de1d
JM
388462012-01-25 Joseph Myers <joseph@codesourcery.com>
38847
38848 * elf/tst-unique3.cc (gets): Remove declaration.
38849 * elf/tst-unique3lib.cc (gets): Likewise.
38850 * elf/tst-unique3lib2.cc (gets): Likewise.
38851 * elf/tst-unique4.cc (gets): Likewise.
38852
b15549e6
UD
388532012-01-24 Ulrich Drepper <drepper@gmail.com>
38854
38855 * include/stdio.h: Add C++ protection. Add gets declarations and
38856 definitions.
38857 * debug/tst-chk1.c: Don't declare gets here.
38858 * stdio-common/tst-gets.c: Likewise.
38859
a037381f
JM
388602012-01-24 Joseph Myers <joseph@codesourcery.com>
38861
38862 * posix/glob: Remove directory.
38863
f1d4aa75
JM
388642012-01-24 Joseph Myers <joseph@codesourcery.com>
38865
38866 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38867
81c0c964
PT
388682012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38869
38870 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38871 of the non-standard EPFNOSUPPORT.
38872
0ea698ae
ST
388732011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38874
38875 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38876 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38877 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38878
d220b117
UD
388792012-01-21 Ulrich Drepper <drepper@gmail.com>
38880
38881 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38882
3e1aa84e
UD
388832012-01-20 Ulrich Drepper <drepper@gmail.com>
38884
38885 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38886 transient errors.
38887 * nscd/grpcache.c (cache_addgr): Likewise.
38888 * nscd/hstcache.c (cache_addhst): Likewise.
38889 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38890 * nscd/pwdcache.c (cache_addpw): Likewise.
38891 * nscd/servicescache.c (cache_addserv): Likewise.
38892
400aa020
UD
388932012-01-16 Ulrich Drepper <drepper@gmail.com>
38894
d77e7869
UD
38895 * malloc/malloc.c: Various cleanups.
38896 * malloc/hooks.c: Likewise.
38897
400aa020
UD
38898 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38899 * stdlib/bug-fmtmsg1.c: New file.
38900
38901 * stdlib/fmtmsg.c (init): Add missing unlock.
38902 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38903
e0a309cf
MP
389042012-01-12 Marek Polacek <polacek@redhat.com>
38905
38906 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38907 and _GNU_SOURCE.
38908
929d11c7
WS
389092012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38910
38911 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38912 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38913 macro to ensure uniqueness of label name.
38914 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38915 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38916
41d0e869
UD
389172012-01-11 Ulrich Drepper <drepper@gmail.com>
38918
0cc5ed3b
UD
38919 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38920
41d0e869
UD
38921 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38922 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38923 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38924 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38925
a47a831a
UD
389262012-01-10 Ulrich Drepper <drepper@gmail.com>
38927
daa891c0
UD
38928 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38929
38930 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38931 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38932 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38933
e58ef0f2
UD
38934 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38935
a47a831a 38936 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38937 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38938 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38939 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38940
38941 * math/bits/math-finite.h: Add ldexp support.
38942
a0bfc9c7
MP
389432012-01-10 Marek Polacek <polacek@redhat.com>
38944
38945 * locale/programs/localedef.h (show_archive_content): Add noreturn
38946 attribute.
38947
d6e97a1d
UD
389482012-01-09 Ulrich Drepper <drepper@gmail.com>
38949
38950 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38951
d5835c26
UD
389522012-01-08 Ulrich Drepper <drepper@gmail.com>
38953
e5f484c6
UD
38954 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38955
d5835c26
UD
38956 * io/Makefile (headers): Add bits/poll2.h.
38957
d1f741e9
WS
389582011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38959
38960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38961 typo #include statement.
38962
ec09c1c4
UD
389632012-01-08 Ulrich Drepper <drepper@gmail.com>
38964
38965 * include/sys/cdefs.h: Define __attribute_alloc_size.
38966 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38967 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38968 * elf/pldd.c: Likewise.
38969 * iconv/iconv_charmap.c: Likewise.
38970 * iconv/iconvconfig.c: Likewise.
38971 * iconv/strtab.c: Likewise.
38972 * locale/programs/locale.c: Likewise.
38973 * locale/programs/localedef.h: Likewise.
38974 * locale/programs/simple-hash.c: Likewise.
38975 * nscd/nscd.h: Likewise.
38976 * nss/makedb.c: Likewise.
38977 * sysdeps/generic/ldconfig.h: Likewise.
38978 * locale/programs/localedef.c: Remove xmalloc prototype.
38979 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38980
20b38e03
PP
389812012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38982
38983 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38984 appropriate.
38985
a0da5fe1
UD
389862012-01-08 Ulrich Drepper <drepper@gmail.com>
38987
1d5a644a 38988 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38989 * math/tst-CMPLX.c: New file.
1d5a644a 38990
8784a6db
UD
38991 * math/complex.h (CMPLXL): Fix typo.
38992
d9a216c0
UD
38993 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38994 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38995 GLIBC_2.16.
38996 * debug/tst-chk1.c: Add poll and ppoll tests.
38997 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38998 * include/sys/poll.h: Add hidden proto for ppoll.
38999 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39000 * sysdeps/mach/hurd/ppoll.c: Likewise.
39001 * io/ppoll.c: Likewise.
39002 * debug/poll_chk.c: New file.
39003 * debug/ppoll_chk.c: New file.
39004 * include/bits/poll2.h: New file.
39005 * io/bits/poll2.h: New file.
39006
ac097f5c
UD
39007 [BZ #1350]
39008 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39009
2119dcfa
UD
39010 * configure.in: static is always set to yes. Remove.
39011 * config.make.in: Don't set build-static.
39012 * Makeconfig: Remove use of build-static.
39013 * dlfcn/Makefile: Likewise.
39014 * elf/Makefile: Likewise.
39015 * math/Makefile: Likewise.
39016 * misc/Makefile: Likewise.
39017 * nptl/Makefile: Likewise.
39018 * sysdeps/mach/hurd/Makefile: Likewise.
39019
121766a9
UD
39020 * configure.in: PWD_P is not used anymore.
39021 * config.make.in: Remove PWD_P entry.
39022
51a1d39c 39023 * configure.in: Remove last remnants of RANLIB.
8720d066 39024 No need to check for signed size_t anymore.
215f4bdc
UD
39025 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39026 and IA-64.
3857022a 39027 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
39028 * aclocal.m4: Likewise.
39029
d3ed7225
UD
39030 * wcsmbs/mbrtoc16.c: Implement using towc function.
39031 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39032 * wcsmbs/wcsmbsload.c: Likewise.
39033 * iconv/gconv_simple.c: Likewise.
39034 * iconv/gconv_int.h: Likewise.
39035 * iconv/gconv_builtin.h: Likewise.
39036 * iconv/iconv_prog.c: Remove CHAR16 handling.
39037
39038 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39039
39040 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39041
a0da5fe1
UD
39042 * configure.in: Remove --with-elf and --enable-bounded options.
39043 Dont set base_machine for ia64. More non-ELF conditions removed.
39044 Remove testing and setting of leading underscore information.
39045 * config.make.in (build-bounded): Set to no.
39046 * config.h.in: Remove NO_UNDERSCORES entry.
39047 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39048 them.
39049 * csu/start.c: Remove !NO_UNDERSCORE code.
39050 * locale/localeinfo.h: Likewise.
39051 * sysdeps/generic/machine-gmon.h: Likewise.
39052 * sysdeps/generic/sysdep.h: Likewise.
39053 * sysdeps/i386/sysdep.h: Likewise.
39054 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39055 * sysdeps/mach/sysdep.h: Likewise.
39056 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39057 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39058 * sysdeps/sh/sysdep.h: Likewise.
39059 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39060 * sysdeps/unix/i386/sysdep.S: Likewise.
39061 * sysdeps/unix/sparc/start.c: Likewise.
39062 * sysdeps/unix/sparc/sysdep.S: Likewise.
39063 * sysdeps/unix/sparc/sysdep.h: Likewise.
39064 * sysdeps/unix/start.c: Likewise.
39065 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39066 * sysdeps/x86_64/sysdep.h: Likewise.
39067
df78418a
UD
390682012-01-07 Ulrich Drepper <drepper@gmail.com>
39069
a784e502
UD
39070 [BZ #13553]
39071 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39072 for non-gcc.
39073 * argp/argp-fmtstream.h: Use const instead __const.
39074 * argp/argp.h: Likewise.
39075 * assert/assert.h: Likewise.
39076 * bits/fenv.h: Likewise.
39077 * bits/sched.h: Likewise.
39078 * bits/sigset.h: Likewise.
39079 * bits/sigthread.h: Likewise.
39080 * catgets/nl_types.h: Likewise.
39081 * conform/data/pthread.h-data: Likewise.
39082 * crypt/crypt-private.h: Likewise.
39083 * crypt/crypt.h: Likewise.
39084 * crypt/crypt_util.c: Likewise.
39085 * ctype/ctype.h: Likewise.
39086 * debug/execinfo.h: Likewise.
39087 * debug/mbsnrtowcs_chk.c: Likewise.
39088 * debug/mbsrtowcs_chk.c: Likewise.
39089 * debug/wcsnrtombs_chk.c: Likewise.
39090 * debug/wcsrtombs_chk.c: Likewise.
39091 * debug/wcstombs_chk.c: Likewise.
39092 * dirent/dirent.h: Likewise.
39093 * dlfcn/dlfcn.h: Likewise.
39094 * elf/neededtest4.c: Likewise.
39095 * grp/grp.h: Likewise.
39096 * gshadow/gshadow.h: Likewise.
39097 * iconv/gconv.h: Likewise.
39098 * iconv/gconv_int.h: Likewise.
39099 * iconv/gconv_simple.c: Likewise.
39100 * iconv/iconv.h: Likewise.
39101 * iconv/loop.c: Likewise.
39102 * iconv/skeleton.c: Likewise.
39103 * include/aio.h: Likewise.
39104 * include/aliases.h: Likewise.
39105 * include/argz.h: Likewise.
39106 * include/arpa/inet.h: Likewise.
39107 * include/assert.h: Likewise.
39108 * include/dirent.h: Likewise.
39109 * include/dlfcn.h: Likewise.
39110 * include/execinfo.h: Likewise.
39111 * include/fcntl.h: Likewise.
39112 * include/fenv.h: Likewise.
39113 * include/glob.h: Likewise.
39114 * include/grp.h: Likewise.
39115 * include/libintl.h: Likewise.
39116 * include/mntent.h: Likewise.
39117 * include/netdb.h: Likewise.
39118 * include/pwd.h: Likewise.
39119 * include/rpc/netdb.h: Likewise.
39120 * include/sched.h: Likewise.
39121 * include/search.h: Likewise.
39122 * include/shadow.h: Likewise.
39123 * include/signal.h: Likewise.
39124 * include/stdio.h: Likewise.
39125 * include/stdlib.h: Likewise.
39126 * include/string.h: Likewise.
39127 * include/sys/socket.h: Likewise.
39128 * include/sys/stat.h: Likewise.
39129 * include/sys/statfs.h: Likewise.
39130 * include/sys/statvfs.h: Likewise.
39131 * include/sys/syslog.h: Likewise.
39132 * include/sys/time.h: Likewise.
39133 * include/sys/uio.h: Likewise.
39134 * include/time.h: Likewise.
39135 * include/unistd.h: Likewise.
39136 * include/utmp.h: Likewise.
39137 * include/wchar.h: Likewise.
39138 * include/wctype.h: Likewise.
39139 * inet/aliases.h: Likewise.
39140 * inet/arpa/inet.h: Likewise.
39141 * inet/netinet/ether.h: Likewise.
39142 * inet/netinet/in.h: Likewise.
39143 * intl/libintl.h: Likewise.
39144 * io/bits/fcntl2.h: Likewise.
39145 * io/fcntl.h: Likewise.
39146 * io/ftw.h: Likewise.
39147 * io/sys/poll.h: Likewise.
39148 * io/sys/stat.h: Likewise.
39149 * io/sys/statfs.h: Likewise.
39150 * io/sys/statvfs.h: Likewise.
39151 * io/utime.h: Likewise.
39152 * libio/bits/stdio.h: Likewise.
39153 * libio/bits/stdio2.h: Likewise.
39154 * libio/libio.h: Likewise.
39155 * libio/libioP.h: Likewise.
39156 * libio/stdio.h: Likewise.
39157 * locale/lc-ctype.c: Likewise.
39158 * locale/locale.h: Likewise.
39159 * login/utmp.h: Likewise.
39160 * malloc/arena.c: Likewise.
39161 * malloc/malloc.c: Likewise.
39162 * malloc/malloc.h: Likewise.
39163 * malloc/mcheck.c: Likewise.
39164 * malloc/mtrace.c: Likewise.
39165 * math/bits/mathcalls.h: Likewise.
39166 * math/fenv.h: Likewise.
39167 * math/math_private.h: Likewise.
39168 * misc/bits/error.h: Likewise.
39169 * misc/bits/syslog.h: Likewise.
39170 * misc/err.h: Likewise.
39171 * misc/error.h: Likewise.
39172 * misc/fstab.h: Likewise.
39173 * misc/mntent.h: Likewise.
39174 * misc/regexp.h: Likewise.
39175 * misc/search.h: Likewise.
39176 * misc/sgtty.h: Likewise.
39177 * misc/sys/mman.h: Likewise.
39178 * misc/sys/syslog.h: Likewise.
39179 * misc/sys/uio.h: Likewise.
39180 * misc/sys/xattr.h: Likewise.
39181 * misc/ttyent.h: Likewise.
39182 * nis/rpcsvc/ypclnt.h: Likewise.
39183 * nss/nss.h: Likewise.
39184 * posix/bits/unistd.h: Likewise.
39185 * posix/fnmatch.h: Likewise.
39186 * posix/glob.h: Likewise.
39187 * posix/sched.h: Likewise.
39188 * posix/spawn.h: Likewise.
39189 * posix/sys/wait.h: Likewise.
39190 * posix/unistd.h: Likewise.
39191 * posix/wordexp.h: Likewise.
39192 * pwd/pwd.h: Likewise.
39193 * resolv/netdb.h: Likewise.
39194 * resource/sys/resource.h: Likewise.
39195 * rt/aio.h: Likewise.
39196 * rt/bits/mqueue2.h: Likewise.
39197 * rt/mqueue.h: Likewise.
39198 * shadow/shadow.h: Likewise.
39199 * signal/signal.h: Likewise.
39200 * socket/send.c: Likewise.
39201 * socket/sendto.c: Likewise.
39202 * socket/sys/socket.h: Likewise.
39203 * stdio-common/printf.h: Likewise.
39204 * stdlib/bits/stdlib.h: Likewise.
39205 * stdlib/fmtmsg.h: Likewise.
39206 * stdlib/monetary.h: Likewise.
39207 * stdlib/stdlib.h: Likewise.
39208 * stdlib/ucontext.h: Likewise.
39209 * streams/stropts.h: Likewise.
39210 * string/argz.h: Likewise.
39211 * string/bits/string2.h: Likewise.
39212 * string/string.h: Likewise.
39213 * string/strings.h: Likewise.
39214 * sunrpc/rpc/auth.h: Likewise.
39215 * sunrpc/rpc/auth_des.h: Likewise.
39216 * sunrpc/rpc/clnt.h: Likewise.
39217 * sunrpc/rpc/netdb.h: Likewise.
39218 * sunrpc/rpc/pmap_clnt.h: Likewise.
39219 * sunrpc/rpc/xdr.h: Likewise.
39220 * sysdeps/generic/inttypes.h: Likewise.
39221 * sysdeps/generic/net/if.h: Likewise.
39222 * sysdeps/generic/sys/swap.h: Likewise.
39223 * sysdeps/gnu/net/if.h: Likewise.
39224 * sysdeps/gnu/utmpx.h: Likewise.
39225 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39226 * sysdeps/i386/i486/bits/string.h: Likewise.
39227 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39228 * sysdeps/s390/bits/string.h: Likewise.
39229 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39230 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39231 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39232 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39233 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39234 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39235 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39236 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39237 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39238 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39239 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39240 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39241 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39242 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39243 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39244 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39245 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39246 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39247 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39248 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39249 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39250 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39251 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39252 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39253 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39254 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39255 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39256 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39257 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39258 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39259 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39260 * sysvipc/sys/ipc.h: Likewise.
39261 * sysvipc/sys/msg.h: Likewise.
39262 * sysvipc/sys/sem.h: Likewise.
39263 * sysvipc/sys/shm.h: Likewise.
39264 * termios/termios.h: Likewise.
39265 * time/sys/time.h: Likewise.
39266 * time/time.h: Likewise.
39267 * wcsmbs/bits/wchar2.h: Likewise.
39268 * wcsmbs/uchar.h: Likewise.
39269 * wcsmbs/wchar.h: Likewise.
39270 * wctype/wctype.h: Likewise.
39271
0269750c
UD
39272 [BZ #13551]
39273 * Makeconfig: Remove all but ELF support including AIX support.
39274 * Makerules: Likewise.
39275 * config.h.in: Likewise.
39276 * config.make.in: Likewise.
39277 * configure: Likewise.
39278 * configure.in: Likewise.
39279 * csu/Makefile: Likewise.
39280 * csu/version.c: Likewise.
39281 * debug/Makefile: Likewise.
39282 * dlfcn/Makefile: Likewise.
39283 * elf/Makefile: Likewise.
39284 * extra-lib.mk: Likewise.
39285 * iconv/Makefile: Likewise.
39286 * include/libc-symbols.h: Likewise.
39287 * include/shlib-compat.h: Likewise.
39288 * resolv/Makefile: Likewise.
39289 * resolv/res_libc.c: Likewise.
39290 * rt/Makefile: Likewise.
39291 * sysdeps/i386/asm-syntax.h: Likewise.
39292 * sysdeps/i386/sysdep.h: Likewise.
39293 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39294 * sysdeps/mach/sysdep.h: Likewise.
39295 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39296 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39297 * sysdeps/s390/asm-syntax.h: Likewise.
39298 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39299 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39300 * sysdeps/sh/sysdep.h: Likewise.
39301 * sysdeps/unix/sparc/sysdep.h: Likewise.
39302 * sysdeps/wordsize-32/divdi3.c: Likewise.
39303 * sysdeps/x86_64/sysdep.h: Likewise.
39304
00bbd29b
UD
39305 * argp/Versions: Remove _argp_unlock_xxx.
39306
39307 [BZ #13559]
39308 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39309 * abilist/libBrokenLocale.abilist: Likewise.
39310 * abilist/libanl.abilist: Likewise.
39311 * abilist/libc.abilist: Likewise.
39312 * abilist/libcrypt.abilist: Likewise.
39313 * abilist/libdl.abilist: Likewise.
39314 * abilist/libm.abilist: Likewise.
39315 * abilist/libnsl.abilist: Likewise.
39316 * abilist/libpthread.abilist: Likewise.
39317 * abilist/libresolv.abilist: Likewise.
39318 * abilist/librt.abilist: Likewise.
39319 * abilist/libthread_db.abilist: Likewise.
39320 * abilist/libutil.abilist: Likewise.
39321 * abilist/libnss_db.abilist: New file.
39322
39323 * scripts/abilist.awk: Add support for indirect functions.
39324
a2693a0e
UD
39325 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39326
3f05895f
UD
39327 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39328
ecb6fb48
UD
39329 * shlib-versions: Remove entries for ports architectures.
39330
664f8cb9
UD
39331 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39332 files in ports.
39333 * elf/stackguard-macros.h: Remove support for IA-64.
39334 * elf/tst-auditmod1.c: Likewise.
39335 * sysdeps/generic/ldsodefs.h: Likewise.
39336
7ae81d88
UD
39337 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39338 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39339 configure files.
39340
bdeba135
UD
39341 [BZ #13552]
39342 * configure.in: Remove --enable-omitfp support.
39343 * FAQ.in: Adjust.
39344 * config.make.in: Likewise.
39345 * Makeconfig: Likewise.
39346 * manual/install.texi: Likewise.
39347
d75a0a62
UD
39348 In case anyone cares, the IA-64 architecture could move to ports.
39349 * sysdeps/ia64/*: Removed.
39350 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39351 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39352
dcc9756b
UD
39353 [BZ #13555]
39354 * configure.in: Remove entries for unsupported architectures.
39355
d3761ebc 39356 [BZ #13533]
9954432e
UD
39357 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39358 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39359 routines.
39360 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39361 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39362 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39363 fall back to using wcrtomb.
39364 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39365 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39366 renaming.
39367 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39368 * wcsmbs/tst-c16c32-1.c: New file.
39369
39370 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39371 local variable.
39372
c3a87236
UD
39373 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39374
28926a1b
UD
39375 * elf/tst-unique3.cc: Add explicit declaration of gets.
39376 * elf/tst-unique3lib.cc: Likewise.
39377 * elf/tst-unique3lib2.cc: Likewise.
39378 * elf/tst-unique4.cc: Likewise.
39379
df78418a
UD
39380 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39381
8ecd6b2a
JM
393822012-01-06 Joseph Myers <joseph@codesourcery.com>
39383
39384 [BZ #13566]
39385 * assert/assert.h (static_assert): Don't define for C++.
39386 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39387 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39388
9f115170
UD
393892012-01-03 Ulrich Drepper <drepper@gmail.com>
39390
5e0d0300
UD
39391 * iconv/loop.c (single loop): Fix assertion in storing of
39392 remaining bytes.
39393
9f115170
UD
39394 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39395
81fb02b0
UD
393962012-01-01 Ulrich Drepper <drepper@gmail.com>
39397
39398 * posix/getconf.c: Update copyright year.
39399 * nss/getent.c: Likewise.
a316c1f6 39400 * nss/makedb.c: Likewise.
81fb02b0
UD
39401 * iconv/iconvconfig.c: Likewise.
39402 * iconv/iconv_prog.c: Likewise.
39403 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39404 * elf/pldd.c: Likewise.
39405 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39406 * catgets/gencat.c: Likewise.
39407 * csu/version.c: Likewise.
39408 * elf/ldd.bash.in: Likewise.
39409 * elf/sprof.c (print_version): Likewise.
39410 * locale/programs/locale.c: Likewise.
39411 * locale/programs/localedef.c: Likewise.
a316c1f6 39412 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39413 * nscd/nscd.c (print_version): Likewise.
39414 * debug/xtrace.sh: Likewise.
39415 * malloc/memusage.sh: Likewise.
39416 * malloc/mtrace.pl: Likewise.
39417 * debug/catchsegv.sh: Likewise.
39418
2ba92745
JJ
394192011-12-30 Jakub Jelinek <jakub@redhat.com>
39420
39421 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39422 pure attribute.
39423
dadebdae
UD
394242011-12-24 Ulrich Drepper <drepper@gmail.com>
39425
d3761ebc 39426 [BZ #13533]
db6af3eb
UD
39427 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39428 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39429 transformations.
39430 * iconv/gconv_int.h: Likewise.
39431 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39432 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39433 from libc for GLIBC_2.16.
39434 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39435 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39436 * wcsmbs/uchar.h: Really define mbstate_t.
39437 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39438 * wcsmbs/c16rtomb.c: New file.
39439 * wcsmbs/mbrtoc16.c: New file.
39440 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39441 for C/POSIX locale.
39442 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39443 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39444
dadebdae
UD
39445 * wcsmbs/wchar.h: Add missing __restrict.
39446
67371b56
UD
394472011-12-23 Ulrich Drepper <drepper@gmail.com>
39448
74033a25
UD
39449 [BZ #13532]
39450 * time/Makefile (routines): Add timespec_get.
39451 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39452 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39453 timespec for ISO C11.
39454 * time/timespec_get.c: New file.
39455 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39456 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39457
380d7e87
UD
39458 [BZ #13531]
39459 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39460 * stdlib/stdlib.h: Declare aligned_alloc.
39461 * Versions.def: Add GLIBC_2.16 for libc.
39462 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39463
4e9e7a35
UD
39464 [BZ 13527]
39465 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39466 ISO C11.
39467
380d7e87 39468 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
39469 code.
39470
03a71829
UD
39471 [BZ #13528]
39472 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39473
839e283e
UD
39474 [BZ #13529]
39475 * assert/assert.h (static_assert): Define.
39476
ce5294e2 39477 * version.h: Update for 2.16 development version.
90fa7312 39478
8d44e150 39479 [BZ #13526]
d7809905
UD
39480 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39481 _ISOC11_SOURCE.
39482
c0da14cd
UD
39483 * version.h (RELEASE): Bump for 2.15 release.
39484 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39485
530a3249
MP
39486 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39487 Patch by Marek Polacek <mpolacek@redhat.com>.
39488
67371b56
UD
39489 * bits/byteswap.h: Protect long long constants with __extension__.
39490 * sysdeps/i386/bits/byteswap.h: Likewise.
39491 * sysdeps/ia64/bits/byteswap.h: Likewise.
39492 * sysdeps/s390/bits/byteswap.h: Likewise.
39493 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39494
15db4de1
LD
394952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39496
39497 [BZ #13540]
bbe315ea
LD
39498 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39499 destination buffer.
15db4de1
LD
39500 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39501
2b2596b1
MP
395022011-12-23 Marek Polacek <polacek@redhat.com>
39503
39504 * elf/dl-addr.c (determine_info): Add inline keyword.
39505 * elf/tst-auditmod4b.c (check_avx): Likewise.
39506 * elf/tst-auditmod6b.c (check_avx): Likewise.
39507 * elf/tst-auditmod6c.c (check_avx): Likewise.
39508 * elf/tst-auditmod7b.c (check_avx): Likewise.
39509
70c6c246
UD
395102011-12-23 Ulrich Drepper <drepper@gmail.com>
39511
39512 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39513 !__SSE_MATH__.
39514
c044cf14
LD
395152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39516
15db4de1 39517 [BZ #13540]
c044cf14
LD
39518 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39519 processing for last bytes.
39520
6b13d9d9
BH
395212011-08-06 Bruno Haible <bruno@clisp.org>
39522
d455f537
BH
39523 [BZ #13061]
39524 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39525 U+0385, not to U+1FEE.
39526
6b13d9d9
BH
39527 [BZ #13062]
39528 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39529 entry for U+00A5 U+0301.
39530
db910efd
UD
395312011-12-22 Ulrich Drepper <drepper@gmail.com>
39532
27deeafc
UD
39533 [BZ #13166]
39534 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39535 buffer for the output is too small.
39536
aed9d171
UD
39537 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39538 optimization.
39539
db910efd
UD
39540 [BZ #13185]
39541 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39542 SSE flags if possible.
39543
2bd779ae
LD
395442011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39545
e7f9dac3 39546 [BZ #13540]
2bd779ae
LD
39547 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39548 processing for last bytes.
39549
154bfc16
JM
395502011-12-22 Joseph Myers <joseph@codesourcery.com>
39551
39552 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39553 (syscall-list-default-options, syscall-list-default-condition)
39554 (syscall-list-includes): Define.
39555 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39556 list of ABIs and options and #if conditions for each ABI. Do not
39557 handle common syscalls between ABIs specially.
39558 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39559 Remove.
39560 (syscall-list-variants, syscall-list-32bit-options)
39561 (syscall-list-32bit-condition, syscall-list-64bit-options)
39562 (syscall-list-64bit-condition): Define.
39563 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39564 (syscall-list-variants, syscall-list-32bit-options)
39565 (syscall-list-32bit-condition, syscall-list-64bit-options)
39566 (syscall-list-64bit-condition): Define.
39567 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39568 Remove.
39569 (syscall-list-variants, syscall-list-32bit-options)
39570 (syscall-list-32bit-condition, syscall-list-64bit-options)
39571 (syscall-list-64bit-condition): Define.
39572 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39573 Remove.
39574 (syscall-list-variants, syscall-list-32bit-options)
39575 (syscall-list-32bit-condition, syscall-list-64bit-options)
39576 (syscall-list-64bit-condition): Define.
39577
21eaf3a5
UD
395782011-12-22 Ulrich Drepper <drepper@gmail.com>
39579
16c6f992
UD
39580 * locale/iso-639.def: Add brx entry.
39581
41043168
UD
39582 [BZ #13328]
39583 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39584 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39585
21eaf3a5
UD
39586 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39587 __feraiseexcept_renamed.
39588
e3a851a2
UD
395892011-12-21 Ulrich Drepper <drepper@gmail.com>
39590
4920765e
UD
39591 [BZ #13538]
39592 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39593 EPOLLET with unsigned values.
39594 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39595 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39596
e3a851a2
UD
39597 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39598 to large cancellation.
39599 * math/s_cacoshf.c: Likewise.
39600 * math/s_cacoshl.c: Likewise.
39601
b27e24b8
RK
396022011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39603
39604 [BZ #13305]
aebefeee 39605 [BZ #12786]
b27e24b8
RK
39606 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39607 * math/s_cacoshf.c: Likewise.
39608 * math/s_cacoshl.c: Likewise.
39609
ee190f67
UD
396102011-12-21 Ulrich Drepper <drepper@gmail.com>
39611
39612 [BZ #13439]
39613 * iconv/gconv.h: Define __GCONV_SWAP.
39614 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39615 * iconvdata/utf-16.c: Likewise.
39616 * iconvdata/utf-32.c: Likewise.
39617
707f25df
AS
396182011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39619
39620 [BZ #13524]
39621 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39622 numerator after shifting it by one limb.
39623
d2daaa1e
RÁE
396242011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39625
39626 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39627 under [__USE_EXTERN_INLINES].
39628
a4647e72
UD
396292011-12-17 Ulrich Drepper <drepper@gmail.com>
39630
39631 [BZ #13446]
39632 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39633
f0b264f1
AZ
396342011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39635
39636 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39637 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39638 optimized code.
39639 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39640 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39641 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39642 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39643 for strncasecmp/strncasecmp_l compilation.
39644 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39645 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39646
8ef4f244
MP
396472011-12-08 Marek Polacek <mpolacek@redhat.com>
39648
39649 [BZ #13484]
39650 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39651 of __asm__.
39652
97ac2654
UD
396532011-12-17 Ulrich Drepper <drepper@gmail.com>
39654
39655 [BZ #13506]
39656 * time/tzfile.c (__tzfile_read): Check values from file header.
39657
91d2a845
WS
396582011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39659
39660 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39661 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39662 * powerpc/powerpc32/dl-start.S: Likewise.
39663 * powerpc/powerpc32/elf/start.S: Likewise.
39664 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39665 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39666 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39667 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39668 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39669 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39670 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39671 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39672 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39673 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39674 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39675 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39676 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39677 * powerpc/powerpc32/memset.S: Likewise.
39678 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39679 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39680 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39681 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39682 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39683 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39684 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39685 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39686 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39687 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39688 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39689 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39690 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39691
a1267ba1
AZ
396922011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39693
39694 * math/libm-test.inc: Added more nearbyint tests.
39695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39696 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39698 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39699
ad8ac1bd
RL
397002011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39701
39702 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39703 FD_CLOEXEC.
39704
1d3e4b61
UD
397052011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39706
39707 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39708 Add wcscpy-ssse3 wcscpy-c.
39709 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39710 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39711 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39712 * sysdeps/x86_64/wcschr.S: New file.
39713 * sysdeps/x86_64/wcsrchr.S: New file.
39714 * string/test-strcmp.c: Remove checking of wcscmp function for
39715 wrong alignments.
39716 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39717 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39718 wcsrchr-sse2 wcsrchr-c.
39719 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39720 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39721 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39722 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39723 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39724 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39725 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39726 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39727 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39728 * wcsmbc/wcschr.c (WCSCHR): New macro.
39729
5b330a2d
UD
397302011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39731
39732 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39733 * wcsmbs/test-wcsrchr.c: New file.
39734 * string/test-strrchr.c: Add wcsrchr support.
39735 (WIDE): New macro.
39736 * wcsmbs/test-wcscpy.c: New file.
39737 * string/test-strcpy.c: Add wcscpy support.
39738 (WIDE): New macro.
26428b7c 39739
f039c043
UD
397402011-12-10 Ulrich Drepper <drepper@gmail.com>
39741
39742 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39743 the inner loop.
39744
850fb039
AS
397452011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39746
39747 [BZ #13472]
39748 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39749
4efbd5cb
UD
397502011-12-04 Ulrich Drepper <drepper@gmail.com>
39751
52ff5dd0 39752 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39753 Minor optimizations.
52ff5dd0 39754
4efbd5cb
UD
39755 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39756 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39757 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39758
8a426e12
UD
397592011-12-03 Ulrich Drepper <drepper@gmail.com>
39760
aff2453d
UD
39761 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39762 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39763 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39764 for gcc to avoid warnings.
39765 * inet/Makefile (tests): Add tst-checks.
39766 * inet/tst-checks.c: New file.
39767
39768 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39769 warning.
39770
39771 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39772 __wmemcmp_sse2.
39773
39774 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39775 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39776
8a426e12
UD
39777 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39778
9bea3473
UD
397792011-12-02 Ulrich Drepper <drepper@gmail.com>
39780
3a965496
UD
39781 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39782 problem.
39783
9bea3473
UD
39784 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39785
f101631b
UD
397862011-11-29 Joseph Myers <joseph@codesourcery.com>
39787
39788 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39789 conditional on GCC version.
39790 (__arch_compare_and_exchange_val_8_acq)
39791 (__arch_compare_and_exchange_val_16_acq)
39792 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39793 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39794 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39795
a98275aa
UD
397962011-12-02 Joseph Myers <joseph@codesourcery.com>
39797
39798 * sysdeps/sh/backtrace.c: New file.
39799
d4cc29a2
AS
398002011-12-02 Andreas Schwab <schwab@redhat.com>
39801
39802 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39803 parenthesis.
39804
6257af2d
AS
398052011-12-01 Andreas Schwab <schwab@redhat.com>
39806
39807 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39808 falling back to utime.
39809
b5f44c1a
AS
398102011-11-30 Andreas Schwab <schwab@redhat.com>
39811
39812 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39813 expectations for float.
39814
f3a6cc0a
AS
398152011-11-29 Andreas Schwab <schwab@redhat.com>
39816
39817 * locale/weight.h (findidx): Add parameter len.
39818 * locale/weightwc.h (findidx): Likewise.
39819 * posix/fnmatch_loop.c (FCT): Adjust caller.
39820 * posix/regcomp.c (build_equiv_class): Likewise.
39821 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39822 * posix/regexec.c (check_node_accept_bytes): Likewise.
39823 * string/strcoll_l.c (STRCOLL): Likewise.
39824 * string/strxfrm_l.c (STRXFRM): Likewise.
39825
9d65ea3a
UD
398262011-11-17 Ulrich Drepper <drepper@gmail.com>
39827
39828 * Makefile.in: Remove CVSOPT handling.
39829 * configure.in: Remove use of AC_REVISION.
39830 * iconvdata/Makefile (distribute): No need to filter out CVS.
39831 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39832 handling.
39833
5583a086
AS
398342011-11-16 Andreas Schwab <schwab@redhat.com>
39835
39836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39837 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39838 [USE_AS_STRNCASECMP_L]: Likewise.
39839 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39840 NO_TLS_DIRECT_SEG_REFS.
39841 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39842 Fix argument offsets for non-PIC.
39843 [USE_AS_STRNCASECMP_L]: Likewise.
39844 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39845 NO_TLS_DIRECT_SEG_REFS.
39846
d62a8200
UD
398472011-11-15 Ulrich Drepper <drepper@gmail.com>
39848
9d65ea3a 39849 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39850 O_CLOEXEC.
39851 * locale/loadlocale.c (_nl_load_locale): Likewise.
39852
09f93bd3
AS
398532011-11-15 Andreas Schwab <schwab@redhat.com>
39854
446514f9
AS
39855 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39856 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39857 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39858 (SYSCALL_GETTIME): Set errno on error.
39859
09f93bd3
AS
39860 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39861 count references to noai6ai_cached.
39862
312be3f9
UD
398632011-11-15 Ulrich Drepper <drepper@gmail.com>
39864
39865 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39866
39867 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39868 FD_CLOEXEC for /proc/self/maps.
39869
39870 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39871 FD_CLOEXEC for /proc/meminfo.
39872
39873 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39874 gai.conf.
39875
39876 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39877 FD_CLOEXEC for given file.
39878
39879 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39880
39881 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39882 FD_CLOEXEC for /etc/hosts.
39883 (_gethtent): Likewise.
39884
39885 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39886
39887 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39888 cancellation and set FD_CLOEXEC for /etc/netgroup.
39889
39890 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39891 reading /etc/publickey.
39892
39893 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39894 allow cancellation when reading /etc/group.
39895
39896 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39897 cancellation.
39898 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39899
39900 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39901 when using data file.
39902
39903 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39904
39905 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39906 (write_nis_obj): Use "c" and "e" in fopen.
39907
39908 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39909
39910 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39911
39912 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39913
39914 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39915
39916 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39917 locale.alias.
39918
39919 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39920
39921 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39922
39923 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39924
39925 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39926 file parsing and set FD_CLOEXEC.
39927
82af0fa8
UD
399282011-11-14 Ulrich Drepper <drepper@gmail.com>
39929
39930 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39931
a5fb313c
AS
399322011-11-14 Andreas Schwab <schwab@redhat.com>
39933
39934 * malloc/arena.c (arena_get2): Don't call reused_arena when
39935 _int_new_arena failed.
39936
6abf3465
UD
399372011-11-14 Ulrich Drepper <drepper@gmail.com>
39938
39939 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39940 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39941 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39942 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39943 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39944 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39945 to compile strcasecmp and strncasecmp.
39946 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39947 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39948
39949 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39950
76e3966e
UD
399512011-11-13 Ulrich Drepper <drepper@gmail.com>
39952
39953 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39954 locale-defines.sym to gen-as-const-headers.
39955 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39956 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39957 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39958 to compile strcasecmp and strncasecmp.
39959 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39960 strcasecmp_l and strncasecmp_l.
39961 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39962 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39963 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39964 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39965 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39966 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39967 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39968 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39969 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39970 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39971 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39972
ab26144e
UD
399732011-11-12 Ulrich Drepper <drepper@gmail.com>
39974
7edb22ef
UD
39975 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39976 result of SYSDEP_GETTIME_CPU to retval.
39977 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39978 parameter list to macro. Remove trailing semicolon. Adjust users.
39979
9694fc44
UD
39980 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39981 variable.
39982
8ad89ef8
UD
39983 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39984 mantissa words.
39985 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39986
0c822ef9
UD
39987 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39988 from unused variable.
39989
874e0564
UD
39990 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39991 DWARF definitions.
39992 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39993 for assembling.
39994
3a2edc79
UD
39995 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39996 over namespaces.
39997
f3c2577f
UD
39998 * sunrpc/rpc_prot.c (rejected): Fix case value.
39999
294ce126
UD
40000 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40001 unsigned long long int to avoid warnings in shift.
40002
5e2b63c6
UD
40003 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40004 of use of trans.
40005 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40006 variable tmp.
40007
e7f4b08e
UD
40008 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40009 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40010 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40011
ab26144e
UD
40012 * nis/nis_table.c (nis_list): Use variable of correct type for
40013 result of __follow_path call.
40014
8a6d5255
AZ
400152011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40016
40017 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40018 of math functions ceil, trunc, floor, round, and sqrt, when
40019 avaliable on the platform.
40020 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40021 name clash.
40022 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40023 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40024 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40025
aaddc98c
MP
400262011-10-30 Marek Polacek <mpolacek@redhat.com>
40027
40028 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40029 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40030
95b7042b
RM
400312011-11-11 Roland McGrath <roland@hack.frob.com>
40032
40033 * include/unistd.h: Fix __readlink return type.
40034 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40035
57769839
UD
400362011-11-11 Ulrich Drepper <drepper@gmail.com>
40037
40038 * stdlib/ucontext.h: Undo last change for makecontext.
40039
edc5984d
AS
400402011-11-11 Andreas Schwab <schwab@redhat.com>
40041
98591e58
AS
40042 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40043
edc5984d
AS
40044 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40045 * setjmp/setjmp.h: Mark functions as non-leaf.
40046 * setjmp/bits/setjmp2.h: Likewise.
40047 * stdlib/ucontext.h: Likewise.
40048
77cdc054
AS
400492011-11-10 Andreas Schwab <schwab@redhat.com>
40050
40051 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40052 (reused_arena): Don't check arena limit.
40053 (arena_get2): Atomically check arena limit.
40054
fe72eebd
UD
400552011-11-08 Ulrich Drepper <drepper@gmail.com>
40056
5f078c32
UD
40057 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40058 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40059
fe72eebd
UD
40060 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40061 instructions.
40062
ae1bc2fa
AS
400632011-11-07 Andreas Schwab <schwab@redhat.com>
40064
7583a88d
AS
40065 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40066 handler when locking.
40067
ae1bc2fa
AS
40068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40069 Fix size of allocated buffer.
40070
10fb0bfa
AS
400712011-11-04 Andreas Schwab <schwab@redhat.com>
40072
998832a4
AS
40073 [BZ #10103]
40074 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40075 declarations for long double functions.
40076 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40077
10fb0bfa
AS
40078 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40079
3d7ba52b
AS
400802011-11-03 Andreas Schwab <schwab@redhat.com>
40081
a9ae54a1
AS
40082 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40083 installed.
40084
3d7ba52b
AS
40085 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40086 is disabled.
40087
bc8db248
ST
400882011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40089
40090 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40091
45b96dd6
AS
400922011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40093
647776f6
AS
40094 * include/alloca.h (stackinfo_alloca_round): Define.
40095 (extend_alloca): Use it.
40096 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40097 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40098 here.
40099
d91a8b93
AS
40100 * scripts/check-local-headers.sh: Ignore libaudit.h.
40101
45b96dd6
AS
40102 * nscd/Makefile (extra-objs): Make recursively expanded.
40103
432d41ce
UD
401042011-11-01 Ulrich Drepper <drepper@gmail.com>
40105
34372fc6
UD
40106 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40107 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40108
fadb59f8
UD
40109 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40110 * posix/tst-rfc3484-2.c: Likewise.
40111 * posix/tst-rfc3484-3.c: Likewise.
40112
78239589
UD
40113 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40114 process_vm_writev.
40115 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40116 process_vm_writev.
40117 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40118 process_vm_writev from libc using GLIBC_2.15 version.
40119
432d41ce
UD
40120 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40121
02f9c6cf
PP
401222011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40123
40124 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40125 stack usage.
40126
3a2c0242
UD
401272011-10-31 Ulrich Drepper <drepper@gmail.com>
40128
f4ec4833
UD
40129 [BZ #13367]
40130 * nss/getent.c (initgroups_keys): Show error message in case no group
40131 names are given.
40132
3a2c0242
UD
40133 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40134 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40135 __bump_nl_timestamp.
40136 * nscd/connections (nscd_init): When host database is served open
40137 netlink socket and request notification about configuration changes.
40138 (main_loop_poll): Track netlink file descriptor and bump timestamp
40139 in case data becomes available.
40140 (main_loop_epoll): Likewise.
40141 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40142 (database_pers_head): Add extra_data fileds.
40143 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40144 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40145 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40146 Adjust caller.
40147 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40148 in6ai data, call __free_in6ai.
40149 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40150 Add -DHAVE_NETLINK.
40151 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40152 interface information. Reuse previous data if netlink timestamp
40153 is not changed.
40154 (__bump_nl_timestamp): New function.
40155 (__free_in6ai): New function.
40156
636064eb
UD
401572011-10-30 Ulrich Drepper <drepper@gmail.com>
40158
40159 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40160 close_not_cancel_no_status here.
40161 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40162
9beb2334
UD
401632011-10-29 Ulrich Drepper <drepper@gmail.com>
40164
6ef76f3b
UD
40165 [BZ #13276]
40166 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40167 return value.
40168
0ffc4f3e 40169 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40170 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40171 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40172
cb95113e
UD
401732011-07-03 Andreas Jaeger <aj@suse.de>
40174
40175 [BZ #10709]
40176 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40177 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40178 * math/libm-test.inc (sin_test): Add test case.
40179
a1b560ff
UD
401802011-10-29 Ulrich Drepper <drepper@gmail.com>
40181
c9aaface
UD
40182 [BZ #13337]
40183 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40184 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40185
d272e7f1
UD
40186 * elf/chroot_canon.c (chroot_canon): Cleanups.
40187
1bc33071
UD
40188 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40189
1760874d
TJ
40190 [BZ #13335]
40191 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40192 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40193
51d91b18
UD
40194 * string/test-strchr.c: Make usable for strchrnul testing.
40195 * string/test-strchrnul.c: New file.
40196 * string/Makefile (strop-tests): Add strchrnul.
40197
a1b560ff 40198 * po/it.po: Update from translation team.
b611fb81 40199 * po/es.po: Likewise.
a1b560ff 40200
a5b81e1f
UD
402012011-10-28 Ulrich Drepper <drepper@gmail.com>
40202
fd52bc6d
UD
40203 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40204 the three constants needed as parameters. Drop the others.
40205 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40206 __m128i_strloadu_tolower.
52e4b9eb
UD
40207 Create and initialize variable zero and use it in all the places
40208 where _mm_setzero_si128 was used.
fd52bc6d 40209
a5b81e1f
UD
40210 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40211 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40212 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40213 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40214 anymore.
40215 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40216 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40217 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40218 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40219 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40220 __mpranred, __mptan.
40221 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40222 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40223 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40224 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40225 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40226 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40227 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40228 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40229 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40230
b4343346
AS
402312011-10-28 Andreas Schwab <schwab@redhat.com>
40232
0c92d8a8
AS
40233 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40234 redefine if SHARED.
40235 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40236
b4343346
AS
40237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40238 wide char related routines to wcsmbs subdir.
40239
3871f58f
AS
402402011-10-27 Andreas Schwab <schwab@redhat.com>
40241
40242 [BZ #13344]
40243 * misc/sys/cdefs.h (__THROWNL): Define.
40244 * posix/unistd.h: Use __THREADNL instead of __THREAD
40245 for memory synchronization functions.
40246
94d44d9f
RM
402472011-10-26 Roland McGrath <roland@hack.frob.com>
40248
21b64b15 40249 [BZ #13349]
94d44d9f
RM
40250 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40251 doesn't exist.
40252 * manual/stdio.texi (Obstack Streams): Node removed.
40253
f6ce9294
AS
402542011-10-26 Andreas Schwab <schwab@redhat.com>
40255
80479147
AS
40256 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40257 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40258 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40259
f6ce9294
AS
40260 * math/math_private.h (math_force_eval): Allow non-addressable
40261 arguments.
40262 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40263
618280a1
UD
402642011-10-25 Ulrich Drepper <drepper@gmail.com>
40265
e0016b11
UD
40266 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40267 file is not needed.
40268
40269 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40270 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40272 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40273 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40275 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40276 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40277 Add AVX variants.
40278 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40279 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40280 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40281 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40282 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40283 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40284 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40285 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40286 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40287 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40288 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40289 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40290 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40291 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40292 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40293 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40294 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40295 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40296 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40297
40298 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40299 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40300
618280a1
UD
40301 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40302 place. Use VEX encoding when compiling for AVX.
40303
37822576
AS
403042011-10-25 Andreas Schwab <schwab@redhat.com>
40305
1f1e1947
AS
40306 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40307 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40308
37822576
AS
40309 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40310
31ea014d
UD
403112011-10-25 Ulrich Drepper <drepper@gmail.com>
40312
d7826aa1 40313 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40314 useless if() expression.
d7826aa1
UD
40315 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40316 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40317 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40318 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40319 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40320 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40321 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40323 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40324 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40325 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40326 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40327 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40328 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40329 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40330 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40331 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40332 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40333 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40334
31ea014d
UD
40335 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40336
16437fec
AS
403372011-10-25 Andreas Schwab <schwab@redhat.com>
40338
40339 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40340 condition.
40341 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40342
31d3cc00
UD
403432011-10-25 Ulrich Drepper <drepper@gmail.com>
40344
40345 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40346 .text section. Avoid duplicate constants.
40347 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40349 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40351 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40353 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40354 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40355 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40356 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40357 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40358 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40359 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40360 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40361 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40362 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40363 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40364 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40365 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40366 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40367 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40368 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40369 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40370 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40371 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40372 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40373 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40374 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40375 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40376 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40377 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40378 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40379 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40380 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40381 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40382 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40383 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40384 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40385 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40386 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40387 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40388 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40389 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40390 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40391 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40392
58985aa9
UD
403932011-10-24 Ulrich Drepper <drepper@gmail.com>
40394
202c9deb
UD
40395 * sysdeps/x86_64/dla.h: Move to ...
40396 * sysdeps/x86_64/fpu/dla.h: ...here.
40397 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40398 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40399
af968f62
UD
40400 * config.make.in: Add have-mfma4 entry.
40401 * configure.in: Substitute libc_cv_cc_fma4.
40402 * math/Makefile (dbl-only-routines): Add sincostab.
40403 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40404 Use __sincostab not sincos.
40405 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40406 name is a macro.
40407 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40408 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40410 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40411 using __copysign.
40412 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40413 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40414 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40415 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40416 and __inv.
40417 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40418 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40419 __copysign.
40420 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40421 define aliases when function name is a macro.
40422 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40423 sysdeps/ieee754/dbl-64/sincos.tbl.
40424 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40425 fma4-enabled routines.
40426 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40427 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40428 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40429 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40430 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40431 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40432 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40433 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40434 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40435 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40436 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40437 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40438 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40439 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40440 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40441 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40442 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40443 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40444 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40445 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40446 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40447 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40448 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40449 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40450 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40451 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40452 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40453 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40454 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40455 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40456
58985aa9
UD
40457 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40458 rename.
40459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40460 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40463 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40465 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40466 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40467
a201fbcf
AS
404682011-10-24 Andreas Schwab <schwab@redhat.com>
40469
40470 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40471
fc2ee42a
LD
404722011-10-23 Ulrich Drepper <drepper@gmail.com>
40473
bb3129bd
UD
40474 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40475
0275fff8
UD
40476 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40477 prediction.
40478 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40479
2fa2ae85
UD
40480 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40481 Remove unused variable magic_bits.
40482 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40483
fc2ee42a
LD
40484 * string/strnlen.c: Define and use STRNLEN macro.
40485 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40486 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40487 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40488 * wcsmbs/wcslen.c: Define and use WCSLEN.
40489 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40490 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40491 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40492 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40493 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40494 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40495 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40496
ce7dd29f
LD
404972011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40498
40499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40500 strnlen-sse2-no-bsf.
40501 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40502 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40503 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40504 Add strnlen support.
40505 (USE_AS_STRNLEN): New macro.
40506 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40507 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40508 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40509 * sysdeps/x86_64/wcslen.S: New file.
40510
979c70a3
MZ
405112011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40512
40513 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40514 XMM-moves are used for copying on small sizes.
40515
2d09f82f
LD
405162011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40517
40518 * wcsmbs/Makefile (strop-tests): Add wcschr.
40519 * wcsmbs/test-wcschr.c: New file.
40520 * string/test-strchr.c: Update.
40521 Add wcschr support.
40522 (WIDE): New macro.
40523
619fccca
LD
405242011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40525
2d09f82f 40526 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
40527 * wcsmbs/test-wcslen.c: New file.
40528 * string/test-strlen.c: Update.
40529 Add wcslen support.
40530 (WIDE): New macro.
40531
09f699ea
UD
405322011-10-23 Ulrich Drepper <drepper@gmail.com>
40533
40534 * po/it.po: Update from translation team.
40535
95584d3b
LD
405362011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40537
40538 * sysdeps/x86_64/wcscmp.S: Update.
40539 Fix wrong comparison semantics.
40540 wcscmp shall use signed comparison not unsigned.
40541 Don't use substraction to avoid overflow bug.
40542 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40543 * wcsmbc/wcscmp.c: Likewise.
40544 * string/test-strcmp.c: Likewise.
40545 Add new tests to check cases with negative values.
40546
c8b3296b
UD
405472011-10-23 Ulrich Drepper <drepper@gmail.com>
40548
40549 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40550 * sysdeps/x86_64/dla.h: ...here. New file.
40551 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40556 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40557 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40560
246ad57a
AS
405612011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40562
40563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40564 __ynl_finite aliases.
40565
a1a87169
UD
405662011-10-22 Ulrich Drepper <drepper@gmail.com>
40567
0d355eb7
UD
40568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40569
a1a87169
UD
40570 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40571 define DLA_FMA.
40572 [DLA_FMA] (EMULV): Use DLA_FMA.
40573 [DLA_FMA] (MUL12): Use EMULV.
40574 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40575 that are not needed.
40576 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40578 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40579 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40580 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40581 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40582 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40583
ee2aafe0
AS
405842011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40585
40586 * math/s_nan.c: Undef __nan.
40587 * math/s_nanf.c: Undef __nanf.
40588 * math/s_nanl.c: Undef __nanl.
40589 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40590 "math_private.h".
40591
bc62c2fb
UD
405922011-10-22 Ulrich Drepper <drepper@gmail.com>
40593
77425c63
UD
40594 * math/s_catan.c: Add branch predictions.
40595 * math/s_catanf.c: Likewise.
40596 * math/s_catanh.c: Likewise.
40597 * math/s_catanhf.c: Likewise.
40598 * math/s_catanhl.c: Likewise.
40599 * math/s_catanl.c: Likewise.
40600 * math/s_cexp.c: Likewise.
40601 * math/s_cexpf.c: Likewise.
40602 * math/s_cexpl.c: Likewise.
40603 * math/s_clog.c: Likewise.
40604 * math/s_clog10.c: Likewise.
40605 * math/s_clog10f.c: Likewise.
40606 * math/s_clog10l.c: Likewise.
40607 * math/s_clogf.c: Likewise.
40608 * math/s_clogl.c: Likewise.
40609 * math/s_csqrt.c: Likewise.
40610 * math/s_csqrtf.c: Likewise.
40611 * math/s_csqrtl.c: Likewise.
40612 * math/s_ctanf.c: Likewise.
40613 * math/s_ctanh.c: Likewise.
40614 * math/s_ctanhf.c: Likewise.
40615 * math/s_ctanhl.c: Likewise.
40616 * math/s_ctanl.c: Likewise.
40617
bc62c2fb
UD
40618 * math/math_private.h: Define __nan, __nanf, __nanl.
40619 * math/s_cacosh.c: Include <math_private.h>.
40620 * math/s_cacoshl.c: Likewise.
40621 * math/s_casinh.c: Likewise.
40622 * math/s_casinhf.c: Likewise.
40623 * math/s_casinhl.c: Likewise.
40624 * math/s_ccos.c: Rely entire on ccosh.
40625 * math/s_ccosf.c: Rely entire on ccoshf.
40626 * math/s_ccosl.c: Rely entirely on ccoshl.
40627 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40628 Remove tests for FE_INVALID.
40629 * math/s_ccoshf.c: Likewise.
40630 * math/s_ccoshl.c: Likewise.
40631 * math/s_csin.c: Likewise.
40632 * math/s_csinf.c: Likewise.
40633 * math/s_csinh.c Likewise.
40634 * math/s_csinhf.c: Likewise.
40635 * math/s_csinhl.c: Likewise.
40636 * math/s_csinl.c: Likewise.
40637 * math/s_ctan.c: Likewise.
40638 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40639 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40640 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40641
8ec250a4
UD
406422011-10-21 Ulrich Drepper <drepper@gmail.com>
40643
c196fed8
UD
40644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40645 compilation problems.
40646
8ec250a4
UD
40647 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40648 __builtin_expect.
40649
8d4f46c6
UD
406502011-10-20 Ulrich Drepper <drepper@gmail.com>
40651
ed72b654
UD
40652 * sysdeps/i386/configure.in: Test for -mfma4 option.
40653 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40654 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40655 COMMON_CPUID_INDEX_80000001.
40656 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40657 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40658 use it if FMA3 is not supported.
40659 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40660
8d4f46c6
UD
40661 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40662 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40663
d45c60c2
AS
406642011-10-20 Andreas Schwab <schwab@redhat.com>
40665
40666 [BZ #12892]
40667 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40668 it would create a cycle with a link time dependency.
40669
d9a4d2ab
UD
406702011-10-19 Ulrich Drepper <drepper@gmail.com>
40671
855d1560
UD
40672 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40673 instruction.
40674 * string/Makefile (strop-tests): Add rawmemchr.
40675 * string/test-rawmemchr.c: New file.
40676
d9a4d2ab
UD
40677 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40678 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40679 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40680 when compiling str{,n}casecmp and when AVX is available. Hook up
40681 new optimized code in initializers.
40682
8f3b1ffe
AS
406832011-10-19 Andreas Schwab <schwab@redhat.com>
40684
40685 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40686 __feraiseexcept instead of feraiseexcept.
40687
d38f1dba
UD
406882011-10-18 Ulrich Drepper <drepper@gmail.com>
40689
d9a8d0ab
UD
40690 * math/math_private.h: Define defaults for libc_fetestexcept and
40691 libc_feupdateenv.
40692 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40693 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40694 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40695 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40696 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40697 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40698 libc_fetestexcept and libc_feupdateenv.
40699
4855e3dd
UD
40700 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40701 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40702 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40703 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40704 libc_feholdexcept_setround.
40705
581d30e3
UD
40706 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40707 Add s_nearbyint-c and s_nearbyintf-c.
40708 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40709 nearbyintf inlines.
40710 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40711 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40713 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40714
d38f1dba
UD
40715 * math/math_private.h: Define defaults for libc_fegetround,
40716 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40717 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40718 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40719 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40720 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40721 standard functions.
40722 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40723 Remove comments and hacks for old compiler versions.
40724 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40725 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40726 libc_feholdexceptl.
40727
caa6c9d8
AS
407282011-10-18 Andreas Schwab <schwab@redhat.com>
40729
40730 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40731 (__feraiseexcept_renamed): Add __NTH.
40732 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40733 namespace violations.
40734
97c066e6
UD
407352011-10-17 Ulrich Drepper <drepper@gmail.com>
40736
99ce7b04
UD
40737 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40738
1004d182
UD
40739 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40740
228a984d
UD
40741 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40742 recently added interfaces.
40743 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40744
c8553a6a
UD
40745 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40746 about macro parameter expansion.
40747
ed22dcf6
UD
40748 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40749 __NO_MATH_INLINES is defined. Cleanups.
40750
40751 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40752 and __floorf is target has SSE4.1.
40753 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40754 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40755 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40756 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40757
b171c137
UD
40758 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40759 name.
40760 (floorf): Likewise.
40761
97c066e6
UD
40762 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40763
629f62ef
AS
407642011-10-17 Andreas Schwab <schwab@redhat.com>
40765
49a43d80
AS
40766 * misc/sys/cdefs.h: Fix last change.
40767
629f62ef
AS
40768 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40769 database lookup.
40770
e453f6cd
UD
407712011-10-16 Ulrich Drepper <drepper@gmail.com>
40772
aa78043a
UD
40773 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40774
ad0f5cad
UD
40775 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40776 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40777 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40778 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40779 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40780 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40781 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40782 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40783 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40784 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40785 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40786 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40787 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40788 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40789 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40790 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40791 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40792 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40793 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40794 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40795 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40796 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40797
40798 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40799 ceil, ceilf, floor, floorf.
40800
40801 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40802 Perform IRELATIVE relocations last.
40803
e453f6cd
UD
40804 * elf/do-rel.h: Add another parameter nrelative, replacing the
40805 local variable with the same name. Change name of the function
40806 to end in Rel or Rela (uppercase).
40807 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40808 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40809 elf_dynamic_do_##reloc function.
40810
fd5bdc09
UD
408112011-10-15 Ulrich Drepper <drepper@gmail.com>
40812
79b195b5
UD
40813 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40814 is sufficient, at least on modern CPUs.
40815
d4a28569
UD
40816 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40817
b61099b5
UD
40818 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40819 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40820
bcf01e6d
UD
40821 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40822 __expl_finite.
40823 * math/bits/math-finite.h: Add entries for exp.
40824 * math/e_expl.c: Add __*_finite alias.
40825 * sysdeps/i386/fpu/e_exp.S: Likewise.
40826 * sysdeps/i386/fpu/e_expf.S: Likewise.
40827 * sysdeps/i386/fpu/e_expl.c: Likewise.
40828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40829 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40830 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40831 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40832 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40833 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40834 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40835
ba1a0d59
UD
40836 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40837 is sufficient, at least on modern CPUs.
40838
fd5bdc09
UD
40839 * ctype/ctype-info.c (__ctype_init): Define.
40840 * include/ctype.h (__ctype_init): Declare.
40841 (__ctype_b_loc): The variable is always initialized.
40842 (__ctype_toupper_loc): Likewise.
40843 (__ctype_tolower_loc): Likewise.
40844 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40845 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40846
7872cfb0
AS
408472011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40848
b468825a
AS
40849 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40850
7872cfb0
AS
40851 * configure.in: Also look in $cxxmachine/include for C++ system
40852 headers.
40853
be13f7bf
LD
408542011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40855
40856 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40857 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40858 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40859 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40860 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40861 (USE_AS_WMEMCMP): New macro.
40862 Fixing indents.
40863 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40864 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40865 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40866 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40867 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40868 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40869 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40870 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40871 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40872 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40873 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40874 (USE_AS_WMEMCMP): New macro.
40875 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40876 * sysdeps/string/test-memcmp.c: Update.
40877 Fix simple_wmemcmp.
40878 Add new tests.
40879 * wcsmbs/wmemcmp.c: Update.
40880 (WMEMCMP): New macro.
40881 Fix overflow bug.
40882
556a2007
AJ
408832011-10-12 Andreas Jaeger <aj@suse.de>
40884
40885 [BZ #13268]
40886 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40887
538faaa7
UD
408882011-10-15 Ulrich Drepper <drepper@gmail.com>
40889
ab6737ff
UD
40890 * libio/iofwide.c (do_length): Avoid warning.
40891
538faaa7
UD
40892 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40893
396a21b1
UD
408942011-10-14 Ulrich Drepper <drepper@gmail.com>
40895
cdf2901f
UD
40896 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40897
38ad40ce
UD
40898 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40899 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40900 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40901 * sysdeps/i386/i686/fpu/e_log.S: New file.
40902 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40903 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40904
396a21b1
UD
40905 * ctype/ctype.h: Add support for inlined isXXX functions when
40906 compiling C++ code.
40907
6b1f68c9
AS
409082011-10-14 Andreas Schwab <schwab@redhat.com>
40909
349290c0
AS
40910 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40911
6b1f68c9
AS
40912 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40913
f2282d42
RM
409142011-10-13 Roland McGrath <roland@hack.frob.com>
40915
40916 [BZ #13291]
40917 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40918
5298ffa8
AS
409192011-10-13 Andreas Schwab <schwab@redhat.com>
40920
714fad23
AS
40921 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40922 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40923 feraiseexcept.
40924
81dcc7fb
AS
40925 * sysdeps/x86_64/memrchr.S: Check for zero size.
40926
5298ffa8
AS
40927 * string/stratcliff.c: Add memrchr tests.
40928
951fbcec
LD
409292011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40930
40931 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40932 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40933 rawmemchr-sse2 rawmemchr-sse2-bsf.
40934 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40935 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40936 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40937 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40938 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40939 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40940 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40941 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40942 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40943 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40944 * string/memrchr.c (MEMRCHR): New macro.
40945
0ac5ae23
UD
409462011-10-12 Ulrich Drepper <drepper@gmail.com>
40947
40948 Add integration with gcc's -ffinite-math-only and optimize wrapper
40949 functions in libm.
40950 * Versions.def: Define GLIBC_2.15 version for libm.
40951 * math/Makefile (headers): Add bits/math-finite.h.
40952 * math/bits/math-finite.h: New file.
40953 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40954 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40955 * math/e_acoshl.c: Add __*_finite alias.
40956 * math/e_acosl.c: Likewise.
40957 * math/e_asinl.c: Likewise.
40958 * math/e_atan2l.c: Likewise.
40959 * math/e_atanhl.c: Likewise.
40960 * math/e_coshl.c: Likewise.
40961 * math/e_exp10.c: Likewise.
40962 * math/e_exp10f.c: Likewise.
40963 * math/e_exp10l.c: Likewise.
40964 * math/e_exp2l.c: Likewise.
40965 * math/e_fmodl.c: Likewise.
40966 * math/e_gammal_r.c: Likewise.
40967 * math/e_hypotl.c: Likewise.
40968 * math/e_j0l.c: Likewise.
40969 * math/e_j1l.c: Likewise.
40970 * math/e_jnl.c: Likewise.
40971 * math/e_lgammal_r.c: Likewise.
40972 * math/e_log10l.c: Likewise.
40973 * math/e_log2l.c: Likewise.
40974 * math/e_logl.c: Likewise.
40975 * math/e_powl.c: Likewise.
40976 * math/e_sinhl.c: Likewise.
40977 * math/e_sqrtl.c: Likewise.
40978 * math/e_scalb.c: Completely rewritten and optimized.
40979 * math/e_scalbf.c: Likewise.
40980 * math/e_scalbl.c: Likewise.
40981 * math/w_acos.c: Likewise.
40982 * math/w_acosf.c: Likewise.
40983 * math/w_acosl.c: Likewise.
40984 * math/w_acosh.c: Likewise.
40985 * math/w_acoshf.c: Likewise.
40986 * math/w_acoshl.c: Likewise.
40987 * math/w_asin.c: Likewise.
40988 * math/w_asinf.c: Likewise.
40989 * math/w_asinl.c: Likewise.
40990 * math/w_atan2.c: Likewise.
40991 * math/w_atan2f.c: Likewise.
40992 * math/w_atan2l.c: Likewise.
40993 * math/w_atanh.c: Likewise.
40994 * math/w_atanhf.c: Likewise.
40995 * math/w_atanhl.c: Likewise.
40996 * math/w_exp10.c: Likewise.
40997 * math/w_exp10f.c: Likewise.
40998 * math/w_exp10l.c: Likewise.
40999 * math/w_fmod.c: Likewise.
41000 * math/w_fmodf.c: Likewise.
41001 * math/w_fmodl.c: Likewise.
41002 * math/w_j0.c: Likewise.
41003 * math/w_j0f.c: Likewise.
41004 * math/w_j0l.c: Likewise.
41005 * math/w_j1.c: Likewise.
41006 * math/w_j1f.c: Likewise.
41007 * math/w_j1l.c: Likewise.
41008 * math/w_jn.c: Likewise.
41009 * math/w_jnf.c: Likewise.
41010 * math/w_log.c: Likewise.
41011 * math/w_logf.c: Likewise.
41012 * math/w_logl.c: Likewise.
41013 * math/w_log10.c: Likewise.
41014 * math/w_log10f.c: Likewise.
41015 * math/w_log10l.c: Likewise.
41016 * math/w_log2.c: Likewise.
41017 * math/w_log2f.c: Likewise.
41018 * math/w_log2l.c: Likewise.
41019 * math/w_pow.c: Likewise.
41020 * math/w_powf.c: Likewise.
41021 * math/w_powl.c: Likewise.
41022 * math/w_remainder.c: Likewise.
41023 * math/w_remainderf.c: Likewise.
41024 * math/w_remainderl.c: Likewise.
41025 * math/w_scalb.c: Likewise.
41026 * math/w_scalbf.c: Likewise.
41027 * math/w_scalbl.c: Likewise.
41028 * math/w_sqrt.c: Likewise.
41029 * math/w_sqrtf.c: Likewise.
41030 * math/w_sqrtl.c: Likewise.
41031 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41032 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41033 used.
41034 * math/math_private.h: Declare __kernel_standard_f.
41035 * math/w_cosh.c: Remove cruft and optimize a bit.
41036 * math/w_coshf.c: Likewise.
41037 * math/w_coshl.c: Likewise.
41038 * math/w_exp2.c: Likewise.
41039 * math/w_exp2f.c: Likewise.
41040 * math/w_exp2l.c: Likewise.
41041 * math/w_hypot.c: Likewise.
41042 * math/w_hypotf.c: Likewise.
41043 * math/w_hypotl.c: Likewise.
41044 * math/w_lgamma.c: Likewise.
41045 * math/w_lgamma_r.c: Likewise.
41046 * math/w_lgammaf.c: Likewise.
41047 * math/w_lgammaf_r.c: Likewise.
41048 * math/w_lgammal.c: Likewise.
41049 * math/w_lgammal_r.c: Likewise.
41050 * math/w_sinh.c: Likewise.
41051 * math/w_sinhf.c: Likewise.
41052 * math/w_sinhl.c: Likewise.
41053 * math/w_tgamma.c: Likewise.
41054 * math/w_tgammaf.c: Likewise.
41055 * math/w_tgammal.c: Likewise.
41056 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41057 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41058 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41059 Minor optimizations. Pretty printing. Remove cruft.
41060 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41061 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41062 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41063 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41064 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41065 * sysdeps/i386/fpu/e_asin.S: Likewise.
41066 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41067 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41068 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41069 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41070 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41071 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41072 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41073 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41074 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41075 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41076 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41077 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41078 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41079 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41080 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41081 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41082 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41083 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41084 * sysdeps/i386/fpu/e_log.S: Likewise.
41085 * sysdeps/i386/fpu/e_log10.S: Likewise.
41086 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41087 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41088 * sysdeps/i386/fpu/e_log2.S: Likewise.
41089 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41090 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41091 * sysdeps/i386/fpu/e_logf.S: Likewise.
41092 * sysdeps/i386/fpu/e_logl.S: Likewise.
41093 * sysdeps/i386/fpu/e_pow.S: Likewise.
41094 * sysdeps/i386/fpu/e_powf.S: Likewise.
41095 * sysdeps/i386/fpu/e_powl.S: Likewise.
41096 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41097 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41098 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41099 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41100 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41101 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41102 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41103 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41104 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41105 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41106 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41107 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41108 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41109 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41110 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41111 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41112 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41113 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41114 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41115 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41116 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41118 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41119 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41121 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41122 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41125 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41126 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41127 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41128 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41129 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41130 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41131 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41132 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41133 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41134 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41135 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41136 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41137 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41138 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41139 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41140 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41141 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41142 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41143 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41144 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41145 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41146 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41147 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41148 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41149 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41150 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41151 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41152 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41153 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41154 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41155 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41156 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41157 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41158 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41159 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41160 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41161 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41162 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41163 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41164 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41165 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41166 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41167 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41168 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41169 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41170 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41171 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41172 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41173 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41174 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41175 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41176 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41177 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41179 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41181 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41182 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41183 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41184 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41185 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41186 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41187 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41188 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41190 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41191 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41192 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41193 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41194 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41196 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41197 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41198 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41199 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41200 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41201 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41202 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41203 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41204 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41205 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41206 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41207 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41208 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41209 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41210 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41211 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41212 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41213 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41214 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41215 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41216 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41217 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41218 (__isnanf): Likewise.
41219 (__isinf_ns): Likewise.
41220 (__isinf_nsf): Likewise.
41221 (__finite): Likewise.
41222 (__finitef): Likewise.
41223 (__ieee754_sqrt): Define as macro.
41224 (__ieee754_sqrtf): Define as macro.
41225 (__ieee754_sqrtl): Define as macro.
41226 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41227 inlined copy.
41228 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41229 __FINITE_MATH_ONLY__ consistent.
41230 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41231
12cc2fcd
AS
412322011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41233
a843a204
AS
41234 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41235 of rawmemchr.
41236
12cc2fcd
AS
41237 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41238
c853acd5
UD
412392011-10-09 Ulrich Drepper <drepper@gmail.com>
41240
41241 * po/ja.po: Update from translation team.
41242
c658d255
RM
412432011-10-08 Roland McGrath <roland@hack.frob.com>
41244
110946e4
RM
41245 * locale/programs/locarchive.c (prepare_address_space): New function.
41246 (create_archive, enlarge_archive, open_archive): Use it.
41247
50604220
RM
41248 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41249 inside [SHARED], where it is used.
41250
c658d255
RM
41251 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41252
41253 * nss/getent.c (netgroup_keys): Remove unused variable.
41254 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41255
6a621eb7
UD
412562011-10-08 Ulrich Drepper <drepper@gmail.com>
41257
7edb55ce
UD
41258 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41259 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41261 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41262 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41263 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41264 * math/Makefile (libm-calls): Add s_isinf_ns.
41265 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41266 * math/multc3.c: Likewise.
41267 * math/s_casin.c: Likewise.
41268 * math/s_casinf.c: Likewise.
41269 * math/s_casinl.c: Likewise.
41270 * math/s_ccos.c: Likewise.
41271 * math/s_ccosf.c: Likewise.
41272 * math/s_ccosl.c: Likewise.
41273 * math/s_ctan.c: Likewise.
41274 * math/s_ctanf.c: Likewise.
41275 * math/s_ctanh.c: Likewise.
41276 * math/s_ctanhf.c: Likewise.
41277 * math/s_ctanhl.c: Likewise.
41278 * math/s_ctanl.c: Likewise.
41279 * math/w_fmod.c: Likewise.
41280 * math/w_fmodf.c: Likewise.
41281 * math/w_fmodl.c: Likewise.
41282 * math/w_remainder.c: Likewise.
41283 * math/w_remainderf.c: Likewise.
41284 * math/w_remainderl.c: Likewise.
41285 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41286 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41287 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41289 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41290 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41291 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41292 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41293
187da0ae
UD
41294 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41295 of the number.
41296 * stdio-common/printf_fphex.c: Likewise.
41297 * stdio-common/printf_size.c: Likewise.
41298
9277c064
UD
41299 * math/e_exp10.c: Include math_private.h using <...> not "...".
41300 * math/e_exp10f.c: Likewise.
41301 * math/e_exp10l.c: Likewise.
41302 * math/e_exp2l.c: Likewise.
41303 * math/e_j0l.c: Likewise.
41304 * math/e_j1l.c: Likewise.
41305 * math/e_jnl.c: Likewise.
41306 * math/e_lgammal_r.c: Likewise.
41307 * math/e_rem_pio2l.c: Likewise.
41308 * math/e_scalb.c: Likewise.
41309 * math/e_scalbf.c: Likewise.
41310 * math/e_scalbl.c: Likewise.
41311 * math/k_cosl.c: Likewise.
41312 * math/k_sinl.c: Likewise.
41313 * math/k_tanl.c: Likewise.
41314 * math/s_cacoshf.c: Likewise.
41315 * math/s_catan.c: Likewise.
41316 * math/s_catanf.c: Likewise.
41317 * math/s_catanh.c: Likewise.
41318 * math/s_catanhf.c: Likewise.
41319 * math/s_catanhl.c: Likewise.
41320 * math/s_catanl.c: Likewise.
41321 * math/s_ccosh.c: Likewise.
41322 * math/s_ccoshf.c: Likewise.
41323 * math/s_ccoshl.c: Likewise.
41324 * math/s_cexp.c: Likewise.
41325 * math/s_cexpf.c: Likewise.
41326 * math/s_cexpl.c: Likewise.
41327 * math/s_clog.c: Likewise.
41328 * math/s_clog10.c: Likewise.
41329 * math/s_clog10f.c: Likewise.
41330 * math/s_clog10l.c: Likewise.
41331 * math/s_clogf.c: Likewise.
41332 * math/s_clogl.c: Likewise.
41333 * math/s_csin.c: Likewise.
41334 * math/s_csinf.c: Likewise.
41335 * math/s_csinh.c: Likewise.
41336 * math/s_csinhf.c: Likewise.
41337 * math/s_csinhl.c: Likewise.
41338 * math/s_csinl.c: Likewise.
41339 * math/s_csqrt.c: Likewise.
41340 * math/s_csqrtf.c: Likewise.
41341 * math/s_csqrtl.c: Likewise.
41342 * math/s_ctan.c: Likewise.
41343 * math/s_ctanf.c: Likewise.
41344 * math/s_ctanh.c: Likewise.
41345 * math/s_ctanhf.c: Likewise.
41346 * math/s_ctanhl.c: Likewise.
41347 * math/s_ctanl.c: Likewise.
41348 * math/s_ldexp.c: Likewise.
41349 * math/s_ldexpf.c: Likewise.
41350 * math/s_ldexpl.c: Likewise.
41351 * math/s_significand.c: Likewise.
41352 * math/s_significandf.c: Likewise.
41353 * math/s_significandl.c: Likewise.
41354 * math/w_acos.c: Likewise.
41355 * math/w_acosf.c: Likewise.
41356 * math/w_acosh.c: Likewise.
41357 * math/w_acoshf.c: Likewise.
41358 * math/w_acoshl.c: Likewise.
41359 * math/w_acosl.c: Likewise.
41360 * math/w_asin.c: Likewise.
41361 * math/w_asinf.c: Likewise.
41362 * math/w_asinl.c: Likewise.
41363 * math/w_atan2.c: Likewise.
41364 * math/w_atan2f.c: Likewise.
41365 * math/w_atan2l.c: Likewise.
41366 * math/w_atanh.c: Likewise.
41367 * math/w_atanhf.c: Likewise.
41368 * math/w_atanhl.c: Likewise.
41369 * math/w_cosh.c: Likewise.
41370 * math/w_coshf.c: Likewise.
41371 * math/w_coshl.c: Likewise.
41372 * math/w_dremf.c: Likewise.
41373 * math/w_exp10.c: Likewise.
41374 * math/w_exp10f.c: Likewise.
41375 * math/w_exp10l.c: Likewise.
41376 * math/w_exp2.c: Likewise.
41377 * math/w_exp2f.c: Likewise.
41378 * math/w_fmod.c: Likewise.
41379 * math/w_fmodf.c: Likewise.
41380 * math/w_fmodl.c: Likewise.
41381 * math/w_hypot.c: Likewise.
41382 * math/w_hypotf.c: Likewise.
41383 * math/w_hypotl.c: Likewise.
41384 * math/w_j0.c: Likewise.
41385 * math/w_j0f.c: Likewise.
41386 * math/w_j0l.c: Likewise.
41387 * math/w_j1.c: Likewise.
41388 * math/w_j1f.c: Likewise.
41389 * math/w_j1l.c: Likewise.
41390 * math/w_jn.c: Likewise.
41391 * math/w_jnf.c: Likewise.
41392 * math/w_jnl.c: Likewise.
41393 * math/w_lgamma.c: Likewise.
41394 * math/w_lgamma_r.c: Likewise.
41395 * math/w_lgammaf.c: Likewise.
41396 * math/w_lgammaf_r.c: Likewise.
41397 * math/w_lgammal.c: Likewise.
41398 * math/w_lgammal_r.c: Likewise.
41399 * math/w_log.c: Likewise.
41400 * math/w_log10.c: Likewise.
41401 * math/w_log10f.c: Likewise.
41402 * math/w_log10l.c: Likewise.
41403 * math/w_log2.c: Likewise.
41404 * math/w_log2f.c: Likewise.
41405 * math/w_log2l.c: Likewise.
41406 * math/w_logf.c: Likewise.
41407 * math/w_logl.c: Likewise.
41408 * math/w_pow.c: Likewise.
41409 * math/w_powf.c: Likewise.
41410 * math/w_powl.c: Likewise.
41411 * math/w_remainder.c: Likewise.
41412 * math/w_remainderf.c: Likewise.
41413 * math/w_remainderl.c: Likewise.
41414 * math/w_scalb.c: Likewise.
41415 * math/w_scalbf.c: Likewise.
41416 * math/w_scalbl.c: Likewise.
41417 * math/w_sinh.c: Likewise.
41418 * math/w_sinhf.c: Likewise.
41419 * math/w_sinhl.c: Likewise.
41420 * math/w_sqrt.c: Likewise.
41421 * math/w_sqrtf.c: Likewise.
41422 * math/w_sqrtl.c: Likewise.
41423 * math/w_tgamma.c: Likewise.
41424 * math/w_tgammaf.c: Likewise.
41425 * math/w_tgammal.c: Likewise.
41426
6a621eb7
UD
41427 * po/ja.po: Update from translation team.
41428
bf582445
AJ
414292011-09-29 Andreas Jaeger <aj@suse.de>
41430
f9efbf3a
AJ
41431 [BZ #13179]
41432 * sunrpc/netname.c (netname2host): Fix logic.
41433
bf582445
AJ
41434 [BZ #6779]
41435 [BZ #6783]
41436 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41437 correctly.
41438 * math/w_remainder.c (__remainder): Likewise.
41439 * math/w_remainderf.c (__remainderf): Likewise.
41440 * math/libm-test.inc (remainder_test): Add test cases.
41441
48693bea
AK
414422011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41443
41444 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41445 sdiv_qrnnd.
41446
42622229
LD
414472011-10-07 Ulrich Drepper <drepper@gmail.com>
41448
41449 * string/test-memcmp.c: Avoid unncessary #defines.
41450 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41451
093ecf92
LD
414522011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41453
41454 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41455 Use new sse2 version for core i3 - i7 as it's faster
41456 than sse42 version.
41457 (bit_Prefer_PMINUB_for_stringop): New.
41458 * sysdeps/x86_64/rawmemchr.S: Update.
41459 Replace with faster SSE2 version.
41460 * sysdeps/x86_64/memrchr.S: New file.
41461 * sysdeps/x86_64/memchr.S: Update.
41462 Replace with faster SSE2 version.
41463
fde56e5c
MP
414642011-09-12 Marek Polacek <mpolacek@redhat.com>
41465
41466 * elf/dl-load.c (lose): Add cast to avoid warning.
41467
21fd49a9
UD
414682011-10-07 Ulrich Drepper <drepper@gmail.com>
41469
5a06e643
UD
41470 * po/ca.po: Update from translation team.
41471
684ae515
UD
41472 * inet/getnetgrent_r.c: Hook up nscd.
41473 * nscd/Makefile (routines): Add nscd_netgroup.
41474 (nscd-modules): Add netgroupcache.
41475 (CFLAGS-netgroupcache.c): Define.
41476 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41477 (cache_search): Add const to second parameter.
41478 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41479 INNETGR.
41480 (dbs): Add netgrdb entry.
41481 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41482 (verify_persistent_db): Handle netgrdb.
41483 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41484 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41485 GETFDNETGR.
41486 (netgroup_response_header): Define.
41487 (innetgroup_response_header): Define.
41488 (datahead): Add netgroup_response_header and innetgroup_response_header
41489 elements.
41490 * nscd/nscd.conf: Add entries for netgroup cache.
41491 * nscd/nscd.h (dbtype): Add netgrdb.
41492 (_PATH_NSCD_NETGROUP_DB): Define.
41493 (netgroup_iov_disabled): Declare.
41494 (xmalloc, xcalloc, xrealloc): Move declarations here.
41495 (cache_search): Adjust prototype.
41496 Add netgroup-related prototypes.
41497 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41498 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41499 (__nscd_innetgr): Declare.
41500 * nscd/selinux.c (perms): Use access_vector_t as element type and
41501 add netgroup-related initializers.
41502 * nscd/netgroupcache.c: New file.
41503 * nscd/nscd_netgroup.c: New file.
41504 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41505 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41506 For four parameters use innetgr.
41507 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41508 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41509 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41510 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41511
21fd49a9
UD
41512 * nscd/connections.c (register_traced_file): Don't register file
41513 for disabled databases.
41514
054c0457
UD
415152011-10-06 Ulrich Drepper <drepper@gmail.com>
41516
32b63198
UD
41517 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41518
054c0457
UD
41519 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41520 from tree and freeing node.
41521
64031225
JO
415222011-09-25 Jiri Olsa <jolsa@redhat.com>
41523
41524 * nss/nsswitch.c (__nss_database_lookup): Handle
41525 nss_parse_service_list out of memory case.
41526
0490345c
JO
415272011-09-15 Jiri Olsa <jolsa@redhat.com>
41528
41529 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41530 out of memory case.
41531
3a62d00d
AS
415322011-10-04 Andreas Schwab <schwab@redhat.com>
41533
41534 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41535 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41536 pass it down.
41537 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41538 elf_machine_rela, elf_machine_lazy_rel.
41539 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41540 (ELF_DYNAMIC_DO_REL): Likewise.
41541 (ELF_DYNAMIC_DO_RELA): Likewise.
41542 (ELF_DYNAMIC_RELOCATE): Likewise.
41543 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41544 to ELF_DYNAMIC_DO_REL.
41545 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41546 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41547 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41548 elf_machine_rela.
41549 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41550 skip_ifunc, don't call ifunc function if non-zero.
41551 (elf_machine_rela): Likewise.
41552 (elf_machine_lazy_rel): Likewise.
41553 (elf_machine_lazy_rela): Likewise.
41554 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41555 (elf_machine_lazy_rel): Likewise.
41556 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41557 Likewise.
41558 (elf_machine_lazy_rel): Likewise.
41559 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41560 Likewise.
41561 (elf_machine_lazy_rel): Likewise.
41562 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41563 (elf_machine_lazy_rel): Likewise.
41564 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41565 (elf_machine_lazy_rel): Likewise.
41566 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41567 (elf_machine_lazy_rel): Likewise.
41568 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41569 (elf_machine_lazy_rel): Likewise.
41570 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41571 (elf_machine_lazy_rel): Likewise.
41572 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41573 (elf_machine_lazy_rel): Likewise.
41574
68577918
UD
415752011-09-28 Ulrich Drepper <drepper@gmail.com>
41576
41577 * nss/nss_files/files-init.c (_nss_files_init): Use static
41578 initialization for all the *_traced_file variables.
41579
68822d74
AS
415802011-09-28 Andreas Schwab <schwab@redhat.com>
41581
41582 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41583
2056100b
RM
415842011-09-27 Roland McGrath <roland@hack.frob.com>
41585
41586 [BZ #13226]
41587 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41588
32c76b63
AS
415892011-09-27 Andreas Schwab <schwab@redhat.com>
41590
41591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41592 Reread the line before reparsing it.
41593
bf972c9d
AS
415942011-09-26 Andreas Schwab <schwab@redhat.com>
41595
41596 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41597
e057a1b5
JM
415982011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41599 Maxim Kuvyrkov <maxim@codesourcery.com>
41600 Joseph Myers <joseph@codesourcery.com>
41601
41602 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41603 if needed for __stack_chk_guard.
41604
bc7e1c36
RM
416052011-09-19 Roland McGrath <roland@hack.frob.com>
41606
ecb1482f
RM
41607 * sysdeps/posix/spawni.c (script_execute): Always define it.
41608 It will be optimized away if unused.
41609 (maybe_script_execute): New function.
41610 (__spawni): Call it.
41611
bc7e1c36
RM
41612 * Makerules: Don't include tls.make.
41613 (config-tls): Always set to thread.
41614 * tls.make.c: File removed.
41615
1c3b002b
MF
416162011-09-19 Mike Frysinger <vapier@gentoo.org>
41617
41618 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41619 * config.make.in (CPPFLAGS-config): New substituted variable.
41620
2840865d
UD
416212011-09-15 Ulrich Drepper <drepper@gmail.com>
41622
88738eb6
UD
41623 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41624
cbf645a6 41625 [BZ #13192]
2840865d
UD
41626 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41627 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41628
b402e91a
RM
416292011-09-15 Roland McGrath <roland@hack.frob.com>
41630
41631 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41632 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41633 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41634 (CALL_FAIL): Likewise.
41635 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41636 (CALL_FAIL): Macro removed.
41637 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41638
4c1a1f71
UD
416392011-09-15 Ulrich Drepper <drepper@gmail.com>
41640
41641 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41642 for __FINITE_MATH_ONLY__ == 1.
41643
edc121be
AS
416442011-09-15 Andreas Schwab <schwab@redhat.com>
41645
41646 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41647 __ieee754_sqrt instead of sqrt.
41648 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41649 __ieee754_sqrtf instead of sqrtf.
41650 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41651 __floorf instead of floorf.
41652 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41653 __floorf, __truncf instead of floorf, truncf.
41654
cd205654
UD
416552011-09-14 Ulrich Drepper <drepper@gmail.com>
41656
ee4d0315
UD
41657 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41658
cd205654
UD
41659 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41660 __extern_always_inline.
41661 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41662 32-bit.
41663
48b67d71
AS
416642011-09-14 Andreas Schwab <schwab@redhat.com>
41665
41666 * elf/rtld.c (dl_main): Also relocate in dependency order when
41667 doing symbol dependency testing.
41668
1ae12c75
AS
416692011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41670
41671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41672 Always define `refsym'.
41673
995a80df
AS
416742011-09-13 Andreas Schwab <schwab@redhat.com>
41675
e529793b
AS
41676 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41677 (__FD_ELT): Renamed from __FDELT.
41678 * misc/bits/select2.h (__FD_ELT): Likewise.
41679 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41680 __FD_MASK instead of __FDELT, __FDMASK.
41681 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41682 Likewise.
41683 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41684 Likewise.
41685
52d4fef8
AS
41686 * elf/Makefile (gen-ldd): Fix pattern.
41687
995a80df
AS
41688 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41689 (init_tls): Likewise.
41690
8682f8b0
UD
416912011-09-12 Ulrich Drepper <drepper@gmail.com>
41692
41693 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41694
de82006d
AS
416952011-09-12 Andreas Schwab <schwab@redhat.com>
41696
a7c8e6a1
AS
41697 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41698 `struct cmsghdr *' instead of `void *'.
41699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41700 Likewise.
41701
0f31fe77
AS
417022011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41703
41704 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41705 if non-absolute.
41706 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41707 ldd_rewrite_script.
0f31fe77 41708
32b4c839
UD
417092011-09-11 Ulrich Drepper <drepper@gmail.com>
41710
83cd1420
UD
41711 * configure.in: Remove --with-tls option.
41712 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41713 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41714 out in case it is missing.
41715 * sysdeps/ia64/elf/configure.in: Likewise.
41716 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41717 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41718 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41719 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41720 * sysdeps/sh/elf/configure.in: Likewise.
41721 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41722 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41723 * sysdeps/x86_64/elf/configure.in: Likewise.
41724 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41725 * sysdeps/mach/hurd/tls.h: Likewise.
41726
633f745d
UD
41727 [BZ #13067]
41728 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41729
f318beb8
UD
41730 [BZ #13090]
41731 * configure.in: Fix use of AC_INIT.
41732
32b4c839
UD
41733 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41734
3ce1f295
UD
417352011-09-10 Ulrich Drepper <drepper@gmail.com>
41736
bb016596
UD
41737 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41738 __set_errno.
8e58439c
UD
41739 * malloc/hooks.c: Likewise.
41740
aebae053 41741 [BZ #11929]
02d46fc4
UD
41742 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41743 variables statically.
41744 (narenas): Initialize.
41745 (list_lock): Initialize.
bb016596
UD
41746 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41747 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41748 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41749 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41750 Add initializers to main_arena and mp_.
41751 (malloc_state): Remove pagesize member. Change all users to use
41752 GLRO(dl_pagesize).
41753
41754 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41755 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41756 is always initialized.
41757
22a89187
UD
41758 * malloc/malloc.c: Removed unused configurations and dead code.
41759 * malloc/arena.c: Likewise.
41760 * malloc/hooks.c: Likewise.
02d46fc4 41761 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41762
d063d164
UD
41763 * include/tls.h: Removed. USE___THREAD must always be defined.
41764 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41765 * elf/dl-libc.c: Likewise.
41766 * elf/dl-tsd.c: Likewise.
41767 * include/errno.h: Likewise.
41768 * include/netdb.h: Likewise.
41769 * include/resolv.h: Likewise.
41770 * inet/herrno-loc.c: Likewise.
41771 * inet/herrno.c: Likewise.
41772 * malloc/arena.c: Likewise.
41773 * malloc/hooks.c: Likewise.
41774 * malloc/malloc.c: Likewise.
41775 * resolv/res-state.c: Likewise.
41776 * resolv/res_libc.c: Likewise.
41777 * sysdeps/i386/dl-machine.h: Likewise.
41778 * sysdeps/ia64/dl-machine.h: Likewise.
41779 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41780 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41781 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41782 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41783 * sysdeps/sh/dl-machine.h: Likewise.
41784 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41785 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41786 * sysdeps/unix/i386/sysdep.S: Likewise.
41787 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41788 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41790 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41792 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41793 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41797 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41798 * sysdeps/x86_64/dl-machine.h: Likewise.
41799 * tls.make.c: Likewise.
41800
3ce1f295
UD
41801 * configure.in: Remove --with-__thread option. Make tests for
41802 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41803 tls_model attribute fail if no support is available. Remove
41804 USE_IN_LIBIO.
41805 * Makeconfig: Adjust for dropped configure option. All features are
41806 now mandatory.
41807 * Makerules: Likewise.
41808 * Versions.def: Likewise.
41809 * argp/argp-fmtstream.c: Likewise.
41810 * argp/argp-fmtstream.h: Likewise.
41811 * argp/argp-help.c: Likewise.
41812 * assert/assert.c: Likewise.
41813 * config.h.in: Likewise.
41814 * config.make.in: Likewise.
41815 * configure: Likewise.
41816 * configure.in: Likewise.
41817 * csu/Versions: Likewise.
41818 * csu/init.c: Likewise.
41819 * elf/tst-audit2.c: Likewise.
41820 * elf/tst-tls10.c: Likewise.
41821 * elf/tst-tls10.h: Likewise.
41822 * elf/tst-tls11.c: Likewise.
41823 * elf/tst-tls12.c: Likewise.
41824 * elf/tst-tls14.c: Likewise.
41825 * elf/tst-tlsmod11.c: Likewise.
41826 * elf/tst-tlsmod12.c: Likewise.
41827 * elf/tst-tlsmod13.c: Likewise.
41828 * elf/tst-tlsmod13a.c: Likewise.
41829 * elf/tst-tlsmod14a.c: Likewise.
41830 * elf/tst-tlsmod15b.c: Likewise.
41831 * elf/tst-tlsmod16a.c: Likewise.
41832 * elf/tst-tlsmod16b.c: Likewise.
41833 * elf/tst-tlsmod7.c: Likewise.
41834 * elf/tst-tlsmod8.c: Likewise.
41835 * elf/tst-tlsmod9.c: Likewise.
41836 * gmon/gmon.c: Likewise.
41837 * grp/fgetgrent_r.c: Likewise.
41838 * grp/putgrent.c: Likewise.
41839 * hurd/fopenport.c: Likewise.
41840 * include/libc-symbols.h: Likewise.
41841 * include/tls.h: Likewise.
41842 * intl/gettextP.h: Likewise.
41843 * intl/loadinfo.h: Likewise.
41844 * locale/global-locale.c: Likewise.
41845 * locale/localeinfo.h: Likewise.
41846 * mach/devstream.c: Likewise.
41847 * malloc/arena.c: Likewise.
41848 * malloc/set-freeres.c: Likewise.
41849 * misc/err.c: Likewise.
41850 * misc/getttyent.c: Likewise.
41851 * misc/mntent_r.c: Likewise.
41852 * posix/getopt.c: Likewise.
41853 * posix/wordexp.c: Likewise.
41854 * pwd/fgetpwent_r.c: Likewise.
41855 * resolv/Versions: Likewise.
41856 * resolv/res_hconf.c: Likewise.
41857 * shadow/fgetspent_r.c: Likewise.
41858 * shadow/putspent.c: Likewise.
41859 * stdio-common/printf_fphex.c: Likewise.
41860 * stdio-common/tmpfile.c: Likewise.
41861 * stdlib/abort.c: Likewise.
41862 * stdlib/fmtmsg.c: Likewise.
41863 * sunrpc/auth_unix.c: Likewise.
41864 * sunrpc/clnt_perr.c: Likewise.
41865 * sunrpc/clnt_tcp.c: Likewise.
41866 * sunrpc/clnt_udp.c: Likewise.
41867 * sunrpc/clnt_unix.c: Likewise.
41868 * sunrpc/openchild.c: Likewise.
41869 * sunrpc/svc_simple.c: Likewise.
41870 * sunrpc/svc_tcp.c: Likewise.
41871 * sunrpc/svc_udp.c: Likewise.
41872 * sunrpc/svc_unix.c: Likewise.
41873 * sunrpc/xdr.c: Likewise.
41874 * sunrpc/xdr_array.c: Likewise.
41875 * sunrpc/xdr_rec.c: Likewise.
41876 * sunrpc/xdr_ref.c: Likewise.
41877 * sunrpc/xdr_stdio.c: Likewise.
41878
1248c1c4
PB
418792011-09-09 Ulrich Drepper <drepper@gmail.com>
41880
41881 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41882
418832011-07-03 Andreas Jaeger <aj@suse.de>
41884
41885 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41886 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41887 regenerate with gen-libm-tests.pl.
41888
418892010-05-12 Petr Baudis <pasky@suse.cz>
41890
41891 [BZ #11589]
41892 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41893 around j0() zero points by switching to j1().
41894 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41895 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41896 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41897 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41898
f22e1074
UD
418992011-09-09 Ulrich Drepper <drepper@gmail.com>
41900
f19009c1
UD
41901 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41902 instead of 0.
41903 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41904 instead of 0.
f19009c1
UD
41905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41906 Patch in part by Pavel Roskin <proski@gnu.org>.
41907
3f8cc204
UD
41908 [BZ #13138]
41909 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41910 realloc.
41911 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41912 Free memory block if necessary.
41913
f22e1074
UD
41914 [BZ #12847]
41915 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41916 be NULL. Don't lock in this case.
41917
0a2349f9
RM
419182011-09-09 Roland McGrath <roland@hack.frob.com>
41919
41920 * elf/elf.h (ELFOSABI_GNU): New macro.
41921 (ELFOSABI_LINUX): Define to that.
41922
f3cdd467
DZ
419232011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41924
41925 * string/strncat.c (strncat): Undef the symbol in case it has been
41926 defined in bits/string.h.
41927
74718d13
UD
419282011-09-09 Ulrich Drepper <drepper@gmail.com>
41929
633e9e0f
UD
41930 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41931
0a2349f9 41932 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41933 link map.
41934
f9924780
AJ
419352011-08-17 Andreas Jaeger <aj@suse.de>
41936
41937 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41938
7f5517aa
PP
419392011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41940 Ian Lance Taylor <iant@google.com>
41941
41942 * math/libm-test.inc (lround_test): New testcase.
41943 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41944
762011fe
UD
419452011-09-08 Ulrich Drepper <drepper@gmail.com>
41946
92963737
UD
41947 * Makefile: Remove support for automatic cvs check-ins.
41948 * Makerules: Likewise.
41949 * config.make.in: Likewise.
41950 * configure.in: Likewise.
41951 * intl/Makefile: Likewise.
41952 * locale/Makefile: Likewise.
41953 * po/Makefile: Likewise.
41954 * posix/Makefile: Likewise.
41955 * sysdeps/gnu/Makefile: Likewise.
41956 * sysdeps/mach/hurd/Makefile: Likewise.
41957 * sysdeps/sparc/sparc32/Makefile: Likewise.
41958
b0727fd8
JS
41959 [BZ #13118]
41960 * posix/Makefile (bug-regex32-ENV): Define.
41961 Patch by John Stanley <jpsinthemix@verizon.net>.
41962
a0f33f99
UD
41963 * misc/Makefile (headers): Add bits/select2.h.
41964 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41965 * misc/bits/select2.h: New file.
41966 * include/bits/select2.h: New file.
41967 * debug/Makefile (routines): Add fdelt_chk.
41968 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41969 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41970 FD_ISSET.
41971 * debug/fdelt_chk.c: New file.
41972
762011fe
UD
41973 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41974 * wcsmbs/test-wmemcmp.c: Likewise.
41975 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41976 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41977
419782011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41979
41980 * string/Makefile (strop-tests): Add memcmp.
41981 * string/test-wmemcmp.c: New file.
41982 * string/test-memcmp.c: Add wmemcmp support.
41983
7f513ec8
RM
419842011-09-08 Roland McGrath <roland@hack.frob.com>
41985
0442afb4
RM
41986 [BZ #13153]
41987 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41988 2011-07-19 change.
41989
7f513ec8
RM
41990 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41991 garbage value in a __mach_port_mod_refs call in the cases of the
41992 task-self and thread-self ports.
41993
a12b2239
ST
419942011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41995
41996 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41997
610f9ab4
AS
419982011-09-08 Andreas Schwab <schwab@redhat.com>
41999
7f513ec8 42000 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 42001
48882a1a
LD
420022011-09-07 Ulrich Drepper <drepper@gmail.com>
42003
b49865be
UD
42004 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42005
fdc86bc9
UD
42006 * elf/dl-libc.c (dlerror_run): Pass back error code from
42007 dl_catch_error.
42008
c966526a
UD
42009 [BZ #13123]
42010 * elf/dl-load.c (lose): Free l_origin if it is valid.
42011
48882a1a
LD
42012 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42013 names.
42014 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42015 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42016 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42017 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42018 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42019 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42020
77a2a8b4
AZ
420212011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42022
42023 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42024 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42025 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42026 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42027 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42028 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42029 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42030 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42031 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42032 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42033
24f579d8
AM
420342011-08-15 Alan Modra <amodra@gmail.com>
42035
42036 [BZ #13092]
42037 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42038 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42039 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42040 ppc_mcount to static-only-routines.
42041 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42042 __mcount_internal.
42043 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42044 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42045
3d4837df
UD
420462011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42047
42048 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42049 for finite and infinity parameters.
42050
22700377
WS
420512011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42052
42053 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42054 and add nop instructions for throughput optimization.
42055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42056
5025581e
WS
420572011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42058
42059 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42060 aligned copy for power7 with vector-scalar instructions.
42061 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42062
08a300c9
L
420632011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42064
42065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42066 AVX check.
42067
59178ef9
AS
420682011-09-07 Andreas Schwab <schwab@redhat.com>
42069
42070 [BZ #13144]
42071 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42072 last change.
42073
e38ba7ab
UD
420742011-09-07 Ulrich Drepper <drepper@gmail.com>
42075
42076 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42077 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42078 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42079 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42080 clock_gettime.
42081
d53a73ac
UD
420822011-09-06 Ulrich Drepper <drepper@gmail.com>
42083
fc8bffcc
UD
42084 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42085 Forgot to demangle the pointer.
42086
ceaa0c5d
UD
42087 * sysdeps/i386/sysdep.h: Define atom_text_section.
42088 * sysdeps/x86_64/sysdep.h: Likewise.
42089 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42090 section with atom_text_section.
42091 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42092 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42093 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42094 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42095 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42096
a77d3c17
UD
42097 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42098 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42099 already be defined. Change to take two parameters and don't assign
42100 result to variable. Adjust all users.
42101 Define INTERNAL_GETTIME if not already defined.
42102 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42103 call.
42104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42105 HAVE_CLOCK_GETTIME_VSYSCALL.
42106 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42107
d53a73ac
UD
42108 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42109 gettimeofday vsyscall, just use time.
42110
a8f84144
AS
421112011-09-06 Andreas Schwab <schwab@redhat.com>
42112
42113 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42114 <errno.h>.
42115
ef606249
UD
421162011-09-06 Ulrich Drepper <drepper@gmail.com>
42117
42118 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42119 syscall on x86-64.
42120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42121 syscall.
42122 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42123 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42124 syscall if possible.
42125
6585cb60
UD
421262011-09-05 Ulrich Drepper <drepper@gmail.com>
42127
42128 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42129 e_ident. Don't pass to find_mapsXX.
42130 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42131
a5f524e4
LD
421322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42133
42134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42135 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42136 * sysdeps/x86_64/multiarch/strchr.S: Update.
42137 Check bit_slow_BSF bit.
42138 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42139 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42140 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42141
554881ef
UD
421422011-09-05 Ulrich Drepper <drepper@gmail.com>
42143
d96de963
UD
42144 [BZ #13134]
42145 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42146 before glibc 2.15.
42147 (tryshell): Define.
42148 (__spawni): Change last parameter to be flag. Test
42149 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42150 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42151 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42152 * posix/spawni.c: Likewise.
42153 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42154 * posix/spawnp.c: Likewise. Change normal version to use
42155 SPAWN_XFLAGS_USE_PATH.
42156 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42157 SPAWN_XFLAGS_TRY_SHELL.
42158
d48e5868
UD
42159 [BZ #13150]
42160 * posix/glob.h: Remove gcc 1.x support.
42161
554881ef
UD
42162 [BZ #13068]
42163 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42164
693fb948
LD
421652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42166
42167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42168 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42169 strrchr-sse2-bsf
42170 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42171 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42172 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42173 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42174 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42175 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42176
1b48c537
UD
421772011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42178
49d42c37
UD
42179 * sysdeps/x86_64/wcscmp.S: New file.
42180
1b48c537
UD
42181 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42182 wcscmp-c wcscmp-sse2
42183 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42184 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42185 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42186 * wcsmbs/wcscmp.c: Allow renaming.
42187
15c95c5d
DM
421882011-09-05 David S. Miller <davem@davemloft.net>
42189
42190 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42191 stack slot, rather than the struct return pointer slot.
42192 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42193 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42195 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42196
2f0ad8f3
UD
421972011-09-05 Ulrich Drepper <drepper@gmail.com>
42198
d88ae418
UD
42199 * po/ja.po: Update from translation team.
42200
2f0ad8f3
UD
42201 [BZ #13144]
42202 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42203 kernel in 64-bit binaries.
42204
5f4318d1
DM
422052011-09-01 David S. Miller <davem@davemloft.net>
42206
42207 * elf/elf.h (HWCAP_SPARC_*): Move to..
42208 * sysdeps/sparc/sysdep.h: this new file and add new values.
42209 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42210 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42211 _DL_HWCAP_COUNT to 24.
42212 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42213 entries.
42214 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42215 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42216 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42218 instead of magic constants.
42219 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42220
3ba57516
DM
422212011-08-31 David S. Miller <davem@davemloft.net>
42222
42223 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42224 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42225 Reimplement to do errno handling inline.
42226 (SYSCALL_ERROR_HANDLER): New macro.
42227 (__SYSCALL_STRING): Do not do errno handling in asm.
42228 (__CLONE_SYSCALL_STRING): Delete.
42229 (__INTERNAL_SYSCALL_STRING): Delete.
42230 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42231 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42232 (PSEUDO): Reimplement to do errno handling inline.
42233 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42234 (SYSCALL_ERROR_HANDLER): New macro.
42235 (__SYSCALL_STRING): Do not do errno handling in asm.
42236 (__CLONE_SYSCALL_STRING): Delete.
42237 (__INTERNAL_SYSCALL_STRING): Delete.
42238 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42239 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42240 i386.
42241 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42242 (inline_syscall*): Add 'err' argument.
42243 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42244 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42245 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42246 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42247
42248 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42249 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42250
2bc17433
AS
422512011-08-30 Andreas Schwab <schwab@redhat.com>
42252
42253 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42254
fbeb5f4d
JO
422552011-08-29 Jiri Olsa <jolsa@redhat.com>
42256
42257 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42258 directive.
42259
ad69cc26
DM
422602011-08-24 David S. Miller <davem@davemloft.net>
42261
42262 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42263
39dd69df
AS
422642011-08-24 Andreas Schwab <schwab@redhat.com>
42265
42266 * elf/Makefile: Add rules to build and run unload8 test.
42267 * elf/unload8.c: New file.
42268 * elf/unload8mod1.c: New file.
42269 * elf/unload8mod1x.c: New file.
42270 * elf/unload8mod2.c: New file.
42271 * elf/unload8mod3.c: New file.
42272
42273 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42274 it wasn't used.
42275
2c0b250a
DM
422762011-08-23 David S. Miller <davem@davemloft.net>
42277
42278 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42279 subtract stack bias.
42280 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42281 %sp not %fp in calculations.
42282 (_JMPBUF_UNWINDS_ADJ): Likewise.
42283
22044b48
DM
42284 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42285 (aio_suspend): Call it to force an exception region around the
42286 AIO_MISC_WAIT() invocation.
42287
2cae4995
AS
422882011-08-23 Andreas Schwab <schwab@redhat.com>
42289
42290 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42291 backslash.
42292
873a772e
AJ
422932011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42294
42295 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42296 protection macro.
42297 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42298 and <dl-machine.h>.
42299 (Elf64_FuncDesc): Remove.
42300
25ad0df1
DM
423012011-08-22 David S. Miller <davem@davemloft.net>
42302
42303 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42304 sigaltstack check, add missing cfi directives.
42305 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42306 missing cfi directives, and sigaltstack handling.
42307
e888bcbe
AS
423082011-08-16 Andreas Schwab <schwab@redhat.com>
42309
42310 [BZ #11724]
42311 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42312 object is seen twice.
42313 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42314
42315 * elf/Makefile (distribute): Add tst-initorder2.c.
42316 (tests): Add tst-initorder2.
42317 (modules-names): Add tst-initorder2a tst-initorder2b
42318 tst-initorder2c tst-initorder2d. Add rules to build them.
42319 ($(objpfx)tst-initorder2.out): New rule.
42320 * elf/tst-initorder2.c: New file.
42321 * elf/tst-initorder2.exp: New file.
42322
87162f46
AS
423232011-08-22 Andreas Schwab <schwab@redhat.com>
42324
70538b7f
AS
42325 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42326
f55ffe58
AS
42327 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42328 dependencies back to end of function.
42329
87162f46
AS
42330 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42331 $(elfobjdir)/ld.so.
42332
91b392a4
UD
423332011-08-21 Ulrich Drepper <drepper@gmail.com>
42334
42335 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42336 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42337 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42338 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42339 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42340 of __vdso_gettimeofday.
42341 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42342 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42343 attribute_hidden.
42344 (_libc_vdso_platform_setup): Remove initialization of
42345 __vdso_gettimeofday and __vdso_time.
42346
5c43483f
UD
423472011-08-20 Ulrich Drepper <drepper@gmail.com>
42348
775a77e7
UD
42349 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42350 and fgetc_unlocked.
42351 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42352 getc_unlocked.
89f447ed 42353
49c74ba9
UD
42354 * elf/dl-open.c (add_to_global): Report additions to the global scope
42355 for LD_DEBUG=scopes.
42356 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42357 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42358
5c43483f
UD
42359 [BZ #13114]
42360 * stdio-common/Makefile (tests): Add bug24.
42361 * stdio-common/bug24.c: New file.
42362
a101b025
AJ
423632011-08-19 Andreas Jaeger <aj@suse.de>
42364
42365 [BZ #13114]
42366 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42367 non-existant file when using close-on-exec mode.
42368
c88f1766
UD
423692011-08-20 Ulrich Drepper <drepper@gmail.com>
42370
0276a718
UD
42371 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42372 the very first instruction.
42373
c88f1766
UD
42374 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42375 the CFI state in the end.
42376 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42377 inclusion of dl-trampoline.h.
42378 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42379
51ccffa0
AS
423802011-08-19 Andreas Schwab <schwab@redhat.com>
42381
94d7165f
AS
42382 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42383 expectations for long double.
42384
51ccffa0
AS
42385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42386 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42387
fd708658 423882011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42389
42390 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42391 artificual limit depends upon the system page size.
42392
44f0a71e
UD
423932011-08-17 Ulrich Drepper <drepper@gmail.com>
42394
42395 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42396 * resolv/Makefile: Define CFLAGS-libresolv.
42397
8de79a24
AS
423982011-08-17 Andreas Schwab <schwab@redhat.com>
42399
42400 * nss/makedb.c (compute_tables): Make variables used in nested
42401 function static.
42402
27724598
UD
424032011-08-17 Ulrich Drepper <drepper@gmail.com>
42404
c5305d88
UD
42405 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42406 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42407 if buffer was too small.
42408
27724598
UD
42409 * elf/pldd.c (main): Attach to all threads in the process.
42410 Rewrite /proc handling to use *at functions.
42411
076fe015
UD
424122011-08-16 Ulrich Drepper <drepper@gmail.com>
42413
174baab3
UD
42414 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42415 specifies first scope to show.
42416 (dl_open_worker): Update callers. Move printing scope of new
42417 object to before the relocation.
44f0a71e 42418 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42419 * sysdeps/generic/ldsodefs.h: Update declaration.
42420
076fe015
UD
42421 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42422 string for the scope number.
42423
a60df2c3
UD
424242011-08-14 Ulrich Drepper <drepper@gmail.com>
42425
42426 * nscd/servicescache.c (cache_addserv): Make sure written is always
42427 initialized.
42428
5e4287d1
RM
424292011-08-14 Roland McGrath <roland@hack.frob.com>
42430
85ae0589
RM
42431 * sysdeps/i386/i486/bits/atomic.h
42432 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42433 statement expression, so as to suppress "set but not used" warning.
42434 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42435
69f63097
RM
42436 * string/strncat.c (STRNCAT): Use prototype definition.
42437
675456ef
RM
42438 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42439 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42440 -Iprograms here.
42441 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42442 (localedef-modules): Add localedef.
42443 (locale-modules): Add locale.
42444
5e4287d1
RM
42445 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42446 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42447 to avoid a warning.
42448
9c96ff23
DM
424492011-08-14 David S. Miller <davem@davemloft.net>
42450
42451 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42452 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42453
f9ddf089
UD
424542011-08-13 Ulrich Drepper <drepper@gmail.com>
42455
44f0a71e 42456 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42457 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42458 * elf/rtld.c (dl_main): Set l_name of vDSO.
42459 Call _dl_show_scope when DL_DEBUG_SCOPES.
42460 (process_dl_debug): Recognize scopes flag and also set it for all.
42461 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42462 Declare _dl_show_scope.
42463
1dc27704
UD
42464 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42465 (do_dlopen): Pass caller_dlopen to dl_open.
42466 (__libc_dlopen_mode): Initialize caller_dlopen.
42467
f9ddf089
UD
42468 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42469 of libc. Make tolower call locale-independent. Optimize a bit by
42470 using isdigit instead of isalnum.
42471 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42472
9ac533d3
UD
424732011-08-12 Ulrich Drepper <drepper@gmail.com>
42474
42475 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42476 was a dependency or dynamically loaded.
42477
89edf2e9
UD
424782011-08-11 Ulrich Drepper <drepper@gmail.com>
42479
8e999d29
UD
42480 * intl/l10nflist.c: Allow architecture-specific pop function.
42481 * sysdeps/x86_64/l10nflist.c: New file.
42482
89edf2e9
UD
42483 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42484 classification.
42485
14d96785
AS
424862011-08-10 Andreas Schwab <schwab@redhat.com>
42487
42488 * include/dirent.h: Add libc_hidden_proto for scandirat and
42489 scandirat64. Don't declare __scandirat64.
42490 * dirent/scandirat.c: Add libc_hidden_def.
42491 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42492 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42493
6761ac04
DM
424942011-08-10 David S. Miller <davem@davemloft.net>
42495
42496 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42497 enum.
42498 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42499 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42500 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42501
c55fbd1e
UD
425022011-08-09 Ulrich Drepper <drepper@gmail.com>
42503
42504 * Versions.def [libc]: Add GLIBC_2.15.
42505 * dirent/Makefile (routines): Add scandirat and scandirat64.
42506 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42507 GLIBC_2.15.
42508 * dirent/dirent.h: Declare scandirat and scandirat64.
42509 * dirent/scandirat.c: New file.
42510 * dirent/scandirat64.c: New file.
42511 * sysdeps/wordsize-64/scandirat.c: New file.
42512 * sysdeps/wordsize-64/scandirat64.c: New file.
42513 * dirent/opendir.c: Define opendirat.
42514 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42515 using scandirat.
42516 * dirent/scandir64.c: Adjust for scandir.c change.
42517 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42518 __scandirat64, and __scandir_cancel_handler.
42519 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42520 additional parameter and use openat instead of open (outside of ld.so).
42521 Add new __opendir as wrapper around __opendirat.
42522 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42523 here without requiring old scandirat implementation.
42524
879165f2
UD
425252011-08-08 Ulrich Drepper <drepper@gmail.com>
42526
42527 * dirent/scandir.c (cancel_handler): Renamed to
42528 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42529 defined. Adjust users.
42530 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42531 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42532
cb7e923b
UD
425332011-08-04 Ulrich Drepper <drepper@gmail.com>
42534
16292edd
UD
42535 * string/test-string.h (IMPL): Use __STRING to expand name and then
42536 stringify it.
42537
cb7e923b
UD
42538 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42539 of cleanups.
42540
cff82933
LD
425412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42542
42543 * string/Makefile: Update.
42544 (strop-tests): Append strncat.
42545 * string/test-wcscmp.c: New file.
42546 New comprehensive test for wcscmp.
42547 * string/test-strcmp.c: Update.
42548 (WIDE): New define.
42549
9be9bfcc
AS
425502011-07-22 Andreas Schwab <schwab@redhat.com>
42551
42552 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42553 line.
42554
2e96f1c7
AS
425552011-07-26 Andreas Schwab <schwab@redhat.com>
42556
42557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42558 encoding to ACE if AI_IDN.
42559
85188888
JJ
425602011-08-01 Jakub Jelinek <jakub@redhat.com>
42561
42562 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42563 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42564
5fa16e9b
LD
425652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42566
42567 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42568 Fix overflow bug in strncat.
42569 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42570
42571 * string/test-strncat.c: Update.
42572 Add new tests for checking overflow bugs.
42573
425742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42575
42576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42577 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42578 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42579 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42580 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42581 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42582 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42583 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42584 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42585
42586 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42587 (USE_AS_STRCAT): Define.
42588 Add strcat and strncat support.
42589 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42590
8c1a459f
AS
425912011-07-25 Andreas Schwab <schwab@redhat.com>
42592
42593 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42594 __n bigger than INT_MAX+1.
42595 (__strncmp_g): Likewise.
42596
bba33c28
UD
425972011-07-23 Ulrich Drepper <drepper@gmail.com>
42598
798be72d
UD
42599 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42600 * libio/stido.h: Likewise.
42601
8accd4dc
UD
42602 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42603 (AF_NFC): Define.
42604 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42605 (AF_NFC): Define.
42606
cbff0d96
UD
42607 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42608 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42609 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42610 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42611 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42612
9191c04a
UD
42613 [BZ #13021]
42614 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42615 installed.
42616
bba33c28
UD
42617 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42618 typo.
42619 (_dl_x86_64_save_sse): Likewise.
42620
90f139dd
UD
426212011-07-22 Ulrich Drepper <drepper@gmail.com>
42622
1aae088a
UD
42623 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42624 OSXSAVE.
42625 (_dl_x86_64_save_sse): Likewise.
42626
8e2045f5
UD
42627 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42628
90f139dd
UD
42629 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42630
1d002f25
AS
426312011-07-21 Andreas Schwab <schwab@redhat.com>
42632
42633 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42634 change.
42635 (_dl_x86_64_save_sse): Use correct AVX check.
42636
21137f89
UD
426372011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42638
42639 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42640 bug in strncpy/strncat.
42641 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42642
a65c0b7a
UD
426432011-07-21 Ulrich Drepper <drepper@gmail.com>
42644
42645 * string/tester.c (test_strcat): Add tests for different alignments
42646 of source and destination.
42647 (test_strncat): Likewise.
42648
6986b98a
UD
426492011-07-20 Ulrich Drepper <drepper@gmail.com>
42650
90bb2039
UD
42651 [BZ #12852]
42652 * posix/glob.c (glob): Check passed in values before using them in
42653 expressions to avoid some overflows.
42654 (glob_in_dir): Likewise.
42655
5644ef54
UD
42656 [BZ #13007]
42657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42658 check for AVX enablement so that we don't crash with old kernels and
42659 new hardware.
42660 * elf/tst-audit4.c: Add same checks here.
42661 * elf/tst-audit6.c: Likewise.
42662
42663 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42664
bfc9dc9b
AS
426652011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42666
42667 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42668
702e64bb
UD
426692011-07-20 Ulrich Drepper <drepper@gmail.com>
42670
42671 * po/cs.po: Update from translation team.
42672 * po/bg.po: Likewise.
42673
295e904f
MP
426742011-07-12 Marek Polacek <mpolacek@redhat.com>
42675
42676 * misc/sys/cdefs.h: Add support for const attribute.
42677 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42678 to gnu_dev_{major,minor,makedev} functions.
42679
3ff94596
MP
426802011-07-20 Marek Polacek <mpolacek@redhat.com>
42681
42682 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42683
28b59fca
AS
426842011-07-20 Andreas Schwab <schwab@redhat.com>
42685
42686 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42687 strlen results.
42688
19df733e
AK
426892011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42690
42691 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42692 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42693 register in order to avoid conflicts with the soft frame pointer
42694 being held in r11 when necessary.
42695 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42696 (INTERNAL_VSYSCALL_NCS): Likewise.
42697
c8835729
MP
426982011-07-14 Marek Polacek <mpolacek@redhat.com>
42699
42700 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42701 * elf/dl-fini.c (_dl_fini): Adjust caller.
42702 * elf/dl-close.c (_dl_close_worker): Likewise.
42703 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42704
b902330c
MP
427052011-07-15 Marek Polacek <mpolacek@redhat.com>
42706
8991e135
MP
42707 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42708 "aux_cache->nlibs < 0".
42709
b902330c
MP
42710 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42711 in the reload-count case.
42712
99710781
LD
427132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42714
42715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42716 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42717 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42718 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42719 * sysdeps/x86_64/multiarch/strcat.S: New file.
42720 * sysdeps/x86_64/multiarch/strncat.S: New file.
42721 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42722 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42723 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42724 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42725 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42726 (USE_AS_STRCAT): Define.
42727 Add strcat and strncat support.
42728 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42729 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42730 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42731 * string/strncat.c: Update.
42732 (USE_AS_STRNCAT): Define.
42733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42734 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42735 and i7.
42736 * sysdeps/x86_64/multiarch/init-arch.h
42737 (bit_Prefer_PMINUB_for_stringop): New.
42738 (index_Prefer_PMINUB_for_stringop): Likewise.
42739 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42740 bit_Prefer_PMINUB_for_stringop.
42741
7dc6bd90
UD
427422011-07-19 Ulrich Drepper <drepper@gmail.com>
42743
42744 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42745 buffer64.
42746 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42747 of casting of buffer.
42748 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42749 buffer32 and buffer64.
42750 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42751 writes instead of casting of buffer.
42752 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42753 buffer32.
42754 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42755 casting of buffer.
42756
e0e72284
AS
427572011-07-19 Andreas Schwab <schwab@redhat.com>
42758
42759 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42760
feb1eb0b
UD
427612011-07-19 Ulrich Drepper <drepper@gmail.com>
42762
42763 * nscd/nscd.c (termination_handler): Don't do anything for a database
42764 if it has not yet been initialized.
42765
298711ff
UD
427662011-07-18 Ulrich Drepper <drepper@gmail.com>
42767
42768 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42769
427702011-07-15 Marek Polacek <mpolacek@redhat.com>
42771
42772 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42773
f9d68389
UD
427742011-07-18 Ulrich Drepper <drepper@gmail.com>
42775
42776 * po/nl.po: Update from translation team.
42777 * po/sv.po: Likewise.
42778
db290cf5
RM
427792011-07-16 Roland McGrath <roland@hack.frob.com>
42780
42781 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42782 now disallowed by GCC.
5c550700 42783
fd5e21c7
RM
42784 * configure.in (use-default-link): Default to yes if a test -shared
42785 link meets our qualifications.
42786 * configure: Regenerated.
42787
5c550700
RM
42788 * config.make.in (output-format): New variable.
42789 * configure.in: Check for ld --print-output-format support.
42790 * configure: Regenerated.
42791 * Makerules ($(common-objpfx)format.lds)
42792 [$(output-format) != unknown]: Just use $(output-format),
42793 instead of the linker-script munging.
42794
9fa2c032
RM
427952011-07-14 Roland McGrath <roland@hack.frob.com>
42796
a6928d51
RM
42797 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42798 of $(common-objpfx)shlib.lds.
42799 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42800
661607b3
RM
42801 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42802 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42803
9fa2c032
RM
42804 * configure.in (-z relro check): Adjust test code to add a large
42805 writable data section after it.
42806 * configure: Regenerated.
42807
defe9061
RM
428082011-07-11 Roland McGrath <roland@hack.frob.com>
42809
42810 * configure.in (-z relro check): Fix test code to make the variable
42811 truly const.
42812 * configure: Regenerated.
42813
319b9ad4
UD
428142011-07-11 Ulrich Drepper <drepper@gmail.com>
42815
42816 * nscd/nscd.h (struct traced_file): Define.
42817 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42818 elements. Add traced_files.
42819 (inotify_fd): Declare.
42820 (register_traced_file): Declare.
42821 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42822 (inotify_fd): Export.
42823 (resolv_conf_descr): Remove.
42824 (nscd_init): Move inotify descriptor creation to main.
42825 Don't register files for notification here.
42826 (register_traced_file): New function.
42827 (invalidate_cache): Don't use reset_res to determine whether to call
42828 res_init, go through the list of registered files.
42829 (main_loop_poll): The inotify descriptors are now stored in the
42830 structures for the traced files.
42831 (main_loop_epoll): Likewise
42832 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42833 to __nss_disable_nscd.
42834 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42835 for a database anymore. Check the records for all the registered
42836 files instead.
42837 * nss/Makefile (libnss_files-routines): Add files-init.
42838 (libnss_db-routines): Add db-init.
42839 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42840 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42841 * nss/nss_db/db-init.c: New file.
42842 * nss/nss_files/files-init.c: New file.
42843 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42844 __nss_lookup_function.
42845 (__nss_lookup_function): Call nss_load_library.
42846 (nss_load_all_libraries): New function.
42847 (__nss_disable_nscd): Take parameter with callback function for files
42848 to register. Set is_nscd. Load all the DSOs for the NSS modules
42849 used for the cached services.
42850 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42851 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42852 options for features to all the files in nscd.
42853
42854 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42855
23bee3e8
RM
428562011-07-10 Roland McGrath <roland@hack.frob.com>
42857
42858 * csu/elf-init.c (__libc_csu_init): Comment typo.
42859
46a5b7f0
UD
428602011-07-09 Ulrich Drepper <drepper@gmail.com>
42861
42862 * po/pl.po: Update from translation team.
42863 * po/ja.po: Likewise.
42864 * po/ru.po: Likewise.
42865 * po/ko.po: Likewise.
42866 * po/fr.po: Likewise.
42867
d30cf5bb
RM
428682011-07-09 Roland McGrath <roland@hack.frob.com>
42869
113ddea4
RM
42870 * configure.in (.ctors/.dtors header and trailer check):
42871 Use an empirical test on a built program.
42872 * configure: Regenerated.
42873
574920b4
RM
42874 * configure.in (-z relro check): Use an empirical test on a built DSO.
42875 Detect, but do not require, on ia64.
42876 * configure: Regenerated.
42877
d30cf5bb
RM
42878 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42879 Update tests that use readelf to use $READELF instead.
42880 * configure: Regenerated.
42881
8538fdb3
UD
428822011-07-08 Ulrich Drepper <drepper@gmail.com>
42883
42884 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42885 if the result is not used.
42886
04d08991
AJ
428872011-07-05 Andreas Jaeger <aj@suse.de>
42888
42889 [BZ#9696]
42890 * stdlib/tst-strtod.c: Add testcase.
42891
de283087
AD
428922011-07-07 Ulrich Drepper <drepper@gmail.com>
42893
4e5f31c8 42894 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42895 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42896 The latter has a higher limit. Take additional parameter to pass to
42897 the new function.
42898 (__pathconf): Pass file to __statfs_link_max.
42899 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42900 __statfs_link_max.
42901 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42902 __statfs_link_max.
42903
de283087
AD
42904 [BZ #12868]
42905 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42906 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42907 Handle Lustre.
42908 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42909 (__statfs_filesize_max): Likewise.
42910 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42911
c75fa153
AJ
429122011-07-05 Andreas Jaeger <aj@suse.de>
42913
42914 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42915
1a544854
UD
429162011-07-06 Marek Polacek <mpolacek@redhat.com>
42917
42918 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42919 `status' variable.
42920 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42921 Likewise.
42922
6f0eec67
UD
429232011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42924
42925 * Makefile (strop-tests): Add strncat.
42926 * string/test-strncat.c: New file.
42927
aae30307
UD
429282011-06-30 Marek Polacek <mpolacek@redhat.com>
42929
42930 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42931
c0cfb5eb
UD
429322011-06-21 Andreas Jaeger <aj@suse.de>
42933
42934 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42935 Copy rule from iconvdata/Makefile.
42936
01636b21
UD
429372011-07-06 Ulrich Drepper <drepper@gmail.com>
42938
42939 [BZ #12922]
42940 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42941 but no long options are defined, just return 'W'.
42942
9895c8bc
UD
429432011-06-22 Marek Polacek <mpolacek@redhat.com>
42944
42945 [BZ #9696]
42946 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42947
5d4cf042
UD
429482011-07-06 Ulrich Drepper <drepper@gmail.com>
42949
42950 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42951 netgroups to read.
960e5535 42952 (innetgr): Likewise.
5d4cf042 42953
751eb97e
RM
429542011-07-05 Roland McGrath <roland@hack.frob.com>
42955
42956 * config.make.in (install_root): Default to $(DESTDIR).
42957
f15f1e45
UD
429582011-07-05 Ulrich Drepper <drepper@gmail.com>
42959
42960 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42961
4e34ac6a
RM
429622011-07-02 Roland McGrath <roland@hack.frob.com>
42963
5e9b6af4
RM
42964 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42965
84f9ea0f
RM
42966 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42967 containing directory rather than embedding absolute directory names.
42968
ea5ee9f7
RM
42969 * scripts/check-local-headers.sh: Rewritten using awk.
42970 Match by word, not by line. Print error messages for matches.
42971 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42972
1b74661a
RM
42973 * Makerules [shlib-lds-flags empty]:
42974 ($(common-objpfx)libc_pic.opts): New target.
42975 ($(common-objpfx)libc_pic.os.clean): New target.
42976 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42977
42978 * config.make.in (OBJCOPY): New variable.
42979 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42980 * configure: Regenerated.
42981
f781ef40
RM
42982 * config.make.in (use-default-link): New variable.
42983 * configure.in (use_default_link): Grok --with-default-link to set it.
42984 * configure: Regenerated.
42985 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42986 (shlib-lds, shlib-lds-flags): Define to empty.
42987
2d4fa81e
RM
42988 * Makerules (shlib-lds): New variable.
42989 (shlib-lds-flags): New variable.
42990 (build-shlib, build-moduile, build-module-asneeded): Use it.
42991 ($(common-objpfx)libc.so): Use $(shlib-lds).
42992 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42993 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42994
31fffa6b
RM
42995 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42996 DT_FLAGS/DT_FLAGS_1 with zero flags.
42997
4e34ac6a
RM
42998 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42999 linker script munging.
43000
fcfc776b
UD
430012011-07-02 Ulrich Drepper <drepper@gmail.com>
43002
43003 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43004 as 128-bit value.
43005 * crypt/sha512.c (sha512_process_block): Perform total addition using
43006 128-bit if possible.
43007 (__sha512_finish_ctx): Likewise.
43008 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43009 as 64-bit value.
43010 * crypt/sha256.c (SWAP64): Define.
43011 (sha256_process_block): Perform total addition using 64-bit if
43012 possible.
43013 (__sha256_finish_ctx): Likewise.
43014
99231d9a
UD
430152011-07-01 Ulrich Drepper <drepper@gmail.com>
43016
43017 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43019 * nscd/hstcache.c (cache_addhst): Likewise.
43020 * nscd/grpcache.c (cache_addgr): Likewise.
43021 * nscd/aicache.c (addhstaiX): Likewise
43022 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43023
445b4a53
TK
430242011-07-01 Thorsten Kukuk <kukuk@suse.de>
43025
43026 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43028 * nscd/hstcache.c (cache_addhst): Likewise.
43029 * nscd/grpcache.c (cache_addgr): Likewise.
43030 * nscd/aicache.c (addhstaiX): Likewise
43031
6d4d8e8e
AS
430322011-07-01 Andreas Schwab <schwab@redhat.com>
43033
43034 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43035 domain only when needed.
43036
89f654c5
AS
430372011-06-30 Andreas Schwab <schwab@redhat.com>
43038
43039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43040 is always restored.
43041
cf3b23ff
UD
430422011-06-29 Ulrich Drepper <drepper@gmail.com>
43043
43044 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43045 are re-adding the entry.
43046 * nscd/servicescache.c (cache_addserv): Likewise.
43047
751626f9
AJ
430482011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43049
43050 * sysdeps/generic/dl-irel.h: fix protection against multiple
43051 inclusions.
43052 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43053
9113ea1f
UD
430542011-06-28 Ulrich Drepper <drepper@gmail.com>
43055
5c0b8d90
UD
43056 [BZ #12935]
43057 * malloc/memusage.sh: Fix quoting in message.
43058 * debug/xtrace.sh: Likewise.
43059
9113ea1f
UD
43060 * configure.in: Remove support for --experimental-malloc option, make
43061 it the default.
43062 * config.make.in: Likewise.
43063 * malloc/Makefile: Likewise.
43064
a4172181
AS
430652011-06-27 Andreas Schwab <schwab@redhat.com>
43066
43067 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43068 two-byte characters.
43069
78a7eee7
RM
430702011-06-27 Roland McGrath <roland@hack.frob.com>
43071
62bede13
RM
43072 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43073 AC_CACHE_CHECK invocation.
43074 * configure: Regenerated.
43075
78a7eee7
RM
43076 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43077
5ce33a62
UD
430782011-06-27 Ulrich Drepper <drepper@gmail.com>
43079
034807a9
UD
43080 [BZ #12350]
43081 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43082 bit from old_res_options.
43083
4902da17
UD
43084 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43085
5ce33a62
UD
43086 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43087 value type for setfct.
43088
c2344f56
L
430892011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43090
43091 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43092 __gettimeofday instead of gettimeofday.
43093
68468076
UD
430942011-06-26 Ulrich Drepper <drepper@gmail.com>
43095
43096 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43097
acb0d739
L
430982011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43099
43100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43101
43102 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43103 info.
43104
8912479f
L
431052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43106
43107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43108 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43109 strcpy-sse2-unaligned strncpy-sse2-unaligned
43110 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43111 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43112 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43113 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43114 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43115 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43116 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43117 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43118 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43119 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43120 (STRCPY): Support SSE2 and SSSE3 versions.
43121
d5495a11
UD
431222011-06-24 Ulrich Drepper <drepper@gmail.com>
43123
43124 [BZ #12874]
43125 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43126 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43127 kernels which artificially limit size of requests.
43128
0b1cbaae
L
431292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43130
43131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43132 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43133 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43134 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43135 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43136 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43137 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43138 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43139 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43140 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43141 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43142 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43143 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43144 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43145 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43147 Enable unaligned load optimization for Intel Core i3, i5 and i7
43148 processors.
43149 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43150 Define.
43151 (index_Fast_Unaligned_Load): Define.
43152 (HAS_FAST_UNALIGNED_LOAD): Define.
43153
07f494a0
MP
431542011-06-23 Marek Polacek <mpolacek@redhat.com>
43155
43156 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43157
fa3fc0fe
UD
431582011-06-22 Ulrich Drepper <drepper@gmail.com>
43159
43160 [BZ #12907]
43161 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43162 until it is clear that the information is realy needed.
43163 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43164
e12df166
AS
431652011-06-22 Andreas Schwab <schwab@redhat.com>
43166
43167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43168
852eb34d
UD
431692011-06-22 Ulrich Drepper <drepper@gmail.com>
43170
84e2a551
UD
43171 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43172 /sys/devices/system/cpu/online if it is usable.
43173
852eb34d
UD
43174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43175 reading the information from the /proc filesystem to once a second.
43176
6e502e19
UD
431772011-06-21 Andreas Jaeger <aj@suse.de>
43178
43179 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43180 NULL after inclusion of kernel headers.
43181
75d39ff2
UD
431822011-06-21 Ulrich Drepper <drepper@gmail.com>
43183
51f9aa6a
UD
43184 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43185 calls to internal_setent.
43186
c0244a9d
UD
43187 [BZ #12885]
43188 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43189 addresses using gethostbyname4_r ignore IPv4 addresses.
43190
c5e3c2ae
UD
43191 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43192 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43193
75d39ff2
UD
43194 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43195
42675c6f
DM
431962011-06-20 David S. Miller <davem@davemloft.net>
43197
43198 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43199 inclusions.
43200 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43201
43202 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43203 (elf_irel): Use it.
43204 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43205 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43206 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43207 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43208 * sysdeps/x86_64/dl-irel.h: Likewise.
43209
43210 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43211 * elf/dl-sym.c: Likewise.
43212
57912a71
UD
432132011-06-15 Ulrich Drepper <drepper@gmail.com>
43214
43215 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43216 need to dereference resplen2.
43217
ee22793d
AS
432182011-06-14 Andreas Schwab <schwab@redhat.com>
43219
43220 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43221
a9e836b0
UD
432222011-06-15 Ulrich Drepper <drepper@gmail.com>
43223
77fb9117
UD
43224 * Makeconfig: Define vardbdir and inst_vardbdir.
43225 * nss/Makefile: Add rules to install db-Makefile.
43226
40c1b22c
UD
43227 * nss/nss_db/db-XXX.c: Cleanup.
43228
9f2da732
UD
43229 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43230 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43231 GLIBC_PRIVATE.
43232 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43233 * nss/makedb.c: Implement -g option to specify that value strings
43234 are generated and should not be added to table iterated over for
43235 get*ent calls.
43236 * nss/nss_db/db-initgroups.c: New file.
43237
82e9a1f7
UD
43238 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43239 interface.
43240
c41af17e
UD
43241 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43242 (internal_getgrouplist): Adjust to name change.
43243 Update use_initgroups_entry if this is not the first call.
43244 * nss/databases.def: Add initgroups entry.
43245
a9e836b0
UD
43246 * nss/makedb.c (compute_tables): Check result of multiple hash table
43247 sizes to minimize maximum chain length.
43248
2666d441
UD
432492011-06-14 Ulrich Drepper <drepper@gmail.com>
43250
43251 * Versions.def: Add entry for libnss_db.
43252 * shlib-versions: Likewise.
43253 * nss/Makefile: Add rules to build libnss_db.
43254 * nss/Versions: Add libnss_db information. Organize libnss_files
43255 entries better.
43256 * nss/db-Makefile: Add gshadow support. Change rules for the new
43257 makedb progra. Some minor improvements to generate smaller files.
43258 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43259 here from...
43260 * nss/makedb.c: ...here.
43261 Improve database format to be smaller and require less memory at
43262 runtime.
43263 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43264 db anymore.
43265 * nss/nss_db/db-netgrp.c: Likewise.
43266 * nss/nss_db/db-open.c: Likewise.
43267 * nss/nss_files/flies-XXX.x: Adjust comments.
43268 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43269 * nss/nss_files/files-grp.c: Likewise.
43270 * nss/nss_files/files-hosts.c: Likewise.
43271 * nss/nss_files/files-network.c: Likewise.
43272 * nss/nss_files/files-proto.c: Likewise.
43273 * nss/nss_files/files-pwd.c: Likewise.
43274 * nss/nss_files/files-rpc.c: Likewise.
43275 * nss/nss_files/files-service.c: Likewise.
43276 * nss/nss_files/files-sgrp.c: Likewise.
43277 * nss/nss_files/files-spwd.c: Likewise.
43278 * nss/nss_db/db-alias.c: Removed.
43279 * nss/nss_db/dummy-db.h: Removed.
43280
9ee76b5a
UD
432812011-06-02 Ulrich Drepper <drepper@gmail.com>
43282
43283 * nss/makedb.c: Rewritten to not use database library.
43284 * nss/Makefile: Update to build new makedb program.
43285
c71ca1f8
AJ
432862011-06-14 Andreas Jaeger <aj@suse.de>
43287
43288 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43289 memset declaration.
43290
3154bfb8
UD
432912011-06-10 Andreas Schwab <schwab@redhat.com>
43292
43293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43294 tmpbuf.
43295
b350afab
RM
432962011-06-10 Roland McGrath <roland@hack.frob.com>
43297
decd4e50
RM
43298 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43299 * elf/Makefile ($(objpfx)ld.so): Likewise.
43300
5615eaf2
RM
43301 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43302 Don't list ld.so twice in dependencies.
43303
43304 * posix/bug-regex31.c: Include <stdlib.h>.
43305
43306 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43307
43308 * nis/nss_compat/compat-spwd.c
43309 (getspent_next_nss_netgr): Remove unused variable.
43310 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43311
43312 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43313 nonmembers" output to use the right array.
43314
43315 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43316
43317 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43318
43319 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43320 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43321 * catgets/gencat.c (read_input_file): Likewise.
43322 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43323
43324 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43325 variable definition inside #if's controlling its use.
43326
43327 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43328
43329 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43330
43331 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43332
43333 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43334 unreachable code.
43335
43336 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43337
b68e08db
RM
43338 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43339 * configure: Regenerated.
43340
b350afab
RM
43341 * Makerules: Revert last change.
43342 * elf/Makefile: Likewise.
43343
28368601
RM
433442011-06-09 Roland McGrath <roland@hack.frob.com>
43345
43346 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43347 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43348 (reloc-link): Likewise.
43349
11988f8f
UD
433502011-06-09 Ulrich Drepper <drepper@gmail.com>
43351
43352 * elf/Makefile: Add rules to build pldd.
43353 * elf/pldd.c: New file.
43354 * elf/pldd-xx.c: New file.
43355
e80fab37
UD
433562011-06-07 Ulrich Drepper <drepper@gmail.com>
43357
43358 * version.h: Update for 2.15 development version.
43359
9b849836
DM
433602011-06-07 David S. Miller <davem@davemloft.net>
43361
43362 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43363 ifuncs.
43364 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43365 elf_machine_lazy_rel): Likewise.
43366 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43367 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43368 elf_machine_lazy_rel): Likewise.
43369 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43370 dl_hwcap via passed in argument.
43371 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43372 Likewise.
43373
5a31b283
AK
433742011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43375
43376 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43377
069e52f8
RM
433782011-06-06 Roland McGrath <roland@hack.frob.com>
43379
43380 [BZ #12849]
43381 * manual/fdl-1.1.texi: New file, verbatim from:
43382 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43383 * manual/lgpl-2.1.texi: New file, verbatim from:
43384 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43385 * manual/Makefile (licenses): New variable, list those new file names.
43386 (texis): Use it.
43387 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43388
43389 * manual/fdl.texi: File removed.
43390 * manual/lesser.texi: File removed.
43391 * manual/libc.texinfo (Copying, Documentation License):
43392 Use new @include file names, put @appendix directive before @include.
43393
f16846a5
JJ
433942011-06-04 Jakub Jelinek <jakub@redhat.com>
43395
43396 [BZ #12841]
43397 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43398 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43399 (mq_open): Add __NTH.
43400
3d29045b
L
434012011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43402
43403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43404 Assume Intel Core i3/i5/i7 processor if AVX is available.
43405
8c297311
UD
434062011-05-31 Ulrich Drepper <drepper@gmail.com>
43407
43408 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43409 typo.
43410
c8fc0c91
UD
434112011-05-31 Andreas Schwab <schwab@redhat.com>
43412
43413 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43414 memory. Use alloca_account. Fix memory leak when retrying.
43415
5b27a807
UD
434162011-05-31 Ulrich Drepper <drepper@gmail.com>
43417
356f8bc6
UD
43418 * version.h (RELEASE): Bump for 2.14 release.
43419 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43420
5b27a807
UD
43421 * config.make.in (RANLIB): Remove entry.
43422
01f16ab0
UD
434232011-05-30 Ulrich Drepper <drepper@gmail.com>
43424
41fce8bd
UD
43425 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43426 (libc.pot): Work around missing support for .ksh extension in xgettext.
43427
4769ae77
UD
43428 [BZ #12684]
43429 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43430 if both request failed.
43431 (send_dg): In case of server errors clear resplen or *resplen2.
43432
6b1e7d19
UD
43433 [BZ #12454]
43434 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43435 when there are multiple maps.
43436 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43437 (_dl_fini): Remove test here.
43438
01f16ab0
UD
43439 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43440
b1ebd700
UD
434412011-05-29 Ulrich Drepper <drepper@gmail.com>
43442
7ae22829
UD
43443 [BZ #12350]
43444 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43445 bit from old_res_options.
43446 (gaih_inet): Likewise.
43447
553149f6 43448 [BZ #11099]
18a84741 43449 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43450 as signed.
43451
652ffab1
UD
43452 * resolv/res_init.c (res_setoptions): Make the code more compact.
43453
16985fd0
UD
43454 [BZ #11558]
43455 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43456 set RES_USEVC.
43457
0464f746
UD
43458 [BZ #11634]
43459 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43460
7d17596c
UD
43461 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43462
cf6bbbd7
UD
43463 [BZ #11781]
43464 * malloc/malloc.h: Declare malloc hook variables as volatile.
43465
13f1ab36
UD
43466 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43467 in last patch.
43468
b1ebd700
UD
43469 [BZ #11799]
43470 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 43471 raise in the comment.
80e2212d
UD
43472 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43473 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43474 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 43475
ce67228d
UD
434762011-05-28 Ulrich Drepper <drepper@gmail.com>
43477
8887a920
UD
43478 [BZ #12811]
43479 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43480 grow the buffers more if it already has to be sufficient.
43481 (build_wcs_upper_buffer): Likewise.
43482 * posix/regexec.c (check_matching): Likewise.
43483 (clean_state_log_if_needed): Likewise.
43484 (extend_buffers): Don't enlarge buffers beyond size of the input
43485 buffer.
43486 Patches mostly by Emil Wojak <emil@wojak.eu>.
43487 * posix/bug-regex32.c: New file.
43488 * posix/Makefile (tests): Add bug-regex32.
43489
4f031072
UD
43490 * locale/findlocale.c (_nl_find_locale): Return right away if
43491 _nl_explode_name failed.
43492 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43493
d0478f0c
UD
43494 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43495
de81b246
UD
43496 * debug/xtrace.sh: Unify messages.
43497 * malloc/memusage.sh: Likewise.
43498
c738465a
UD
43499 [BZ #12813]
43500 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43501 time symbol from vDSO. Substitute with vsyscall if not available.
43502 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43503 __vdso_time.
43504
f1f929d7
UD
43505 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43506 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43507 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43508 Add sendmmsg and internal_sendmmsg.
43509 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43510 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43511 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43512
ce67228d
UD
43513 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43514 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43515 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43516
e57420c6
UD
435172011-05-27 Ulrich Drepper <drepper@gmail.com>
43518
a8509ca5
UD
43519 [BZ #12813]
43520 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43521 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43522 available.
43523 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43524 __vdso_getcpu.
43525
e57420c6
UD
43526 [BZ #12814]
43527 * iconvdata/Makefile (tests): Add bug-iconv9.
43528 * iconvdata/bug-iconv9.c: New file.
43529
4d07db15
AS
435302011-05-27 Andreas Schwab <schwab@redhat.com>
43531
43532 [BZ #12814]
43533 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43534
ea486f69
JJ
435352011-05-25 Jakub Jelinek <jakub@redhat.com>
43536
43537 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43538 (struct user_regs_struct): Change intcs field back to cs.
43539
6f038433
UD
435402011-05-25 Ulrich Drepper <drepper@gmail.com>
43541
43542 * po/ja.po: Update from translation team.
43543
67f86a25
UD
435442011-05-23 Ulrich Drepper <drepper@gmail.com>
43545
43546 [BZ #12795]
43547 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43548 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43549
def7fbd6
AS
435502011-05-20 Andreas Schwab <schwab@redhat.com>
43551
43552 * stdlib/longlong.h: Update from GCC.
43553
f50ef8f1
AS
435542011-05-23 Andreas Schwab <schwab@redhat.com>
43555
43556 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43557 parameter name.
43558 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43559 Add parameter name.
43560 (__sysconf): Pass it down.
43561
de7ce8f1
UD
435622011-05-22 Ulrich Drepper <drepper@gmail.com>
43563
f2962a71
UD
43564 [BZ #12671]
43565 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43566 some situations.
43567 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43568 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43569 add in in __libc_use_alloca calls. Adjust callers.
43570 (glob): Use malloc in some situations.
43571
de7ce8f1
UD
43572 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43573 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43574 pltexit.
43575
aec84f53
UD
435762011-05-21 Ulrich Drepper <drepper@gmail.com>
43577
05bb4a68
UD
43578 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43579 and CLOCK_BOOTTIME_ALARM.
43580
7ea72f99
UD
43581 [BZ #12782]
43582 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43583 is returned.
43584
7e4afad5
UD
43585 * string/_strerror.c (__strerror_r): Print negative errors as signed
43586 numbers.
43587
8e211fec
UD
43588 [BZ #12777]
43589 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43590 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43591 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43592
f7d82dc9
UD
43593 * configure.in: Fix typo in redirection and correct removal of test
43594 files in two cases.
43595
cc9e536d
UD
43596 [BZ #12788]
43597 * locale/setlocale.c (new_composite_name): Fix test to check for
43598 identical name of all categories.
43599
aec84f53
UD
43600 [BZ #12792]
43601 * libio/filedoalloc.c (local_isatty): New function.
43602 (_IO_file_doallocate): Use local_isatty.
43603 * stdio-common/perror.c (perror): In case a new stream is used
43604 forward the stream error.
43605 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43606 error flag.
43607
78e64fdc
RT
436082011-05-20 Ulrich Drepper <drepper@gmail.com>
43609
34a9094f
UD
43610 [BZ #11869]
43611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43612 alloca.
43613 * include/alloca.h (extend_alloca_account): Define.
43614
78e64fdc
RT
43615 [BZ #11857]
43616 * posix/regex.h: Fix comments with documentation of user-accessible
43617 fields after compilation and describe correct free'ing of pattern
43618 after re_compile_pattern.
43619 Patch by Reuben Thomas <rrt@sc3d.org>.
43620
457bddfc
RA
436212011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43622
43623 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43624 and -mno-altivec to prevent the compiler from using Altivec and/or
43625 VSX instructions when the corresponding registers are not available.
43626
a4527b51
AS
436272011-05-19 Andreas Schwab <schwab@redhat.com>
43628
43629 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43630
ed690b2f
UD
436312011-05-19 Ulrich Drepper <drepper@gmail.com>
43632
43633 * libio/freopen.c (freopen): Use __dup2, not dup2.
43634 * libio/freopen64.c (freopen64): Likewise.
43635
8db73634
L
436362011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43637
43638 [BZ #12775]
43639 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43640 * math/Makefile (tests): Add test-powl.
43641 (CFLAGS-test-powl.c): Define.
43642 * math/test-powl.c: New file.
43643
0a197a9d
L
436442011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43645
43646 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43647
ee30c380
UD
436482011-05-17 Ulrich Drepper <drepper@gmail.com>
43649
43650 [BZ #11837]
43651 * iconvdata/gb18030.c: Update to GB18020-2005.
43652
6ce75379
UD
436532011-05-16 Ulrich Drepper <drepper@gmail.com>
43654
a4b89fd8
AR
43655 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43656 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43657 Patch by Aharon Robbins <arnold@skeeve.com>.
43658
ea389b12
UD
43659 [BZ #11892]
43660 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43661 on the stack.
43662
68a3f91f
UD
43663 [BZ #11895]
43664 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43665 through underflows.
43666
15cc7dd1
UD
43667 [BZ #12766]
43668 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43669 point to strings before performing equality test for error_one_per_line
43670 mode.
43671
f3799213
UD
43672 [BZ #11697]
43673 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43674
d79a9c94
UD
43675 [BZ #11820]
43676 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43677 (struct user_fpregs_struct): Avoid __uint*_t types.
43678
56e5eb46
UD
43679 [BZ #6420]
43680 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43681 symbol info. Use it instead of calling _dl_addr locally.
43682 (lock_and_info): New function.
43683 (tr_freehook): Call lock_and_info and pass symbol info as additional
43684 parameter to tr_where.
43685 (tr_mallochook): Likewise.
43686 (tr_reallochook): Likewise.
43687 (tr_memalignhook): Likewise.
43688
6ce75379
UD
43689 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43690 used and couldn't be at all thread-safe.
43691
f8a3b5bf
UD
436922011-05-15 Ulrich Drepper <drepper@gmail.com>
43693
94b7cc37
UD
43694 * libio/freopen.c (freopen): Don't close old file descriptor
43695 before the new one is opened. Instead dup the new file descriptor
43696 to the old one after the new stream is created.
43697 * libio/freopen64.c (freopen64): Likewise.
43698 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43699 * libio/fileops.c (_IO_new_file_close_it): Handle new
43700 _IO_FLAGS2_NOCLOSE flag.
43701 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43702 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43703 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43704 _IO_FLAGS2_NOCLOSE flag.
43705 * include/unistd.h: Add hidden_proto for dup3.
43706 Define __have_dup3.
43707 * io/dup3.c: Define hidden symbol.
43708 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43709
bd25564e
UD
43710 [BZ #7101]
43711 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43712 when an incomplete long option is used.
43713 * posix/tst-getopt_long1.c: New file.
43714 * posix/Makefile (tests): Add tst-getopt_long1.
43715
c84cfef4
UD
43716 [BZ #10138]
43717 * scripts/config.guess: Update from autoconf-2.68.
43718 * scripts/config.sub: Likewise.
43719
3b85df27
UD
43720 [BZ #10157]
43721 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43722 tests into ...
43723 (has_cpuclock): ...this. New function.
43724 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43725 macro here based on has_cpuclock code.
43726
15a856b1
UD
43727 [BZ #10149]
43728 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43729 First byte (not low byte) is now always NUL.
43730 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43731
05f399e6
UD
43732 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43733 Use non-cancelable interfaces.
43734
10a52685 43735 [BZ #9809]
94ecc67d
UD
43736 * locale/iso-639.def: Add entry for Sorani.
43737
f8a3b5bf
UD
43738 [BZ #11901]
43739 * include/stdlib.h: Move include protection to the right place.
43740 Define abort_msg_s. Declare __abort_msg with it.
43741 * stdlib/abort.c (__abort_msg): Adjust type.
43742 * assert/assert.c (__assert_fail_base): New function. Majority
43743 of code from __assert_fail. Allocate memory for __abort_msg with
43744 mmap.
43745 (__assert_fail): Now call __assert_fail_base.
43746 * assert/assert-perr.c: Remove bulk of implementation. Use
43747 __assert_fail_base.
43748 * include/assert.hL Declare __assert_fail_base.
43749 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43750 mmap.
43751 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43752
1af4e298
UD
437532011-05-14 Ulrich Drepper <drepper@gmail.com>
43754
f8a3b5bf 43755 [BZ #11952]
d26dfc60
MG
43756 [BZ #12453]
43757 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43758 until all modules are registered in the DTV.
43759 * elf/Makefile: Add rules to build and run tst-tls19.
43760 * elf/tst-tls19.c: New file.
43761 * elf/tst-tls19mod1.c: New file.
43762 * elf/tst-tls19mod2.c: New file.
43763 * elf/tst-tls19mod3.c: New file.
43764 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43765
2fc54d6f
UD
43766 [BZ #12083]
43767 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43768 correctly.
43769
98d76b46
UD
43770 [BZ #12601]
43771 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43772 two-byte sequence errors.
43773 * iconvdata/Makefile (tests): Add bug-iconv8.
43774 * iconvdata/bug-iconv8.c: New file.
43775
da3c19ef
UD
43776 [BZ #12626]
43777 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43778 buf2 definition.
43779
ca408c15
UD
43780 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43781
d6f67f7d
UD
43782 [BZ #12432]
43783 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43784 (dummy_getcfa): New function.
43785 (init): Get _Unwind_GetCFA address, use dummy if not found.
43786 (backtrace_helper): In recursion check, also check whether CFA changes.
43787 (__backtrace): Completely initialize arg.
43788
1af4e298 43789 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43790 storing incomplete byte sequence in state object. Avoid testing for
43791 guaranteed too small input if we know there is enough data available.
1af4e298 43792
da62f81b
AS
437932011-05-11 Andreas Schwab <schwab@redhat.com>
43794
43795 * Makeconfig (+link-pie): Indent.
43796 * Rules (binaries-pie): Define if $(have-fpie) and
43797 $(build-shared).
43798 (binaries-shared): Also filter out $(binaries-pie).
43799 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43800 * nscd/Makefile (others-pie): Add nscd.
43801 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43802 ($(objpfx)nscd): Remove command override.
43803 * login/Makefile (others-pie): Add pt_chown.
43804 ($(objpfx)pt_chown): Remove command override.
43805 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43806 remove command overrides.
43807
fcabc0f8
UD
438082011-05-13 Ulrich Drepper <drepper@gmail.com>
43809
20030ae6
UD
43810 * libio/tst_putwc.c: Fix error messages.
43811
fcabc0f8
UD
43812 [BZ #12724]
43813 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43814 currently writing and seek to current position when not.
43815 * libio/Makefile (tests): Add bug-fclose1.
43816 * libio/bug-fclose1.c: New file.
43817
320a5dc0
PB
438182011-05-12 Ulrich Drepper <drepper@gmail.com>
43819
43820 [BZ #12511]
43821 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43822 don't set DF_1_NODELETE here.
43823 (do_lookup_x): When entering new entry test for copy relocation
43824 and if necessary set DF_1_NODELETE flag.
43825 * elf/tst-unique4.cc: New file.
43826 * elf/tst-unique4.h: New file.
43827 * elf/tst-unique4lib.cc: New file.
43828 * elf/Makefile: Add rules to build and run tst-unique4.
43829 Patch by Piotr Bury <pbury@goahead.com>.
43830
22836f52
UD
438312011-05-11 Ulrich Drepper <drepper@gmail.com>
43832
f574184a
UD
43833 [BZ #12052]
43834 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43835
e1fb097f
UD
43836 [BZ #12625]
43837 * misc/mntent_r.c (addmntent): Flush the stream after the output
43838
22836f52
UD
43839 [BZ #12393]
43840 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43841 (is_trusted_path_normalize): Skip initial colon. Append slash
43842 to empty buffer. Duplicate is_trusted_path code but allow
43843 constructed patch to be prefix.
43844 (is_dst): Allow $ORIGIN followed by /.
43845 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43846 Correct testing of result of is_trusted_path_normalize
43847 (decompose_rpath): Fix warning.
43848
7b3b0b2a
UD
438492011-05-10 Ulrich Drepper <drepper@gmail.com>
43850
43851 [BZ #11257]
43852 * grp/initgroups.c (internal_getgrouplist): When we found the service
43853 list through the initgroups entry in nsswitch.conf do not always
43854 continue on a successful lookup. Don't always use the
eac80ce2 43855 __nss_group_database value if it is set.
7b3b0b2a
UD
43856 * nss/nsswitch.conf (initgroups): Change action for successful db
43857 lookup to continue for compatibility.
43858
2a81eaa5
UD
438592011-05-09 Ulrich Drepper <drepper@gmail.com>
43860
be97a69e
UD
43861 [BZ #11532]
43862 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43863 and CP774 modules.
43864 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43865 and CP774 modules.
43866 * iconvdata/tst-tables.sh: Likewise.
43867 * iconvdata/cp770.c: New file.
43868 * iconvdata/cp771.c: New file.
43869 * iconvdata/cp772.c: New file.
43870 * iconvdata/cp773.c: New file.
43871 * iconvdata/cp774.c: New file.
43872 * iconvdata/testdata/CP770: New file.
43873 * iconvdata/testdata/CP770..UTF8: New file.
43874 * iconvdata/testdata/CP771: New file.
43875 * iconvdata/testdata/CP771..UTF8: New file.
43876 * iconvdata/testdata/CP772: New file.
43877 * iconvdata/testdata/CP772..UTF8: New file.
43878 * iconvdata/testdata/CP773: New file.
43879 * iconvdata/testdata/CP773..UTF8: New file.
43880 * iconvdata/testdata/CP774: New file.
43881 * iconvdata/testdata/CP774..UTF8: New file.
43882
43883 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43884 END CHARMAP line.
43885 * iconvdata/gen-8bit-gap.sh: Likewise.
43886 * iconvdata/gen-8bit.sh: Likewise.
43887
c1e9e399
UD
43888 * locale/iso-639.def: Add ary entry.
43889
24c55fb3 43890 [BZ #11258]
96b4b1b0
UD
43891 * locale/C-translit.h.in: Add U20A1 transliteration.
43892
bdc2f971
KB
43893 [BZ #12178]
43894 * locale/iso-639.def: Add wae entry.
43895 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43896
2952b117
UD
43897 [BZ #12545]
43898 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43899 for n.
43900
2a81eaa5
UD
43901 [BZ #12711]
43902 * locale/C-translit.h.in: Add entry for U20B9.
43903 Patch by pravin.d.s@gmail.com.
43904
28377d1b
UD
439052011-05-08 Ulrich Drepper <drepper@gmail.com>
43906
7fb90fb8
UD
43907 [BZ #12713]
43908 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43909 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43910 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43911 in rtld. Use *stat64.
7fb90fb8 43912 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43913 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43914 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43915 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43916 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43917 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43918 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43919 __fstatat64 macros.
7fb90fb8
UD
43920 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43921 * dirent/rewinddir.c: Add libc_hidden_def.
43922 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43923 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43924
28377d1b
UD
43925 * include/dirent.h (__alloc_dir): Add flags parameter.
43926 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43927 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43928 __alloc_dir.
43929 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43930 from fdopendir if O_CLOEXEC is already set.
43931
66bdbaa4
AM
439322011-03-15 Alan Modra <amodra@gmail.com>
43933
43934 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43935 l_tls_firstbyte_offset non-zero. Save padding offset in
43936 l_tls_firstbyte_offset for later use.
43937 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43938 freeing static tls block.
43939
95721191
JN
439402011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43941
43942 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43943 where #ifdef was intended. The intent is to prevent ARG_MAX from
43944 being defined by the kernel headers.
43945
f87dfb1f
UD
439462011-05-07 Ulrich Drepper <drepper@gmail.com>
43947
43948 [BZ #12734]
43949 * resolv/resolv.h: Define RES_NOTLDQUERY.
43950 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43951 no-tld-query and set RES_NOTLDQUERY.
43952 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43953 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43954 modern BIND to search name as TLD unless forbidden.
43955
47c3cd7a
UD
439562011-05-07 Petr Baudis <pasky@suse.cz>
43957 Ulrich Drepper <drepper@gmail.com>
43958
43959 [BZ #12393]
43960 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43961 (is_trusted_path): ...to here.
c1e9ea35 43962 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43963 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43964 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43965
8a35c912
PP
439662011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43967
43968 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43969 __BEGIN/__END_DECLS.
43970
acd41f47
UD
439712011-05-06 Ulrich Drepper <drepper@gmail.com>
43972
43973 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43974 NSS_STATUS_NOTFOUND if no record was found.
43975
597df647
AS
439762011-05-05 Andreas Schwab <schwab@redhat.com>
43977
43978 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43979 (headers-not-in-tirpc): Remove rpc/netdb.h
43980 * resolv/netdb.h: Revert last change.
43981
b9af1301
PP
439822011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43983
43984 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43985 circular dependency between libgcc.a and libc.a.
43986
4e34d5f5
AS
439872011-05-05 Andreas Schwab <schwab@redhat.com>
43988
43989 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43990 * nis/Makefile: Don't install rpcsvc/*.
43991 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43992 instead of <rpc/types.h>.
43993 (MAXHOSTNAMELEN): Define.
43994
00ee369c
AS
439952011-05-03 Andreas Schwab <schwab@redhat.com>
43996
43997 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43998
0b592a30
MB
439992011-04-28 Maciej Babinski <mbabinski@google.com>
44000
44001 [BZ #12714]
44002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44003 gethostbyname4_r when IPv6 results are possible.
44004
6e04cbbe
UD
440052011-05-02 Ulrich Drepper <drepper@gmail.com>
44006
44007 [BZ #12723]
44008 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44009 _PC_PIPE_BUF handling.
44010
e4ecafe0
BH
440112011-04-30 Bruno Haible <bruno@clisp.org>
44012
44013 [BZ #12717]
44014 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44015 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44016 to 'int'.
44017 * inet/getnameinfo.c (getnameinfo): Likewise.
44018
125ee683
UD
440192011-04-29 Ulrich Drepper <drepper@gmail.com>
44020
44021 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44022 to groups setting in database lookup.
44023 * nss/nsswitch.conf: Add initgroups entry.
44024
b722481a
EB
440252011-04-22 Ulrich Drepper <drepper@gmail.com>
44026
44027 [BZ #12685]
44028 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44029 mode string.
44030 Patch by Eric Blake <eblake@redhat.com>.
44031
4df46dbd
L
440322011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44033
44034 * sunrpc/Makefile (need-export-routines): Add svc_run.
44035 (routines): Remove svc_run.
44036 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44037 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44038 * sunrpc/svc_run.c (svc_run): Likewise.
44039 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44040
e84142d2
UD
440412011-04-21 Ulrich Drepper <drepper@gmail.com>
44042
44043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44044 problem in reallocation in last patch.
44045
877175d8
UD
440462011-04-20 Ulrich Drepper <drepper@gmail.com>
44047
44048 * sunrpc/Makefile: Move inclusion of Rules.
44049
ab8eed78
UD
440502011-04-19 Ulrich Drepper <drepper@gmail.com>
44051
44052 * nss/nss_files/files-initgroups.c: New file.
44053 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44054 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44055 _nss_files_initgroups_dyn.
44056
e3d8f584
RS
440572011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44058
44059 * elf/elf.h (R_ARM_IRELATIVE): Define.
44060
af190f45
UD
440612011-04-19 Ulrich Drepper <drepper@gmail.com>
44062
44063 * po/ru.po: Update from translation team.
44064
53cf59ef
UD
440652011-04-17 Ulrich Drepper <drepper@gmail.com>
44066
44067 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44068 dependencies.
44069
4c559bcd
MF
440702011-02-06 Mike Frysinger <vapier@gentoo.org>
44071
44072 [BZ #12653]
44073 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44074 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44075 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44076 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44078
4420675c
AS
440792011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44080
44081 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44082 differing bytes.
44083 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44084 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44086
75ea32ab
UD
440872011-04-17 Ulrich Drepper <drepper@gmail.com>
44088
44089 [BZ #12420]
44090 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44091 storing it.
44092 * stdlib/bug-getcontext.c: New file.
44093 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44094
27390476
AK
440952011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44096
44097 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44098 instructions into .machine "z9-109".
44099 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44100 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44101
10442705
AK
441022011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44103
44104 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44105 between environment variables and auxiliary vector.
44106
7b57bfe5
UD
441072011-04-16 Ulrich Drepper <drepper@gmail.com>
44108
44109 * Makefile: Add rules to build linkobj/libc.so.
44110 * include/libc-symbols.h: Define libc_hidden_nolink.
44111 * include/rpc/auth.h: Mark functions which are to be hidden.
44112 * include/rpc/auth_des.h: Likewise.
44113 * include/rpc/auth_unix.h: Likewise.
44114 * include/rpc/clnt.h: Likewise.
44115 * include/rpc/des_crypt.h: Likewise.
44116 * include/rpc/key_prot.h: Likewise.
44117 * include/rpc/pmap_clnt.h: Likewise.
44118 * include/rpc/pmap_prot.h: Likewise.
44119 * include/rpc/pmap_rmt.h: Likewise.
44120 * include/rpc/rpc_msg.h: Likewise.
44121 * include/rpc/svc.h: Likewise.
44122 * include/rpc/svc_auth.h: Likewise.
44123 * include/rpc/xdr.h: Likewise.
44124 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44125 * nss/Makefile: Likewise.
44126 * sunrpc/Makefile: Don't install headers. Build library with normal
44127 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44128 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44129 for the compat linking library. Remove use of INTDEF/INTUSE.
44130 * sunrpc/auth_none.c: Likewise.
44131 * sunrpc/auth_unix.c: Likewise.
44132 * sunrpc/authdes_prot.c: Likewise.
44133 * sunrpc/authuxprot.c: Likewise.
44134 * sunrpc/clnt_gen.c: Likewise.
44135 * sunrpc/clnt_perr.c: Likewise.
44136 * sunrpc/clnt_raw.c: Likewise.
44137 * sunrpc/clnt_simp.c: Likewise.
44138 * sunrpc/clnt_tcp.c: Likewise.
44139 * sunrpc/clnt_udp.c: Likewise.
44140 * sunrpc/clnt_unix.c: Likewise.
44141 * sunrpc/des_crypt.c: Likewise.
44142 * sunrpc/des_soft.c: Likewise.
44143 * sunrpc/get_myaddr.c: Likewise.
44144 * sunrpc/key_call.c: Likewise.
44145 * sunrpc/key_prot.c: Likewise.
44146 * sunrpc/netname.c: Likewise.
44147 * sunrpc/pm_getmaps.c: Likewise.
44148 * sunrpc/pm_getport.c: Likewise.
44149 * sunrpc/pmap_clnt.c: Likewise.
44150 * sunrpc/pmap_prot.c: Likewise.
44151 * sunrpc/pmap_prot2.c: Likewise.
44152 * sunrpc/pmap_rmt.c: Likewise.
44153 * sunrpc/publickey.c: Likewise.
44154 * sunrpc/rpc_cmsg.c: Likewise.
44155 * sunrpc/rpc_common.c: Likewise.
44156 * sunrpc/rpc_dtable.c: Likewise.
44157 * sunrpc/rpc_prot.c: Likewise.
44158 * sunrpc/rpc_thread.c: Likewise.
44159 * sunrpc/rtime.c: Likewise.
44160 * sunrpc/svc.c: Likewise.
44161 * sunrpc/svc_auth.c: Likewise.
44162 * sunrpc/svc_authux.c: Likewise.
44163 * sunrpc/svc_raw.c: Likewise.
44164 * sunrpc/svc_run.c: Likewise.
44165 * sunrpc/svc_simple.c: Likewise.
44166 * sunrpc/svc_tcp.c: Likewise.
44167 * sunrpc/svc_udp.c: Likewise.
44168 * sunrpc/svc_unix.c: Likewise.
44169 * sunrpc/svcauth_des.c: Likewise.
44170 * sunrpc/xcrypt.c: Likewise.
44171 * sunrpc/xdr.c: Likewise.
44172 * sunrpc/xdr_array.c: Likewise.
44173 * sunrpc/xdr_float.c: Likewise.
44174 * sunrpc/xdr_intXX_t.c: Likewise.
44175 * sunrpc/xdr_mem.c: Likewise.
44176 * sunrpc/xdr_rec.c: Likewise.
44177 * sunrpc/xdr_ref.c: Likewise.
44178 * sunrpc/xdr_sizeof.c: Likewise.
44179 * sunrpc/xdr_stdio.c: Likewise.
44180
e6c61494
UD
441812011-04-10 Ulrich Drepper <drepper@gmail.com>
44182
44183 [BZ #12650]
44184 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44185 * sysdeps/ia64/dl-tls.h: Likewise.
44186 * sysdeps/powerpc/dl-tls.h: Likewise.
44187 * sysdeps/s390/dl-tls.h: Likewise.
44188 * sysdeps/sh/dl-tls.h: Likewise.
44189 * sysdeps/sparc/dl-tls.h: Likewise.
44190 * sysdeps/x86_64/dl-tls.h: Likewise.
44191 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44192
34fe483e
AS
441932011-03-14 Andreas Schwab <schwab@redhat.com>
44194
44195 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44196 rpath element also skip the following colon.
44197 (expand_dynamic_string_token): Add is_path parameter and pass
44198 down to DL_DST_REQUIRED and _dl_dst_substitute.
44199 (decompose_rpath): Call expand_dynamic_string_token with
44200 non-zero is_path. Ignore empty rpaths.
44201 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44202 with zero is_path.
44203
f12a32e6
AS
442042011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44205
44206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44207 Make cancelable.
44208
38a7d692
UD
442092011-04-09 Ulrich Drepper <drepper@gmail.com>
44210
44211 [BZ #12655]
44212 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44213 Patch by Filipe David Manana <fdmanana@apache.org>.
44214
e451d22b
AS
442152011-04-07 Andreas Schwab <schwab@redhat.com>
44216
44217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44218 Maintain aligned stack.
44219 (CHECK_RSP): Remove unused macro.
44220
dedc7c7b
UD
442212011-04-03 Ulrich Drepper <drepper@gmail.com>
44222
44223 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44224 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44225
94521213
UD
442262011-04-02 Ulrich Drepper <drepper@gmail.com>
44227
44228 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44229
8cb700c0 44230 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44231
0354e355
L
442322011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44233
44234 [BZ #12518]
44235 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44236 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44237 * sysdeps/x86_64/memmove.c: New file.
44238 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44239 (memcpy): Renamed to ...
44240 (__new_memcpy): This.
44241 (memcpy): Provide GLIBC_2_14 memcpy.
44242 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44243 (memcpy): Provide GLIBC_2_2_5 memcpy.
44244
8593482f
UD
442452011-04-01 Ulrich Drepper <drepper@gmail.com>
44246
44247 [BZ #12631]
44248 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44249
81a5726b
AS
442502011-03-30 Andreas Schwab <schwab@redhat.com>
44251
44252 * misc/syncfs.c: New file.
44253 * misc/Makefile (routines): Add syncfs.
44254 * posix/unistd.h: Declare syncfs.
44255 * sysdeps/unix/syscalls.list: Add syncfs.
44256
00e5419f
AS
442572011-04-01 Andreas Schwab <schwab@redhat.com>
44258
44259 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44260 open_by_handle_at.
44261 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44263 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44264 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44266 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44267 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44268
748876bf
UD
442692011-04-01 Ulrich Drepper <drepper@gmail.com>
44270
658e451d
UD
44271 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44272 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44273 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44274 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44275 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44278
748876bf
UD
44279 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44280 sync_file_range.c with -fexceptions.
44281 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44282 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44283 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44284 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44285 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44286 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44287 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44288 sync_file_range as cancellation point
44289 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44290 now a wrapper around __call_sync_file_range with cancellation handling.
44291 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44292 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44293 function name to __call_sync_file_range.
44294 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44295 Add call_sync_file_range.
748876bf 44296
6e63d5e1
AS
442972011-04-01 Andreas Schwab <schwab@redhat.com>
44298
44299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44300 bits/timex.h.
6e63d5e1 44301
46998f74
UD
443022011-04-01 Ulrich Drepper <drepper@gmail.com>
44303
4c1423ed
UD
44304 * iconv/iconv.h: Fix typo in comment.
44305 * io/fcntl.h: Likewise.
44306 * libio/stdio.h: Likewise.
44307 * posix/spawn.h: Likewise.
44308 * posix/unistd.h: Likewise.
44309 * stdlib/stdlib.h: Likewise.
44310 * time/time.h: Likewise.
44311 * wcsmbs/wchar.h: Likewise.
44312
158648c0
UD
44313 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44314 open_by_handle): Add.
44315 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44316 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44317 Augment a few comments.
44318 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44319 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44321 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44322 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44323 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44324 open_by_handle.
44325
46998f74
UD
44326 * io/fcntl.h (AT_EMPTY_PATH): Define.
44327
83fe108b
UD
443282011-03-30 Ulrich Drepper <drepper@gmail.com>
44329
44330 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44331 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44332 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44333 to...
44334 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44335 * Versions.def: Add GLIBC_2.14.
44336 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44337 Export.
83fe108b 44338
bb242059
UD
443392011-03-22 Ulrich Drepper <drepper@gmail.com>
44340
44341 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44342 round counter.
44343 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44344
c97a1282
L
443452011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44346
44347 [BZ #12597]
44348 * string/test-strncmp.c (do_page_test): New function.
44349 (check2): Likewise.
44350 (test_main): Call check2.
44351 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44352
2a115601
UD
443532011-03-20 Ulrich Drepper <drepper@gmail.com>
44354
44355 [BZ #12587]
44356 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44357 Handle cache information in CPU leaf 4.
44358 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44359
8126d904
UD
443602011-03-18 Ulrich Drepper <drepper@gmail.com>
44361
042c49c6 44362 [BZ #12583]
8126d904
UD
44363 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44364 character representation.
44365 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44366
ccfe366e
RA
443672011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44368
44369 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44370 END(__isnan) to END(__isnanf) to match function entry point/label
44371 EALIGN(__isnanf,...).
44372
c6e13027
JJ
443732011-03-10 Jakub Jelinek <jakub@redhat.com>
44374
44375 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44376
33f85a3f
UD
443772011-03-10 Ulrich Drepper <drepper@gmail.com>
44378
028478fa
UD
44379 [BZ #12510]
44380 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44381 copy from the symbol referenced in the relocation to initialize the
44382 used variable.
44383 Patch by Piotr Bury <pbury@goahead.com>.
44384 * elf/Makefile: Add rules to build and tst-unique3.
44385 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44386 * elf/tst-unique3.cc: New file.
44387 * elf/tst-unique3.h: New file.
44388 * elf/tst-unique3lib.cc: New file.
44389 * elf/tst-unique3lib2.cc: New file.
44390
33f85a3f
UD
44391 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44392
03592fc7
MF
443932011-03-10 Mike Frysinger <vapier@gentoo.org>
44394
44395 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44396 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44397 to _start.
03592fc7 44398
6a5ee102
UD
443992011-03-06 Ulrich Drepper <drepper@gmail.com>
44400
44401 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44402 to-be-loaded object along a path to loader is ld.so.
44403
7e4ba49c
HJ
444042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44405 Ulrich Drepper <drepper@gmail.com>
44406
44407 * sysdeps/x86_64/memset.S: After aligning destination, code
44408 branches to different locations depending on the value of
44409 misalignment, when multiarch is enabled. Fix this.
44410
444112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44412
44413 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44414 Set _x86_64_preferred_memory_instruction for AMD processsors.
44415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44416 Set bit_Prefer_SSE_for_memop for AMD processors.
44417
13a804de
UD
444182011-03-04 Ulrich Drepper <drepper@gmail.com>
44419
44420 * libio/fmemopen.c (fmemopen): Optimize a bit.
44421
9d25c392
AS
444222011-03-03 Andreas Schwab <schwab@redhat.com>
44423
44424 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44425
a5543c6a
RM
444262011-03-03 Roland McGrath <roland@redhat.com>
44427
44428 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44429
012d35f7
DM
444302011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44431
7e4ba49c 44432 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44433 __bzero_ultra1 instead of __memset_ultra1.
44434
4bff6e01
AS
444352011-02-23 Andreas Schwab <schwab@redhat.com>
44436 Ulrich Drepper <drepper@gmail.com>
44437
44438 [BZ #12509]
44439 * include/link.h (struct link_map): Add l_orig_initfini.
44440 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44441 returning unsuccessfully.
44442 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44443 close of a file loaded at startup, restore the original l_initfini
44444 list.
44445 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44446 list, store the pointer.
44447 * elf/Makefile ($(objpfx)noload-mem): New rule.
44448 (noload-ENV): Define.
44449 (tests): Add $(objpfx)noload-mem.
44450 * elf/noload.c: Include <memcheck.h>.
44451 (main): Call mtrace. Close all opened handles.
44452
f2092faf
AS
444532011-02-17 Andreas Schwab <schwab@redhat.com>
44454
44455 [BZ #12454]
44456 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44457 dependencies are missing.
44458
6c8a2e88
ST
444592011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44460
f2092faf 44461 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
44462 Hurd needs munmap.
44463 * sysdeps/mach/hurd/ifreq.h: New file.
44464
84a42118
PB
444652011-01-27 Petr Baudis <pasky@suse.cz>
44466 Ulrich Drepper <drepper@gmail.com>
44467
071f805e 44468 [BZ 12445]#
84a42118
PB
44469 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44470 to extend_alloca().
44471 * stdio-common/bug23.c: New file.
44472 * stdio-common/Makefile (tests): Add bug23.
44473
e23fe25b
AS
444742010-09-28 Andreas Schwab <schwab@redhat.com>
44475 Ulrich Drepper <drepper@gmail.com>
44476
44477 [BZ #12489]
44478 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44479 before performing relro protection. At old place add assertion
44480 to make sure nothing changed.
44481
d3f02e10
NS
444822011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44483 Glauber de Oliveira Costa <glommer@gmail.com>
44484
44485 * elf/elf.h: Add new ARM TLS relocs.
44486
d55fd7a5
RA
444872011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44488
44489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44490 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44491 cast from r3.
44492 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44493 'tests' variable.
44494 * sysdeps/wordsize-64/tst-writev.c: New file.
44495
2206397e
RA
444962011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44497
44498 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44499 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44500 insns in _dl_start to prevent a TOC reference before relocs are
44501 resolved.
44502
e9433893
UD
445032011-02-15 Ulrich Drepper <drepper@gmail.com>
44504
44505 [BZ #12469]
44506 * Makeconfig: Remove RANLIB definition.
44507 * Makerules: Don't use RANLIB.
44508 * aclocal.m4: Remove ranlib test.
44509 * configure.in: No need to check for ranlib.
44510 * elf/rtld-Rules: Don't use RANLIB.
44511
f75286c6
ST
445122011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44513
8e31c82d
ST
44514 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44515 protection macro.
44516 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44517 inclusion protection macro.
44518
f75286c6
ST
44519 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44520 SIGRTMIN and SIGRTMAX and print information in that case only when
44521 SIGRTMIN is defined.
44522
c1d0e639
JJ
445232011-02-11 Jakub Jelinek <jakub@redhat.com>
44524
44525 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44526 arginfo fn returning -1.
44527
44528 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44529 and thousands string is zero terminated.
44530
edf9294e
AS
445312011-02-03 Andreas Schwab <schwab@redhat.com>
44532
44533 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44534 sysdeps/unix/sysv/linux/bits/socket.h.
44535
2b7e92df
ST
445362011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44537
edf9294e
AS
44538 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44539 (__CPU_COUNT): Remove old macros.
44540 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44541 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44542 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
44543 (__sched_cpualloc, __sched_cpufree): Add declarations.
44544
a4c7ea7b
UD
445452011-02-05 Ulrich Drepper <drepper@gmail.com>
44546
44547 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44548 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44549 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44550 (readdhstai): Return value of addhstaiX call.
44551 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44552 (addgrbyX): Return value returned by cache_addgr.
44553 (readdgrbyname): Return value returned by addgrbyX.
44554 (readdgrbygid): Likewise.
44555 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44556 (addpwbyX): Return value returned by cache_addpw.
44557 (readdpwbyname): Return value returned by addhstbyX.
44558 (readdpwbyuid): Likewise.
44559 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44560 (addservbyX): Return value returned by cache_addserv.
44561 (readdservbyname): Return value returned by addservbyX:
44562 (readdservbyport): Likewise.
44563 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44564 (addhstbyX): Return value returned by cache_addhst.
44565 (readdhstbyname): Return value returned by addhstbyX.
44566 (readdhstbyaddr): Likewise.
44567 (readdhstbynamev6): Likewise.
44568 (readdhstbyaddrv6): Likewise.
44569 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44570 (readdinitgroups): Return value returned by addinitgroupsX.
44571 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44572 (prune_cache): Keep track of timeout value of re-added entries.
44573 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44574 * nscd/nscd.h: Adjust prototypes of readd* functions.
44575
a0bf67cc
RM
445762011-02-04 Roland McGrath <roland@redhat.com>
44577
44578 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44579 (nis_stats): Likewise.
44580 * nis/nis_modify.c (nis_modify): Likewise.
44581 * nis/nis_remove.c (nis_remove): Likewise.
44582 * nis/nis_add.c (nis_add): Likewise.
44583
44584 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44585
44586 * posix/fnmatch_loop.c: Add some consts.
44587
44588 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44589
435b95eb
L
445902011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44591
44592 [BZ #12460]
44593 * config.make.in (config-cflags-novzeroupper): Define.
44594 * configure.in: Substitute libc_cv_cc_novzeroupper.
44595 * elf/Makefile (AVX-CFLAGS): Define.
44596 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44597 (CFLAGS-tst-auditmod4a.c): Likewise.
44598 (CFLAGS-tst-auditmod4b.c): Likewise.
44599 (CFLAGS-tst-auditmod6b.c): Likewise.
44600 (CFLAGS-tst-auditmod6c.c): Likewise.
44601 (CFLAGS-tst-auditmod7b.c): Likewise.
44602 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44603
8517b15e
UD
446042011-02-02 Ulrich Drepper <drepper@gmail.com>
44605
44606 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44607 function to the callback.
44608 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44609
10a656fe
AS
446102011-02-02 Andreas Schwab <schwab@redhat.com>
44611
44612 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44613 of errno.
44614
968dad0a
UD
446152011-01-19 Ulrich Drepper <drepper@gmail.com>
44616
9f94d2ea 44617 [BZ #11724]
968dad0a
UD
44618 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44619 of constructors.
44620 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44621 of destructors.
44622 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44623
44624 [BZ #11724]
44625 * elf/Makefile: Add rules to build and run new test.
44626 * elf/tst-initorder.c: New file.
44627 * elf/tst-initorder.exp: New file.
44628 * elf/tst-initordera1.c: New file.
44629 * elf/tst-initordera2.c: New file.
44630 * elf/tst-initordera3.c: New file.
44631 * elf/tst-initordera4.c: New file.
44632 * elf/tst-initorderb1.c: New file.
44633 * elf/tst-initorderb2.c: New file.
44634 * elf/tst-order-a1.c: New file.
44635 * elf/tst-order-a2.c: New file.
44636 * elf/tst-order-a3.c: New file.
44637 * elf/tst-order-a4.c: New file.
44638 * elf/tst-order-b1.c: New file.
44639 * elf/tst-order-b2.c: New file.
44640 * elf/tst-order-main.c: New file.
44641 New test case by George Gensure <werkt0@gmail.com>.
44642
86e92359
UD
446432010-10-01 Andreas Schwab <schwab@redhat.com>
44644
44645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44646 decoding ACE if AI_CANONIDN.
44647
5d5732b0
UD
446482011-01-18 Ulrich Drepper <drepper@gmail.com>
44649
44650 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44651
a77e8cbc
UD
446522011-01-17 Ulrich Drepper <drepper@gmail.com>
44653
6392473f
UD
44654 * version.h (RELEASE): Bump for 2.13 release.
44655 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44656
620a0529
UD
44657 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44658
18ba70a5
UD
44659 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44660 MADV_NOHUGEPAGE.
32465c3e
UD
44661 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44662 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44663 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44664 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44666 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44667
c0dafcf1
UD
44668 * posix/getconf.c: Update copyright year.
44669 * catgets/gencat.c: Likewise.
44670 * csu/version.c: Likewise.
44671 * debug/catchsegv.sh: Likewise.
44672 * debug/xtrace.sh: Likewise.
44673 * elf/ldconfig.c: Likewise.
44674 * elf/ldd.bash.in: Likewise.
44675 * elf/sprof.c (print_version): Likewise.
44676 * iconv/iconv_prog.c: Likewise.
44677 * iconv/iconvconfig.c: Likewise.
44678 * locale/programs/locale.c: Likewise.
44679 * locale/programs/localedef.c: Likewise.
44680 * malloc/memusage.sh: Likewise.
44681 * malloc/mtrace.pl: Likewise.
44682 * nscd/nscd.c (print_version): Likewise.
44683 * nss/getent.c: Likewise.
44684
a77e8cbc
UD
44685 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44686 PF_CAIF, and PF_ALG.
44687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44688
77e8bddf
AS
446892011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44690
1f20b93a
AS
44691 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44692 (modules-names): Use them.
44693 (ifunc-test-modules, ifunc-pie-tests): Define.
44694 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44695 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44696 (test-extras): Likewise.
44697 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44698 $(compile-command.c).
44699 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44700 (all-built-dso): Define.
44701 (check-textrel.out, check-execstack.out): Depend on it.
44702
77e8bddf
AS
44703 * configure.in: Don't override --enable-multi-arch.
44704
bc425b33
UD
447052011-01-15 Ulrich Drepper <drepper@gmail.com>
44706
44707 [BZ #6812]
44708 * nscd/hstcache.c (tryagain): Define.
44709 (cache_addhst): Return tryagain not notfound for temporary errors.
44710 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44711 failed.
44712
794c3ad3
UD
447132011-01-14 Ulrich Drepper <drepper@gmail.com>
44714
70181fdd
UD
44715 [BZ #10563]
44716 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44717 to make the syscall.
44718 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44719
794c3ad3
UD
44720 [BZ #12378]
44721 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44722 and fall back to matching as normal character if the string ends before
44723 the matching ']' is found. This is what POSIX requires.
44724 * posix/testfnm.c: Adjust test result.
44725 * posix/globtest.sh: Adjust test result. Add new test.
44726 * posix/tst-fnmatch.input: Likewise.
44727 * posix/tst-fnmatch2.c: Add new test.
44728
68dc9497
AS
447292010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44730
44731 * elf/Makefile (check-execstack): Revert last change. Depend on
44732 check-execstack.h.
44733 (check-execstack.h): New target.
44734 (generated): Add check-execstack.h.
44735 * elf/check-execstack.c: Include "check-execstack.h".
44736 (main): Revert last change.
44737 (handle_file): Return zero if GNU_STACK is absent and
44738 DEFAULT_STACK_PERMS doesn't include PF_X.
44739
451f001b
UD
447402011-01-13 Ulrich Drepper <drepper@gmail.com>
44741
cfa28e56
UD
44742 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44743 in child fails because the descriptor is already closed.
8cf8ce17
UD
44744 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44745 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44746 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44747
1086d70d
UD
44748 [BZ #12397]
44749 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44750 syscall.
44751
451f001b
UD
44752 [BZ #10484]
44753 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44754 temporary buffer used to handle multi lookups locally.
a85b5cb4 44755 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44756
08769175
UD
447572011-01-12 Ulrich Drepper <drepper@gmail.com>
44758
44759 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44760 loader is ld.so.
44761
5e49c52e
UD
447622011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44763
44764 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44765 alignment for SSE2.
44766
60522a5f
UD
447672011-01-12 Ulrich Drepper <drepper@gmail.com>
44768
44769 [BZ #12394]
44770 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44771 characters. When rounding increased number of integer digits recompute
44772 number of groups.
44773 * stdio-common/tst-grouping.c: New file.
44774 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44775
f257bbd7
UD
447762011-01-09 Ulrich Drepper <drepper@gmail.com>
44777
44778 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44779 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44780
44781 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44782 void.
44783 * bits/select.h: Likewise.
44784
fa9c15cb
UD
447852011-01-08 Ulrich Drepper <drepper@gmail.com>
44786
44787 * po/ja.po: Update from translation team.
44788
16c2895f
DM
447892011-01-04 David S. Miller <davem@sunset.davemloft.net>
44790
44791 [BZ #11155]
44792 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44793 implementation just like for lxstat, fxstatat, et al.
44794
2543fef2
JM
447952010-12-27 Jim Meyering <meyering@redhat.com>
44796
44797 [BZ #12348]
44798 * posix/regexec.c (build_trtable): Return failure indication upon
44799 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44800
98727dbe
UD
448012010-12-25 Ulrich Drepper <drepper@gmail.com>
44802
5bd6dc5c
UD
44803 [BZ #12201]
44804 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44805 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44806 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44807 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44808
97983464
UD
44809 [BZ #12207]
44810 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44811
98727dbe
UD
44812 [BZ #12204]
44813 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44814 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44815
4a531bb0
L
448162010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44817
44818 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44819 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44820 script has SORT_BY_INIT_PRIORITY.
44821 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44822 NO_CTORS_DTORS_SECTIONS is defined.
44823 * elf/soinit.c: Likewise.
44824 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44825 NO_CTORS_DTORS_SECTIONS is defined.
44826 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44827 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44828 * sysdeps/sh/init-first.c: Likewise.
44829 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44830
07eb4b71
UD
448312010-12-24 Ulrich Drepper <drepper@gmail.com>
44832
44833 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44834 always use the slow path.
44835
30950a5f
RA
448362010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44837
44838 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44839 similar rule which adds the sysdep directories to the header search in
44840 order to pick up the correct platform stackinfo.h.
44841 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44842 perform test if it is, otherwise return successfully without testing.
44843 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44844 DEFAULT_STACK_PERMS define in stackinfo.h.
44845 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44846 defined in stackinfo.h.
44847 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44848 DEFAULT_STACK_PERMS defined in stackinfo.h.
44849 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44850 * sysdeps/ia64/stackinfo.h: Likewise.
44851 * sysdeps/s390/stackinfo.h: Likewise.
44852 * sysdeps/sh/stackinfo.h: Likewise.
44853 * sysdeps/sparc/stackinfo.h: Likewise.
44854 * sysdeps/x86_64/stackinfo.h: Likewise.
44855 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44856 PF_X for powerpc64. Retain PF_X for powerpc32.
44857
db753e2c
UD
448582010-12-19 Ulrich Drepper <drepper@gmail.com>
44859
14b697f7
UD
44860 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44861 accurately.
db753e2c
UD
44862 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44863 GETDENTS_64BIT_ALIGNED.
44864
28300719
UD
448652010-12-14 Ulrich Drepper <dreper@gmail.com>
44866
14b697f7 44867 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44868
4f197237
AS
448692010-12-10 Andreas Schwab <schwab@redhat.com>
44870
dbb0472f
AS
44871 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44872 _GNU_SOURCE.
44873
4f197237
AS
44874 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44875 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44876 Remove __restrict.
44877 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44878 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44879
fb88ac72
UD
448802010-12-09 Ulrich Drepper <drepper@gmail.com>
44881
44882 [BZ #11655]
44883 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44884 are initialized.
44885
42acbb92
JJ
448862010-12-09 Jakub Jelinek <jakub@redhat.com>
44887
44888 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44889
c038d98d
UD
448902010-12-03 Ulrich Drepper <drepper@gmail.com>
44891
44892 * po/it.po: Update from translation team.
44893
3a4a2499
L
448942010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44895
44896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44897 unused codes.
44898
1e24cf6e
UD
448992010-11-30 Ulrich Drepper <drepper@gmail.com>
44900
44901 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44902
a7690819
AS
449032010-11-24 Andreas Schwab <schwab@redhat.com>
44904
44905 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44906 specially.
44907 (gaih_getanswer_slice): Likewise.
44908
3bf8d1b1
JJ
449092010-10-20 Jakub Jelinek <jakub@redhat.com>
44910
44911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44912
6db52fbb
PB
449132010-05-31 Petr Baudis <pasky@suse.cz>
44914
44915 [BZ #11149]
44916 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44917 silently even in the chroot mode.
44918
eaca7569
UD
449192010-11-22 Ulrich Drepper <drepper@gmail.com>
44920
44921 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44922 last patch a bit. Pretty printing
44923
3056dcdb
UD
449242010-05-31 Petr Baudis <pasky@suse.cz>
44925
44926 [BZ #10085]
44927 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44928 initialization of skip_initgroups_dyn.
44929
cf7c9078
UD
449302010-11-19 Ulrich Drepper <drepper@gmail.com>
44931
44932 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44933 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44934
a1fb5e3e
UD
449352010-11-16 Ulrich Drepper <drepper@gmail.com>
44936
44937 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44938
3540d66b
AS
449392010-11-11 Andreas Schwab <schwab@redhat.com>
44940
44941 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44942 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44943 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44944 ($(objpfx)tst-fnmatch-mem): New rule.
44945 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44946 * posix/tst-fnmatch.c (main): Call mtrace.
44947
13b69574
L
449482010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44949
44950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44951 Support Intel processor model 6 and model 0x2c.
44952
da93d214
LM
449532010-11-10 Luis Machado <luisgpm@br.ibm.com>
44954
44955 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44956 signed comparison.
44957
8ca52c6e
L
449582010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44959
44960 [BZ #12205]
44961 * string/test-strncasecmp.c (check_result): New function.
44962 (do_one_test): Use it.
44963 (check1): New function.
44964 (test_main): Use it.
44965 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44966 Support strcasecmp and strncasecmp.
44967
69da074d
UD
449682010-11-08 Ulrich Drepper <drepper@gmail.com>
44969
44970 [BZ #12194]
44971 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44972 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44973
ff02d528
L
449742010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44975
44976 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44977 IFUNC support.
44978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44979 memset-x86-64.
44980 * sysdeps/x86_64/multiarch/bzero.S: New file.
44981 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44982 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44983 * sysdeps/x86_64/multiarch/memset.S: New file.
44984 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44986 Set bit_Prefer_SSE_for_memop for Intel processors.
44987 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44988 Define.
44989 (index_Prefer_SSE_for_memop): Define.
44990 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44991
344d0b54
LM
449922010-11-04 Luis Machado <luisgpm@br.ibm.com>
44993
44994 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44995 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44996
c0dde15b
UD
449972010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44998
44999 [BZ #12191]
45000 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45001 (__x86_64_raw_data_cache_size_half): Likewise.
45002 (__x86_64_raw_shared_cache_size): Likewise.
45003 (__x86_64_raw_shared_cache_size_half): Likewise.
45004
45005 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45006 (__x86_64_raw_data_cache_size_half): Likewise.
45007 (__x86_64_raw_shared_cache_size): Likewise.
45008 (__x86_64_raw_shared_cache_size_half): Likewise.
45009 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45010 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45011 and __x86_64_raw_shared_cache_size_half. Round
45012 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45013 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45014 to multiple of 256 bytes.
45015
0e516e0e
MS
450162010-11-03 Ulrich Drepper <drepper@gmail.com>
45017
45018 [BZ #12167]
45019 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45020 of inacessible symlinks. Verify result of symlink before returning it.
45021 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45022 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45023
0e012e87
ER
450242010-10-28 Erich Ritz <erichritz@gmail.com>
45025
45026 * math/math.h (isinf): Fix typo in comment.
45027
de0ff7bc
UD
450282010-11-01 Ulrich Drepper <drepper@gmail.com>
45029
45030 * po/da.po: Update from translation team.
45031
fa41c84d
UD
450322010-10-26 Ulrich Drepper <drepper@gmail.com>
45033
45034 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45035 is added to the list.
45036
f0967738
AK
450372010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45038 Ulrich Drepper <drepper@gmail.com>
45039
45040 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45041 the global list here. Move code to...
45042 (_dl_add_to_namespace_list): ...here. New function.
45043 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45044 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45045 * elf/dl-load.c (lose): Don't remove the element from the list.
45046 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45047 (_dl_map_object): Likewise.
45048
450492010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
45050
45051 [BZ #12159]
45052 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45053 into all bytes of SSE register.
45054 Patch by Richard Li <richardpku@gmail.com>.
45055
f0967738 450562010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
45057
45058 [BZ #12140]
45059 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45060 perturbing.
45061
d0b9e94f
MB
450622010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45063
45064 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45065 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45066 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45067 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45069 submachine.
45070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45071
8e9f92e9
AS
450722010-10-22 Andreas Schwab <schwab@redhat.com>
45073
45074 * include/dlfcn.h (__RTLD_SECURE): Define.
45075 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45076 mode & __RTLD_SECURE instead.
45077 (open_path): Rename preloaded parameter to secure.
45078 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45079 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45080 * elf/dl-deps.c (openaux): Likewise.
45081 * elf/rtld.c (struct map_args): Remove is_preloaded.
45082 (map_doit): Don't use it.
45083 (dl_main): Likewise.
45084 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45085 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45086
bc96fbda
AS
450872010-09-09 Andreas Schwab <schwab@redhat.com>
45088
45089 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45090 (sysd-rules-targets): Remove duplicates.
45091 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45092 rtld-%.$o dependency.
45093
22cd1c9b
AS
450942010-10-18 Andreas Schwab <schwab@redhat.com>
45095
45096 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45097 _dl_map_object do it.
45098
18edac48
UD
450992010-10-19 Ulrich Drepper <drepper@gmail.com>
45100
45101 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45102 fast fma builtins, define the macros in the C99 standard.
45103 (FP_FAST_FMAF): Likewise.
45104 (FP_FAST_FMAL): Likewise.
45105 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45106
45107 * bits/mathdef.h: Update copyright year.
45108 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45109
d2050124
MM
451102010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45111
45112 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45113 builtins, define the macros in the C99 standard.
45114 (FP_FAST_FMAF): Likewise.
45115 (FP_FAST_FMAL): Likewise.
45116 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45117 multiply/add.
45118 (FP_FAST_FMAF): Likewise.
45119
475facd1
JJ
451202010-10-15 Jakub Jelinek <jakub@redhat.com>
45121
45122 [BZ #3268]
45123 * math/libm-test.inc (fma_test): Some new testcases.
45124 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45125 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45126 y and infinite z. Do multiplication by C already in long double.
45127 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45129 y and infinite z. Do bitwise or of inexact bit into u.d.
45130 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45131 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45132 * sysdeps/i386/fpu/s_fma.S: Removed.
45133 * sysdeps/i386/fpu/s_fmal.S: Removed.
45134
7c08a05c
JJ
451352010-10-16 Jakub Jelinek <jakub@redhat.com>
45136
45137 [BZ #3268]
45138 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45140 computation is not scheduled after fetestexcept. Fix value
45141 of minimum denormal long double.
45142
f3f7372d
JJ
451432010-10-14 Jakub Jelinek <jakub@redhat.com>
45144
45145 [BZ #3268]
45146 * math/libm-test.inc (fma_test): Add some more tests.
45147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45148 correctly.
45149
14d43591
AS
451502010-10-15 Andreas Schwab <schwab@redhat.com>
45151
45152 * scripts/data/localplt-s390-linux-gnu.data: New file.
45153 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45154
5e908464
JJ
451552010-10-13 Jakub Jelinek <jakub@redhat.com>
45156
45157 [BZ #3268]
45158 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45159 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45160 instead of dbl-64.
45161 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45162 inlines.
45163 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45165 if one of x and y is very large and the other is subnormal.
45166 * sysdeps/s390/fpu/s_fmaf.c: New file.
45167 * sysdeps/s390/fpu/s_fma.c: New file.
45168 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45169 * sysdeps/powerpc/fpu/s_fma.S: New file.
45170 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45171 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45172 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45173
451742010-10-12 Jakub Jelinek <jakub@redhat.com>
45175
45176 [BZ #3268]
45177 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45178 fma tests.
45179 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45180 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45181 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45182 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45183 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45184 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45185 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45186
b833d51f
UD
451872010-10-12 Ulrich Drepper <drepper@redhat.com>
45188
45189 [BZ #12078]
45190 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45191 * posix/bug-regex31.input: Add test case.
45192
1751705d
UD
451932010-10-11 Ulrich Drepper <drepper@gmail.com>
45194
e9b9cbf5
UD
45195 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45196 * posix/bug-regex31.input: New file.
45197
45198 [BZ #12078]
45199 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45200 (parse_sub_exp): Fix last change, use postorder.
45201
ef06edbe
UD
45202 * posix/bug-regex31.c: New file.
45203 * posix/Makefile: Add rules to build and run bug-regex31.
45204
a129c80d
UD
45205 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45206
45207 [BZ #12078]
45208 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45209
b76b818e
UD
45210 [BZ #12108]
45211 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45212 to have entries in sys_siglist.
45213
1751705d
UD
45214 [BZ #12093]
45215 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45216 be NULL.
45217
9ff8d36f
JJ
452182010-10-07 Jakub Jelinek <jakub@redhat.com>
45219
45220 [BZ #3268]
45221 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45222 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45223 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45224 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45225 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45226 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45227 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45228 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45229 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45230 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45231 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45232 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45233 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45234 * math/ftestexcept.c (fetestexcept): Likewise.
45235 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45236 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45237 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45238 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45239 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45240 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45241 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45242
af325969
UD
452432010-10-11 Ulrich Drepper <drepper@gmail.com>
45244
c579b202 45245 [BZ #12107]
af325969
UD
45246 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45247 newline.
45248
67a67b95
UD
452492010-10-06 Ulrich Drepper <drepper@gmail.com>
45250
45251 * string/bug-strstr1.c: New file.
45252 * string/Makefile: Add rules to build and run bug-strstr1.
45253
5fb308bc
EB
452542010-10-05 Eric Blake <eblake@redhat.com>
45255
45256 [BZ #12092]
45257 * string/str-two-way.h (two_way_long_needle): Always clear memory
45258 when skipping input due to the shift table.
45259
45db99c7
UD
452602010-10-03 Ulrich Drepper <drepper@gmail.com>
45261
3b111893
UD
45262 [BZ #12005]
45263 * malloc/mcheck.c: Handle large requests.
45264
45db99c7
UD
45265 [BZ #12077]
45266 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45267 for strncmp and strncasecmp.
45268 * string/stratcliff.c: Add tests for strcmp and strncmp.
45269 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45270
cf7a1eb8
NI
452712010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45272
45273 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45274 __set_fpscr.
45275
6484ba5e
AJ
452762010-09-30 Andreas Jaeger <aj@suse.de>
45277
45278 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45279 (CGROUP_SUPER_MAGIC): Define.
45280 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45281 Handle btrfs and cgroup file systems.
45282 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45283 Likewise.
45284
91c42559
LM
452852010-09-27 Luis Machado <luisgpm@br.ibm.com>
45286
45287 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45288 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45289
87a97932
AK
452902010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45291
45292 [BZ #12067]
45293 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45294 trying to locate the ELF header.
45295
c21cc9bc
AS
452962010-09-27 Andreas Schwab <schwab@redhat.com>
45297
45298 [BZ #11611]
45299 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45300 Mask out sign-bit copies when constructing f_fsid.
45301
315970f6
PB
453022010-09-24 Petr Baudis <pasky@suse.cz>
45303
45304 * debug/stack_chk_fail_local.c: Add missing licence exception.
45305 * debug/warning-nop.c: Likewise.
45306
1ac7a2c7
JM
453072010-09-15 Joseph Myers <joseph@codesourcery.com>
45308
45309 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45310 implementing getdents64 using getdents syscall, set d_type if
45311 __ASSUME_GETDENTS32_D_TYPE.
45312
56801c50
AS
453132010-09-16 Andreas Schwab <schwab@redhat.com>
45314
45315 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45316 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45317
dda51327
UD
453182010-09-21 Ulrich Drepper <drepper@redhat.com>
45319
45320 [BZ #12037]
45321 * posix/unistd.h: Undo change of feature selection for ftruncate from
45322 2010-01-11.
45323
8ffcee4a
UD
453242010-09-20 Ulrich Drepper <drepper@redhat.com>
45325
a545ecd9 45326 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45327 detection.
45328
e24f0a8b
AS
453292010-09-20 Andreas Schwab <schwab@redhat.com>
45330
45331 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45332 fanotify_mark.
45333 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45334
7291c56f
AS
453352010-09-14 Andreas Schwab <schwab@redhat.com>
45336
45337 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45338 variables after CHECK_SP call.
45339 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45340
bc5fb037
AS
453412010-09-13 Andreas Schwab <schwab@redhat.com>
45342 Ulrich Drepper <drepper@redhat.com>
45343
45344 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45345 re-relocationg ld.so.
45346 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45347 _dl_init_paths call.
45348 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45349 here anymore.
45350
e66e7419
UD
453512010-09-14 Ulrich Drepper <drepper@redhat.com>
45352
45353 * resolv/res_init.c (__res_vinit): Count the default server we added.
45354
c044aa75
CLT
453552010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45356 Ulrich Drepper <drepper@redhat.com>
45357
45358 [BZ #11968]
45359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45360 (____longjmp_chk): Use %ebx for saving value across system call.
45361 Add unwind info.
45362
32cf4069
AS
453632010-09-06 Andreas Schwab <schwab@redhat.com>
45364
45365 * manual/Makefile: Don't mix pattern rules with normal rules.
45366
817328ee
AS
453672010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45368
45369 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45370 operation.
45371 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45372 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45373 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45374 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45375 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45376 Likewise.
45377
29fddf61
UD
453782010-09-04 Ulrich Drepper <drepper@redhat.com>
45379
45380 [BZ #11979]
45381 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45382 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45383
0959ffc9
UD
453842010-09-02 Ulrich Drepper <drepper@redhat.com>
45385
45386 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45387 * sysdeps/x86_64/addmul_1.S: Likewise.
45388 * sysdeps/x86_64/lshift.S: Likewise.
45389 * sysdeps/x86_64/mul_1.S: Likewise.
45390 * sysdeps/x86_64/rshift.S: Likewise.
45391 * sysdeps/x86_64/sub_n.S: Likewise.
45392 * sysdeps/x86_64/submul_1.S: Likewise.
45393
ece29840
ST
453942010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45395
0959ffc9
UD
45396 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45397 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45398 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45399 * bits/sched.h [__need_schedparam]
ece29840 45400 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45401 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45402 (__defined_schedparam): Define to 1.
ece29840
ST
45403 (__sched_param): New structure, identical to sched_param.
45404 (__need_schedparam): Undefine.
45405
e53a31fe
MF
454062010-08-31 Mike Frysinger <vapier@gentoo.org>
45407
fdc0c10d
MF
45408 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45409 (epoll_create1): Declare.
45410
e53a31fe
MF
45411 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45412
a726d796
AS
454132010-08-31 Andreas Schwab <schwab@redhat.com>
45414
45415 [BZ #7066]
45416 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45417 shifting retval into place.
45418
2f3e3dc7
UD
454192010-09-01 Ulrich Drepper <drepper@redhat.com>
45420
f2933da9
UD
45421 * nis/rpcsvc/nis.h: Update copyright notice.
45422 * nis/rpcsvc/nis.x: Likewise.
45423 * nis/rpcsvc/nis_callback.h: Likewise.
45424 * nis/rpcsvc/nis_callback.x: Likewise.
45425 * nis/rpcsvc/nis_object.x: Likewise.
45426 * nis/rpcsvc/nis_tags.h: Likewise.
45427 * nis/rpcsvc/yp.h: Likewise.
45428 * nis/rpcsvc/yp.x: Likewise.
45429 * nis/rpcsvc/ypupd.h: Likewise.
45430 * nis/yp_xdr.c: Likewise.
45431 * nis/ypupdate_xdr.c: Likewise.
45432
2f3e3dc7
UD
45433 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45434 mainly the body of pmap_getport. Add parameters to specify timeouts.
45435 (pmap_getport): Use __libc_rpc_getport.
45436 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45437 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45438 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45439
f3dcc2f9
AS
454402010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45441
45442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45443 fanotify_mark.
45444
6d34eb5b
RM
454452010-08-27 Roland McGrath <roland@redhat.com>
45446
45447 * sysdeps/i386/i686/multiarch/Makefile
45448 (CFLAGS-varshift.c): New variable.
45449
9ea3de11
UD
454502010-08-27 Ulrich Drepper <drepper@redhat.com>
45451
c96d23fc
UD
45452 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45453 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45454
9ea3de11
UD
45455 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45456
45457 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45458
623aac7f
L
454592010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45460
45461 * sysdeps/x86_64/strlen.S: Unroll the loop.
45462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45463 strlen-sse2 strlen-sse2-bsf.
45464 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45465 __strlen_no_bsf if bit_Slow_BSF is set.
45466 (__strlen_sse42): Removed.
45467 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45468 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45469
8b2b7715
RM
454702010-08-25 Roland McGrath <roland@redhat.com>
45471
45472 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45473 * sysdeps/x86_64/multiarch/varshift.c: New file.
45474 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45475 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45476 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45477 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45478
e73015f2
L
454792010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45480
45481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45482 strlen-sse2 strlen-sse2-bsf.
45483 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45484 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45485 (__strlen_sse2): Removed.
45486 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45487 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45489 bit_Slow_BSF for Atom.
45490 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45491 (index_Slow_BSF): Define.
45492 (HAS_SLOW_BSF): Define.
45493
df24a73e
UD
454942010-08-25 Ulrich Drepper <drepper@redhat.com>
45495
45496 [BZ #10851]
45497 * resolv/res_init.c (__res_vinit): When no server address at all
45498 is given default to loopback.
45499
f2ac4868
RM
455002010-08-24 Roland McGrath <roland@redhat.com>
45501
09055553
RM
45502 * configure.in: Remove config-name.h generation.
45503 * configure: Regenerated.
45504 * config-name.in: File removed.
45505 * scripts/config-uname.sh: New file.
45506 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45507 ($(objdir)config-name.h): New target.
45508
f2ac4868
RM
45509 * sunrpc/rpc_parse.h: Avoid nested comment.
45510
73f27d5e
RH
455112010-08-24 Richard Henderson <rth@redhat.com>
45512 Ulrich Drepper <drepper@redhat.com>
45513 H.J. Lu <hongjiu.lu@intel.com>
45514
45515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45517 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45518 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45519 _mm_alignr_epi8 with _mm_loadu_si128.
45520 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45521 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45522 (__m128i_shift_right): Removed.
45523 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45524 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45525 * sysdeps/x86_64/multiarch/varshift.h: New file.
45526 * sysdeps/x86_64/multiarch/varshift.S: New file.
45527
84b9230c
MF
455282010-08-21 Mike Frysinger <vapier@gentoo.org>
45529
45530 * configure.in: Move assembler checks to before sysdep dir checking.
45531
9bbd0ddc
PB
455322010-08-20 Petr Baudis <pasky@suse.cz>
45533
45534 * LICENSES: Sync the sunrpc license.
45535
9da4bb31
UD
455362010-08-19 Ulrich Drepper <drepper@redhat.com>
45537
a7ab6ec8
UD
45538 * sunrpc/auth_des.c: Update copyright notice once again.
45539 * sunrpc/auth_none.c: Likewise.
45540 * sunrpc/auth_unix.c: Likewise.
45541 * sunrpc/authdes_prot.c: Likewise.
45542 * sunrpc/authuxprot.c: Likewise.
45543 * sunrpc/bindrsvprt.c: Likewise.
45544 * sunrpc/clnt_gen.c: Likewise.
45545 * sunrpc/clnt_perr.c: Likewise.
45546 * sunrpc/clnt_raw.c: Likewise.
45547 * sunrpc/clnt_simp.c: Likewise.
45548 * sunrpc/clnt_tcp.c: Likewise.
45549 * sunrpc/clnt_udp.c: Likewise.
45550 * sunrpc/clnt_unix.c: Likewise.
45551 * sunrpc/des_crypt.c: Likewise.
45552 * sunrpc/des_soft.c: Likewise.
45553 * sunrpc/get_myaddr.c: Likewise.
45554 * sunrpc/getrpcport.c: Likewise.
45555 * sunrpc/key_call.c: Likewise.
45556 * sunrpc/key_prot.c: Likewise.
45557 * sunrpc/openchild.c: Likewise.
45558 * sunrpc/pm_getmaps.c: Likewise.
45559 * sunrpc/pm_getport.c: Likewise.
45560 * sunrpc/pmap_clnt.c: Likewise.
45561 * sunrpc/pmap_prot.c: Likewise.
45562 * sunrpc/pmap_prot2.c: Likewise.
45563 * sunrpc/pmap_rmt.c: Likewise.
45564 * sunrpc/rpc/auth.h: Likewise.
45565 * sunrpc/rpc/auth_unix.h: Likewise.
45566 * sunrpc/rpc/clnt.h: Likewise.
45567 * sunrpc/rpc/des_crypt.h: Likewise.
45568 * sunrpc/rpc/key_prot.h: Likewise.
45569 * sunrpc/rpc/netdb.h: Likewise.
45570 * sunrpc/rpc/pmap_clnt.h: Likewise.
45571 * sunrpc/rpc/pmap_prot.h: Likewise.
45572 * sunrpc/rpc/pmap_rmt.h: Likewise.
45573 * sunrpc/rpc/rpc.h: Likewise.
45574 * sunrpc/rpc/rpc_des.h: Likewise.
45575 * sunrpc/rpc/rpc_msg.h: Likewise.
45576 * sunrpc/rpc/svc.h: Likewise.
45577 * sunrpc/rpc/svc_auth.h: Likewise.
45578 * sunrpc/rpc/types.h: Likewise.
45579 * sunrpc/rpc/xdr.h: Likewise.
45580 * sunrpc/rpc_clntout.c: Likewise.
45581 * sunrpc/rpc_cmsg.c: Likewise.
45582 * sunrpc/rpc_common.c: Likewise.
45583 * sunrpc/rpc_cout.c: Likewise.
45584 * sunrpc/rpc_dtable.c: Likewise.
45585 * sunrpc/rpc_hout.c: Likewise.
45586 * sunrpc/rpc_main.c: Likewise.
45587 * sunrpc/rpc_parse.c: Likewise.
45588 * sunrpc/rpc_parse.h: Likewise.
45589 * sunrpc/rpc_prot.c: Likewise.
45590 * sunrpc/rpc_sample.c: Likewise.
45591 * sunrpc/rpc_scan.c: Likewise.
45592 * sunrpc/rpc_scan.h: Likewise.
45593 * sunrpc/rpc_svcout.c: Likewise.
45594 * sunrpc/rpc_tblout.c: Likewise.
45595 * sunrpc/rpc_util.c: Likewise.
45596 * sunrpc/rpc_util.h: Likewise.
45597 * sunrpc/rpcinfo.c: Likewise.
45598 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45599 * sunrpc/rpcsvc/key_prot.x: Likewise.
45600 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45601 * sunrpc/rpcsvc/mount.x: Likewise.
45602 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45603 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45604 * sunrpc/rpcsvc/rex.x: Likewise.
45605 * sunrpc/rpcsvc/rstat.x: Likewise.
45606 * sunrpc/rpcsvc/rusers.x: Likewise.
45607 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45608 * sunrpc/rpcsvc/spray.x: Likewise.
45609 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45610 * sunrpc/rtime.c: Likewise.
45611 * sunrpc/svc.c: Likewise.
45612 * sunrpc/svc_auth.c: Likewise.
45613 * sunrpc/svc_authux.c: Likewise.
45614 * sunrpc/svc_raw.c: Likewise.
45615 * sunrpc/svc_run.c: Likewise.
45616 * sunrpc/svc_simple.c: Likewise.
45617 * sunrpc/svc_tcp.c: Likewise.
45618 * sunrpc/svc_udp.c: Likewise.
45619 * sunrpc/svc_unix.c: Likewise.
45620 * sunrpc/svcauth_des.c: Likewise.
45621 * sunrpc/xcrypt.c: Likewise.
45622 * sunrpc/xdr.c: Likewise.
45623 * sunrpc/xdr_array.c: Likewise.
45624 * sunrpc/xdr_float.c: Likewise.
45625 * sunrpc/xdr_mem.c: Likewise.
45626 * sunrpc/xdr_rec.c: Likewise.
45627 * sunrpc/xdr_ref.c: Likewise.
45628 * sunrpc/xdr_sizeof.c: Likewise.
45629 * sunrpc/xdr_stdio.c: Likewise.
45630
9da4bb31
UD
45631 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45632 handling.
45633
bdaa77bc
AS
456342010-08-19 Andreas Schwab <schwab@redhat.com>
45635
45636 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45637
fe2f79db
LM
456382010-08-19 Luis Machado <luisgpm@br.ibm.com>
45639
45640 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45641 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45642 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45643 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45644 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45645 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45646 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45647 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45648 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45649 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45650 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45651 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45652 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45653 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45654
b9b42ee0
AB
456552010-07-26 Anton Blanchard <anton@samba.org>
45656
45657 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45658 * malloc/arena.c (heap_trim): Likewise.
45659
1c06ba31
UD
456602010-08-16 Ulrich Drepper <drepper@redhat.com>
45661
45662 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45663 here. Not...
45664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45665 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45666
f8392f40
L
456672010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45668
45669 * sysdeps/i386/elf/Makefile: New file.
45670
3162f12e
AS
456712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45672
45673 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45674 from fanotify_init.
45675 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45676 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45677
28c90b2c
UD
456782010-08-15 Ulrich Drepper <drepper@redhat.com>
45679
45680 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45681 of strncasecmp_l.
1feccb6c 45682 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45683
ca6bb004
UD
456842010-08-14 Ulrich Drepper <drepper@redhat.com>
45685
e9f82e0d
UD
45686 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45687 strncase_l-nonascii.
45688 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45689 Add strncase_l-ssse3.
45690 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45691 * sysdeps/x86_64/strcmp.S: Likewise.
45692 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45693 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45694 * sysdeps/x86_64/strncase.S: New file.
45695 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45696 * sysdeps/x86_64/strncase_l.S: New file.
45697 * string/Makefile (strop-tests): Add strncasecmp.
45698 * string/test-strncasecmp.c: New file.
45699
45700 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45701 warning.
45702
ca6bb004
UD
45703 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45704 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45705
052fa7b3
AS
457062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45707
45708 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45709
962dba78
UD
457102010-08-12 Ulrich Drepper <drepper@redhat.com>
45711
45712 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45713 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45714 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45715
bebff237
AM
457162010-05-01 Alan Modra <amodra@gmail.com>
45717
45718 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45719 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45720 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45721 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45722 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45723 tidying. Don't tail-call __sigjmp_save for static lib.
45724 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45725 save location.
45726 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45727 (CALL_MCOUNT): Add eh info, and nop after bl.
45728 (TAIL_CALL_SYSCALL_ERROR): New macro.
45729 (PSEUDO_RET): Use it.
45730 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45731 Correct save location of integer regs and cr.
45732 (_dl_profile_resolve): Correct cr save location. Delete nops
45733 after bl when SHARED. Reduce cfi size a little by better
45734 placement of cfi directives.
45735 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45736 make a stack frame. Instead use parm save area as a temp.
45737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45738 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45740 Don't make a stack frame for parent, use parm save area.
45741 Increase child stack frame to 112 bytes. Don't save unused reg,
45742 and adjust reg usage. Set up cfi on error recovery and
45743 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45745 (__makecontext): Add dummy nop after jump to exit.
45746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45747 Use correct parm save area and cr save, reduce stack frame.
45748 Correct cfi for possible PSEUDO_RET frame setup.
45749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45750 Branch to local label emitted by PSEUDO_RET rather than
45751 __syscall_error.
45752
02637374
AS
457532010-08-12 Andreas Schwab <schwab@redhat.com>
45754
45755 [BZ #11904]
45756 * locale/programs/locale.c (print_assignment): New function.
45757 (show_locale_vars): Use it.
45758
c3e2f19b
UD
457592010-08-11 Ulrich Drepper <drepper@redhat.com>
45760
3cdaa6ad
UD
45761 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45762 field.
45763 (struct statfs64): Likewise.
45764 (_STATFS_F_FLAGS): Define.
45765 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45766 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45767 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45768 (ST_VALID): Define locally.
45769 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45770 __statvfs_getflags, use the provided value.
45771 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45772 __ASSUME_STATFS_F_FLAGS.
45773
754f7da3
UD
45774 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45775
10b3bedc
UD
45776 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45777 Add sys/fanotify.h.
45778 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45779 fanotify_mask for GLIBC_2.13.
45780 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45781 fanotify_init and fanotify_mark.
45782 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45783 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45784
c08fb0d7
UD
45785 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45786 Add prlimit.
45787 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45788 prlimit64 for GLIBC_2.13.
45789 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45790 prlimit64.
45791 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45792 syscall.
45793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45794 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45795 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45796 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45797 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45798 add prlimit alias.
45799 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45800
15bac72b
UD
45801 [BZ #11903]
45802 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45803 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45804
c3e2f19b
UD
45805 * nss/Makefile: Add rules to build and run tst-nss-test1.
45806 * shlib-versions: Add entry for libnss_test1.
45807 * nss/nss_test1.c: New file.
45808 * nss/tst-nss-test1.c: New file.
45809
45810 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45811 (__nss_configure_lookup): Set appropriate entry in
45812 __nss_configure_lookup to true.
45813 * nss/nsswitch.h: Define enum with indeces of databases in
45814 databases and __nss_database_custom arrays. Declare
45815 __nss_database_custom.
45816 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45817 to avoid using nscd when custom rules are installed.
45818 * nss/getXXbyYY_r.c: Likewise.
45819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45820
45821 * nss/nss_files/files-parse.c: Whitespace fixes.
45822
f15ce4d8
UD
458232010-08-09 Ulrich Drepper <drepper@redhat.com>
45824
45825 [BZ #11883]
45826 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45827 * posix/fnmatch_loop.c: Likewise.
45828
d22e4cc9
AK
458292010-07-17 Andi Kleen <ak@linux.intel.com>
45830
45831 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45832 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45833 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45834 * Versions.def [GLIBC_2.13]: Add.
45835
805bc17d
UD
458362010-08-06 Ulrich Drepper <drepper@redhat.com>
45837
45838 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45839 Also fail if tpwd after pwuid call is NULL.
45840
5a42321d
ST
458412010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45842
45843 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45844 when converting to ms.
45845
fd3ebeda
ST
458462010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45847
45848 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45849 EOPNOTSUPP errors with ENOTTY.
45850 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45851 EOPNOTSUPP errors with ENOTTY.
45852
73507d3a
UD
458532010-07-31 Ulrich Drepper <drepper@redhat.com>
45854
45855 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45856 Add strcasecmp_l-ssse3.
45857 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45858 strcasecmp.
45859 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45860 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45861 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45862
fe36dd02
UD
458632010-07-30 Ulrich Drepper <drepper@redhat.com>
45864
66f6765a
UD
45865 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45866
42e08a54
UD
45867 * string/Makefile (strop-tests): Add strcasecmp.
45868 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45869 strcasecmp_l-nonascii.
45870 (gen-as-const-headers): Add locale-defines.sym.
45871 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45872 * sysdeps/x86_64/strcasecmp.S: New file.
45873 * sysdeps/x86_64/strcasecmp_l.S: New file.
45874 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45875 * sysdeps/x86_64/locale-defines.sym: New file.
45876 * string/test-strcasecmp.c: New file.
45877
fe36dd02
UD
45878 * string/test-strcasestr.c: Test both ends of the range of characters.
45879 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45880
48cbc0d6
RM
458812010-07-29 Roland McGrath <roland@redhat.com>
45882
76e6d6bc 45883 [BZ #11856]
48cbc0d6
RM
45884 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45885
880113d9
UD
458862010-07-27 Ulrich Drepper <drepper@redhat.com>
45887
45888 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45889 for ld.so.
45890
deb9cabb
AS
458912010-07-27 Andreas Schwab <schwab@redhat.com>
45892
45893 * manual/memory.texi (Malloc Tunable Parameters): Document
45894 M_PERTURB.
45895
1c7570ff
RM
458962010-07-26 Roland McGrath <roland@redhat.com>
45897
45898 [BZ #11840]
45899 * configure.in (-fgnu89-inline check): Set and substitute
45900 gnu89_inline, not libc_cv_gnu89_inline.
45901 * configure: Regenerated.
45902 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45903
24fb0f88
UD
459042010-07-26 Ulrich Drepper <drepper@redhat.com>
45905
45906 * string/test-strnlen.c: New file.
45907 * string/Makefile (strop-tests): Add strnlen.
45908 * string/tester.c (test_strnlen): Add a few more test cases.
45909 * string/tst-strlen.c: Better error reporting.
45910
45911 * sysdeps/x86_64/strnlen.S: New file.
45912
8e96b93a
UD
459132010-07-24 Ulrich Drepper <drepper@redhat.com>
45914
45915 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45916 lower-latency instructions.
45917
dbc676d4
UD
459182010-07-23 Ulrich Drepper <drepper@redhat.com>
45919
45920 * string/test-strcasestr.c: New file.
45921 * string/test-strstr.c: New file.
45922 * string/Makefile (strop-tests): Add strstr and strcasestr.
45923 * string/str-two-way.h: Don't undefine MAX.
45924 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45925
f6a31e0e
AS
459262010-07-21 Andreas Schwab <schwab@redhat.com>
45927
45928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45929 strcasestr-nonascii.
45930 (CFLAGS-strcasestr-nonascii.c): Define.
45931 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45932 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45933 Remove unused attribute.
45934
5dbc3b6c
RM
459352010-07-20 Roland McGrath <roland@redhat.com>
45936
45937 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45938 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45939 ld.so.cache was broken. With it, there is no way to disable dsocaps
45940 like LD_HWCAP_MASK can disable hwcaps.
45941
23d101d8
EPM
459422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45943
45944 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45945
cc9f2e47
UD
459462010-07-16 Ulrich Drepper <drepper@redhat.com>
45947
45948 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45949 call in strcasestr.
45950 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45951 __strcasestr_sse42_nonascii.
45952 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45953 strcasestr-nonascii.c.
45954 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45955
77c1b069
LM
459562010-06-15 Luis Machado <luisgpm@br.ibm.com>
45957
45958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45959 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45960 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45961 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45962
440566c3
UD
459632010-07-09 Ulrich Drepper <drepper@redhat.com>
45964
45965 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45966 fcntl.
45967
5be9d05d
AS
459682010-07-06 Andreas Schwab <schwab@redhat.com>
45969
c30b7ee2 45970 [BZ #11577]
5be9d05d
AS
45971 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45972 dl_signal_cerror.
45973
8a492a67
UD
459742010-07-06 Ulrich Drepper <drepper@redhat.com>
45975
45976 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45977 _PC_PIPE_BUF using F_GETPIPE_SZ.
45978
713df3d5
RM
459792010-07-05 Roland McGrath <roland@redhat.com>
45980
45981 * manual/arith.texi (Rounding Functions): Fix rint description
45982 implicit in round description.
45983
702e8f14
UD
459842010-07-02 Ulrich Drepper <drepper@redhat.com>
45985
45986 * elf/Makefile: Fix linking for a few tests to make recent linker
45987 happy.
45988
52ed8be9
AS
459892010-06-30 Andreas Schwab <schwab@redhat.com>
45990
45991 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45992 $(common-objpfx)libc_nonshared.a.
45993
f47c9a11
LM
459942010-06-21 Luis Machado <luisgpm@br.ibm.com>
45995
45996 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45997 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45998 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45999 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46000 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46001 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46002 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46003 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46018 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46019 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46020 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46021 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46022 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46023 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46024 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46025 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46026 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46027 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46028 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46029 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46044
6fb8cbcb
L
460452010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46046
46047 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46048 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46049 * string/memmove.c (memmove): Renamed to ...
46050 (MEMMOVE): ...this. Default to memmove.
46051 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46052 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46053 (END_CHK): Define.
46054 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46055 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46056 mempcpy-ssse3-back memmove-ssse3-back.
46057 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46058 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46059 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46060 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46061 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46062 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46063 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46064 * sysdeps/x86_64/multiarch/memmove.c: New file.
46065 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46066 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46067 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46068 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46069 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46070 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46071 Define.
46072 (index_Fast_Copy_Backward): Define.
46073 (HAS_ARCH_FEATURE): Define.
46074 (HAS_FAST_REP_STRING): Define.
46075 (HAS_FAST_COPY_BACKWARD): Define.
46076
4e733bac 460772010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
46078
46079 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46080 Restore proper fallback handling.
46081
63c4ed22
UD
460822010-06-19 Ulrich Drepper <drepper@redhat.com>
46083
ac2b484c
UD
46084 [BZ #11701]
46085 * posix/group_member.c (__group_member): Correct checking loop.
46086
63c4ed22
UD
46087 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46088 OOM in getpwuid_r correctly. Return error number when the caller
46089 should return, otherwise -1.
46090 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46091 call returning > 0 value.
46092 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46093
765ade4b
AS
460942010-06-07 Andreas Schwab <schwab@redhat.com>
46095
46096 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46097 libc_nonshared.a from targets in modules-names.
46098
80da2e09
KS
460992010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46100
46101 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46102 requires it.
46103
158db122
LM
461042010-06-10 Luis Machado <luisgpm@br.ibm.com>
46105
46106 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46107 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46109 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46110
caa78cf8
AS
461112010-06-02 Andreas Schwab <schwab@redhat.com>
46112
46113 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46114
b2ef2c01
UD
461152010-06-14 Ulrich Drepper <drepper@redhat.com>
46116
46117 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46118 and F_GETPIPE_SZ.
46119 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46120 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46121 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46123 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46124 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46125
fbd643b6
RM
461262010-06-14 Roland McGrath <roland@redhat.com>
46127
46128 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46129
f32f2869
JJ
461302010-06-07 Jakub Jelinek <jakub@redhat.com>
46131
46132 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46133 __REDIRECT followed by __THROW.
46134 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46135 * posix/getopt.h (getopt): Likewise.
46136
2a50c078
EPM
461372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46138
46139 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46140 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46141 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46142 in AT_FLAGS.
46143 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46144 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46145
eb5ad2eb
LM
461462010-05-28 Luis Machado <luisgpm@br.ibm.com>
46147
46148 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46149
3c88fe1e
L
461502010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46151
46152 [BZ #11640]
46153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46154 Properly check family and model.
46155
d2f73151
TY
461562010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46157
46158 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46159
ebd2e13d
LM
461602010-05-24 Luis Machado <luisgpm@br.ibm.com>
46161
46162 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46163
b32b8b45
UD
461642010-05-21 Ulrich Drepper <drepper@redhat.com>
46165
46166 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46167 symbol reference.
46168
9acbe24d
AS
461692010-05-19 Andreas Schwab <schwab@redhat.com>
46170
46171 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46172 symbol reference.
46173
f0ccf6ea
AS
461742010-05-21 Andreas Schwab <schwab@redhat.com>
46175
3d04ff3a
AS
46176 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46177 and internal_recvmmsg.
46178 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46179 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46180 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46181 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46182
f0ccf6ea
AS
46183 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46184 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46185 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46186
5b08ac57
AS
461872010-05-20 Andreas Schwab <schwab@redhat.com>
46188
46189 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46190
4828935d
LM
461912010-05-17 Luis Machado <luisgpm@br.ibm.com>
46192
46193 POWER7 optimizations.
46194 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46195 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46196
373d545e
UD
461972010-05-19 Ulrich Drepper <drepper@redhat.com>
46198
46199 * version.h: Update for 2.13 development version.
46200
21a2b1ae
AS
462012010-05-12 Andrew Stubbs <ams@codesourcery.com>
46202
46203 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46204 exceptions. Return 0.
46205
3f7dcb2b
RM
462062010-05-07 Roland McGrath <roland@redhat.com>
46207
46208 * elf/ldconfig.c (main): Add a const.
46209
5f24d53a 462102010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46211
a160f8d8
UD
46212 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46213 (args_options): Add no-idn option.
46214 (ahosts_keys_int): Add idn_flags to ai_flags.
46215 (parse_option): Handle 'i' option to clear idn_flags.
46216
5f24d53a
UD
46217 * malloc/malloc.c (_int_free): Possible race in the most recently
46218 added check. Only act on the data if no current modification
46219 happened.
265bb1ce
UD
46220
46221See ChangeLog.17 for earlier changes.
This page took 6.474732 seconds and 5 git commands to generate.